bootstrap-sass-backport 3.2.0.2 → 3.3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/.travis.yml +8 -2
  4. data/CHANGELOG.md +14 -0
  5. data/README.md +35 -22
  6. data/Rakefile +3 -4
  7. data/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +1 -1
  8. data/assets/javascripts/bootstrap.js +1232 -1019
  9. data/assets/javascripts/bootstrap/affix.js +43 -23
  10. data/assets/javascripts/bootstrap/alert.js +6 -4
  11. data/assets/javascripts/bootstrap/button.js +16 -10
  12. data/assets/javascripts/bootstrap/carousel.js +27 -10
  13. data/assets/javascripts/bootstrap/collapse.js +69 -28
  14. data/assets/javascripts/bootstrap/dropdown.js +20 -10
  15. data/assets/javascripts/bootstrap/modal.js +67 -23
  16. data/assets/javascripts/bootstrap/popover.js +13 -7
  17. data/assets/javascripts/bootstrap/scrollspy.js +12 -7
  18. data/assets/javascripts/bootstrap/tab.js +41 -16
  19. data/assets/javascripts/bootstrap/tooltip.js +60 -39
  20. data/assets/javascripts/bootstrap/transition.js +1 -1
  21. data/assets/stylesheets/bootstrap/_badges.scss +7 -1
  22. data/assets/stylesheets/bootstrap/_button-groups.scss +18 -15
  23. data/assets/stylesheets/bootstrap/_buttons.scss +8 -5
  24. data/assets/stylesheets/bootstrap/_carousel.scss +25 -1
  25. data/assets/stylesheets/bootstrap/_code.scss +1 -0
  26. data/assets/stylesheets/bootstrap/_component-animations.scss +5 -2
  27. data/assets/stylesheets/bootstrap/_dropdowns.scss +4 -6
  28. data/assets/stylesheets/bootstrap/_forms.scss +55 -43
  29. data/assets/stylesheets/bootstrap/_glyphicons.scss +2 -5
  30. data/assets/stylesheets/bootstrap/_grid.scss +4 -4
  31. data/assets/stylesheets/bootstrap/_jumbotron.scss +6 -5
  32. data/assets/stylesheets/bootstrap/_list-group.scss +1 -8
  33. data/assets/stylesheets/bootstrap/_media.scss +27 -36
  34. data/assets/stylesheets/bootstrap/_modals.scss +4 -6
  35. data/assets/stylesheets/bootstrap/_navbar.scss +36 -33
  36. data/assets/stylesheets/bootstrap/_navs.scss +5 -3
  37. data/assets/stylesheets/bootstrap/_normalize.scss +5 -3
  38. data/assets/stylesheets/bootstrap/_pager.scss +2 -3
  39. data/assets/stylesheets/bootstrap/_pagination.scss +1 -1
  40. data/assets/stylesheets/bootstrap/_panels.scss +22 -4
  41. data/assets/stylesheets/bootstrap/_popovers.scss +6 -4
  42. data/assets/stylesheets/bootstrap/_print.scss +102 -96
  43. data/assets/stylesheets/bootstrap/_progress-bars.scss +2 -20
  44. data/assets/stylesheets/bootstrap/_responsive-embed.scss +2 -1
  45. data/assets/stylesheets/bootstrap/_responsive-utilities.scss +4 -1
  46. data/assets/stylesheets/bootstrap/_scaffolding.scss +3 -3
  47. data/assets/stylesheets/bootstrap/_tables.scss +11 -10
  48. data/assets/stylesheets/bootstrap/_theme.scss +27 -13
  49. data/assets/stylesheets/bootstrap/_thumbnails.scss +2 -2
  50. data/assets/stylesheets/bootstrap/_tooltip.scss +12 -4
  51. data/assets/stylesheets/bootstrap/_type.scss +10 -16
  52. data/assets/stylesheets/bootstrap/_utilities.scss +3 -4
  53. data/assets/stylesheets/bootstrap/_variables.scss +31 -21
  54. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +2 -0
  55. data/assets/stylesheets/bootstrap/mixins/_forms.scss +5 -1
  56. data/assets/stylesheets/bootstrap/mixins/_grid.scss +2 -2
  57. data/assets/stylesheets/bootstrap/mixins/_hide-text.scss +1 -1
  58. data/assets/stylesheets/bootstrap/mixins/_image.scss +0 -1
  59. data/assets/stylesheets/bootstrap/mixins/_labels.scss +1 -1
  60. data/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +1 -1
  61. data/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +6 -3
  62. data/bower.json +1 -1
  63. data/composer.json +1 -1
  64. data/lib/bootstrap-sass-backport.rb +2 -1
  65. data/lib/bootstrap-sass/engine.rb +1 -1
  66. data/lib/bootstrap-sass/version.rb +2 -2
  67. data/package.json +4 -4
  68. data/tasks/converter/js_conversion.rb +2 -3
  69. data/tasks/converter/less_conversion.rb +64 -30
  70. data/tasks/converter/network.rb +12 -6
  71. data/templates/project/_bootstrap-variables.sass +866 -0
  72. data/templates/project/manifest.rb +5 -11
  73. data/test/node_sass_compile_test.sh +8 -0
  74. metadata +6 -27
  75. data/templates/project/_bootstrap-variables.sass.erb +0 -4
  76. data/test/dummy_rails/bin/bundle +0 -3
  77. data/test/dummy_rails/bin/rails +0 -4
  78. data/test/dummy_rails/bin/rake +0 -4
  79. data/test/dummy_rails/db/test.sqlite3 +0 -0
  80. data/test/dummy_rails/lib/assets/.keep +0 -0
  81. data/test/dummy_rails/public/404.html +0 -58
  82. data/test/dummy_rails/public/422.html +0 -58
  83. data/test/dummy_rails/public/500.html +0 -57
  84. data/test/dummy_rails/public/favicon.ico +0 -0
  85. data/test/node_sass_test.rb +0 -16
  86. data/test/support/integration_test.rb +0 -22
