Browse Source

Update to bootstrap 3.2.0

pull/79/head
Evan Theurer 11 years ago
parent
commit
26b76ee49d
  1. 11
      src/styles/libs/bootstrap/CHANGELOG.md
  2. 7
      src/styles/libs/bootstrap/README.md
  3. 5
      src/styles/libs/bootstrap/bootstrap.scss
  4. 7
      src/styles/libs/bootstrap/bootstrap/_alerts.scss
  5. 24
      src/styles/libs/bootstrap/bootstrap/_badges.scss
  6. 18
      src/styles/libs/bootstrap/bootstrap/_button-groups.scss
  7. 2
      src/styles/libs/bootstrap/bootstrap/_buttons.scss
  8. 19
      src/styles/libs/bootstrap/bootstrap/_carousel.scss
  9. 7
      src/styles/libs/bootstrap/bootstrap/_code.scss
  10. 14
      src/styles/libs/bootstrap/bootstrap/_component-animations.scss
  11. 2
      src/styles/libs/bootstrap/bootstrap/_dropdowns.scss
  12. 186
      src/styles/libs/bootstrap/bootstrap/_forms.scss
  13. 4
      src/styles/libs/bootstrap/bootstrap/_glyphicons.scss
  14. 8
      src/styles/libs/bootstrap/bootstrap/_input-groups.scss
  15. 4
      src/styles/libs/bootstrap/bootstrap/_jumbotron.scss
  16. 20
      src/styles/libs/bootstrap/bootstrap/_labels.scss
  17. 23
      src/styles/libs/bootstrap/bootstrap/_list-group.scss
  18. 978
      src/styles/libs/bootstrap/bootstrap/_mixins.scss
  19. 25
      src/styles/libs/bootstrap/bootstrap/_modals.scss
  20. 43
      src/styles/libs/bootstrap/bootstrap/_navbar.scss
  21. 2
      src/styles/libs/bootstrap/bootstrap/_navs.scss
  22. 40
      src/styles/libs/bootstrap/bootstrap/_normalize.scss
  23. 14
      src/styles/libs/bootstrap/bootstrap/_panels.scss
  24. 2
      src/styles/libs/bootstrap/bootstrap/_popovers.scss
  25. 29
      src/styles/libs/bootstrap/bootstrap/_progress-bars.scss
  26. 34
      src/styles/libs/bootstrap/bootstrap/_responsive-embed.scss
  27. 102
      src/styles/libs/bootstrap/bootstrap/_responsive-utilities.scss
  28. 18
      src/styles/libs/bootstrap/bootstrap/_scaffolding.scss
  29. 8
      src/styles/libs/bootstrap/bootstrap/_tables.scss
  30. 11
      src/styles/libs/bootstrap/bootstrap/_theme.scss
  31. 44
      src/styles/libs/bootstrap/bootstrap/_type.scss
  32. 1
      src/styles/libs/bootstrap/bootstrap/_utilities.scss
  33. 65
      src/styles/libs/bootstrap/bootstrap/_variables.scss
  34. 5
      src/styles/libs/bootstrap/bootstrap/bootstrap.scss
  35. 14
      src/styles/libs/bootstrap/bootstrap/mixins/_alerts.scss
  36. 11
      src/styles/libs/bootstrap/bootstrap/mixins/_background-variant.scss
  37. 18
      src/styles/libs/bootstrap/bootstrap/mixins/_border-radius.scss
  38. 50
      src/styles/libs/bootstrap/bootstrap/mixins/_buttons.scss
  39. 7
      src/styles/libs/bootstrap/bootstrap/mixins/_center-block.scss
  40. 22
      src/styles/libs/bootstrap/bootstrap/mixins/_clearfix.scss
  41. 84
      src/styles/libs/bootstrap/bootstrap/mixins/_forms.scss
  42. 58
      src/styles/libs/bootstrap/bootstrap/mixins/_gradients.scss
  43. 81
      src/styles/libs/bootstrap/bootstrap/mixins/_grid-framework.scss
  44. 122
      src/styles/libs/bootstrap/bootstrap/mixins/_grid.scss
  45. 21
      src/styles/libs/bootstrap/bootstrap/mixins/_hide-text.scss
  46. 34
      src/styles/libs/bootstrap/bootstrap/mixins/_image.scss
  47. 12
      src/styles/libs/bootstrap/bootstrap/mixins/_labels.scss
  48. 31
      src/styles/libs/bootstrap/bootstrap/mixins/_list-group.scss
  49. 10
      src/styles/libs/bootstrap/bootstrap/mixins/_nav-divider.scss
  50. 9
      src/styles/libs/bootstrap/bootstrap/mixins/_nav-vertical-align.scss
  51. 8
      src/styles/libs/bootstrap/bootstrap/mixins/_opacity.scss
  52. 23
      src/styles/libs/bootstrap/bootstrap/mixins/_pagination.scss
  53. 24
      src/styles/libs/bootstrap/bootstrap/mixins/_panels.scss
  54. 10
      src/styles/libs/bootstrap/bootstrap/mixins/_progress-bar.scss
  55. 8
      src/styles/libs/bootstrap/bootstrap/mixins/_reset-filter.scss
  56. 6
      src/styles/libs/bootstrap/bootstrap/mixins/_resize.scss
  57. 21
      src/styles/libs/bootstrap/bootstrap/mixins/_responsive-visibility.scss
  58. 10
      src/styles/libs/bootstrap/bootstrap/mixins/_size.scss
  59. 9
      src/styles/libs/bootstrap/bootstrap/mixins/_tab-focus.scss
  60. 28
      src/styles/libs/bootstrap/bootstrap/mixins/_table-row.scss
  61. 11
      src/styles/libs/bootstrap/bootstrap/mixins/_text-emphasis.scss
  62. 8
      src/styles/libs/bootstrap/bootstrap/mixins/_text-overflow.scss
  63. 219
      src/styles/libs/bootstrap/bootstrap/mixins/_vendor-prefixes.scss
  64. 2
      static/css/bootstrap.min.css
  65. 2
      static/css/main.min.css

11
src/styles/libs/bootstrap/CHANGELOG.md

@ -1,5 +1,16 @@
# Changelog # Changelog
## 3.2.0.0
- Assets (Sass, JS, fonts) moved from `vendor/assets` to `assets`. `bootstrap.js` now contains concatenated JS.
- Compass generator now copies JS and fonts, and provides a better default `styles.sass`.
- Compass, Sprockets, and Mincer asset path helpers are now provided in pure Sass: `bootstrap-compass`, `bootstrap-sprockets`, and `bootstrap-mincer`.
Asset path helpers must be imported before `bootstrap`, more in Readme.
- Sprockets / Mincer JS manifest has been moved to `bootstrap-mincer.js`.
It can be required without adding Bootstrap JS directory to load path, as it now uses relative paths.
- Sprockets: `depend_on_asset` (`glyphicons.scss`) has been changed to `depend_on` to work around an issue with `depend_on_asset`.
[More information](https://github.com/twbs/bootstrap-sass/issues/592#issuecomment-46570286).
## 3.1.1.0 ## 3.1.1.0
- Updated Bower docs - Updated Bower docs

7
src/styles/libs/bootstrap/README.md

@ -1,4 +1,7 @@
# Bootstrap sass distribution # Bootstrap sass distribution
Downloaded from [link](https://github.com/twbs/bootstrap-sass/archive/v3.1.1.tar.gz). Downloaded from [link](https://github.com/twbs/bootstrap-sass/archive/v3.2.0.tar.gz).
Used data from `vendor/assets/stylesheets` folder. Used data from `vendor/assets/stylesheets` folder except:
+ `_bootstrap-compass.scss`
+ `_bootstrap-mincer.scss`
+ `_bootstrap-sprockets.scss`

5
src/styles/libs/bootstrap/bootstrap.scss vendored

@ -2,9 +2,10 @@
@import "bootstrap/variables"; @import "bootstrap/variables";
@import "bootstrap/mixins"; @import "bootstrap/mixins";
// Reset // Reset and dependencies
@import "bootstrap/normalize"; @import "bootstrap/normalize";
@import "bootstrap/print"; @import "bootstrap/print";
@import "bootstrap/glyphicons";
// Core CSS // Core CSS
@import "bootstrap/scaffolding"; @import "bootstrap/scaffolding";
@ -17,7 +18,6 @@
// Components // Components
@import "bootstrap/component-animations"; @import "bootstrap/component-animations";
@import "bootstrap/glyphicons";
@import "bootstrap/dropdowns"; @import "bootstrap/dropdowns";
@import "bootstrap/button-groups"; @import "bootstrap/button-groups";
@import "bootstrap/input-groups"; @import "bootstrap/input-groups";
@ -35,6 +35,7 @@
@import "bootstrap/media"; @import "bootstrap/media";
@import "bootstrap/list-group"; @import "bootstrap/list-group";
@import "bootstrap/panels"; @import "bootstrap/panels";
@import "bootstrap/responsive-embed";
@import "bootstrap/wells"; @import "bootstrap/wells";
@import "bootstrap/close"; @import "bootstrap/close";

7
src/styles/libs/bootstrap/bootstrap/_alerts.scss vendored

@ -33,12 +33,13 @@
} }
} }
// Dismissable alerts // Dismissible alerts
// //
// Expand the right padding and account for the close button's positioning. // Expand the right padding and account for the close button's positioning.
.alert-dismissable { .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
padding-right: ($alert-padding + 20); .alert-dismissible {
padding-right: ($alert-padding + 20);
// Adjust close link position // Adjust close link position
.close { .close {

24
src/styles/libs/bootstrap/bootstrap/_badges.scss vendored

@ -3,7 +3,7 @@
// -------------------------------------------------- // --------------------------------------------------
// Base classes // Base class
.badge { .badge {
display: inline-block; display: inline-block;
min-width: 10px; min-width: 10px;
@ -32,6 +32,18 @@
top: 0; top: 0;
padding: 1px 5px; padding: 1px 5px;
} }
// [converter] extracted a& to a.badge
// Account for badges in navs
a.list-group-item.active > &,
.nav-pills > .active > a > & {
color: $badge-active-color;
background-color: $badge-active-bg;
}
.nav-pills > li > a > & {
margin-left: 3px;
}
} }
// Hover state, but only for links // Hover state, but only for links
@ -43,13 +55,3 @@ a.badge {
cursor: pointer; cursor: pointer;
} }
} }
// Account for counters in navs
a.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
color: $badge-active-color;
background-color: $badge-active-bg;
}
.nav-pills > li > a > .badge {
margin-left: 3px;
}

18
src/styles/libs/bootstrap/bootstrap/_button-groups.scss vendored

@ -20,7 +20,7 @@
} }
&:focus { &:focus {
// Remove focus outline when dropdown JS adds it after closing the menu // Remove focus outline when dropdown JS adds it after closing the menu
outline: none; outline: 0;
} }
} }
} }
@ -216,11 +216,25 @@
> .btn-group .btn { > .btn-group .btn {
width: 100%; width: 100%;
} }
> .btn-group .dropdown-menu {
left: auto;
}
} }
// Checkbox and radio options // Checkbox and radio options
//
// In order to support the browser's form validation feedback, powered by the
// `required` attribute, we have to "hide" the inputs via `opacity`. We cannot
// use `display: none;` or `visibility: hidden;` as that also hides the popover.
// This way, we ensure a DOM element is visible to position the popover from.
//
// See https://github.com/twbs/bootstrap/pull/12794 for more.
[data-toggle="buttons"] > .btn > input[type="radio"], [data-toggle="buttons"] > .btn > input[type="radio"],
[data-toggle="buttons"] > .btn > input[type="checkbox"] { [data-toggle="buttons"] > .btn > input[type="checkbox"] {
display: none; position: absolute;
z-index: -1;
@include opacity(0);
} }

2
src/styles/libs/bootstrap/bootstrap/_buttons.scss vendored

@ -140,8 +140,6 @@
.btn-block { .btn-block {
display: block; display: block;
width: 100%; width: 100%;
padding-left: 0;
padding-right: 0;
} }
// Vertically space out multiple block buttons // Vertically space out multiple block buttons

19
src/styles/libs/bootstrap/bootstrap/_carousel.scss vendored

