bootstrap-sass 3.3.7 → 3.4.0

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

Potentially problematic release.


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

Files changed (103) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +4 -10
  3. data/CHANGELOG.md +5 -0
  4. data/Gemfile +1 -4
  5. data/README.md +26 -58
  6. data/Rakefile +10 -8
  7. data/assets/javascripts/bootstrap-sprockets.js +3 -3
  8. data/assets/javascripts/bootstrap.js +120 -89
  9. data/assets/javascripts/bootstrap.min.js +3 -4
  10. data/assets/javascripts/bootstrap/affix.js +7 -5
  11. data/assets/javascripts/bootstrap/alert.js +6 -5
  12. data/assets/javascripts/bootstrap/button.js +4 -4
  13. data/assets/javascripts/bootstrap/carousel.js +16 -7
  14. data/assets/javascripts/bootstrap/collapse.js +6 -6
  15. data/assets/javascripts/bootstrap/dropdown.js +5 -5
  16. data/assets/javascripts/bootstrap/modal.js +43 -24
  17. data/assets/javascripts/bootstrap/popover.js +6 -6
  18. data/assets/javascripts/bootstrap/scrollspy.js +4 -4
  19. data/assets/javascripts/bootstrap/tab.js +10 -10
  20. data/assets/javascripts/bootstrap/tooltip.js +6 -6
  21. data/assets/javascripts/bootstrap/transition.js +5 -5
  22. data/assets/stylesheets/_bootstrap.scss +2 -2
  23. data/assets/stylesheets/bootstrap/_alerts.scss +3 -3
  24. data/assets/stylesheets/bootstrap/_badges.scss +3 -3
  25. data/assets/stylesheets/bootstrap/_breadcrumbs.scss +2 -2
  26. data/assets/stylesheets/bootstrap/_button-groups.scss +5 -5
  27. data/assets/stylesheets/bootstrap/_buttons.scss +4 -4
  28. data/assets/stylesheets/bootstrap/_carousel.scss +26 -25
  29. data/assets/stylesheets/bootstrap/_close.scss +1 -0
  30. data/assets/stylesheets/bootstrap/_code.scss +3 -3
  31. data/assets/stylesheets/bootstrap/_component-animations.scss +1 -0
  32. data/assets/stylesheets/bootstrap/_dropdowns.scss +20 -23
  33. data/assets/stylesheets/bootstrap/_forms.scss +47 -57
  34. data/assets/stylesheets/bootstrap/_glyphicons.scss +9 -9
  35. data/assets/stylesheets/bootstrap/_grid.scss +10 -0
  36. data/assets/stylesheets/bootstrap/_input-groups.scss +2 -2
  37. data/assets/stylesheets/bootstrap/_jumbotron.scss +5 -5
  38. data/assets/stylesheets/bootstrap/_labels.scss +1 -1
  39. data/assets/stylesheets/bootstrap/_list-group.scss +30 -32
  40. data/assets/stylesheets/bootstrap/_media.scss +1 -1
  41. data/assets/stylesheets/bootstrap/_modals.scss +6 -6
  42. data/assets/stylesheets/bootstrap/_navbar.scss +75 -81
  43. data/assets/stylesheets/bootstrap/_navs.scss +4 -4
  44. data/assets/stylesheets/bootstrap/_normalize.scss +5 -2
  45. data/assets/stylesheets/bootstrap/_pager.scss +2 -2
  46. data/assets/stylesheets/bootstrap/_pagination.scss +12 -15
  47. data/assets/stylesheets/bootstrap/_panels.scss +4 -4
  48. data/assets/stylesheets/bootstrap/_popovers.scss +47 -52
  49. data/assets/stylesheets/bootstrap/_print.scss +90 -92
  50. data/assets/stylesheets/bootstrap/_progress-bars.scss +3 -3
  51. data/assets/stylesheets/bootstrap/_responsive-embed.scss +2 -2
  52. data/assets/stylesheets/bootstrap/_responsive-utilities.scss +3 -3
  53. data/assets/stylesheets/bootstrap/_scaffolding.scss +7 -7
  54. data/assets/stylesheets/bootstrap/_tables.scss +23 -23
  55. data/assets/stylesheets/bootstrap/_theme.scss +21 -17
  56. data/assets/stylesheets/bootstrap/_thumbnails.scss +1 -1
  57. data/assets/stylesheets/bootstrap/_tooltip.scss +38 -27
  58. data/assets/stylesheets/bootstrap/_type.scss +10 -10
  59. data/assets/stylesheets/bootstrap/_variables.scss +6 -6
  60. data/assets/stylesheets/bootstrap/_wells.scss +2 -2
  61. data/assets/stylesheets/bootstrap/mixins/_alerts.scss +2 -1
  62. data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +4 -4
  63. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +6 -10
  64. data/assets/stylesheets/bootstrap/mixins/_center-block.scss +1 -1
  65. data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +1 -1
  66. data/assets/stylesheets/bootstrap/mixins/_forms.scss +4 -4
  67. data/assets/stylesheets/bootstrap/mixins/_gradients.scss +6 -8
  68. data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +1 -1
  69. data/assets/stylesheets/bootstrap/mixins/_grid.scss +7 -7
  70. data/assets/stylesheets/bootstrap/mixins/_image.scss +5 -10
  71. data/assets/stylesheets/bootstrap/mixins/_opacity.scss +2 -3
  72. data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +4 -4
  73. data/assets/stylesheets/bootstrap/mixins/_resize.scss +1 -1
  74. data/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +0 -4
  75. data/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +1 -1
  76. data/bootstrap-sass.gemspec +5 -4
  77. data/bower.json +1 -1
  78. data/composer.json +1 -1
  79. data/lib/bootstrap-sass.rb +13 -16
  80. data/lib/bootstrap-sass/version.rb +2 -2
  81. data/package-lock.json +1611 -0
  82. data/package.json +3 -3
  83. data/tasks/converter/less_conversion.rb +7 -8
  84. data/tasks/converter/network.rb +2 -2
  85. data/templates/project/_bootstrap-variables.sass +7 -7
  86. data/test/compilation_test.rb +24 -12
  87. data/test/dummy_rails/config/application.rb +1 -0
  88. data/test/dummy_rails/config/boot.rb +1 -1
  89. data/test/dummy_sass_only/Gemfile +1 -1
  90. data/test/dummy_sass_only/compile.rb +14 -7
  91. data/test/dummy_sass_only/import_all.scss +2 -0
  92. data/test/gemfiles/default.gemfile +3 -0
  93. data/test/node_sass_compile_test.sh +4 -3
  94. data/test/sass_test.rb +10 -7
  95. data/test/sprockets_rails_test.rb +12 -8
  96. data/test/test_helper.rb +2 -1
  97. metadata +33 -26
  98. data/test/compass_test.rb +0 -9
  99. data/test/dummy_sass_only/import_all.sass +0 -2
  100. data/test/gemfiles/rails_head.gemfile +0 -17
  101. data/test/gemfiles/sass_3_3.gemfile +0 -9
  102. data/test/gemfiles/sass_3_4.gemfile +0 -7
  103. data/test/gemfiles/sass_head.gemfile +0 -6
