bootstrap 4.0.0.alpha3 → 4.0.0.alpha3.1

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 (95) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -2
  3. data/CHANGELOG.md +5 -0
  4. data/LICENSE +1 -1
  5. data/README.md +3 -3
  6. data/Rakefile +11 -8
  7. data/assets/javascripts/bootstrap.js +61 -48
  8. data/assets/javascripts/bootstrap.min.js +4 -4
  9. data/assets/javascripts/bootstrap/alert.js +2 -2
  10. data/assets/javascripts/bootstrap/button.js +4 -2
  11. data/assets/javascripts/bootstrap/carousel.js +10 -6
  12. data/assets/javascripts/bootstrap/collapse.js +2 -2
  13. data/assets/javascripts/bootstrap/dropdown.js +12 -8
  14. data/assets/javascripts/bootstrap/modal.js +9 -12
  15. data/assets/javascripts/bootstrap/popover.js +2 -2
  16. data/assets/javascripts/bootstrap/scrollspy.js +4 -3
  17. data/assets/javascripts/bootstrap/tab.js +2 -2
  18. data/assets/javascripts/bootstrap/tooltip.js +2 -2
  19. data/assets/javascripts/bootstrap/util.js +8 -3
  20. data/assets/stylesheets/_bootstrap-grid.scss +2 -41
  21. data/assets/stylesheets/_bootstrap-reboot.scss +1 -0
  22. data/assets/stylesheets/_bootstrap.scss +5 -7
  23. data/assets/stylesheets/bootstrap/_alert.scss +1 -10
  24. data/assets/stylesheets/bootstrap/_breadcrumb.scss +25 -10
  25. data/assets/stylesheets/bootstrap/_button-group.scss +22 -12
  26. data/assets/stylesheets/bootstrap/_buttons.scss +14 -11
  27. data/assets/stylesheets/bootstrap/_card.scss +59 -30
  28. data/assets/stylesheets/bootstrap/_carousel.scss +25 -24
  29. data/assets/stylesheets/bootstrap/_close.scss +3 -0
  30. data/assets/stylesheets/bootstrap/_code.scss +6 -7
  31. data/assets/stylesheets/bootstrap/_custom-forms.scss +144 -105
  32. data/assets/stylesheets/bootstrap/_custom.scss +4 -0
  33. data/assets/stylesheets/bootstrap/_dropdown.scss +10 -24
  34. data/assets/stylesheets/bootstrap/_forms.scss +97 -185
  35. data/assets/stylesheets/bootstrap/_grid.scss +9 -46
  36. data/assets/stylesheets/bootstrap/_images.scss +3 -4
  37. data/assets/stylesheets/bootstrap/_input-group.scss +25 -26
  38. data/assets/stylesheets/bootstrap/_list-group.scss +33 -50
  39. data/assets/stylesheets/bootstrap/_media.scss +4 -5
  40. data/assets/stylesheets/bootstrap/_mixins.scss +1 -2
  41. data/assets/stylesheets/bootstrap/_modal.scss +13 -27
  42. data/assets/stylesheets/bootstrap/_nav.scss +18 -23
  43. data/assets/stylesheets/bootstrap/_navbar.scss +54 -26
  44. data/assets/stylesheets/bootstrap/_normalize.scss +164 -168
  45. data/assets/stylesheets/bootstrap/_pagination.scss +1 -1
  46. data/assets/stylesheets/bootstrap/_popover.scss +12 -5
  47. data/assets/stylesheets/bootstrap/_print.scss +93 -65
  48. data/assets/stylesheets/bootstrap/_progress.scss +43 -54
  49. data/assets/stylesheets/bootstrap/_reboot.scss +59 -13
  50. data/assets/stylesheets/bootstrap/_tables.scss +32 -27
  51. data/assets/stylesheets/bootstrap/_tags.scss +77 -0
  52. data/assets/stylesheets/bootstrap/_tooltip.scss +7 -5
  53. data/assets/stylesheets/bootstrap/_type.scss +22 -29
  54. data/assets/stylesheets/bootstrap/_utilities.scss +9 -95
  55. data/assets/stylesheets/bootstrap/_variables.scss +302 -139
  56. data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +1 -1
  57. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +22 -9
  58. data/assets/stylesheets/bootstrap/mixins/_cards.scss +8 -2
  59. data/assets/stylesheets/bootstrap/mixins/_forms.scss +7 -4
  60. data/assets/stylesheets/bootstrap/mixins/_gradients.scss +4 -4
  61. data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +37 -11
  62. data/assets/stylesheets/bootstrap/mixins/_grid.scss +18 -9
  63. data/assets/stylesheets/bootstrap/mixins/_hover.scss +10 -9
  64. data/assets/stylesheets/bootstrap/mixins/_pagination.scss +2 -3
  65. data/assets/stylesheets/bootstrap/mixins/_progress.scss +5 -0
  66. data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +2 -3
  67. data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +1 -1
  68. data/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +3 -3
  69. data/assets/stylesheets/bootstrap/mixins/{_label.scss → _tag.scss} +2 -2
  70. data/assets/stylesheets/bootstrap/mixins/_text-hide.scss +1 -1
  71. data/assets/stylesheets/bootstrap/{_utilities-background.scss → utilities/_background.scss} +1 -4
  72. data/assets/stylesheets/bootstrap/utilities/_clearfix.scss +3 -0
  73. data/assets/stylesheets/bootstrap/utilities/_display.scss +13 -0
  74. data/assets/stylesheets/bootstrap/utilities/_flex.scss +37 -0
  75. data/assets/stylesheets/bootstrap/utilities/_pulls.scss +13 -0
  76. data/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +11 -0
  77. data/assets/stylesheets/bootstrap/{_utilities-spacing.scss → utilities/_spacing.scss} +4 -0
  78. data/assets/stylesheets/bootstrap/utilities/_text.scss +51 -0
  79. data/assets/stylesheets/bootstrap/{_utilities-responsive.scss → utilities/_visibility.scss} +9 -1
  80. data/bootstrap.gemspec +1 -1
  81. data/lib/bootstrap.rb +6 -6
  82. data/lib/bootstrap/engine.rb +2 -0
  83. data/lib/bootstrap/version.rb +2 -2
  84. data/tasks/updater/network.rb +3 -1
  85. data/templates/project/_bootstrap-variables.scss +303 -140
  86. data/test/dummy_rails/config/boot.rb +1 -1
  87. data/test/gemfiles/rails_4_2.gemfile +4 -4
  88. data/test/gemfiles/rails_5_0.gemfile +12 -0
  89. data/test/rails_test.rb +1 -1
  90. data/test/support/dummy_rails_integration.rb +2 -2
  91. metadata +19 -14
  92. data/assets/stylesheets/bootstrap/_labels.scss +0 -77
  93. data/assets/stylesheets/bootstrap/_pager.scss +0 -57
  94. data/assets/stylesheets/bootstrap/mixins/_center-block.scss +0 -7
  95. data/test/gemfiles/rails_head.gemfile +0 -20
@@ -10,7 +10,6 @@
10
10
  th,
11
11
  td {
12
12
  padding: $table-cell-padding;
13
- line-height: $line-height;
14
13
  vertical-align: top;
15
14
  border-top: $table-border-width solid $table-border-color;
16
15
  }
