on-standards-rails 1.5.1.1 → 2.0.0.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -3
- data/lib/on-standards-rails.rb +0 -3
- data/lib/on/standards/rails/version.rb +1 -1
- data/on-standards-rails.gemspec +1 -4
- data/vendor/assets/javascripts/on-standards.js +17552 -18
- data/vendor/assets/stylesheets/on-standards.scss +67 -0
- data/vendor/assets/stylesheets/on-standards/_alert.scss +65 -0
- data/vendor/assets/stylesheets/on-standards/_animation.scss +27 -0
- data/vendor/assets/stylesheets/on-standards/_baseline.scss +351 -0
- data/vendor/assets/stylesheets/on-standards/_block-grid.scss +501 -0
- data/vendor/assets/stylesheets/on-standards/_breadcrumb.scss +23 -0
- data/vendor/assets/stylesheets/on-standards/_button-group.scss +293 -0
- data/vendor/assets/stylesheets/on-standards/_buttons.scss +241 -0
- data/vendor/assets/stylesheets/on-standards/_card.scss +292 -0
- data/vendor/assets/stylesheets/on-standards/_carousel.scss +252 -0
- data/vendor/assets/stylesheets/on-standards/_close.scss +27 -0
- data/vendor/assets/stylesheets/on-standards/_code.scss +58 -0
- data/vendor/assets/stylesheets/on-standards/_colors.scss +85 -0
- data/vendor/assets/stylesheets/on-standards/_custom-forms.scss +226 -0
- data/vendor/assets/stylesheets/on-standards/_dropdown.scss +193 -0
- data/vendor/assets/stylesheets/on-standards/_forms.scss +489 -0
- data/vendor/assets/stylesheets/on-standards/_functions.scss +19 -0
- data/vendor/assets/stylesheets/on-standards/_grid.scss +76 -0
- data/vendor/assets/stylesheets/on-standards/_images.scss +53 -0
- data/vendor/assets/stylesheets/on-standards/_input-group.scss +194 -0
- data/vendor/assets/stylesheets/on-standards/_jumbotron.scss +20 -0
- data/vendor/assets/stylesheets/on-standards/_list-group.scss +140 -0
- data/vendor/assets/stylesheets/on-standards/_media.scss +90 -0
- data/vendor/assets/stylesheets/on-standards/_mixins.scss +56 -0
- data/vendor/assets/stylesheets/on-standards/_modal.scss +143 -0
- data/vendor/assets/stylesheets/on-standards/_nav.scss +162 -0
- data/vendor/assets/stylesheets/on-standards/_navbar.scss +230 -0
- data/vendor/assets/stylesheets/on-standards/_normalize.scss +417 -0
- data/vendor/assets/stylesheets/on-standards/_off-canvas.scss +201 -0
- data/vendor/assets/stylesheets/on-standards/_pager.scss +57 -0
- data/vendor/assets/stylesheets/on-standards/_pagination.scss +73 -0
- data/vendor/assets/stylesheets/on-standards/_popover.scss +140 -0
- data/vendor/assets/stylesheets/on-standards/_print.scss +88 -0
- data/vendor/assets/stylesheets/on-standards/_progress.scss +156 -0
- data/vendor/assets/stylesheets/on-standards/_responsive-embed.scss +39 -0
- data/vendor/assets/stylesheets/on-standards/_tables.scss +193 -0
- data/vendor/assets/stylesheets/on-standards/_tags.scss +94 -0
- data/vendor/assets/stylesheets/on-standards/_tooltip.scss +85 -0
- data/vendor/assets/stylesheets/on-standards/_utilities-background.scss +19 -0
- data/vendor/assets/stylesheets/on-standards/_utilities-responsive.scss +49 -0
- data/vendor/assets/stylesheets/on-standards/_utilities-spacing.scss +39 -0
- data/vendor/assets/stylesheets/on-standards/_utilities.scss +93 -0
- data/vendor/assets/stylesheets/on-standards/_variables.scss +727 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_alert.scss +18 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_background-variant.scss +13 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_border-radius.scss +35 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_breakpoints.scss +86 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_buttons.scss +157 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_cards.scss +38 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_center-block.scss +7 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_clearfix.scss +7 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_forms.scss +89 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_gradients.scss +43 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_grid-framework.scss +44 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_grid.scss +75 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_hover.scss +59 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_image.scss +34 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_list-group.scss +30 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_lists.scss +7 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_modernizr.scss +11 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_nav-divider.scss +10 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_navbar-align.scss +9 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_pagination.scss +22 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_progress.scss +18 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_pulls.scss +6 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_reset-filter.scss +8 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_reset-text.scss +18 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_resize.scss +6 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_screen-reader.scss +32 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_size.scss +6 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_tab-focus.scss +5 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_table-row.scss +30 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_tag.scss +30 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_text-emphasis.scss +12 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_text-hide.scss +8 -0
- data/vendor/assets/stylesheets/on-standards/mixins/_text-truncate.scss +8 -0
- data/vendor/assets/stylesheets/on-standards/modules/_type.scss +171 -0
- metadata +83 -58
- data/vendor/assets/javascripts/on-standards/vendor/chosen.jquery.min.js +0 -2
- data/vendor/assets/javascripts/on-standards/vendor/jquery.tooltipster.min.js +0 -1
- data/vendor/assets/javascripts/on-standards/vendor/sweet-alert.min.js +0 -1
- data/vendor/assets/stylesheets/foundation_and_overrides.scss +0 -1450
- data/vendor/assets/stylesheets/on-overrides.sass +0 -0
- data/vendor/assets/stylesheets/on-standards.sass +0 -7
- data/vendor/assets/stylesheets/on-standards/church_to_church.sass +0 -1323
- data/vendor/assets/stylesheets/on-standards/vendor/chosen.min.css +0 -3
- data/vendor/assets/stylesheets/on-standards/vendor/sweet-alert.scss +0 -429
- data/vendor/assets/stylesheets/on-standards/vendor/tooltipster.css +0 -274
@@ -0,0 +1,94 @@
|
|
1
|
+
// Base class
|
2
|
+
//
|
3
|
+
// Requires one of the contextual, color modifier classes for `color` and
|
4
|
+
// `background-color`.
|
5
|
+
|
6
|
+
.tag {
|
7
|
+
display: inline-block;
|
8
|
+
padding: 3px 8px 2px;
|
9
|
+
font-size: $font-size-1;
|
10
|
+
font-weight: $tag-font-weight;
|
11
|
+
line-height: 1;
|
12
|
+
color: $tag-color;
|
13
|
+
text-align: center;
|
14
|
+
white-space: nowrap;
|
15
|
+
vertical-align: baseline;
|
16
|
+
background: $tag-default-bg;
|
17
|
+
border: 1px solid $tag-default-bg;
|
18
|
+
// Use a higher than normal value to ensure completely rounded edges when
|
19
|
+
// customizing padding or font-size on tags.
|
20
|
+
@include border-radius(10rem);
|
21
|
+
|
22
|
+
// Empty tags collapse automatically
|
23
|
+
&:empty {
|
24
|
+
display: none;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.tag-small {
|
29
|
+
font-size: $font-size-0;
|
30
|
+
padding: 2px 6px 1px;
|
31
|
+
}
|
32
|
+
|
33
|
+
// Quick fix for tags in buttons
|
34
|
+
.button .tag {
|
35
|
+
position: relative;
|
36
|
+
top: -1px;
|
37
|
+
}
|
38
|
+
|
39
|
+
// Add hover effects, but only for links
|
40
|
+
a.tag {
|
41
|
+
@include hover-focus {
|
42
|
+
color: $tag-link-hover-color;
|
43
|
+
text-decoration: none;
|
44
|
+
background-color: button-highlight($brand-action);
|
45
|
+
border-color: button-highlight($brand-action);
|
46
|
+
cursor: pointer;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
|
51
|
+
// Colors
|
52
|
+
//
|
53
|
+
// Contextual variations (linked tags get darker on :hover).
|
54
|
+
|
55
|
+
.tag-primary {
|
56
|
+
@include tag-variant($tag-primary-bg);
|
57
|
+
}
|
58
|
+
|
59
|
+
.tag-success {
|
60
|
+
@include tag-variant($tag-success-bg);
|
61
|
+
}
|
62
|
+
|
63
|
+
.tag-secondary {
|
64
|
+
background-color: $tag-secondary-bg;
|
65
|
+
border-color: $gray-20;
|
66
|
+
color: $body-color;
|
67
|
+
}
|
68
|
+
|
69
|
+
.tag-warning {
|
70
|
+
@include tag-variant($tag-warning-bg, $body-color);
|
71
|
+
}
|
72
|
+
|
73
|
+
.tag-danger {
|
74
|
+
@include tag-variant($tag-danger-bg);
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
// Outlined tags
|
79
|
+
|
80
|
+
.tag-outline-primary {
|
81
|
+
@include tag-outline-variant($tag-primary-bg);
|
82
|
+
}
|
83
|
+
|
84
|
+
.tag-outline-success {
|
85
|
+
@include tag-outline-variant($tag-success-bg);
|
86
|
+
}
|
87
|
+
|
88
|
+
.tag-outline-warning {
|
89
|
+
@include tag-outline-variant($tag-warning-bg);
|
90
|
+
}
|
91
|
+
|
92
|
+
.tag-outline-danger {
|
93
|
+
@include tag-outline-variant($tag-danger-bg);
|
94
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
// Base class
|
2
|
+
.tooltip {
|
3
|
+
position: absolute;
|
4
|
+
z-index: $zindex-tooltip;
|
5
|
+
display: block;
|
6
|
+
// Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
|
7
|
+
// So reset our font and text properties to avoid inheriting weird values.
|
8
|
+
@include reset-text();
|
9
|
+
font-size: $font-size-sm;
|
10
|
+
opacity: 0;
|
11
|
+
|
12
|
+
&.in { opacity: $tooltip-opacity; }
|
13
|
+
|
14
|
+
&.tooltip-top,
|
15
|
+
&.bs-tether-element-attached-bottom {
|
16
|
+
padding: $tooltip-arrow-width 0;
|
17
|
+
margin-top: -3px;
|
18
|
+
|
19
|
+
.tooltip-arrow {
|
20
|
+
bottom: 0;
|
21
|
+
left: 50%;
|
22
|
+
margin-left: -$tooltip-arrow-width;
|
23
|
+
border-width: $tooltip-arrow-width $tooltip-arrow-width 0;
|
24
|
+
border-top-color: $tooltip-arrow-color;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
&.tooltip-right,
|
28
|
+
&.bs-tether-element-attached-left {
|
29
|
+
padding: 0 $tooltip-arrow-width;
|
30
|
+
margin-left: 3px;
|
31
|
+
|
32
|
+
.tooltip-arrow {
|
33
|
+
top: 50%;
|
34
|
+
left: 0;
|
35
|
+
margin-top: -$tooltip-arrow-width;
|
36
|
+
border-width: $tooltip-arrow-width $tooltip-arrow-width $tooltip-arrow-width 0;
|
37
|
+
border-right-color: $tooltip-arrow-color;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
&.tooltip-bottom,
|
41
|
+
&.bs-tether-element-attached-top {
|
42
|
+
padding: $tooltip-arrow-width 0;
|
43
|
+
margin-top: 3px;
|
44
|
+
|
45
|
+
.tooltip-arrow {
|
46
|
+
top: 0;
|
47
|
+
left: 50%;
|
48
|
+
margin-left: -$tooltip-arrow-width;
|
49
|
+
border-width: 0 $tooltip-arrow-width $tooltip-arrow-width;
|
50
|
+
border-bottom-color: $tooltip-arrow-color;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
&.tooltip-left,
|
54
|
+
&.bs-tether-element-attached-right {
|
55
|
+
padding: 0 $tooltip-arrow-width;
|
56
|
+
margin-left: -3px;
|
57
|
+
|
58
|
+
.tooltip-arrow {
|
59
|
+
top: 50%;
|
60
|
+
right: 0;
|
61
|
+
margin-top: -$tooltip-arrow-width;
|
62
|
+
border-width: $tooltip-arrow-width 0 $tooltip-arrow-width $tooltip-arrow-width;
|
63
|
+
border-left-color: $tooltip-arrow-color;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
// Wrapper for the tooltip content
|
69
|
+
.tooltip-inner {
|
70
|
+
max-width: $tooltip-max-width;
|
71
|
+
padding: 3px 8px;
|
72
|
+
color: $tooltip-color;
|
73
|
+
text-align: center;
|
74
|
+
background-color: $tooltip-bg;
|
75
|
+
@include border-radius($border-radius);
|
76
|
+
}
|
77
|
+
|
78
|
+
// Arrows
|
79
|
+
.tooltip-arrow {
|
80
|
+
position: absolute;
|
81
|
+
width: 0;
|
82
|
+
height: 0;
|
83
|
+
border-color: transparent;
|
84
|
+
border-style: solid;
|
85
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
//
|
2
|
+
// Contextual backgrounds
|
3
|
+
//
|
4
|
+
|
5
|
+
.bg-faded {
|
6
|
+
background-color: $gray-10;
|
7
|
+
}
|
8
|
+
|
9
|
+
@include bg-variant('.bg-primary', $brand-primary);
|
10
|
+
|
11
|
+
@include bg-variant('.bg-success', $brand-success);
|
12
|
+
|
13
|
+
@include bg-variant('.bg-info', $brand-info, $body-color);
|
14
|
+
|
15
|
+
@include bg-variant('.bg-warning', $brand-warning, $body-color);
|
16
|
+
|
17
|
+
@include bg-variant('.bg-danger', $brand-danger);
|
18
|
+
|
19
|
+
@include bg-variant('.bg-gray', $body-color);
|
@@ -0,0 +1,49 @@
|
|
1
|
+
//
|
2
|
+
// Responsive utilities
|
3
|
+
//
|
4
|
+
|
5
|
+
@each $bp in map-keys($grid-breakpoints) {
|
6
|
+
.hidden-#{$bp}-up {
|
7
|
+
@include media-breakpoint-up($bp) {
|
8
|
+
display: none !important;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
.hidden-#{$bp}-down {
|
12
|
+
@include media-breakpoint-down($bp) {
|
13
|
+
display: none !important;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
|
19
|
+
// Print utilities
|
20
|
+
//
|
21
|
+
// Media queries are placed on the inside to be mixin-friendly.
|
22
|
+
|
23
|
+
.visible-print-block {
|
24
|
+
display: none !important;
|
25
|
+
|
26
|
+
@media print {
|
27
|
+
display: block !important;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
.visible-print-inline {
|
31
|
+
display: none !important;
|
32
|
+
|
33
|
+
@media print {
|
34
|
+
display: inline !important;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
.visible-print-inline-block {
|
38
|
+
display: none !important;
|
39
|
+
|
40
|
+
@media print {
|
41
|
+
display: inline-block !important;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.hidden-print {
|
46
|
+
@media print {
|
47
|
+
display: none !important;
|
48
|
+
}
|
49
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
// Margin and Padding
|
2
|
+
|
3
|
+
.m-x-auto {
|
4
|
+
margin-right: auto !important;
|
5
|
+
margin-left: auto !important;
|
6
|
+
}
|
7
|
+
|
8
|
+
@each $prop, $abbrev in (margin: m, padding: p) {
|
9
|
+
@each $size, $lengths in $spacers {
|
10
|
+
$length-x: map-get($lengths, x);
|
11
|
+
$length-y: map-get($lengths, y);
|
12
|
+
|
13
|
+
.#{$abbrev}-a-#{$size} { #{$prop}: $length-y $length-x !important; } // a = All sides
|
14
|
+
.#{$abbrev}-t-#{$size} { #{$prop}-top: $length-y !important; }
|
15
|
+
.#{$abbrev}-r-#{$size} { #{$prop}-right: $length-x !important; }
|
16
|
+
.#{$abbrev}-b-#{$size} { #{$prop}-bottom: $length-y !important; }
|
17
|
+
.#{$abbrev}-l-#{$size} { #{$prop}-left: $length-x !important; }
|
18
|
+
|
19
|
+
// Axes
|
20
|
+
.#{$abbrev}-x-#{$size} {
|
21
|
+
#{$prop}-right: $length-x !important;
|
22
|
+
#{$prop}-left: $length-x !important;
|
23
|
+
}
|
24
|
+
.#{$abbrev}-y-#{$size} {
|
25
|
+
#{$prop}-top: $length-y !important;
|
26
|
+
#{$prop}-bottom: $length-y !important;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
// Positioning
|
32
|
+
|
33
|
+
.pos-f-t {
|
34
|
+
position: fixed;
|
35
|
+
top: 0;
|
36
|
+
right: 0;
|
37
|
+
left: 0;
|
38
|
+
z-index: $zindex-navbar-fixed;
|
39
|
+
}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
//
|
2
|
+
// Floats
|
3
|
+
//
|
4
|
+
|
5
|
+
.clearfix {
|
6
|
+
@include clearfix();
|
7
|
+
}
|
8
|
+
|
9
|
+
.center-block {
|
10
|
+
@include center-block();
|
11
|
+
}
|
12
|
+
|
13
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
14
|
+
@include media-breakpoint-up($breakpoint) {
|
15
|
+
.pull-#{$breakpoint}-left {
|
16
|
+
@include pull-left();
|
17
|
+
}
|
18
|
+
.pull-#{$breakpoint}-right {
|
19
|
+
@include pull-right();
|
20
|
+
}
|
21
|
+
.pull-#{$breakpoint}-none {
|
22
|
+
float: none !important;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
//
|
29
|
+
// Screenreaders
|
30
|
+
//
|
31
|
+
|
32
|
+
.sr-only {
|
33
|
+
@include sr-only();
|
34
|
+
}
|
35
|
+
|
36
|
+
.sr-only-focusable {
|
37
|
+
@include sr-only-focusable();
|
38
|
+
}
|
39
|
+
|
40
|
+
.invisible {
|
41
|
+
visibility: hidden !important;
|
42
|
+
}
|
43
|
+
|
44
|
+
.text-hide {
|
45
|
+
@include text-hide();
|
46
|
+
}
|
47
|
+
|
48
|
+
|
49
|
+
//
|
50
|
+
// Text
|
51
|
+
//
|
52
|
+
|
53
|
+
// Alignment
|
54
|
+
|
55
|
+
.text-justify { text-align: justify !important; }
|
56
|
+
.text-nowrap { white-space: nowrap !important; }
|
57
|
+
.text-truncate { @include text-truncate; }
|
58
|
+
|
59
|
+
// Responsive alignment
|
60
|
+
|
61
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
62
|
+
@include media-breakpoint-up($breakpoint) {
|
63
|
+
.text-#{$breakpoint}-left { text-align: left !important; }
|
64
|
+
.text-#{$breakpoint}-right { text-align: right !important; }
|
65
|
+
.text-#{$breakpoint}-center { text-align: center !important; }
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
// Transformation
|
70
|
+
|
71
|
+
.text-lowercase { text-transform: lowercase !important; }
|
72
|
+
.text-uppercase { text-transform: uppercase !important; }
|
73
|
+
.text-capitalize { text-transform: capitalize !important; }
|
74
|
+
|
75
|
+
// Weight and italics
|
76
|
+
|
77
|
+
.font-weight-normal { font-weight: $font-weight-normal; }
|
78
|
+
.font-weight-semibold{ font-weight: $font-weight-semibold; }
|
79
|
+
.font-weight-bold { font-weight: $font-weight-bold; }
|
80
|
+
.font-weight-black { font-weight: $font-weight-black; }
|
81
|
+
.font-italic { font-style: italic; }
|
82
|
+
|
83
|
+
// Contextual colors
|
84
|
+
|
85
|
+
@include text-emphasis-variant('.text-muted', $text-muted);
|
86
|
+
|
87
|
+
@include text-emphasis-variant('.text-primary', $brand-primary);
|
88
|
+
|
89
|
+
@include text-emphasis-variant('.text-success', $brand-success);
|
90
|
+
|
91
|
+
@include text-emphasis-variant('.text-warning', $brand-warning);
|
92
|
+
|
93
|
+
@include text-emphasis-variant('.text-danger', $brand-danger);
|
@@ -0,0 +1,727 @@
|
|
1
|
+
// Variables
|
2
|
+
//
|
3
|
+
// Copy settings from this file into the provided `_custom.scss` to override
|
4
|
+
// the Bootstrap defaults without modifying key, versioned files.
|
5
|
+
|
6
|
+
|
7
|
+
// Table of Contents
|
8
|
+
//
|
9
|
+
// Colors
|
10
|
+
// Options
|
11
|
+
// Spacing
|
12
|
+
// Body
|
13
|
+
// Links
|
14
|
+
// Grid breakpoints
|
15
|
+
// Grid containers
|
16
|
+
// Grid columns
|
17
|
+
// Fonts
|
18
|
+
// Components
|
19
|
+
|
20
|
+
// General variable structure
|
21
|
+
//
|
22
|
+
// Variable format should follow the `$component-modifier-state-property` order.
|
23
|
+
|
24
|
+
|
25
|
+
// Colors
|
26
|
+
//
|
27
|
+
// Brand colors for use across Bootstrap.
|
28
|
+
|
29
|
+
$brand-primary: $blue !default;
|
30
|
+
$brand-action: $blue !default;
|
31
|
+
// For applications, set the $brand-action color to $blue.
|
32
|
+
$brand-success: $green !default;
|
33
|
+
$brand-info: $gray-20 !default;
|
34
|
+
$brand-warning: $yellow !default;
|
35
|
+
$brand-danger: $red !default;
|
36
|
+
|
37
|
+
// Overlays
|
38
|
+
$overlay-dark: rgba($gray-dark, 0.75) !default;
|
39
|
+
$overlay: rgba($gray-dark, 0.5) !default;
|
40
|
+
$overlay-light: rgba($gray-dark, 0.25) !default;
|
41
|
+
|
42
|
+
// Shadows
|
43
|
+
$box-shadow-color: $overlay-light;
|
44
|
+
|
45
|
+
$box-shadow-1: 0 1px 4px $box-shadow-color;
|
46
|
+
$box-shadow-2: 0 4px 16px $box-shadow-color;
|
47
|
+
$box-shadow-3: 0 16px 48px $box-shadow-color;
|
48
|
+
|
49
|
+
|
50
|
+
// Transitions
|
51
|
+
// TODO document these transitions so people know how to access them
|
52
|
+
|
53
|
+
$transition-all: all 0.2s ease-in-out !default;
|
54
|
+
$transition-all-short: all 0.1s ease-in-out !default;
|
55
|
+
$transition-all-bezier: all 0.25s cubic-bezier(0, 0, 0.2, 1) !default;
|
56
|
+
|
57
|
+
// Options
|
58
|
+
//
|
59
|
+
// Quickly modify global styling by enabling or disabling optional features.
|
60
|
+
|
61
|
+
$enable-flex: false !default;
|
62
|
+
$enable-rounded: true !default;
|
63
|
+
$enable-shadows: false !default;
|
64
|
+
$enable-gradients: false !default;
|
65
|
+
$enable-transitions: false !default;
|
66
|
+
$enable-hover-media-query: false !default;
|
67
|
+
$enable-grid-classes: true !default;
|
68
|
+
|
69
|
+
|
70
|
+
// Spacing
|
71
|
+
//
|
72
|
+
// Control the default styling of most Bootstrap elements by modifying these
|
73
|
+
// variables. Mostly focused on spacing.
|
74
|
+
|
75
|
+
$spacer: 1rem !default;
|
76
|
+
$spacer-x: $spacer !default;
|
77
|
+
$spacer-y: $spacer !default;
|
78
|
+
$spacers: (
|
79
|
+
0: (
|
80
|
+
x: 0,
|
81
|
+
y: 0
|
82
|
+
),
|
83
|
+
1: (
|
84
|
+
x: $spacer-x,
|
85
|
+
y: $spacer-y
|
86
|
+
),
|
87
|
+
2: (
|
88
|
+
x: ($spacer-x * 1.5),
|
89
|
+
y: ($spacer-y * 1.5)
|
90
|
+
),
|
91
|
+
3: (
|
92
|
+
x: ($spacer-x * 3),
|
93
|
+
y: ($spacer-y * 3)
|
94
|
+
)
|
95
|
+
) !default;
|
96
|
+
$border-width: 1px !default;
|
97
|
+
|
98
|
+
|
99
|
+
// Body
|
100
|
+
//
|
101
|
+
// Settings for the `<body>` element.
|
102
|
+
|
103
|
+
$body-bg: #fff !default;
|
104
|
+
$body-color: $gray !default;
|
105
|
+
|
106
|
+
|
107
|
+
// Links
|
108
|
+
//
|
109
|
+
// Style anchor elements.
|
110
|
+
|
111
|
+
$link-color: $brand-primary !default;
|
112
|
+
$link-decoration: none !default;
|
113
|
+
$link-hover-color: lighten($link-color, 10%) !default;
|
114
|
+
$link-hover-decoration: underline !default;
|
115
|
+
|
116
|
+
|
117
|
+
// Grid breakpoints
|
118
|
+
//
|
119
|
+
// Define the minimum and maximum dimensions at which your layout will change,
|
120
|
+
// adapting to different screen sizes, for use in media queries.
|
121
|
+
|
122
|
+
$grid-breakpoints: (
|
123
|
+
// Extra small screen / phone
|
124
|
+
xs: 0,
|
125
|
+
// Small screen / phone
|
126
|
+
sm: 544px,
|
127
|
+
// Medium screen / tablet
|
128
|
+
md: 768px,
|
129
|
+
// Large screen / desktop
|
130
|
+
lg: 992px,
|
131
|
+
// Extra large screen / wide desktop
|
132
|
+
xl: 1200px
|
133
|
+
) !default;
|
134
|
+
|
135
|
+
|
136
|
+
// Grid containers
|
137
|
+
//
|
138
|
+
// Define the maximum width of `.container` for different screen sizes.
|
139
|
+
|
140
|
+
$container-max-widths: (
|
141
|
+
sm: 576px,
|
142
|
+
md: 720px,
|
143
|
+
lg: 940px,
|
144
|
+
xl: 1140px
|
145
|
+
) !default;
|
146
|
+
|
147
|
+
|
148
|
+
// Grid columns
|
149
|
+
//
|
150
|
+
// Set the number of columns and specify the width of the gutters.
|
151
|
+
|
152
|
+
$grid-columns: 12 !default;
|
153
|
+
$grid-gutter-width: 1rem !default;
|
154
|
+
|
155
|
+
|
156
|
+
// Typography
|
157
|
+
//
|
158
|
+
// Font, line-height, and color for body text, headings, and more.
|
159
|
+
|
160
|
+
$font-family-sans-serif: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
161
|
+
$font-family-serif: Georgia, "Times New Roman", Times, serif !default;
|
162
|
+
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
|
163
|
+
$font-family-base: $font-family-sans-serif !default;
|
164
|
+
|
165
|
+
// Type scale
|
166
|
+
$font-size-0: 10px;
|
167
|
+
$font-size-1: 13px;
|
168
|
+
$font-size-2: 16px;
|
169
|
+
$font-size-3: 19px;
|
170
|
+
$font-size-4: 23px;
|
171
|
+
$font-size-5: 28px;
|
172
|
+
$font-size-6: 33px;
|
173
|
+
$font-size-7: 40px;
|
174
|
+
$font-size-8: 48px;
|
175
|
+
$font-size-9: 57px;
|
176
|
+
|
177
|
+
// Font weights
|
178
|
+
$font-weight-normal: 400;
|
179
|
+
$font-weight-semibold: 600;
|
180
|
+
$font-weight-bold: 700;
|
181
|
+
$font-weight-black: 900;
|
182
|
+
|
183
|
+
|
184
|
+
// Pixel value used to responsively scale all typography. Applied to the `<html>` element.
|
185
|
+
$font-size-root: 16px !default;
|
186
|
+
|
187
|
+
$font-size-base: 1rem !default;
|
188
|
+
$font-size-lg: 1.1875rem !default;
|
189
|
+
$font-size-sm: .8125rem !default;
|
190
|
+
$font-size-xs: .6875rem !default;
|
191
|
+
|
192
|
+
$font-size-h1: $font-size-5 !default;
|
193
|
+
$font-size-h2: $font-size-4 !default;
|
194
|
+
$font-size-h3: $font-size-3 !default;
|
195
|
+
$font-size-h4: $font-size-2 !default;
|
196
|
+
$font-size-h5: $font-size-2 !default;
|
197
|
+
$font-size-h6: $font-size-1 !default;
|
198
|
+
|
199
|
+
$display1-size: $font-size-9 !default;
|
200
|
+
$display2-size: $font-size-8 !default;
|
201
|
+
$display3-size: $font-size-7 !default;
|
202
|
+
$display4-size: $font-size-6 !default;
|
203
|
+
|
204
|
+
$line-height: 1.2 !default;
|
205
|
+
$line-height-sm: 1.2 !default;
|
206
|
+
$line-height-lg: 1.2 !default;
|
207
|
+
$display-line-height: 1 !default;
|
208
|
+
|
209
|
+
$headings-margin-bottom: ($spacer / 2) !default;
|
210
|
+
$headings-font-family: inherit !default;
|
211
|
+
$headings-font-weight: $font-weight-bold !default;
|
212
|
+
$headings-line-height: 1.2 !default;
|
213
|
+
$headings-color: inherit !default;
|
214
|
+
|
215
|
+
$lead-font-size: $font-size-3 !default;
|
216
|
+
|
217
|
+
$text-muted: $gray-50 !default;
|
218
|
+
|
219
|
+
$abbr-border-color: $gray-50 !default;
|
220
|
+
|
221
|
+
$blockquote-small-color: $gray-50 !default;
|
222
|
+
$blockquote-font-size: $font-size-3 !default;
|
223
|
+
$blockquote-border-color: $gray-20 !default;
|
224
|
+
|
225
|
+
$hr-border-color: $gray-20 !default;
|
226
|
+
$hr-border-width: $border-width !default;
|
227
|
+
|
228
|
+
$dt-font-weight: $font-weight-bold !default;
|
229
|
+
|
230
|
+
$nested-kbd-font-weight: $font-weight-bold !default;
|
231
|
+
|
232
|
+
$list-inline-padding: ($spacer / 2) !default;
|
233
|
+
|
234
|
+
|
235
|
+
// Components
|
236
|
+
//
|
237
|
+
// Define common padding and border radius sizes and more.
|
238
|
+
|
239
|
+
$border-radius: 2px !default;
|
240
|
+
$border-radius-lg: 4px !default;
|
241
|
+
$border-radius-sm: 1px !default;
|
242
|
+
|
243
|
+
$component-active-color: #fff !default;
|
244
|
+
$component-active-bg: $brand-action !default;
|
245
|
+
|
246
|
+
$caret-width: .3em !default;
|
247
|
+
$caret-width-lg: $caret-width !default;
|
248
|
+
|
249
|
+
|
250
|
+
// Tables
|
251
|
+
//
|
252
|
+
// Customizes the `.table` component with basic values, each used across all table variations.
|
253
|
+
|
254
|
+
$table-cell-padding: .75rem !default;
|
255
|
+
$table-sm-cell-padding: .3rem !default;
|
256
|
+
|
257
|
+
$table-bg: transparent !default;
|
258
|
+
$table-bg-accent: #f9f9f9 !default;
|
259
|
+
$table-bg-hover: #f5f5f5 !default;
|
260
|
+
$table-bg-active: $table-bg-hover !default;
|
261
|
+
|
262
|
+
$table-border-width: $border-width !default;
|
263
|
+
$table-border-color: $gray-20 !default;
|
264
|
+
|
265
|
+
|
266
|
+
// Buttons
|
267
|
+
//
|
268
|
+
// For each of Bootstrap's buttons, define text, background and border color.
|
269
|
+
|
270
|
+
$button-padding-x: 1rem !default;
|
271
|
+
$button-padding-y: 8px !default;
|
272
|
+
// Use px's for $button-padding-y.
|
273
|
+
$button-font-weight: normal !default;
|
274
|
+
|
275
|
+
$button-primary-color: #fff !default;
|
276
|
+
$button-primary-bg: $brand-action !default;
|
277
|
+
$button-primary-border: $button-primary-bg !default;
|
278
|
+
|
279
|
+
$button-secondary-color: $body-color !default;
|
280
|
+
$button-secondary-bg: #fff !default;
|
281
|
+
$button-secondary-border: $gray-20 !default;
|
282
|
+
|
283
|
+
$button-info-color: #fff !default;
|
284
|
+
$button-info-bg: $brand-info !default;
|
285
|
+
$button-info-border: $button-info-bg !default;
|
286
|
+
|
287
|
+
$button-success-color: #fff !default;
|
288
|
+
$button-success-bg: $brand-success !default;
|
289
|
+
$button-success-border: $button-success-bg !default;
|
290
|
+
|
291
|
+
$button-warning-color: $body-color !default;
|
292
|
+
$button-warning-bg: $brand-warning !default;
|
293
|
+
$button-warning-border: $button-warning-bg !default;
|
294
|
+
|
295
|
+
$button-danger-color: #fff !default;
|
296
|
+
$button-danger-bg: $brand-danger !default;
|
297
|
+
$button-danger-border: $button-danger-bg !default;
|
298
|
+
|
299
|
+
$button-inverse-color: $brand-action !default;
|
300
|
+
$button-inverse-bg: $white !default;
|
301
|
+
$button-inverse-border: $white !default;
|
302
|
+
|
303
|
+
$button-link-disabled-color: $gray-50 !default;
|
304
|
+
|
305
|
+
$button-padding-x-xsm: .5rem !default;
|
306
|
+
$button-padding-y-xsm: 2px !default;
|
307
|
+
|
308
|
+
$button-padding-x-sm: .75rem !default;
|
309
|
+
$button-padding-y-sm: 6px !default;
|
310
|
+
|
311
|
+
$button-padding-x-lg: 1.25rem !default;
|
312
|
+
$button-padding-y-lg: 12px !default;
|
313
|
+
|
314
|
+
$button-padding-x-xlg: 1.5rem !default;
|
315
|
+
$button-padding-y-xlg: 16px !default;
|
316
|
+
|
317
|
+
$button-padding-x-xxlg: 2rem !default;
|
318
|
+
$button-padding-y-xxlg: 17px !default;
|
319
|
+
|
320
|
+
// Allows for customizing button radius independently from global border radius
|
321
|
+
$button-border-radius: $border-radius !default;
|
322
|
+
$button-border-radius-xsm: $border-radius !default;
|
323
|
+
$button-border-radius-sm: $border-radius !default;
|
324
|
+
$button-border-radius-lg: $border-radius-lg !default;
|
325
|
+
|
326
|
+
|
327
|
+
|
328
|
+
// Forms
|
329
|
+
|
330
|
+
$label-font-size: $font-size-1 !default;
|
331
|
+
$label-font-weight: $font-weight-semibold !default;
|
332
|
+
|
333
|
+
$input-padding-x: .75rem !default;
|
334
|
+
$input-padding-y: .4375rem !default;
|
335
|
+
|
336
|
+
$input-bg: #fff !default;
|
337
|
+
$input-bg-disabled: $gray-10 !default;
|
338
|
+
|
339
|
+
$input-color: $gray !default;
|
340
|
+
$input-border-color: $gray-20 !default;
|
341
|
+
$input-button-border-width: $border-width !default; // For form controls and buttons
|
342
|
+
$input-box-shadow: none !default;
|
343
|
+
|
344
|
+
$input-border-radius: $border-radius !default;
|
345
|
+
$input-border-radius-lg: $border-radius-lg !default;
|
346
|
+
$input-border-radius-sm: $border-radius-sm !default;
|
347
|
+
|
348
|
+
$input-border-focus: $brand-action !default;
|
349
|
+
$input-box-shadow-focus: none !default;
|
350
|
+
|
351
|
+
$input-color-placeholder: $gray-50 !default;
|
352
|
+
|
353
|
+
$input-padding-x-xsm: .5rem !default;
|
354
|
+
$input-padding-y-xsm: .0625rem !default;
|
355
|
+
|
356
|
+
$input-padding-x-sm: .75rem !default;
|
357
|
+
$input-padding-y-sm: .3125rem !default;
|
358
|
+
|
359
|
+
$input-padding-x-lg: 1.25rem !default;
|
360
|
+
$input-padding-y-lg: .75rem !default;
|
361
|
+
|
362
|
+
$input-height: (($font-size-base * $line-height) + (($input-padding-y * 2) + 1)) !default;
|
363
|
+
$input-height-lg: (($font-size-lg * $line-height-lg) + ($input-padding-y-lg * 2)) !default;
|
364
|
+
$input-height-sm: (($font-size-sm * $line-height-sm) + ($input-padding-y-sm * 2)) !default;
|
365
|
+
$input-height-xsm: (($font-size-sm * $line-height-sm) + ($input-padding-y-xsm * 2)) !default;
|
366
|
+
|
367
|
+
$form-group-margin-bottom: $spacer-y !default;
|
368
|
+
|
369
|
+
$input-group-addon-bg: $white !default;
|
370
|
+
$input-group-addon-border-color: $input-border-color !default;
|
371
|
+
|
372
|
+
$cursor-disabled: not-allowed !default;
|
373
|
+
|
374
|
+
// Form validation icons
|
375
|
+
$form-icon-success: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjNWNiODVjIiBkPSJNMjMzLjggNjEwYy0xMy4zIDAtMjYtNi0zNC0xNi44TDkwLjUgNDQ4LjhDNzYuMyA0MzAgODAgNDAzLjMgOTguOCAzODljMTguOC0xNC4yIDQ1LjUtMTAuNCA1OS44IDguNGw3MiA5NUw0NTEuMyAyNDJjMTIuNS0yMCAzOC44LTI2LjIgNTguOC0xMy43IDIwIDEyLjQgMjYgMzguNyAxMy43IDU4LjhMMjcwIDU5MGMtNy40IDEyLTIwLjIgMTkuNC0zNC4zIDIwaC0yeiIvPjwvc3ZnPg==" !default;
|
376
|
+
$form-icon-warning: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjZjBhZDRlIiBkPSJNNjAzIDY0MC4ybC0yNzguNS01MDljLTMuOC02LjYtMTAuOC0xMC42LTE4LjUtMTAuNnMtMTQuNyA0LTE4LjUgMTAuNkw5IDY0MC4yYy0zLjcgNi41LTMuNiAxNC40LjIgMjAuOCAzLjggNi41IDEwLjggMTAuNCAxOC4zIDEwLjRoNTU3YzcuNiAwIDE0LjYtNCAxOC40LTEwLjQgMy41LTYuNCAzLjYtMTQuNCAwLTIwLjh6bS0yNjYuNC0zMGgtNjEuMlY1NDloNjEuMnY2MS4yem0wLTEwN2gtNjEuMlYzMDRoNjEuMnYxOTl6Ii8+PC9zdmc+" !default;
|
377
|
+
$form-icon-danger: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjZDk1MzRmIiBkPSJNNDQ3IDU0NC40Yy0xNC40IDE0LjQtMzcuNiAxNC40LTUyIDBsLTg5LTkyLjctODkgOTIuN2MtMTQuNSAxNC40LTM3LjcgMTQuNC01MiAwLTE0LjQtMTQuNC0xNC40LTM3LjYgMC01Mmw5Mi40LTk2LjMtOTIuNC05Ni4zYy0xNC40LTE0LjQtMTQuNC0zNy42IDAtNTJzMzcuNi0xNC4zIDUyIDBsODkgOTIuOCA4OS4yLTkyLjdjMTQuNC0xNC40IDM3LjYtMTQuNCA1MiAwIDE0LjMgMTQuNCAxNC4zIDM3LjYgMCA1MkwzNTQuNiAzOTZsOTIuNCA5Ni40YzE0LjQgMTQuNCAxNC40IDM3LjYgMCA1MnoiLz48L3N2Zz4=" !default;
|
378
|
+
|
379
|
+
|
380
|
+
// Dropdowns
|
381
|
+
//
|
382
|
+
// Dropdown menu container and contents.
|
383
|
+
|
384
|
+
$dropdown-bg: #fff !default;
|
385
|
+
$dropdown-border-color: rgba(0,0,0,.15) !default;
|
386
|
+
$dropdown-border-width: 0px !default;
|
387
|
+
$dropdown-divider-bg: $gray-20 !default;
|
388
|
+
|
389
|
+
$dropdown-link-color: $gray !default;
|
390
|
+
$dropdown-link-hover-color: $brand-action !default;
|
391
|
+
$dropdown-link-hover-bg: $gray-5 !default;
|
392
|
+
|
393
|
+
$dropdown-link-active-color: $component-active-color !default;
|
394
|
+
$dropdown-link-active-bg: $component-active-bg !default;
|
395
|
+
|
396
|
+
$dropdown-link-disabled-color: $gray-50 !default;
|
397
|
+
|
398
|
+
$dropdown-header-color: $gray-50 !default;
|
399
|
+
|
400
|
+
|
401
|
+
// Z-index master list
|
402
|
+
//
|
403
|
+
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
404
|
+
// of components dependent on the z-axis and are designed to all work together.
|
405
|
+
|
406
|
+
$zindex-navbar: 1000 !default;
|
407
|
+
$zindex-dropdown: 1000 !default;
|
408
|
+
$zindex-popover: 1060 !default;
|
409
|
+
$zindex-tooltip: 1070 !default;
|
410
|
+
$zindex-navbar-fixed: 1030 !default;
|
411
|
+
$zindex-navbar-sticky: 1030 !default;
|
412
|
+
$zindex-overlay: 1040 !default;
|
413
|
+
$zindex-modal: 1050 !default;
|
414
|
+
$zindex-off-canvas: 1050 !default;
|
415
|
+
|
416
|
+
|
417
|
+
|
418
|
+
// Navbar
|
419
|
+
|
420
|
+
$navbar-border-radius: $border-radius !default;
|
421
|
+
$navbar-padding-horizontal: $spacer !default;
|
422
|
+
$navbar-padding-vertical: ($spacer / 2) !default;
|
423
|
+
|
424
|
+
$navbar-dark-color: rgba(255,255,255,.5) !default;
|
425
|
+
$navbar-dark-hover-color: rgba(255,255,255,.75) !default;
|
426
|
+
$navbar-dark-active-color: rgba(255,255,255,1) !default;
|
427
|
+
$navbar-dark-disabled-color: rgba(255,255,255,.25) !default;
|
428
|
+
|
429
|
+
$navbar-light-color: rgba(0,0,0,.3) !default;
|
430
|
+
$navbar-light-hover-color: rgba(0,0,0,.6) !default;
|
431
|
+
$navbar-light-active-color: rgba(0,0,0,.8) !default;
|
432
|
+
$navbar-light-disabled-color: rgba(0,0,0,.15) !default;
|
433
|
+
|
434
|
+
|
435
|
+
// Navs
|
436
|
+
|
437
|
+
$nav-link-padding: .5em 1em !default;
|
438
|
+
$nav-link-hover-bg: $gray-50 !default;
|
439
|
+
|
440
|
+
$nav-disabled-link-color: $gray-50 !default;
|
441
|
+
$nav-disabled-link-hover-color: $gray-50 !default;
|
442
|
+
|
443
|
+
$nav-tabs-border-color: #ddd !default;
|
444
|
+
|
445
|
+
$nav-tabs-link-border-width: $border-width !default;
|
446
|
+
$nav-tabs-link-hover-border-color: $gray-50 !default;
|
447
|
+
|
448
|
+
$nav-tabs-active-link-hover-bg: $body-bg !default;
|
449
|
+
$nav-tabs-active-link-hover-color: $gray !default;
|
450
|
+
$nav-tabs-active-link-hover-border-color: #ddd !default;
|
451
|
+
|
452
|
+
$nav-tabs-justified-link-border-color: #ddd !default;
|
453
|
+
$nav-tabs-justified-active-link-border-color: $body-bg !default;
|
454
|
+
|
455
|
+
$nav-pills-border-radius: $border-radius !default;
|
456
|
+
$nav-pills-active-link-hover-bg: $component-active-bg !default;
|
457
|
+
$nav-pills-active-link-hover-color: $component-active-color !default;
|
458
|
+
|
459
|
+
|
460
|
+
// Pagination
|
461
|
+
|
462
|
+
$pagination-padding-x: .75rem !default;
|
463
|
+
$pagination-padding-y: .5rem !default;
|
464
|
+
$pagination-padding-x-sm: .75rem !default;
|
465
|
+
$pagination-padding-y-sm: .275rem !default;
|
466
|
+
$pagination-padding-x-lg: 1.5rem !default;
|
467
|
+
$pagination-padding-y-lg: .75rem !default;
|
468
|
+
|
469
|
+
|
470
|
+
$pagination-color: $link-color !default;
|
471
|
+
$pagination-bg: #fff !default;
|
472
|
+
$pagination-border-width: $border-width !default;
|
473
|
+
$pagination-border-color: #ddd !default;
|
474
|
+
|
475
|
+
$pagination-hover-color: $link-hover-color !default;
|
476
|
+
$pagination-hover-bg: $gray-50 !default;
|
477
|
+
$pagination-hover-border: #ddd !default;
|
478
|
+
|
479
|
+
$pagination-active-color: #fff !default;
|
480
|
+
$pagination-active-bg: $brand-primary !default;
|
481
|
+
$pagination-active-border: $brand-primary !default;
|
482
|
+
|
483
|
+
$pagination-disabled-color: $gray-50 !default;
|
484
|
+
$pagination-disabled-bg: #fff !default;
|
485
|
+
$pagination-disabled-border: #ddd !default;
|
486
|
+
|
487
|
+
|
488
|
+
// Pager
|
489
|
+
|
490
|
+
$pager-bg: $pagination-bg !default;
|
491
|
+
$pager-border-width: $border-width !default;
|
492
|
+
$pager-border-color: $pagination-border-color !default;
|
493
|
+
$pager-border-radius: 15px !default;
|
494
|
+
|
495
|
+
$pager-hover-bg: $pagination-hover-bg !default;
|
496
|
+
|
497
|
+
$pager-active-bg: $pagination-active-bg !default;
|
498
|
+
$pager-active-color: $pagination-active-color !default;
|
499
|
+
|
500
|
+
$pager-disabled-color: $pagination-disabled-color !default;
|
501
|
+
|
502
|
+
|
503
|
+
// Jumbotron
|
504
|
+
|
505
|
+
$jumbotron-padding: 2rem !default;
|
506
|
+
$jumbotron-bg: $gray-50 !default;
|
507
|
+
|
508
|
+
|
509
|
+
// Form states and alerts
|
510
|
+
//
|
511
|
+
// Define colors for form feedback states and, by default, alerts.
|
512
|
+
|
513
|
+
$state-success-text: $brand-success !default;
|
514
|
+
$state-success-bg: tint($brand-success, 90%) !default;
|
515
|
+
$state-success-border: tint($brand-success, 50%) !default;
|
516
|
+
|
517
|
+
$state-info-text: $body-color !default;
|
518
|
+
$state-info-bg: tint($body-color, 90%) !default;
|
519
|
+
$state-info-border: tint($body-color, 70%) !default;
|
520
|
+
|
521
|
+
$state-warning-text: $body-color !default;
|
522
|
+
$state-warning-bg: tint($brand-warning, 90%) !default;
|
523
|
+
$state-warning-border: tint($brand-warning, 50%) !default;
|
524
|
+
|
525
|
+
$state-danger-text: #a94442 !default;
|
526
|
+
$state-danger-bg: #f2dede !default;
|
527
|
+
$state-danger-border: darken($state-danger-bg, 5%) !default;
|
528
|
+
|
529
|
+
|
530
|
+
// Cards
|
531
|
+
$card-spacer-x: 1.25rem !default;
|
532
|
+
$card-spacer-y: .75rem !default;
|
533
|
+
$card-border-width: 1px !default;
|
534
|
+
$card-border-radius: $border-radius !default;
|
535
|
+
$card-border-color: #e5e5e5 !default;
|
536
|
+
$card-border-radius-inner: $card-border-radius !default;
|
537
|
+
$card-cap-bg: #f5f5f5 !default;
|
538
|
+
$card-bg: #fff !default;
|
539
|
+
|
540
|
+
$card-link-hover-color: #fff !default;
|
541
|
+
|
542
|
+
|
543
|
+
// Tooltips
|
544
|
+
|
545
|
+
$tooltip-max-width: 200px !default;
|
546
|
+
$tooltip-color: #fff !default;
|
547
|
+
$tooltip-bg: #000 !default;
|
548
|
+
$tooltip-opacity: .9 !default;
|
549
|
+
|
550
|
+
$tooltip-arrow-width: 5px !default;
|
551
|
+
$tooltip-arrow-color: $tooltip-bg !default;
|
552
|
+
|
553
|
+
|
554
|
+
// Popovers
|
555
|
+
|
556
|
+
$popover-bg: #fff !default;
|
557
|
+
$popover-max-width: 276px !default;
|
558
|
+
$popover-border-width: $border-width !default;
|
559
|
+
$popover-border-color: rgba(0,0,0,.2) !default;
|
560
|
+
|
561
|
+
$popover-title-bg: darken($popover-bg, 3%) !default;
|
562
|
+
|
563
|
+
$popover-arrow-width: 10px !default;
|
564
|
+
$popover-arrow-color: $popover-bg !default;
|
565
|
+
|
566
|
+
$popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
|
567
|
+
$popover-arrow-outer-color: fade-in($popover-border-color, 0.05) !default;
|
568
|
+
|
569
|
+
|
570
|
+
// Labels
|
571
|
+
|
572
|
+
$tag-default-bg: $gray-20 !default;
|
573
|
+
$tag-primary-bg: $brand-primary !default;
|
574
|
+
$tag-success-bg: $brand-success !default;
|
575
|
+
$tag-secondary-bg: transparent !default;
|
576
|
+
$tag-warning-bg: $brand-warning !default;
|
577
|
+
$tag-danger-bg: $brand-danger !default;
|
578
|
+
|
579
|
+
$tag-color: $body-color !default;
|
580
|
+
$tag-link-hover-color: #fff !default;
|
581
|
+
$tag-font-weight: $font-weight-normal !default;
|
582
|
+
|
583
|
+
|
584
|
+
// Modals
|
585
|
+
|
586
|
+
// Padding applied to the modal body
|
587
|
+
$modal-inner-padding: 1.5rem !default;
|
588
|
+
$modal-inner-padding-y: 1rem !default;
|
589
|
+
|
590
|
+
$modal-content-bg: #fff !default;
|
591
|
+
$modal-content-border-color: $gray-20 !default;
|
592
|
+
|
593
|
+
$modal-header-border-color: $modal-content-border-color !default;
|
594
|
+
$modal-footer-border-color: $modal-content-border-color !default;
|
595
|
+
|
596
|
+
$modal-lg: 900px !default;
|
597
|
+
$modal-md: 532px !default;
|
598
|
+
$modal-sm: 300px !default;
|
599
|
+
|
600
|
+
|
601
|
+
// Off Canvas
|
602
|
+
$off-canvas-inner-padding: 16px !default;
|
603
|
+
|
604
|
+
|
605
|
+
$off-canvas-bg: #fff !default;
|
606
|
+
$off-canvas-border-color: $gray-20 !default;
|
607
|
+
$off-canvas-backdrop-opacity: .5 !default;
|
608
|
+
|
609
|
+
$off-canvas-large: 720px;
|
610
|
+
$off-canvas-medium: 480px;
|
611
|
+
$off-canvas-small: 327px;
|
612
|
+
|
613
|
+
|
614
|
+
|
615
|
+
|
616
|
+
// Alerts
|
617
|
+
//
|
618
|
+
// Define alert colors, border radius, and padding.
|
619
|
+
|
620
|
+
$alert-padding: 16px !default;
|
621
|
+
$alert-border-radius: $border-radius !default;
|
622
|
+
|
623
|
+
$alert-default-bg: $overlay-dark !default;
|
624
|
+
$alert-default-text: $white !default;
|
625
|
+
|
626
|
+
$alert-primary-bg: $brand-primary !default;
|
627
|
+
$alert-primary-text: $white !default;
|
628
|
+
|
629
|
+
$alert-success-bg: $brand-success !default;
|
630
|
+
$alert-success-text: $white !default;
|
631
|
+
|
632
|
+
$alert-warning-bg: $brand-warning !default;
|
633
|
+
$alert-warning-text: $body-color !default;
|
634
|
+
|
635
|
+
$alert-danger-bg: $brand-danger !default;
|
636
|
+
$alert-danger-text: $white !default;
|
637
|
+
|
638
|
+
|
639
|
+
// Progress bars
|
640
|
+
|
641
|
+
$progress-bg: #f5f5f5 !default;
|
642
|
+
$progress-bar-color: #fff !default;
|
643
|
+
$progress-border-radius: $border-radius !default;
|
644
|
+
|
645
|
+
$progress-bar-bg: $brand-primary !default;
|
646
|
+
$progress-bar-success-bg: $brand-success !default;
|
647
|
+
$progress-bar-warning-bg: $brand-warning !default;
|
648
|
+
$progress-bar-danger-bg: $brand-danger !default;
|
649
|
+
$progress-bar-info-bg: $brand-info !default;
|
650
|
+
|
651
|
+
|
652
|
+
// List group
|
653
|
+
|
654
|
+
$list-group-bg: #fff !default;
|
655
|
+
$list-group-border-color: #ddd !default;
|
656
|
+
$list-group-border-width: $border-width !default;
|
657
|
+
$list-group-border-radius: $border-radius !default;
|
658
|
+
|
659
|
+
$list-group-hover-bg: #f5f5f5 !default;
|
660
|
+
$list-group-active-color: $component-active-color !default;
|
661
|
+
$list-group-active-bg: $component-active-bg !default;
|
662
|
+
$list-group-active-border: $list-group-active-bg !default;
|
663
|
+
$list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
|
664
|
+
|
665
|
+
$list-group-disabled-color: $gray-50 !default;
|
666
|
+
$list-group-disabled-bg: $gray-50 !default;
|
667
|
+
$list-group-disabled-text-color: $list-group-disabled-color !default;
|
668
|
+
|
669
|
+
$list-group-link-color: #555 !default;
|
670
|
+
$list-group-link-hover-color: $list-group-link-color !default;
|
671
|
+
$list-group-link-heading-color: #333 !default;
|
672
|
+
|
673
|
+
|
674
|
+
// Image thumbnails
|
675
|
+
|
676
|
+
$thumbnail-padding: .25rem !default;
|
677
|
+
$thumbnail-bg: $body-bg !default;
|
678
|
+
$thumbnail-border-width: $border-width !default;
|
679
|
+
$thumbnail-border-color: #ddd !default;
|
680
|
+
$thumbnail-border-radius: $border-radius !default;
|
681
|
+
|
682
|
+
|
683
|
+
// Breadcrumbs
|
684
|
+
|
685
|
+
$breadcrumb-padding-vertical: .75rem !default;
|
686
|
+
$breadcrumb-padding-horizontal: 1rem !default;
|
687
|
+
|
688
|
+
$breadcrumb-bg: $gray-50 !default;
|
689
|
+
$breadcrumb-divider-color: $gray-50 !default;
|
690
|
+
$breadcrumb-active-color: $gray-50 !default;
|
691
|
+
$breadcrumb-divider: "/" !default;
|
692
|
+
|
693
|
+
|
694
|
+
// Carousel
|
695
|
+
|
696
|
+
$carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
|
697
|
+
|
698
|
+
$carousel-control-color: #fff !default;
|
699
|
+
$carousel-control-width: 15% !default;
|
700
|
+
$carousel-control-opacity: .5 !default;
|
701
|
+
$carousel-control-font-size: 20px !default;
|
702
|
+
|
703
|
+
$carousel-indicator-active-bg: #fff !default;
|
704
|
+
$carousel-indicator-border-color: #fff !default;
|
705
|
+
|
706
|
+
$carousel-caption-color: #fff !default;
|
707
|
+
|
708
|
+
|
709
|
+
// Close
|
710
|
+
|
711
|
+
$close-font-weight: $font-weight-normal !default;
|
712
|
+
$close-color: $gray-dark !default;
|
713
|
+
$close-text-shadow: 0 1px 0 #fff !default;
|
714
|
+
|
715
|
+
|
716
|
+
// Code
|
717
|
+
|
718
|
+
$code-color: #bd4147 !default;
|
719
|
+
$code-bg: #f7f7f9 !default;
|
720
|
+
|
721
|
+
$kbd-color: #fff !default;
|
722
|
+
$kbd-bg: #333 !default;
|
723
|
+
|
724
|
+
$pre-bg: #f7f7f9 !default;
|
725
|
+
$pre-color: $gray !default;
|
726
|
+
$pre-border-color: #ccc !default;
|
727
|
+
$pre-scrollable-max-height: 340px !default;
|