-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #337 from IgniteUI/mpopov/new-igniteui-template-st…
…yles Improve the styles for igniteui docFX template
- Loading branch information
Showing
14 changed files
with
315 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
@import '~highlight.js/scss/vs2015.scss'; | ||
@import '../shared/mixins'; | ||
@import 'variables'; | ||
@import '../shared/global'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
/// Pixels to root relative values (rem). | ||
/// @param {number|string} $pixels - The pixel value to be converted. | ||
/// @param {number|string} $context [$browser-context] - The base context to convert against. | ||
@function rem($pixels, $context: $browser-context) { | ||
@if (unitless($pixels)) { | ||
$pixels: $pixels * 1px; | ||
} | ||
@if (unitless($context)) { | ||
$context: $context * 1px; | ||
} | ||
@return ($pixels / $context) * 1rem; | ||
} |
Oops, something went wrong.