@@ -100,24 +99,9 @@
100
99
  @include table-row-variant(danger, $state-danger-bg);
101
100
 
102
101
 
103
- // Responsive tables
102
+ // Inverse styles
104
103
  //
105
- // Wrap your tables in `.table-responsive` and we'll make them mobile friendly
106
- // by enabling horizontal scrolling. Only applies <768px. Everything above that
107
- // will display normally.
108
-
109
- .table-responsive {
110
- display: block;
111
- width: 100%;
112
- min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
113
- overflow-x: auto;
114
-
115
- // TODO: find out if we need this still.
116
- //
117
- // border: $table-border-width solid $table-border-color;
118
- // -ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057
119
- }
120
-
104
+ // Same table markup, but inverted color scheme—dark background and light text.
121
105
 
122
106
  .thead-inverse {
123
107
  th {
@@ -125,6 +109,7 @@
125
109
  background-color: $gray-dark;
126
110
  }
127
111
  }
112
+
128
113
  .thead-default {
129
114
  th {
130
115
  color: $gray;
@@ -136,15 +121,35 @@
136
121
  color: $gray-lighter;
137
122
  background-color: $gray-dark;
138
123
 
139
- &.table-bordered {
140
- border: 0;
141
- }
142
-
143
124
  th,
144
125
  td,
145
126
  thead th {
146
127
  border-color: $gray;
147
128
  }
129
+
130
+ &.table-bordered {
131
+ border: 0;
132
+ }
133
+ }
134
+
135
+
136
+
137
+ // Responsive tables
138
+ //
139
+ // Wrap your tables in `.table-responsive` and we'll make them mobile friendly
140
+ // by enabling horizontal scrolling. Only applies <768px. Everything above that
141
+ // will display normally.
142
+
143
+ .table-responsive {
144
+ display: block;
145
+ width: 100%;
146
+ min-height: .01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)
147
+ overflow-x: auto;
148
+
149
+ // TODO: find out if we need this still.
150
+ //
151
+ // border: $table-border-width solid $table-border-color;
152
+ // -ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057
148
153
  }
149
154
 
150
155
 
@@ -172,15 +177,14 @@
172
177
  tbody,
173
178
  tfoot {
174
179
  &:last-child {
175
- tr:last-child {
176
- th,
177
- td {
178
- border-bottom: $table-border-width solid $table-border-color;
179
- }
180
+ tr:last-child th,
181
+ tr:last-child td {
182
+ border-bottom: $table-border-width solid $table-border-color;
180
183
  }
181
184
  }
182
185
  }
183
186
 
187
+ // scss-lint:disable ImportantRule
184
188
  tr {
185
189
  float: left;
186
190
 
@@ -190,4 +194,5 @@
190
194
  border: $table-border-width solid $table-border-color;
191
195
  }
192
196
  }
197
+ // scss-lint:enable ImportantRule
193
198
  }
@@ -0,0 +1,77 @@
1
+ // Base class
2
+ //
3
+ // Requires one of the contextual, color modifier classes for `color` and
4
+ // `background-color`.
5
+
6
+ .tag {
7
+ display: inline-block;
8
+ padding: $tag-padding-y $tag-padding-x;
9
+ font-size: $tag-font-size;
10
+ font-weight: $tag-font-weight;
11
+ line-height: 1;
12
+ color: $tag-color;
13
+ text-align: center;
14
+ white-space: nowrap;
15
+ vertical-align: baseline;
16
+ @include border-radius();
17
+
18
+ // Empty tags collapse automatically
19
+ &:empty {
20
+ display: none;
21
+ }
22
+ }
23
+
24
+ // Quick fix for tags in buttons
25
+ .btn .tag {
26
+ position: relative;
27
+ top: -1px;
28
+ }
29
+
30
+ // scss-lint:disable QualifyingElement
31
+ // Add hover effects, but only for links
32
+ a.tag {
33
+ @include hover-focus {
34
+ color: $tag-link-hover-color;
35
+ text-decoration: none;
36
+ cursor: pointer;
37
+ }
38
+ }
39
+ // scss-lint:enable QualifyingElement
40
+
41
+ // Pill tags
42
+ //
43
+ // Make them extra rounded with a modifier to replace v3's badges.
44
+
45
+ .tag-pill {
46
+ padding-right: $tag-pill-padding-x;
47
+ padding-left: $tag-pill-padding-x;
48
+ @include border-radius($tag-pill-border-radius);
49
+ }
50
+
51
+ // Colors
52
+ //
53
+ // Contextual variations (linked tags get darker on :hover).
54
+
55
+ .tag-default {
56
+ @include tag-variant($tag-default-bg);
57
+ }
58
+
59
+ .tag-primary {
60
+ @include tag-variant($tag-primary-bg);
61
+ }
62
+
63
+ .tag-success {
64
+ @include tag-variant($tag-success-bg);
65
+ }
66
+
67
+ .tag-info {
68
+ @include tag-variant($tag-info-bg);
69
+ }
70
+
71
+ .tag-warning {
72
+ @include tag-variant($tag-warning-bg);
73
+ }
74
+
75
+ .tag-danger {
76
+ @include tag-variant($tag-danger-bg);
77
+ }
@@ -7,6 +7,8 @@
7
7
  // So reset our font and text properties to avoid inheriting weird values.
8
8
  @include reset-text();
9
9
  font-size: $font-size-sm;
10
+ // Allow breaking very long words so they don't overflow the tooltip's bounds
11
+ word-wrap: break-word;
10
12
  opacity: 0;
11
13
 
12
14
  &.in { opacity: $tooltip-opacity; }
@@ -14,7 +16,7 @@
14
16
  &.tooltip-top,