@ -28,7 +28,9 @@
> .active, > .active,
> .next, > .next,
> .prev { display: block; } > .prev {
display: block;
}
> .active { > .active {
left: 0; left: 0;
@ -91,7 +93,7 @@
// Hover/focus state // Hover/focus state
&:hover, &:hover,
&:focus { &:focus {
outline: none; outline: 0;
color: $carousel-control-color; color: $carousel-control-color;
text-decoration: none; text-decoration: none;
@include opacity(.9); @include opacity(.9);
@ -110,20 +112,22 @@
.icon-prev, .icon-prev,
.glyphicon-chevron-left { .glyphicon-chevron-left {
left: 50%; left: 50%;
margin-left: -10px;
} }
.icon-next, .icon-next,
.glyphicon-chevron-right { .glyphicon-chevron-right {
right: 50%; right: 50%;
margin-right: -10px;
} }
.icon-prev, .icon-prev,
.icon-next { .icon-next {
width: 20px; width: 20px;
height: 20px; height: 20px;
margin-top: -10px; margin-top: -10px;
margin-left: -10px;
font-family: serif; font-family: serif;
} }
.icon-prev { .icon-prev {
&:before { &:before {
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039) content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
@ -213,9 +217,16 @@
width: 30px; width: 30px;
height: 30px; height: 30px;
margin-top: -15px; margin-top: -15px;
margin-left: -15px;
font-size: 30px; font-size: 30px;
} }
.glyphicon-chevron-left,
.icon-prev {
margin-left: -15px;
}
.glyphicon-chevron-right,
.icon-next {
margin-right: -15px;
}
} }
// Show and left align the captions // Show and left align the captions

7
src/styles/libs/bootstrap/bootstrap/_code.scss vendored

@ -17,7 +17,6 @@ code {
font-size: 90%; font-size: 90%;
color: $code-color; color: $code-color;
background-color: $code-bg; background-color: $code-bg;
white-space: nowrap;
border-radius: $border-radius-base; border-radius: $border-radius-base;
} }
@ -29,6 +28,12 @@ kbd {
background-color: $kbd-bg; background-color: $kbd-bg;
border-radius: $border-radius-small; border-radius: $border-radius-small;
box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
kbd {
padding: 0;
font-size: 100%;
box-shadow: none;
}
} }
// Blocks of code // Blocks of code

14
src/styles/libs/bootstrap/bootstrap/_component-animations.scss vendored

@ -5,7 +5,7 @@
// Heads up! // Heads up!
// //
// We don't use the `.opacity()` mixin here since it causes a bug with text // We don't use the `.opacity()` mixin here since it causes a bug with text
// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552. // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.
.fade { .fade {
opacity: 0; opacity: 0;
@ -17,10 +17,16 @@
.collapse { .collapse {
display: none; display: none;
&.in {
display: block; &.in { display: block; }
} // [converter] extracted tr&.in to tr.collapse.in
// [converter] extracted tbody&.in to tbody.collapse.in
} }
tr.collapse.in { display: table-row; }
tbody.collapse.in { display: table-row-group; }
.collapsing { .collapsing {
position: relative; position: relative;
height: 0; height: 0;

2
src/styles/libs/bootstrap/bootstrap/_dropdowns.scss vendored

@ -38,6 +38,7 @@
margin: 2px 0 0; // override default ul margin: 2px 0 0; // override default ul
list-style: none; list-style: none;
font-size: $font-size-base; font-size: $font-size-base;
text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
background-color: $dropdown-bg; background-color: $dropdown-bg;
border: 1px solid $dropdown-fallback-border; // IE8 fallback border: 1px solid $dropdown-fallback-border; // IE8 fallback
border: 1px solid $dropdown-border; border: 1px solid $dropdown-border;
@ -154,6 +155,7 @@
font-size: $font-size-small; font-size: $font-size-small;
line-height: $line-height-base; line-height: $line-height-base;
color: $dropdown-header-color; color: $dropdown-header-color;
white-space: nowrap; // as with > li > a
} }
// Backdrop to catch body clicks on mobile, etc. // Backdrop to catch body clicks on mobile, etc.

186
src/styles/libs/bootstrap/bootstrap/_forms.scss vendored

@ -11,7 +11,7 @@ fieldset {
padding: 0; padding: 0;
margin: 0; margin: 0;
border: 0; border: 0;
// Chrome and Firefox set a `min-width: -webkit-min-content;` on fieldsets, // Chrome and Firefox set a `min-width: min-content;` on fieldsets,
// so we reset that to ensure it behaves more like a standard block element. // so we reset that to ensure it behaves more like a standard block element.
// See https://github.com/twbs/bootstrap/issues/12359. // See https://github.com/twbs/bootstrap/issues/12359.
min-width: 0; min-width: 0;
@ -31,6 +31,7 @@ legend {
label { label {
display: inline-block; display: inline-block;
max-width: 100%; // Force IE8 to wrap long content (see https://github.com/twbs/bootstrap/issues/13141)
margin-bottom: 5px; margin-bottom: 5px;
font-weight: bold; font-weight: bold;
} }
@ -51,7 +52,7 @@ input[type="search"] {
input[type="radio"], input[type="radio"],
input[type="checkbox"] { input[type="checkbox"] {
margin: 4px 0 0; margin: 4px 0 0;
margin-top: 1px \9; /* IE8-9 */ margin-top: 1px \9; // IE8-9
line-height: normal; line-height: normal;
} }
@ -166,13 +167,28 @@ input[type="search"] {
} }
// Special styles for iOS date input // Special styles for iOS temporal inputs
// //
// In Mobile Safari, date inputs require a pixel line-height that matches the // In Mobile Safari, setting `display: block` on temporal inputs causes the
// given height of the input. // text within the input to become vertically misaligned.
// As a workaround, we set a pixel line-height that matches the
input[type="date"] { // given height of the input. Since this fucks up everything else, we have to
// appropriately reset it for Internet Explorer and the size variations.
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
line-height: $input-height-base; line-height: $input-height-base;
// IE8+ misaligns the text within date inputs, so we reset
line-height: $line-height-base #{\0};
&.input-sm {
line-height: $input-height-small;
}
&.input-lg {
line-height: $input-height-large;
}
} }
@ -192,13 +208,15 @@ input[type="date"] {
.radio, .radio,
.checkbox { .checkbox {
position: relative;
display: block; display: block;
min-height: $line-height-computed; // clear the floating input if there is no label text min-height: $line-height-computed; // clear the floating input if there is no label text
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
padding-left: 20px;
label { label {
display: inline; padding-left: 20px;
margin-bottom: 0;
font-weight: normal; font-weight: normal;
cursor: pointer; cursor: pointer;
} }
@ -207,9 +225,11 @@ input[type="date"] {
.radio-inline input[type="radio"], .radio-inline input[type="radio"],
.checkbox input[type="checkbox"], .checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] { .checkbox-inline input[type="checkbox"] {
float: left; position: absolute;
margin-left: -20px; margin-left: -20px;
margin-top: 4px \9;
} }
.radio + .radio, .radio + .radio,
.checkbox + .checkbox { .checkbox + .checkbox {
margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing
@ -232,19 +252,55 @@ input[type="date"] {
} }
// Apply same disabled cursor tweak as for inputs // Apply same disabled cursor tweak as for inputs
// Some special care is needed because <label>s don't inherit their parent's `cursor`.
// //
// Note: Neither radios nor checkboxes can be readonly. // Note: Neither radios nor checkboxes can be readonly.
input[type="radio"], input[type="radio"],
input[type="checkbox"], input[type="checkbox"] {
.radio, &[disabled],
&.disabled,
fieldset[disabled] & {
cursor: not-allowed;
}
}
// These classes are used directly on <label>s
.radio-inline, .radio-inline,
.checkbox,
.checkbox-inline { .checkbox-inline {
&[disabled], &.disabled,
fieldset[disabled] & { fieldset[disabled] & {
cursor: not-allowed; cursor: not-allowed;
} }
} }
// These classes are used on elements with <label> descendants
.radio,
.checkbox {
&.disabled,
fieldset[disabled] & {
label {
cursor: not-allowed;
}
}
}
// Static form control text
//
// Apply class to a `p` element to make any string of text align with labels in
// a horizontal form layout.
.form-control-static {
// Size it appropriately next to real form controls
padding-top: ($padding-base-vertical + 1);
padding-bottom: ($padding-base-vertical + 1);
// Remove default margin from `p`
margin-bottom: 0;
&.input-lg,
&.input-sm {
padding-left: 0;
padding-right: 0;
}
}
// Form control sizing // Form control sizing
@ -269,18 +325,28 @@ input[type="checkbox"],
.form-control { .form-control {
padding-right: ($input-height-base * 1.25); padding-right: ($input-height-base * 1.25);
} }
}
// Feedback icon (requires .glyphicon classes) // Feedback icon (requires .glyphicon classes)
.form-control-feedback { .form-control-feedback {
position: absolute; position: absolute;
top: ($line-height-computed + 5); // Height of the `label` and its margin top: ($line-height-computed + 5); // Height of the `label` and its margin
right: 0; right: 0;
display: block; z-index: 2; // Ensure icon is above input groups
width: $input-height-base; display: block;
height: $input-height-base; width: $input-height-base;
line-height: $input-height-base; height: $input-height-base;
text-align: center; line-height: $input-height-base;
} text-align: center;
}
.input-lg + .form-control-feedback {
width: $input-height-large;
height: $input-height-large;
line-height: $input-height-large;
}
.input-sm + .form-control-feedback {
width: $input-height-small;
height: $input-height-small;
line-height: $input-height-small;
} }
// Feedback states // Feedback states
@ -295,13 +361,9 @@ input[type="checkbox"],
} }
// Static form control text // Reposition feedback icon if label is hidden with "screenreader only" state
// .has-feedback label.sr-only ~ .form-control-feedback {
// Apply class to a `p` element to make any string of text align with labels in top: 0;
// a horizontal form layout.
.form-control-static {
margin-bottom: 0; // Remove default margin from `p`
} }
@ -347,6 +409,18 @@ input[type="checkbox"],
width: auto; // Prevent labels from stacking above inputs in `.form-group` width: auto; // Prevent labels from stacking above inputs in `.form-group`
vertical-align: middle; vertical-align: middle;
} }
.input-group {
display: inline-table;
vertical-align: middle;
.input-group-addon,
.input-group-btn,
.form-control {
width: auto;
}
}
// Input groups need that 100% width though // Input groups need that 100% width though
.input-group > .form-control { .input-group > .form-control {
width: 100%; width: 100%;
@ -365,12 +439,15 @@ input[type="checkbox"],
display: inline-block; display: inline-block;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
padding-left: 0;
vertical-align: middle; vertical-align: middle;
label {
padding-left: 0;
}
} }
.radio input[type="radio"], .radio input[type="radio"],
.checkbox input[type="checkbox"] { .checkbox input[type="checkbox"] {
float: none; position: relative;
margin-left: 0; margin-left: 0;
} }
@ -392,8 +469,9 @@ input[type="checkbox"],
.form-horizontal { .form-horizontal {
// Consistent vertical alignment of labels, radios, and checkboxes // Consistent vertical alignment of radios and checkboxes
.control-label, //
// Labels also get some reset styles, but that is scoped to a media query below.
.radio, .radio,
.checkbox, .checkbox,
.radio-inline, .radio-inline,
@ -414,14 +492,13 @@ input[type="checkbox"],
@include make-row(); @include make-row();
} }
.form-control-static { // Reset spacing and right align labels, but scope to media queries so that
padding-top: ($padding-base-vertical + 1); // labels on narrow viewports stack the same as a default form example.
}
// Only right align form labels here when the columns stop stacking
@media (min-width: $screen-sm-min) { @media (min-width: $screen-sm-min) {
.control-label { .control-label {
text-align: right; text-align: right;
margin-bottom: 0;
padding-top: ($padding-base-vertical + 1); // Default padding plus a border
} }
} }
@ -433,4 +510,29 @@ input[type="checkbox"],
top: 0; top: 0;
right: ($grid-gutter-width / 2); right: ($grid-gutter-width / 2);
} }
// Form group sizes
//
// Quick utility class for applying `.input-lg` and `.input-sm` styles to the
// inputs and labels within a `.form-group`.
.form-group-lg {
@media (min-width: $screen-sm-min) {
.control-label {
padding-top: (($padding-large-vertical * $line-height-large) + 1);
}
}
.form-control {
@extend .input-lg;
}
}
.form-group-sm {
@media (min-width: $screen-sm-min) {
.control-label {
padding-top: ($padding-small-vertical + 1);
}
}
.form-control {
@extend .input-sm;
}
}
} }

4
src/styles/libs/bootstrap/bootstrap/_glyphicons.scss vendored

@ -1,3 +1,7 @@
//= depend_on "bootstrap/glyphicons-halflings-regular.eot"
//= depend_on "bootstrap/glyphicons-halflings-regular.svg"
//= depend_on "bootstrap/glyphicons-halflings-regular.ttf"
//= depend_on "bootstrap/glyphicons-halflings-regular.woff"
// //
// Glyphicons for Bootstrap // Glyphicons for Bootstrap
// //

8
src/styles/libs/bootstrap/bootstrap/_input-groups.scss vendored

@ -39,10 +39,14 @@
.input-group-lg > .form-control, .input-group-lg > .form-control,
.input-group-lg > .input-group-addon, .input-group-lg > .input-group-addon,
.input-group-lg > .input-group-btn > .btn { @extend .input-lg; } .input-group-lg > .input-group-btn > .btn {
@extend .input-lg;
}
.input-group-sm > .form-control, .input-group-sm > .form-control,
.input-group-sm > .input-group-addon, .input-group-sm > .input-group-addon,
.input-group-sm > .input-group-btn > .btn { @extend .input-sm; } .input-group-sm > .input-group-btn > .btn {
@extend .input-sm;
}
// Display as table-cell // Display as table-cell

4
src/styles/libs/bootstrap/bootstrap/_jumbotron.scss vendored

@ -19,6 +19,10 @@
font-weight: 200; font-weight: 200;
} }
> hr {
border-top-color: darken($jumbotron-bg, 10%);
}
.container & { .container & {
border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container
} }

20
src/styles/libs/bootstrap/bootstrap/_labels.scss vendored

@ -14,15 +14,7 @@
vertical-align: baseline; vertical-align: baseline;
border-radius: .25em; border-radius: .25em;
// Add hover effects, but only for links // [converter] extracted a& to a.label
&[href] {
&:hover,
&:focus {
color: $label-link-hover-color;
text-decoration: none;
cursor: pointer;
}
}
// Empty labels collapse automatically (not available in IE8) // Empty labels collapse automatically (not available in IE8)
&:empty { &:empty {
@ -36,6 +28,16 @@
} }
} }
// Add hover effects, but only for links
a.label {
&:hover,
&:focus {
color: $label-link-hover-color;
text-decoration: none;
cursor: pointer;
}
}
// Colors // Colors
// Contextual variations (linked labels get darker on :hover) // Contextual variations (linked labels get darker on :hover)

23
src/styles/libs/bootstrap/bootstrap/_list-group.scss vendored

