bootswatch-sass 3.3.1.4 → 3.3.2

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 (135) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +8 -0
  3. data/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  4. data/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +273 -214
  5. data/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  6. data/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  7. data/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  8. data/assets/javascripts/bootstrap/affix.js +4 -4
  9. data/assets/javascripts/bootstrap/alert.js +3 -3
  10. data/assets/javascripts/bootstrap/button.js +3 -3
  11. data/assets/javascripts/bootstrap/carousel.js +7 -10
  12. data/assets/javascripts/bootstrap/collapse.js +4 -4
  13. data/assets/javascripts/bootstrap/dropdown.js +3 -3
  14. data/assets/javascripts/bootstrap/modal.js +3 -3
  15. data/assets/javascripts/bootstrap/popover.js +7 -13
  16. data/assets/javascripts/bootstrap/scrollspy.js +3 -3
  17. data/assets/javascripts/bootstrap/tab.js +3 -3
  18. data/assets/javascripts/bootstrap/tooltip.js +10 -16
  19. data/assets/javascripts/bootstrap/transition.js +2 -2
  20. data/assets/stylesheets/bootstrap/_alerts.scss +5 -0
  21. data/assets/stylesheets/bootstrap/_badges.scss +4 -0
  22. data/assets/stylesheets/bootstrap/_button-groups.scss +2 -2
  23. data/assets/stylesheets/bootstrap/_buttons.scss +1 -1
  24. data/assets/stylesheets/bootstrap/_carousel.scss +8 -6
  25. data/assets/stylesheets/bootstrap/_close.scss +1 -0
  26. data/assets/stylesheets/bootstrap/_dropdowns.scss +2 -1
  27. data/assets/stylesheets/bootstrap/_forms.scss +41 -19
  28. data/assets/stylesheets/bootstrap/_glyphicons.scss +73 -5
  29. data/assets/stylesheets/bootstrap/_jumbotron.scss +1 -0
  30. data/assets/stylesheets/bootstrap/_media.scss +14 -0
  31. data/assets/stylesheets/bootstrap/_navbar.scss +1 -0
  32. data/assets/stylesheets/bootstrap/_panels.scss +5 -1
  33. data/assets/stylesheets/bootstrap/_popovers.scss +1 -1
  34. data/assets/stylesheets/bootstrap/_responsive-utilities.scss +4 -1
  35. data/assets/stylesheets/bootstrap/_tables.scss +3 -3
  36. data/assets/stylesheets/bootstrap/_theme.scss +3 -2
  37. data/assets/stylesheets/bootstrap/_tooltip.scss +1 -1
  38. data/assets/stylesheets/bootstrap/_variables.scss +7 -9
  39. data/assets/stylesheets/bootstrap/mixins/_hide-text.scss +1 -1
  40. data/assets/stylesheets/bootstrap/mixins/_opacity.scss +1 -1
  41. data/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +1 -1
  42. data/assets/stylesheets/cerulean/_bootswatch.scss +1 -1
  43. data/assets/stylesheets/cerulean/_variables.scss +3 -2
  44. data/assets/stylesheets/cosmo/_bootswatch.scss +1 -1
  45. data/assets/stylesheets/cosmo/_variables.scss +3 -2
  46. data/assets/stylesheets/cyborg/_bootswatch.scss +1 -1
  47. data/assets/stylesheets/cyborg/_variables.scss +3 -2
  48. data/assets/stylesheets/darkly/_bootswatch.scss +2 -2
  49. data/assets/stylesheets/darkly/_variables.scss +5 -4
  50. data/assets/stylesheets/flatly/_bootswatch.scss +2 -2
  51. data/assets/stylesheets/flatly/_variables.scss +4 -3
  52. data/assets/stylesheets/journal/_bootswatch.scss +2 -2
  53. data/assets/stylesheets/journal/_variables.scss +3 -2
  54. data/assets/stylesheets/lumen/_bootswatch.scss +5 -5
  55. data/assets/stylesheets/lumen/_variables.scss +3 -2
  56. data/assets/stylesheets/paper/_bootswatch.scss +42 -3
  57. data/assets/stylesheets/paper/_variables.scss +3 -2
  58. data/assets/stylesheets/readable/_bootswatch.scss +7 -4
  59. data/assets/stylesheets/readable/_variables.scss +3 -2
  60. data/assets/stylesheets/sandstone/_bootswatch.scss +1 -5
  61. data/assets/stylesheets/sandstone/_variables.scss +3 -2
  62. data/assets/stylesheets/simplex/_bootswatch.scss +1 -1
  63. data/assets/stylesheets/simplex/_variables.scss +3 -2
  64. data/assets/stylesheets/slate/_bootswatch.scss +1 -1
  65. data/assets/stylesheets/slate/_variables.scss +3 -2
  66. data/assets/stylesheets/spacelab/_bootswatch.scss +1 -1
  67. data/assets/stylesheets/spacelab/_variables.scss +3 -2
  68. data/assets/stylesheets/superhero/_bootswatch.scss +1 -1
  69. data/assets/stylesheets/superhero/_variables.scss +3 -2
  70. data/assets/stylesheets/united/_bootswatch.scss +1 -1
  71. data/assets/stylesheets/united/_variables.scss +3 -2
  72. data/assets/stylesheets/yeti/_bootswatch.scss +1 -1
  73. data/assets/stylesheets/yeti/_variables.scss +5 -4
  74. data/bootswatch-sass.gemspec +1 -1
  75. data/lib/bootswatch-sass/engine.rb +1 -1
  76. data/lib/bootswatch-sass/version.rb +1 -1
  77. data/test/dummy/Gemfile +42 -0
  78. data/test/dummy/Rakefile +6 -0
  79. data/test/dummy/app/assets/images/.keep +0 -0
  80. data/test/dummy/app/assets/javascripts/application.js +5 -0
  81. data/test/dummy/app/assets/javascripts/application/main.js +40 -0
  82. data/test/dummy/app/assets/stylesheets/application.css.scss +6 -0
  83. data/test/dummy/app/assets/stylesheets/application/main.css.scss +146 -0
  84. data/test/dummy/app/assets/stylesheets/cerulean.css.scss +6 -0
  85. data/test/dummy/app/assets/stylesheets/cosmo.css.scss +6 -0
  86. data/test/dummy/app/assets/stylesheets/cyborg.css.scss +6 -0
  87. data/test/dummy/app/assets/stylesheets/darkly.css.scss +6 -0
  88. data/test/dummy/app/assets/stylesheets/flatly.css.scss +6 -0
  89. data/test/dummy/app/assets/stylesheets/journal.css.scss +6 -0
  90. data/test/dummy/app/assets/stylesheets/lumen.css.scss +6 -0
  91. data/test/dummy/app/assets/stylesheets/paper.css.scss +6 -0
  92. data/test/dummy/app/assets/stylesheets/readable.css.scss +6 -0
  93. data/test/dummy/app/assets/stylesheets/sandstone.css.scss +6 -0
  94. data/test/dummy/app/assets/stylesheets/simplex.css.scss +6 -0
  95. data/test/dummy/app/assets/stylesheets/slate.css.scss +6 -0
  96. data/test/dummy/app/assets/stylesheets/spacelab.css.scss +6 -0
  97. data/test/dummy/app/assets/stylesheets/superhero.css.scss +6 -0
  98. data/test/dummy/app/assets/stylesheets/united.css.scss +6 -0
  99. data/test/dummy/app/assets/stylesheets/yeti.css.scss +6 -0
  100. data/test/dummy/app/controllers/application_controller.rb +3 -0
  101. data/test/dummy/app/controllers/concerns/.keep +0 -0
  102. data/test/dummy/app/controllers/home_controller.rb +10 -0
  103. data/test/dummy/app/helpers/application_helper.rb +2 -0
  104. data/test/dummy/app/mailers/.keep +0 -0
  105. data/test/dummy/app/models/.keep +0 -0
  106. data/test/dummy/app/models/concerns/.keep +0 -0
  107. data/test/dummy/app/views/home/index.html.erb +1196 -0
  108. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  109. data/test/dummy/bin/bundle +3 -0
  110. data/test/dummy/bin/rails +8 -0
  111. data/test/dummy/bin/rake +8 -0
  112. data/test/dummy/config.ru +4 -0
  113. data/test/dummy/config/application.rb +31 -0
  114. data/test/dummy/config/boot.rb +3 -0
  115. data/test/dummy/config/environment.rb +5 -0
  116. data/test/dummy/config/environments/development.rb +38 -0
  117. data/test/dummy/config/environments/production.rb +76 -0
  118. data/test/dummy/config/environments/test.rb +42 -0
  119. data/test/dummy/config/initializers/assets.rb +14 -0
  120. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  121. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  122. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  123. data/test/dummy/config/initializers/inflections.rb +16 -0
  124. data/test/dummy/config/initializers/mime_types.rb +4 -0
  125. data/test/dummy/config/initializers/session_store.rb +3 -0
  126. data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
  127. data/test/dummy/config/locales/en.yml +23 -0
  128. data/test/dummy/config/routes.rb +4 -0
  129. data/test/dummy/config/secrets.yml +22 -0
  130. data/test/dummy/public/404.html +67 -0
  131. data/test/dummy/public/422.html +67 -0
  132. data/test/dummy/public/500.html +66 -0
  133. data/test/dummy/public/favicon.ico +0 -0
  134. data/test/dummy/public/robots.txt +5 -0
  135. metadata +130 -13