15
17
  &.bs-tether-element-attached-bottom {
16
18
  padding: $tooltip-arrow-width 0;
17
- margin-top: -3px;
19
+ margin-top: -$tooltip-margin;
18
20
 
19
21
  .tooltip-arrow {
20
22
  bottom: 0;
@@ -27,7 +29,7 @@
27
29
  &.tooltip-right,
28
30
  &.bs-tether-element-attached-left {
29
31
  padding: 0 $tooltip-arrow-width;
30
- margin-left: 3px;
32
+ margin-left: $tooltip-margin;
31
33
 
32
34
  .tooltip-arrow {
33
35
  top: 50%;
@@ -40,7 +42,7 @@
40
42
  &.tooltip-bottom,
41
43
  &.bs-tether-element-attached-top {
42
44
  padding: $tooltip-arrow-width 0;
43
- margin-top: 3px;
45
+ margin-top: $tooltip-margin;
44
46
 
45
47
  .tooltip-arrow {
46
48
  top: 0;
@@ -53,7 +55,7 @@
53
55
  &.tooltip-left,
54
56
  &.bs-tether-element-attached-right {
55
57
  padding: 0 $tooltip-arrow-width;
56
- margin-left: -3px;
58
+ margin-left: -$tooltip-margin;
57
59
 
58
60
  .tooltip-arrow {
59
61
  top: 50%;
@@ -68,7 +70,7 @@
68
70
  // Wrapper for the tooltip content
69
71
  .tooltip-inner {
70
72
  max-width: $tooltip-max-width;
71
- padding: 3px 8px;
73
+ padding: $tooltip-padding-y $tooltip-padding-x;
72
74
  color: $tooltip-color;
73
75
  text-align: center;
74
76
  background-color: $tooltip-bg;
@@ -11,22 +11,12 @@ h1, h2, h3, h4, h5, h6,
11
11
  color: $headings-color;
12
12
  }
13
13
 
14
- h1 { font-size: $font-size-h1; }
15
- h2 { font-size: $font-size-h2; }
16
- h3 { font-size: $font-size-h3; }
17
- h4 { font-size: $font-size-h4; }
18
- h5 { font-size: $font-size-h5; }
19
- h6 { font-size: $font-size-h6; }
20
-
21
- // These declarations are kept separate from and placed after
22
- // the previous tag-based declarations so that the classes beat the tags in
23
- // the CSS cascade, and thus <h1 class="h2"> will be styled like an h2.
24
- .h1 { font-size: $font-size-h1; }
25
- .h2 { font-size: $font-size-h2; }
26
- .h3 { font-size: $font-size-h3; }
27
- .h4 { font-size: $font-size-h4; }
28
- .h5 { font-size: $font-size-h5; }
29
- .h6 { font-size: $font-size-h6; }
14
+ h1, .h1 { font-size: $font-size-h1; }
15
+ h2, .h2 { font-size: $font-size-h2; }
16
+ h3, .h3 { font-size: $font-size-h3; }
17
+ h4, .h4 { font-size: $font-size-h4; }
18
+ h5, .h5 { font-size: $font-size-h5; }
19
+ h6, .h6 { font-size: $font-size-h6; }
30
20
 
31
21
  .lead {
32
22
  font-size: $lead-font-size;
@@ -70,14 +60,14 @@ hr {
70
60
 
71
61
  small,
72
62
  .small {
73
- font-size: 80%;
63
+ font-size: $small-font-size;
74
64
  font-weight: normal;
75
65
  }
76
66
 
77
67
  mark,
78
68
  .mark {
79
- padding: .2em;
80
- background-color: $state-warning-bg;
69
+ padding: $mark-padding;
70
+ background-color: $mark-bg;
81
71
  }
82
72
 
83
73
 
@@ -101,13 +91,6 @@ mark,
101
91
  }
102
92
  }
103
93
 
104
- // Horizontal description lists w/ grid classes
105
- .dl-horizontal {
106
- margin-right: -$grid-gutter-width;
107
- margin-left: -$grid-gutter-width;
108
- @include clearfix;
109
- }
110
-
111
94
 
112
95
  //
113
96
  // Misc
@@ -124,13 +107,12 @@ mark,
124
107
  padding: ($spacer / 2) $spacer;
125
108
  margin-bottom: $spacer;
126
109
  font-size: $blockquote-font-size;
127
- border-left: .25rem solid $blockquote-border-color;
110
+ border-left: $blockquote-border-width solid $blockquote-border-color;
128
111
  }
129
112
 
130
113
  .blockquote-footer {
131
114
  display: block;
132
115
  font-size: 80%; // back to default font-size
133
- line-height: $line-height;
134
116
  color: $blockquote-small-color;
135
117
 
136
118
  &::before {
@@ -143,7 +125,7 @@ mark,
143
125
  padding-right: $spacer;
144
126
  padding-left: 0;
145
127
  text-align: right;
146
- border-right: .25rem solid $blockquote-border-color;
128
+ border-right: $blockquote-border-width solid $blockquote-border-color;
147
129
  border-left: 0;
148
130
  }
149
131
 
@@ -155,3 +137,14 @@ mark,
155
137
  content: "\00A0 \2014"; // nbsp, em dash
156
138
  }
157
139
  }
140
+
141
+ @if not $enable-flex {
142
+ // Clean up some horizontal `<dl>`s built with grids
143
+ // scss-lint:disable QualifyingElement
144
+ dl.row {
145
+ > dd + dt {
146
+ clear: left;
147
+ }
148
+ }
149
+ // scss-lint:enable QualifyingElement
150
+ }
@@ -1,95 +1,9 @@
1
- //
2
- // Floats
3
- //
4
-
5
- .clearfix {
6
- @include clearfix();
7
- }
8
-
9
- .center-block {
10
- @include center-block();
11
- }
12
-
13
- @each $breakpoint in map-keys($grid-breakpoints) {
14
- @include media-breakpoint-up($breakpoint) {
15
- .pull-#{$breakpoint}-left {
16
- @include pull-left();
17
- }
18
- .pull-#{$breakpoint}-right {
19
- @include pull-right();
20
- }
21
- .pull-#{$breakpoint}-none {
22
- float: none !important;
23
- }
24
- }
25
- }
26
-
27
-
28
- //
29
- // Screenreaders
30
- //
31
-
32
- .sr-only {
33
- @include sr-only();
34
- }
35
-
36
- .sr-only-focusable {
37
- @include sr-only-focusable();
38
- }
39
-
40
- .invisible {
41
- visibility: hidden !important;
42
- }
43
-
44
- .text-hide {
45
- @include text-hide();
46
- }
47
-
48
-
49
- //
50
- // Text
51
- //
52
-
53
- // Alignment
54
-
55
- .text-justify { text-align: justify !important; }
56
- .text-nowrap { white-space: nowrap !important; }
57
- .text-truncate { @include text-truncate; }
58
-
59
- // Responsive alignment
60
-
61
- @each $breakpoint in map-keys($grid-breakpoints) {
62
- @include media-breakpoint-up($breakpoint) {
63
- .text-#{$breakpoint}-left { text-align: left !important; }
64
- .text-#{$breakpoint}-right { text-align: right !important; }
65
- .text-#{$breakpoint}-center { text-align: center !important; }
66
- }
67
- }
68
-
69
- // Transformation
70
-
71
- .text-lowercase { text-transform: lowercase !important; }
72
- .text-uppercase { text-transform: uppercase !important; }
73
- .text-capitalize { text-transform: capitalize !important; }
74
-
75
- // Weight and italics
76
-
77
- .font-weight-normal { font-weight: normal; }
78
- .font-weight-bold { font-weight: bold; }
79
- .font-italic { font-style: italic; }
80
-
81
- // Contextual colors
82
-
83
- .text-muted {
84
- color: $text-muted;
85
- }
86
-
87
- @include text-emphasis-variant('.text-primary', $brand-primary);
88
-
89
- @include text-emphasis-variant('.text-success', $brand-success);
90
-
91
- @include text-emphasis-variant('.text-info', $brand-info);
92
-
93
- @include text-emphasis-variant('.text-warning', $brand-warning);
94
-
95
- @include text-emphasis-variant('.text-danger', $brand-danger);
1
+ @import "utilities/background";
2
+ @import "utilities/clearfix";
3
+ @import "utilities/display";
4
+ @import "utilities/flex";
5
+ @import "utilities/pulls";
6
+ @import "utilities/screenreaders";
7
+ @import "utilities/spacing";
8
+ @import "utilities/text";
9
+ @import "utilities/visibility";
@@ -17,6 +17,22 @@
17
17
  // Fonts
18
18
  // Components
19
19
 
20
+ @mixin _assert-ascending($map, $map-name) {
21
+ $prev-key: null;
22
+ $prev-num: null;
23
+ @each $key, $num in $map {
24
+ @if $prev-num == null {
25
+ // Do nothing
26
+ } @else if not comparable($prev-num, $num) {
27
+ @warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
28
+ } @else if $prev-num >= $num {
29
+ @warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
30
+ }
31
+ $prev-key: $key;
32
+ $prev-num: $num;
33
+ }
34
+ }
35
+
20
36
  // General variable structure
21
37
  //
22
38
  // Variable format should follow the `$component-modifier-state-property` order.
@@ -37,6 +53,7 @@ $brand-success: #5cb85c !default;
37
53
  $brand-info: #5bc0de !default;
38
54
  $brand-warning: #f0ad4e !default;
39
55
  $brand-danger: #d9534f !default;
56
+ $brand-inverse: $gray-dark !default;
40
57
 
41
58
 
42
59
  // Options
@@ -50,72 +67,70 @@ $enable-gradients: false !default;
50
67
  $enable-transitions: false !default;
51
68
  $enable-hover-media-query: false !default;
52
69
  $enable-grid-classes: true !default;
70
+ $enable-print-styles: true !default;
53
71
 
54
72
 
55
73
  // Spacing
56
74
  //
57
75
  // Control the default styling of most Bootstrap elements by modifying these
58
76
  // variables. Mostly focused on spacing.
77
+ // You can add more entries to the $spacers map, should you need more variation.
59
78
 
60
- $spacer: 1rem !default;
61
- $spacer-x: $spacer !default;
62
- $spacer-y: $spacer !default;
79
+ $spacer: 1rem !default;
80
+ $spacer-x: $spacer !default;
81
+ $spacer-y: $spacer !default;
63
82
  $spacers: (
64
83
  0: (
65
- x: 0,
66
- y: 0
84
+ x: 0,
85
+ y: 0
67
86
  ),
68
87
  1: (
69
- x: $spacer-x,
70
- y: $spacer-y
88
+ x: $spacer-x,
89
+ y: $spacer-y
71
90
  ),
72
91
  2: (
73
- x: ($spacer-x * 1.5),
74
- y: ($spacer-y * 1.5)
92
+ x: ($spacer-x * 1.5),
93
+ y: ($spacer-y * 1.5)
75
94
  ),
76
95
  3: (
77
- x: ($spacer-x * 3),
78
- y: ($spacer-y * 3)
96
+ x: ($spacer-x * 3),
97
+ y: ($spacer-y * 3)
79
98
  )
80
99
  ) !default;
81
- $border-width: 1px !default;
100
+ $border-width: 1px !default;
82
101
 
83
102
 
84
103
  // Body
85
104
  //
86
105
  // Settings for the `<body>` element.
87
106
 
88
- $body-bg: #fff !default;
89
- $body-color: $gray-dark !default;
107
+ $body-bg: #fff !default;
108
+ $body-color: $gray-dark !default;
90
109
 
91
110
 
92
111
  // Links
93
112
  //
94
113
  // Style anchor elements.
95
114
 
96
- $link-color: $brand-primary !default;
97
- $link-decoration: none !default;
98
- $link-hover-color: darken($link-color, 15%) !default;
99
- $link-hover-decoration: underline !default;
115
+ $link-color: $brand-primary !default;
116
+ $link-decoration: none !default;
117
+ $link-hover-color: darken($link-color, 15%) !default;
118
+ $link-hover-decoration: underline !default;
100
119
 
101
120
 
102
121
  // Grid breakpoints
103
122
  //
104
- // Define the minimum and maximum dimensions at which your layout will change,
123
+ // Define the minimum dimensions at which your layout will change,
105
124
  // adapting to different screen sizes, for use in media queries.
106
125
 
107
126
  $grid-breakpoints: (
108
- // Extra small screen / phone
109
127
  xs: 0,
110
- // Small screen / phone
111
128
  sm: 544px,
112
- // Medium screen / tablet
113
129
  md: 768px,
114
- // Large screen / desktop
115
130
  lg: 992px,
116
- // Extra large screen / wide desktop
117
131
  xl: 1200px
118
132
  ) !default;
133
+ @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
119
134
 
120
135
 
121
136
  // Grid containers
@@ -128,77 +143,84 @@ $container-max-widths: (
128
143
  lg: 940px,
129
144
  xl: 1140px
130
145
  ) !default;
146
+ @include _assert-ascending($container-max-widths, "$container-max-widths");
131
147
 
132
148
 
133
149
  // Grid columns
134
150
  //
135
151
  // Set the number of columns and specify the width of the gutters.
136
152
 
137
- $grid-columns: 12 !default;
138
- $grid-gutter-width: 1.875rem !default; // 30px
153
+ $grid-columns: 12 !default;
154
+ $grid-gutter-width: 30px !default;
139
155
 
140
156
 
141
157
  // Typography
142
158
  //
143
159
  // Font, line-height, and color for body text, headings, and more.
144
160
 
145
- $font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
146
- $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
147
- $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
148
- $font-family-base: $font-family-sans-serif !default;
161
+ $font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default;
162
+ $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
163
+ $font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
164
+ $font-family-base: $font-family-sans-serif !default;
149
165
 
150
166
  // Pixel value used to responsively scale all typography. Applied to the `<html>` element.
151
- $font-size-root: 16px !default;
167
+ $font-size-root: 16px !default;
168
+
169
+ $font-size-base: 1rem !default;
170
+ $font-size-lg: 1.25rem !default;
171
+ $font-size-sm: .875rem !default;
172
+ $font-size-xs: .75rem !default;
173
+
174
+ $line-height-base: 1.5 !default;
152
175
 
153
- $font-size-base: 1rem !default;
154
- $font-size-lg: 1.25rem !default;
155
- $font-size-sm: .875rem !default;
156
- $font-size-xs: .75rem !default;
176
+ $font-size-h1: 2.5rem !default;
177
+ $font-size-h2: 2rem !default;
178
+ $font-size-h3: 1.75rem !default;
179
+ $font-size-h4: 1.5rem !default;
180
+ $font-size-h5: 1.25rem !default;
181
+ $font-size-h6: 1rem !default;
157
182
 
158
- $font-size-h1: 2.5rem !default;
159
- $font-size-h2: 2rem !default;
160
- $font-size-h3: 1.75rem !default;
161
- $font-size-h4: 1.5rem !default;
162
- $font-size-h5: 1.25rem !default;
163
- $font-size-h6: 1rem !default;
183
+ $display1-size: 6rem !default;
184
+ $display2-size: 5.5rem !default;
185
+ $display3-size: 4.5rem !default;
186
+ $display4-size: 3.5rem !default;
164
187
 
165
- $display1-size: 6rem !default;
166
- $display2-size: 5.5rem !default;
167
- $display3-size: 4.5rem !default;
168
- $display4-size: 3.5rem !default;
188
+ $display1-weight: 300 !default;
189
+ $display2-weight: 300 !default;
190
+ $display3-weight: 300 !default;
191
+ $display4-weight: 300 !default;
169
192
 
170
- $display1-weight: 300 !default;
171
- $display2-weight: 300 !default;
172
- $display3-weight: 300 !default;
173
- $display4-weight: 300 !default;
193
+ $headings-margin-bottom: ($spacer / 2) !default;
194
+ $headings-font-family: inherit !default;
195
+ $headings-font-weight: 500 !default;
196
+ $headings-line-height: 1.1 !default;
197
+ $headings-color: inherit !default;
174
198
 
175
- $line-height: 1.5 !default;
199
+ $lead-font-size: 1.25rem !default;
200
+ $lead-font-weight: 300 !default;
176
201
 
177
- $headings-margin-bottom: ($spacer / 2) !default;
178
- $headings-font-family: inherit !default;
179
- $headings-font-weight: 500 !default;
180
- $headings-line-height: 1.1 !default;
181
- $headings-color: inherit !default;
202
+ $small-font-size: 80% !default;
182
203
 
183
- $lead-font-size: 1.25rem !default;
184
- $lead-font-weight: 300 !default;
204
+ $text-muted: $gray-light !default;
185
205
 
186
- $text-muted: $gray-light !default;
206
+ $abbr-border-color: $gray-light !default;
187
207
 
188
- $abbr-border-color: $gray-light !default;
208
+ $blockquote-small-color: $gray-light !default;
209
+ $blockquote-font-size: ($font-size-base * 1.25) !default;
210
+ $blockquote-border-color: $gray-lighter !default;
211
+ $blockquote-border-width: .25rem !default;
189
212
 
190
- $blockquote-small-color: $gray-light !default;
191
- $blockquote-font-size: ($font-size-base * 1.25) !default;
192
- $blockquote-border-color: $gray-lighter !default;
213
+ $hr-border-color: rgba(0,0,0,.1) !default;
214
+ $hr-border-width: $border-width !default;
193
215
 
194
- $hr-border-color: rgba(0,0,0,.1) !default;
195
- $hr-border-width: $border-width !default;
216
+ $mark-padding: .2em !default;
196
217
 
197
- $dt-font-weight: bold !default;
218
+ $dt-font-weight: bold !default;
198
219
 
199
- $nested-kbd-font-weight: bold !default;
220
+ $kbd-box-shadow: inset 0 -.1rem 0 rgba(0,0,0,.25) !default;
221
+ $nested-kbd-font-weight: bold !default;
200
222
 
201
- $list-inline-padding: 5px !default;
223
+ $list-inline-padding: 5px !default;
202
224
 
203
225
 
204
226
  // Components
@@ -227,8 +249,8 @@ $table-cell-padding: .75rem !default;
227
249
  $table-sm-cell-padding: .3rem !default;
228
250
 
229
251
  $table-bg: transparent !default;
230
- $table-bg-accent: #f9f9f9 !default;
231
- $table-bg-hover: #f5f5f5 !default;
252
+ $table-bg-accent: rgba(0,0,0,.05) !default;
253
+ $table-bg-hover: rgba(0,0,0,.075) !default;
232
254
  $table-bg-active: $table-bg-hover !default;
233
255
 
234
256
  $table-border-width: $border-width !default;
@@ -240,8 +262,11 @@ $table-border-color: $gray-lighter !default;
240
262
  // For each of Bootstrap's buttons, define text, background and border color.
241
263
 
242
264
  $btn-padding-x: 1rem !default;
243
- $btn-padding-y: .375rem !default;
265
+ $btn-padding-y: .5rem !default;
266
+ $btn-line-height: 1.25 !default;
244
267
  $btn-font-weight: normal !default;
268
+ $btn-box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075) !default;
269
+ $btn-active-box-shadow: inset 0 3px 5px rgba(0,0,0,.125) !default;
245
270
 
246
271
  $btn-primary-color: #fff !default;
247
272
  $btn-primary-bg: $brand-primary !default;
@@ -269,12 +294,15 @@ $btn-danger-border: $btn-danger-bg !default;
269
294
 
270
295
  $btn-link-disabled-color: $gray-light !default;
271
296
 
272
- $btn-padding-x-sm: .75rem !default;
297
+ $btn-padding-x-sm: .5rem !default;
273
298
  $btn-padding-y-sm: .25rem !default;
274
299
 
275
- $btn-padding-x-lg: 1.25rem !default;
300
+ $btn-padding-x-lg: 1.5rem !default;
276
301
  $btn-padding-y-lg: .75rem !default;
277
302
 
303
+ $btn-block-spacing-y: .5rem !default;
304
+ $btn-toolbar-margin: .5rem !default;
305
+
278
306
  // Allows for customizing button radius independently from global border radius
279
307
  $btn-border-radius: $border-radius !default;
280
308
  $btn-border-radius-lg: $border-radius-lg !default;
@@ -284,13 +312,14 @@ $btn-border-radius-sm: $border-radius-sm !default;
284
312
  // Forms
285
313
 
286
314
  $input-padding-x: .75rem !default;
287
- $input-padding-y: .375rem !default;
315
+ $input-padding-y: .5rem !default;
316
+ $input-line-height: 1.25 !default;
288
317
 
289
318
  $input-bg: #fff !default;
290
319
  $input-bg-disabled: $gray-lighter !default;
291
320
 
292
321
  $input-color: $gray !default;
293
- $input-border-color: #ccc !default;
322
+ $input-border-color: rgba(0,0,0,.15) !default;
294
323
  $input-btn-border-width: $border-width !default; // For form controls and buttons
295
324
  $input-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !default;
296
325
 
@@ -298,18 +327,20 @@ $input-border-radius: $border-radius !default;
298
327
  $input-border-radius-lg: $border-radius-lg !default;
299
328
  $input-border-radius-sm: $border-radius-sm !default;
300
329
 
330
+ $input-bg-focus: $input-bg;
301
331
  $input-border-focus: #66afe9 !default;
302
332
  $input-box-shadow-focus: rgba(102,175,233,.6) !default;
333
+ $input-color-focus: $input-color;
303
334
 
304
335
  $input-color-placeholder: #999 !default;
305
336
 
306
- $input-padding-x-sm: .75rem !default;
307
- $input-padding-y-sm: .275rem !default;
337
+ $input-padding-x-sm: .5rem !default;
338
+ $input-padding-y-sm: .25rem !default;
308
339
 
309
- $input-padding-x-lg: 1.25rem !default;
340
+ $input-padding-x-lg: 1.5rem !default;
310
341
  $input-padding-y-lg: .75rem !default;
311
342
 
312
- $input-height: (($font-size-base * $line-height) + ($input-padding-y * 2)) !default;
343
+ $input-height: (($font-size-base * $line-height-base) + ($input-padding-y * 2)) !default;
313
344
  $input-height-lg: (($font-size-lg * $line-height-lg) + ($input-padding-y-lg * 2)) !default;
314
345
  $input-height-sm: (($font-size-sm * $line-height-sm) + ($input-padding-y-sm * 2)) !default;
315
346
 
@@ -320,20 +351,100 @@ $input-group-addon-border-color: $input-border-color !default;
320
351
 
321
352
  $cursor-disabled: not-allowed !default;
322
353
 
354
+ $custom-control-gutter: 1.5rem !default;
355
+ $custom-control-spacer-x: 1rem !default;
356
+ $custom-control-spacer-y: .25rem !default;
357
+
358
+ $custom-control-indicator-size: 1rem !default;
359
+ $custom-control-indicator-bg: #ddd !default;
360
+ $custom-control-indicator-bg-size: 50% 50% !default;
361
+ $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba(0,0,0,.1) !default;
362
+
363
+ $custom-control-disabled-cursor: $cursor-disabled !default;
364
+ $custom-control-disabled-indicator-bg: #eee !default;
365
+ $custom-control-disabled-description-color: #767676 !default;
366
+
367
+ $custom-control-checked-indicator-color: #fff !default;
368
+ $custom-control-checked-indicator-bg: #0074d9 !default;
369
+ $custom-control-checked-indicator-box-shadow: none !default;
370
+
371
+ $custom-control-focus-indicator-box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9 !default;
372
+
373
+ $custom-control-active-indicator-color: #fff !default;
374
+ $custom-control-active-indicator-bg: #84c6ff !default;
375
+ $custom-control-active-indicator-box-shadow: none !default;
376
+
377
+ $custom-checkbox-radius: $border-radius !default;
378
+ $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='%23fff' 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") !default;
379
+ $custom-checkbox-indeterminate-bg: #0074d9 !default;
380
+ $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='%23fff' d='M0 2h4'/%3E%3C/svg%3E") !default;
381
+ $custom-checkbox-indeterminate-box-shadow: none !default;
382
+
383
+ $custom-radio-radius: 50% !default;
384
+ $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='%23fff'/%3E%3C/svg%3E") !default;
385
+
386
+ $custom-select-padding-x: .75rem !default;
387
+ $custom-select-padding-y: .375rem !default;
388
+ $custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
389
+ $custom-select-color: $input-color !default;
390
+ $custom-select-disabled-color: $gray-light !default;
391
+ $custom-select-bg: #fff !default;
392
+ $custom-select-disabled-bg: $gray-lighter !default;
393
+ $custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
394
+ $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='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") !default;
395
+ $custom-select-border-width: $input-btn-border-width !default;
396
+ $custom-select-border-color: $input-border-color !default;
397
+ $custom-select-border-radius: $border-radius !default;
398
+
399
+ $custom-select-focus-border-color: #51a7e8 !default;
400
+ $custom-select-focus-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075), 0 0 5px rgba(81, 167, 232, .5) !default;
401
+
402
+ $custom-select-sm-padding-y: .2rem !default;
403
+ $custom-select-sm-font-size: 75% !default;
404
+
405
+ $custom-file-height: 2.5rem !default;
406
+ $custom-file-width: 14rem !default;
407
+ $custom-file-focus-box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9 !default;
408
+
409
+ $custom-file-padding-x: .5rem !default;
410
+ $custom-file-padding-y: 1rem !default;
411
+ $custom-file-line-height: 1.5 !default;
412
+ $custom-file-color: #555 !default;
413
+ $custom-file-bg: #fff !default;
414
+ $custom-file-border-width: $border-width !default;
415
+ $custom-file-border-color: #ddd !default;
416
+ $custom-file-border-radius: $border-radius !default;
417
+ $custom-file-box-shadow: inset 0 .2rem .4rem rgba(0,0,0,.05) !default;
418
+ $custom-file-button-color: $custom-file-color !default;
419
+ $custom-file-button-bg: #eee !default;
420
+ $custom-file-text: (
421
+ placeholder: (
422
+ en: "Choose file..."
423
+ ),
424
+ button-label: (
425
+ en: "Browse"
426
+ )
427
+ ) !default;
428
+
429
+
323
430
  // Form validation icons
324
- $form-icon-success: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjNWNiODVjIiBkPSJNMjMzLjggNjEwYy0xMy4zIDAtMjYtNi0zNC0xNi44TDkwLjUgNDQ4LjhDNzYuMyA0MzAgODAgNDAzLjMgOTguOCAzODljMTguOC0xNC4yIDQ1LjUtMTAuNCA1OS44IDguNGw3MiA5NUw0NTEuMyAyNDJjMTIuNS0yMCAzOC44LTI2LjIgNTguOC0xMy43IDIwIDEyLjQgMjYgMzguNyAxMy43IDU4LjhMMjcwIDU5MGMtNy40IDEyLTIwLjIgMTkuNC0zNC4zIDIwaC0yeiIvPjwvc3ZnPg==" !default;
325
- $form-icon-warning: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjZjBhZDRlIiBkPSJNNjAzIDY0MC4ybC0yNzguNS01MDljLTMuOC02LjYtMTAuOC0xMC42LTE4LjUtMTAuNnMtMTQuNyA0LTE4LjUgMTAuNkw5IDY0MC4yYy0zLjcgNi41LTMuNiAxNC40LjIgMjAuOCAzLjggNi41IDEwLjggMTAuNCAxOC4zIDEwLjRoNTU3YzcuNiAwIDE0LjYtNCAxOC40LTEwLjQgMy41LTYuNCAzLjYtMTQuNCAwLTIwLjh6bS0yNjYuNC0zMGgtNjEuMlY1NDloNjEuMnY2MS4yem0wLTEwN2gtNjEuMlYzMDRoNjEuMnYxOTl6Ii8+PC9zdmc+" !default;
326
- $form-icon-danger: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjZDk1MzRmIiBkPSJNNDQ3IDU0NC40Yy0xNC40IDE0LjQtMzcuNiAxNC40LTUyIDBsLTg5LTkyLjctODkgOTIuN2MtMTQuNSAxNC40LTM3LjcgMTQuNC01MiAwLTE0LjQtMTQuNC0xNC40LTM3LjYgMC01Mmw5Mi40LTk2LjMtOTIuNC05Ni4zYy0xNC40LTE0LjQtMTQuNC0zNy42IDAtNTJzMzcuNi0xNC4zIDUyIDBsODkgOTIuOCA4OS4yLTkyLjdjMTQuNC0xNC40IDM3LjYtMTQuNCA1MiAwIDE0LjMgMTQuNCAxNC4zIDM3LjYgMCA1MkwzNTQuNiAzOTZsOTIuNCA5Ni40YzE0LjQgMTQuNCAxNC40IDM3LjYgMCA1MnoiLz48L3N2Zz4=" !default;
431
+ $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='%235cb85c' 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") !default;
432
+ $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='%23f0ad4e' 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") !default;
433
+ $form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d9534f' 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") !default;
327
434
 
328
435
 
329
436
  // Dropdowns
330
437
  //
331
438
  // Dropdown menu container and contents.
332
439
 
440
+ $dropdown-min-width: 160px !default;
441
+ $dropdown-padding-y: 5px !default;
442
+ $dropdown-margin-top: 2px !default;
333
443
  $dropdown-bg: #fff !default;
334
444
  $dropdown-border-color: rgba(0,0,0,.15) !default;
335
445
  $dropdown-border-width: $border-width !default;
336
446
  $dropdown-divider-bg: #e5e5e5 !default;
447
+ $dropdown-box-shadow: 0 6px 12px rgba(0,0,0,.175) !default;
337
448
 
338
449
  $dropdown-link-color: $gray-dark !default;
339
450
  $dropdown-link-hover-color: darken($gray-dark, 5%) !default;
@@ -344,6 +455,8 @@ $dropdown-link-active-bg: $component-active-bg !default;
344
455
 
345
456
  $dropdown-link-disabled-color: $gray-light !default;
346
457
 
458
+ $dropdown-item-padding-x: 20px !default;
459
+
347
460
  $dropdown-header-color: $gray-light !default;
348
461
 
349
462
 
@@ -352,6 +465,7 @@ $dropdown-header-color: $gray-light !default;
352
465
  // Warning: Avoid customizing these values. They're used for a bird's eye view
353
466
  // of components dependent on the z-axis and are designed to all work together.
354
467
 
468
+ $zindex-dropdown-backdrop: 990 !default;
355
469
  $zindex-navbar: 1000 !default;
356
470
  $zindex-dropdown: 1000 !default;
357
471
  $zindex-popover: 1060 !default;
@@ -365,8 +479,9 @@ $zindex-modal: 1050 !default;
365
479
  // Navbar
366
480
 
367
481
  $navbar-border-radius: $border-radius !default;
368
- $navbar-padding-horizontal: $spacer !default;
369
- $navbar-padding-vertical: ($spacer / 2) !default;
482
+ $navbar-padding-x: $spacer !default;
483
+ $navbar-padding-y: ($spacer / 2) !default;
484
+ $navbar-brand-padding-y: .25rem !default;
370
485
 
371
486
  $navbar-dark-color: rgba(255,255,255,.5) !default;
372
487
  $navbar-dark-hover-color: rgba(255,255,255,.75) !default;
@@ -381,27 +496,27 @@ $navbar-light-disabled-color: rgba(0,0,0,.15) !default;
381
496
 
382
497
  // Navs
383
498
 
384
- $nav-link-padding: .5em 1em !default;
385
- $nav-link-hover-bg: $gray-lighter !default;
386
-
387
- $nav-disabled-link-color: $gray-light !default;
388
- $nav-disabled-link-hover-color: $gray-light !default;
389
-
390
- $nav-tabs-border-color: #ddd !default;
391
-
392
- $nav-tabs-link-border-width: $border-width !default;
393
- $nav-tabs-link-hover-border-color: $gray-lighter !default;
394
-
395
- $nav-tabs-active-link-hover-bg: $body-bg !default;
396
- $nav-tabs-active-link-hover-color: $gray !default;
397
- $nav-tabs-active-link-hover-border-color: #ddd !default;
398
-
399
- $nav-tabs-justified-link-border-color: #ddd !default;
400
- $nav-tabs-justified-active-link-border-color: $body-bg !default;
401
-
402
- $nav-pills-border-radius: $border-radius !default;
403
- $nav-pills-active-link-hover-bg: $component-active-bg !default;
404
- $nav-pills-active-link-hover-color: $component-active-color !default;
499
+ $nav-item-margin: .2rem !default;
500
+ $nav-item-inline-spacer: 1rem !default;
501
+ $nav-link-padding: .5em 1em !default;
502
+ $nav-link-hover-bg: $gray-lighter !default;
503
+ $nav-disabled-link-color: $gray-light !default;
504
+ $nav-disabled-link-hover-color: $gray-light !default;
505
+ $nav-disabled-link-hover-bg: transparent !default;
506
+
507
+ $nav-tabs-border-color: #ddd !default;
508
+ $nav-tabs-border-width: $border-width !default;
509
+ $nav-tabs-border-radius: $border-radius !default;
510
+ $nav-tabs-link-hover-border-color: $gray-lighter !default;
511
+ $nav-tabs-active-link-hover-color: $gray !default;
512
+ $nav-tabs-active-link-hover-bg: $body-bg !default;
513
+ $nav-tabs-active-link-hover-border-color: #ddd !default;
514
+ $nav-tabs-justified-link-border-color: #ddd !default;
515
+ $nav-tabs-justified-active-link-border-color: $body-bg !default;
516
+
517
+ $nav-pills-border-radius: $border-radius !default;
518
+ $nav-pills-active-link-color: $component-active-color !default;
519
+ $nav-pills-active-link-bg: $component-active-bg !default;
405
520
 
406
521
 
407
522
  // Pagination
@@ -432,21 +547,6 @@ $pagination-disabled-bg: #fff !default;
432
547
  $pagination-disabled-border: #ddd !default;
433
548
 
434
549
 
435
- // Pager
436
-
437
- $pager-bg: $pagination-bg !default;
438
- $pager-border-width: $border-width !default;
439
- $pager-border-color: $pagination-border-color !default;
440
- $pager-border-radius: 15px !default;
441
-
442
- $pager-hover-bg: $pagination-hover-bg !default;
443
-
444
- $pager-active-bg: $pagination-active-bg !default;
445
- $pager-active-color: $pagination-active-color !default;
446
-
447
- $pager-disabled-color: $pagination-disabled-color !default;
448
-
449
-
450
550
  // Jumbotron
451
551
 
452
552
  $jumbotron-padding: 2rem !default;
@@ -467,6 +567,7 @@ $state-info-border: darken($state-info-bg, 7%) !default;
467
567
 
468
568
  $state-warning-text: #8a6d3b !default;
469
569
  $state-warning-bg: #fcf8e3 !default;
570
+ $mark-bg: $state-warning-bg !default;
470
571
  $state-warning-border: darken($state-warning-bg, 5%) !default;
471
572
 
472
573
  $state-danger-text: #a94442 !default;
@@ -479,13 +580,19 @@ $card-spacer-x: 1.25rem !default;
479
580
  $card-spacer-y: .75rem !default;
480
581
  $card-border-width: 1px !default;
481
582
  $card-border-radius: $border-radius !default;
482
- $card-border-color: #e5e5e5 !default;
583
+ $card-border-color: rgba(0,0,0,.125) !default;
483
584
  $card-border-radius-inner: $card-border-radius !default;
484
585
  $card-cap-bg: #f5f5f5 !default;
485
586
  $card-bg: #fff !default;
486
587
 
487
588
  $card-link-hover-color: #fff !default;
488
589
 
590
+ $card-img-overlay-padding: 1.25rem !default;
591
+
592
+ $card-deck-margin: .625rem !default;
593
+
594
+ $card-columns-sm-up-column-gap: 1.25rem !default;
595
+
489
596
 
490
597
  // Tooltips
491
598
 
@@ -493,6 +600,9 @@ $tooltip-max-width: 200px !default;
493
600
  $tooltip-color: #fff !default;
494
601
  $tooltip-bg: #000 !default;
495
602
  $tooltip-opacity: .9 !default;
603
+ $tooltip-padding-y: 3px !default;
604
+ $tooltip-padding-x: 8px !default;
605
+ $tooltip-margin: 3px !default;
496
606
 
497
607
  $tooltip-arrow-width: 5px !default;
498
608
  $tooltip-arrow-color: $tooltip-bg !default;
@@ -500,49 +610,71 @@ $tooltip-arrow-color: $tooltip-bg !default;
500
610
 
501
611
  // Popovers
502
612
 
613
+ $popover-inner-padding: 1px !default;
503
614
  $popover-bg: #fff !default;
504
615
  $popover-max-width: 276px !default;
505
616
  $popover-border-width: $border-width !default;
506
617
  $popover-border-color: rgba(0,0,0,.2) !default;
618
+ $popover-box-shadow: 0 5px 10px rgba(0,0,0,.2) !default;
507
619
 
508
620
  $popover-title-bg: darken($popover-bg, 3%) !default;
621
+ $popover-title-padding-x: 14px !default;
622
+ $popover-title-padding-y: 8px !default;
623
+
624
+ $popover-content-padding-x: 14px !default;
625
+ $popover-content-padding-y: 9px !default;
509
626
 
510
627
  $popover-arrow-width: 10px !default;
511
628
  $popover-arrow-color: $popover-bg !default;
512
629
 
513
- $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
514
- $popover-arrow-outer-color: fade-in($popover-border-color, 0.05) !default;
630
+ $popover-arrow-outer-width: ($popover-arrow-width + 1px) !default;
631
+ $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
515
632
 
516
633
 
517
- // Labels
634
+ // Tags
518
635
 
519
- $label-default-bg: $gray-light !default;
520
- $label-primary-bg: $brand-primary !default;
521
- $label-success-bg: $brand-success !default;
522
- $label-info-bg: $brand-info !default;
523
- $label-warning-bg: $brand-warning !default;
524
- $label-danger-bg: $brand-danger !default;
636
+ $tag-default-bg: $gray-light !default;
637
+ $tag-primary-bg: $brand-primary !default;
638
+ $tag-success-bg: $brand-success !default;
639
+ $tag-info-bg: $brand-info !default;
640
+ $tag-warning-bg: $brand-warning !default;
641
+ $tag-danger-bg: $brand-danger !default;
525
642
 
526
- $label-color: #fff !default;
527
- $label-link-hover-color: #fff !default;
528
- $label-font-weight: bold !default;
643
+ $tag-color: #fff !default;
644
+ $tag-link-hover-color: #fff !default;
645
+ $tag-font-size: 75% !default;
646
+ $tag-font-weight: bold !default;
647
+ $tag-padding-x: .4em !default;
648
+ $tag-padding-y: .25em !default;
529
649
 
650
+ $tag-pill-padding-x: .6em !default;
651
+ // Use a higher than normal value to ensure completely rounded edges when
652
+ // customizing padding or font-size on labels.
653
+ $tag-pill-border-radius: 10rem !default;
530
654
 
531
655
  // Modals
532
656
 
533
657
  // Padding applied to the modal body
534
658
  $modal-inner-padding: 15px !default;
535
659
 
660
+ $modal-dialog-margin: 10px !default;
661
+ $modal-dialog-sm-up-margin-y: 30px !default;
662
+
536
663
  $modal-title-padding: 15px !default;
537
- $modal-title-line-height: $line-height !default;
664
+ $modal-title-line-height: $line-height-base !default;
538
665
 
539
- $modal-content-bg: #fff !default;
540
- $modal-content-border-color: rgba(0,0,0,.2) !default;
666
+ $modal-content-bg: #fff !default;
667
+ $modal-content-border-color: rgba(0,0,0,.2) !default;
668
+ $modal-content-border-width: $border-width !default;
669
+ $modal-content-xs-box-shadow: 0 3px 9px rgba(0,0,0,.5) !default;
670
+ $modal-content-sm-up-box-shadow: 0 5px 15px rgba(0,0,0,.5) !default;
541
671
 
542
672
  $modal-backdrop-bg: #000 !default;
543
673
  $modal-backdrop-opacity: .5 !default;
544
674
  $modal-header-border-color: #e5e5e5 !default;
545
675
  $modal-footer-border-color: $modal-header-border-color !default;
676
+ $modal-header-border-width: $modal-content-border-width !default;
677
+ $modal-footer-border-width: $modal-header-border-width !default;
546
678
 
547
679
  $modal-lg: 900px !default;
548
680
  $modal-md: 600px !default;
@@ -577,9 +709,10 @@ $alert-danger-border: $state-danger-border !default;
577
709
 
578
710
  // Progress bars
579
711
 
580
- $progress-bg: #f5f5f5 !default;
581
- $progress-bar-color: #fff !default;
712
+ $progress-bg: #eee !default;
713
+ $progress-bar-color: #0074d9 !default;
582
714
  $progress-border-radius: $border-radius !default;
715
+ $progress-box-shadow: inset 0 .1rem .1rem rgba(0,0,0,.1) !default;
583
716
 
584
717
  $progress-bar-bg: $brand-primary !default;
585
718
  $progress-bar-success-bg: $brand-success !default;
@@ -609,6 +742,10 @@ $list-group-link-color: #555 !default;
609
742
  $list-group-link-hover-color: $list-group-link-color !default;
610
743
  $list-group-link-heading-color: #333 !default;
611
744
 
745
+ $list-group-item-padding-x: 1.25rem !default;
746
+ $list-group-item-padding-y: .75rem !default;
747
+ $list-group-item-heading-margin-bottom: 5px !default;
748
+
612
749
 
613
750
  // Image thumbnails
614
751
 
@@ -617,12 +754,19 @@ $thumbnail-bg: $body-bg !default;
617
754
  $thumbnail-border-width: $border-width !default;
618
755
  $thumbnail-border-color: #ddd !default;
619
756
  $thumbnail-border-radius: $border-radius !default;
757
+ $thumbnail-box-shadow: 0 1px 2px rgba(0,0,0,.075) !default;
758
+
759
+
760
+ // Figures
761
+
762
+ $figure-caption-font-size: 90% !default;
620
763
 
621
764
 
622
765
  // Breadcrumbs
623
766
 
624
- $breadcrumb-padding-vertical: .75rem !default;
625
- $breadcrumb-padding-horizontal: 1rem !default;
767
+ $breadcrumb-padding-y: .75rem !default;
768
+ $breadcrumb-padding-x: 1rem !default;
769
+ $breadcrumb-item-padding: .5rem !default;
626
770
 
627
771
  $breadcrumb-bg: $gray-lighter !default;
628
772
  $breadcrumb-divider-color: $gray-light !default;
@@ -630,20 +774,36 @@ $breadcrumb-active-color: $gray-light !default;
630
774
  $breadcrumb-divider: "/" !default;
631
775
 
632
776
 
777
+ // Media objects
778
+
779
+ $media-margin-top: 15px !default;
780
+ $media-heading-margin-bottom: 5px !default;
781
+ $media-alignment-padding-x: 10px !default;
782
+
783
+
633
784
  // Carousel
634
785
 
635
786
  $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
636
787
 
637
788
  $carousel-control-color: #fff !default;
638
789
  $carousel-control-width: 15% !default;
790
+ $carousel-control-sm-up-size: 30px !default;
639
791
  $carousel-control-opacity: .5 !default;
640
792
  $carousel-control-font-size: 20px !default;
641
793
 
794
+ $carousel-indicators-width: 60% !default;
795
+
796
+ $carousel-indicator-size: 10px !default;
797
+ $carousel-indicator-active-size: 12px !default;
642
798
  $carousel-indicator-active-bg: #fff !default;
643
799
  $carousel-indicator-border-color: #fff !default;
644
800
 
801
+ $carousel-caption-width: 70% !default;
802
+ $carousel-caption-sm-up-width: 60% !default;
645
803
  $carousel-caption-color: #fff !default;
646
804
 
805
+ $carousel-icon-width: 20px !default;
806
+
647
807
 
648
808
  // Close
649
809
 
@@ -654,6 +814,9 @@ $close-text-shadow: 0 1px 0 #fff !default;
654
814
 
655
815
  // Code
656
816
 
817
+ $code-font-size: 90% !default;
818
+ $code-padding-x: .4rem !default;
819
+ $code-padding-y: .2rem !default;
657
820
  $code-color: #bd4147 !default;
658
821
  $code-bg: #f7f7f9 !default;
659
822