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

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2017-10-14 10:31:35 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2017-10-14 10:35:35 +0300
commit415995c24bc98dfb9efda792424294e82bda244b (patch)
treed9a173d7de725b977bd0844b68965fa0b7f2df44 /assets
parent6b1d5ddfe630a26cbd5dc514dd7c2b723bb3ce1e (diff)
rake update[v4-dev]
Diffstat (limited to 'assets')
-rw-r--r--assets/javascripts/bootstrap-sprockets.js8
-rw-r--r--assets/stylesheets/bootstrap/_root.scss13
2 files changed, 12 insertions, 9 deletions
diff --git a/assets/javascripts/bootstrap-sprockets.js b/assets/javascripts/bootstrap-sprockets.js
index aa18064..2a56362 100644
--- a/assets/javascripts/bootstrap-sprockets.js
+++ b/assets/javascripts/bootstrap-sprockets.js
@@ -1,11 +1,11 @@
//= require ./bootstrap/util
-//= require ./bootstrap/tab
-//= require ./bootstrap/collapse
-//= require ./bootstrap/alert
//= require ./bootstrap/tooltip
//= require ./bootstrap/popover
//= require ./bootstrap/dropdown
//= require ./bootstrap/button
+//= require ./bootstrap/collapse
+//= require ./bootstrap/tab
//= require ./bootstrap/scrollspy
-//= require ./bootstrap/modal
//= require ./bootstrap/carousel
+//= require ./bootstrap/modal
+//= require ./bootstrap/alert
diff --git a/assets/stylesheets/bootstrap/_root.scss b/assets/stylesheets/bootstrap/_root.scss
index 78ac039..ad550df 100644
--- a/assets/stylesheets/bootstrap/_root.scss
+++ b/assets/stylesheets/bootstrap/_root.scss
@@ -1,16 +1,19 @@
:root {
+ // Custom variable values only support SassScript inside `#{}`.
@each $color, $value in $colors {
- --#{$color}: $value;
+ --#{$color}: #{$value};
}
@each $color, $value in $theme-colors {
- --#{$color}: $value;
+ --#{$color}: #{$value};
}
@each $bp, $value in $grid-breakpoints {
- --breakpoint-#{$bp}: $value;
+ --breakpoint-#{$bp}: #{$value};
}
- --font-family-sans-serif: $font-family-sans-serif;
- --font-family-monospace: $font-family-monospace;
+ // Use `inspect` for lists so that quoted items keep the quotes.
+ // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
+ --font-family-sans-serif: #{inspect($font-family-sans-serif)};
+ --font-family-monospace: #{inspect($font-family-monospace)};
}