@@ -7,7 +7,6 @@
7
7
  @import "mixins";
8
8
 
9
9
 
10
-
11
10
  //
12
11
  // Buttons
13
12
  // --------------------------------------------------
@@ -28,12 +27,16 @@
28
27
  &.active {
29
28
  @include box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
30
29
  }
30
+
31
+ .badge {
32
+ text-shadow: none;
33
+ }
31
34
  }
32
35
 
33
36
  // Mixin for generating new styles
34
37
  @mixin btn-styles($btn-color: #555) {
35
38
  @include gradient-vertical($start-color: $btn-color, $end-color: darken($btn-color, 12%));
36
- @include reset-filter(); // Disable gradients for IE9 because filter bleeds through rounded corners
39
+ @include reset-filter; // Disable gradients for IE9 because filter bleeds through rounded corners
37
40
  background-repeat: repeat-x;
38
41
  border-color: darken($btn-color, 14%);
39
42
 
@@ -74,7 +77,6 @@
74
77
  .btn-danger { @include btn-styles($btn-danger-bg); }
75
78
 
76
79
 
77
-
78
80
  //
79
81
  // Images
80
82
  // --------------------------------------------------
@@ -85,7 +87,6 @@
85
87
  }
86
88
 
87
89
 
88
-
89
90
  //
90
91
  // Dropdowns
91
92
  // --------------------------------------------------
@@ -103,7 +104,6 @@
103
104
  }
104
105
 
105
106
 
106
-
107
107
  //
108
108
  // Navbar
109
109
  // --------------------------------------------------
@@ -111,13 +111,14 @@
111
111
  // Default navbar
112
112
  .navbar-default {
113
113
  @include gradient-vertical($start-color: lighten($navbar-default-bg, 10%), $end-color: $navbar-default-bg);
114
- @include reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
114
+ @include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
115
115
  border-radius: $navbar-border-radius;
116
116
  $shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 5px rgba(0,0,0,.075);
117
117
  @include box-shadow($shadow);
118
118
 
119
+ .navbar-nav > .open > a,
119
120
  .navbar-nav > .active > a {
120
- @include gradient-vertical($start-color: darken($navbar-default-bg, 5%), $end-color: darken($navbar-default-bg, 2%));
121
+ @include gradient-vertical($start-color: darken($navbar-default-link-active-bg, 5%), $end-color: darken($navbar-default-link-active-bg, 2%));
121
122
  @include box-shadow(inset 0 3px 9px rgba(0,0,0,.075));
122
123
  }
123
124
  }
