bootstrap 4.0.0.alpha5 → 4.0.0.alpha6

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bootstrap might be problematic. Click here for more details.

Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -4
  3. data/assets/javascripts/bootstrap.js +312 -207
  4. data/assets/javascripts/bootstrap.min.js +4 -4
  5. data/assets/javascripts/bootstrap/alert.js +9 -5
  6. data/assets/javascripts/bootstrap/button.js +5 -5
  7. data/assets/javascripts/bootstrap/carousel.js +52 -28
  8. data/assets/javascripts/bootstrap/collapse.js +19 -11
  9. data/assets/javascripts/bootstrap/dropdown.js +21 -19
  10. data/assets/javascripts/bootstrap/modal.js +69 -43
  11. data/assets/javascripts/bootstrap/popover.js +4 -4
  12. data/assets/javascripts/bootstrap/scrollspy.js +20 -11
  13. data/assets/javascripts/bootstrap/tab.js +19 -14
  14. data/assets/javascripts/bootstrap/tooltip.js +54 -22
  15. data/assets/javascripts/bootstrap/util.js +7 -12
  16. data/assets/stylesheets/_bootstrap-grid.scss +23 -3
  17. data/assets/stylesheets/_bootstrap-reboot.scss +2 -3
  18. data/assets/stylesheets/_bootstrap.scss +6 -6
  19. data/assets/stylesheets/bootstrap/_alert.scss +3 -4
  20. data/assets/stylesheets/bootstrap/_badge.scss +77 -0
  21. data/assets/stylesheets/bootstrap/_button-group.scss +18 -51
  22. data/assets/stylesheets/bootstrap/_buttons.scss +14 -20
  23. data/assets/stylesheets/bootstrap/_card.scss +30 -76
  24. data/assets/stylesheets/bootstrap/_carousel.scss +96 -171
  25. data/assets/stylesheets/bootstrap/_close.scss +3 -3
  26. data/assets/stylesheets/bootstrap/_code.scss +7 -0
  27. data/assets/stylesheets/bootstrap/_custom-forms.scss +13 -12
  28. data/assets/stylesheets/bootstrap/_dropdown.scss +17 -36
  29. data/assets/stylesheets/bootstrap/_forms.scss +61 -47
  30. data/assets/stylesheets/bootstrap/_grid.scss +13 -0
  31. data/assets/stylesheets/bootstrap/_images.scss +2 -2
  32. data/assets/stylesheets/bootstrap/_input-group.scss +17 -27
  33. data/assets/stylesheets/bootstrap/_list-group.scss +79 -63
  34. data/assets/stylesheets/bootstrap/_media.scss +5 -78
  35. data/assets/stylesheets/bootstrap/_mixins.scss +8 -5
  36. data/assets/stylesheets/bootstrap/_modal.scss +21 -13
  37. data/assets/stylesheets/bootstrap/_nav.scss +30 -68
  38. data/assets/stylesheets/bootstrap/_navbar.scss +131 -178
  39. data/assets/stylesheets/bootstrap/_normalize.scss +133 -94
  40. data/assets/stylesheets/bootstrap/_pagination.scss +16 -22
  41. data/assets/stylesheets/bootstrap/_popover.scss +3 -3
  42. data/assets/stylesheets/bootstrap/_print.scss +5 -8
  43. data/assets/stylesheets/bootstrap/_progress.scss +14 -127
  44. data/assets/stylesheets/bootstrap/_reboot.scss +16 -15
  45. data/assets/stylesheets/bootstrap/_responsive-embed.scss +18 -5
  46. data/assets/stylesheets/bootstrap/_tables.scss +13 -56
  47. data/assets/stylesheets/bootstrap/_tooltip.scss +1 -1
  48. data/assets/stylesheets/bootstrap/{_animation.scss → _transitions.scss} +6 -8
  49. data/assets/stylesheets/bootstrap/_type.scss +5 -12
  50. data/assets/stylesheets/bootstrap/_utilities.scss +2 -0
  51. data/assets/stylesheets/bootstrap/_variables.scss +320 -216
  52. data/assets/stylesheets/bootstrap/mixins/{_tag.scss → _badge.scss} +2 -2
  53. data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +25 -16
  54. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +31 -58
  55. data/assets/stylesheets/bootstrap/mixins/_cards.scss +3 -0
  56. data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +1 -1
  57. data/assets/stylesheets/bootstrap/mixins/_float.scss +3 -0
  58. data/assets/stylesheets/bootstrap/mixins/_forms.scss +3 -5
  59. data/assets/stylesheets/bootstrap/mixins/_gradients.scss +1 -7
  60. data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +19 -23
  61. data/assets/stylesheets/bootstrap/mixins/_grid.scss +19 -26
  62. data/assets/stylesheets/bootstrap/mixins/_list-group.scss +3 -5
  63. data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +1 -1
  64. data/assets/stylesheets/bootstrap/mixins/_transforms.scss +14 -0
  65. data/assets/stylesheets/bootstrap/mixins/_visibility.scss +5 -0
  66. data/assets/stylesheets/bootstrap/utilities/_align.scss +5 -5
  67. data/assets/stylesheets/bootstrap/utilities/_background.scss +1 -1
  68. data/assets/stylesheets/bootstrap/utilities/_borders.scss +10 -3
  69. data/assets/stylesheets/bootstrap/utilities/_display.scss +13 -8
  70. data/assets/stylesheets/bootstrap/utilities/_flex.scss +42 -31
  71. data/assets/stylesheets/bootstrap/utilities/_float.scss +5 -9
  72. data/assets/stylesheets/bootstrap/utilities/_position.scss +23 -0
  73. data/assets/stylesheets/bootstrap/utilities/_sizing.scss +10 -0
  74. data/assets/stylesheets/bootstrap/utilities/_spacing.scss +36 -37
  75. data/assets/stylesheets/bootstrap/utilities/_text.scss +14 -12
  76. data/assets/stylesheets/bootstrap/utilities/_visibility.scss +1 -1
  77. data/lib/bootstrap/version.rb +2 -2
  78. data/tasks/updater/scss.rb +3 -5
  79. data/templates/project/_bootstrap-variables.scss +321 -217
  80. metadata +10 -10
  81. data/assets/stylesheets/_bootstrap-flex.scss +0 -8
  82. data/assets/stylesheets/bootstrap/_tags.scss +0 -77
  83. data/assets/stylesheets/bootstrap/mixins/_progress.scss +0 -23
  84. data/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +0 -8
  85. data/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +0 -9
@@ -20,11 +20,9 @@
20
20
  }
21
21
 
22
22
  &.active {
23
- @include plain-hover-focus {
24
- color: #fff;
25
- background-color: $color;
26
- border-color: $color;
27
- }
23
+ color: #fff;
24
+ background-color: $color;
25
+ border-color: $color;
28
26
  }
29
27
  }
30
28
  }
@@ -2,7 +2,7 @@
2
2
  font-family: $font-family-base;
3
3
  // We deliberately do NOT reset font-size or word-wrap.
4
4
  font-style: normal;
5
- font-weight: normal;
5
+ font-weight: $font-weight-normal;
6
6
  letter-spacing: normal;
7
7
  line-break: auto;
8
8
  line-height: $line-height-base;
@@ -0,0 +1,14 @@
1
+ // Applies the given styles only when the browser support CSS3 3D transforms.
2
+ @mixin if-supports-3d-transforms() {
3
+ @media (-webkit-transform-3d) {
4
+ // Old Safari, Old Android
5
+ // http://caniuse.com/#feat=css-featurequeries
6
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-webkit-transform-3d
7
+ @content;
8
+ }
9
+
10
+ @supports (transform: translate3d(0,0,0)) {
11
+ // The Proper Way: Using a CSS feature query
12
+ @content;
13
+ }
14
+ }
@@ -0,0 +1,5 @@
1
+ // Visibility
2
+
3
+ @mixin invisible {
4
+ visibility: hidden !important;
5
+ }
@@ -1,6 +1,6 @@
1
- .align-baseline { vertical-align: baseline !important; } // Browser default
2
- .align-top { vertical-align: top !important; }
3
- .align-middle { vertical-align: middle !important; }
4
- .align-bottom { vertical-align: bottom !important; }
1
+ .align-baseline { vertical-align: baseline !important; } // Browser default
2
+ .align-top { vertical-align: top !important; }
3
+ .align-middle { vertical-align: middle !important; }
4
+ .align-bottom { vertical-align: bottom !important; }
5
5
  .align-text-bottom { vertical-align: text-bottom !important; }