@@ -8,13 +8,13 @@
8
8
  // Restyle and baseline non-control form elements.
9
9
 
10
10
  fieldset {
11
- padding: 0;
12
- margin: 0;
13
- border: 0;
14
11
  // Chrome and Firefox set a `min-width: min-content;` on fieldsets,
15
12
  // so we reset that to ensure it behaves more like a standard block element.
16
13
  // See https://github.com/twbs/bootstrap/issues/12359.
17
14
  min-width: 0;
15
+ padding: 0;
16
+ margin: 0;
17
+ border: 0;
18
18
  }
19
19
 
20
20
  legend {
@@ -33,7 +33,7 @@ label {
33
33
  display: inline-block;
34
34
  max-width: 100%; // Force IE8 to wrap long content (see https://github.com/twbs/bootstrap/issues/13141)
35
35
  margin-bottom: 5px;
36
- font-weight: bold;
36
+ font-weight: 700;
37
37
  }
38
38
 
39
39
 
@@ -43,9 +43,18 @@ label {
43
43
  // is required to ensure optimum display with or without those classes to better
44
44
  // address browser inconsistencies.
45
45
 
46
- // Override content-box in Normalize (* isn't specific enough)
47
46
  input[type="search"] {
47
+ // Override content-box in Normalize (* isn't specific enough)
48
48
  @include box-sizing(border-box);
49
+
50
+ // Search inputs in iOS
51
+ //
52
+ // This overrides the extra rounded corners on search inputs in iOS so that our
53
+ // `.form-control` class can properly style them. Note that this cannot simply
54
+ // be added to `.form-control` as it's not specific enough. For details, see
55
+ // https://github.com/twbs/bootstrap/issues/11586.
56
+ -webkit-appearance: none;
57
+ appearance: none;
49
58
  }
50
59
 
51
60
  // Position radios and checkboxes better
@@ -54,6 +63,16 @@ input[type="checkbox"] {
54
63
  margin: 4px 0 0;
55
64
  margin-top: 1px \9; // IE8-9
56
65
  line-height: normal;
66
+
67
+ // Apply same disabled cursor tweak as for inputs
68
+ // Some special care is needed because <label>s don't inherit their parent's `cursor`.
69
+ //
70
+ // Note: Neither radios nor checkboxes can be readonly.
71
+ &[disabled],
72
+ &.disabled,
73
+ fieldset[disabled] & {
74
+ cursor: $cursor-disabled;
75
+ }
57
76
  }
58
77
 
59
78
  input[type="file"] {
@@ -123,7 +142,7 @@ output {
123
142
  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
124
143
  border: 1px solid $input-border;
125
144
  border-radius: $input-border-radius; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of <select>s in CSS.
126
- @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
145
+ @include box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075));
127
146
  @include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);
128
147
 
129
148
  // Customize the `:focus` state to imitate native WebKit styles.
@@ -134,8 +153,8 @@ output {
134
153
 
135
154
  // Unstyle the caret on `<select>`s in IE10+.
136
155
  &::-ms-expand {
137
- border: 0;
138
156
  background-color: transparent;
157
+ border: 0;
139
158
  }
140
159
 
141
160
  // Disabled and read-only inputs
@@ -164,18 +183,6 @@ textarea.form-control {
164
183
  }
165
184
 
166
185
 
167
- // Search inputs in iOS
168
- //
169
- // This overrides the extra rounded corners on search inputs in iOS so that our
170
- // `.form-control` class can properly style them. Note that this cannot simply
171
- // be added to `.form-control` as it's not specific enough. For details, see
172
- // https://github.com/twbs/bootstrap/issues/11586.
173
-
174
- input[type="search"] {
175
- -webkit-appearance: none;
176
- }
177
-
178
-
179
186
  // Special styles for iOS temporal inputs
180
187
  //
181
188
  // In Mobile Safari, setting `display: block` on temporal inputs causes the
@@ -228,11 +235,19 @@ input[type="search"] {
228
235
  margin-top: 10px;
229
236
  margin-bottom: 10px;
230
237
 
238
+ // These are used on elements with <label> descendants
239
+ &.disabled,
240
+ fieldset[disabled] & {
241
+ label {
242
+ cursor: $cursor-disabled;
243
+ }
244
+ }
245
+
231
246
  label {
232
247
  min-height: $line-height-computed; // Ensure the input doesn't jump when there is no text
233
248
  padding-left: 20px;
234
249
  margin-bottom: 0;
235
- font-weight: normal;
250
+ font-weight: 400;
236
251
  cursor: pointer;
237
252
  }
238
253
  }
@@ -241,8 +256,8 @@ input[type="search"] {
241
256
  .checkbox input[type="checkbox"],
242
257
  .checkbox-inline input[type="checkbox"] {
243
258
  position: absolute;
244
- margin-left: -20px;
245
259
  margin-top: 4px \9;
260
+ margin-left: -20px;
246
261
  }
247
262
 
248
263
  .radio + .radio,
@@ -257,45 +272,20 @@ input[type="search"] {
257
272
  display: inline-block;
258
273
  padding-left: 20px;
259
274
  margin-bottom: 0;
275
+ font-weight: 400;
260
276
  vertical-align: middle;
261
- font-weight: normal;
262
277
  cursor: pointer;
263
- }
264
- .radio-inline + .radio-inline,
265
- .checkbox-inline + .checkbox-inline {
266
- margin-top: 0;
267
- margin-left: 10px; // space out consecutive inline controls
268
- }
269
278
 
270
- // Apply same disabled cursor tweak as for inputs
271
- // Some special care is needed because <label>s don't inherit their parent's `cursor`.
272
- //
273
- // Note: Neither radios nor checkboxes can be readonly.
274
- input[type="radio"],
275
- input[type="checkbox"] {
276
- &[disabled],
277
- &.disabled,
278
- fieldset[disabled] & {
279
- cursor: $cursor-disabled;
280
- }
281
- }
282
- // These classes are used directly on <label>s
283
- .radio-inline,
284
- .checkbox-inline {
279
+ // These are used directly on <label>s
285
280
  &.disabled,
286
281
  fieldset[disabled] & {
287
282
  cursor: $cursor-disabled;
288
283
  }
289
284
  }
290
- // These classes are used on elements with <label> descendants
291
- .radio,
292
- .checkbox {
293
- &.disabled,
294
- fieldset[disabled] & {
295
- label {
296
- cursor: $cursor-disabled;
297
- }
298
- }
285
+ .radio-inline + .radio-inline,
286
+ .checkbox-inline + .checkbox-inline {
287
+ margin-top: 0;
288
+ margin-left: 10px; // space out consecutive inline controls
299
289
  }
300
290
 
301
291
 
@@ -305,17 +295,17 @@ input[type="checkbox"] {
305
295
  // a horizontal form layout.
306
296
 
307
297
  .form-control-static {
298
+ min-height: ($line-height-computed + $font-size-base);
308
299
  // Size it appropriately next to real form controls
309
300
  padding-top: ($padding-base-vertical + 1);
310
301
  padding-bottom: ($padding-base-vertical + 1);
311
302
  // Remove default margin from `p`
312
303
  margin-bottom: 0;
313
- min-height: ($line-height-computed + $font-size-base);
314
304
 
315
305
  &.input-lg,
316
306
  &.input-sm {
317
- padding-left: 0;
318
307
  padding-right: 0;
308
+ padding-left: 0;
319
309
  }
320
310
  }
321
311
 
@@ -560,9 +550,9 @@ input[type="checkbox"] {
560
550
  .checkbox,
561
551
  .radio-inline,
562
552
  .checkbox-inline {
553
+ padding-top: ($padding-base-vertical + 1); // Default padding plus a border
563
554
  margin-top: 0;
564
555
  margin-bottom: 0;
565
- padding-top: ($padding-base-vertical + 1); // Default padding plus a border
566
556
  }
567
557
  // Account for padding we're adding to ensure the alignment and of help text
568
558
  // and other content below items
@@ -580,9 +570,9 @@ input[type="checkbox"] {
580
570
  // labels on narrow viewports stack the same as a default form example.
581
571
  @media (min-width: $screen-sm-min) {
582
572
  .control-label {
583
- text-align: right;
584
- margin-bottom: 0;
585
573
  padding-top: ($padding-base-vertical + 1); // Default padding plus a border
574
+ margin-bottom: 0;
575
+ text-align: right;
586
576
  }
587
577
  }
588
578
 
@@ -10,13 +10,13 @@
10
10
  @at-root {
11
11
  // Import the fonts
12
12
  @font-face {
13
- font-family: 'Glyphicons Halflings';
14
- src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot'), '#{$icon-font-path}#{$icon-font-name}.eot'));
15
- src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot?#iefix'), '#{$icon-font-path}#{$icon-font-name}.eot?#iefix')) format('embedded-opentype'),
16
- url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.woff2'), '#{$icon-font-path}#{$icon-font-name}.woff2')) format('woff2'),
17
- url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.woff'), '#{$icon-font-path}#{$icon-font-name}.woff')) format('woff'),
18
- url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.ttf'), '#{$icon-font-path}#{$icon-font-name}.ttf')) format('truetype'),
19
- url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}'), '#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}')) format('svg');
13
+ font-family: "Glyphicons Halflings";
14
+ src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$icon-font-path}#{$icon-font-name}.eot"), "#{$icon-font-path}#{$icon-font-name}.eot"));
15
+ src: url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$icon-font-path}#{$icon-font-name}.eot?#iefix"), "#{$icon-font-path}#{$icon-font-name}.eot?#iefix")) format("embedded-opentype"),
16
+ url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$icon-font-path}#{$icon-font-name}.woff2"), "#{$icon-font-path}#{$icon-font-name}.woff2")) format("woff2"),
17
+ url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$icon-font-path}#{$icon-font-name}.woff"), "#{$icon-font-path}#{$icon-font-name}.woff")) format("woff"),
18
+ url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$icon-font-path}#{$icon-font-name}.ttf"), "#{$icon-font-path}#{$icon-font-name}.ttf")) format("truetype"),
19
+ url(if($bootstrap-sass-asset-helper, twbs-font-path("#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}"), "#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}")) format("svg");
20
20
  }
21
21
  }
22
22
 
@@ -25,9 +25,9 @@
25
25
  position: relative;
26
26
  top: 1px;
27
27
  display: inline-block;
28
- font-family: 'Glyphicons Halflings';
28
+ font-family: "Glyphicons Halflings";
29
29
  font-style: normal;
30
- font-weight: normal;
30
+ font-weight: 400;
31
31
  line-height: 1;
32
32
  -webkit-font-smoothing: antialiased;
33
33
  -moz-osx-font-smoothing: grayscale;
@@ -40,6 +40,16 @@
40
40
  @include make-row;
41
41
  }
