comfortable_mexican_sofa 2.0.18 → 2.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +19 -14
- data/Gemfile +2 -2
- data/LICENSE +1 -1
- data/README.md +4 -2
- data/app/assets/config/manifest.js +0 -0
- data/app/assets/javascripts/comfy/admin/cms/application.js +1 -2
- data/app/assets/javascripts/comfy/vendor/bootstrap.bundle.min.js +7 -0
- data/app/assets/javascripts/comfy/vendor/bootstrap.bundle.min.js.map +1 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_alert.scss +1 -1
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_badge.scss +8 -1
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_breadcrumb.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_button-group.scss +9 -18
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_buttons.scss +9 -16
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_card.scss +36 -48
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_carousel.scss +37 -76
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_close.scss +15 -8
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_code.scss +5 -5
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_custom-forms.scss +140 -54
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_dropdown.scss +34 -9
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_forms.scss +29 -34
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_functions.scss +8 -8
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_grid.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_images.scss +2 -2
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_input-group.scss +43 -8
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_jumbotron.scss +1 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_list-group.scss +39 -5
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_media.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_mixins.scss +6 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_modal.scss +78 -17
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_nav.scss +2 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_navbar.scss +9 -14
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_pagination.scss +0 -5
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_popover.scss +47 -59
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_print.scss +1 -1
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_progress.scss +15 -6
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_reboot.scss +47 -44
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_root.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_spinners.scss +55 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_tables.scss +5 -8
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_toasts.scss +44 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_tooltip.scss +1 -1
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_transitions.scss +0 -2
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_type.scss +16 -16
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_utilities.scss +2 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/_variables.scss +371 -177
- data/app/assets/stylesheets/comfy/vendor/bootstrap/bootstrap-grid.scss +4 -7
- data/app/assets/stylesheets/comfy/vendor/bootstrap/bootstrap-reboot.scss +3 -3
- data/app/assets/stylesheets/comfy/vendor/bootstrap/bootstrap.scss +5 -3
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_alert.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_background-variant.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_badge.scss +7 -2
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_border-radius.scss +29 -1
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_box-shadow.scss +16 -1
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_breakpoints.scss +3 -3
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_buttons.scss +12 -14
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_caret.scss +4 -8
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_clearfix.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_deprecate.scss +10 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_float.scss +3 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_forms.scss +58 -13
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_gradients.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_grid-framework.scss +3 -4
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_grid.scss +9 -10
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_hover.scss +1 -1
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_image.scss +2 -2
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_list-group.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_lists.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_nav-divider.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_pagination.scss +1 -1
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_reset-text.scss +1 -1
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_resize.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_screen-reader.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_size.scss +1 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_table-row.scss +10 -1
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_text-emphasis.scss +5 -3
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_text-hide.scss +1 -3
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_text-truncate.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_transition.scss +5 -2
- data/app/assets/stylesheets/comfy/vendor/bootstrap/mixins/_visibility.scss +1 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_align.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_background.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_borders.scss +17 -1
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_clearfix.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_display.scss +6 -18
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_embed.scss +7 -20
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_flex.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_float.scss +5 -3
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_overflow.scss +5 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_position.scss +0 -5
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_screenreaders.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_shadows.scss +0 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_sizing.scss +8 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_spacing.scss +23 -1
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_stretched-link.scss +19 -0
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_text.scss +19 -5
- data/app/assets/stylesheets/comfy/vendor/bootstrap/utilities/_visibility.scss +4 -2
- data/app/assets/stylesheets/comfy/vendor/bootstrap/vendor/_rfs.scss +204 -0
- data/app/models/comfy/cms/file.rb +6 -1
- data/app/models/comfy/cms/fragment.rb +6 -2
- data/app/models/comfy/cms/layout.rb +16 -8
- data/app/models/comfy/cms/page.rb +12 -17
- data/app/views/comfy/admin/cms/files/index.html.haml +4 -2
- data/app/views/comfy/admin/cms/pages/_form.html.haml +2 -2
- data/app/views/comfy/admin/cms/pages/index.html.haml +2 -2
- data/config/locales/ar.yml +262 -0
- data/config/locales/ca.yml +0 -1
- data/config/locales/cs.yml +0 -1
- data/config/locales/da.yml +0 -1
- data/config/locales/de.yml +60 -61
- data/config/locales/en.yml +0 -1
- data/config/locales/es.yml +0 -1
- data/config/locales/fi.yml +0 -1
- data/config/locales/fr.yml +0 -1
- data/config/locales/gr.yml +0 -1
- data/config/locales/hr.yml +262 -0
- data/config/locales/it.yml +0 -1
- data/config/locales/ja.yml +0 -1
- data/config/locales/nb.yml +0 -1
- data/config/locales/nl.yml +0 -1
- data/config/locales/pl.yml +0 -1
- data/config/locales/pt-BR.yml +0 -1
- data/config/locales/ru.yml +0 -1
- data/config/locales/sk.yml +0 -1
- data/config/locales/sv.yml +0 -1
- data/config/locales/tr.yml +0 -1
- data/config/locales/uk.yml +0 -1
- data/config/locales/zh-CN.yml +0 -1
- data/config/locales/zh-TW.yml +0 -1
- data/lib/comfortable_mexican_sofa/configuration.rb +2 -0
- data/lib/comfortable_mexican_sofa/seeds.rb +6 -2
- data/lib/comfortable_mexican_sofa/version.rb +1 -1
- data/lib/tasks/cms_seeds.rake +7 -7
- metadata +15 -5
- data/app/assets/javascripts/comfy/vendor/bootstrap.min.js +0 -7
- data/app/assets/javascripts/comfy/vendor/popper.min.js +0 -6
@@ -13,36 +13,36 @@ h1, h2, h3, h4, h5, h6,
|
|
13
13
|
color: $headings-color;
|
14
14
|
}
|
15
15
|
|
16
|
-
h1, .h1 { font-size
|
17
|
-
h2, .h2 { font-size
|
18
|
-
h3, .h3 { font-size
|
19
|
-
h4, .h4 { font-size
|
20
|
-
h5, .h5 { font-size
|
21
|
-
h6, .h6 { font-size
|
16
|
+
h1, .h1 { @include font-size($h1-font-size); }
|
17
|
+
h2, .h2 { @include font-size($h2-font-size); }
|
18
|
+
h3, .h3 { @include font-size($h3-font-size); }
|
19
|
+
h4, .h4 { @include font-size($h4-font-size); }
|
20
|
+
h5, .h5 { @include font-size($h5-font-size); }
|
21
|
+
h6, .h6 { @include font-size($h6-font-size); }
|
22
22
|
|
23
23
|
.lead {
|
24
|
-
font-size
|
24
|
+
@include font-size($lead-font-size);
|
25
25
|
font-weight: $lead-font-weight;
|
26
26
|
}
|
27
27
|
|
28
28
|
// Type display classes
|
29
29
|
.display-1 {
|
30
|
-
font-size
|
30
|
+
@include font-size($display1-size);
|
31
31
|
font-weight: $display1-weight;
|
32
32
|
line-height: $display-line-height;
|
33
33
|
}
|
34
34
|
.display-2 {
|
35
|
-
font-size
|
35
|
+
@include font-size($display2-size);
|
36
36
|
font-weight: $display2-weight;
|
37
37
|
line-height: $display-line-height;
|
38
38
|
}
|
39
39
|
.display-3 {
|
40
|
-
font-size
|
40
|
+
@include font-size($display3-size);
|
41
41
|
font-weight: $display3-weight;
|
42
42
|
line-height: $display-line-height;
|
43
43
|
}
|
44
44
|
.display-4 {
|
45
|
-
font-size
|
45
|
+
@include font-size($display4-size);
|
46
46
|
font-weight: $display4-weight;
|
47
47
|
line-height: $display-line-height;
|
48
48
|
}
|
@@ -66,7 +66,7 @@ hr {
|
|
66
66
|
|
67
67
|
small,
|
68
68
|
.small {
|
69
|
-
font-size
|
69
|
+
@include font-size($small-font-size);
|
70
70
|
font-weight: $font-weight-normal;
|
71
71
|
}
|
72
72
|
|
@@ -104,22 +104,22 @@ mark,
|
|
104
104
|
|
105
105
|
// Builds on `abbr`
|
106
106
|
.initialism {
|
107
|
-
font-size
|
107
|
+
@include font-size(90%);
|
108
108
|
text-transform: uppercase;
|
109
109
|
}
|
110
110
|
|
111
111
|
// Blockquotes
|
112
112
|
.blockquote {
|
113
113
|
margin-bottom: $spacer;
|
114
|
-
font-size
|
114
|
+
@include font-size($blockquote-font-size);
|
115
115
|
}
|
116
116
|
|
117
117
|
.blockquote-footer {
|
118
118
|
display: block;
|
119
|
-
font-size
|
119
|
+
@include font-size($blockquote-small-font-size);
|
120
120
|
color: $blockquote-small-color;
|
121
121
|
|
122
122
|
&::before {
|
123
|
-
content: "\2014
|
123
|
+
content: "\2014\00A0"; // em dash, nbsp
|
124
124
|
}
|
125
125
|
}
|
@@ -6,10 +6,12 @@
|
|
6
6
|
@import "utilities/embed";
|
7
7
|
@import "utilities/flex";
|
8
8
|
@import "utilities/float";
|
9
|
+
@import "utilities/overflow";
|
9
10
|
@import "utilities/position";
|
10
11
|
@import "utilities/screenreaders";
|
11
12
|
@import "utilities/shadows";
|
12
13
|
@import "utilities/sizing";
|
14
|
+
@import "utilities/stretched-link";
|
13
15
|
@import "utilities/spacing";
|
14
16
|
@import "utilities/text";
|
15
17
|
@import "utilities/visibility";
|
@@ -3,12 +3,8 @@
|
|
3
3
|
// Variables should follow the `$component-state-property-size` formula for
|
4
4
|
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
|
5
5
|
|
6
|
-
|
7
|
-
//
|
8
6
|
// Color system
|
9
|
-
//
|
10
7
|
|
11
|
-
// stylelint-disable
|
12
8
|
$white: #fff !default;
|
13
9
|
$gray-100: #f8f9fa !default;
|
14
10
|
$gray-200: #e9ecef !default;
|
@@ -22,17 +18,21 @@ $gray-900: #212529 !default;
|
|
22
18
|
$black: #000 !default;
|
23
19
|
|
24
20
|
$grays: () !default;
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
21
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
22
|
+
$grays: map-merge(
|
23
|
+
(
|
24
|
+
"100": $gray-100,
|
25
|
+
"200": $gray-200,
|
26
|
+
"300": $gray-300,
|
27
|
+
"400": $gray-400,
|
28
|
+
"500": $gray-500,
|
29
|
+
"600": $gray-600,
|
30
|
+
"700": $gray-700,
|
31
|
+
"800": $gray-800,
|
32
|
+
"900": $gray-900
|
33
|
+
),
|
34
|
+
$grays
|
35
|
+
);
|
36
36
|
|
37
37
|
$blue: #007bff !default;
|
38
38
|
$indigo: #6610f2 !default;
|
@@ -46,21 +46,25 @@ $teal: #20c997 !default;
|
|
46
46
|
$cyan: #17a2b8 !default;
|
47
47
|
|
48
48
|
$colors: () !default;
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
49
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
50
|
+
$colors: map-merge(
|
51
|
+
(
|
52
|
+
"blue": $blue,
|
53
|
+
"indigo": $indigo,
|
54
|
+
"purple": $purple,
|
55
|
+
"pink": $pink,
|
56
|
+
"red": $red,
|
57
|
+
"orange": $orange,
|
58
|
+
"yellow": $yellow,
|
59
|
+
"green": $green,
|
60
|
+
"teal": $teal,
|
61
|
+
"cyan": $cyan,
|
62
|
+
"white": $white,
|
63
|
+
"gray": $gray-600,
|
64
|
+
"gray-dark": $gray-800
|
65
|
+
),
|
66
|
+
$colors
|
67
|
+
);
|
64
68
|
|
65
69
|
$primary: $blue !default;
|
66
70
|
$secondary: $gray-600 !default;
|
@@ -72,17 +76,20 @@ $light: $gray-100 !default;
|
|
72
76
|
$dark: $gray-800 !default;
|
73
77
|
|
74
78
|
$theme-colors: () !default;
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
79
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
80
|
+
$theme-colors: map-merge(
|
81
|
+
(
|
82
|
+
"primary": $primary,
|
83
|
+
"secondary": $secondary,
|
84
|
+
"success": $success,
|
85
|
+
"info": $info,
|
86
|
+
"warning": $warning,
|
87
|
+
"danger": $danger,
|
88
|
+
"light": $light,
|
89
|
+
"dark": $dark
|
90
|
+
),
|
91
|
+
$theme-colors
|
92
|
+
);
|
86
93
|
|
87
94
|
// Set a specific jump point for requesting color jumps
|
88
95
|
$theme-color-interval: 8% !default;
|
@@ -94,18 +101,24 @@ $yiq-contrasted-threshold: 150 !default;
|
|
94
101
|
$yiq-text-dark: $gray-900 !default;
|
95
102
|
$yiq-text-light: $white !default;
|
96
103
|
|
104
|
+
|
97
105
|
// Options
|
98
106
|
//
|
99
107
|
// Quickly modify global styling by enabling or disabling optional features.
|
100
108
|
|
101
|
-
$enable-caret:
|
102
|
-
$enable-rounded:
|
103
|
-
$enable-shadows:
|
104
|
-
$enable-gradients:
|
105
|
-
$enable-transitions:
|
106
|
-
$enable-
|
107
|
-
$enable-
|
108
|
-
$enable-
|
109
|
+
$enable-caret: true !default;
|
110
|
+
$enable-rounded: true !default;
|
111
|
+
$enable-shadows: false !default;
|
112
|
+
$enable-gradients: false !default;
|
113
|
+
$enable-transitions: true !default;
|
114
|
+
$enable-prefers-reduced-motion-media-query: true !default;
|
115
|
+
$enable-hover-media-query: false !default; // Deprecated, no longer affects any compiled CSS
|
116
|
+
$enable-grid-classes: true !default;
|
117
|
+
$enable-pointer-cursor-for-buttons: true !default;
|
118
|
+
$enable-print-styles: true !default;
|
119
|
+
$enable-responsive-font-sizes: false !default;
|
120
|
+
$enable-validation-icons: true !default;
|
121
|
+
$enable-deprecation-messages: true !default;
|
109
122
|
|
110
123
|
|
111
124
|
// Spacing
|
@@ -114,28 +127,35 @@ $enable-print-styles: true !default;
|
|
114
127
|
// variables. Mostly focused on spacing.
|
115
128
|
// You can add more entries to the $spacers map, should you need more variation.
|
116
129
|
|
117
|
-
// stylelint-disable
|
118
130
|
$spacer: 1rem !default;
|
119
131
|
$spacers: () !default;
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
132
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
133
|
+
$spacers: map-merge(
|
134
|
+
(
|
135
|
+
0: 0,
|
136
|
+
1: ($spacer * .25),
|
137
|
+
2: ($spacer * .5),
|
138
|
+
3: $spacer,
|
139
|
+
4: ($spacer * 1.5),
|
140
|
+
5: ($spacer * 3)
|
141
|
+
),
|
142
|
+
$spacers
|
143
|
+
);
|
128
144
|
|
129
145
|
// This variable affects the `.h-*` and `.w-*` classes.
|
130
146
|
$sizes: () !default;
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
147
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
148
|
+
$sizes: map-merge(
|
149
|
+
(
|
150
|
+
25: 25%,
|
151
|
+
50: 50%,
|
152
|
+
75: 75%,
|
153
|
+
100: 100%,
|
154
|
+
auto: auto
|
155
|
+
),
|
156
|
+
$sizes
|
157
|
+
);
|
158
|
+
|
139
159
|
|
140
160
|
// Body
|
141
161
|
//
|
@@ -144,14 +164,17 @@ $sizes: map-merge((
|
|
144
164
|
$body-bg: $white !default;
|
145
165
|
$body-color: $gray-900 !default;
|
146
166
|
|
167
|
+
|
147
168
|
// Links
|
148
169
|
//
|
149
170
|
// Style anchor elements.
|
150
171
|
|
151
|
-
$link-color:
|
152
|
-
$link-decoration:
|
153
|
-
$link-hover-color:
|
154
|
-
$link-hover-decoration:
|
172
|
+
$link-color: theme-color("primary") !default;
|
173
|
+
$link-decoration: none !default;
|
174
|
+
$link-hover-color: darken($link-color, 15%) !default;
|
175
|
+
$link-hover-decoration: underline !default;
|
176
|
+
// Darken percentage for links with `.text-*` class (e.g. `.text-success`)
|
177
|
+
$emphasized-link-hover-darken-percentage: 15% !default;
|
155
178
|
|
156
179
|
// Paragraphs
|
157
180
|
//
|
@@ -174,7 +197,7 @@ $grid-breakpoints: (
|
|
174
197
|
) !default;
|
175
198
|
|
176
199
|
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
177
|
-
@include _assert-starts-at-zero($grid-breakpoints);
|
200
|
+
@include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
|
178
201
|
|
179
202
|
|
180
203
|
// Grid containers
|
@@ -198,6 +221,7 @@ $container-max-widths: (
|
|
198
221
|
$grid-columns: 12 !default;
|
199
222
|
$grid-gutter-width: 30px !default;
|
200
223
|
|
224
|
+
|
201
225
|
// Components
|
202
226
|
//
|
203
227
|
// Define common padding and border radius sizes and more.
|
@@ -212,6 +236,8 @@ $border-radius: .25rem !default;
|
|
212
236
|
$border-radius-lg: .3rem !default;
|
213
237
|
$border-radius-sm: .2rem !default;
|
214
238
|
|
239
|
+
$rounded-pill: 50rem !default;
|
240
|
+
|
215
241
|
$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
|
216
242
|
$box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
|
217
243
|
$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
|
@@ -220,29 +246,44 @@ $component-active-color: $white !default;
|
|
220
246
|
$component-active-bg: theme-color("primary") !default;
|
221
247
|
|
222
248
|
$caret-width: .3em !default;
|
249
|
+
$caret-vertical-align: $caret-width * .85 !default;
|
250
|
+
$caret-spacing: $caret-width * .85 !default;
|
223
251
|
|
224
252
|
$transition-base: all .2s ease-in-out !default;
|
225
253
|
$transition-fade: opacity .15s linear !default;
|
226
254
|
$transition-collapse: height .35s ease !default;
|
227
255
|
|
228
|
-
|
229
|
-
//
|
256
|
+
$embed-responsive-aspect-ratios: () !default;
|
257
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
258
|
+
$embed-responsive-aspect-ratios: join(
|
259
|
+
(
|
260
|
+
(21 9),
|
261
|
+
(16 9),
|
262
|
+
(4 3),
|
263
|
+
(1 1),
|
264
|
+
),
|
265
|
+
$embed-responsive-aspect-ratios
|
266
|
+
);
|
267
|
+
|
268
|
+
// Typography
|
230
269
|
//
|
231
270
|
// Font, line-height, and color for body text, headings, and more.
|
232
271
|
|
233
272
|
// stylelint-disable value-keyword-case
|
234
|
-
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
|
273
|
+
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
235
274
|
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
236
275
|
$font-family-base: $font-family-sans-serif !default;
|
237
276
|
// stylelint-enable value-keyword-case
|
238
277
|
|
239
278
|
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
|
240
|
-
$font-size-lg:
|
241
|
-
$font-size-sm:
|
279
|
+
$font-size-lg: $font-size-base * 1.25 !default;
|
280
|
+
$font-size-sm: $font-size-base * .875 !default;
|
242
281
|
|
282
|
+
$font-weight-lighter: lighter !default;
|
243
283
|
$font-weight-light: 300 !default;
|
244
284
|
$font-weight-normal: 400 !default;
|
245
285
|
$font-weight-bold: 700 !default;
|
286
|
+
$font-weight-bolder: bolder !default;
|
246
287
|
|
247
288
|
$font-weight-base: $font-weight-normal !default;
|
248
289
|
$line-height-base: 1.5 !default;
|
@@ -254,11 +295,11 @@ $h4-font-size: $font-size-base * 1.5 !default;
|
|
254
295
|
$h5-font-size: $font-size-base * 1.25 !default;
|
255
296
|
$h6-font-size: $font-size-base !default;
|
256
297
|
|
257
|
-
$headings-margin-bottom:
|
258
|
-
$headings-font-family:
|
298
|
+
$headings-margin-bottom: $spacer / 2 !default;
|
299
|
+
$headings-font-family: null !default;
|
259
300
|
$headings-font-weight: 500 !default;
|
260
301
|
$headings-line-height: 1.2 !default;
|
261
|
-
$headings-color:
|
302
|
+
$headings-color: null !default;
|
262
303
|
|
263
304
|
$display1-size: 6rem !default;
|
264
305
|
$display2-size: 5.5rem !default;
|
@@ -271,7 +312,7 @@ $display3-weight: 300 !default;
|
|
271
312
|
$display4-weight: 300 !default;
|
272
313
|
$display-line-height: $headings-line-height !default;
|
273
314
|
|
274
|
-
$lead-font-size:
|
315
|
+
$lead-font-size: $font-size-base * 1.25 !default;
|
275
316
|
$lead-font-weight: 300 !default;
|
276
317
|
|
277
318
|
$small-font-size: 80% !default;
|
@@ -279,7 +320,8 @@ $small-font-size: 80% !default;
|
|
279
320
|
$text-muted: $gray-600 !default;
|
280
321
|
|
281
322
|
$blockquote-small-color: $gray-600 !default;
|
282
|
-
$blockquote-font-size:
|
323
|
+
$blockquote-small-font-size: $small-font-size !default;
|
324
|
+
$blockquote-font-size: $font-size-base * 1.25 !default;
|
283
325
|
|
284
326
|
$hr-border-color: rgba($black, .1) !default;
|
285
327
|
$hr-border-width: $border-width !default;
|
@@ -305,33 +347,43 @@ $hr-margin-y: $spacer !default;
|
|
305
347
|
$table-cell-padding: .75rem !default;
|
306
348
|
$table-cell-padding-sm: .3rem !default;
|
307
349
|
|
308
|
-
$table-
|
350
|
+
$table-color: $body-color !default;
|
351
|
+
$table-bg: null !default;
|
309
352
|
$table-accent-bg: rgba($black, .05) !default;
|
353
|
+
$table-hover-color: $table-color !default;
|
310
354
|
$table-hover-bg: rgba($black, .075) !default;
|
311
355
|
$table-active-bg: $table-hover-bg !default;
|
312
356
|
|
313
357
|
$table-border-width: $border-width !default;
|
314
|
-
$table-border-color: $
|
358
|
+
$table-border-color: $border-color !default;
|
315
359
|
|
316
360
|
$table-head-bg: $gray-200 !default;
|
317
361
|
$table-head-color: $gray-700 !default;
|
318
362
|
|
319
|
-
$table-dark-
|
363
|
+
$table-dark-color: $white !default;
|
364
|
+
$table-dark-bg: $gray-800 !default;
|
320
365
|
$table-dark-accent-bg: rgba($white, .05) !default;
|
366
|
+
$table-dark-hover-color: $table-dark-color !default;
|
321
367
|
$table-dark-hover-bg: rgba($white, .075) !default;
|
322
|
-
$table-dark-border-color: lighten($
|
323
|
-
$table-dark-color: $
|
368
|
+
$table-dark-border-color: lighten($table-dark-bg, 7.5%) !default;
|
369
|
+
$table-dark-color: $white !default;
|
324
370
|
|
325
371
|
$table-striped-order: odd !default;
|
326
372
|
|
327
373
|
$table-caption-color: $text-muted !default;
|
328
374
|
|
375
|
+
$table-bg-level: -9 !default;
|
376
|
+
$table-border-level: -6 !default;
|
377
|
+
|
378
|
+
|
329
379
|
// Buttons + Forms
|
330
380
|
//
|
331
381
|
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
|
332
382
|
|
333
383
|
$input-btn-padding-y: .375rem !default;
|
334
384
|
$input-btn-padding-x: .75rem !default;
|
385
|
+
$input-btn-font-family: null !default;
|
386
|
+
$input-btn-font-size: $font-size-base !default;
|
335
387
|
$input-btn-line-height: $line-height-base !default;
|
336
388
|
|
337
389
|
$input-btn-focus-width: .2rem !default;
|
@@ -340,10 +392,12 @@ $input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-colo
|
|
340
392
|
|
341
393
|
$input-btn-padding-y-sm: .25rem !default;
|
342
394
|
$input-btn-padding-x-sm: .5rem !default;
|
395
|
+
$input-btn-font-size-sm: $font-size-sm !default;
|
343
396
|
$input-btn-line-height-sm: $line-height-sm !default;
|
344
397
|
|
345
398
|
$input-btn-padding-y-lg: .5rem !default;
|
346
399
|
$input-btn-padding-x-lg: 1rem !default;
|
400
|
+
$input-btn-font-size-lg: $font-size-lg !default;
|
347
401
|
$input-btn-line-height-lg: $line-height-lg !default;
|
348
402
|
|
349
403
|
$input-btn-border-width: $border-width !default;
|
@@ -355,14 +409,18 @@ $input-btn-border-width: $border-width !default;
|
|
355
409
|
|
356
410
|
$btn-padding-y: $input-btn-padding-y !default;
|
357
411
|
$btn-padding-x: $input-btn-padding-x !default;
|
412
|
+
$btn-font-family: $input-btn-font-family !default;
|
413
|
+
$btn-font-size: $input-btn-font-size !default;
|
358
414
|
$btn-line-height: $input-btn-line-height !default;
|
359
415
|
|
360
416
|
$btn-padding-y-sm: $input-btn-padding-y-sm !default;
|
361
417
|
$btn-padding-x-sm: $input-btn-padding-x-sm !default;
|
418
|
+
$btn-font-size-sm: $input-btn-font-size-sm !default;
|
362
419
|
$btn-line-height-sm: $input-btn-line-height-sm !default;
|
363
420
|
|
364
421
|
$btn-padding-y-lg: $input-btn-padding-y-lg !default;
|
365
422
|
$btn-padding-x-lg: $input-btn-padding-x-lg !default;
|
423
|
+
$btn-font-size-lg: $input-btn-font-size-lg !default;
|
366
424
|
$btn-line-height-lg: $input-btn-line-height-lg !default;
|
367
425
|
|
368
426
|
$btn-border-width: $input-btn-border-width !default;
|
@@ -392,14 +450,19 @@ $label-margin-bottom: .5rem !default;
|
|
392
450
|
|
393
451
|
$input-padding-y: $input-btn-padding-y !default;
|
394
452
|
$input-padding-x: $input-btn-padding-x !default;
|
453
|
+
$input-font-family: $input-btn-font-family !default;
|
454
|
+
$input-font-size: $input-btn-font-size !default;
|
455
|
+
$input-font-weight: $font-weight-base !default;
|
395
456
|
$input-line-height: $input-btn-line-height !default;
|
396
457
|
|
397
458
|
$input-padding-y-sm: $input-btn-padding-y-sm !default;
|
398
459
|
$input-padding-x-sm: $input-btn-padding-x-sm !default;
|
460
|
+
$input-font-size-sm: $input-btn-font-size-sm !default;
|
399
461
|
$input-line-height-sm: $input-btn-line-height-sm !default;
|
400
462
|
|
401
463
|
$input-padding-y-lg: $input-btn-padding-y-lg !default;
|
402
464
|
$input-padding-x-lg: $input-btn-padding-x-lg !default;
|
465
|
+
$input-font-size-lg: $input-btn-font-size-lg !default;
|
403
466
|
$input-line-height-lg: $input-btn-line-height-lg !default;
|
404
467
|
|
405
468
|
$input-bg: $white !default;
|
@@ -425,14 +488,13 @@ $input-plaintext-color: $body-color !default;
|
|
425
488
|
|
426
489
|
$input-height-border: $input-border-width * 2 !default;
|
427
490
|
|
428
|
-
$input-height-inner: ($
|
429
|
-
$input-height:
|
430
|
-
|
431
|
-
$input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2) !default;
|
432
|
-
$input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;
|
491
|
+
$input-height-inner: calc(#{$input-line-height * 1em} + #{$input-padding-y * 2}) !default;
|
492
|
+
$input-height-inner-half: calc(#{$input-line-height * .5em} + #{$input-padding-y}) !default;
|
493
|
+
$input-height-inner-quarter: calc(#{$input-line-height * .25em} + #{$input-padding-y / 2}) !default;
|
433
494
|
|
434
|
-
$input-height
|
435
|
-
$input-height-
|
495
|
+
$input-height: calc(#{$input-line-height * 1em} + #{$input-padding-y * 2} + #{$input-height-border}) !default;
|
496
|
+
$input-height-sm: calc(#{$input-line-height-sm * 1em} + #{$input-btn-padding-y-sm * 2} + #{$input-height-border}) !default;
|
497
|
+
$input-height-lg: calc(#{$input-line-height-lg * 1em} + #{$input-btn-padding-y-lg * 2} + #{$input-height-border}) !default;
|
436
498
|
|
437
499
|
$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
438
500
|
|
@@ -445,68 +507,97 @@ $form-check-input-margin-x: .25rem !default;
|
|
445
507
|
$form-check-inline-margin-x: .75rem !default;
|
446
508
|
$form-check-inline-input-margin-x: .3125rem !default;
|
447
509
|
|
510
|
+
$form-grid-gutter-width: 10px !default;
|
448
511
|
$form-group-margin-bottom: 1rem !default;
|
449
512
|
|
450
513
|
$input-group-addon-color: $input-color !default;
|
451
514
|
$input-group-addon-bg: $gray-200 !default;
|
452
515
|
$input-group-addon-border-color: $input-border-color !default;
|
453
516
|
|
454
|
-
$custom-
|
517
|
+
$custom-forms-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
518
|
+
|
519
|
+
$custom-control-gutter: .5rem !default;
|
455
520
|
$custom-control-spacer-x: 1rem !default;
|
456
521
|
|
457
522
|
$custom-control-indicator-size: 1rem !default;
|
458
|
-
$custom-control-indicator-bg: $
|
523
|
+
$custom-control-indicator-bg: $input-bg !default;
|
524
|
+
|
459
525
|
$custom-control-indicator-bg-size: 50% 50% !default;
|
460
|
-
$custom-control-indicator-box-shadow:
|
526
|
+
$custom-control-indicator-box-shadow: $input-box-shadow !default;
|
527
|
+
$custom-control-indicator-border-color: $gray-500 !default;
|
528
|
+
$custom-control-indicator-border-width: $input-border-width !default;
|
461
529
|
|
462
|
-
$custom-control-indicator-disabled-bg: $
|
530
|
+
$custom-control-indicator-disabled-bg: $input-disabled-bg !default;
|
463
531
|
$custom-control-label-disabled-color: $gray-600 !default;
|
464
532
|
|
465
533
|
$custom-control-indicator-checked-color: $component-active-color !default;
|
466
534
|
$custom-control-indicator-checked-bg: $component-active-bg !default;
|
467
535
|
$custom-control-indicator-checked-disabled-bg: rgba(theme-color("primary"), .5) !default;
|
468
536
|
$custom-control-indicator-checked-box-shadow: none !default;
|
537
|
+
$custom-control-indicator-checked-border-color: $custom-control-indicator-checked-bg !default;
|
469
538
|
|
470
|
-
$custom-control-indicator-focus-box-shadow:
|
539
|
+
$custom-control-indicator-focus-box-shadow: $input-focus-box-shadow !default;
|
540
|
+
$custom-control-indicator-focus-border-color: $input-focus-border-color !default;
|
471
541
|
|
472
542
|
$custom-control-indicator-active-color: $component-active-color !default;
|
473
543
|
$custom-control-indicator-active-bg: lighten($component-active-bg, 35%) !default;
|
474
544
|
$custom-control-indicator-active-box-shadow: none !default;
|
545
|
+
$custom-control-indicator-active-border-color: $custom-control-indicator-active-bg !default;
|
475
546
|
|
476
547
|
$custom-checkbox-indicator-border-radius: $border-radius !default;
|
477
|
-
$custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml
|
548
|
+
$custom-checkbox-indicator-icon-checked: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e"), "#", "%23") !default;
|
478
549
|
|
479
|
-
$custom-checkbox-indicator-indeterminate-bg:
|
480
|
-
$custom-checkbox-indicator-indeterminate-color:
|
481
|
-
$custom-checkbox-indicator-icon-indeterminate:
|
482
|
-
$custom-checkbox-indicator-indeterminate-box-shadow:
|
550
|
+
$custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
|
551
|
+
$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
|
552
|
+
$custom-checkbox-indicator-icon-indeterminate: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3e%3cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3e%3c/svg%3e"), "#", "%23") !default;
|
553
|
+
$custom-checkbox-indicator-indeterminate-box-shadow: none !default;
|
554
|
+
$custom-checkbox-indicator-indeterminate-border-color: $custom-checkbox-indicator-indeterminate-bg !default;
|
483
555
|
|
484
556
|
$custom-radio-indicator-border-radius: 50% !default;
|
485
|
-
$custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml
|
557
|
+
$custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3e%3c/svg%3e"), "#", "%23") !default;
|
558
|
+
|
559
|
+
$custom-switch-width: $custom-control-indicator-size * 1.75 !default;
|
560
|
+
$custom-switch-indicator-border-radius: $custom-control-indicator-size / 2 !default;
|
561
|
+
$custom-switch-indicator-size: calc(#{$custom-control-indicator-size} - #{$custom-control-indicator-border-width * 4}) !default;
|
486
562
|
|
487
|
-
$custom-select-padding-y:
|
488
|
-
$custom-select-padding-x:
|
563
|
+
$custom-select-padding-y: $input-padding-y !default;
|
564
|
+
$custom-select-padding-x: $input-padding-x !default;
|
565
|
+
$custom-select-font-family: $input-font-family !default;
|
566
|
+
$custom-select-font-size: $input-font-size !default;
|
489
567
|
$custom-select-height: $input-height !default;
|
490
568
|
$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
|
491
|
-
$custom-select-
|
569
|
+
$custom-select-font-weight: $input-font-weight !default;
|
570
|
+
$custom-select-line-height: $input-line-height !default;
|
492
571
|
$custom-select-color: $input-color !default;
|
493
572
|
$custom-select-disabled-color: $gray-600 !default;
|
494
573
|
$custom-select-bg: $input-bg !default;
|
495
574
|
$custom-select-disabled-bg: $gray-200 !default;
|
496
575
|
$custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
|
497
576
|
$custom-select-indicator-color: $gray-800 !default;
|
498
|
-
$custom-select-indicator: str-replace(url("data:image/svg+xml
|
499
|
-
$custom-select-
|
577
|
+
$custom-select-indicator: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e"), "#", "%23") !default;
|
578
|
+
$custom-select-background: $custom-select-indicator no-repeat right $custom-select-padding-x center / $custom-select-bg-size !default; // Used so we can have multiple background elements (e.g., arrow and feedback icon)
|
579
|
+
|
580
|
+
$custom-select-feedback-icon-padding-right: calc((1em + #{2 * $custom-select-padding-y}) * 3 / 4 + #{$custom-select-padding-x + $custom-select-indicator-padding}) !default;
|
581
|
+
$custom-select-feedback-icon-position: center right ($custom-select-padding-x + $custom-select-indicator-padding) !default;
|
582
|
+
$custom-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half !default;
|
583
|
+
|
584
|
+
$custom-select-border-width: $input-border-width !default;
|
500
585
|
$custom-select-border-color: $input-border-color !default;
|
501
586
|
$custom-select-border-radius: $border-radius !default;
|
587
|
+
$custom-select-box-shadow: inset 0 1px 2px rgba($black, .075) !default;
|
502
588
|
|
503
589
|
$custom-select-focus-border-color: $input-focus-border-color !default;
|
504
|
-
$custom-select-focus-
|
590
|
+
$custom-select-focus-width: $input-focus-width !default;
|
591
|
+
$custom-select-focus-box-shadow: 0 0 0 $custom-select-focus-width $input-btn-focus-color !default;
|
505
592
|
|
506
|
-
$custom-select-
|
593
|
+
$custom-select-padding-y-sm: $input-padding-y-sm !default;
|
594
|
+
$custom-select-padding-x-sm: $input-padding-x-sm !default;
|
595
|
+
$custom-select-font-size-sm: $input-font-size-sm !default;
|
507
596
|
$custom-select-height-sm: $input-height-sm !default;
|
508
597
|
|
509
|
-
$custom-select-
|
598
|
+
$custom-select-padding-y-lg: $input-padding-y-lg !default;
|
599
|
+
$custom-select-padding-x-lg: $input-padding-x-lg !default;
|
600
|
+
$custom-select-font-size-lg: $input-font-size-lg !default;
|
510
601
|
$custom-select-height-lg: $input-height-lg !default;
|
511
602
|
|
512
603
|
$custom-range-track-width: 100% !default;
|
@@ -516,26 +607,31 @@ $custom-range-track-bg: $gray-300 !default;
|
|
516
607
|
$custom-range-track-border-radius: 1rem !default;
|
517
608
|
$custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
|
518
609
|
|
519
|
-
$custom-range-thumb-width:
|
520
|
-
$custom-range-thumb-height:
|
521
|
-
$custom-range-thumb-bg:
|
522
|
-
$custom-range-thumb-border:
|
523
|
-
$custom-range-thumb-border-radius:
|
524
|
-
$custom-range-thumb-box-shadow:
|
525
|
-
$custom-range-thumb-focus-box-shadow:
|
526
|
-
$custom-range-thumb-
|
610
|
+
$custom-range-thumb-width: 1rem !default;
|
611
|
+
$custom-range-thumb-height: $custom-range-thumb-width !default;
|
612
|
+
$custom-range-thumb-bg: $component-active-bg !default;
|
613
|
+
$custom-range-thumb-border: 0 !default;
|
614
|
+
$custom-range-thumb-border-radius: 1rem !default;
|
615
|
+
$custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
|
616
|
+
$custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
617
|
+
$custom-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in IE/Edge
|
618
|
+
$custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
|
619
|
+
$custom-range-thumb-disabled-bg: $gray-500 !default;
|
527
620
|
|
528
621
|
$custom-file-height: $input-height !default;
|
529
622
|
$custom-file-height-inner: $input-height-inner !default;
|
530
623
|
$custom-file-focus-border-color: $input-focus-border-color !default;
|
531
|
-
$custom-file-focus-box-shadow: $input-
|
532
|
-
|
533
|
-
|
534
|
-
$custom-file-padding-
|
535
|
-
$custom-file-
|
624
|
+
$custom-file-focus-box-shadow: $input-focus-box-shadow !default;
|
625
|
+
$custom-file-disabled-bg: $input-disabled-bg !default;
|
626
|
+
|
627
|
+
$custom-file-padding-y: $input-padding-y !default;
|
628
|
+
$custom-file-padding-x: $input-padding-x !default;
|
629
|
+
$custom-file-line-height: $input-line-height !default;
|
630
|
+
$custom-file-font-family: $input-font-family !default;
|
631
|
+
$custom-file-font-weight: $input-font-weight !default;
|
536
632
|
$custom-file-color: $input-color !default;
|
537
633
|
$custom-file-bg: $input-bg !default;
|
538
|
-
$custom-file-border-width: $input-
|
634
|
+
$custom-file-border-width: $input-border-width !default;
|
539
635
|
$custom-file-border-color: $input-border-color !default;
|
540
636
|
$custom-file-border-radius: $input-border-radius !default;
|
541
637
|
$custom-file-box-shadow: $input-box-shadow !default;
|
@@ -547,40 +643,32 @@ $custom-file-text: (
|
|
547
643
|
|
548
644
|
|
549
645
|
// Form validation
|
646
|
+
|
550
647
|
$form-feedback-margin-top: $form-text-margin-top !default;
|
551
648
|
$form-feedback-font-size: $small-font-size !default;
|
552
649
|
$form-feedback-valid-color: theme-color("success") !default;
|
553
650
|
$form-feedback-invalid-color: theme-color("danger") !default;
|
554
651
|
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
$
|
561
|
-
|
562
|
-
$
|
563
|
-
|
564
|
-
|
565
|
-
$
|
566
|
-
$
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
$
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
$dropdown-link-active-bg: $component-active-bg !default;
|
576
|
-
|
577
|
-
$dropdown-link-disabled-color: $gray-600 !default;
|
578
|
-
|
579
|
-
$dropdown-item-padding-y: .25rem !default;
|
580
|
-
$dropdown-item-padding-x: 1.5rem !default;
|
581
|
-
|
582
|
-
$dropdown-header-color: $gray-600 !default;
|
583
|
-
|
652
|
+
$form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
653
|
+
$form-feedback-icon-valid: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"), "#", "%23") !default;
|
654
|
+
$form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
|
655
|
+
$form-feedback-icon-invalid: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='#{$form-feedback-icon-invalid-color}' viewBox='-2 -2 7 7'%3e%3cpath stroke='#{$form-feedback-icon-invalid-color}' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E"), "#", "%23") !default;
|
656
|
+
|
657
|
+
$form-validation-states: () !default;
|
658
|
+
// stylelint-disable-next-line scss/dollar-variable-default
|
659
|
+
$form-validation-states: map-merge(
|
660
|
+
(
|
661
|
+
"valid": (
|
662
|
+
"color": $form-feedback-valid-color,
|
663
|
+
"icon": $form-feedback-icon-valid
|
664
|
+
),
|
665
|
+
"invalid": (
|
666
|
+
"color": $form-feedback-invalid-color,
|
667
|
+
"icon": $form-feedback-icon-invalid
|
668
|
+
),
|
669
|
+
),
|
670
|
+
$form-validation-states
|
671
|
+
);
|
584
672
|
|
585
673
|
// Z-index master list
|
586
674
|
//
|
@@ -595,6 +683,7 @@ $zindex-modal: 1050 !default;
|
|
595
683
|
$zindex-popover: 1060 !default;
|
596
684
|
$zindex-tooltip: 1070 !default;
|
597
685
|
|
686
|
+
|
598
687
|
// Navs
|
599
688
|
|
600
689
|
$nav-link-padding-y: .5rem !default;
|
@@ -614,18 +703,19 @@ $nav-pills-link-active-color: $component-active-color !default;
|
|
614
703
|
$nav-pills-link-active-bg: $component-active-bg !default;
|
615
704
|
|
616
705
|
$nav-divider-color: $gray-200 !default;
|
617
|
-
$nav-divider-margin-y:
|
706
|
+
$nav-divider-margin-y: $spacer / 2 !default;
|
707
|
+
|
618
708
|
|
619
709
|
// Navbar
|
620
710
|
|
621
|
-
$navbar-padding-y:
|
711
|
+
$navbar-padding-y: $spacer / 2 !default;
|
622
712
|
$navbar-padding-x: $spacer !default;
|
623
713
|
|
624
714
|
$navbar-nav-link-padding-x: .5rem !default;
|
625
715
|
|
626
716
|
$navbar-brand-font-size: $font-size-lg !default;
|
627
717
|
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
628
|
-
$nav-link-height:
|
718
|
+
$nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
|
629
719
|
$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
|
630
720
|
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;
|
631
721
|
|
@@ -638,16 +728,55 @@ $navbar-dark-color: rgba($white, .5) !default;
|
|
638
728
|
$navbar-dark-hover-color: rgba($white, .75) !default;
|
639
729
|
$navbar-dark-active-color: $white !default;
|
640
730
|
$navbar-dark-disabled-color: rgba($white, .25) !default;
|
641
|
-
$navbar-dark-toggler-icon-bg: str-replace(url("data:image/svg+xml
|
731
|
+
$navbar-dark-toggler-icon-bg: str-replace(url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"), "#", "%23") !default;
|
642
732
|
$navbar-dark-toggler-border-color: rgba($white, .1) !default;
|
643
733
|
|
644
734
|
$navbar-light-color: rgba($black, .5) !default;
|
645
735
|
$navbar-light-hover-color: rgba($black, .7) !default;
|
646
736
|
$navbar-light-active-color: rgba($black, .9) !default;
|
647
737
|
$navbar-light-disabled-color: rgba($black, .3) !default;
|
648
|
-
$navbar-light-toggler-icon-bg: str-replace(url("data:image/svg+xml
|
738
|
+
$navbar-light-toggler-icon-bg: str-replace(url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"), "#", "%23") !default;
|
649
739
|
$navbar-light-toggler-border-color: rgba($black, .1) !default;
|
650
740
|
|
741
|
+
$navbar-light-brand-color: $navbar-light-active-color !default;
|
742
|
+
$navbar-light-brand-hover-color: $navbar-light-active-color !default;
|
743
|
+
$navbar-dark-brand-color: $navbar-dark-active-color !default;
|
744
|
+
$navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
|
745
|
+
|
746
|
+
|
747
|
+
// Dropdowns
|
748
|
+
//
|
749
|
+
// Dropdown menu container and contents.
|
750
|
+
|
751
|
+
$dropdown-min-width: 10rem !default;
|
752
|
+
$dropdown-padding-y: .5rem !default;
|
753
|
+
$dropdown-spacer: .125rem !default;
|
754
|
+
$dropdown-font-size: $font-size-base !default;
|
755
|
+
$dropdown-color: $body-color !default;
|
756
|
+
$dropdown-bg: $white !default;
|
757
|
+
$dropdown-border-color: rgba($black, .15) !default;
|
758
|
+
$dropdown-border-radius: $border-radius !default;
|
759
|
+
$dropdown-border-width: $border-width !default;
|
760
|
+
$dropdown-inner-border-radius: calc(#{$dropdown-border-radius} - #{$dropdown-border-width}) !default;
|
761
|
+
$dropdown-divider-bg: $gray-200 !default;
|
762
|
+
$dropdown-divider-margin-y: $nav-divider-margin-y !default;
|
763
|
+
$dropdown-box-shadow: 0 .5rem 1rem rgba($black, .175) !default;
|
764
|
+
|
765
|
+
$dropdown-link-color: $gray-900 !default;
|
766
|
+
$dropdown-link-hover-color: darken($gray-900, 5%) !default;
|
767
|
+
$dropdown-link-hover-bg: $gray-100 !default;
|
768
|
+
|
769
|
+
$dropdown-link-active-color: $component-active-color !default;
|
770
|
+
$dropdown-link-active-bg: $component-active-bg !default;
|
771
|
+
|
772
|
+
$dropdown-link-disabled-color: $gray-600 !default;
|
773
|
+
|
774
|
+
$dropdown-item-padding-y: .25rem !default;
|
775
|
+
$dropdown-item-padding-x: 1.5rem !default;
|
776
|
+
|
777
|
+
$dropdown-header-color: $gray-600 !default;
|
778
|
+
|
779
|
+
|
651
780
|
// Pagination
|
652
781
|
|
653
782
|
$pagination-padding-y: .5rem !default;
|
@@ -682,6 +811,7 @@ $pagination-disabled-border-color: $gray-300 !default;
|
|
682
811
|
// Jumbotron
|
683
812
|
|
684
813
|
$jumbotron-padding: 2rem !default;
|
814
|
+
$jumbotron-color: null !default;
|
685
815
|
$jumbotron-bg: $gray-200 !default;
|
686
816
|
|
687
817
|
|
@@ -694,11 +824,13 @@ $card-border-radius: $border-radius !default;
|
|
694
824
|
$card-border-color: rgba($black, .125) !default;
|
695
825
|
$card-inner-border-radius: calc(#{$card-border-radius} - #{$card-border-width}) !default;
|
696
826
|
$card-cap-bg: rgba($black, .03) !default;
|
827
|
+
$card-cap-color: null !default;
|
828
|
+
$card-color: null !default;
|
697
829
|
$card-bg: $white !default;
|
698
830
|
|
699
831
|
$card-img-overlay-padding: 1.25rem !default;
|
700
832
|
|
701
|
-
$card-group-margin:
|
833
|
+
$card-group-margin: $grid-gutter-width / 2 !default;
|
702
834
|
$card-deck-margin: $card-group-margin !default;
|
703
835
|
|
704
836
|
$card-columns-count: 3 !default;
|
@@ -722,6 +854,14 @@ $tooltip-arrow-width: .8rem !default;
|
|
722
854
|
$tooltip-arrow-height: .4rem !default;
|
723
855
|
$tooltip-arrow-color: $tooltip-bg !default;
|
724
856
|
|
857
|
+
// Form tooltips must come after regular tooltips
|
858
|
+
$form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
|
859
|
+
$form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
|
860
|
+
$form-feedback-tooltip-font-size: $tooltip-font-size !default;
|
861
|
+
$form-feedback-tooltip-line-height: $line-height-base !default;
|
862
|
+
$form-feedback-tooltip-opacity: $tooltip-opacity !default;
|
863
|
+
$form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
|
864
|
+
|
725
865
|
|
726
866
|
// Popovers
|
727
867
|
|
@@ -749,6 +889,24 @@ $popover-arrow-color: $popover-bg !default;
|
|
749
889
|
$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
|
750
890
|
|
751
891
|
|
892
|
+
// Toasts
|
893
|
+
|
894
|
+
$toast-max-width: 350px !default;
|
895
|
+
$toast-padding-x: .75rem !default;
|
896
|
+
$toast-padding-y: .25rem !default;
|
897
|
+
$toast-font-size: .875rem !default;
|
898
|
+
$toast-color: null !default;
|
899
|
+
$toast-background-color: rgba($white, .85) !default;
|
900
|
+
$toast-border-width: 1px !default;
|
901
|
+
$toast-border-color: rgba(0, 0, 0, .1) !default;
|
902
|
+
$toast-border-radius: .25rem !default;
|
903
|
+
$toast-box-shadow: 0 .25rem .75rem rgba($black, .1) !default;
|
904
|
+
|
905
|
+
$toast-header-color: $gray-600 !default;
|
906
|
+
$toast-header-background-color: rgba($white, .85) !default;
|
907
|
+
$toast-header-border-color: rgba(0, 0, 0, .05) !default;
|
908
|
+
|
909
|
+
|
752
910
|
// Badges
|
753
911
|
|
754
912
|
$badge-font-size: 75% !default;
|
@@ -757,6 +915,9 @@ $badge-padding-y: .25em !default;
|
|
757
915
|
$badge-padding-x: .4em !default;
|
758
916
|
$badge-border-radius: $border-radius !default;
|
759
917
|
|
918
|
+
$badge-transition: $btn-transition !default;
|
919
|
+
$badge-focus-width: $input-btn-focus-width !default;
|
920
|
+
|
760
921
|
$badge-pill-padding-x: .6em !default;
|
761
922
|
// Use a higher than normal value to ensure completely rounded edges when
|
762
923
|
// customizing padding or font-size on labels.
|
@@ -773,6 +934,7 @@ $modal-dialog-margin-y-sm-up: 1.75rem !default;
|
|
773
934
|
|
774
935
|
$modal-title-line-height: $line-height-base !default;
|
775
936
|
|
937
|
+
$modal-content-color: null !default;
|
776
938
|
$modal-content-bg: $white !default;
|
777
939
|
$modal-content-border-color: rgba($black, .2) !default;
|
778
940
|
$modal-content-border-width: $border-width !default;
|
@@ -782,16 +944,21 @@ $modal-content-box-shadow-sm-up: 0 .5rem 1rem rgba($black, .5) !default;
|
|
782
944
|
|
783
945
|
$modal-backdrop-bg: $black !default;
|
784
946
|
$modal-backdrop-opacity: .5 !default;
|
785
|
-
$modal-header-border-color: $
|
947
|
+
$modal-header-border-color: $border-color !default;
|
786
948
|
$modal-footer-border-color: $modal-header-border-color !default;
|
787
949
|
$modal-header-border-width: $modal-content-border-width !default;
|
788
950
|
$modal-footer-border-width: $modal-header-border-width !default;
|
789
|
-
$modal-header-padding:
|
951
|
+
$modal-header-padding-y: 1rem !default;
|
952
|
+
$modal-header-padding-x: 1rem !default;
|
953
|
+
$modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
|
790
954
|
|
955
|
+
$modal-xl: 1140px !default;
|
791
956
|
$modal-lg: 800px !default;
|
792
957
|
$modal-md: 500px !default;
|
793
958
|
$modal-sm: 300px !default;
|
794
959
|
|
960
|
+
$modal-fade-transform: translate(0, -50px) !default;
|
961
|
+
$modal-show-transform: none !default;
|
795
962
|
$modal-transition: transform .3s ease-out !default;
|
796
963
|
|
797
964
|
|
@@ -814,7 +981,7 @@ $alert-color-level: 6 !default;
|
|
814
981
|
// Progress bars
|
815
982
|
|
816
983
|
$progress-height: 1rem !default;
|
817
|
-
$progress-font-size:
|
984
|
+
$progress-font-size: $font-size-base * .75 !default;
|
818
985
|
$progress-bg: $gray-200 !default;
|
819
986
|
$progress-border-radius: $border-radius !default;
|
820
987
|
$progress-box-shadow: inset 0 .1rem .1rem rgba($black, .1) !default;
|
@@ -823,8 +990,10 @@ $progress-bar-bg: theme-color("primary") !default;
|
|
823
990
|
$progress-bar-animation-timing: 1s linear infinite !default;
|
824
991
|
$progress-bar-transition: width .6s ease !default;
|
825
992
|
|
993
|
+
|
826
994
|
// List group
|
827
995
|
|
996
|
+
$list-group-color: null !default;
|
828
997
|
$list-group-bg: $white !default;
|
829
998
|
$list-group-border-color: rgba($black, .125) !default;
|
830
999
|
$list-group-border-width: $border-width !default;
|
@@ -882,24 +1051,40 @@ $breadcrumb-border-radius: $border-radius !default;
|
|
882
1051
|
|
883
1052
|
// Carousel
|
884
1053
|
|
885
|
-
$carousel-control-color:
|
886
|
-
$carousel-control-width:
|
887
|
-
$carousel-control-opacity:
|
1054
|
+
$carousel-control-color: $white !default;
|
1055
|
+
$carousel-control-width: 15% !default;
|
1056
|
+
$carousel-control-opacity: .5 !default;
|
1057
|
+
$carousel-control-hover-opacity: .9 !default;
|
1058
|
+
$carousel-control-transition: opacity .15s ease !default;
|
1059
|
+
|
1060
|
+
$carousel-indicator-width: 30px !default;
|
1061
|
+
$carousel-indicator-height: 3px !default;
|
1062
|
+
$carousel-indicator-hit-area-height: 10px !default;
|
1063
|
+
$carousel-indicator-spacer: 3px !default;
|
1064
|
+
$carousel-indicator-active-bg: $white !default;
|
1065
|
+
$carousel-indicator-transition: opacity .6s ease !default;
|
1066
|
+
|
1067
|
+
$carousel-caption-width: 70% !default;
|
1068
|
+
$carousel-caption-color: $white !default;
|
1069
|
+
|
1070
|
+
$carousel-control-icon-width: 20px !default;
|
888
1071
|
|
889
|
-
$carousel-
|
890
|
-
$carousel-
|
891
|
-
$carousel-indicator-spacer: 3px !default;
|
892
|
-
$carousel-indicator-active-bg: $white !default;
|
1072
|
+
$carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e"), "#", "%23") !default;
|
1073
|
+
$carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e"), "#", "%23") !default;
|
893
1074
|
|
894
|
-
$carousel-
|
895
|
-
$carousel-
|
1075
|
+
$carousel-transition-duration: .6s !default;
|
1076
|
+
$carousel-transition: transform $carousel-transition-duration ease-in-out !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
|
896
1077
|
|
897
|
-
$carousel-control-icon-width: 20px !default;
|
898
1078
|
|
899
|
-
|
900
|
-
$carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default;
|
1079
|
+
// Spinners
|
901
1080
|
|
902
|
-
$
|
1081
|
+
$spinner-width: 2rem !default;
|
1082
|
+
$spinner-height: $spinner-width !default;
|
1083
|
+
$spinner-border-width: .25em !default;
|
1084
|
+
|
1085
|
+
$spinner-width-sm: 1rem !default;
|
1086
|
+
$spinner-height-sm: $spinner-width-sm !default;
|
1087
|
+
$spinner-border-width-sm: .2em !default;
|
903
1088
|
|
904
1089
|
|
905
1090
|
// Close
|
@@ -909,6 +1094,7 @@ $close-font-weight: $font-weight-bold !default;
|
|
909
1094
|
$close-color: $black !default;
|
910
1095
|
$close-text-shadow: 0 1px 0 $white !default;
|
911
1096
|
|
1097
|
+
|
912
1098
|
// Code
|
913
1099
|
|
914
1100
|
$code-font-size: 87.5% !default;
|
@@ -924,6 +1110,14 @@ $pre-color: $gray-900 !default;
|
|
924
1110
|
$pre-scrollable-max-height: 340px !default;
|
925
1111
|
|
926
1112
|
|
1113
|
+
// Utilities
|
1114
|
+
|
1115
|
+
$displays: none, inline, inline-block, block, table, table-row, table-cell, flex, inline-flex !default;
|
1116
|
+
$overflows: auto, hidden !default;
|
1117
|
+
$positions: static, relative, absolute, fixed, sticky !default;
|
1118
|
+
|
1119
|
+
|
927
1120
|
// Printing
|
1121
|
+
|
928
1122
|
$print-page-size: a3 !default;
|
929
1123
|
$print-body-min-width: map-get($grid-breakpoints, "lg") !default;
|