6
- .align-text-top { vertical-align: text-top !important; }
6
+ .align-text-top { vertical-align: text-top !important; }
@@ -3,7 +3,7 @@
3
3
  //
4
4
 
5
5
  .bg-faded {
6
- background-color: $gray-lightest;
6
+ background-color: darken($body-bg, 3%);
7
7
  }
8
8
 
9
9
  @include bg-variant('.bg-primary', $brand-primary);
@@ -1,9 +1,12 @@
1
1
  //
2
- // Border-width
2
+ // Border
3
3
  //
4
4
 
5
- // TBD...?
6
-
5
+ .border-0 { border: 0 !important; }
6
+ .border-top-0 { border-top: 0 !important; }
7
+ .border-right-0 { border-right: 0 !important; }
8
+ .border-bottom-0 { border-bottom: 0 !important; }
9
+ .border-left-0 { border-left: 0 !important; }
7
10
 
8
11
  //
9
12
  // Border-radius
@@ -28,3 +31,7 @@
28
31
  .rounded-circle {
29
32
  border-radius: 50%;
30
33
  }
34
+
35
+ .rounded-0 {
36
+ border-radius: 0;
37
+ }
@@ -2,12 +2,17 @@
2
2
  // Display utilities
3
3
  //
4
4
 
5
- .d-block {
6
- display: block !important;
7
- }
8
- .d-inline-block {
9
- display: inline-block !important;
10
- }
11
- .d-inline {
12
- display: inline !important;
5
+ @each $breakpoint in map-keys($grid-breakpoints) {
6
+ @include media-breakpoint-up($breakpoint) {
7
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
8
+
9
+ .d#{$infix}-none { display: none !important; }
10
+ .d#{$infix}-inline { display: inline !important; }
11
+ .d#{$infix}-inline-block { display: inline-block !important; }
12
+ .d#{$infix}-block { display: block !important; }
13
+ .d#{$infix}-table { display: table !important; }
14
+ .d#{$infix}-table-cell { display: table-cell !important; }
15
+ .d#{$infix}-flex { display: flex !important; }
16
+ .d#{$infix}-inline-flex { display: inline-flex !important; }
17
+ }
13
18
  }
@@ -2,36 +2,47 @@
2
2
  //
3
3
  // Custom styles for additional flex alignment options.
4
4
 
5
- @if $enable-flex {
6
- @each $breakpoint in map-keys($grid-breakpoints) {
7
- // Flex column reordering
8
- @include media-breakpoint-up($breakpoint) {
9
- .flex-#{$breakpoint}-first { order: -1; }
10
- .flex-#{$breakpoint}-last { order: 1; }
11
- .flex-#{$breakpoint}-unordered { order: 0; }
12
- }
13
-
14
- // Alignment for every item
15
- @include media-breakpoint-up($breakpoint) {
16
- .flex-items-#{$breakpoint}-top { align-items: flex-start; }
17
- .flex-items-#{$breakpoint}-middle { align-items: center; }
18
- .flex-items-#{$breakpoint}-bottom { align-items: flex-end; }
19
- }
20
-
21
- // Alignment per item
22
- @include media-breakpoint-up($breakpoint) {
23
- .flex-#{$breakpoint}-top { align-self: flex-start; }
24
- .flex-#{$breakpoint}-middle { align-self: center; }
25
- .flex-#{$breakpoint}-bottom { align-self: flex-end; }
26
- }
27
-
28
- // Horizontal alignment of item
29
- @include media-breakpoint-up($breakpoint) {
30
- .flex-items-#{$breakpoint}-left { justify-content: flex-start; }
31
- .flex-items-#{$breakpoint}-center { justify-content: center; }
32
- .flex-items-#{$breakpoint}-right { justify-content: flex-end; }
33
- .flex-items-#{$breakpoint}-around { justify-content: space-around; }
34
- .flex-items-#{$breakpoint}-between { justify-content: space-between; }
35
- }
5
+ @each $breakpoint in map-keys($grid-breakpoints) {
6
+ @include media-breakpoint-up($breakpoint) {
7
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
8
+
9
+ .flex#{$infix}-first { order: -1; }
10
+ .flex#{$infix}-last { order: 1; }
11
+ .flex#{$infix}-unordered { order: 0; }
12
+
13
+ .flex#{$infix}-row { flex-direction: row !important; }
14
+ .flex#{$infix}-column { flex-direction: column !important; }
15
+ .flex#{$infix}-row-reverse { flex-direction: row-reverse !important; }
16
+ .flex#{$infix}-column-reverse { flex-direction: column-reverse !important; }
17
+
18
+ .flex#{$infix}-wrap { flex-wrap: wrap !important; }
19
+ .flex#{$infix}-nowrap { flex-wrap: nowrap !important; }
20
+ .flex#{$infix}-wrap-reverse { flex-wrap: wrap-reverse !important; }
21
+
22
+ .justify-content#{$infix}-start { justify-content: flex-start !important; }
23
+ .justify-content#{$infix}-end { justify-content: flex-end !important; }
24
+ .justify-content#{$infix}-center { justify-content: center !important; }
25
+ .justify-content#{$infix}-between { justify-content: space-between !important; }
26
+ .justify-content#{$infix}-around { justify-content: space-around !important; }
27
+
28
+ .align-items#{$infix}-start { align-items: flex-start !important; }
29
+ .align-items#{$infix}-end { align-items: flex-end !important; }
30
+ .align-items#{$infix}-center { align-items: center !important; }
31
+ .align-items#{$infix}-baseline { align-items: baseline !important; }
32
+ .align-items#{$infix}-stretch { align-items: stretch !important; }
33
+
34
+ .align-content#{$infix}-start { align-content: flex-start !important; }
35
+ .align-content#{$infix}-end { align-content: flex-end !important; }
36
+ .align-content#{$infix}-center { align-content: center !important; }
37
+ .align-content#{$infix}-between { align-content: space-between !important; }
38
+ .align-content#{$infix}-around { align-content: space-around !important; }
39
+ .align-content#{$infix}-stretch { align-content: stretch !important; }
40
+
41
+ .align-self#{$infix}-auto { align-self: auto !important; }
42
+ .align-self#{$infix}-start { align-self: flex-start !important; }
43
+ .align-self#{$infix}-end { align-self: flex-end !important; }
44
+ .align-self#{$infix}-center { align-self: center !important; }
45
+ .align-self#{$infix}-baseline { align-self: baseline !important; }
46
+ .align-self#{$infix}-stretch { align-self: stretch !important; }
36
47
  }
37
48
  }
@@ -1,13 +1,9 @@
1
1
  @each $breakpoint in map-keys($grid-breakpoints) {
2
2
  @include media-breakpoint-up($breakpoint) {
3
- .float-#{$breakpoint}-left {
4
- @include float-left();
5
- }
6
- .float-#{$breakpoint}-right {
7
- @include float-right();
8
- }
9
- .float-#{$breakpoint}-none {
10
- float: none !important;
11
- }
3
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
4
+
5
+ .float#{$infix}-left { @include float-left; }
6
+ .float#{$infix}-right { @include float-right; }
7
+ .float#{$infix}-none { @include float-none; }
12
8
  }
13
9
  }
@@ -0,0 +1,23 @@
1
+ // Positioning
2
+
3
+ .fixed-top {
4
+ position: fixed;
5
+ top: 0;
6
+ right: 0;
7
+ left: 0;
8
+ z-index: $zindex-fixed;
9
+ }
10
+
11
+ .fixed-bottom {
12
+ position: fixed;
13
+ right: 0;
14
+ bottom: 0;
15
+ left: 0;
16
+ z-index: $zindex-fixed;
17
+ }
18
+
19
+ .sticky-top {
20
+ position: sticky;
21
+ top: 0;
22
+ z-index: $zindex-sticky;
23
+ }
@@ -0,0 +1,10 @@
1
+ // Width and height
2
+
3
+ @each $prop, $abbrev in (width: w, height: h) {
4
+ @each $size, $length in $sizes {
5
+ .#{$abbrev}-#{$size} { #{$prop}: $length !important; }
6
+ }
7
+ }
8
+
9
+ .mw-100 { max-width: 100% !important; }
10
+ .mh-100 { max-height: 100% !important; }
@@ -1,44 +1,43 @@
1
- // Width and height
2
-
3
- .w-100 { width: 100% !important; }
4
- .h-100 { height: 100% !important; }
5
-
6
1
  // Margin and Padding