42
42
 
43
+ .row-no-gutters {
44
+ margin-right: 0;
45
+ margin-left: 0;
46
+
47
+ [class*="col-"] {
48
+ padding-right: 0;
49
+ padding-left: 0;
50
+ }
51
+ }
52
+
43
53
 
44
54
  // Columns
45
55
  //
@@ -12,8 +12,8 @@
12
12
  // Undo padding and float of grid classes
13
13
  &[class*="col-"] {
14
14
  float: none;
15
- padding-left: 0;
16
15
  padding-right: 0;
16
+ padding-left: 0;
17
17
  }
18
18
 
19
19
  .form-control {
@@ -77,7 +77,7 @@
77
77
  .input-group-addon {
78
78
  padding: $padding-base-vertical $padding-base-horizontal;
79
79
  font-size: $font-size-base;
80
- font-weight: normal;
80
+ font-weight: 400;
81
81
  line-height: 1;
82
82
  color: $input-color;
83
83
  text-align: center;
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
  .jumbotron {
7
- padding-top: $jumbotron-padding;
7
+ padding-top: $jumbotron-padding;
8
8
  padding-bottom: $jumbotron-padding;
9
9
  margin-bottom: $jumbotron-padding;
10
10
  color: $jumbotron-color;
@@ -27,9 +27,9 @@
27
27
 
28
28
  .container &,
29
29
  .container-fluid & {
30
- border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container
31
- padding-left: ($grid-gutter-width / 2);
32
30
  padding-right: ($grid-gutter-width / 2);
31
+ padding-left: ($grid-gutter-width / 2);
32
+ border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container
33
33
  }
34
34
 
35
35
  .container {
@@ -37,13 +37,13 @@
37
37
  }
38
38
 
39
39
  @media screen and (min-width: $screen-sm-min) {
40
- padding-top: ($jumbotron-padding * 1.6);
40
+ padding-top: ($jumbotron-padding * 1.6);
41
41
  padding-bottom: ($jumbotron-padding * 1.6);
42
42
 
43
43
  .container &,
44
44
  .container-fluid & {
45
- padding-left: ($jumbotron-padding * 2);
46
45
  padding-right: ($jumbotron-padding * 2);
46
+ padding-left: ($jumbotron-padding * 2);
47
47
  }
48
48
 
49
49
  h1,
@@ -6,7 +6,7 @@
6
6
  display: inline;
7
7
  padding: .2em .6em .3em;
8
8
  font-size: 75%;
9
- font-weight: bold;
9
+ font-weight: 700;
10
10
  line-height: 1;
11
11
  color: $label-color;
12
12
  text-align: center;
@@ -9,8 +9,8 @@
9
9
 
10
10
  .list-group {
11
11
  // No need to set list-style: none; since .list-group-item is block level
12
- margin-bottom: 20px;
13
12
  padding-left: 0; // reset padding because ul and ol
13
+ margin-bottom: 20px;
14
14
  }
15
15
 
16
16
 
@@ -35,44 +35,14 @@
35
35
  margin-bottom: 0;
36
36
  @include border-bottom-radius($list-group-border-radius);
37
37
  }
38
- }
39
-
40
-
41
- // Interactive list items
42
- //
43
- // Use anchor or button elements instead of `li`s or `div`s to create interactive items.
44
- // Includes an extra `.active` modifier class for showing selected items.
45
-
46
- a.list-group-item,
47
- button.list-group-item {
48
- color: $list-group-link-color;
49
-
50
- .list-group-item-heading {
51
- color: $list-group-link-heading-color;
52
- }
53
-
54
- // Hover state
55
- &:hover,
56
- &:focus {
57
- text-decoration: none;
58
- color: $list-group-link-hover-color;
59
- background-color: $list-group-hover-bg;
60
- }
61
- }
62
-
63
- button.list-group-item {
64
- width: 100%;
65
- text-align: left;
66
- }
67
38
 
68
- .list-group-item {
69
39
  // Disabled state
70
40
  &.disabled,
71
41
  &.disabled:hover,
72
42
  &.disabled:focus {
73
- background-color: $list-group-disabled-bg;
74
43
  color: $list-group-disabled-color;
75
44
  cursor: $cursor-disabled;
45
+ background-color: $list-group-disabled-bg;
76
46
 
77
47
  // Force color to inherit for custom content
78
48
  .list-group-item-heading {
@@ -105,6 +75,34 @@ button.list-group-item {
105
75
  }
106
76
 
107
77
 
78
+ // Interactive list items
79
+ //
80
+ // Use anchor or button elements instead of `li`s or `div`s to create interactive items.
81
+ // Includes an extra `.active` modifier class for showing selected items.
82
+
83
+ a.list-group-item,
84
+ button.list-group-item {
85
+ color: $list-group-link-color;
86
+
87
+ .list-group-item-heading {
88
+ color: $list-group-link-heading-color;
89
+ }
90
+
91
+ // Hover state
92
+ &:hover,
93
+ &:focus {
94
+ color: $list-group-link-hover-color;
95
+ text-decoration: none;
96
+ background-color: $list-group-hover-bg;
97
+ }
98
+ }
99
+
100
+ button.list-group-item {
101
+ width: 100%;
102
+ text-align: left;
103
+ }
104
+
105
+
108
106
  // Contextual variants
109
107
  //
110
108
  // Add modifier classes to change text and background color on individual items.
@@ -9,8 +9,8 @@
9
9
 
10
10
  .media,
11
11
  .media-body {
12
- zoom: 1;
13
12
  overflow: hidden;
13
+ zoom: 1;
14
14
  }
15
15
 
16
16
  .media-body {
@@ -14,14 +14,14 @@
14
14
 
15
15
  // Container that the modal scrolls within
16
16
  .modal {
17
- display: none;
18
- overflow: hidden;
19
17
  position: fixed;
20
18
  top: 0;
21
19
  right: 0;
22
20
  bottom: 0;
23
21
  left: 0;
24
22
  z-index: $zindex-modal;
23
+ display: none;
24
+ overflow: hidden;
25
25
  -webkit-overflow-scrolling: touch;
26
26
 
27
27
  // Prevent Chrome on Windows from adding a focus outline. For details, see
@@ -51,11 +51,11 @@
51
51
  .modal-content {
52
52
  position: relative;
53
53
  background-color: $modal-content-bg;
54
+ background-clip: padding-box;
54
55
  border: 1px solid $modal-content-fallback-border-color; //old browsers fallback (ie8 etc)
55
56
  border: 1px solid $modal-content-border-color;
56
57
  border-radius: $border-radius-large;
57
- @include box-shadow(0 3px 9px rgba(0,0,0,.5));
58
- background-clip: padding-box;
58
+ @include box-shadow(0 3px 9px rgba(0, 0, 0, .5));
59
59
  // Remove focus outline from opened modal
60
60
  outline: 0;
61
61
  }
@@ -108,8 +108,8 @@
108
108
 
109
109
  // Properly space out buttons
110
110
  .btn + .btn {
111
- margin-left: 5px;
112
111
  margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
112
+ margin-left: 5px;
113
113
  }
114
114
  // but override that for button groups
115
115
  .btn-group .btn + .btn {
@@ -138,7 +138,7 @@
138
138
  margin: 30px auto;
139
139
  }
140
140
  .modal-content {
141
- @include box-shadow(0 5px 15px rgba(0,0,0,.5));
141
+ @include box-shadow(0 5px 15px rgba(0, 0, 0, .5));
142
142
  }
143
143
 
144
144
  // Modal sizes