@@ -129,10 +130,11 @@
129
130
  // Inverted navbar
130
131
  .navbar-inverse {
131
132
  @include gradient-vertical($start-color: lighten($navbar-inverse-bg, 10%), $end-color: $navbar-inverse-bg);
132
- @include reset-filter(); // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
133
+ @include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
133
134
 
135
+ .navbar-nav > .open > a,
134
136
  .navbar-nav > .active > a {
135
- @include gradient-vertical($start-color: $navbar-inverse-bg, $end-color: lighten($navbar-inverse-bg, 2.5%));
137
+ @include gradient-vertical($start-color: $navbar-inverse-link-active-bg, $end-color: lighten($navbar-inverse-link-active-bg, 2.5%));
136
138
  @include box-shadow(inset 0 3px 9px rgba(0,0,0,.25));
137
139
  }
138
140
 
@@ -149,6 +151,17 @@
149
151
  border-radius: 0;
150
152
  }
151
153
 
154
+ // Fix active state of dropdown items in collapsed mode
155
+ @media (max-width: $grid-float-breakpoint-max) {
156
+ .navbar .navbar-nav .open .dropdown-menu > .active > a {
157
+ &,
158
+ &:hover,
159
+ &:focus {
160
+ color: #fff;
161
+ @include gradient-vertical($start-color: $dropdown-link-active-bg, $end-color: darken($dropdown-link-active-bg, 5%));
162
+ }
163
+ }
164
+ }
152
165
 
153
166
 
154
167
  //
@@ -175,7 +188,6 @@
175
188
  .alert-danger { @include alert-styles($alert-danger-bg); }
176
189
 
177
190
 
178
-
179
191
  //
180
192
  // Progress bars
181
193
  // --------------------------------------------------
@@ -200,7 +212,7 @@
200
212
  // Reset the striped class because our mixins don't do multiple gradients and
201
213
  // the above custom styles override the new `.progress-bar-striped` in v3.2.0.
202
214
  .progress-bar-striped {
203
- @include gradient-striped();
215
+ @include gradient-striped;
204
216
  }
205
217
 
206
218
 
@@ -218,8 +230,11 @@
218
230
  text-shadow: 0 -1px 0 darken($list-group-active-bg, 10%);
219
231
  @include gradient-vertical($start-color: $list-group-active-bg, $end-color: darken($list-group-active-bg, 7.5%));
220
232
  border-color: darken($list-group-active-border, 7.5%);
221
- }
222
233
 
234
+ .badge {
235
+ text-shadow: none;
236
+ }
237
+ }
223
238
 
224
239
 
225
240
  //
@@ -245,7 +260,6 @@
245
260
  .panel-danger > .panel-heading { @include panel-heading-styles($panel-danger-heading-bg); }
246
261
 
247
262
 
248
-
249
263
  //
250
264
  // Wells
251
265
  // --------------------------------------------------
@@ -12,11 +12,11 @@
12
12
  background-color: $thumbnail-bg;
13
13
  border: 1px solid $thumbnail-border;
14
14
  border-radius: $thumbnail-border-radius;
15
- @include transition(all .2s ease-in-out);
15
+ @include transition(border .2s ease-in-out);
16
16
 
17
17
  > img,
18
18
  a > img {
19
- @include img-responsive();
19
+ @include img-responsive;
20
20
  margin-left: auto;
21
21
  margin-right: auto;
22
22
  }
@@ -9,7 +9,10 @@
9
9
  z-index: $zindex-tooltip;
10
10
  display: block;
11
11
  visibility: visible;
12
+ // Reset font and text propertes given new insertion method
13
+ font-family: $font-family-base;
12
14
  font-size: $font-size-small;
15
+ font-weight: normal;
13
16
  line-height: 1.4;
14
17
  @include opacity(0);
15
18
 
@@ -39,6 +42,7 @@
39
42
  border-color: transparent;
40
43
  border-style: solid;
41
44
  }