7
2
 
8
- .mx-auto {
9
- margin-right: auto !important;
10
- margin-left: auto !important;
11
- }
12
-
13
- @each $prop, $abbrev in (margin: m, padding: p) {
14
- @each $size, $lengths in $spacers {
15
- $length-x: map-get($lengths, x);
16
- $length-y: map-get($lengths, y);
17
-
18
- .#{$abbrev}-#{$size} { #{$prop}: $length-y $length-x !important; } // a = All sides
19
- .#{$abbrev}t-#{$size} { #{$prop}-top: $length-y !important; }
20
- .#{$abbrev}r-#{$size} { #{$prop}-right: $length-x !important; }
21
- .#{$abbrev}b-#{$size} { #{$prop}-bottom: $length-y !important; }
22
- .#{$abbrev}l-#{$size} { #{$prop}-left: $length-x !important; }
3
+ @each $breakpoint in map-keys($grid-breakpoints) {
4
+ @include media-breakpoint-up($breakpoint) {
5
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
6
+
7
+ @each $prop, $abbrev in (margin: m, padding: p) {
8
+ @each $size, $lengths in $spacers {
9
+ $length-x: map-get($lengths, x);
10
+ $length-y: map-get($lengths, y);
11
+
12
+ .#{$abbrev}#{$infix}-#{$size} { #{$prop}: $length-y $length-x !important; }
13
+ .#{$abbrev}t#{$infix}-#{$size} { #{$prop}-top: $length-y !important; }
14
+ .#{$abbrev}r#{$infix}-#{$size} { #{$prop}-right: $length-x !important; }
15
+ .#{$abbrev}b#{$infix}-#{$size} { #{$prop}-bottom: $length-y !important; }
16
+ .#{$abbrev}l#{$infix}-#{$size} { #{$prop}-left: $length-x !important; }
17
+ .#{$abbrev}x#{$infix}-#{$size} {
18
+ #{$prop}-right: $length-x !important;
19
+ #{$prop}-left: $length-x !important;
20
+ }
21
+ .#{$abbrev}y#{$infix}-#{$size} {
22
+ #{$prop}-top: $length-y !important;
23
+ #{$prop}-bottom: $length-y !important;
24
+ }
25
+ }
26
+ }
23
27
 
24
- // Axes
25
- .#{$abbrev}x-#{$size} {
26
- #{$prop}-right: $length-x !important;
27
- #{$prop}-left: $length-x !important;
28
+ // Some special margin utils
29
+ .m#{$infix}-auto { margin: auto !important; }
30
+ .mt#{$infix}-auto { margin-top: auto !important; }
31
+ .mr#{$infix}-auto { margin-right: auto !important; }
32
+ .mb#{$infix}-auto { margin-bottom: auto !important; }
33
+ .ml#{$infix}-auto { margin-left: auto !important; }
34
+ .mx#{$infix}-auto {
35
+ margin-right: auto !important;
36
+ margin-left: auto !important;
28
37
  }
29
- .#{$abbrev}y-#{$size} {
30
- #{$prop}-top: $length-y !important;
31
- #{$prop}-bottom: $length-y !important;
38
+ .my#{$infix}-auto {
39
+ margin-top: auto !important;
40
+ margin-bottom: auto !important;
32
41
  }
33
42
  }
34
43
  }
35
-
36
- // Positioning
37
-
38
- .pos-f-t {
39
- position: fixed;
40
- top: 0;
41
- right: 0;
42
- left: 0;
43
- z-index: $zindex-navbar-fixed;
44
- }
@@ -4,31 +4,33 @@
4
4
 
5
5
  // Alignment
6
6
 
7
- .text-justify { text-align: justify !important; }
8
- .text-nowrap { white-space: nowrap !important; }
9
- .text-truncate { @include text-truncate; }
7
+ .text-justify { text-align: justify !important; }
8
+ .text-nowrap { white-space: nowrap !important; }
9
+ .text-truncate { @include text-truncate; }
10
10
 
11
11
  // Responsive alignment
12
12
 
13
13
  @each $breakpoint in map-keys($grid-breakpoints) {
14
14
  @include media-breakpoint-up($breakpoint) {
15
- .text-#{$breakpoint}-left { text-align: left !important; }
16
- .text-#{$breakpoint}-right { text-align: right !important; }
17
- .text-#{$breakpoint}-center { text-align: center !important; }
15
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
16
+
17
+ .text#{$infix}-left { text-align: left !important; }
18
+ .text#{$infix}-right { text-align: right !important; }
19
+ .text#{$infix}-center { text-align: center !important; }
18
20
  }
19
21
  }
20
22
 
21
23
  // Transformation
22
24
 
23
- .text-lowercase { text-transform: lowercase !important; }
24
- .text-uppercase { text-transform: uppercase !important; }
25
- .text-capitalize { text-transform: capitalize !important; }
25
+ .text-lowercase { text-transform: lowercase !important; }
26
+ .text-uppercase { text-transform: uppercase !important; }
27
+ .text-capitalize { text-transform: capitalize !important; }
26
28
 
27
29
  // Weight and italics
28
30
 
29
- .font-weight-normal { font-weight: normal; }
30
- .font-weight-bold { font-weight: bold; }
31
- .font-italic { font-style: italic; }
31
+ .font-weight-normal { font-weight: $font-weight-normal; }
32
+ .font-weight-bold { font-weight: $font-weight-bold; }
33
+ .font-italic { font-style: italic; }
32
34
 
33
35
  // Contextual colors
34
36
 
@@ -3,7 +3,7 @@
3
3
  //
4
4
 
5
5
  .invisible {
6
- visibility: hidden !important;
6
+ @include invisible();
7
7
  }
8
8
 
9
9
  // Responsive visibility utilities
@@ -1,4 +1,4 @@
1
1
  module Bootstrap
2
- VERSION = '4.0.0.alpha5'
3
- BOOTSTRAP_SHA = 'b5890e0608ad2262cde4a38e90afa19f1cb5d852'
2
+ VERSION = '4.0.0.alpha6'
3
+ BOOTSTRAP_SHA = '65ffb1c3b6e94440812a2e228cb8e8be512652ec'
4
4
  end
@@ -12,16 +12,14 @@ class Updater
12
12
  log_processed "#{bootstrap_scss_files * ' '}"
13
13
 
14
14
  log_status 'Updating scss main files'
15
- %w(bootstrap bootstrap-flex bootstrap-grid bootstrap-reboot).each do |name|
15
+ %w(bootstrap bootstrap-grid bootstrap-reboot).each do |name|
16
16
  # Compass treats non-partials as targets to copy into the main project, so make them partials.
17
17
  # Also move them up a level to clearly indicate entry points.
18
18
  from = "#{save_to}/#{name}.scss"
19
19
  to = "#{save_to}/../_#{name}.scss"
20
20
  FileUtils.mv from, to
