Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2017-07-26 21:59:34 +0300
committerMartijn Cuppens <martijn.cuppens@gmail.com>2017-07-26 21:59:34 +0300
commitc598a3e7379353e221829877cac4282722224729 (patch)
tree685c4a7b4397309c00ee0db7c71fe686ec73e136
parent3b32ba77284148cf81f251253d76f51a7d13dc7e (diff)
Fix syntax
-rw-r--r--scss/_rfs.scss18
1 files changed, 9 insertions, 9 deletions
diff --git a/scss/_rfs.scss b/scss/_rfs.scss
index a265e39..167c3e6 100644
--- a/scss/_rfs.scss
+++ b/scss/_rfs.scss
@@ -21,33 +21,33 @@ $rfs-factor: 5 !default;
$rfs-rem-value: 16 !default;
// Remove px-unit from $rfs-minimum-font-size for calculations.
-@if (unit($rfs-minimum-font-size) == 'px') {
- $rfs-minimum-font-size: $rfs-minimum-font-size / ($rfs-minimum-font-size * 0 + 1)
+@if (unit($rfs-minimum-font-size) == "px") {
+ $rfs-minimum-font-size: $rfs-minimum-font-size / ($rfs-minimum-font-size * 0 + 1);
}
// Remove px-unit from $rfs-breakpoint for calculations.
-@if (unit($rfs-breakpoint) == 'px') {
- $rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1)
+@if (unit($rfs-breakpoint) == "px") {
+ $rfs-breakpoint: $rfs-breakpoint / ($rfs-breakpoint * 0 + 1);
}
// Responsive font-size mixin.
@mixin rfs($fs, $important: false) {
- $rfs-suffix: '';
+ $rfs-suffix: "";
// Add !important suffix if needed.
@if ($important) {
- $rfs-suffix: ' !important';
+ $rfs-suffix: " !important";
}
// If $fs is not a number (like inherit) or $fs has a unit (like 1.5em) or $ is 0, just print the value.
- @if type-of($fs) != 'number' or (not unitless($fs) and unit($fs) != 'px') or $fs == 0 {
+ @if type-of($fs) != "number" or (not unitless($fs) and unit($fs) != "px") or $fs == 0 {
font-size: #{$fs}#{$rfs-suffix};
} @else {
// Remove px-unit from $fs for calculations.
- @if (unit($fs) == 'px') {
- $fs: $fs / ($fs * 0 + 1)
+ @if (unit($fs) == "px") {
+ $fs: $fs / ($fs * 0 + 1);
}
// Default font-size.