45
+ // Note: Deprecated .top-left, .top-right, .bottom-left, and .bottom-right as of v3.3.1
42
46
  .tooltip {
43
47
  &.top .tooltip-arrow {
44
48
  bottom: 0;
@@ -49,13 +53,15 @@
49
53
  }
50
54
  &.top-left .tooltip-arrow {
51
55
  bottom: 0;
52
- left: $tooltip-arrow-width;
56
+ right: $tooltip-arrow-width;
57
+ margin-bottom: -$tooltip-arrow-width;
53
58
  border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
54
59
  border-top-color: $tooltip-arrow-color;
55
60
  }
56
61
  &.top-right .tooltip-arrow {
57
62
  bottom: 0;
58
- right: $tooltip-arrow-width;
63
+ left: $tooltip-arrow-width;
64
+ margin-bottom: -$tooltip-arrow-width;
59
65
  border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
60
66
  border-top-color: $tooltip-arrow-color;
61
67
  }
@@ -82,13 +88,15 @@
82
88
  }
83
89
  &.bottom-left .tooltip-arrow {
84
90
  top: 0;
85
- left: $tooltip-arrow-width;
91
+ right: $tooltip-arrow-width;
92
+ margin-top: -$tooltip-arrow-width;
86
93
  border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
87
94
  border-bottom-color: $tooltip-arrow-color;
88
95
  }
89
96
  &.bottom-right .tooltip-arrow {
90
97
  top: 0;
91
- right: $tooltip-arrow-width;
98
+ left: $tooltip-arrow-width;
99
+ margin-top: -$tooltip-arrow-width;
92
100
  border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
93
101
  border-bottom-color: $tooltip-arrow-color;
94
102
  }
@@ -80,11 +80,6 @@ small,
80
80
  font-size: floor((100% * $font-size-small / $font-size-base));
81
81
  }
82
82
 
83
- // Undo browser default styling
84
- cite {
85
- font-style: normal;
86
- }
87
-
88
83
  mark,