@@ -26,6 +26,7 @@
26
26
  // Additional properties for button version
27
27
  // iOS requires the button element instead of an anchor tag.
28
28
  // If you want the anchor version, it requires `href="#"`.
29
+ // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
29
30
  button.close {
30
31
  padding: 0;
31
32
  cursor: pointer;
@@ -16,6 +16,7 @@
16
16
  }
17
17
 
18
18
  // The dropdown wrapper (div)
19
+ .dropup,
19
20
  .dropdown {
20
21
  position: relative;
21
22
  }
@@ -190,7 +191,7 @@
190
191
  .dropdown-menu {
191
192
  top: auto;
192
193
  bottom: 100%;
193
- margin-bottom: 1px;
194
+ margin-bottom: 2px;
194
195
  }
195
196
  }
196
197
 
@@ -123,7 +123,7 @@ output {
123
123
  background-color: $input-bg;
124
124
  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
125
125
  border: 1px solid $input-border;
126
- border-radius: $input-border-radius;
126
+ 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.
127
127
  @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
128
128
  @include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);
129
129
 
@@ -143,7 +143,7 @@ output {
143
143
  fieldset[disabled] & {
144
144
  cursor: $cursor-disabled;
145
145
  background-color: $input-bg-disabled;
146
- opacity: 1; // iOS fix for unreadable disabled content
146
+ opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655
147
147
  }
148
148
 
149
149
  // [converter] extracted textarea& to textarea.form-control
@@ -172,7 +172,7 @@ input[type="search"] {
172
172
  // In Mobile Safari, setting `display: block` on temporal inputs causes the
173
173
  // text within the input to become vertically misaligned. As a workaround, we
174
174
  // set a pixel line-height that matches the given height of the input, but only
175
- // for Safari.
175
+ // for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848
176
176
 
177
177
  @media screen and (-webkit-min-device-pixel-ratio: 0) {
178
178
  input[type="date"],
@@ -180,18 +180,16 @@ input[type="search"] {
180
180
  input[type="datetime-local"],
181
181
  input[type="month"] {
182
182
  line-height: $input-height-base;
183
- }
184
- input[type="date"].input-sm,
185
- input[type="time"].input-sm,
186
- input[type="datetime-local"].input-sm,
187
- input[type="month"].input-sm {
188
- line-height: $input-height-small;
189
- }
190
- input[type="date"].input-lg,
191
- input[type="time"].input-lg,
192
- input[type="datetime-local"].input-lg,
193
- input[type="month"].input-lg {
194
- line-height: $input-height-large;
183
+
184
+ &.input-sm,
185
+ .input-group-sm & {
186
+ line-height: $input-height-small;
187
+ }
188
+
189
+ &.input-lg,
190
+ .input-group-lg & {
191
+ line-height: $input-height-large;
192
+ }
195
193
  }
196
194
  }
197
195
 
@@ -311,10 +309,35 @@ input[type="checkbox"] {
311
309
  //
312
310
  // Build on `.form-control` with modifier classes to decrease or increase the
313
311
  // height and font-size of form controls.
312
+ //
313
+ // The `.form-group-* form-control` variations are sadly duplicated to avoid the
314
+ // issue documented in https://github.com/twbs/bootstrap/issues/15074.
315
+
316
+ @include input-size('.input-sm', $input-height-small, $padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $input-border-radius-small);
317
+ .form-group-sm {
314
318
 
315
- @include input-size('.input-sm, .form-group-sm .form-control', $input-height-small, $padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $input-border-radius-small);
319
+ @include input-size('.form-control', $input-height-small, $padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $input-border-radius-small);
316
320
 
317
- @include input-size('.input-lg, .form-group-lg .form-control', $input-height-large, $padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $input-border-radius-large);
321
+ .form-control-static {
322
+ height: $input-height-small;
323
+ padding: $padding-small-vertical $padding-small-horizontal;
324
+ font-size: $font-size-small;
325
+ line-height: $line-height-small;
326
+ }
327
+ }
328
+
329
+ @include input-size('.input-lg', $input-height-large, $padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $input-border-radius-large);
330
+ .form-group-lg {
331
+
332
+ @include input-size('.form-control', $input-height-large, $padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $input-border-radius-large);
333
+
334
+ .form-control-static {
335
+ height: $input-height-large;
336
+ padding: $padding-large-vertical $padding-large-horizontal;
337
+ font-size: $font-size-large;
338
+ line-height: $line-height-large;
339
+ }
340
+ }
318
341
 
319
342
 
320
343
  // Form control feedback states
@@ -447,8 +470,7 @@ input[type="checkbox"] {
447
470
  }
448
471
 
449
472
  // Remove default margin on radios/checkboxes that were used for stacking, and
450
- // then undo the floating of radios and checkboxes to match (which also avoids
451
- // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).
473
+ // then undo the floating of radios and checkboxes to match.
452
474
  .radio,
453
475
  .checkbox {
454
476
  display: inline-block;
@@ -10,13 +10,15 @@
10
10
  // Import the fonts
11
11
  @font-face {
12
12
  font-family: 'Glyphicons Halflings';
13
- src: url(if($bootstrap-sass-asset-helper, font-path('#{$icon-font-path}#{$icon-font-name}.eot'), '#{$icon-font-path}#{$icon-font-name}.eot'));
14
- src: url(if($bootstrap-sass-asset-helper, font-path('#{$icon-font-path}#{$icon-font-name}.eot?#iefix'), '#{$icon-font-path}#{$icon-font-name}.eot?#iefix')) format('embedded-opentype'),
15
- url(if($bootstrap-sass-asset-helper, font-path('#{$icon-font-path}#{$icon-font-name}.woff'), '#{$icon-font-path}#{$icon-font-name}.woff')) format('woff'),
16
- url(if($bootstrap-sass-asset-helper, font-path('#{$icon-font-path}#{$icon-font-name}.ttf'), '#{$icon-font-path}#{$icon-font-name}.ttf')) format('truetype'),
17
- url(if($bootstrap-sass-asset-helper, 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
+ src: url(font-path('#{$icon-font-path}#{$icon-font-name}.eot'));
14
+ src: url(font-path('#{$icon-font-path}#{$icon-font-name}.eot?#iefix')) format('embedded-opentype'),
15
+ url(font-path('#{$icon-font-path}#{$icon-font-name}.woff2')) format('woff2'),
16
+ url(font-path('#{$icon-font-path}#{$icon-font-name}.woff')) format('woff'),
17
+ url(font-path('#{$icon-font-path}#{$icon-font-name}.ttf')) format('truetype'),
18
+ url(font-path('#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}')) format('svg');
18
19
  }
19
20
 
21
+
20
22
  // Catchall baseclass
21
23
  .glyphicon {
22
24
  position: relative;
@@ -232,3 +234,69 @@
232
234
  .glyphicon-cloud-upload { &:before { content: "\e198"; } }
233
235
  .glyphicon-tree-conifer { &:before { content: "\e199"; } }
234
236
  .glyphicon-tree-deciduous { &:before { content: "\e200"; } }
237
+ .glyphicon-cd { &:before { content: "\e201"; } }
238
+ .glyphicon-save-file { &:before { content: "\e202"; } }
239
+ .glyphicon-open-file { &:before { content: "\e203"; } }
240
+ .glyphicon-level-up { &:before { content: "\e204"; } }
241
+ .glyphicon-copy { &:before { content: "\e205"; } }
242
+ .glyphicon-paste { &:before { content: "\e206"; } }
243
+ // The following 2 Glyphicons are omitted for the time being because
244
+ // they currently use Unicode codepoints that are outside the
245
+ // Basic Multilingual Plane (BMP). Older buggy versions of WebKit can't handle
246
+ // non-BMP codepoints in CSS string escapes, and thus can't display these two icons.
247
+ // Notably, the bug affects some older versions of the Android Browser.
248
+ // More info: https://github.com/twbs/bootstrap/issues/10106
249
+ // .glyphicon-door { &:before { content: "\1f6aa"; } }
250
+ // .glyphicon-key { &:before { content: "\1f511"; } }
251
+ .glyphicon-alert { &:before { content: "\e209"; } }
252
+ .glyphicon-equalizer { &:before { content: "\e210"; } }
253
+ .glyphicon-king { &:before { content: "\e211"; } }
254
+ .glyphicon-queen { &:before { content: "\e212"; } }
255
+ .glyphicon-pawn { &:before { content: "\e213"; } }
256
+ .glyphicon-bishop { &:before { content: "\e214"; } }
257
+ .glyphicon-knight { &:before { content: "\e215"; } }
258
+ .glyphicon-baby-formula { &:before { content: "\e216"; } }
259
+ .glyphicon-tent { &:before { content: "\26fa"; } }
260
+ .glyphicon-blackboard { &:before { content: "\e218"; } }
261
+ .glyphicon-bed { &:before { content: "\e219"; } }
262
+ .glyphicon-apple { &:before { content: "\f8ff"; } }
263
+ .glyphicon-erase { &:before { content: "\e221"; } }
264
+ .glyphicon-hourglass { &:before { content: "\231b"; } }
265
+ .glyphicon-lamp { &:before { content: "\e223"; } }
266
+ .glyphicon-duplicate { &:before { content: "\e224"; } }
267
+ .glyphicon-piggy-bank { &:before { content: "\e225"; } }
268
+ .glyphicon-scissors { &:before { content: "\e226"; } }
269
+ .glyphicon-bitcoin { &:before { content: "\e227"; } }
270
+ .glyphicon-yen { &:before { content: "\00a5"; } }
271
+ .glyphicon-ruble { &:before { content: "\20bd"; } }
272
+ .glyphicon-scale { &:before { content: "\e230"; } }
273
+ .glyphicon-ice-lolly { &:before { content: "\e231"; } }
274
+ .glyphicon-ice-lolly-tasted { &:before { content: "\e232"; } }
275
+ .glyphicon-education { &:before { content: "\e233"; } }
276
+ .glyphicon-option-horizontal { &:before { content: "\e234"; } }
277
+ .glyphicon-option-vertical { &:before { content: "\e235"; } }
278
+ .glyphicon-menu-hamburger { &:before { content: "\e236"; } }
279
+ .glyphicon-modal-window { &:before { content: "\e237"; } }
280
+ .glyphicon-oil { &:before { content: "\e238"; } }
281
+ .glyphicon-grain { &:before { content: "\e239"; } }
282
+ .glyphicon-sunglasses { &:before { content: "\e240"; } }
283
+ .glyphicon-text-size { &:before { content: "\e241"; } }
284
+ .glyphicon-text-color { &:before { content: "\e242"; } }
285
+ .glyphicon-text-background { &:before { content: "\e243"; } }
286
+ .glyphicon-object-align-top { &:before { content: "\e244"; } }
287
+ .glyphicon-object-align-bottom { &:before { content: "\e245"; } }
288
+ .glyphicon-object-align-horizontal{ &:before { content: "\e246"; } }
289
+ .glyphicon-object-align-left { &:before { content: "\e247"; } }
290
+ .glyphicon-object-align-vertical { &:before { content: "\e248"; } }
291
+ .glyphicon-object-align-right { &:before { content: "\e249"; } }
292
+ .glyphicon-triangle-right { &:before { content: "\e250"; } }
293
+ .glyphicon-triangle-left { &:before { content: "\e251"; } }
294
+ .glyphicon-triangle-bottom { &:before { content: "\e252"; } }
295
+ .glyphicon-triangle-top { &:before { content: "\e253"; } }
296
+ .glyphicon-console { &:before { content: "\e254"; } }
297
+ .glyphicon-superscript { &:before { content: "\e255"; } }
298
+ .glyphicon-subscript { &:before { content: "\e256"; } }
299
+ .glyphicon-menu-left { &:before { content: "\e257"; } }
300
+ .glyphicon-menu-right { &:before { content: "\e258"; } }
301
+ .glyphicon-menu-down { &:before { content: "\e259"; } }
302
+ .glyphicon-menu-up { &:before { content: "\e260"; } }
@@ -13,6 +13,7 @@
13
13
  .h1 {
14
14
  color: $jumbotron-heading-color;
15
15
  }
16
+
16
17
  p {
17
18
  margin-bottom: ($jumbotron-padding / 2);
18
19
  font-size: $jumbotron-font-size;
@@ -7,6 +7,20 @@
7
7
  }
8
8
  }
9
9
 
10
+ .media,
11
+ .media-body {
12
+ zoom: 1;
13
+ overflow: hidden;
14
+ }
15
+
16
+ .media-body {
17
+ width: 10000px;
18
+ }
19
+
20
+ .media-object {
21
+ display: block;
22
+ }
23
+
10
24
  .media-right,
11
25
  .media > .pull-right {
12
26
  padding-left: 10px;
@@ -331,6 +331,7 @@
331
331
  }
332
332
  // Menu position and menu caret support for dropups via extra dropup class
333
333
  .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {
334
+ margin-bottom: 0;
334
335
  @include border-top-radius($navbar-border-radius);
335
336
  @include border-bottom-radius(0);
336
337
  }
@@ -36,7 +36,11 @@
36
36
  font-size: ceil(($font-size-base * 1.125));
37
37
  color: inherit;
38
38
 
39
- > a {
39
+ > a,
40
+ > small,
41
+ > .small,
42
+ > small > a,
43
+ > .small > a {
40
44
  color: inherit;
41
45
  }
42
46
  }
@@ -11,7 +11,7 @@
11
11
  display: none;
12
12
  max-width: $popover-max-width;
13
13
  padding: 1px;
14
- // Reset font and text propertes given new insertion method
14
+ // Reset font and text properties given new insertion method
15
15
  font-family: $font-family-base;
16
16
  font-size: $font-size-base;
17
17
  font-weight: normal;
@@ -26,7 +26,10 @@
26
26
  // Visibility utilities
27
27
  // Note: Deprecated .visible-xs, .visible-sm, .visible-md, and .visible-lg as of v3.2.0
28
28
 
29
- @include responsive-invisibility('.visible-xs, .visible-sm, .visible-md, .visible-lg');
29
+ @include responsive-invisibility('.visible-xs');
30
+ @include responsive-invisibility('.visible-sm');
31
+ @include responsive-invisibility('.visible-md');
32
+ @include responsive-invisibility('.visible-lg');
30
33
 
31
34
  .visible-xs-block,
32
35
  .visible-xs-inline,
@@ -111,7 +111,7 @@ th {
111
111
  // Default zebra-stripe styles (alternating gray and transparent backgrounds)
112
112
 
113
113
  .table-striped {
114
- > tbody > tr:nth-child(odd) {
114
+ > tbody > tr:nth-of-type(odd) {
115
115
  background-color: $table-bg-accent;
116
116
  }
117
117
  }
@@ -133,7 +133,7 @@ th {
133
133
  // Reset default table behavior
134
134
 
135
135
  table col[class*="col-"] {
136
- position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
136
+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
137
137
  float: none;
138
138
  display: table-column;
139
139
  }
@@ -141,7 +141,7 @@ table {
141
141
  td,
142
142
  th {
143
143
  &[class*="col-"] {
144
- position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
144
+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
145
145
  float: none;
146
146
  display: table-cell;
147
147
  }
@@ -36,7 +36,7 @@
36
36
  // Mixin for generating new styles
37
37
  @mixin btn-styles($btn-color: #555) {
38
38
  @include gradient-vertical($start-color: $btn-color, $end-color: darken($btn-color, 12%));
39
- @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; see https://github.com/twbs/bootstrap/issues/10620
40
40
  background-repeat: repeat-x;
41
41
  border-color: darken($btn-color, 14%);
42
42
 
@@ -52,6 +52,7 @@
52
52
  border-color: darken($btn-color, 14%);
53
53
  }
54
54
 
55
+ &.disabled,
55
56
  &:disabled,
56
57
  &[disabled] {
57
58
  background-color: darken($btn-color, 12%);
@@ -130,7 +131,7 @@
130
131
  // Inverted navbar
131
132
  .navbar-inverse {
132
133
  @include gradient-vertical($start-color: lighten($navbar-inverse-bg, 10%), $end-color: $navbar-inverse-bg);
133
- @include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered
134
+ @include reset-filter; // Remove gradient in IE<10 to fix bug where dropdowns don't get triggered; see https://github.com/twbs/bootstrap/issues/10257
134
135
 
135
136
  .navbar-nav > .open > a,
136
137
  .navbar-nav > .active > a {
@@ -9,7 +9,7 @@
9
9
  z-index: $zindex-tooltip;
10
10
  display: block;
11
11
  visibility: visible;
12
- // Reset font and text propertes given new insertion method
12
+ // Reset font and text properties given new insertion method
13
13
  font-family: $font-family-base;
14
14
  font-size: $font-size-small;
15
15
  font-weight: normal;
@@ -1,8 +1,4 @@
1
- // When true, asset path helpers are used, otherwise the regular CSS `url()` is used.
2
- // When there no function is defined, `fn('')` is parsed as string that equals the right hand side
3
- // NB: in Sass 3.3 there is a native function: function-exists(font-path)
4
- $bootstrap-sass-asset-helper: (font-path("") != unquote('font-path("")')) !default;
5
-
1
+ $bootstrap-sass-asset-helper: false !default;
6
2
  //
7
3
  // Variables
8
4
  // --------------------------------------------------
@@ -19,7 +15,7 @@ $gray: lighten($gray-base, 33.5%) !default; // #555
19
15
  $gray-light: lighten($gray-base, 46.7%) !default; // #777
20
16
  $gray-lighter: lighten($gray-base, 93.5%) !default; // #eee
21
17
 
22
- $brand-primary: darken(#428bca, 6.5%) !default;
18
+ $brand-primary: darken(#428bca, 6.5%) !default; // #337ab7
23
19
  $brand-success: #5cb85c !default;
24
20
  $brand-info: #5bc0de !default;
25
21
  $brand-warning: #f0ad4e !default;
@@ -82,8 +78,9 @@ $headings-color: inherit !default;
82
78
 
83
79
  //** Load fonts from this directory.
84
80
 
85
- // [converter] Asset helpers such as Sprockets and Node.js Mincer do not resolve relative paths
86
- $icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/") !default;
81
+ // [converter] If $bootstrap-sass-asset-helper if used, provide path relative to the assets load path.
82
+ // [converter] This is because some asset helpers, such as Sprockets, do not work with file-relative paths.
83
+ $icon-font-path: "bootstrap/" !default;
87
84
 
88
85
  //** File name for all font files.
89
86
  $icon-font-name: "glyphicons-halflings-regular" !default;
@@ -107,7 +104,7 @@ $padding-small-horizontal: 10px !default;
107
104
  $padding-xs-vertical: 1px !default;
108
105
  $padding-xs-horizontal: 5px !default;
109
106
 
110
- $line-height-large: 1.33 !default;
107
+ $line-height-large: 1.3333333 !default; // extra decimals for Win 8.1 Chrome
111
108
  $line-height-small: 1.5 !default;
112
109
 
113
110
  $border-radius-base: 4px !default;
@@ -195,6 +192,7 @@ $input-border: #ccc !default;
195
192
 
196
193
  // TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
197
194
  //** Default `.form-control` border radius
195
+ // This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
198
196
  $input-border-radius: $border-radius-base !default;
199
197
  //** Large `.form-control` border radius
200
198
  $input-border-radius-large: $border-radius-large !default;
@@ -8,7 +8,7 @@
8
8
 
9
9
  // Deprecated as of v3.0.1 (will be removed in v4)
10
10
  @mixin hide-text() {
11
- font: #{0/0} a;
11
+ font: 0/0 a;
12
12
  color: transparent;
13
13
  text-shadow: none;
14
14
  background-color: transparent;
@@ -4,5 +4,5 @@
4
4
  opacity: $opacity;
5
5
  // IE8 filter
6
6
  $opacity-ie: ($opacity * 100);
7
- filter: #{alpha(opacity=$opacity-ie)};
7
+ filter: alpha(opacity=$opacity-ie);
8
8
  }
@@ -102,7 +102,7 @@
102
102
  // Firefox
103
103
  &::-moz-placeholder {
104
104
  color: $color;
105
- opacity: 1; // See https://github.com/twbs/bootstrap/pull/11526
105
+ opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
106
106
  }
107
107
  &:-ms-input-placeholder { color: $color; } // Internet Explorer 10+
108
108
  &::-webkit-input-placeholder { color: $color; } // Safari and Chrome
@@ -1,4 +1,4 @@
1
- // Cerulean 3.3.1
1
+ // Cerulean 3.3.2
2
2
  // Bootswatch
3
3
  // -----------------------------------------------------
4
4
 
@@ -1,4 +1,4 @@
1
- // Cerulean 3.3.1
1
+ // Cerulean 3.3.2
2
2
  // Variables
3
3
  // --------------------------------------------------
4
4
 
@@ -99,7 +99,7 @@ $padding-small-horizontal: 10px;
99
99
  $padding-xs-vertical: 1px;
100
100
  $padding-xs-horizontal: 5px;
101
101
 
102
- $line-height-large: 1.33;
102
+ $line-height-large: 1.3333333; // extra decimals for Win 8.1 Chrome
103
103
  $line-height-small: 1.5;
104
104
 
105
105
  $border-radius-base: 4px;
@@ -187,6 +187,7 @@ $input-border: #ccc;
187
187
 
188
188
  // TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
189
189
  //** Default `.form-control` border radius
190
+ // This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
190
191
  $input-border-radius: $border-radius-base;
191
192
  //** Large `.form-control` border radius
192
193
  $input-border-radius-large: $border-radius-large;