bootstrap-sass 3.3.6 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/.travis.yml +4 -10
  4. data/CHANGELOG.md +15 -4
  5. data/Gemfile +1 -4
  6. data/LICENSE +2 -1
  7. data/README.md +71 -69
  8. data/Rakefile +12 -8
  9. data/assets/javascripts/bootstrap/affix.js +7 -5
  10. data/assets/javascripts/bootstrap/alert.js +6 -5
  11. data/assets/javascripts/bootstrap/button.js +14 -9
  12. data/assets/javascripts/bootstrap/carousel.js +16 -7
  13. data/assets/javascripts/bootstrap/collapse.js +7 -6
  14. data/assets/javascripts/bootstrap/dropdown.js +5 -5
  15. data/assets/javascripts/bootstrap/modal.js +44 -23
  16. data/assets/javascripts/bootstrap/popover.js +25 -10
  17. data/assets/javascripts/bootstrap/scrollspy.js +4 -4
  18. data/assets/javascripts/bootstrap/tab.js +10 -10
  19. data/assets/javascripts/bootstrap/tooltip.js +177 -14
  20. data/assets/javascripts/bootstrap/transition.js +5 -5
  21. data/assets/javascripts/bootstrap.js +324 -107
  22. data/assets/javascripts/bootstrap.min.js +3 -4
  23. data/assets/stylesheets/_bootstrap.scss +2 -2
  24. data/assets/stylesheets/bootstrap/_alerts.scss +3 -3
  25. data/assets/stylesheets/bootstrap/_badges.scss +3 -3
  26. data/assets/stylesheets/bootstrap/_breadcrumbs.scss +2 -2
  27. data/assets/stylesheets/bootstrap/_button-groups.scss +6 -6
  28. data/assets/stylesheets/bootstrap/_buttons.scss +4 -4
  29. data/assets/stylesheets/bootstrap/_carousel.scss +26 -25
  30. data/assets/stylesheets/bootstrap/_close.scss +1 -0
  31. data/assets/stylesheets/bootstrap/_code.scss +3 -3
  32. data/assets/stylesheets/bootstrap/_component-animations.scss +1 -0
  33. data/assets/stylesheets/bootstrap/_dropdowns.scss +20 -23
  34. data/assets/stylesheets/bootstrap/_forms.scss +48 -58
  35. data/assets/stylesheets/bootstrap/_glyphicons.scss +9 -9
  36. data/assets/stylesheets/bootstrap/_grid.scss +10 -0
  37. data/assets/stylesheets/bootstrap/_input-groups.scss +3 -3
  38. data/assets/stylesheets/bootstrap/_jumbotron.scss +5 -5
  39. data/assets/stylesheets/bootstrap/_labels.scss +1 -1
  40. data/assets/stylesheets/bootstrap/_list-group.scss +30 -32
  41. data/assets/stylesheets/bootstrap/_media.scss +1 -1
  42. data/assets/stylesheets/bootstrap/_modals.scss +7 -7
  43. data/assets/stylesheets/bootstrap/_navbar.scss +75 -81
  44. data/assets/stylesheets/bootstrap/_navs.scss +4 -4
  45. data/assets/stylesheets/bootstrap/_normalize.scss +5 -2
  46. data/assets/stylesheets/bootstrap/_pager.scss +2 -2
  47. data/assets/stylesheets/bootstrap/_pagination.scss +12 -15
  48. data/assets/stylesheets/bootstrap/_panels.scss +5 -5
  49. data/assets/stylesheets/bootstrap/_popovers.scss +47 -52
  50. data/assets/stylesheets/bootstrap/_print.scss +90 -92
  51. data/assets/stylesheets/bootstrap/_progress-bars.scss +3 -3
  52. data/assets/stylesheets/bootstrap/_responsive-embed.scss +2 -2
  53. data/assets/stylesheets/bootstrap/_responsive-utilities.scss +3 -3
  54. data/assets/stylesheets/bootstrap/_scaffolding.scss +7 -7
  55. data/assets/stylesheets/bootstrap/_tables.scss +23 -23
  56. data/assets/stylesheets/bootstrap/_theme.scss +21 -17
  57. data/assets/stylesheets/bootstrap/_thumbnails.scss +1 -1
  58. data/assets/stylesheets/bootstrap/_tooltip.scss +38 -27
  59. data/assets/stylesheets/bootstrap/_type.scss +10 -10
  60. data/assets/stylesheets/bootstrap/_variables.scss +7 -7
  61. data/assets/stylesheets/bootstrap/_wells.scss +2 -2
  62. data/assets/stylesheets/bootstrap/mixins/_alerts.scss +2 -1
  63. data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +4 -4
  64. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +6 -10
  65. data/assets/stylesheets/bootstrap/mixins/_center-block.scss +1 -1
  66. data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +1 -1
  67. data/assets/stylesheets/bootstrap/mixins/_forms.scss +4 -4
  68. data/assets/stylesheets/bootstrap/mixins/_gradients.scss +6 -8
  69. data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +1 -1
  70. data/assets/stylesheets/bootstrap/mixins/_grid.scss +7 -7
  71. data/assets/stylesheets/bootstrap/mixins/_image.scss +5 -10
  72. data/assets/stylesheets/bootstrap/mixins/_opacity.scss +2 -3
  73. data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +4 -4
  74. data/assets/stylesheets/bootstrap/mixins/_resize.scss +1 -1
  75. data/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +0 -4
  76. data/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +3 -3
  77. data/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +1 -1
  78. data/bootstrap-sass.gemspec +5 -4
  79. data/bower.json +2 -2
  80. data/composer.json +1 -1
  81. data/eyeglass-exports.js +7 -0
  82. data/lib/bootstrap-sass/version.rb +2 -2
  83. data/lib/bootstrap-sass.rb +13 -16
  84. data/package-lock.json +1611 -0
  85. data/package.json +19 -5
  86. data/tasks/converter/less_conversion.rb +7 -8
  87. data/tasks/converter/network.rb +2 -2
  88. data/templates/project/_bootstrap-variables.sass +8 -8
  89. data/test/compilation_test.rb +24 -12
  90. data/test/dummy_rails/config/application.rb +1 -0
  91. data/test/dummy_rails/config/boot.rb +1 -1
  92. data/test/dummy_sass_only/Gemfile +1 -1
  93. data/test/dummy_sass_only/compile.rb +14 -7
  94. data/test/dummy_sass_only/import_all.scss +2 -0
  95. data/test/gemfiles/default.gemfile +3 -0
  96. data/test/node_sass_compile_test.sh +4 -3
  97. data/test/sass_test.rb +10 -7
  98. data/test/sprockets_rails_test.rb +12 -8
  99. data/test/support/dummy_rails_integration.rb +1 -1
  100. data/test/test_helper.rb +2 -1
  101. metadata +34 -26
  102. data/test/compass_test.rb +0 -9
  103. data/test/dummy_sass_only/import_all.sass +0 -2
  104. data/test/gemfiles/rails_head.gemfile +0 -17
  105. data/test/gemfiles/sass_3_3.gemfile +0 -6
  106. data/test/gemfiles/sass_3_4.gemfile +0 -7
  107. data/test/gemfiles/sass_head.gemfile +0 -6