@ -62,8 +62,27 @@ a.list-group-item {
&:hover, &:hover,
&:focus { &:focus {
text-decoration: none; text-decoration: none;
color: $list-group-link-hover-color;
background-color: $list-group-hover-bg; background-color: $list-group-hover-bg;
} }
}
.list-group-item {
// Disabled state
&.disabled,
&.disabled:hover,
&.disabled:focus {
background-color: $list-group-disabled-bg;
color: $list-group-disabled-color;
// Force color to inherit for custom content
.list-group-item-heading {
color: inherit;
}
.list-group-item-text {
color: $list-group-disabled-text-color;
}
}
// Active class on item itself, not parent // Active class on item itself, not parent
&.active, &.active,
@ -75,7 +94,9 @@ a.list-group-item {
border-color: $list-group-active-border; border-color: $list-group-active-border;
// Force color to inherit for custom content // Force color to inherit for custom content
.list-group-item-heading { .list-group-item-heading,
.list-group-item-heading > small,
.list-group-item-heading > .small {
color: inherit; color: inherit;
} }
.list-group-item-text { .list-group-item-text {

978
src/styles/libs/bootstrap/bootstrap/_mixins.scss vendored

@ -1,947 +1,39 @@
//
// Mixins // Mixins
// -------------------------------------------------- // --------------------------------------------------
// Utilities // Utilities
// ------------------------- @import "mixins/hide-text";
@import "mixins/opacity";
// Clearfix @import "mixins/image";
// Source: http://nicolasgallagher.com/micro-clearfix-hack/ @import "mixins/labels";
// @import "mixins/reset-filter";
// For modern browsers @import "mixins/resize";
// 1. The space content is one way to avoid an Opera bug when the @import "mixins/responsive-visibility";
// contenteditable attribute is included anywhere else in the document. @import "mixins/size";
// Otherwise it causes space to appear at the top and bottom of elements @import "mixins/tab-focus";
// that are clearfixed. @import "mixins/text-emphasis";
// 2. The use of `table` rather than `block` is only necessary if using @import "mixins/text-overflow";
// `:before` to contain the top-margins of child elements. @import "mixins/vendor-prefixes";
@mixin clearfix() {
&:before, // Components
&:after { @import "mixins/alerts";
content: " "; // 1 @import "mixins/buttons";
display: table; // 2 @import "mixins/panels";
} @import "mixins/pagination";
&:after { @import "mixins/list-group";
clear: both; @import "mixins/nav-divider";
} @import "mixins/forms";
} @import "mixins/progress-bar";
@import "mixins/table-row";
// WebKit-style focus
@mixin tab-focus() { // Skins
// Default @import "mixins/background-variant";
outline: thin dotted; @import "mixins/border-radius";
// WebKit @import "mixins/gradients";
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px; // Layout
} @import "mixins/clearfix";
@import "mixins/center-block";
// Center-align a block level element @import "mixins/nav-vertical-align";
@mixin center-block() { @import "mixins/grid-framework";
display: block; @import "mixins/grid";
margin-left: auto;
margin-right: auto;
}
// Sizing shortcuts
@mixin size($width, $height) {
width: $width;
height: $height;
}
@mixin square($size) {
@include size($size, $size);
}
// Placeholder text
@mixin placeholder($color: $input-color-placeholder) {
&::-moz-placeholder { color: $color; // Firefox
opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526
&:-ms-input-placeholder { color: $color; } // Internet Explorer 10+
&::-webkit-input-placeholder { color: $color; } // Safari and Chrome
}
// Text overflow
// Requires inline-block or block for proper styling
@mixin text-overflow() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
// CSS image replacement
//
// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
// mixins being reused as classes with the same name, this doesn't hold up. As
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`. Note
// that we cannot chain the mixins together in Less, so they are repeated.
//
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
// Deprecated as of v3.0.1 (will be removed in v4)
@mixin hide-text() {
font: #{0/0} a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
// New mixin to use as of v3.0.1
@mixin text-hide() {
@include hide-text();
}
// CSS3 PROPERTIES
// --------------------------------------------------
// Single side border-radius
@mixin border-top-radius($radius) {
border-top-right-radius: $radius;
border-top-left-radius: $radius;
}
@mixin border-right-radius($radius) {
border-bottom-right-radius: $radius;
border-top-right-radius: $radius;
}
@mixin border-bottom-radius($radius) {
border-bottom-right-radius: $radius;
border-bottom-left-radius: $radius;
}
@mixin border-left-radius($radius) {
border-bottom-left-radius: $radius;
border-top-left-radius: $radius;
}
// Drop shadows
//
// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's
// supported browsers that have box shadow capabilities now support the
// standard `box-shadow` property.
@mixin box-shadow($shadow...) {
-webkit-box-shadow: $shadow; // iOS <4.3 & Android <4.1
box-shadow: $shadow;
}
// Transitions
@mixin transition($transition...) {
-webkit-transition: $transition;
transition: $transition;
}
@mixin transition-property($transition-property...) {
-webkit-transition-property: $transition-property;
transition-property: $transition-property;
}
@mixin transition-delay($transition-delay) {
-webkit-transition-delay: $transition-delay;
transition-delay: $transition-delay;
}
@mixin transition-duration($transition-duration...) {
-webkit-transition-duration: $transition-duration;
transition-duration: $transition-duration;
}
@mixin transition-transform($transition...) {
-webkit-transition: -webkit-transform $transition;
-moz-transition: -moz-transform $transition;
-o-transition: -o-transform $transition;
transition: transform $transition;
}
// Transformations
@mixin rotate($degrees) {
-webkit-transform: rotate($degrees);
-ms-transform: rotate($degrees); // IE9 only
transform: rotate($degrees);
}
@mixin scale($scale-args...) {
-webkit-transform: scale($scale-args);
-ms-transform: scale($scale-args); // IE9 only
transform: scale($scale-args);
}
@mixin translate($x, $y) {
-webkit-transform: translate($x, $y);
-ms-transform: translate($x, $y); // IE9 only
transform: translate($x, $y);
}
@mixin skew($x, $y) {
-webkit-transform: skew($x, $y);
-ms-transform: skewX($x) skewY($y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
transform: skew($x, $y);
}
@mixin translate3d($x, $y, $z) {
-webkit-transform: translate3d($x, $y, $z);
transform: translate3d($x, $y, $z);
}
@mixin rotateX($degrees) {
-webkit-transform: rotateX($degrees);
-ms-transform: rotateX($degrees); // IE9 only
transform: rotateX($degrees);
}
@mixin rotateY($degrees) {
-webkit-transform: rotateY($degrees);
-ms-transform: rotateY($degrees); // IE9 only
transform: rotateY($degrees);
}
@mixin perspective($perspective) {
-webkit-perspective: $perspective;
-moz-perspective: $perspective;
perspective: $perspective;
}
@mixin perspective-origin($perspective) {
-webkit-perspective-origin: $perspective;
-moz-perspective-origin: $perspective;
perspective-origin: $perspective;
}
@mixin transform-origin($origin) {
-webkit-transform-origin: $origin;
-moz-transform-origin: $origin;
-ms-transform-origin: $origin; // IE9 only
transform-origin: $origin;
}
// Animations
@mixin animation($animation) {
-webkit-animation: $animation;
animation: $animation;
}
@mixin animation-name($name) {
-webkit-animation-name: $name;
animation-name: $name;
}
@mixin animation-duration($duration) {
-webkit-animation-duration: $duration;
animation-duration: $duration;
}
@mixin animation-timing-function($timing-function) {
-webkit-animation-timing-function: $timing-function;
animation-timing-function: $timing-function;
}
@mixin animation-delay($delay) {
-webkit-animation-delay: $delay;
animation-delay: $delay;
}
@mixin animation-iteration-count($iteration-count) {
-webkit-animation-iteration-count: $iteration-count;
animation-iteration-count: $iteration-count;
}
@mixin animation-direction($direction) {
-webkit-animation-direction: $direction;
animation-direction: $direction;
}
// Backface visibility
// Prevent browsers from flickering when using CSS 3D transforms.
// Default value is `visible`, but can be changed to `hidden`
@mixin backface-visibility($visibility){
-webkit-backface-visibility: $visibility;
-moz-backface-visibility: $visibility;
backface-visibility: $visibility;
}
// Box sizing
@mixin box-sizing($boxmodel) {
-webkit-box-sizing: $boxmodel;
-moz-box-sizing: $boxmodel;
box-sizing: $boxmodel;
}
// User select
// For selecting text on the page
@mixin user-select($select) {
-webkit-user-select: $select;
-moz-user-select: $select;
-ms-user-select: $select; // IE10+
user-select: $select;
}
// Resize anything
@mixin resizable($direction) {
resize: $direction; // Options: horizontal, vertical, both
overflow: auto; // Safari fix
}
// CSS3 Content Columns
@mixin content-columns($column-count, $column-gap: $grid-gutter-width) {
-webkit-column-count: $column-count;
-moz-column-count: $column-count;
column-count: $column-count;
-webkit-column-gap: $column-gap;
-moz-column-gap: $column-gap;
column-gap: $column-gap;
}
// Optional hyphenation
@mixin hyphens($mode: auto) {
word-wrap: break-word;
-webkit-hyphens: $mode;
-moz-hyphens: $mode;
-ms-hyphens: $mode; // IE10+
-o-hyphens: $mode;
hyphens: $mode;
}
// Opacity
@mixin opacity($opacity) {
opacity: $opacity;
// IE8 filter
$opacity-ie: ($opacity * 100);
filter: #{alpha(opacity=$opacity-ie)};
}
// GRADIENTS
// --------------------------------------------------
// Horizontal gradient, from left to right
//
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
@mixin gradient-horizontal($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
background-image: -webkit-linear-gradient(left, color-stop($start-color $start-percent), color-stop($end-color $end-percent)); // Safari 5.1-6, Chrome 10+
background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 and down
}
// Vertical gradient, from top to bottom
//
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
@mixin gradient-vertical($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
background-image: -webkit-linear-gradient(top, $start-color $start-percent, $end-color $end-percent); // Safari 5.1-6, Chrome 10+
background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 and down
}
@mixin gradient-directional($start-color: #555, $end-color: #333, $deg: 45deg) {
background-repeat: repeat-x;
background-image: -webkit-linear-gradient($deg, $start-color, $end-color); // Safari 5.1-6, Chrome 10+
background-image: linear-gradient($deg, $start-color, $end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
}
@mixin gradient-horizontal-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
background-image: -webkit-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 and down, gets no color-stop at all for proper fallback
}
@mixin gradient-vertical-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
background-image: -webkit-linear-gradient($start-color, $mid-color $color-stop, $end-color);
background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 and down, gets no color-stop at all for proper fallback
}
@mixin gradient-radial($inner-color: #555, $outer-color: #333) {
background-image: -webkit-radial-gradient(circle, $inner-color, $outer-color);
background-image: radial-gradient(circle, $inner-color, $outer-color);
background-repeat: no-repeat;
}
@mixin gradient-striped($color: rgba(255,255,255,.15), $angle: 45deg) {
background-image: -webkit-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
}
// Reset filters for IE
//
// When you need to remove a gradient background, do not forget to use this to reset
// the IE filter for IE9 and below.
@mixin reset-filter() {
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
// Retina images
//
// Short retina mixin for setting background-image and -size
@mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$file-1x}"), "#{$file-1x}"));
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min--moz-device-pixel-ratio: 2),
only screen and ( -o-min-device-pixel-ratio: 2/1),
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) {
background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$file-2x}"), "#{$file-2x}"));
background-size: $width-1x $height-1x;
}
}
// Responsive image
//
// Keep images from scaling beyond the width of their parents.
@mixin img-responsive($display: block) {
display: $display;
max-width: 100%; // Part 1: Set a maximum relative to the parent
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
}
// COMPONENT MIXINS
// --------------------------------------------------
// Horizontal dividers
// -------------------------
// Dividers (basically an hr) within dropdowns and nav lists
@mixin nav-divider($color: #e5e5e5) {
height: 1px;
margin: (($line-height-computed / 2) - 1) 0;
overflow: hidden;
background-color: $color;
}
// Panels
// -------------------------
@mixin panel-variant($border, $heading-text-color, $heading-bg-color, $heading-border) {
border-color: $border;
& > .panel-heading {
color: $heading-text-color;
background-color: $heading-bg-color;
border-color: $heading-border;
+ .panel-collapse .panel-body {
border-top-color: $border;
}
}
& > .panel-footer {
+ .panel-collapse .panel-body {
border-bottom-color: $border;
}
}
}
// Alerts
// -------------------------
@mixin alert-variant($background, $border, $text-color) {
background-color: $background;
border-color: $border;
color: $text-color;
hr {
border-top-color: darken($border, 5%);
}
.alert-link {
color: darken($text-color, 10%);
}
}
// Tables
// -------------------------
@mixin table-row-variant($state, $background) {
// Exact selectors below required to override `.table-striped` and prevent
// inheritance to nested tables.
.table > thead > tr,
.table > tbody > tr,
.table > tfoot > tr {
> td.#{$state},
> th.#{$state},
&.#{$state} > td,
&.#{$state} > th {
background-color: $background;
}
}
// Hover states for `.table-hover`
// Note: this is not available for cells or rows within `thead` or `tfoot`.
.table-hover > tbody > tr {
> td.#{$state}:hover,
> th.#{$state}:hover,
&.#{$state}:hover > td,
&.#{$state}:hover > th {
background-color: darken($background, 5%);
}
}
}
// List Groups
// -------------------------
@mixin list-group-item-variant($state, $background, $color) {
.list-group-item-#{$state} {
color: $color;
background-color: $background;
// [converter] extracted a& to a.list-group-item-#{$state}
}
a.list-group-item-#{$state} {
color: $color;
.list-group-item-heading { color: inherit; }
&:hover,
&:focus {
color: $color;
background-color: darken($background, 5%);
}
&.active,
&.active:hover,
&.active:focus {
color: #fff;
background-color: $color;
border-color: $color;
}
}
}
// Button variants
// -------------------------
// Easily pump out default styles, as well as :hover, :focus, :active,
// and disabled options for all buttons
@mixin button-variant($color, $background, $border) {
color: $color;
background-color: $background;
border-color: $border;
&:hover,
&:focus,
&:active,
&.active {
color: $color;
background-color: darken($background, 8%);
border-color: darken($border, 12%);
}
.open & { &.dropdown-toggle {
color: $color;
background-color: darken($background, 8%);
border-color: darken($border, 12%);
} }
&:active,
&.active {
background-image: none;
}
.open & { &.dropdown-toggle {
background-image: none;
} }
&.disabled,
&[disabled],
fieldset[disabled] & {
&,
&:hover,
&:focus,
&:active,
&.active {
background-color: $background;
border-color: $border;
}
}
.badge {
color: $background;
background-color: $color;
}
}
// Button sizes
// -------------------------
@mixin button-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
padding: $padding-vertical $padding-horizontal;
font-size: $font-size;
line-height: $line-height;
border-radius: $border-radius;
}
// Pagination
// -------------------------
@mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $border-radius) {
> li {
> a,
> span {
padding: $padding-vertical $padding-horizontal;
font-size: $font-size;
}
&:first-child {
> a,
> span {
@include border-left-radius($border-radius);
}
}
&:last-child {
> a,
> span {
@include border-right-radius($border-radius);
}
}
}
}
// Labels
// -------------------------
@mixin label-variant($color) {
background-color: $color;
&[href] {
&:hover,
&:focus {
background-color: darken($color, 10%);
}
}
}
// Contextual backgrounds
// -------------------------
// [converter] $parent hack
@mixin bg-variant($parent, $color) {
#{$parent} {
background-color: $color;
}
a#{$parent}:hover {
background-color: darken($color, 10%);
}
}
// Typography
// -------------------------
// [converter] $parent hack
@mixin text-emphasis-variant($parent, $color) {
#{$parent} {
color: $color;
}
a#{$parent}:hover {
color: darken($color, 10%);
}
}
// Navbar vertical align
// -------------------------
// Vertically center elements in the navbar.
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
@mixin navbar-vertical-align($element-height) {
margin-top: (($navbar-height - $element-height) / 2);
margin-bottom: (($navbar-height - $element-height) / 2);
}
// Progress bars
// -------------------------
@mixin progress-bar-variant($color) {
background-color: $color;
.progress-striped & {
@include gradient-striped();
}
}
// Responsive utilities
// -------------------------
// More easily include all the states for responsive-utilities.less.
// [converter] $parent hack
@mixin responsive-visibility($parent) {
#{$parent} {
display: block !important;
}
table#{$parent} { display: table; }
tr#{$parent} { display: table-row !important; }
th#{$parent},
td#{$parent} { display: table-cell !important; }
}
// [converter] $parent hack
@mixin responsive-invisibility($parent) {
#{$parent} {
display: none !important;
}
}
// Grid System
// -----------
// Centered container element
@mixin container-fixed() {
margin-right: auto;
margin-left: auto;
padding-left: ($grid-gutter-width / 2);
padding-right: ($grid-gutter-width / 2);
@include clearfix();
}
// Creates a wrapper for a series of columns
@mixin make-row($gutter: $grid-gutter-width) {
margin-left: ($gutter / -2);
margin-right: ($gutter / -2);
@include clearfix();
}
// Generate the extra small columns
@mixin make-xs-column($columns, $gutter: $grid-gutter-width) {
position: relative;
float: left;
width: percentage(($columns / $grid-columns));
min-height: 1px;
padding-left: ($gutter / 2);
padding-right: ($gutter / 2);
}
@mixin make-xs-column-offset($columns) {
@media (min-width: $screen-xs-min) {
margin-left: percentage(($columns / $grid-columns));
}
}
@mixin make-xs-column-push($columns) {
@media (min-width: $screen-xs-min) {
left: percentage(($columns / $grid-columns));
}
}
@mixin make-xs-column-pull($columns) {
@media (min-width: $screen-xs-min) {
right: percentage(($columns / $grid-columns));
}
}
// Generate the small columns
@mixin make-sm-column($columns, $gutter: $grid-gutter-width) {
position: relative;
min-height: 1px;
padding-left: ($gutter / 2);
padding-right: ($gutter / 2);
@media (min-width: $screen-sm-min) {
float: left;
width: percentage(($columns / $grid-columns));
}
}
@mixin make-sm-column-offset($columns) {
@media (min-width: $screen-sm-min) {
margin-left: percentage(($columns / $grid-columns));
}
}
@mixin make-sm-column-push($columns) {
@media (min-width: $screen-sm-min) {
left: percentage(($columns / $grid-columns));
}
}
@mixin make-sm-column-pull($columns) {
@media (min-width: $screen-sm-min) {
right: percentage(($columns / $grid-columns));
}
}
// Generate the medium columns
@mixin make-md-column($columns, $gutter: $grid-gutter-width) {
position: relative;
min-height: 1px;
padding-left: ($gutter / 2);
padding-right: ($gutter / 2);
@media (min-width: $screen-md-min) {
float: left;
width: percentage(($columns / $grid-columns));
}
}
@mixin make-md-column-offset($columns) {
@media (min-width: $screen-md-min) {
margin-left: percentage(($columns / $grid-columns));
}
}
@mixin make-md-column-push($columns) {
@media (min-width: $screen-md-min) {
left: percentage(($columns / $grid-columns));
}
}
@mixin make-md-column-pull($columns) {
@media (min-width: $screen-md-min) {
right: percentage(($columns / $grid-columns));
}
}
// Generate the large columns
@mixin make-lg-column($columns, $gutter: $grid-gutter-width) {
position: relative;
min-height: 1px;
padding-left: ($gutter / 2);
padding-right: ($gutter / 2);
@media (min-width: $screen-lg-min) {
float: left;
width: percentage(($columns / $grid-columns));
}
}
@mixin make-lg-column-offset($columns) {
@media (min-width: $screen-lg-min) {
margin-left: percentage(($columns / $grid-columns));
}
}
@mixin make-lg-column-push($columns) {
@media (min-width: $screen-lg-min) {
left: percentage(($columns / $grid-columns));
}
}
@mixin make-lg-column-pull($columns) {
@media (min-width: $screen-lg-min) {
right: percentage(($columns / $grid-columns));
}
}
// Framework grid generation
//
// Used only by Bootstrap to generate the correct number of grid classes given
// any value of `$grid-columns`.
// [converter] This is defined recursively in LESS, but Sass supports real loops
@mixin make-grid-columns() {
$list: '';
$i: 1;
$list: ".col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}";
@for $i from (1 + 1) through $grid-columns {
$list: "#{$list}, .col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}";
}
#{$list} {
position: relative;
// Prevent columns from collapsing when empty
min-height: 1px;
// Inner gutter via padding
padding-left: ($grid-gutter-width / 2);
padding-right: ($grid-gutter-width / 2);
}
}
// [converter] This is defined recursively in LESS, but Sass supports real loops
@mixin float-grid-columns($class) {
$list: '';
$i: 1;
$list: ".col-#{$class}-#{$i}";
@for $i from (1 + 1) through $grid-columns {
$list: "#{$list}, .col-#{$class}-#{$i}";
}
#{$list} {
float: left;
}
}
@mixin calc-grid-column($index, $class, $type) {
@if ($type == width) and ($index > 0) {
.col-#{$class}-#{$index} {
width: percentage(($index / $grid-columns));
}
}
@if ($type == push) {
.col-#{$class}-push-#{$index} {
left: percentage(($index / $grid-columns));
}
}
@if ($type == pull) {
.col-#{$class}-pull-#{$index} {
right: percentage(($index / $grid-columns));
}
}
@if ($type == offset) {
.col-#{$class}-offset-#{$index} {
margin-left: percentage(($index / $grid-columns));
}
}
}
// [converter] This is defined recursively in LESS, but Sass supports real loops
@mixin loop-grid-columns($columns, $class, $type) {
@for $i from 0 through $columns {
@include calc-grid-column($i, $class, $type);
}
}
// Create grid for specific class
@mixin make-grid($class) {
@include float-grid-columns($class);
@include loop-grid-columns($grid-columns, $class, width);
@include loop-grid-columns($grid-columns, $class, pull);
@include loop-grid-columns($grid-columns, $class, push);
@include loop-grid-columns($grid-columns, $class, offset);
}
// Form validation states
//
// Used in forms.less to generate the form validation CSS for warnings, errors,
// and successes.
@mixin form-control-validation($text-color: #555, $border-color: #ccc, $background-color: #f5f5f5) {
// Color the label and help text
.help-block,
.control-label,
.radio,
.checkbox,
.radio-inline,
.checkbox-inline {
color: $text-color;
}
// Set the border and box shadow on specific inputs to match
.form-control {
border-color: $border-color;
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
&:focus {
border-color: darken($border-color, 10%);
$shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($border-color, 20%);
@include box-shadow($shadow);
}
}
// Set validation states also for addons
.input-group-addon {
color: $text-color;
border-color: $border-color;
background-color: $background-color;
}
// Optional feedback icon
.form-control-feedback {
color: $text-color;
}
}
// Form control focus state
//
// Generate a customized focus state and for any input with the specified color,
// which defaults to the `$input-focus-border` variable.
//
// We highly encourage you to not customize the default value, but instead use
// this to tweak colors on an as-needed basis. This aesthetic change is based on
// WebKit's default styles, but applicable to a wider range of browsers. Its
// usability and accessibility should be taken into account with any change.
//
// Example usage: change the default blue border and shadow to white for better
// contrast against a dark gray background.
@mixin form-control-focus($color: $input-border-focus) {
$color-rgba: rgba(red($color), green($color), blue($color), .6);
&:focus {
border-color: $color;
outline: 0;
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px $color-rgba);
}
}
// Form control sizing
//
// Relative text size, padding, and border-radii changes for form controls. For
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
// element gets special love because it's special, and that's a fact!
// [converter] $parent hack
@mixin input-size($parent, $input-height, $padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
#{$parent} {
height: $input-height;
padding: $padding-vertical $padding-horizontal;
font-size: $font-size;
line-height: $line-height;
border-radius: $border-radius;
}
select#{$parent} {
height: $input-height;
line-height: $input-height;
}
textarea#{$parent},
select[multiple]#{$parent} {
height: auto;
}
}

25
src/styles/libs/bootstrap/bootstrap/_modals.scss vendored

@ -15,8 +15,7 @@
// Container that the modal scrolls within // Container that the modal scrolls within
.modal { .modal {
display: none; display: none;
overflow: auto; overflow: hidden;
overflow-y: scroll;
position: fixed; position: fixed;
top: 0; top: 0;
right: 0; right: 0;
@ -31,10 +30,14 @@
// When fading in the modal, animate it to slide down // When fading in the modal, animate it to slide down
&.fade .modal-dialog { &.fade .modal-dialog {
@include translate(0, -25%); @include translate3d(0, -25%, 0);
@include transition-transform(0.3s ease-out); @include transition-transform(0.3s ease-out);
} }
&.in .modal-dialog { @include translate(0, 0)} &.in .modal-dialog { @include translate3d(0, 0, 0) }
}
.modal-open .modal {
overflow-x: hidden;
overflow-y: auto;
} }
// Shell div to position the modal with bottom padding // Shell div to position the modal with bottom padding
@ -54,7 +57,7 @@
@include box-shadow(0 3px 9px rgba(0,0,0,.5)); @include box-shadow(0 3px 9px rgba(0,0,0,.5));
background-clip: padding-box; background-clip: padding-box;
// Remove focus outline from opened modal // Remove focus outline from opened modal
outline: none; outline: 0;
} }
// Modal background // Modal background
@ -98,8 +101,7 @@
// Footer (for actions) // Footer (for actions)
.modal-footer { .modal-footer {
margin-top: 15px; padding: $modal-inner-padding;
padding: ($modal-inner-padding - 1) $modal-inner-padding $modal-inner-padding;
text-align: right; // right align buttons text-align: right; // right align buttons
border-top: 1px solid $modal-footer-border-color; border-top: 1px solid $modal-footer-border-color;
@include clearfix(); // clear it in case folks use .pull-* classes on buttons @include clearfix(); // clear it in case folks use .pull-* classes on buttons
@ -119,6 +121,15 @@
} }
} }
// Measure scrollbar width for padding body during modal show/hide
.modal-scrollbar-measure {
position: absolute;
top: -9999px;
width: 50px;
height: 50px;
overflow: scroll;
}
// Scale up the modal // Scale up the modal
@media (min-width: $screen-sm-min) { @media (min-width: $screen-sm-min) {
// Automatically set modal's width for larger viewports // Automatically set modal's width for larger viewports

43
src/styles/libs/bootstrap/bootstrap/_navbar.scss vendored

@ -48,7 +48,6 @@
// content for the user's viewport. // content for the user's viewport.
.navbar-collapse { .navbar-collapse {
max-height: $navbar-collapse-max-height;
overflow-x: visible; overflow-x: visible;
padding-right: $navbar-padding-horizontal; padding-right: $navbar-padding-horizontal;
padding-left: $navbar-padding-horizontal; padding-left: $navbar-padding-horizontal;
@ -88,6 +87,17 @@
} }
} }
.navbar-fixed-top,
.navbar-fixed-bottom {
.navbar-collapse {
max-height: $navbar-collapse-max-height;
@media (max-width: $screen-xs-min) and (orientation: landscape) {
max-height: 200px;
}
}
}
// Both navbar header and collapse // Both navbar header and collapse
// //
@ -131,6 +141,7 @@
right: 0; right: 0;
left: 0; left: 0;
z-index: $zindex-navbar-fixed; z-index: $zindex-navbar-fixed;
@include translate3d(0, 0, 0);
// Undo the rounded corners // Undo the rounded corners
@media (min-width: $grid-float-breakpoint) { @media (min-width: $grid-float-breakpoint) {
@ -190,7 +201,7 @@
// We remove the `outline` here, but later compensate by attaching `:hover` // We remove the `outline` here, but later compensate by attaching `:hover`
// styles to `:focus`. // styles to `:focus`.
&:focus { &:focus {
outline: none; outline: 0;
} }
// Bars // Bars
@ -496,6 +507,20 @@
} }
} }
.btn-link {
color: $navbar-default-link-color;
&:hover,
&:focus {
color: $navbar-default-link-hover-color;
}
&[disabled],
fieldset[disabled] & {
&:hover,
&:focus {
color: $navbar-default-link-disabled-color;
}
}
}
} }
// Inverse navbar // Inverse navbar
@ -617,4 +642,18 @@
} }
} }
.btn-link {
color: $navbar-inverse-link-color;
&:hover,
&:focus {
color: $navbar-inverse-link-hover-color;
}
&[disabled],
fieldset[disabled] & {
&:hover,
&:focus {
color: $navbar-inverse-link-disabled-color;
}
}
}
} }

2
src/styles/libs/bootstrap/bootstrap/_navs.scss vendored

@ -162,7 +162,7 @@
> li { > li {
float: none; float: none;
> a { > a {
text-align: center; text-align: center;
margin-bottom: 5px; margin-bottom: 5px;
} }

40
src/styles/libs/bootstrap/bootstrap/_normalize.scss vendored

@ -1,4 +1,4 @@
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */ /*! normalize.css v3.0.1 | MIT License | git.io/normalize */
// //
// 1. Set default font family to sans-serif. // 1. Set default font family to sans-serif.
@ -24,7 +24,9 @@ body {
// ========================================================================== // ==========================================================================
// //
// Correct `block` display not defined in IE 8/9. // Correct `block` display not defined for any HTML5 element in IE 8/9.
// Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
// Correct `block` display not defined for `main` in IE 11.
// //
article, article,
@ -66,8 +68,8 @@ audio:not([controls]) {
} }
// //
// Address `[hidden]` styling not present in IE 8/9. // Address `[hidden]` styling not present in IE 8/9/10.
// Hide the `template` element in IE, Safari, and Firefox < 22. // Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
// //
[hidden], [hidden],
@ -99,7 +101,7 @@ a:hover {
// ========================================================================== // ==========================================================================
// //
// Address styling not present in IE 8/9, Safari 5, and Chrome. // Address styling not present in IE 8/9/10/11, Safari, and Chrome.
// //
abbr[title] { abbr[title] {
@ -107,7 +109,7 @@ abbr[title] {
} }
// //
// Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. // Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
// //
b, b,
@ -116,7 +118,7 @@ strong {
} }
// //
// Address styling not present in Safari 5 and Chrome. // Address styling not present in Safari and Chrome.
// //
dfn { dfn {
@ -125,7 +127,7 @@ dfn {
// //
// Address variable `h1` font-size and margin within `section` and `article` // Address variable `h1` font-size and margin within `section` and `article`
// contexts in Firefox 4+, Safari 5, and Chrome. // contexts in Firefox 4+, Safari, and Chrome.
// //
h1 { h1 {
@ -174,7 +176,7 @@ sub {
// ========================================================================== // ==========================================================================
// //
// Remove border when inside `a` element in IE 8/9. // Remove border when inside `a` element in IE 8/9/10.
// //
img { img {
@ -182,7 +184,7 @@ img {
} }
// //
// Correct overflow displayed oddly in IE 9. // Correct overflow not hidden in IE 9/10/11.
// //
svg:not(:root) { svg:not(:root) {
@ -193,7 +195,7 @@ svg:not(:root) {
// ========================================================================== // ==========================================================================
// //
// Address margin not present in IE 8/9 and Safari 5. // Address margin not present in IE 8/9 and Safari.
// //
figure { figure {
@ -242,7 +244,7 @@ samp {
// 1. Correct color not being inherited. // 1. Correct color not being inherited.
// Known issue: affects color of disabled elements. // Known issue: affects color of disabled elements.
// 2. Correct font properties not being inherited. // 2. Correct font properties not being inherited.
// 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. // 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
// //
button, button,
@ -256,7 +258,7 @@ textarea {
} }
// //
// Address `overflow` set to `hidden` in IE 8/9/10. // Address `overflow` set to `hidden` in IE 8/9/10/11.
// //
button { button {
@ -266,7 +268,7 @@ button {
// //
// Address inconsistent `text-transform` inheritance for `button` and `select`. // Address inconsistent `text-transform` inheritance for `button` and `select`.
// All other form control elements do not inherit `text-transform` values. // All other form control elements do not inherit `text-transform` values.
// Correct `button` style inheritance in Firefox, IE 8+, and Opera // Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
// Correct `select` style inheritance in Firefox. // Correct `select` style inheritance in Firefox.
// //
@ -345,8 +347,8 @@ input[type="number"]::-webkit-outer-spin-button {
} }
// //
// 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. // 1. Address `appearance` set to `searchfield` in Safari and Chrome.
// 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome // 2. Address `box-sizing` set to `border-box` in Safari and Chrome
// (include `-moz` to future-proof). // (include `-moz` to future-proof).
// //
@ -379,7 +381,7 @@ fieldset {
} }
// //
// 1. Correct `color` not being inherited in IE 8/9. // 1. Correct `color` not being inherited in IE 8/9/10/11.
// 2. Remove padding so people aren't caught out if they zero out fieldsets. // 2. Remove padding so people aren't caught out if they zero out fieldsets.
// //
@ -389,7 +391,7 @@ legend {
} }
// //
// Remove default vertical scrollbar in IE 8/9. // Remove default vertical scrollbar in IE 8/9/10/11.
// //
textarea { textarea {
@ -420,4 +422,4 @@ table {
td, td,
th { th {
padding: 0; padding: 0;
} }

14
src/styles/libs/bootstrap/bootstrap/_panels.scss vendored

@ -20,7 +20,7 @@
// Optional heading // Optional heading
.panel-heading { .panel-heading {
padding: 10px 15px; padding: $panel-heading-padding;
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
@include border-top-radius(($panel-border-radius - 1)); @include border-top-radius(($panel-border-radius - 1));
@ -43,7 +43,7 @@
// Optional footer (stays gray in every modifier class) // Optional footer (stays gray in every modifier class)
.panel-footer { .panel-footer {
padding: 10px 15px; padding: $panel-footer-padding;
background-color: $panel-footer-bg; background-color: $panel-footer-bg;
border-top: 1px solid $panel-inner-border; border-top: 1px solid $panel-inner-border;
@include border-bottom-radius(($panel-border-radius - 1)); @include border-bottom-radius(($panel-border-radius - 1));
@ -86,7 +86,9 @@
border-top-width: 0; border-top-width: 0;
} }
} }
.list-group + .panel-footer {
border-top-width: 0;
}
// Tables in panels // Tables in panels
// //
@ -95,7 +97,8 @@
.panel { .panel {
> .table, > .table,
> .table-responsive > .table { > .table-responsive > .table,
> .panel-collapse > .table {
margin-bottom: 0; margin-bottom: 0;
} }
// Add border top radius for first one // Add border top radius for first one
@ -199,7 +202,6 @@
.panel { .panel {
margin-bottom: 0; margin-bottom: 0;
border-radius: $panel-border-radius; border-radius: $panel-border-radius;
overflow: hidden; // crop contents when collapsed
+ .panel { + .panel {
margin-top: 5px; margin-top: 5px;
} }
@ -207,7 +209,7 @@
.panel-heading { .panel-heading {
border-bottom: 0; border-bottom: 0;
+ .panel-collapse .panel-body { + .panel-collapse > .panel-body {
border-top: 1px solid $panel-inner-border; border-top: 1px solid $panel-inner-border;
} }
} }

2
src/styles/libs/bootstrap/bootstrap/_popovers.scss vendored

@ -37,7 +37,7 @@
line-height: 18px; line-height: 18px;
background-color: $popover-title-bg; background-color: $popover-title-bg;
border-bottom: 1px solid darken($popover-title-bg, 5%); border-bottom: 1px solid darken($popover-title-bg, 5%);
border-radius: 5px 5px 0 0; border-radius: ($border-radius-large - 1) ($border-radius-large - 1) 0 0;
} }
.popover-content { .popover-content {

29
src/styles/libs/bootstrap/bootstrap/_progress-bars.scss vendored

@ -48,16 +48,41 @@
} }
// Striped bars // Striped bars
.progress-striped .progress-bar { //
// `.progress-striped .progress-bar` is deprecated as of v3.2.0 in favor of the
// `.progress-bar-striped` class, which you just add to an existing
// `.progress-bar`.
.progress-striped .progress-bar,
.progress-bar-striped {
@include gradient-striped(); @include gradient-striped();
background-size: 40px 40px; background-size: 40px 40px;
} }
// Call animation for the active one // Call animation for the active one
.progress.active .progress-bar { //
// `.progress.active .progress-bar` is deprecated as of v3.2.0 in favor of the
// `.progress-bar.active` approach.
.progress.active .progress-bar,
.progress-bar.active {
@include animation(progress-bar-stripes 2s linear infinite); @include animation(progress-bar-stripes 2s linear infinite);
} }
// Account for lower percentages
.progress-bar {
&[aria-valuenow="1"],
&[aria-valuenow="2"] {
min-width: 30px;
}
&[aria-valuenow="0"] {
color: $gray-light;
min-width: 30px;
background-color: transparent;
background-image: none;
box-shadow: none;
}
}
// Variations // Variations

34
src/styles/libs/bootstrap/bootstrap/_responsive-embed.scss vendored

@ -0,0 +1,34 @@
// Embeds responsive
//
// Credit: Nicolas Gallagher and SUIT CSS.
.embed-responsive {
position: relative;
display: block;
height: 0;
padding: 0;
overflow: hidden;
.embed-responsive-item,
iframe,
embed,
object {
position: absolute;
top: 0;
left: 0;
bottom: 0;
height: 100%;
width: 100%;
border: 0;
}
// Modifier class for 16:9 aspect ratio
&.embed-responsive-16by9 {
padding-bottom: 56.25%;
}
// Modifier class for 4:3 aspect ratio
&.embed-responsive-4by3 {
padding-bottom: 75%;
}
}

102
src/styles/libs/bootstrap/bootstrap/_responsive-utilities.scss vendored

@ -14,7 +14,8 @@
// For more information, see the following: // For more information, see the following:
// //
// Issue: https://github.com/twbs/bootstrap/issues/10497 // Issue: https://github.com/twbs/bootstrap/issues/10497
// Docs: http://getbootstrap.com/getting-started/#browsers // Docs: http://getbootstrap.com/getting-started/#support-ie10-width
// Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/ // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
@-ms-viewport { @-ms-viewport {
@ -23,24 +24,100 @@
// Visibility utilities // Visibility utilities
// Note: Deprecated .visible-xs, .visible-sm, .visible-md, and .visible-lg as of v3.2.0
@include responsive-invisibility('.visible-xs, .visible-sm, .visible-md, .visible-lg'); @include responsive-invisibility('.visible-xs, .visible-sm, .visible-md, .visible-lg');
.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
display: none !important;
}
@media (max-width: $screen-xs-max) { @media (max-width: $screen-xs-max) {
@include responsive-visibility('.visible-xs'); @include responsive-visibility('.visible-xs');
} }
.visible-xs-block {
@media (max-width: $screen-xs-max) {
display: block !important;
}
}
.visible-xs-inline {
@media (max-width: $screen-xs-max) {
display: inline !important;
}
}
.visible-xs-inline-block {
@media (max-width: $screen-xs-max) {
display: inline-block !important;
}
}
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) { @media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
@include responsive-visibility('.visible-sm'); @include responsive-visibility('.visible-sm');
} }
.visible-sm-block {
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
display: block !important;
}
}
.visible-sm-inline {
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
display: inline !important;
}
}
.visible-sm-inline-block {
@media (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
display: inline-block !important;
}
}
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) { @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
@include responsive-visibility('.visible-md'); @include responsive-visibility('.visible-md');
} }
.visible-md-block {
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
display: block !important;
}
}
.visible-md-inline {
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
display: inline !important;
}
}
.visible-md-inline-block {
@media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
display: inline-block !important;
}
}
@media (min-width: $screen-lg-min) { @media (min-width: $screen-lg-min) {
@include responsive-visibility('.visible-lg'); @include responsive-visibility('.visible-lg');
} }
.visible-lg-block {
@media (min-width: $screen-lg-min) {
display: block !important;
}
}
.visible-lg-inline {
@media (min-width: $screen-lg-min) {
display: inline !important;
}
}
.visible-lg-inline-block {
@media (min-width: $screen-lg-min) {
display: inline-block !important;
}
}
@media (max-width: $screen-xs-max) { @media (max-width: $screen-xs-max) {
@include responsive-invisibility('.hidden-xs'); @include responsive-invisibility('.hidden-xs');
@ -63,11 +140,34 @@
// //
// Media queries are placed on the inside to be mixin-friendly. // Media queries are placed on the inside to be mixin-friendly.
// Note: Deprecated .visible-print as of v3.2.0
@include responsive-invisibility('.visible-print'); @include responsive-invisibility('.visible-print');
@media print { @media print {
@include responsive-visibility('.visible-print'); @include responsive-visibility('.visible-print');
} }
.visible-print-block {
display: none !important;
@media print {
display: block !important;
}
}
.visible-print-inline {
display: none !important;
@media print {
display: inline !important;
}
}
.visible-print-inline-block {
display: none !important;
@media print {
display: inline-block !important;
}
}
@media print { @media print {
@include responsive-invisibility('.hidden-print'); @include responsive-invisibility('.hidden-print');

18
src/styles/libs/bootstrap/bootstrap/_scaffolding.scss vendored

@ -20,7 +20,7 @@
// Body reset // Body reset
html { html {
font-size: 62.5%; font-size: 10px;
-webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: rgba(0,0,0,0);
} }
@ -132,3 +132,19 @@ hr {
clip: rect(0,0,0,0); clip: rect(0,0,0,0);
border: 0; border: 0;
} }
// Use in conjunction with .sr-only to only display content when it's focused.
// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
// Credit: HTML5 Boilerplate
.sr-only-focusable {
&:active,
&:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto;
}
}

8
src/styles/libs/bootstrap/bootstrap/_tables.scss vendored

@ -4,7 +4,6 @@
table { table {
max-width: 100%;
background-color: $table-bg; background-color: $table-bg;
} }
th { th {
@ -16,6 +15,7 @@ th {
.table { .table {
width: 100%; width: 100%;
max-width: 100%;
margin-bottom: $line-height-computed; margin-bottom: $line-height-computed;
// Cells // Cells
> thead, > thead,
@ -168,12 +168,12 @@ table {
// by enabling horizontal scrolling. Only applies <768px. Everything above that // by enabling horizontal scrolling. Only applies <768px. Everything above that
// will display normally. // will display normally.
@media (max-width: $screen-xs-max) { .table-responsive {
.table-responsive { @media screen and (max-width: $screen-xs-max) {
width: 100%; width: 100%;
margin-bottom: ($line-height-computed * 0.75); margin-bottom: ($line-height-computed * 0.75);
overflow-y: hidden; overflow-y: hidden;
overflow-x: scroll; overflow-x: auto;
-ms-overflow-style: -ms-autohiding-scrollbar; -ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid $table-border-color; border: 1px solid $table-border-color;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;

11
src/styles/libs/bootstrap/bootstrap/_theme.scss vendored

@ -48,6 +48,12 @@
background-color: darken($btn-color, 12%); background-color: darken($btn-color, 12%);
border-color: darken($btn-color, 14%); border-color: darken($btn-color, 14%);
} }
&:disabled,
&[disabled] {
background-color: darken($btn-color, 12%);
background-image: none;
}
} }
// Common styles // Common styles
@ -191,6 +197,11 @@
.progress-bar-warning { @include progress-bar-styles($progress-bar-warning-bg); } .progress-bar-warning { @include progress-bar-styles($progress-bar-warning-bg); }
.progress-bar-danger { @include progress-bar-styles($progress-bar-danger-bg); } .progress-bar-danger { @include progress-bar-styles($progress-bar-danger-bg); }
// Reset the striped class because our mixins don't do multiple gradients and
// the above custom styles override the new `.progress-bar-striped` in v3.2.0.
.progress-bar-striped {
@include gradient-striped();
}
// //

44
src/styles/libs/bootstrap/bootstrap/_type.scss vendored

@ -62,7 +62,7 @@ p {
.lead { .lead {
margin-bottom: $line-height-computed; margin-bottom: $line-height-computed;
font-size: floor(($font-size-base * 1.15)); font-size: floor(($font-size-base * 1.15));
font-weight: 200; font-weight: 300;
line-height: 1.4; line-height: 1.4;
@media (min-width: $screen-sm-min) { @media (min-width: $screen-sm-min) {
@ -74,18 +74,34 @@ p {
// Emphasis & misc // Emphasis & misc
// ------------------------- // -------------------------
// Ex: 14px base font * 85% = about 12px // Ex: (12px small font / 14px base font) * 100% = about 85%
small, small,
.small { font-size: 85%; } .small {
font-size: floor((100% * $font-size-small / $font-size-base));
}
// Undo browser default styling // Undo browser default styling
cite { font-style: normal; } cite {
font-style: normal;
}
mark,
.mark {
background-color: $state-warning-bg;
padding: .2em;
}
// Alignment // Alignment
.text-left { text-align: left; } .text-left { text-align: left; }
.text-right { text-align: right; } .text-right { text-align: right; }
.text-center { text-align: center; } .text-center { text-align: center; }
.text-justify { text-align: justify; } .text-justify { text-align: justify; }
.text-nowrap { white-space: nowrap; }
// Transformation
.text-lowercase { text-transform: lowercase; }
.text-uppercase { text-transform: uppercase; }
.text-capitalize { text-transform: capitalize; }
// Contextual colors // Contextual colors
.text-muted { .text-muted {
@ -132,7 +148,7 @@ cite { font-style: normal; }
// Lists // Lists
// -------------------------------------------------- // -------------------------
// Unordered and Ordered lists // Unordered and Ordered lists
ul, ul,
@ -186,24 +202,28 @@ dd {
// Defaults to being stacked without any of the below styles applied, until the // Defaults to being stacked without any of the below styles applied, until the
// grid breakpoint is reached (default of ~768px). // grid breakpoint is reached (default of ~768px).
@media (min-width: $grid-float-breakpoint) { .dl-horizontal {
.dl-horizontal { dd {
@include clearfix(); // Clear the floated `dt` if an empty `dd` is present
}
@media (min-width: $grid-float-breakpoint) {
dt { dt {
float: left; float: left;
width: ($component-offset-horizontal - 20); width: ($dl-horizontal-offset - 20);
clear: left; clear: left;
text-align: right; text-align: right;
@include text-overflow(); @include text-overflow();
} }
dd { dd {
margin-left: $component-offset-horizontal; margin-left: $dl-horizontal-offset;
@include clearfix(); // Clear the floated `dt` if an empty `dd` is present
} }
} }
} }
// MISC
// ---- // Misc
// -------------------------
// Abbreviations and acronyms // Abbreviations and acronyms
abbr[title], abbr[title],

1
src/styles/libs/bootstrap/bootstrap/_utilities.scss vendored

@ -53,4 +53,5 @@
.affix { .affix {
position: fixed; position: fixed;
@include translate3d(0, 0, 0);
} }

65
src/styles/libs/bootstrap/bootstrap/_variables.scss vendored

@ -14,7 +14,7 @@ $bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")
$gray-darker: lighten(#000, 13.5%) !default; // #222 $gray-darker: lighten(#000, 13.5%) !default; // #222
$gray-dark: lighten(#000, 20%) !default; // #333 $gray-dark: lighten(#000, 20%) !default; // #333
$gray: lighten(#000, 33.5%) !default; // #555 $gray: lighten(#000, 33.5%) !default; // #555
$gray-light: lighten(#000, 60%) !default; // #999 $gray-light: lighten(#000, 46.7%) !default; // #777
$gray-lighter: lighten(#000, 93.5%) !default; // #eee $gray-lighter: lighten(#000, 93.5%) !default; // #eee
$brand-primary: #428bca !default; $brand-primary: #428bca !default;
@ -26,7 +26,7 @@ $brand-danger: #d9534f !default;
//== Scaffolding //== Scaffolding
// //
// ## Settings for some of the most global styles. //## Settings for some of the most global styles.
//** Background color for `<body>`. //** Background color for `<body>`.
$body-bg: #fff !default; $body-bg: #fff !default;
@ -72,14 +72,18 @@ $headings-line-height: 1.1 !default;
$headings-color: inherit !default; $headings-color: inherit !default;
//-- Iconography //== Iconography
// //
//## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower. //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
//** Load fonts from this directory.
$icon-font-path: "bootstrap/" !default; $icon-font-path: "bootstrap/" !default;
//** File name for all font files.
$icon-font-name: "glyphicons-halflings-regular" !default; $icon-font-name: "glyphicons-halflings-regular" !default;
//** Element ID within SVG icon file.
$icon-font-svg-id: "glyphicons_halflingsregular" !default; $icon-font-svg-id: "glyphicons_halflingsregular" !default;
//== Components //== Components
// //
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start). //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
@ -236,7 +240,7 @@ $dropdown-link-disabled-color: $gray-light !default;
//** Text color for headers within dropdown menus. //** Text color for headers within dropdown menus.
$dropdown-header-color: $gray-light !default; $dropdown-header-color: $gray-light !default;
// Note: Deprecated $dropdown-caret-color as of v3.1.0 //** Deprecated `$dropdown-caret-color` as of v3.1.0
$dropdown-caret-color: #000 !default; $dropdown-caret-color: #000 !default;
@ -249,8 +253,8 @@ $dropdown-caret-color: #000 !default;
$zindex-navbar: 1000 !default; $zindex-navbar: 1000 !default;
$zindex-dropdown: 1000 !default; $zindex-dropdown: 1000 !default;
$zindex-popover: 1010 !default; $zindex-popover: 1060 !default;
$zindex-tooltip: 1030 !default; $zindex-tooltip: 1070 !default;
$zindex-navbar-fixed: 1030 !default; $zindex-navbar-fixed: 1030 !default;
$zindex-modal-background: 1040 !default; $zindex-modal-background: 1040 !default;
$zindex-modal: 1050 !default; $zindex-modal: 1050 !default;
@ -261,27 +265,32 @@ $zindex-modal: 1050 !default;
//## Define the breakpoints at which your layout will change, adapting to different screen sizes. //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
// Extra small screen / phone // Extra small screen / phone
// Note: Deprecated $screen-xs and $screen-phone as of v3.0.1 //** Deprecated `$screen-xs` as of v3.0.1
$screen-xs: 480px !default; $screen-xs: 480px !default;
//** Deprecated `$screen-xs-min` as of v3.2.0
$screen-xs-min: $screen-xs !default; $screen-xs-min: $screen-xs !default;
//** Deprecated `$screen-phone` as of v3.0.1
$screen-phone: $screen-xs-min !default; $screen-phone: $screen-xs-min !default;
// Small screen / tablet // Small screen / tablet
// Note: Deprecated $screen-sm and $screen-tablet as of v3.0.1 //** Deprecated `$screen-sm` as of v3.0.1
$screen-sm: 768px !default; $screen-sm: 768px !default;
$screen-sm-min: $screen-sm !default; $screen-sm-min: $screen-sm !default;
//** Deprecated `$screen-tablet` as of v3.0.1
$screen-tablet: $screen-sm-min !default; $screen-tablet: $screen-sm-min !default;
// Medium screen / desktop // Medium screen / desktop
// Note: Deprecated $screen-md and $screen-desktop as of v3.0.1 //** Deprecated `$screen-md` as of v3.0.1
$screen-md: 992px !default; $screen-md: 992px !default;
$screen-md-min: $screen-md !default; $screen-md-min: $screen-md !default;
//** Deprecated `$screen-desktop` as of v3.0.1
$screen-desktop: $screen-md-min !default; $screen-desktop: $screen-md-min !default;
// Large screen / wide desktop // Large screen / wide desktop
// Note: Deprecated $screen-lg and $screen-lg-desktop as of v3.0.1 //** Deprecated `$screen-lg` as of v3.0.1
$screen-lg: 1200px !default; $screen-lg: 1200px !default;
$screen-lg-min: $screen-lg !default; $screen-lg-min: $screen-lg !default;
//** Deprecated `$screen-lg-desktop` as of v3.0.1
$screen-lg-desktop: $screen-lg-min !default; $screen-lg-desktop: $screen-lg-min !default;
// So media queries don't overlap when required, provide a maximum // So media queries don't overlap when required, provide a maximum
@ -529,7 +538,7 @@ $popover-arrow-color: #fff !default;
//** Popover outer arrow width //** Popover outer arrow width
$popover-arrow-outer-width: ($popover-arrow-width + 1) !default; $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
//** Popover outer arrow color //** Popover outer arrow color
$popover-arrow-outer-color: fadein($popover-border-color, 5%) !default; $popover-arrow-outer-color: fade_in($popover-border-color, 0.05) !default;
//** Popover outer arrow fallback color //** Popover outer arrow fallback color
$popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default; $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
@ -562,7 +571,7 @@ $label-link-hover-color: #fff !default;
//## //##
//** Padding applied to the modal body //** Padding applied to the modal body
$modal-inner-padding: 20px !default; $modal-inner-padding: 15px !default;
//** Padding applied to the modal title //** Padding applied to the modal title
$modal-title-padding: 15px !default; $modal-title-padding: 15px !default;
@ -647,17 +656,26 @@ $list-group-border: #ddd !default;
//** List group border radius //** List group border radius
$list-group-border-radius: $border-radius-base !default; $list-group-border-radius: $border-radius-base !default;
//** Background color of single list elements on hover //** Background color of single list items on hover
$list-group-hover-bg: #f5f5f5 !default; $list-group-hover-bg: #f5f5f5 !default;
//** Text color of active list elements //** Text color of active list items
$list-group-active-color: $component-active-color !default; $list-group-active-color: $component-active-color !default;
//** Background color of active list elements //** Background color of active list items
$list-group-active-bg: $component-active-bg !default; $list-group-active-bg: $component-active-bg !default;
//** Border color of active list elements //** Border color of active list elements
$list-group-active-border: $list-group-active-bg !default; $list-group-active-border: $list-group-active-bg !default;
//** Text color for content within active list items
$list-group-active-text-color: lighten($list-group-active-bg, 40%) !default; $list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
//** Text color of disabled list items
$list-group-disabled-color: $gray-light !default;
//** Background color of disabled list items
$list-group-disabled-bg: $gray-lighter !default;
//** Text color for content within disabled list items
$list-group-disabled-text-color: $list-group-disabled-color !default;
$list-group-link-color: #555 !default; $list-group-link-color: #555 !default;
$list-group-link-hover-color: $list-group-link-color !default;
$list-group-link-heading-color: #333 !default; $list-group-link-heading-color: #333 !default;
@ -667,6 +685,8 @@ $list-group-link-heading-color: #333 !default;
$panel-bg: #fff !default; $panel-bg: #fff !default;
$panel-body-padding: 15px !default; $panel-body-padding: 15px !default;
$panel-heading-padding: 10px 15px !default;
$panel-footer-padding: $panel-heading-padding !default;
$panel-border-radius: $border-radius-base !default; $panel-border-radius: $border-radius-base !default;
//** Border color for elements within panels //** Border color for elements within panels
@ -806,6 +826,8 @@ $pre-scrollable-max-height: 340px !default;
// //
//## //##
//** Horizontal offset for forms and lists.
$component-offset-horizontal: 180px !default;
//** Text muted color //** Text muted color
$text-muted: $gray-light !default; $text-muted: $gray-light !default;
//** Abbreviations and acronyms border color //** Abbreviations and acronyms border color
@ -820,14 +842,9 @@ $blockquote-font-size: ($font-size-base * 1.25) !default;
$blockquote-border-color: $gray-lighter !default; $blockquote-border-color: $gray-lighter !default;
//** Page header border color //** Page header border color
$page-header-border-color: $gray-lighter !default; $page-header-border-color: $gray-lighter !default;
//** Width of horizontal description list titles
$dl-horizontal-offset: $component-offset-horizontal !default;
//== Miscellaneous
//
//##
//** Horizontal line color. //** Horizontal line color.
$hr-border: $gray-lighter !default; $hr-border: $gray-lighter !default;
//** Horizontal offset for forms and lists.
$component-offset-horizontal: 180px !default;

5
src/styles/libs/bootstrap/bootstrap/bootstrap.scss vendored

@ -2,9 +2,10 @@
@import "variables"; @import "variables";
@import "mixins"; @import "mixins";
// Reset // Reset and dependencies
@import "normalize"; @import "normalize";
@import "print"; @import "print";
@import "glyphicons";
// Core CSS // Core CSS
@import "scaffolding"; @import "scaffolding";
@ -17,7 +18,6 @@
// Components // Components
@import "component-animations"; @import "component-animations";
@import "glyphicons";
@import "dropdowns"; @import "dropdowns";
@import "button-groups"; @import "button-groups";
@import "input-groups"; @import "input-groups";
@ -35,6 +35,7 @@
@import "media"; @import "media";
@import "list-group"; @import "list-group";
@import "panels"; @import "panels";
@import "responsive-embed";
@import "wells"; @import "wells";
@import "close"; @import "close";

14
src/styles/libs/bootstrap/bootstrap/mixins/_alerts.scss vendored

@ -0,0 +1,14 @@
// Alerts
@mixin alert-variant($background, $border, $text-color) {
background-color: $background;
border-color: $border;
color: $text-color;
hr {
border-top-color: darken($border, 5%);
}
.alert-link {
color: darken($text-color, 10%);
}
}

11
src/styles/libs/bootstrap/bootstrap/mixins/_background-variant.scss vendored

@ -0,0 +1,11 @@
// Contextual backgrounds
// [converter] $parent hack
@mixin bg-variant($parent, $color) {
#{$parent} {
background-color: $color;
}
a#{$parent}:hover {
background-color: darken($color, 10%);
}
}

18
src/styles/libs/bootstrap/bootstrap/mixins/_border-radius.scss vendored

@ -0,0 +1,18 @@
// Single side border-radius
@mixin border-top-radius($radius) {
border-top-right-radius: $radius;
border-top-left-radius: $radius;
}
@mixin border-right-radius($radius) {
border-bottom-right-radius: $radius;
border-top-right-radius: $radius;
}
@mixin border-bottom-radius($radius) {
border-bottom-right-radius: $radius;
border-bottom-left-radius: $radius;
}
@mixin border-left-radius($radius) {
border-bottom-left-radius: $radius;
border-top-left-radius: $radius;
}

50
src/styles/libs/bootstrap/bootstrap/mixins/_buttons.scss vendored

@ -0,0 +1,50 @@
// Button variants
//
// Easily pump out default styles, as well as :hover, :focus, :active,
// and disabled options for all buttons
@mixin button-variant($color, $background, $border) {
color: $color;
background-color: $background;
border-color: $border;
&:hover,
&:focus,
&:active,
&.active,
.open > &.dropdown-toggle {
color: $color;
background-color: darken($background, 10%);
border-color: darken($border, 12%);
}
&:active,
&.active,
.open > &.dropdown-toggle {
background-image: none;
}
&.disabled,
&[disabled],
fieldset[disabled] & {
&,
&:hover,
&:focus,
&:active,
&.active {
background-color: $background;
border-color: $border;
}
}
.badge {
color: $background;
background-color: $color;
}
}
// Button sizes
@mixin button-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
padding: $padding-vertical $padding-horizontal;
font-size: $font-size;
line-height: $line-height;
border-radius: $border-radius;
}

7
src/styles/libs/bootstrap/bootstrap/mixins/_center-block.scss vendored

@ -0,0 +1,7 @@
// Center-align a block level element
@mixin center-block() {
display: block;
margin-left: auto;
margin-right: auto;
}

22
src/styles/libs/bootstrap/bootstrap/mixins/_clearfix.scss vendored

@ -0,0 +1,22 @@
// Clearfix
//
// For modern browsers
// 1. The space content is one way to avoid an Opera bug when the
// contenteditable attribute is included anywhere else in the document.
// Otherwise it causes space to appear at the top and bottom of elements
// that are clearfixed.
// 2. The use of `table` rather than `block` is only necessary if using
// `:before` to contain the top-margins of child elements.
//
// Source: http://nicolasgallagher.com/micro-clearfix-hack/
@mixin clearfix() {
&:before,
&:after {
content: " "; // 1
display: table; // 2
}
&:after {
clear: both;
}
}

84
src/styles/libs/bootstrap/bootstrap/mixins/_forms.scss vendored

@ -0,0 +1,84 @@
// Form validation states
//
// Used in forms.less to generate the form validation CSS for warnings, errors,
// and successes.
@mixin form-control-validation($text-color: #555, $border-color: #ccc, $background-color: #f5f5f5) {
// Color the label and help text
.help-block,
.control-label,
.radio,
.checkbox,
.radio-inline,
.checkbox-inline {
color: $text-color;
}
// Set the border and box shadow on specific inputs to match
.form-control {
border-color: $border-color;
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
&:focus {
border-color: darken($border-color, 10%);
$shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($border-color, 20%);
@include box-shadow($shadow);
}
}
// Set validation states also for addons
.input-group-addon {
color: $text-color;
border-color: $border-color;
background-color: $background-color;
}
// Optional feedback icon
.form-control-feedback {
color: $text-color;
}
}
// Form control focus state
//
// Generate a customized focus state and for any input with the specified color,
// which defaults to the `$input-border-focus` variable.
//
// We highly encourage you to not customize the default value, but instead use
// this to tweak colors on an as-needed basis. This aesthetic change is based on
// WebKit's default styles, but applicable to a wider range of browsers. Its
// usability and accessibility should be taken into account with any change.
//
// Example usage: change the default blue border and shadow to white for better
// contrast against a dark gray background.
@mixin form-control-focus($color: $input-border-focus) {
$color-rgba: rgba(red($color), green($color), blue($color), .6);
&:focus {
border-color: $color;
outline: 0;
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px $color-rgba);
}
}
// Form control sizing
//
// Relative text size, padding, and border-radii changes for form controls. For
// horizontal sizing, wrap controls in the predefined grid classes. `<select>`
// element gets special love because it's special, and that's a fact!
// [converter] $parent hack
@mixin input-size($parent, $input-height, $padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
#{$parent} {
height: $input-height;
padding: $padding-vertical $padding-horizontal;
font-size: $font-size;
line-height: $line-height;
border-radius: $border-radius;
}
select#{$parent} {
height: $input-height;
line-height: $input-height;
}
textarea#{$parent},
select[multiple]#{$parent} {
height: auto;
}
}

58
src/styles/libs/bootstrap/bootstrap/mixins/_gradients.scss vendored

@ -0,0 +1,58 @@
// Gradients
// Horizontal gradient, from left to right
//
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
@mixin gradient-horizontal($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
background-image: -webkit-linear-gradient(left, $start-color $start-percent, $end-color $end-percent); // Safari 5.1-6, Chrome 10+
background-image: -o-linear-gradient(left, $start-color $start-percent, $end-color $end-percent); // Opera 12
background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 and down
}
// Vertical gradient, from top to bottom
//
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
@mixin gradient-vertical($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) {
background-image: -webkit-linear-gradient(top, $start-color $start-percent, $end-color $end-percent); // Safari 5.1-6, Chrome 10+
background-image: -o-linear-gradient(top, $start-color $start-percent, $end-color $end-percent); // Opera 12
background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 and down
}
@mixin gradient-directional($start-color: #555, $end-color: #333, $deg: 45deg) {
background-repeat: repeat-x;
background-image: -webkit-linear-gradient($deg, $start-color, $end-color); // Safari 5.1-6, Chrome 10+
background-image: -o-linear-gradient($deg, $start-color, $end-color); // Opera 12
background-image: linear-gradient($deg, $start-color, $end-color); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
}
@mixin gradient-horizontal-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
background-image: -webkit-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
background-image: -o-linear-gradient(left, $start-color, $mid-color $color-stop, $end-color);
background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=1); // IE9 and down, gets no color-stop at all for proper fallback
}
@mixin gradient-vertical-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
background-image: -webkit-linear-gradient($start-color, $mid-color $color-stop, $end-color);
background-image: -o-linear-gradient($start-color, $mid-color $color-stop, $end-color);
background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str($start-color)}', endColorstr='#{ie-hex-str($end-color)}', GradientType=0); // IE9 and down, gets no color-stop at all for proper fallback
}
@mixin gradient-radial($inner-color: #555, $outer-color: #333) {
background-image: -webkit-radial-gradient(circle, $inner-color, $outer-color);
background-image: radial-gradient(circle, $inner-color, $outer-color);
background-repeat: no-repeat;
}
@mixin gradient-striped($color: rgba(255,255,255,.15), $angle: 45deg) {
background-image: -webkit-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
background-image: -o-linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent);
}

81
src/styles/libs/bootstrap/bootstrap/mixins/_grid-framework.scss vendored

@ -0,0 +1,81 @@
// Framework grid generation
//
// Used only by Bootstrap to generate the correct number of grid classes given
// any value of `$grid-columns`.
// [converter] This is defined recursively in LESS, but Sass supports real loops
@mixin make-grid-columns($i: 1, $list: ".col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}") {
@for $i from (1 + 1) through $grid-columns {
$list: "#{$list}, .col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}";
}
#{$list} {
position: relative;
// Prevent columns from collapsing when empty
min-height: 1px;
// Inner gutter via padding
padding-left: ($grid-gutter-width / 2);
padding-right: ($grid-gutter-width / 2);
}
}
// [converter] This is defined recursively in LESS, but Sass supports real loops
@mixin float-grid-columns($class, $i: 1, $list: ".col-#{$class}-#{$i}") {
@for $i from (1 + 1) through $grid-columns {
$list: "#{$list}, .col-#{$class}-#{$i}";
}
#{$list} {
float: left;
}
}
@mixin calc-grid-column($index, $class, $type) {
@if ($type == width) and ($index > 0) {
.col-#{$class}-#{$index} {
width: percentage(($index / $grid-columns));
}
}
@if ($type == push) and ($index > 0) {
.col-#{$class}-push-#{$index} {
left: percentage(($index / $grid-columns));
}
}
@if ($type == push) and ($index == 0) {
.col-#{$class}-push-0 {
left: auto;
}
}
@if ($type == pull) and ($index > 0) {
.col-#{$class}-pull-#{$index} {
right: percentage(($index / $grid-columns));
}
}
@if ($type == pull) and ($index == 0) {
.col-#{$class}-pull-0 {
right: auto;
}
}
@if ($type == offset) {
.col-#{$class}-offset-#{$index} {
margin-left: percentage(($index / $grid-columns));
}
}
}
// [converter] This is defined recursively in LESS, but Sass supports real loops
@mixin loop-grid-columns($columns, $class, $type) {
@for $i from 0 through $columns {
@include calc-grid-column($i, $class, $type);
}
}
// Create grid for specific class
@mixin make-grid($class) {
@include float-grid-columns($class);
@include loop-grid-columns($grid-columns, $class, width);
@include loop-grid-columns($grid-columns, $class, pull);
@include loop-grid-columns($grid-columns, $class, push);
@include loop-grid-columns($grid-columns, $class, offset);
}

122
src/styles/libs/bootstrap/bootstrap/mixins/_grid.scss vendored

@ -0,0 +1,122 @@
// Grid system
//
// Generate semantic grid columns with these mixins.
// Centered container element
@mixin container-fixed($gutter: $grid-gutter-width) {
margin-right: auto;
margin-left: auto;
padding-left: ($gutter / 2);
padding-right: ($gutter / 2);
@include clearfix();
}
// Creates a wrapper for a series of columns
@mixin make-row($gutter: $grid-gutter-width) {
margin-left: ($gutter / -2);
margin-right: ($gutter / -2);
@include clearfix();
}
// Generate the extra small columns
@mixin make-xs-column($columns, $gutter: $grid-gutter-width) {
position: relative;
float: left;
width: percentage(($columns / $grid-columns));
min-height: 1px;
padding-left: ($gutter / 2);
padding-right: ($gutter / 2);
}
@mixin make-xs-column-offset($columns) {
margin-left: percentage(($columns / $grid-columns));
}
@mixin make-xs-column-push($columns) {
left: percentage(($columns / $grid-columns));
}
@mixin make-xs-column-pull($columns) {
right: percentage(($columns / $grid-columns));
}
// Generate the small columns
@mixin make-sm-column($columns, $gutter: $grid-gutter-width) {
position: relative;
min-height: 1px;
padding-left: ($gutter / 2);
padding-right: ($gutter / 2);
@media (min-width: $screen-sm-min) {
float: left;
width: percentage(($columns / $grid-columns));
}
}
@mixin make-sm-column-offset($columns) {
@media (min-width: $screen-sm-min) {
margin-left: percentage(($columns / $grid-columns));
}
}
@mixin make-sm-column-push($columns) {
@media (min-width: $screen-sm-min) {
left: percentage(($columns / $grid-columns));
}
}
@mixin make-sm-column-pull($columns) {
@media (min-width: $screen-sm-min) {
right: percentage(($columns / $grid-columns));
}
}
// Generate the medium columns
@mixin make-md-column($columns, $gutter: $grid-gutter-width) {
position: relative;
min-height: 1px;
padding-left: ($gutter / 2);
padding-right: ($gutter / 2);
@media (min-width: $screen-md-min) {
float: left;
width: percentage(($columns / $grid-columns));
}
}
@mixin make-md-column-offset($columns) {
@media (min-width: $screen-md-min) {
margin-left: percentage(($columns / $grid-columns));
}
}
@mixin make-md-column-push($columns) {
@media (min-width: $screen-md-min) {
left: percentage(($columns / $grid-columns));
}
}
@mixin make-md-column-pull($columns) {
@media (min-width: $screen-md-min) {
right: percentage(($columns / $grid-columns));
}
}
// Generate the large columns
@mixin make-lg-column($columns, $gutter: $grid-gutter-width) {
position: relative;
min-height: 1px;
padding-left: ($gutter / 2);
padding-right: ($gutter / 2);
@media (min-width: $screen-lg-min) {
float: left;
width: percentage(($columns / $grid-columns));
}
}
@mixin make-lg-column-offset($columns) {
@media (min-width: $screen-lg-min) {
margin-left: percentage(($columns / $grid-columns));
}
}
@mixin make-lg-column-push($columns) {
@media (min-width: $screen-lg-min) {
left: percentage(($columns / $grid-columns));
}
}
@mixin make-lg-column-pull($columns) {
@media (min-width: $screen-lg-min) {
right: percentage(($columns / $grid-columns));
}
}

21
src/styles/libs/bootstrap/bootstrap/mixins/_hide-text.scss vendored

@ -0,0 +1,21 @@
// CSS image replacement
//
// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
// mixins being reused as classes with the same name, this doesn't hold up. As
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
//
// Source: https://github.com/h5bp/html5-boilerplate/commit/aa0396eae757
// Deprecated as of v3.0.1 (will be removed in v4)
@mixin hide-text() {
font: #{0/0} a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
// New mixin to use as of v3.0.1
@mixin text-hide() {
@include hide-text();
}

34
src/styles/libs/bootstrap/bootstrap/mixins/_image.scss vendored

@ -0,0 +1,34 @@
// Image Mixins
// - Responsive image
// - Retina image
// Responsive image
//
// Keep images from scaling beyond the width of their parents.
@mixin img-responsive($display: block) {
display: $display;
width: 100% \9; // Force IE10 and below to size SVG images correctly
max-width: 100%; // Part 1: Set a maximum relative to the parent
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
}
// Retina image
//
// Short retina mixin for setting background-image and -size. Note that the
// spelling of `min--moz-device-pixel-ratio` is intentional.
@mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) {
background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$file-1x}"), "#{$file-1x}"));
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min--moz-device-pixel-ratio: 2),
only screen and ( -o-min-device-pixel-ratio: 2/1),
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) {
background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$file-2x}"), "#{$file-2x}"));
background-size: $width-1x $height-1x;
}
}

12
src/styles/libs/bootstrap/bootstrap/mixins/_labels.scss vendored

@ -0,0 +1,12 @@
// Labels
@mixin label-variant($color) {
background-color: $color;
&[href] {
&:hover,
&:focus {
background-color: darken($color, 10%);
}
}
}

31
src/styles/libs/bootstrap/bootstrap/mixins/_list-group.scss vendored

@ -0,0 +1,31 @@
// List Groups
@mixin list-group-item-variant($state, $background, $color) {
.list-group-item-#{$state} {
color: $color;
background-color: $background;
// [converter] extracted a& to a.list-group-item-#{$state}
}
a.list-group-item-#{$state} {
color: $color;
.list-group-item-heading {
color: inherit;
}
&:hover,
&:focus {
color: $color;
background-color: darken($background, 5%);
}
&.active,
&.active:hover,
&.active:focus {
color: #fff;
background-color: $color;
border-color: $color;
}
}
}

10
src/styles/libs/bootstrap/bootstrap/mixins/_nav-divider.scss vendored

@ -0,0 +1,10 @@
// Horizontal dividers
//
// Dividers (basically an hr) within dropdowns and nav lists
@mixin nav-divider($color: #e5e5e5) {
height: 1px;
margin: (($line-height-computed / 2) - 1) 0;
overflow: hidden;
background-color: $color;
}

9
src/styles/libs/bootstrap/bootstrap/mixins/_nav-vertical-align.scss vendored

@ -0,0 +1,9 @@
// Navbar vertical align
//
// Vertically center elements in the navbar.
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
@mixin navbar-vertical-align($element-height) {
margin-top: (($navbar-height - $element-height) / 2);
margin-bottom: (($navbar-height - $element-height) / 2);
}

8
src/styles/libs/bootstrap/bootstrap/mixins/_opacity.scss vendored

@ -0,0 +1,8 @@
// Opacity
@mixin opacity($opacity) {
opacity: $opacity;
// IE8 filter
$opacity-ie: ($opacity * 100);
filter: #{alpha(opacity=$opacity-ie)};
}

23
src/styles/libs/bootstrap/bootstrap/mixins/_pagination.scss vendored

@ -0,0 +1,23 @@
// Pagination
@mixin pagination-size($padding-vertical, $padding-horizontal, $font-size, $border-radius) {
> li {
> a,
> span {
padding: $padding-vertical $padding-horizontal;
font-size: $font-size;
}
&:first-child {
> a,
> span {
@include border-left-radius($border-radius);
}
}
&:last-child {
> a,
> span {
@include border-right-radius($border-radius);
}
}
}
}

24
src/styles/libs/bootstrap/bootstrap/mixins/_panels.scss vendored

@ -0,0 +1,24 @@
// Panels
@mixin panel-variant($border, $heading-text-color, $heading-bg-color, $heading-border) {
border-color: $border;
& > .panel-heading {
color: $heading-text-color;
background-color: $heading-bg-color;
border-color: $heading-border;
+ .panel-collapse > .panel-body {
border-top-color: $border;
}
.badge {
color: $heading-bg-color;
background-color: $heading-text-color;
}
}
& > .panel-footer {
+ .panel-collapse > .panel-body {
border-bottom-color: $border;
}
}
}

10
src/styles/libs/bootstrap/bootstrap/mixins/_progress-bar.scss vendored

@ -0,0 +1,10 @@
// Progress bars
@mixin progress-bar-variant($color) {
background-color: $color;
// Deprecated parent class requirement as of v3.2.0
.progress-striped & {
@include gradient-striped();
}
}

8
src/styles/libs/bootstrap/bootstrap/mixins/_reset-filter.scss vendored

@ -0,0 +1,8 @@
// Reset filters for IE
//
// When you need to remove a gradient background, do not forget to use this to reset
// the IE filter for IE9 and below.
@mixin reset-filter() {
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

6
src/styles/libs/bootstrap/bootstrap/mixins/_resize.scss vendored

@ -0,0 +1,6 @@
// Resize anything
@mixin resizable($direction) {
resize: $direction; // Options: horizontal, vertical, both
overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible`
}

21
src/styles/libs/bootstrap/bootstrap/mixins/_responsive-visibility.scss vendored

@ -0,0 +1,21 @@
// Responsive utilities
//
// More easily include all the states for responsive-utilities.less.
// [converter] $parent hack
@mixin responsive-visibility($parent) {
#{$parent} {
display: block !important;
}
table#{$parent} { display: table; }
tr#{$parent} { display: table-row !important; }
th#{$parent},
td#{$parent} { display: table-cell !important; }
}
// [converter] $parent hack
@mixin responsive-invisibility($parent) {
#{$parent} {
display: none !important;
}
}

10
src/styles/libs/bootstrap/bootstrap/mixins/_size.scss vendored

@ -0,0 +1,10 @@
// Sizing shortcuts
@mixin size($width, $height) {
width: $width;
height: $height;
}
@mixin square($size) {
@include size($size, $size);
}

9
src/styles/libs/bootstrap/bootstrap/mixins/_tab-focus.scss vendored

@ -0,0 +1,9 @@
// WebKit-style focus
@mixin tab-focus() {
// Default
outline: thin dotted;
// WebKit
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}

28
src/styles/libs/bootstrap/bootstrap/mixins/_table-row.scss vendored

@ -0,0 +1,28 @@
// Tables
@mixin table-row-variant($state, $background) {
// Exact selectors below required to override `.table-striped` and prevent
// inheritance to nested tables.
.table > thead > tr,
.table > tbody > tr,
.table > tfoot > tr {
> td.#{$state},
> th.#{$state},
&.#{$state} > td,
&.#{$state} > th {
background-color: $background;
}
}
// Hover states for `.table-hover`
// Note: this is not available for cells or rows within `thead` or `tfoot`.
.table-hover > tbody > tr {
> td.#{$state}:hover,
> th.#{$state}:hover,
&.#{$state}:hover > td,
&:hover > .#{$state},
&.#{$state}:hover > th {
background-color: darken($background, 5%);
}
}
}