21
- # As we moved the files, adjust imports accordingly (except for bootstrap-flex that imports the main bootstrap).
22
- unless 'bootstrap-flex' == name
23
- File.write to, File.read(to).gsub(/ "/, ' "bootstrap/')
24
- end
21
+ # As we moved the files, adjust imports accordingly.
22
+ File.write to, File.read(to).gsub(/ "/, ' "bootstrap/')
25
23
  end
26
24
 
27
25
  log_status 'Generating variable template file'
@@ -1,4 +1,4 @@
1
- // Override Bootstrap variables here (defaults from bootstrap v4.0.0-alpha.5):
1
+ // Override Bootstrap variables here (defaults from bootstrap v4.0.0-alpha.6):
2
2
 
3
3
 
4
4
  // Table of Contents
@@ -13,6 +13,55 @@
13
13
  // Grid columns
14
14
  // Fonts
15
15
  // Components
16
+ // Tables
17
+ // Buttons
18
+ // Forms
19
+ // Dropdowns
20
+ // Z-index master list
21
+ // Navbar
22
+ // Navs
23
+ // Pagination
24
+ // Jumbotron
25
+ // Form states and alerts
26
+ // Cards
27
+ // Tooltips
28
+ // Popovers
29
+ // Badges
30
+ // Modals
31
+ // Alerts
32
+ // Progress bars
33
+ // List group
34
+ // Image thumbnails
35
+ // Figures
36
+ // Breadcrumbs
37
+ // Carousel
38
+ // Close
39
+ // Code
40
+
41
+
42
+ // Replace `$search` with `$replace` in `$string`
43
+ // @author Hugo Giraudel
44
+ // @param {String} $string - Initial string
45
+ // @param {String} $search - Substring to replace
46
+ // @param {String} $replace ('') - New value
47
+ // @return {String} - Updated string
48
+ @function str-replace($string, $search, $replace: "") {
49
+ // $index: str-index($string, $search);
50
+
51
+ // @if $index {
52
+ // @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
53
+ // }
54
+
55
+ // @return $string;
56
+ }
57
+
58
+ @mixin _assert-starts-at-zero($map) {
59
+ // $values: map-values($map);
60
+ // $first-value: nth($values, 1);
61
+ // @if $first-value != 0 {
62
+ // @warn "First breakpoint in `$grid-breakpoints` must start at 0, but starts at #{$first-value}.";
63
+ // }
64
+ }
16
65
 
17
66
 
18
67
  // General variable structure
@@ -24,17 +73,31 @@
24
73
  //
25
74
  // Grayscale and brand colors for use across Bootstrap.
26
75
 
27
- // $gray-dark: #373a3c;
28
- // $gray: #55595c;
29
- // $gray-light: #818a91;
76
+ // Start with assigning color names to specific hex values.
77
+ // $white: #fff;
78
+ // $black: #000;
79
+ // $red: #d9534f;
80
+ // $orange: #f0ad4e;
81
+ // $yellow: #ffd500;
82
+ // $green: #5cb85c;
83
+ // $blue: #0275d8;
84
+ // $teal: #5bc0de;
85
+ // $pink: #ff5b77;
86
+ // $purple: #613d7c;
87
+
88
+ // Create grayscale
89
+ // $gray-dark: #292b2c;
90
+ // $gray: #464a4c;
91
+ // $gray-light: #636c72;
30
92
  // $gray-lighter: #eceeef;
31
93
  // $gray-lightest: #f7f7f9;
32
94
 
33
- // $brand-primary: #0275d8;
34
- // $brand-success: #5cb85c;
35
- // $brand-info: #5bc0de;
36
- // $brand-warning: #f0ad4e;
37
- // $brand-danger: #d9534f;
95
+ // Reassign color vars to semantic color scheme
96
+ // $brand-primary: $blue;
97
+ // $brand-success: $green;
98
+ // $brand-info: $teal;
99
+ // $brand-warning: $orange;
100
+ // $brand-danger: $red;
38
101
  // $brand-inverse: $gray-dark;
39
102
 
40
103
 
@@ -42,11 +105,10 @@
42
105
  //
43
106
  // Quickly modify global styling by enabling or disabling optional features.
44
107
 
45
- // $enable-flex: false;
46
108
  // $enable-rounded: true;
47
109
  // $enable-shadows: false;
48
110
  // $enable-gradients: false;
49
- // $enable-transitions: false;
111
+ // $enable-transitions: true;
50
112
  // $enable-hover-media-query: false;
51
113
  // $enable-grid-classes: true;
52
114
  // $enable-print-styles: true;
@@ -67,27 +129,44 @@
67
129
  // y: 0
68
130
  // ),
69
131
  // 1: (
132
+ // x: ($spacer-x * .25),
133
+ // y: ($spacer-y * .25)
134
+ // ),
135
+ // 2: (
136
+ // x: ($spacer-x * .5),
137
+ // y: ($spacer-y * .5)
138
+ // ),
139
+ // 3: (
70
140
  // x: $spacer-x,
71
141
  // y: $spacer-y
72
142
  // ),
73
- // 2: (
143
+ // 4: (
74
144
  // x: ($spacer-x * 1.5),
75
145
  // y: ($spacer-y * 1.5)
76
146
  // ),
77
- // 3: (
147
+ // 5: (
78
148
  // x: ($spacer-x * 3),
79
149
  // y: ($spacer-y * 3)
80
150
  // )
81
151
  // );
82
152
  // $border-width: 1px;
83
153
 
154
+ // This variable affects the `.h-*` and `.w-*` classes.
155
+ // $sizes: (
156
+ // 25: 25%,
157
+ // 50: 50%,
158
+ // 75: 75%,
159
+ // 100: 100%
160
+ // );
84
161
 
85
162
  // Body
86
163
  //
87
164
  // Settings for the `<body>` element.
88
165
 
89
- // $body-bg: #fff;
90
- // $body-color: $gray-dark;
166
+ // $body-bg: $white;
167
+ // $body-color: $gray-dark;
168
+ // $inverse-bg: $gray-dark;
169
+ // $inverse-color: $gray-lighter;
91
170
 
92
171
 
93
172
  // Links
@@ -112,6 +191,7 @@
112
191
  // lg: 992px,
113
192
  // xl: 1200px
114
193
  // );
194
+ @include _assert-starts-at-zero($grid-breakpoints);
115
195
 
116
196
 
117
197
  // Grid containers
@@ -140,23 +220,24 @@
140
220
  // xl: $grid-gutter-width-base
141
221
  // );
142
222
 
143
- // Typography
223
+ // Fonts
144
224
  //
145
225
  // Font, line-height, and color for body text, headings, and more.
146
226
 
147
- // $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
227
+ // $font-family-sans-serif: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
148
228
  // $font-family-serif: Georgia, "Times New Roman", Times, serif;
149
229
  // $font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
150
230
  // $font-family-base: $font-family-sans-serif;
151
231
 
152
- // Pixel value used to responsively scale all typography. Applied to the `<html>` element.
153
- // $font-size-root: 16px;
154
-
155
- // $font-size-base: 1rem;
232
+ // $font-size-base: 1rem; // Assumes the browser default, typically `16px`
156
233
  // $font-size-lg: 1.25rem;
157
234
  // $font-size-sm: .875rem;
158
235
  // $font-size-xs: .75rem;
159
236
 
237
+ // $font-weight-normal: normal;
238
+ // $font-weight-bold: bold;
239
+
240
+ // $font-weight-base: $font-weight-normal;
160
241
  // $line-height-base: 1.5;
161
242
 
162
243
  // $font-size-h1: 2.5rem;
@@ -166,22 +247,23 @@
166
247
  // $font-size-h5: 1.25rem;
167
248
  // $font-size-h6: 1rem;
168
249
 
169
- // $display1-size: 6rem;
170
- // $display2-size: 5.5rem;
171
- // $display3-size: 4.5rem;
172
- // $display4-size: 3.5rem;
173
-
174
- // $display1-weight: 300;
175
- // $display2-weight: 300;
176
- // $display3-weight: 300;
177
- // $display4-weight: 300;
178
-
179
250
  // $headings-margin-bottom: ($spacer / 2);
180
251
  // $headings-font-family: inherit;
181
252
  // $headings-font-weight: 500;
182
253
  // $headings-line-height: 1.1;
183
254
  // $headings-color: inherit;
184
255
 
256
+ // $display1-size: 6rem;
257
+ // $display2-size: 5.5rem;
258
+ // $display3-size: 4.5rem;
259
+ // $display4-size: 3.5rem;
260
+
261
+ // $display1-weight: 300;
262
+ // $display2-weight: 300;
263
+ // $display3-weight: 300;
264
+ // $display4-weight: 300;
265
+ // $display-line-height: $headings-line-height;
266
+
185
267
  // $lead-font-size: 1.25rem;
186
268
  // $lead-font-weight: 300;
187
269
 
@@ -196,15 +278,15 @@
196
278
  // $blockquote-border-color: $gray-lighter;
197
279
  // $blockquote-border-width: .25rem;
198
280
 
199
- // $hr-border-color: rgba(0,0,0,.1);
281
+ // $hr-border-color: rgba($black,.1);
200
282
  // $hr-border-width: $border-width;
201
283
 
202
284
  // $mark-padding: .2em;
203
285
 
204
- // $dt-font-weight: bold;
286
+ // $dt-font-weight: $font-weight-bold;
205
287
 
206
- // $kbd-box-shadow: inset 0 -.1rem 0 rgba(0,0,0,.25);
207
- // $nested-kbd-font-weight: bold;
288
+ // $kbd-box-shadow: inset 0 -.1rem 0 rgba($black,.25);
289
+ // $nested-kbd-font-weight: $font-weight-bold;
208
290
 
209
291
  // $list-inline-padding: 5px;
210
292
 
@@ -220,11 +302,14 @@
220
302
  // $border-radius-lg: .3rem;
221
303
  // $border-radius-sm: .2rem;
222
304
 
223
- // $component-active-color: #fff;
305
+ // $component-active-color: $white;
224
306
  // $component-active-bg: $brand-primary;
225
307
 
226
308
  // $caret-width: .3em;
227
- // $caret-width-lg: $caret-width;
309
+
310
+ // $transition-base: all .2s ease-in-out;
311
+ // $transition-fade: opacity .15s linear;
312
+ // $transition-collapse: height .35s ease;
228
313
 
229
314
 
230
315
  // Tables
@@ -235,10 +320,17 @@
235
320
  // $table-sm-cell-padding: .3rem;
236
321
 
237
322
  // $table-bg: transparent;
238
- // $table-bg-accent: rgba(0,0,0,.05);
239
- // $table-bg-hover: rgba(0,0,0,.075);
323
+
324
+ // $table-inverse-bg: $gray-dark;
325
+ // $table-inverse-color: $body-bg;
326
+
327
+ // $table-bg-accent: rgba($black,.05);
328
+ // $table-bg-hover: rgba($black,.075);
240
329
  // $table-bg-active: $table-bg-hover;
241
330
 
331
+ // $table-head-bg: $gray-lighter;
332
+ // $table-head-color: $gray;
333
+
242
334
  // $table-border-width: $border-width;
243
335
  // $table-border-color: $gray-lighter;
244
336
 
@@ -250,31 +342,32 @@
250
342
  // $btn-padding-x: 1rem;
251
343
  // $btn-padding-y: .5rem;
252
344
  // $btn-line-height: 1.25;
253
- // $btn-font-weight: normal;
254
- // $btn-box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
255
- // $btn-active-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
345
+ // $btn-font-weight: $font-weight-normal;
346
+ // $btn-box-shadow: inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075);
347
+ // $btn-focus-box-shadow: 0 0 0 2px rgba($brand-primary, .25);
348
+ // $btn-active-box-shadow: inset 0 3px 5px rgba($black,.125);
256
349
 
257
- // $btn-primary-color: #fff;
350
+ // $btn-primary-color: $white;
258
351
  // $btn-primary-bg: $brand-primary;
259
352
  // $btn-primary-border: $btn-primary-bg;
260
353
 
261
354
  // $btn-secondary-color: $gray-dark;
262
- // $btn-secondary-bg: #fff;
355
+ // $btn-secondary-bg: $white;
263
356
  // $btn-secondary-border: #ccc;
264
357
 
265
- // $btn-info-color: #fff;
358
+ // $btn-info-color: $white;
266
359
  // $btn-info-bg: $brand-info;
267
360
  // $btn-info-border: $btn-info-bg;
268
361
 
269
- // $btn-success-color: #fff;
362
+ // $btn-success-color: $white;
270
363
  // $btn-success-bg: $brand-success;
271
364
  // $btn-success-border: $btn-success-bg;
272
365
 
273
- // $btn-warning-color: #fff;
366
+ // $btn-warning-color: $white;
274
367
  // $btn-warning-bg: $brand-warning;
275
368
  // $btn-warning-border: $btn-warning-bg;
276
369
 
277
- // $btn-danger-color: #fff;
370
+ // $btn-danger-color: $white;
278
371
  // $btn-danger-bg: $brand-danger;
279
372
  // $btn-danger-border: $btn-danger-bg;
280
373
 
@@ -294,6 +387,8 @@
294
387
  // $btn-border-radius-lg: $border-radius-lg;
295
388
  // $btn-border-radius-sm: $border-radius-sm;
296
389
 
390
+ // $btn-transition: all .2s ease-in-out;
391
+
297
392
 
298
393
  // Forms
299
394
 
@@ -301,24 +396,24 @@
301
396
  // $input-padding-y: .5rem;
302
397
  // $input-line-height: 1.25;
303
398
 
304
- // $input-bg: #fff;
399
+ // $input-bg: $white;
305
400
  // $input-bg-disabled: $gray-lighter;
306
401
 
307
402
  // $input-color: $gray;
308
- // $input-border-color: rgba(0,0,0,.15);
403
+ // $input-border-color: rgba($black,.15);
309
404
  // $input-btn-border-width: $border-width; // For form controls and buttons
310
- // $input-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
405
+ // $input-box-shadow: inset 0 1px 1px rgba($black,.075);
311
406
 
312
407
  // $input-border-radius: $border-radius;
313
408
  // $input-border-radius-lg: $border-radius-lg;
314
409
  // $input-border-radius-sm: $border-radius-sm;
315
410
 
316
411
  // $input-bg-focus: $input-bg;
317
- // $input-border-focus: #66afe9;
318
- // $input-box-shadow-focus: $input-box-shadow, 0 0 8px rgba(102,175,233,.6);
412
+ // $input-border-focus: lighten($brand-primary, 25%);
413
+ // $input-box-shadow-focus: $input-box-shadow, rgba($input-border-focus, .6);
319
414
  // $input-color-focus: $input-color;
320
415
 
321
- // $input-color-placeholder: #999;
416
+ // $input-color-placeholder: $gray-light;
322
417
 
323
418
  // $input-padding-x-sm: .5rem;
324
419
  // $input-padding-y-sm: .25rem;
@@ -326,10 +421,22 @@
326
421
  // $input-padding-x-lg: 1.5rem;
327
422
  // $input-padding-y-lg: .75rem;
328
423
 
329
- // $input-height: (($font-size-base * $line-height-base) + ($input-padding-y * 2));
424
+ // $input-height: (($font-size-base * $input-line-height) + ($input-padding-y * 2));
330
425
  // $input-height-lg: (($font-size-lg * $line-height-lg) + ($input-padding-y-lg * 2));
331
426
  // $input-height-sm: (($font-size-sm * $line-height-sm) + ($input-padding-y-sm * 2));
332
427
 
428
+ // $input-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
429
+
430
+ // $form-text-margin-top: .25rem;
431
+ // $form-feedback-margin-top: $form-text-margin-top;
432
+
433
+ // $form-check-margin-bottom: .5rem;
434
+ // $form-check-input-gutter: 1.25rem;
435
+ // $form-check-input-margin-y: .25rem;
436
+ // $form-check-input-margin-x: .25rem;
437
+
438
+ // $form-check-inline-margin-x: .75rem;
439
+
333
440
  // $form-group-margin-bottom: $spacer-y;
334
441
 
335
442
  // $input-group-addon-bg: $gray-lighter;
@@ -342,70 +449,72 @@
342
449
  // $custom-control-spacer-y: .25rem;
343
450
 
344
451
  // $custom-control-indicator-size: 1rem;
452
+ // $custom-control-indicator-margin-y: (($line-height-base * 1rem) - $custom-control-indicator-size) / -2;
345
453
  // $custom-control-indicator-bg: #ddd;
346
454
  // $custom-control-indicator-bg-size: 50% 50%;
347
- // $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba(0,0,0,.1);
455
+ // $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1);
348
456
 
349
457
  // $custom-control-disabled-cursor: $cursor-disabled;
350
- // $custom-control-disabled-indicator-bg: #eee;
351
- // $custom-control-disabled-description-color: #767676;
458
+ // $custom-control-disabled-indicator-bg: $gray-lighter;
459
+ // $custom-control-disabled-description-color: $gray-light;
352
460
 
353
- // $custom-control-checked-indicator-color: #fff;
354
- // $custom-control-checked-indicator-bg: #0074d9;
461
+ // $custom-control-checked-indicator-color: $white;
462
+ // $custom-control-checked-indicator-bg: $brand-primary;
355
463
  // $custom-control-checked-indicator-box-shadow: none;
356
464
 
357
- // $custom-control-focus-indicator-box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9;
465
+ // $custom-control-focus-indicator-box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px $brand-primary;
358
466
 
359
- // $custom-control-active-indicator-color: #fff;
360
- // $custom-control-active-indicator-bg: #84c6ff;
467
+ // $custom-control-active-indicator-color: $white;
468
+ // $custom-control-active-indicator-bg: lighten($brand-primary, 35%);
361
469
  // $custom-control-active-indicator-box-shadow: none;
362
470
 
363
471
  // $custom-checkbox-radius: $border-radius;
364
- // $custom-checkbox-checked-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-checked-indicator-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
472
+ // $custom-checkbox-checked-icon: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-checked-indicator-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23");
365
473
 
366
- // $custom-checkbox-indeterminate-bg: #0074d9;
474
+ // $custom-checkbox-indeterminate-bg: $brand-primary;
367
475
  // $custom-checkbox-indeterminate-indicator-color: $custom-control-checked-indicator-color;
368
- // $custom-checkbox-indeterminate-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indeterminate-indicator-color}' d='M0 2h4'/%3E%3C/svg%3E");
476
+ // $custom-checkbox-indeterminate-icon: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indeterminate-indicator-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23");
369
477
  // $custom-checkbox-indeterminate-box-shadow: none;
370
478
 
371
479
  // $custom-radio-radius: 50%;
372
- // $custom-radio-checked-icon: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-checked-indicator-color}'/%3E%3C/svg%3E");
480
+ // $custom-radio-checked-icon: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-checked-indicator-color}'/%3E%3C/svg%3E"), "#", "%23");
373
481
 
374
482
  // $custom-select-padding-x: .75rem ;
375
483
  // $custom-select-padding-y: .375rem;
376
- // $custom-select-indicator-padding: 1rem; // Extra padding to account for the presence of the background-image based indicator
377
- // $custom-select-color: $input-color;
378
- // $custom-select-disabled-color: $gray-light;
379
- // $custom-select-bg: #fff;
484
+ // $custom-select-indicator-padding: 1rem; // Extra padding to account for the presence of the background-image based indicator
485
+ // $custom-select-line-height: $input-line-height;
486
+ // $custom-select-color: $input-color;
487
+ // $custom-select-disabled-color: $gray-light;
488
+ // $custom-select-bg: $white;
380
489
  // $custom-select-disabled-bg: $gray-lighter;
381
490
  // $custom-select-bg-size: 8px 10px; // In pixels because image dimensions
382
491
  // $custom-select-indicator-color: #333;
383
- // $custom-select-indicator: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
492
+ // $custom-select-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E"), "#", "%23");
384
493
  // $custom-select-border-width: $input-btn-border-width;
385
494
  // $custom-select-border-color: $input-border-color;
386
495
  // $custom-select-border-radius: $border-radius;
387
496
 
388
- // $custom-select-focus-border-color: #51a7e8;
389
- // $custom-select-focus-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075), 0 0 5px rgba(81, 167, 232, .5);
497
+ // $custom-select-focus-border-color: lighten($brand-primary, 25%);
498
+ // $custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5);
390
499
 
391
- // $custom-select-sm-padding-y: .2rem;
392
- // $custom-select-sm-font-size: 75%;
500
+ // $custom-select-sm-padding-y: .2rem;
501
+ // $custom-select-sm-font-size: 75%;
393
502
 
394
503
  // $custom-file-height: 2.5rem;
395
504
  // $custom-file-width: 14rem;
396
- // $custom-file-focus-box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9;
505
+ // $custom-file-focus-box-shadow: 0 0 0 .075rem $white, 0 0 0 .2rem $brand-primary;
397
506
 
398
507
  // $custom-file-padding-x: .5rem;
399
508
  // $custom-file-padding-y: 1rem;
400
509
  // $custom-file-line-height: 1.5;
401
- // $custom-file-color: #555;
402
- // $custom-file-bg: #fff;
510
+ // $custom-file-color: $gray;
511
+ // $custom-file-bg: $white;
403
512
  // $custom-file-border-width: $border-width;
404
- // $custom-file-border-color: #ddd;
513
+ // $custom-file-border-color: $input-border-color;
405
514
  // $custom-file-border-radius: $border-radius;
406
- // $custom-file-box-shadow: inset 0 .2rem .4rem rgba(0,0,0,.05);
515
+ // $custom-file-box-shadow: inset 0 .2rem .4rem rgba($black,.05);
407
516
  // $custom-file-button-color: $custom-file-color;
408
- // $custom-file-button-bg: #eee;
517
+ // $custom-file-button-bg: $gray-lighter;
409
518
  // $custom-file-text: (
410
519
  // placeholder: (
411
520
  // en: "Choose file..."
@@ -418,13 +527,13 @@
418
527
 
419
528
  // Form validation icons
420
529
  // $form-icon-success-color: $brand-success;
421
- // $form-icon-success: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$form-icon-success-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");
530
+ // $form-icon-success: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$form-icon-success-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E"), "#", "%23");
422
531
 
423
532
  // $form-icon-warning-color: $brand-warning;
424
- // $form-icon-warning: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$form-icon-warning-color}' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E");
533
+ // $form-icon-warning: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$form-icon-warning-color}' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E"), "#", "%23");
425
534
 
426
535
  // $form-icon-danger-color: $brand-danger;
427
- // $form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$form-icon-danger-color}' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E");
536
+ // $form-icon-danger: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$form-icon-danger-color}' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E"), "#", "%23");
428
537
 
429
538
 
430
539
  // Dropdowns
@@ -434,15 +543,15 @@
434
543
  // $dropdown-min-width: 10rem;
435
544
  // $dropdown-padding-y: .5rem;
436
545
  // $dropdown-margin-top: .125rem;
437
- // $dropdown-bg: #fff;
438
- // $dropdown-border-color: rgba(0,0,0,.15);
546
+ // $dropdown-bg: $white;
547
+ // $dropdown-border-color: rgba($black,.15);
439
548
  // $dropdown-border-width: $border-width;
440
- // $dropdown-divider-bg: #e5e5e5;
441
- // $dropdown-box-shadow: 0 .5rem 1rem rgba(0,0,0,.175);
549
+ // $dropdown-divider-bg: $gray-lighter;
550
+ // $dropdown-box-shadow: 0 .5rem 1rem rgba($black,.175);
442
551
 
443
552
  // $dropdown-link-color: $gray-dark;
444
553
  // $dropdown-link-hover-color: darken($gray-dark, 5%);
445
- // $dropdown-link-hover-bg: #f5f5f5;
554
+ // $dropdown-link-hover-bg: $gray-lightest;
446
555
 
447
556
  // $dropdown-link-active-color: $component-active-color;
448
557
  // $dropdown-link-active-bg: $component-active-bg;
@@ -460,14 +569,14 @@
460
569
  // of components dependent on the z-axis and are designed to all work together.
461
570
 
462
571
  // $zindex-dropdown-backdrop: 990;
463
- // $zindex-navbar: 1000;
464
- // $zindex-dropdown: 1000;
465
- // $zindex-popover: 1060;
466
- // $zindex-tooltip: 1070;
467
- // $zindex-navbar-fixed: 1030;
468
- // $zindex-navbar-sticky: 1030;
469
- // $zindex-modal-bg: 1040;
470
- // $zindex-modal: 1050;
572
+ // $zindex-navbar: 1000;
573
+ // $zindex-dropdown: 1000;
574
+ // $zindex-fixed: 1030;
575
+ // $zindex-sticky: 1030;
576
+ // $zindex-modal-backdrop: 1040;
577
+ // $zindex-modal: 1050;
578
+ // $zindex-popover: 1060;
579
+ // $zindex-tooltip: 1070;
471
580
 
472
581
 
473
582
  // Navbar
@@ -478,28 +587,24 @@
478
587
 
479
588
  // $navbar-brand-padding-y: .25rem;
480
589
 
481
- // $navbar-divider-padding-y: .425rem;
482
-
483
590
  // $navbar-toggler-padding-x: .75rem;
484
- // $navbar-toggler-padding-y: .5rem;
591
+ // $navbar-toggler-padding-y: .25rem;
485
592
  // $navbar-toggler-font-size: $font-size-lg;
486
593
  // $navbar-toggler-border-radius: $btn-border-radius;
487
- // $navbar-toggler-padding-x: .75rem;
488
- // $navbar-toggler-padding-y: .5rem;
489
-
490
- // $navbar-dark-color: rgba(255,255,255,.5);
491
- // $navbar-dark-hover-color: rgba(255,255,255,.75);
492
- // $navbar-dark-active-color: rgba(255,255,255,1);
493
- // $navbar-dark-disabled-color: rgba(255,255,255,.25);
494
- // $navbar-dark-toggler-bg: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
495
- // $navbar-dark-toggler-border: rgba(255,255,255,.1);
496
-
497
- // $navbar-light-color: rgba(0,0,0,.5);
498
- // $navbar-light-hover-color: rgba(0,0,0,.7);
499
- // $navbar-light-active-color: rgba(0,0,0,.9);
500
- // $navbar-light-disabled-color: rgba(0,0,0,.3);
501
- // $navbar-light-toggler-bg: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
502
- // $navbar-light-toggler-border: rgba(0,0,0,.1);
594
+
595
+ // $navbar-inverse-color: rgba($white,.5);
596
+ // $navbar-inverse-hover-color: rgba($white,.75);
597
+ // $navbar-inverse-active-color: rgba($white,1);
598
+ // $navbar-inverse-disabled-color: rgba($white,.25);
599
+ // $navbar-inverse-toggler-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-inverse-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E"), "#", "%23");
600
+ // $navbar-inverse-toggler-border: rgba($white,.1);
601
+
602
+ // $navbar-light-color: rgba($black,.5);
603
+ // $navbar-light-hover-color: rgba($black,.7);
604
+ // $navbar-light-active-color: rgba($black,.9);
605
+ // $navbar-light-disabled-color: rgba($black,.3);
606
+ // $navbar-light-toggler-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E"), "#", "%23");
607
+ // $navbar-light-toggler-border: rgba($black,.1);
503
608
 
504
609
  // Navs
505
610
 
@@ -508,8 +613,6 @@
508
613
  // $nav-link-padding: .5em 1em;
509
614
  // $nav-link-hover-bg: $gray-lighter;
510
615
  // $nav-disabled-link-color: $gray-light;
511
- // $nav-disabled-link-hover-color: $gray-light;
512
- // $nav-disabled-link-hover-bg: transparent;
513
616
 
514
617
  // $nav-tabs-border-color: #ddd;
515
618
  // $nav-tabs-border-width: $border-width;
@@ -530,14 +633,14 @@
530
633
 
531
634
  // $pagination-padding-x: .75rem;
532
635
  // $pagination-padding-y: .5rem;
533
- // $pagination-padding-x-sm: .75rem;
534
- // $pagination-padding-y-sm: .275rem;
636
+ // $pagination-padding-x-sm: .5rem;
637
+ // $pagination-padding-y-sm: .25rem;
535
638
  // $pagination-padding-x-lg: 1.5rem;
536
639
  // $pagination-padding-y-lg: .75rem;
537
-
640
+ // $pagination-line-height: 1.25;
538
641
 
539
642
  // $pagination-color: $link-color;
540
- // $pagination-bg: #fff;
643
+ // $pagination-bg: $white;
541
644
  // $pagination-border-width: $border-width;
542
645
  // $pagination-border-color: #ddd;
543
646
 
@@ -545,12 +648,12 @@
545
648
  // $pagination-hover-bg: $gray-lighter;
546
649
  // $pagination-hover-border: #ddd;
547
650
 
548
- // $pagination-active-color: #fff;
651
+ // $pagination-active-color: $white;
549
652
  // $pagination-active-bg: $brand-primary;
550
653
  // $pagination-active-border: $brand-primary;
551
654
 
552
655
  // $pagination-disabled-color: $gray-light;
553
- // $pagination-disabled-bg: #fff;
656
+ // $pagination-disabled-bg: $white;
554
657
  // $pagination-disabled-border: #ddd;
555
658
 
556
659
 
@@ -583,29 +686,32 @@
583
686
 
584
687
 
585
688
  // Cards
689
+
586
690
  // $card-spacer-x: 1.25rem;
587
691
  // $card-spacer-y: .75rem;
588
692
  // $card-border-width: 1px;
589
693
  // $card-border-radius: $border-radius;
590
- // $card-border-color: rgba(0,0,0,.125);
694
+ // $card-border-color: rgba($black,.125);
591
695
  // $card-border-radius-inner: calc(#{$card-border-radius} - #{$card-border-width});
592
- // $card-cap-bg: #f5f5f5;
593
- // $card-bg: #fff;
696
+ // $card-cap-bg: $gray-lightest;
697
+ // $card-bg: $white;
594
698
 
595
- // $card-link-hover-color: #fff;
699
+ // $card-link-hover-color: $white;
596
700
 
597
701
  // $card-img-overlay-padding: 1.25rem;
598
702
 
599
- // $card-deck-margin: .625rem;
703
+ // $card-deck-margin: ($grid-gutter-width-base / 2);
600
704
 
601
- // $card-columns-sm-up-column-gap: 1.25rem;
705
+ // $card-columns-count: 3;
706
+ // $card-columns-gap: 1.25rem;
707
+ // $card-columns-margin: $card-spacer-y;
602
708
 
603
709
 
604
710
  // Tooltips
605
711
 
606
712
  // $tooltip-max-width: 200px;
607
- // $tooltip-color: #fff;
608
- // $tooltip-bg: #000;
713
+ // $tooltip-color: $white;
714
+ // $tooltip-bg: $black;
609
715
  // $tooltip-opacity: .9;
610
716
  // $tooltip-padding-y: 3px;
611
717
  // $tooltip-padding-x: 8px;
@@ -618,11 +724,11 @@
618
724
  // Popovers
619
725
 
620
726
  // $popover-inner-padding: 1px;
621
- // $popover-bg: #fff;
727
+ // $popover-bg: $white;
622
728
  // $popover-max-width: 276px;
623
729
  // $popover-border-width: $border-width;
624
- // $popover-border-color: rgba(0,0,0,.2);
625
- // $popover-box-shadow: 0 5px 10px rgba(0,0,0,.2);
730
+ // $popover-border-color: rgba($black,.2);
731
+ // $popover-box-shadow: 0 5px 10px rgba($black,.2);
626
732
 
627
733
  // $popover-title-bg: darken($popover-bg, 3%);
628
734
  // $popover-title-padding-x: 14px;
@@ -638,26 +744,27 @@
638
744
  // $popover-arrow-outer-color: fade-in($popover-border-color, .05);
639
745
 
640
746
 
641
- // Tags
747
+ // Badges
642
748
 
643
- // $tag-default-bg: $gray-light;
644
- // $tag-primary-bg: $brand-primary;
645
- // $tag-success-bg: $brand-success;
646
- // $tag-info-bg: $brand-info;
647
- // $tag-warning-bg: $brand-warning;
648
- // $tag-danger-bg: $brand-danger;
749
+ // $badge-default-bg: $gray-light;
750
+ // $badge-primary-bg: $brand-primary;
751
+ // $badge-success-bg: $brand-success;
752
+ // $badge-info-bg: $brand-info;
753
+ // $badge-warning-bg: $brand-warning;
754
+ // $badge-danger-bg: $brand-danger;
649
755
 
650
- // $tag-color: #fff;
651
- // $tag-link-hover-color: #fff;
652
- // $tag-font-size: 75%;
653
- // $tag-font-weight: bold;
654
- // $tag-padding-x: .4em;
655
- // $tag-padding-y: .25em;
756
+ // $badge-color: $white;
757
+ // $badge-link-hover-color: $white;
758
+ // $badge-font-size: 75%;
759
+ // $badge-font-weight: $font-weight-bold;
760
+ // $badge-padding-x: .4em;
761
+ // $badge-padding-y: .25em;
656
762
 
657
- // $tag-pill-padding-x: .6em;
763
+ // $badge-pill-padding-x: .6em;
658
764
  // Use a higher than normal value to ensure completely rounded edges when
659
765
  // customizing padding or font-size on labels.
660
- // $tag-pill-border-radius: 10rem;
766
+ // $badge-pill-border-radius: 10rem;
767
+
661
768
 
662
769
  // Modals
663
770
 
@@ -667,26 +774,28 @@
667
774
  // $modal-dialog-margin: 10px;
668
775
  // $modal-dialog-sm-up-margin-y: 30px;
669
776
 
670
- // $modal-title-padding: 15px;
671
777
  // $modal-title-line-height: $line-height-base;
672
778
 
673
- // $modal-content-bg: #fff;
674
- // $modal-content-border-color: rgba(0,0,0,.2);
779
+ // $modal-content-bg: $white;
780
+ // $modal-content-border-color: rgba($black,.2);
675
781
  // $modal-content-border-width: $border-width;
676
- // $modal-content-xs-box-shadow: 0 3px 9px rgba(0,0,0,.5);
677
- // $modal-content-sm-up-box-shadow: 0 5px 15px rgba(0,0,0,.5);
782
+ // $modal-content-xs-box-shadow: 0 3px 9px rgba($black,.5);
783
+ // $modal-content-sm-up-box-shadow: 0 5px 15px rgba($black,.5);
678
784
 
679
- // $modal-backdrop-bg: #000;
785
+ // $modal-backdrop-bg: $black;
680
786
  // $modal-backdrop-opacity: .5;
681
- // $modal-header-border-color: #e5e5e5;
787
+ // $modal-header-border-color: $gray-lighter;
682
788
  // $modal-footer-border-color: $modal-header-border-color;
683
789
  // $modal-header-border-width: $modal-content-border-width;
684
790
  // $modal-footer-border-width: $modal-header-border-width;
791
+ // $modal-header-padding: 15px;
685
792
 
686
- // $modal-lg: 900px;
687
- // $modal-md: 600px;
793
+ // $modal-lg: 800px;
794
+ // $modal-md: 500px;
688
795
  // $modal-sm: 300px;
689
796
 
797
+ // $modal-transition: transform .3s ease-out;
798
+
690
799
 
691
800
  // Alerts
692
801
  //
@@ -694,8 +803,9 @@
694
803
 
695
804
  // $alert-padding-x: 1.25rem;
696
805
  // $alert-padding-y: .75rem;
806
+ // $alert-margin-bottom: $spacer-y;
697
807
  // $alert-border-radius: $border-radius;
698
- // $alert-link-font-weight: bold;
808
+ // $alert-link-font-weight: $font-weight-bold;
699
809
  // $alert-border-width: $border-width;
700
810
 
701
811
  // $alert-success-bg: $state-success-bg;
@@ -717,42 +827,42 @@
717
827
 
718
828
  // Progress bars
719
829
 
720
- // $progress-bg: #eee;
721
- // $progress-bar-color: #0074d9;
722
- // $progress-border-radius: $border-radius;
723
- // $progress-box-shadow: inset 0 .1rem .1rem rgba(0,0,0,.1);
724
-
725
- // $progress-bar-bg: $brand-primary;
726
- // $progress-bar-success-bg: $brand-success;
727
- // $progress-bar-warning-bg: $brand-warning;
728
- // $progress-bar-danger-bg: $brand-danger;
729
- // $progress-bar-info-bg: $brand-info;
730
-
830
+ // $progress-height: 1rem;
831
+ // $progress-font-size: .75rem;
832
+ // $progress-bg: $gray-lighter;
833
+ // $progress-border-radius: $border-radius;
834
+ // $progress-box-shadow: inset 0 .1rem .1rem rgba($black,.1);
835
+ // $progress-bar-color: $white;
836
+ // $progress-bar-bg: $brand-primary;
837
+ // $progress-bar-animation-timing: 1s linear infinite;
731
838
 
732
839
  // List group
733
840
 
734
- // $list-group-bg: #fff;
735
- // $list-group-border-color: #ddd;
736
- // $list-group-border-width: $border-width;
737
- // $list-group-border-radius: $border-radius;
841
+ // $list-group-color: $body-color;
842
+ // $list-group-bg: $white;
843
+ // $list-group-border-color: rgba($black,.125);
844
+ // $list-group-border-width: $border-width;
845
+ // $list-group-border-radius: $border-radius;
846
+
847
+ // $list-group-item-padding-x: 1.25rem;
848
+ // $list-group-item-padding-y: .75rem;
738
849
 
739
- // $list-group-hover-bg: #f5f5f5;
740
- // $list-group-active-color: $component-active-color;
741
- // $list-group-active-bg: $component-active-bg;
742
- // $list-group-active-border: $list-group-active-bg;
743
- // $list-group-active-text-color: lighten($list-group-active-bg, 40%);
850
+ // $list-group-hover-bg: $gray-lightest;
851
+ // $list-group-active-color: $component-active-color;
852
+ // $list-group-active-bg: $component-active-bg;
853
+ // $list-group-active-border: $list-group-active-bg;
854
+ // $list-group-active-text-color: lighten($list-group-active-bg, 50%);
744
855
 
745
856
  // $list-group-disabled-color: $gray-light;
746
- // $list-group-disabled-bg: $gray-lighter;
857
+ // $list-group-disabled-bg: $list-group-bg;
747
858
  // $list-group-disabled-text-color: $list-group-disabled-color;
748
859
 
749
- // $list-group-link-color: #555;
750
- // $list-group-link-hover-color: $list-group-link-color;
751
- // $list-group-link-heading-color: #333;
860
+ // $list-group-link-color: $gray;
861
+ // $list-group-link-heading-color: $gray-dark;
862
+ // $list-group-link-hover-color: $list-group-link-color;
752
863
 
753
- // $list-group-item-padding-x: 1.25rem;
754
- // $list-group-item-padding-y: .75rem;
755
- // $list-group-item-heading-margin-bottom: 5px;
864
+ // $list-group-link-active-color: $list-group-color;
865
+ // $list-group-link-active-bg: $gray-lighter;
756
866
 
757
867
 
758
868
  // Image thumbnails
@@ -762,12 +872,14 @@
762
872
  // $thumbnail-border-width: $border-width;
763
873
  // $thumbnail-border-color: #ddd;
764
874
  // $thumbnail-border-radius: $border-radius;
765
- // $thumbnail-box-shadow: 0 1px 2px rgba(0,0,0,.075);
875
+ // $thumbnail-box-shadow: 0 1px 2px rgba($black,.075);
876
+ // $thumbnail-transition: all .2s ease-in-out;
766
877
 
767
878
 
768
879
  // Figures
769
880
 
770
881
  // $figure-caption-font-size: 90%;
882
+ // $figure-caption-color: $gray-light;
771
883
 
772
884
 
773
885
  // Breadcrumbs
@@ -782,42 +894,34 @@
782
894
  // $breadcrumb-divider: "/";
783
895
 
784
896
 
785
- // Media objects
786
-
787
- // $media-margin-top: 15px;
788
- // $media-heading-margin-bottom: 5px;
789
- // $media-alignment-padding-x: 10px;
790
-
791
-
792
897
  // Carousel
793
898
 
794
- // $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
795
-
796
- // $carousel-control-color: #fff;
899
+ // $carousel-control-color: $white;
797
900
  // $carousel-control-width: 15%;
798
- // $carousel-control-sm-up-size: 30px;
799
901
  // $carousel-control-opacity: .5;
800
- // $carousel-control-font-size: 20px;
801
-
802
- // $carousel-indicators-width: 60%;
803
902
 
804
- // $carousel-indicator-size: 10px;
805
- // $carousel-indicator-active-size: 12px;
806
- // $carousel-indicator-active-bg: #fff;
807
- // $carousel-indicator-border-color: #fff;
903
+ // $carousel-indicator-width: 30px;
904
+ // $carousel-indicator-height: 3px;
905
+ // $carousel-indicator-spacer: 3px;
906
+ // $carousel-indicator-active-bg: $white;
808
907
 
809
908
  // $carousel-caption-width: 70%;
810
- // $carousel-caption-sm-up-width: 60%;
811
- // $carousel-caption-color: #fff;
909
+ // $carousel-caption-color: $white;
910
+
911
+ // $carousel-control-icon-width: 20px;
912
+
913
+ // $carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23");
914
+ // $carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23");
812
915
 
813
- // $carousel-icon-width: 20px;
916
+ // $carousel-transition: transform .6s ease-in-out;
814
917
 
815
918
 
816
919
  // Close
817
920
 
818
- // $close-font-weight: bold;
819
- // $close-color: #000;
820
- // $close-text-shadow: 0 1px 0 #fff;
921
+ // $close-font-size: $font-size-base * 1.5;
922
+ // $close-font-weight: $font-weight-bold;
923
+ // $close-color: $black;
924
+ // $close-text-shadow: 0 1px 0 $white;
821
925
 
822
926
 
823
927
  // Code
@@ -826,12 +930,12 @@
826
930
  // $code-padding-x: .4rem;
827
931
  // $code-padding-y: .2rem;
828
932
  // $code-color: #bd4147;
829
- // $code-bg: #f7f7f9;
933
+ // $code-bg: $gray-lightest;
830
934
 
831
- // $kbd-color: #fff;
832
- // $kbd-bg: #333;
935
+ // $kbd-color: $white;
936
+ // $kbd-bg: $gray-dark;
833
937
 
834
- // $pre-bg: #f7f7f9;
938
+ // $pre-bg: $gray-lightest;
835
939
  // $pre-color: $gray-dark;
836
940
  // $pre-border-color: #ccc;
837
941
  // $pre-scrollable-max-height: 340px;