@@ -10,10 +10,10 @@
10
10
  height: 0;
11
11
  margin-left: 2px;
12
12
  vertical-align: middle;
13
- border-top: $caret-width-base dashed;
14
- border-top: $caret-width-base solid \9; // IE8
13
+ border-top: $caret-width-base dashed;
14
+ border-top: $caret-width-base solid \9; // IE8
15
15
  border-right: $caret-width-base solid transparent;
16
- border-left: $caret-width-base solid transparent;
16
+ border-left: $caret-width-base solid transparent;
17
17
  }
18
18
 
19
19
  // The dropdown wrapper (div)
@@ -38,15 +38,15 @@
38
38
  min-width: 160px;
39
39
  padding: 5px 0;
40
40
  margin: 2px 0 0; // override default ul
41
- list-style: none;
42
41
  font-size: $font-size-base;
43
42
  text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
43
+ list-style: none;
44
44
  background-color: $dropdown-bg;
45
+ background-clip: padding-box;
45
46
  border: 1px solid $dropdown-fallback-border; // IE8 fallback
46
47
  border: 1px solid $dropdown-border;
47
48
  border-radius: $border-radius-base;
48
- @include box-shadow(0 6px 12px rgba(0,0,0,.175));
49
- background-clip: padding-box;
49
+ @include box-shadow(0 6px 12px rgba(0, 0, 0, .175));
50
50
 
51
51
  // Aligns the dropdown menu to right
52
52
  //
@@ -66,20 +66,17 @@
66
66
  display: block;
