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.
- checksums.yaml +4 -4
- data/.gitignore +8 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +273 -214
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
- data/assets/javascripts/bootstrap/affix.js +4 -4
- data/assets/javascripts/bootstrap/alert.js +3 -3
- data/assets/javascripts/bootstrap/button.js +3 -3
- data/assets/javascripts/bootstrap/carousel.js +7 -10
- data/assets/javascripts/bootstrap/collapse.js +4 -4
- data/assets/javascripts/bootstrap/dropdown.js +3 -3
- data/assets/javascripts/bootstrap/modal.js +3 -3
- data/assets/javascripts/bootstrap/popover.js +7 -13
- data/assets/javascripts/bootstrap/scrollspy.js +3 -3
- data/assets/javascripts/bootstrap/tab.js +3 -3
- data/assets/javascripts/bootstrap/tooltip.js +10 -16
- data/assets/javascripts/bootstrap/transition.js +2 -2
- data/assets/stylesheets/bootstrap/_alerts.scss +5 -0
- data/assets/stylesheets/bootstrap/_badges.scss +4 -0
- data/assets/stylesheets/bootstrap/_button-groups.scss +2 -2
- data/assets/stylesheets/bootstrap/_buttons.scss +1 -1
- data/assets/stylesheets/bootstrap/_carousel.scss +8 -6
- data/assets/stylesheets/bootstrap/_close.scss +1 -0
- data/assets/stylesheets/bootstrap/_dropdowns.scss +2 -1
- data/assets/stylesheets/bootstrap/_forms.scss +41 -19
- data/assets/stylesheets/bootstrap/_glyphicons.scss +73 -5
- data/assets/stylesheets/bootstrap/_jumbotron.scss +1 -0
- data/assets/stylesheets/bootstrap/_media.scss +14 -0
- data/assets/stylesheets/bootstrap/_navbar.scss +1 -0
- data/assets/stylesheets/bootstrap/_panels.scss +5 -1
- data/assets/stylesheets/bootstrap/_popovers.scss +1 -1
- data/assets/stylesheets/bootstrap/_responsive-utilities.scss +4 -1
- data/assets/stylesheets/bootstrap/_tables.scss +3 -3
- data/assets/stylesheets/bootstrap/_theme.scss +3 -2
- data/assets/stylesheets/bootstrap/_tooltip.scss +1 -1
- data/assets/stylesheets/bootstrap/_variables.scss +7 -9
- data/assets/stylesheets/bootstrap/mixins/_hide-text.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_opacity.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +1 -1
- data/assets/stylesheets/cerulean/_bootswatch.scss +1 -1
- data/assets/stylesheets/cerulean/_variables.scss +3 -2
- data/assets/stylesheets/cosmo/_bootswatch.scss +1 -1
- data/assets/stylesheets/cosmo/_variables.scss +3 -2
- data/assets/stylesheets/cyborg/_bootswatch.scss +1 -1
- data/assets/stylesheets/cyborg/_variables.scss +3 -2
- data/assets/stylesheets/darkly/_bootswatch.scss +2 -2
- data/assets/stylesheets/darkly/_variables.scss +5 -4
- data/assets/stylesheets/flatly/_bootswatch.scss +2 -2
- data/assets/stylesheets/flatly/_variables.scss +4 -3
- data/assets/stylesheets/journal/_bootswatch.scss +2 -2
- data/assets/stylesheets/journal/_variables.scss +3 -2
- data/assets/stylesheets/lumen/_bootswatch.scss +5 -5
- data/assets/stylesheets/lumen/_variables.scss +3 -2
- data/assets/stylesheets/paper/_bootswatch.scss +42 -3
- data/assets/stylesheets/paper/_variables.scss +3 -2
- data/assets/stylesheets/readable/_bootswatch.scss +7 -4
- data/assets/stylesheets/readable/_variables.scss +3 -2
- data/assets/stylesheets/sandstone/_bootswatch.scss +1 -5
- data/assets/stylesheets/sandstone/_variables.scss +3 -2
- data/assets/stylesheets/simplex/_bootswatch.scss +1 -1
- data/assets/stylesheets/simplex/_variables.scss +3 -2
- data/assets/stylesheets/slate/_bootswatch.scss +1 -1
- data/assets/stylesheets/slate/_variables.scss +3 -2
- data/assets/stylesheets/spacelab/_bootswatch.scss +1 -1
- data/assets/stylesheets/spacelab/_variables.scss +3 -2
- data/assets/stylesheets/superhero/_bootswatch.scss +1 -1
- data/assets/stylesheets/superhero/_variables.scss +3 -2
- data/assets/stylesheets/united/_bootswatch.scss +1 -1
- data/assets/stylesheets/united/_variables.scss +3 -2
- data/assets/stylesheets/yeti/_bootswatch.scss +1 -1
- data/assets/stylesheets/yeti/_variables.scss +5 -4
- data/bootswatch-sass.gemspec +1 -1
- data/lib/bootswatch-sass/engine.rb +1 -1
- data/lib/bootswatch-sass/version.rb +1 -1
- data/test/dummy/Gemfile +42 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +5 -0
- data/test/dummy/app/assets/javascripts/application/main.js +40 -0
- data/test/dummy/app/assets/stylesheets/application.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/application/main.css.scss +146 -0
- data/test/dummy/app/assets/stylesheets/cerulean.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/cosmo.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/cyborg.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/darkly.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/flatly.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/journal.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/lumen.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/paper.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/readable.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/sandstone.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/simplex.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/slate.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/spacelab.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/superhero.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/united.css.scss +6 -0
- data/test/dummy/app/assets/stylesheets/yeti.css.scss +6 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/controllers/home_controller.rb +10 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/.keep +0 -0
- data/test/dummy/app/models/.keep +0 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/home/index.html.erb +1196 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +8 -0
- data/test/dummy/bin/rake +8 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +31 -0
- data/test/dummy/config/boot.rb +3 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +38 -0
- data/test/dummy/config/environments/production.rb +76 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +14 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/robots.txt +5 -0
- 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;
|
|
@@ -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
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
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('.
|
|
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
|
-
|
|
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
|
|
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(
|
|
14
|
-
src: url(
|
|
15
|
-
url(
|
|
16
|
-
url(
|
|
17
|
-
url(
|
|
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"; } }
|
|
@@ -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
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
display: none;
|
|
12
12
|
max-width: $popover-max-width;
|
|
13
13
|
padding: 1px;
|
|
14
|
-
// Reset font and text
|
|
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
|
|
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-
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
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]
|
|
86
|
-
|
|
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.
|
|
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;
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
// Firefox
|
|
103
103
|
&::-moz-placeholder {
|
|
104
104
|
color: $color;
|
|
105
|
-
opacity: 1; //
|
|
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
|
+
// 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.
|
|
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;
|