11
src/styles/libs/bootstrap/bootstrap/mixins/_text-emphasis.scss vendored

@ -0,0 +1,11 @@
// Typography
// [converter] $parent hack
@mixin text-emphasis-variant($parent, $color) {
#{$parent} {
color: $color;
}
a#{$parent}:hover {
color: darken($color, 10%);
}
}

8
src/styles/libs/bootstrap/bootstrap/mixins/_text-overflow.scss vendored

@ -0,0 +1,8 @@
// Text overflow
// Requires inline-block or block for proper styling
@mixin text-overflow() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

219
src/styles/libs/bootstrap/bootstrap/mixins/_vendor-prefixes.scss vendored

@ -0,0 +1,219 @@
// Vendor Prefixes
//
// All vendor mixins are deprecated as of v3.2.0 due to the introduction of
// Autoprefixer in our Gruntfile. They will be removed in v4.
// - Animations
// - Backface visibility
// - Box shadow
// - Box sizing
// - Content columns
// - Hyphens
// - Placeholder text
// - Transformations
// - Transitions
// - User Select
// Animations
@mixin animation($animation) {
-webkit-animation: $animation;
-o-animation: $animation;
animation: $animation;
}
@mixin animation-name($name) {
-webkit-animation-name: $name;
animation-name: $name;
}
@mixin animation-duration($duration) {
-webkit-animation-duration: $duration;
animation-duration: $duration;
}
@mixin animation-timing-function($timing-function) {
-webkit-animation-timing-function: $timing-function;
animation-timing-function: $timing-function;
}
@mixin animation-delay($delay) {
-webkit-animation-delay: $delay;
animation-delay: $delay;
}
@mixin animation-iteration-count($iteration-count) {
-webkit-animation-iteration-count: $iteration-count;
animation-iteration-count: $iteration-count;
}
@mixin animation-direction($direction) {
-webkit-animation-direction: $direction;
animation-direction: $direction;
}
@mixin animation-fill-mode($fill-mode) {
-webkit-animation-fill-mode: $fill-mode;
animation-fill-mode: $fill-mode;
}
// Backface visibility
// Prevent browsers from flickering when using CSS 3D transforms.
// Default value is `visible`, but can be changed to `hidden`
@mixin backface-visibility($visibility){
-webkit-backface-visibility: $visibility;
-moz-backface-visibility: $visibility;
backface-visibility: $visibility;
}
// Drop shadows
//
// Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's
// supported browsers that have box shadow capabilities now support it.
@mixin box-shadow($shadow...) {
-webkit-box-shadow: $shadow; // iOS <4.3 & Android <4.1
box-shadow: $shadow;
}
// Box sizing
@mixin box-sizing($boxmodel) {
-webkit-box-sizing: $boxmodel;
-moz-box-sizing: $boxmodel;
box-sizing: $boxmodel;
}
// CSS3 Content Columns
@mixin content-columns($column-count, $column-gap: $grid-gutter-width) {
-webkit-column-count: $column-count;
-moz-column-count: $column-count;
column-count: $column-count;
-webkit-column-gap: $column-gap;
-moz-column-gap: $column-gap;
column-gap: $column-gap;
}
// Optional hyphenation
@mixin hyphens($mode: auto) {
word-wrap: break-word;
-webkit-hyphens: $mode;
-moz-hyphens: $mode;
-ms-hyphens: $mode; // IE10+
-o-hyphens: $mode;
hyphens: $mode;
}
// Placeholder text
@mixin placeholder($color: $input-color-placeholder) {
&::-moz-placeholder { color: $color; // Firefox
opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526
&:-ms-input-placeholder { color: $color; } // Internet Explorer 10+
&::-webkit-input-placeholder { color: $color; } // Safari and Chrome
}
// Transformations
@mixin scale($ratio...) {
-webkit-transform: scale($ratio);
-ms-transform: scale($ratio); // IE9 only
-o-transform: scale($ratio);
transform: scale($ratio);
}
@mixin scaleX($ratio) {
-webkit-transform: scaleX($ratio);
-ms-transform: scaleX($ratio); // IE9 only
-o-transform: scaleX($ratio);
transform: scaleX($ratio);
}
@mixin scaleY($ratio) {
-webkit-transform: scaleY($ratio);
-ms-transform: scaleY($ratio); // IE9 only
-o-transform: scaleY($ratio);
transform: scaleY($ratio);
}
@mixin skew($x, $y) {
-webkit-transform: skewX($x) skewY($y);
-ms-transform: skewX($x) skewY($y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
-o-transform: skewX($x) skewY($y);
transform: skewX($x) skewY($y);
}
@mixin translate($x, $y) {
-webkit-transform: translate($x, $y);
-ms-transform: translate($x, $y); // IE9 only
-o-transform: translate($x, $y);
transform: translate($x, $y);
}
@mixin translate3d($x, $y, $z) {
-webkit-transform: translate3d($x, $y, $z);
transform: translate3d($x, $y, $z);
}
@mixin rotate($degrees) {
-webkit-transform: rotate($degrees);
-ms-transform: rotate($degrees); // IE9 only
-o-transform: rotate($degrees);
transform: rotate($degrees);
}
@mixin rotateX($degrees) {
-webkit-transform: rotateX($degrees);
-ms-transform: rotateX($degrees); // IE9 only
-o-transform: rotateX($degrees);
transform: rotateX($degrees);
}
@mixin rotateY($degrees) {
-webkit-transform: rotateY($degrees);
-ms-transform: rotateY($degrees); // IE9 only
-o-transform: rotateY($degrees);
transform: rotateY($degrees);
}
@mixin perspective($perspective) {
-webkit-perspective: $perspective;
-moz-perspective: $perspective;
perspective: $perspective;
}
@mixin perspective-origin($perspective) {
-webkit-perspective-origin: $perspective;
-moz-perspective-origin: $perspective;
perspective-origin: $perspective;
}
@mixin transform-origin($origin) {
-webkit-transform-origin: $origin;
-moz-transform-origin: $origin;
-ms-transform-origin: $origin; // IE9 only
transform-origin: $origin;
}
// Transitions
@mixin transition($transition...) {
-webkit-transition: $transition;
-o-transition: $transition;
transition: $transition;
}
@mixin transition-property($transition-property...) {
-webkit-transition-property: $transition-property;
transition-property: $transition-property;
}
@mixin transition-delay($transition-delay) {
-webkit-transition-delay: $transition-delay;
transition-delay: $transition-delay;
}
@mixin transition-duration($transition-duration...) {
-webkit-transition-duration: $transition-duration;
transition-duration: $transition-duration;
}
@mixin transition-timing-function($timing-function) {
-webkit-transition-timing-function: $timing-function;
transition-timing-function: $timing-function;
}
@mixin transition-transform($transition...) {
-webkit-transition: -webkit-transform $transition;
-moz-transition: -moz-transform $transition;
-o-transition: -o-transform $transition;
transition: transform $transition;
}
// User select
// For selecting text on the page
@mixin user-select($select) {
-webkit-user-select: $select;
-moz-user-select: $select;
-ms-user-select: $select; // IE10+
user-select: $select;
}

2
static/css/bootstrap.min.css vendored

File diff suppressed because one or more lines are too long

2
static/css/main.min.css vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save