67
67
  padding: 3px 20px;
68
68
  clear: both;
69
- font-weight: normal;
69
+ font-weight: 400;
70
70
  line-height: $line-height-base;
71
71
  color: $dropdown-link-color;
72
72
  white-space: nowrap; // prevent links from randomly breaking onto new lines
73
- }
74
- }
75
73
 
76
- // Hover/Focus state
77
- .dropdown-menu > li > a {
78
- &:hover,
79
- &:focus {
80
- text-decoration: none;
81
- color: $dropdown-link-hover-color;
82
- background-color: $dropdown-link-hover-bg;
74
+ &:hover,
75
+ &:focus {
76
+ color: $dropdown-link-hover-color;
77
+ text-decoration: none;
78
+ background-color: $dropdown-link-hover-bg;
79
+ }
83
80
  }
84
81
  }
85
82
 
@@ -90,8 +87,8 @@
90
87
  &:focus {
91
88
  color: $dropdown-link-active-color;
92
89
  text-decoration: none;
93
- outline: 0;
94
90
  background-color: $dropdown-link-active-bg;
91
+ outline: 0;
95
92
  }
96
93
  }
97
94
 
@@ -110,10 +107,10 @@
110
107
  &:hover,
111
108
  &:focus {
112
109
  text-decoration: none;
110
+ cursor: $cursor-disabled;
113
111
  background-color: transparent;
114
112
  background-image: none; // Remove CSS gradient
115
113
  @include reset-filter;
116
- cursor: $cursor-disabled;
117
114
  }
118
115
  }
119
116
 
@@ -135,8 +132,8 @@
135
132
  // Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
136
133
  // menu with the parent.
137
134
  .dropdown-menu-right {
138
- left: auto; // Reset the default from `.dropdown-menu`
139
135
  right: 0;
136
+ left: auto; // Reset the default from `.dropdown-menu`
140
137
  }
141
138
  // With v3, we enabled auto-flipping if you have a dropdown within a right
142
139
  // aligned nav component. To enable the undoing of that, we provide an override
@@ -145,8 +142,8 @@
145
142
  // This is only for left-aligning a dropdown menu within a `.navbar-right` or
146
143
  // `.pull-right` nav component.
147
144
  .dropdown-menu-left {
148
- left: 0;
149
145
  right: auto;
146
+ left: 0;
150
147
  }
151
148
 
152
149
  // Dropdown section headers
@@ -162,10 +159,10 @@
162
159
  // Backdrop to catch body clicks on mobile, etc.
163
160
  .dropdown-backdrop {
164
161
  position: fixed;
165
- left: 0;
162
+ top: 0;
166
163
  right: 0;
167
164
  bottom: 0;
168
- top: 0;
165
+ left: 0;
169
166
  z-index: ($zindex-dropdown - 10);
170
167
  }
171
168
 
@@ -184,10 +181,10 @@
184
181
  .navbar-fixed-bottom .dropdown {
185
182
  // Reverse the caret
186
183
  .caret {
184
+ content: "";
187
185
  border-top: 0;
188
186
  border-bottom: $caret-width-base dashed;
189
187
  border-bottom: $caret-width-base solid \9; // IE8
190
- content: "";
191
188
  }
192
189
  // Different positioning for bottom up menu
193
190
  .dropdown-menu {
@@ -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
@@ -183,7 +190,7 @@ input[type="search"] {
183
190
  // set a pixel line-height that matches the given height of the input, but only
184
191
  // for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848
185
192
  //
186
- // Note that as of 8.3, iOS doesn't support `datetime` or `week`.
193
+ // Note that as of 9.3, iOS doesn't support `week`.
187
194
 
188
195
  @media screen and (-webkit-min-device-pixel-ratio: 0) {
189
196
  input[type="date"],
@@ -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 {
@@ -29,7 +29,7 @@
29
29
 
30
30
  width: 100%;
31
31
  margin-bottom: 0;
32
-
32
+
33
33
  &:focus {
34
34
  z-index: 3;
35
35
  }
@@ -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
@@ -33,7 +33,7 @@
33
33
  @include translate(0, -25%);
34
34
  @include transition-transform(0.3s ease-out);
35
35
  }
36
- &.in .modal-dialog { @include translate(0, 0) }
36
+ &.in .modal-dialog { @include translate(0, 0); }
37
37
  }
38
38
  .modal-open .modal {
39
39
  overflow-x: hidden;
@@ -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