89
84
  .mark {
90
85
  background-color: $state-warning-bg;
@@ -163,15 +158,20 @@ ol {
163
158
 
164
159
  // List options
165
160
 
166
- // Unstyled keeps list items block level, just removes default browser padding and list-style
167
- .list-unstyled {
161
+ // [converter] extracted from `.list-unstyled` for libsass compatibility
162
+ @mixin list-unstyled {
168
163
  padding-left: 0;
169
164
  list-style: none;
170
165
  }
166
+ // [converter] extracted as `@mixin list-unstyled` for libsass compatibility
167
+ .list-unstyled {
168
+ @include list-unstyled;
169
+ }
170
+
171
171
 
172
172
  // Inline turns list items into inline-block
173
173
  .list-inline {
174
- @extend .list-unstyled;
174
+ @include list-unstyled;
175
175
  margin-left: -5px;
176
176
 
177
177
  > li {
@@ -204,7 +204,7 @@ dd {
204
204
 
205
205
  .dl-horizontal {
206
206
  dd {
207
- @include clearfix(); // Clear the floated `dt` if an empty `dd` is present
207
+ @include clearfix; // Clear the floated `dt` if an empty `dd` is present
208
208
  }
209
209
 
210
210
  @media (min-width: $grid-float-breakpoint) {
@@ -213,7 +213,7 @@ dd {
213
213
  width: ($dl-horizontal-offset - 20);
214
214
  clear: left;
215
215
  text-align: right;
216
- @include text-overflow();
216
+ @include text-overflow;
217
217
  }
218
218
  dd {
219
219
  margin-left: $dl-horizontal-offset;
@@ -290,12 +290,6 @@ blockquote.pull-right {
290
290
  }
291
291
  }
292
292
 
293
- // Quotes
294
- blockquote:before,
295
- blockquote:after {
296
- content: "";
297
- }
298
-
299
293
  // Addresses
300
294
  address {
301
295
  margin-bottom: $line-height-computed;
@@ -7,10 +7,10 @@
7
7
  // -------------------------
8
8
 
9
9
  .clearfix {
10
- @include clearfix();
10
+ @include clearfix;
11
11
  }
12
12
  .center-block {
13
- @include center-block();
13
+ @include center-block;
14
14
  }
15
15
  .pull-right {
16
16
  float: right !important;
@@ -34,7 +34,7 @@
34
34
  visibility: hidden;
35
35
  }
36
36
  .text-hide {
37
- @include text-hide();
37
+ @include text-hide;
38
38
  }
39
39
 
40
40
 
@@ -53,5 +53,4 @@
53
53
 
54
54
  .affix {
55
55
  position: fixed;
56
- @include translate3d(0, 0, 0);
57
56
  }
@@ -12,13 +12,14 @@ $bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")
12
12
  //
13
13
  //## Gray and brand colors for use across Bootstrap.
14
14
 
15
- $gray-darker: lighten(#000, 13.5%) !default; // #222
16
- $gray-dark: lighten(#000, 20%) !default; // #333
17
- $gray: lighten(#000, 33.5%) !default; // #555
18
- $gray-light: lighten(#000, 46.7%) !default; // #777
19
- $gray-lighter: lighten(#000, 93.5%) !default; // #eee
20
-
21
- $brand-primary: #428bca !default;
15
+ $gray-base: #000 !default;
16
+ $gray-darker: lighten($gray-base, 13.5%) !default; // #222
17
+ $gray-dark: lighten($gray-base, 20%) !default; // #333
18
+ $gray: lighten($gray-base, 33.5%) !default; // #555
19
+ $gray-light: lighten($gray-base, 46.7%) !default; // #777
20
+ $gray-lighter: lighten($gray-base, 93.5%) !default; // #eee
21
+
22
+ $brand-primary: darken(#428bca, 6.5%) !default;
22
23
  $brand-success: #5cb85c !default;
23
24
  $brand-info: #5bc0de !default;
24
25
  $brand-warning: #f0ad4e !default;
@@ -38,6 +39,8 @@ $text-color: $gray-dark !default;
38
39
  $link-color: $brand-primary !default;
39
40
  //** Link hover color set via `darken()` function.
40
41
  $link-hover-color: darken($link-color, 15%) !default;
42
+ //** Link hover decoration.
43
+ $link-hover-decoration: underline !default;
41
44
 
42
45
 
43
46
  //== Typography
@@ -189,13 +192,20 @@ $input-bg-disabled: $gray-lighter !default;
189
192
  $input-color: $gray !default;
190
193
  //** `<input>` border color
191
194
  $input-border: #ccc !default;
192
- //** `<input>` border radius
195
+
196
+ // TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
197
+ //** Default `.form-control` border radius
193
198
  $input-border-radius: $border-radius-base !default;
199
+ //** Large `.form-control` border radius
200
+ $input-border-radius-large: $border-radius-large !default;
201
+ //** Small `.form-control` border radius
202
+ $input-border-radius-small: $border-radius-small !default;
203
+
194
204
  //** Border color for inputs on focus
195
205
  $input-border-focus: #66afe9 !default;
196
206
 
197
207
  //** Placeholder text color
198
- $input-color-placeholder: $gray-light !default;
208
+ $input-color-placeholder: #999 !default;
199
209
 
200
210
  //** Default `.form-control` height
201
211
  $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
@@ -212,6 +222,9 @@ $input-group-addon-bg: $gray-lighter !default;
212
222
  //** Border color for textual input addons
213
223
  $input-group-addon-border-color: $input-border !default;
214
224
 
225
+ //** Disabled cursor for form controls and buttons.
226
+ $cursor-disabled: not-allowed !default;
227
+
215
228
 
216
229
  //== Dropdowns
217
230
  //
@@ -260,8 +273,7 @@ $zindex-dropdown: 1000 !default;
260
273
  $zindex-popover: 1060 !default;
261
274
  $zindex-tooltip: 1070 !default;
262
275
  $zindex-navbar-fixed: 1030 !default;
263
- $zindex-modal-background: 1040 !default;
264
- $zindex-modal: 1050 !default;
276
+ $zindex-modal: 1040 !default;
265
277
 
266
278
 
267
279
  //== Media queries breakpoints
@@ -323,17 +335,17 @@ $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
323
335
  //## Define the maximum width of `.container` for different screen sizes.
324
336
 
325
337
  // Small screen / tablet
326
- $container-tablet: ((720px + $grid-gutter-width)) !default;
338
+ $container-tablet: (720px + $grid-gutter-width) !default;
327
339
  //** For `$screen-sm-min` and up.
328
340
  $container-sm: $container-tablet !default;
329
341
 
330
342
  // Medium screen / desktop
331
- $container-desktop: ((940px + $grid-gutter-width)) !default;
343
+ $container-desktop: (940px + $grid-gutter-width) !default;
332
344
  //** For `$screen-md-min` and up.
333
345
  $container-md: $container-desktop !default;
334
346
 
335
347
  // Large screen / wide desktop
336
- $container-large-desktop: ((1140px + $grid-gutter-width)) !default;
348
+ $container-large-desktop: (1140px + $grid-gutter-width) !default;
337
349
  //** For `$screen-lg-min` and up.
338
350
  $container-lg: $container-large-desktop !default;
339
351
 
@@ -376,12 +388,12 @@ $navbar-default-toggle-border-color: #ddd !default;
376
388
 
377
389
  // Inverted navbar
378
390
  // Reset inverted navbar basics
379
- $navbar-inverse-color: $gray-light !default;
391
+ $navbar-inverse-color: lighten($gray-light, 15%) !default;
380
392
  $navbar-inverse-bg: #222 !default;
381
393
  $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
382
394
 
383
395
  // Inverted navbar links
384
- $navbar-inverse-link-color: $gray-light !default;
396
+ $navbar-inverse-link-color: lighten($gray-light, 15%) !default;
385
397
  $navbar-inverse-link-hover-color: #fff !default;
386
398
  $navbar-inverse-link-hover-bg: transparent !default;
387
399
  $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
@@ -411,8 +423,6 @@ $nav-link-hover-bg: $gray-lighter !default;
411
423
  $nav-disabled-link-color: $gray-light !default;
412
424
  $nav-disabled-link-hover-color: $gray-light !default;
413
425
 
414
- $nav-open-link-hover-color: #fff !default;
415
-
416
426
  //== Tabs
417
427
  $nav-tabs-border-color: #ddd !default;
418
428
 
@@ -537,7 +547,7 @@ $popover-title-bg: darken($popover-bg, 3%) !default;
537
547
  //** Popover arrow width
538
548
  $popover-arrow-width: 10px !default;
539
549
  //** Popover arrow color
540
- $popover-arrow-color: #fff !default;
550
+ $popover-arrow-color: $popover-bg !default;
541
551
 
542
552
  //** Popover outer arrow width
543
553
  $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
@@ -636,6 +646,8 @@ $alert-danger-border: $state-danger-border !default;
636
646
  $progress-bg: #f5f5f5 !default;
637
647
  //** Progress bar text color
638
648
  $progress-bar-color: #fff !default;
649
+ //** Variable for setting rounded corners on progress bar.
650
+ $progress-border-radius: $border-radius-base !default;
639
651
 
640
652
  //** Default progress bar color
641
653
  $progress-bar-bg: $brand-primary !default;
@@ -850,5 +862,3 @@ $page-header-border-color: $gray-lighter !default;
850
862
  $dl-horizontal-offset: $component-offset-horizontal !default;
851
863
  //** Horizontal line color.
852
864
  $hr-border: $gray-lighter !default;
853
-
854
-
@@ -10,6 +10,7 @@
10
10
 
11
11
  &:hover,
12
12
  &:focus,
13
+ &.focus,
13
14
  &:active,
14
15
  &.active,
15
16
  .open > &.dropdown-toggle {
@@ -28,6 +29,7 @@
28
29
  &,
29
30
  &:hover,
30
31
  &:focus,
32
+ &.focus,
31
33
  &:active,
32
34
  &.active {
33
35
  background-color: $background;
@@ -10,7 +10,11 @@
10
10
  .radio,
11
11
  .checkbox,
12
12
  .radio-inline,
13
- .checkbox-inline {
13
+ .checkbox-inline,
14
+ &.radio label,
15
+ &.checkbox label,
16
+ &.radio-inline label,
17
+ &.checkbox-inline label {
14
18
  color: $text-color;
15
19
  }
16
20
  // Set the border and box shadow on specific inputs to match