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

github.com/twbs/bootstrap-sass.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'templates/project/_bootstrap-variables.sass')
-rw-r--r--templates/project/_bootstrap-variables.sass15
1 files changed, 8 insertions, 7 deletions
diff --git a/templates/project/_bootstrap-variables.sass b/templates/project/_bootstrap-variables.sass
index 8777e114..66ff351f 100644
--- a/templates/project/_bootstrap-variables.sass
+++ b/templates/project/_bootstrap-variables.sass
@@ -1,5 +1,6 @@
-// Override Bootstrap variables here (defaults from bootstrap-sass v3.4.0):
+// Override Bootstrap variables here (defaults from bootstrap-sass v3.4.1):
+@use "sass:math";
//
// Variables
// --------------------------------------------------
@@ -335,24 +336,24 @@
//** Point at which the navbar becomes uncollapsed.
// $grid-float-breakpoint: $screen-sm-min
//** Point at which the navbar begins collapsing.
-// $grid-float-breakpoint-max: ($grid-float-breakpoint - 1)
+// $grid-float-breakpoint-max: math.div($grid-float-breakpoint - 1)
//== Container sizes
//
//## Define the maximum width of `.container` for different screen sizes.
-// Small screen / tablet
+// Small screen, tablet
// $container-tablet: (720px + $grid-gutter-width)
//** For `$screen-sm-min` and up.
// $container-sm: $container-tablet
// Medium screen / desktop
-// $container-desktop: (940px + $grid-gutter-width)
+// $container-desktop: math.div(940px + $grid-gutter-width)
//** For `$screen-md-min` and up.
// $container-md: $container-desktop
-// Large screen / wide desktop
+// Large screen, wide desktop
// $container-large-desktop: (1140px + $grid-gutter-width)
//** For `$screen-lg-min` and up.
// $container-lg: $container-large-desktop
@@ -366,8 +367,8 @@
// $navbar-height: 50px
// $navbar-margin-bottom: $line-height-computed
// $navbar-border-radius: $border-radius-base
-// $navbar-padding-horizontal: floor(($grid-gutter-width / 2))
-// $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2)
+// $navbar-padding-horizontal: floor(math.div($grid-gutter-width, 2))
+// $navbar-padding-vertical: (math.div($navbar-height - $line-height-computed), 2)
// $navbar-collapse-max-height: 340px
// $navbar-default-color: #777