bootstrap 4.6.2 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/README.md +7 -4
- data/assets/javascripts/bootstrap/alert.js +192 -115
- data/assets/javascripts/bootstrap/base-component.js +63 -0
- data/assets/javascripts/bootstrap/button.js +96 -179
- data/assets/javascripts/bootstrap/carousel.js +472 -359
- data/assets/javascripts/bootstrap/collapse.js +379 -225
- data/assets/javascripts/bootstrap/dom/data.js +68 -0
- data/assets/javascripts/bootstrap/dom/event-handler.js +322 -0
- data/assets/javascripts/bootstrap/dom/manipulator.js +88 -0
- data/assets/javascripts/bootstrap/dom/selector-engine.js +85 -0
- data/assets/javascripts/bootstrap/dropdown.js +472 -355
- data/assets/javascripts/bootstrap/modal.js +612 -438
- data/assets/javascripts/bootstrap/offcanvas.js +671 -0
- data/assets/javascripts/bootstrap/popover.js +138 -167
- data/assets/javascripts/bootstrap/scrollspy.js +250 -192
- data/assets/javascripts/bootstrap/tab.js +241 -144
- data/assets/javascripts/bootstrap/toast.js +223 -157
- data/assets/javascripts/bootstrap/tooltip.js +651 -487
- data/assets/javascripts/bootstrap-global-this-define.js +6 -0
- data/assets/javascripts/bootstrap-global-this-undefine.js +2 -0
- data/assets/javascripts/bootstrap-sprockets.js +8 -1
- data/assets/javascripts/bootstrap.js +3277 -2590
- data/assets/javascripts/bootstrap.min.js +3 -3
- data/assets/stylesheets/_bootstrap-grid.scss +53 -18
- data/assets/stylesheets/_bootstrap-reboot.scss +6 -3
- data/assets/stylesheets/_bootstrap.scss +18 -10
- data/assets/stylesheets/bootstrap/_accordion.scss +118 -0
- data/assets/stylesheets/bootstrap/_alert.scss +15 -10
- data/assets/stylesheets/bootstrap/_badge.scss +2 -27
- data/assets/stylesheets/bootstrap/_breadcrumb.scss +3 -17
- data/assets/stylesheets/bootstrap/_button-group.scss +21 -45
- data/assets/stylesheets/bootstrap/_buttons.scss +29 -60
- data/assets/stylesheets/bootstrap/_card.scss +20 -91
- data/assets/stylesheets/bootstrap/_carousel.scss +64 -35
- data/assets/stylesheets/bootstrap/_close.scss +30 -30
- data/assets/stylesheets/bootstrap/_containers.scss +41 -0
- data/assets/stylesheets/bootstrap/_dropdown.scss +84 -36
- data/assets/stylesheets/bootstrap/_forms.scss +9 -347
- data/assets/stylesheets/bootstrap/_functions.scss +84 -69
- data/assets/stylesheets/bootstrap/_grid.scss +3 -54
- data/assets/stylesheets/bootstrap/_helpers.scss +7 -0
- data/assets/stylesheets/bootstrap/_images.scss +1 -1
- data/assets/stylesheets/bootstrap/_list-group.scss +28 -8
- data/assets/stylesheets/bootstrap/_mixins.scss +8 -13
- data/assets/stylesheets/bootstrap/_modal.scss +45 -57
- data/assets/stylesheets/bootstrap/_nav.scss +20 -6
- data/assets/stylesheets/bootstrap/_navbar.scss +45 -71
- data/assets/stylesheets/bootstrap/_offcanvas.scss +77 -0
- data/assets/stylesheets/bootstrap/_pagination.scss +10 -20
- data/assets/stylesheets/bootstrap/_popover.scss +24 -36
- data/assets/stylesheets/bootstrap/_progress.scss +5 -4
- data/assets/stylesheets/bootstrap/_reboot.scss +316 -179
- data/assets/stylesheets/bootstrap/_root.scss +5 -8
- data/assets/stylesheets/bootstrap/_spinners.scss +11 -7
- data/assets/stylesheets/bootstrap/_tables.scss +79 -114
- data/assets/stylesheets/bootstrap/_toasts.scss +20 -15
- data/assets/stylesheets/bootstrap/_tooltip.scss +21 -21
- data/assets/stylesheets/bootstrap/_transitions.scss +2 -7
- data/assets/stylesheets/bootstrap/_type.scss +38 -59
- data/assets/stylesheets/bootstrap/_utilities.scss +594 -18
- data/assets/stylesheets/bootstrap/_variables.scss +800 -485
- data/assets/stylesheets/bootstrap/bootstrap-utilities.scss +18 -0
- data/assets/stylesheets/bootstrap/forms/_floating-labels.scss +61 -0
- data/assets/stylesheets/bootstrap/forms/_form-check.scss +152 -0
- data/assets/stylesheets/bootstrap/forms/_form-control.scss +219 -0
- data/assets/stylesheets/bootstrap/forms/_form-range.scss +91 -0
- data/assets/stylesheets/bootstrap/forms/_form-select.scss +67 -0
- data/assets/stylesheets/bootstrap/forms/_form-text.scss +11 -0
- data/assets/stylesheets/bootstrap/forms/_input-group.scss +121 -0
- data/assets/stylesheets/bootstrap/forms/_labels.scss +36 -0
- data/assets/stylesheets/bootstrap/forms/_validation.scss +12 -0
- data/assets/stylesheets/bootstrap/helpers/_colored-links.scss +12 -0
- data/assets/stylesheets/bootstrap/helpers/_position.scss +30 -0
- data/assets/stylesheets/bootstrap/helpers/_ratio.scss +26 -0
- data/assets/stylesheets/bootstrap/helpers/_stretched-link.scss +15 -0
- data/assets/stylesheets/bootstrap/helpers/_text-truncation.scss +7 -0
- data/assets/stylesheets/bootstrap/helpers/_visually-hidden.scss +8 -0
- data/assets/stylesheets/bootstrap/mixins/_alert.scss +3 -5
- data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +10 -8
- data/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +7 -9
- data/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +14 -10
- data/assets/stylesheets/bootstrap/mixins/_buttons.scss +71 -48
- data/assets/stylesheets/bootstrap/mixins/_caret.scss +10 -8
- data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +2 -0
- data/assets/stylesheets/bootstrap/mixins/_color-scheme.scss +7 -0
- data/assets/stylesheets/bootstrap/mixins/_container.scss +9 -0
- data/assets/stylesheets/bootstrap/mixins/_forms.scss +39 -97
- data/assets/stylesheets/bootstrap/mixins/_gradients.scss +13 -11
- data/assets/stylesheets/bootstrap/mixins/_grid.scss +90 -34
- data/assets/stylesheets/bootstrap/mixins/_image.scss +1 -21
- data/assets/stylesheets/bootstrap/mixins/_list-group.scss +5 -2
- data/assets/stylesheets/bootstrap/mixins/_lists.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_pagination.scss +17 -8
- data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +3 -3
- data/assets/stylesheets/bootstrap/mixins/_table-variants.scss +21 -0
- data/assets/stylesheets/bootstrap/mixins/_transition.scss +1 -1
- data/assets/stylesheets/bootstrap/mixins/_utilities.scss +68 -0
- data/assets/stylesheets/bootstrap/mixins/_visually-hidden.scss +29 -0
- data/assets/stylesheets/bootstrap/utilities/_api.scss +47 -0
- data/assets/stylesheets/bootstrap/vendor/_rfs.scss +214 -130
- data/bootstrap.gemspec +1 -3
- data/lib/bootstrap/version.rb +2 -2
- data/tasks/updater/js.rb +19 -16
- data/test/dummy_rails/app/assets/javascripts/application.js +4 -3
- data/test/dummy_rails/app/views/layouts/application.html.erb +3 -1
- data/test/dummy_rails/app/views/pages/root.html +89 -0
- data/test/dummy_rails/config/application.rb +0 -3
- data/test/gemfiles/rails_6_1.gemfile +7 -0
- metadata +45 -73
- data/assets/javascripts/bootstrap/util.js +0 -189
- data/assets/stylesheets/bootstrap/_code.scss +0 -48
- data/assets/stylesheets/bootstrap/_custom-forms.scss +0 -526
- data/assets/stylesheets/bootstrap/_input-group.scss +0 -211
- data/assets/stylesheets/bootstrap/_jumbotron.scss +0 -17
- data/assets/stylesheets/bootstrap/_media.scss +0 -8
- data/assets/stylesheets/bootstrap/_print.scss +0 -132
- data/assets/stylesheets/bootstrap/mixins/_background-variant.scss +0 -23
- data/assets/stylesheets/bootstrap/mixins/_badge.scss +0 -17
- data/assets/stylesheets/bootstrap/mixins/_float.scss +0 -14
- data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +0 -80
- data/assets/stylesheets/bootstrap/mixins/_hover.scss +0 -37
- data/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -11
- data/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +0 -34
- data/assets/stylesheets/bootstrap/mixins/_size.scss +0 -7
- data/assets/stylesheets/bootstrap/mixins/_table-row.scss +0 -39
- data/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +0 -17
- data/assets/stylesheets/bootstrap/mixins/_text-hide.scss +0 -11
- data/assets/stylesheets/bootstrap/mixins/_visibility.scss +0 -8
- data/assets/stylesheets/bootstrap/utilities/_align.scss +0 -8
- data/assets/stylesheets/bootstrap/utilities/_background.scss +0 -19
- data/assets/stylesheets/bootstrap/utilities/_borders.scss +0 -75
- data/assets/stylesheets/bootstrap/utilities/_display.scss +0 -26
- data/assets/stylesheets/bootstrap/utilities/_embed.scss +0 -39
- data/assets/stylesheets/bootstrap/utilities/_flex.scss +0 -51
- data/assets/stylesheets/bootstrap/utilities/_float.scss +0 -11
- data/assets/stylesheets/bootstrap/utilities/_interactions.scss +0 -5
- data/assets/stylesheets/bootstrap/utilities/_overflow.scss +0 -5
- data/assets/stylesheets/bootstrap/utilities/_position.scss +0 -32
- data/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +0 -11
- data/assets/stylesheets/bootstrap/utilities/_shadows.scss +0 -6
- data/assets/stylesheets/bootstrap/utilities/_sizing.scss +0 -20
- data/assets/stylesheets/bootstrap/utilities/_spacing.scss +0 -73
- data/assets/stylesheets/bootstrap/utilities/_stretched-link.scss +0 -19
- data/assets/stylesheets/bootstrap/utilities/_text.scss +0 -72
- data/assets/stylesheets/bootstrap/utilities/_visibility.scss +0 -13
- data/test/dummy_rails/app/views/pages/root.html.slim +0 -58
- /data/assets/stylesheets/bootstrap/{utilities → helpers}/_clearfix.scss +0 -0
@@ -5,6 +5,7 @@
|
|
5
5
|
|
6
6
|
// Color system
|
7
7
|
|
8
|
+
// scss-docs-start gray-color-variables
|
8
9
|
$white: #fff !default;
|
9
10
|
$gray-100: #f8f9fa !default;
|
10
11
|
$gray-200: #e9ecef !default;
|
@@ -16,54 +17,56 @@ $gray-700: #495057 !default;
|
|
16
17
|
$gray-800: #343a40 !default;
|
17
18
|
$gray-900: #212529 !default;
|
18
19
|
$black: #000 !default;
|
20
|
+
// scss-docs-end gray-color-variables
|
21
|
+
|
22
|
+
// fusv-disable
|
23
|
+
// scss-docs-start gray-colors-map
|
24
|
+
$grays: (
|
25
|
+
"100": $gray-100,
|
26
|
+
"200": $gray-200,
|
27
|
+
"300": $gray-300,
|
28
|
+
"400": $gray-400,
|
29
|
+
"500": $gray-500,
|
30
|
+
"600": $gray-600,
|
31
|
+
"700": $gray-700,
|
32
|
+
"800": $gray-800,
|
33
|
+
"900": $gray-900
|
34
|
+
) !default;
|
35
|
+
// scss-docs-end gray-colors-map
|
36
|
+
// fusv-enable
|
19
37
|
|
20
|
-
|
21
|
-
$
|
22
|
-
(
|
23
|
-
"100": $gray-100,
|
24
|
-
"200": $gray-200,
|
25
|
-
"300": $gray-300,
|
26
|
-
"400": $gray-400,
|
27
|
-
"500": $gray-500,
|
28
|
-
"600": $gray-600,
|
29
|
-
"700": $gray-700,
|
30
|
-
"800": $gray-800,
|
31
|
-
"900": $gray-900
|
32
|
-
),
|
33
|
-
$grays
|
34
|
-
);
|
35
|
-
|
36
|
-
$blue: #007bff !default;
|
38
|
+
// scss-docs-start color-variables
|
39
|
+
$blue: #0d6efd !default;
|
37
40
|
$indigo: #6610f2 !default;
|
38
41
|
$purple: #6f42c1 !default;
|
39
|
-
$pink: #
|
42
|
+
$pink: #d63384 !default;
|
40
43
|
$red: #dc3545 !default;
|
41
44
|
$orange: #fd7e14 !default;
|
42
45
|
$yellow: #ffc107 !default;
|
43
|
-
$green: #
|
46
|
+
$green: #198754 !default;
|
44
47
|
$teal: #20c997 !default;
|
45
|
-
$cyan: #
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
);
|
48
|
+
$cyan: #0dcaf0 !default;
|
49
|
+
// scss-docs-end color-variables
|
50
|
+
|
51
|
+
// scss-docs-start colors-map
|
52
|
+
$colors: (
|
53
|
+
"blue": $blue,
|
54
|
+
"indigo": $indigo,
|
55
|
+
"purple": $purple,
|
56
|
+
"pink": $pink,
|
57
|
+
"red": $red,
|
58
|
+
"orange": $orange,
|
59
|
+
"yellow": $yellow,
|
60
|
+
"green": $green,
|
61
|
+
"teal": $teal,
|
62
|
+
"cyan": $cyan,
|
63
|
+
"white": $white,
|
64
|
+
"gray": $gray-600,
|
65
|
+
"gray-dark": $gray-800
|
66
|
+
) !default;
|
67
|
+
// scss-docs-end colors-map
|
66
68
|
|
69
|
+
// scss-docs-start theme-color-variables
|
67
70
|
$primary: $blue !default;
|
68
71
|
$secondary: $gray-600 !default;
|
69
72
|
$success: $green !default;
|
@@ -71,32 +74,131 @@ $info: $cyan !default;
|
|
71
74
|
$warning: $yellow !default;
|
72
75
|
$danger: $red !default;
|
73
76
|
$light: $gray-100 !default;
|
74
|
-
$dark: $gray-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
//
|
92
|
-
$
|
93
|
-
|
94
|
-
//
|
95
|
-
$
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
$
|
77
|
+
$dark: $gray-900 !default;
|
78
|
+
// scss-docs-end theme-color-variables
|
79
|
+
|
80
|
+
// scss-docs-start theme-colors-map
|
81
|
+
$theme-colors: (
|
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
|
+
) !default;
|
91
|
+
// scss-docs-end theme-colors-map
|
92
|
+
|
93
|
+
// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
|
94
|
+
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
|
95
|
+
$min-contrast-ratio: 4.5 !default;
|
96
|
+
|
97
|
+
// Customize the light and dark text colors for use in our color contrast function.
|
98
|
+
$color-contrast-dark: $black !default;
|
99
|
+
$color-contrast-light: $white !default;
|
100
|
+
|
101
|
+
// fusv-disable
|
102
|
+
$blue-100: tint-color($blue, 80%) !default;
|
103
|
+
$blue-200: tint-color($blue, 60%) !default;
|
104
|
+
$blue-300: tint-color($blue, 40%) !default;
|
105
|
+
$blue-400: tint-color($blue, 20%) !default;
|
106
|
+
$blue-500: $blue !default;
|
107
|
+
$blue-600: shade-color($blue, 20%) !default;
|
108
|
+
$blue-700: shade-color($blue, 40%) !default;
|
109
|
+
$blue-800: shade-color($blue, 60%) !default;
|
110
|
+
$blue-900: shade-color($blue, 80%) !default;
|
111
|
+
|
112
|
+
$indigo-100: tint-color($indigo, 80%) !default;
|
113
|
+
$indigo-200: tint-color($indigo, 60%) !default;
|
114
|
+
$indigo-300: tint-color($indigo, 40%) !default;
|
115
|
+
$indigo-400: tint-color($indigo, 20%) !default;
|
116
|
+
$indigo-500: $indigo !default;
|
117
|
+
$indigo-600: shade-color($indigo, 20%) !default;
|
118
|
+
$indigo-700: shade-color($indigo, 40%) !default;
|
119
|
+
$indigo-800: shade-color($indigo, 60%) !default;
|
120
|
+
$indigo-900: shade-color($indigo, 80%) !default;
|
121
|
+
|
122
|
+
$purple-100: tint-color($purple, 80%) !default;
|
123
|
+
$purple-200: tint-color($purple, 60%) !default;
|
124
|
+
$purple-300: tint-color($purple, 40%) !default;
|
125
|
+
$purple-400: tint-color($purple, 20%) !default;
|
126
|
+
$purple-500: $purple !default;
|
127
|
+
$purple-600: shade-color($purple, 20%) !default;
|
128
|
+
$purple-700: shade-color($purple, 40%) !default;
|
129
|
+
$purple-800: shade-color($purple, 60%) !default;
|
130
|
+
$purple-900: shade-color($purple, 80%) !default;
|
131
|
+
|
132
|
+
$pink-100: tint-color($pink, 80%) !default;
|
133
|
+
$pink-200: tint-color($pink, 60%) !default;
|
134
|
+
$pink-300: tint-color($pink, 40%) !default;
|
135
|
+
$pink-400: tint-color($pink, 20%) !default;
|
136
|
+
$pink-500: $pink !default;
|
137
|
+
$pink-600: shade-color($pink, 20%) !default;
|
138
|
+
$pink-700: shade-color($pink, 40%) !default;
|
139
|
+
$pink-800: shade-color($pink, 60%) !default;
|
140
|
+
$pink-900: shade-color($pink, 80%) !default;
|
141
|
+
|
142
|
+
$red-100: tint-color($red, 80%) !default;
|
143
|
+
$red-200: tint-color($red, 60%) !default;
|
144
|
+
$red-300: tint-color($red, 40%) !default;
|
145
|
+
$red-400: tint-color($red, 20%) !default;
|
146
|
+
$red-500: $red !default;
|
147
|
+
$red-600: shade-color($red, 20%) !default;
|
148
|
+
$red-700: shade-color($red, 40%) !default;
|
149
|
+
$red-800: shade-color($red, 60%) !default;
|
150
|
+
$red-900: shade-color($red, 80%) !default;
|
151
|
+
|
152
|
+
$orange-100: tint-color($orange, 80%) !default;
|
153
|
+
$orange-200: tint-color($orange, 60%) !default;
|
154
|
+
$orange-300: tint-color($orange, 40%) !default;
|
155
|
+
$orange-400: tint-color($orange, 20%) !default;
|
156
|
+
$orange-500: $orange !default;
|
157
|
+
$orange-600: shade-color($orange, 20%) !default;
|
158
|
+
$orange-700: shade-color($orange, 40%) !default;
|
159
|
+
$orange-800: shade-color($orange, 60%) !default;
|
160
|
+
$orange-900: shade-color($orange, 80%) !default;
|
161
|
+
|
162
|
+
$yellow-100: tint-color($yellow, 80%) !default;
|
163
|
+
$yellow-200: tint-color($yellow, 60%) !default;
|
164
|
+
$yellow-300: tint-color($yellow, 40%) !default;
|
165
|
+
$yellow-400: tint-color($yellow, 20%) !default;
|
166
|
+
$yellow-500: $yellow !default;
|
167
|
+
$yellow-600: shade-color($yellow, 20%) !default;
|
168
|
+
$yellow-700: shade-color($yellow, 40%) !default;
|
169
|
+
$yellow-800: shade-color($yellow, 60%) !default;
|
170
|
+
$yellow-900: shade-color($yellow, 80%) !default;
|
171
|
+
|
172
|
+
$green-100: tint-color($green, 80%) !default;
|
173
|
+
$green-200: tint-color($green, 60%) !default;
|
174
|
+
$green-300: tint-color($green, 40%) !default;
|
175
|
+
$green-400: tint-color($green, 20%) !default;
|
176
|
+
$green-500: $green !default;
|
177
|
+
$green-600: shade-color($green, 20%) !default;
|
178
|
+
$green-700: shade-color($green, 40%) !default;
|
179
|
+
$green-800: shade-color($green, 60%) !default;
|
180
|
+
$green-900: shade-color($green, 80%) !default;
|
181
|
+
|
182
|
+
$teal-100: tint-color($teal, 80%) !default;
|
183
|
+
$teal-200: tint-color($teal, 60%) !default;
|
184
|
+
$teal-300: tint-color($teal, 40%) !default;
|
185
|
+
$teal-400: tint-color($teal, 20%) !default;
|
186
|
+
$teal-500: $teal !default;
|
187
|
+
$teal-600: shade-color($teal, 20%) !default;
|
188
|
+
$teal-700: shade-color($teal, 40%) !default;
|
189
|
+
$teal-800: shade-color($teal, 60%) !default;
|
190
|
+
$teal-900: shade-color($teal, 80%) !default;
|
191
|
+
|
192
|
+
$cyan-100: tint-color($cyan, 80%) !default;
|
193
|
+
$cyan-200: tint-color($cyan, 60%) !default;
|
194
|
+
$cyan-300: tint-color($cyan, 40%) !default;
|
195
|
+
$cyan-400: tint-color($cyan, 20%) !default;
|
196
|
+
$cyan-500: $cyan !default;
|
197
|
+
$cyan-600: shade-color($cyan, 20%) !default;
|
198
|
+
$cyan-700: shade-color($cyan, 40%) !default;
|
199
|
+
$cyan-800: shade-color($cyan, 60%) !default;
|
200
|
+
$cyan-900: shade-color($cyan, 80%) !default;
|
201
|
+
// fusv-enable
|
100
202
|
|
101
203
|
// Characters which are escaped by the escape-svg function
|
102
204
|
$escaped-characters: (
|
@@ -107,25 +209,36 @@ $escaped-characters: (
|
|
107
209
|
(")", "%29"),
|
108
210
|
) !default;
|
109
211
|
|
110
|
-
|
111
212
|
// Options
|
112
213
|
//
|
113
214
|
// Quickly modify global styling by enabling or disabling optional features.
|
114
215
|
|
115
|
-
$enable-caret:
|
116
|
-
$enable-rounded:
|
117
|
-
$enable-shadows:
|
118
|
-
$enable-gradients:
|
119
|
-
$enable-transitions:
|
120
|
-
$enable-
|
121
|
-
$enable-
|
122
|
-
$enable-grid-classes:
|
123
|
-
$enable-
|
124
|
-
$enable-
|
125
|
-
$enable-
|
126
|
-
$enable-
|
127
|
-
$enable-deprecation-messages:
|
128
|
-
|
216
|
+
$enable-caret: true !default;
|
217
|
+
$enable-rounded: true !default;
|
218
|
+
$enable-shadows: false !default;
|
219
|
+
$enable-gradients: false !default;
|
220
|
+
$enable-transitions: true !default;
|
221
|
+
$enable-reduced-motion: true !default;
|
222
|
+
$enable-smooth-scroll: true !default;
|
223
|
+
$enable-grid-classes: true !default;
|
224
|
+
$enable-button-pointers: true !default;
|
225
|
+
$enable-rfs: true !default;
|
226
|
+
$enable-validation-icons: true !default;
|
227
|
+
$enable-negative-margins: false !default;
|
228
|
+
$enable-deprecation-messages: true !default;
|
229
|
+
$enable-important-utilities: true !default;
|
230
|
+
|
231
|
+
// Prefix for :root CSS variables
|
232
|
+
|
233
|
+
$variable-prefix: bs- !default;
|
234
|
+
|
235
|
+
// Gradient
|
236
|
+
//
|
237
|
+
// The gradient which is added to components if `$enable-gradients` is `true`
|
238
|
+
// This gradient is also added to elements with `.bg-gradient`
|
239
|
+
// scss-docs-start variable-gradient
|
240
|
+
$gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0)) !default;
|
241
|
+
// scss-docs-end variable-gradient
|
129
242
|
|
130
243
|
// Spacing
|
131
244
|
//
|
@@ -133,33 +246,31 @@ $enable-deprecation-messages: true !default;
|
|
133
246
|
// variables. Mostly focused on spacing.
|
134
247
|
// You can add more entries to the $spacers map, should you need more variation.
|
135
248
|
|
249
|
+
// scss-docs-start spacer-variables-maps
|
136
250
|
$spacer: 1rem !default;
|
137
|
-
$spacers: (
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
5: ($spacer * 3)
|
146
|
-
),
|
147
|
-
$spacers
|
148
|
-
);
|
149
|
-
|
150
|
-
// This variable affects the `.h-*` and `.w-*` classes.
|
151
|
-
$sizes: () !default;
|
152
|
-
$sizes: map-merge(
|
153
|
-
(
|
154
|
-
25: 25%,
|
155
|
-
50: 50%,
|
156
|
-
75: 75%,
|
157
|
-
100: 100%,
|
158
|
-
auto: auto
|
159
|
-
),
|
160
|
-
$sizes
|
161
|
-
);
|
251
|
+
$spacers: (
|
252
|
+
0: 0,
|
253
|
+
1: $spacer / 4,
|
254
|
+
2: $spacer / 2,
|
255
|
+
3: $spacer,
|
256
|
+
4: $spacer * 1.5,
|
257
|
+
5: $spacer * 3,
|
258
|
+
) !default;
|
162
259
|
|
260
|
+
$negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
|
261
|
+
// scss-docs-end spacer-variables-maps
|
262
|
+
|
263
|
+
// Position
|
264
|
+
//
|
265
|
+
// Define the edge positioning anchors of the position utilities.
|
266
|
+
|
267
|
+
// scss-docs-start position-map
|
268
|
+
$position-values: (
|
269
|
+
0: 0,
|
270
|
+
50: 50%,
|
271
|
+
100: 100%
|
272
|
+
) !default;
|
273
|
+
// scss-docs-end position-map
|
163
274
|
|
164
275
|
// Body
|
165
276
|
//
|
@@ -167,18 +278,21 @@ $sizes: map-merge(
|
|
167
278
|
|
168
279
|
$body-bg: $white !default;
|
169
280
|
$body-color: $gray-900 !default;
|
281
|
+
$body-text-align: null !default;
|
170
282
|
|
171
283
|
|
172
284
|
// Links
|
173
285
|
//
|
174
286
|
// Style anchor elements.
|
175
287
|
|
176
|
-
$link-color:
|
177
|
-
$link-decoration:
|
178
|
-
$link-
|
179
|
-
$link-hover-
|
180
|
-
|
181
|
-
|
288
|
+
$link-color: $primary !default;
|
289
|
+
$link-decoration: underline !default;
|
290
|
+
$link-shade-percentage: 20% !default;
|
291
|
+
$link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
|
292
|
+
$link-hover-decoration: null !default;
|
293
|
+
|
294
|
+
$stretched-link-pseudo-element: after !default;
|
295
|
+
$stretched-link-z-index: 1 !default;
|
182
296
|
|
183
297
|
// Paragraphs
|
184
298
|
//
|
@@ -192,13 +306,16 @@ $paragraph-margin-bottom: 1rem !default;
|
|
192
306
|
// Define the minimum dimensions at which your layout will change,
|
193
307
|
// adapting to different screen sizes, for use in media queries.
|
194
308
|
|
309
|
+
// scss-docs-start grid-breakpoints
|
195
310
|
$grid-breakpoints: (
|
196
311
|
xs: 0,
|
197
312
|
sm: 576px,
|
198
313
|
md: 768px,
|
199
314
|
lg: 992px,
|
200
|
-
xl: 1200px
|
315
|
+
xl: 1200px,
|
316
|
+
xxl: 1400px
|
201
317
|
) !default;
|
318
|
+
// scss-docs-end grid-breakpoints
|
202
319
|
|
203
320
|
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
204
321
|
@include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
|
@@ -208,12 +325,15 @@ $grid-breakpoints: (
|
|
208
325
|
//
|
209
326
|
// Define the maximum width of `.container` for different screen sizes.
|
210
327
|
|
328
|
+
// scss-docs-start container-max-widths
|
211
329
|
$container-max-widths: (
|
212
330
|
sm: 540px,
|
213
331
|
md: 720px,
|
214
332
|
lg: 960px,
|
215
|
-
xl: 1140px
|
333
|
+
xl: 1140px,
|
334
|
+
xxl: 1320px
|
216
335
|
) !default;
|
336
|
+
// scss-docs-end container-max-widths
|
217
337
|
|
218
338
|
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
219
339
|
|
@@ -223,66 +343,91 @@ $container-max-widths: (
|
|
223
343
|
// Set the number of columns and specify the width of the gutters.
|
224
344
|
|
225
345
|
$grid-columns: 12 !default;
|
226
|
-
$grid-gutter-width:
|
346
|
+
$grid-gutter-width: 1.5rem !default;
|
227
347
|
$grid-row-columns: 6 !default;
|
228
348
|
|
349
|
+
$gutters: $spacers !default;
|
350
|
+
|
351
|
+
// Container padding
|
352
|
+
|
353
|
+
$container-padding-x: $grid-gutter-width / 2 !default;
|
354
|
+
|
229
355
|
|
230
356
|
// Components
|
231
357
|
//
|
232
358
|
// Define common padding and border radius sizes and more.
|
233
359
|
|
234
|
-
|
235
|
-
$line-height-sm: 1.5 !default;
|
236
|
-
|
360
|
+
// scss-docs-start border-variables
|
237
361
|
$border-width: 1px !default;
|
362
|
+
$border-widths: (
|
363
|
+
1: 1px,
|
364
|
+
2: 2px,
|
365
|
+
3: 3px,
|
366
|
+
4: 4px,
|
367
|
+
5: 5px
|
368
|
+
) !default;
|
369
|
+
|
238
370
|
$border-color: $gray-300 !default;
|
371
|
+
// scss-docs-end border-variables
|
239
372
|
|
373
|
+
// scss-docs-start border-radius-variables
|
240
374
|
$border-radius: .25rem !default;
|
241
|
-
$border-radius-lg: .3rem !default;
|
242
375
|
$border-radius-sm: .2rem !default;
|
376
|
+
$border-radius-lg: .3rem !default;
|
377
|
+
$border-radius-pill: 50rem !default;
|
378
|
+
// scss-docs-end border-radius-variables
|
243
379
|
|
244
|
-
|
245
|
-
|
246
|
-
$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
|
380
|
+
// scss-docs-start box-shadow-variables
|
247
381
|
$box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
|
382
|
+
$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
|
248
383
|
$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
|
384
|
+
$box-shadow-inset: inset 0 1px 2px rgba($black, .075) !default;
|
385
|
+
// scss-docs-end box-shadow-variables
|
249
386
|
|
250
387
|
$component-active-color: $white !default;
|
251
|
-
$component-active-bg:
|
388
|
+
$component-active-bg: $primary !default;
|
252
389
|
|
390
|
+
// scss-docs-start caret-variables
|
253
391
|
$caret-width: .3em !default;
|
254
392
|
$caret-vertical-align: $caret-width * .85 !default;
|
255
393
|
$caret-spacing: $caret-width * .85 !default;
|
394
|
+
// scss-docs-end caret-variables
|
256
395
|
|
257
396
|
$transition-base: all .2s ease-in-out !default;
|
258
397
|
$transition-fade: opacity .15s linear !default;
|
398
|
+
// scss-docs-start collapse-transition
|
259
399
|
$transition-collapse: height .35s ease !default;
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
400
|
+
// scss-docs-end collapse-transition
|
401
|
+
|
402
|
+
// stylelint-disable function-disallowed-list
|
403
|
+
// scss-docs-start aspect-ratios
|
404
|
+
$aspect-ratios: (
|
405
|
+
"1x1": 100%,
|
406
|
+
"4x3": calc(3 / 4 * 100%),
|
407
|
+
"16x9": calc(9 / 16 * 100%),
|
408
|
+
"21x9": calc(9 / 21 * 100%)
|
409
|
+
) !default;
|
410
|
+
// scss-docs-end aspect-ratios
|
411
|
+
// stylelint-enable function-disallowed-list
|
272
412
|
|
273
413
|
// Typography
|
274
414
|
//
|
275
415
|
// Font, line-height, and color for body text, headings, and more.
|
276
416
|
|
417
|
+
// scss-docs-start font-variables
|
277
418
|
// stylelint-disable value-keyword-case
|
278
|
-
$font-family-sans-serif: -apple-system,
|
419
|
+
$font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
279
420
|
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
280
|
-
$font-family-base: $font-family-sans-serif !default;
|
281
421
|
// stylelint-enable value-keyword-case
|
422
|
+
$font-family-base: var(--#{$variable-prefix}font-sans-serif) !default;
|
423
|
+
$font-family-code: var(--#{$variable-prefix}font-monospace) !default;
|
282
424
|
|
425
|
+
// $font-size-root effects the value of `rem`, which is used for as well font sizes, paddings and margins
|
426
|
+
// $font-size-base effects the font size of the body text
|
427
|
+
$font-size-root: null !default;
|
283
428
|
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
|
284
|
-
$font-size-lg: $font-size-base * 1.25 !default;
|
285
429
|
$font-size-sm: $font-size-base * .875 !default;
|
430
|
+
$font-size-lg: $font-size-base * 1.25 !default;
|
286
431
|
|
287
432
|
$font-weight-lighter: lighter !default;
|
288
433
|
$font-weight-light: 300 !default;
|
@@ -291,7 +436,10 @@ $font-weight-bold: 700 !default;
|
|
291
436
|
$font-weight-bolder: bolder !default;
|
292
437
|
|
293
438
|
$font-weight-base: $font-weight-normal !default;
|
439
|
+
|
294
440
|
$line-height-base: 1.5 !default;
|
441
|
+
$line-height-sm: 1.25 !default;
|
442
|
+
$line-height-lg: 2 !default;
|
295
443
|
|
296
444
|
$h1-font-size: $font-size-base * 2.5 !default;
|
297
445
|
$h2-font-size: $font-size-base * 2 !default;
|
@@ -299,119 +447,170 @@ $h3-font-size: $font-size-base * 1.75 !default;
|
|
299
447
|
$h4-font-size: $font-size-base * 1.5 !default;
|
300
448
|
$h5-font-size: $font-size-base * 1.25 !default;
|
301
449
|
$h6-font-size: $font-size-base !default;
|
450
|
+
// scss-docs-end font-variables
|
451
|
+
|
452
|
+
// scss-docs-start font-sizes
|
453
|
+
$font-sizes: (
|
454
|
+
1: $h1-font-size,
|
455
|
+
2: $h2-font-size,
|
456
|
+
3: $h3-font-size,
|
457
|
+
4: $h4-font-size,
|
458
|
+
5: $h5-font-size,
|
459
|
+
6: $h6-font-size
|
460
|
+
) !default;
|
461
|
+
// scss-docs-end font-sizes
|
302
462
|
|
303
|
-
|
463
|
+
// scss-docs-start headings-variables
|
464
|
+
$headings-margin-bottom: $spacer / 2 !default;
|
304
465
|
$headings-font-family: null !default;
|
466
|
+
$headings-font-style: null !default;
|
305
467
|
$headings-font-weight: 500 !default;
|
306
468
|
$headings-line-height: 1.2 !default;
|
307
469
|
$headings-color: null !default;
|
470
|
+
// scss-docs-end headings-variables
|
471
|
+
|
472
|
+
// scss-docs-start display-headings
|
473
|
+
$display-font-sizes: (
|
474
|
+
1: 5rem,
|
475
|
+
2: 4.5rem,
|
476
|
+
3: 4rem,
|
477
|
+
4: 3.5rem,
|
478
|
+
5: 3rem,
|
479
|
+
6: 2.5rem
|
480
|
+
) !default;
|
308
481
|
|
309
|
-
$
|
310
|
-
$
|
311
|
-
|
312
|
-
$display4-size: 3.5rem !default;
|
313
|
-
|
314
|
-
$display1-weight: 300 !default;
|
315
|
-
$display2-weight: 300 !default;
|
316
|
-
$display3-weight: 300 !default;
|
317
|
-
$display4-weight: 300 !default;
|
318
|
-
$display-line-height: $headings-line-height !default;
|
482
|
+
$display-font-weight: 300 !default;
|
483
|
+
$display-line-height: $headings-line-height !default;
|
484
|
+
// scss-docs-end display-headings
|
319
485
|
|
486
|
+
// scss-docs-start type-variables
|
320
487
|
$lead-font-size: $font-size-base * 1.25 !default;
|
321
488
|
$lead-font-weight: 300 !default;
|
322
489
|
|
323
490
|
$small-font-size: .875em !default;
|
324
491
|
|
492
|
+
$sub-sup-font-size: .75em !default;
|
493
|
+
|
325
494
|
$text-muted: $gray-600 !default;
|
326
495
|
|
327
|
-
$
|
328
|
-
|
496
|
+
$initialism-font-size: $small-font-size !default;
|
497
|
+
|
498
|
+
$blockquote-margin-y: $spacer !default;
|
329
499
|
$blockquote-font-size: $font-size-base * 1.25 !default;
|
500
|
+
$blockquote-footer-color: $gray-600 !default;
|
501
|
+
$blockquote-footer-font-size: $small-font-size !default;
|
502
|
+
|
503
|
+
$hr-margin-y: $spacer !default;
|
504
|
+
$hr-color: inherit !default;
|
505
|
+
$hr-height: $border-width !default;
|
506
|
+
$hr-opacity: .25 !default;
|
330
507
|
|
331
|
-
$
|
332
|
-
$
|
508
|
+
$legend-margin-bottom: .5rem !default;
|
509
|
+
$legend-font-size: 1.5rem !default;
|
510
|
+
$legend-font-weight: null !default;
|
333
511
|
|
334
512
|
$mark-padding: .2em !default;
|
335
513
|
|
336
514
|
$dt-font-weight: $font-weight-bold !default;
|
337
515
|
|
338
|
-
$kbd-box-shadow: inset 0 -.1rem 0 rgba($black, .25) !default;
|
339
516
|
$nested-kbd-font-weight: $font-weight-bold !default;
|
340
517
|
|
341
518
|
$list-inline-padding: .5rem !default;
|
342
519
|
|
343
520
|
$mark-bg: #fcf8e3 !default;
|
344
|
-
|
345
|
-
$hr-margin-y: $spacer !default;
|
521
|
+
// scss-docs-end type-variables
|
346
522
|
|
347
523
|
|
348
524
|
// Tables
|
349
525
|
//
|
350
526
|
// Customizes the `.table` component with basic values, each used across all table variations.
|
351
527
|
|
352
|
-
|
353
|
-
$table-cell-padding-
|
528
|
+
// scss-docs-start table-variables
|
529
|
+
$table-cell-padding-y: .5rem !default;
|
530
|
+
$table-cell-padding-x: .5rem !default;
|
531
|
+
$table-cell-padding-y-sm: .25rem !default;
|
532
|
+
$table-cell-padding-x-sm: .25rem !default;
|
533
|
+
|
534
|
+
$table-cell-vertical-align: top !default;
|
354
535
|
|
355
536
|
$table-color: $body-color !default;
|
356
|
-
$table-bg:
|
357
|
-
|
537
|
+
$table-bg: transparent !default;
|
538
|
+
|
539
|
+
$table-th-font-weight: null !default;
|
540
|
+
|
541
|
+
$table-striped-color: $table-color !default;
|
542
|
+
$table-striped-bg-factor: .05 !default;
|
543
|
+
$table-striped-bg: rgba($black, $table-striped-bg-factor) !default;
|
544
|
+
|
545
|
+
$table-active-color: $table-color !default;
|
546
|
+
$table-active-bg-factor: .1 !default;
|
547
|
+
$table-active-bg: rgba($black, $table-active-bg-factor) !default;
|
548
|
+
|
358
549
|
$table-hover-color: $table-color !default;
|
359
|
-
$table-hover-bg:
|
360
|
-
$table-
|
550
|
+
$table-hover-bg-factor: .075 !default;
|
551
|
+
$table-hover-bg: rgba($black, $table-hover-bg-factor) !default;
|
361
552
|
|
553
|
+
$table-border-factor: .1 !default;
|
362
554
|
$table-border-width: $border-width !default;
|
363
555
|
$table-border-color: $border-color !default;
|
364
556
|
|
365
|
-
$table-head-bg: $gray-200 !default;
|
366
|
-
$table-head-color: $gray-700 !default;
|
367
|
-
$table-th-font-weight: null !default;
|
368
|
-
|
369
|
-
$table-dark-color: $white !default;
|
370
|
-
$table-dark-bg: $gray-800 !default;
|
371
|
-
$table-dark-accent-bg: rgba($white, .05) !default;
|
372
|
-
$table-dark-hover-color: $table-dark-color !default;
|
373
|
-
$table-dark-hover-bg: rgba($white, .075) !default;
|
374
|
-
$table-dark-border-color: lighten($table-dark-bg, 7.5%) !default;
|
375
|
-
|
376
557
|
$table-striped-order: odd !default;
|
377
558
|
|
559
|
+
$table-group-separator-color: currentColor !default;
|
560
|
+
|
378
561
|
$table-caption-color: $text-muted !default;
|
379
562
|
|
380
|
-
$table-bg-
|
381
|
-
|
563
|
+
$table-bg-scale: -80% !default;
|
564
|
+
// scss-docs-end table-variables
|
565
|
+
|
566
|
+
// scss-docs-start table-loop
|
567
|
+
$table-variants: (
|
568
|
+
"primary": shift-color($primary, $table-bg-scale),
|
569
|
+
"secondary": shift-color($secondary, $table-bg-scale),
|
570
|
+
"success": shift-color($success, $table-bg-scale),
|
571
|
+
"info": shift-color($info, $table-bg-scale),
|
572
|
+
"warning": shift-color($warning, $table-bg-scale),
|
573
|
+
"danger": shift-color($danger, $table-bg-scale),
|
574
|
+
"light": $light,
|
575
|
+
"dark": $dark,
|
576
|
+
) !default;
|
577
|
+
// scss-docs-end table-loop
|
382
578
|
|
383
579
|
|
384
580
|
// Buttons + Forms
|
385
581
|
//
|
386
582
|
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
|
387
583
|
|
584
|
+
// scss-docs-start input-btn-variables
|
388
585
|
$input-btn-padding-y: .375rem !default;
|
389
586
|
$input-btn-padding-x: .75rem !default;
|
390
587
|
$input-btn-font-family: null !default;
|
391
588
|
$input-btn-font-size: $font-size-base !default;
|
392
589
|
$input-btn-line-height: $line-height-base !default;
|
393
590
|
|
394
|
-
$input-btn-focus-width:
|
395
|
-
$input-btn-focus-color:
|
396
|
-
$input-btn-focus-
|
591
|
+
$input-btn-focus-width: .25rem !default;
|
592
|
+
$input-btn-focus-color-opacity: .25 !default;
|
593
|
+
$input-btn-focus-color: rgba($component-active-bg, $input-btn-focus-color-opacity) !default;
|
594
|
+
$input-btn-focus-blur: 0 !default;
|
595
|
+
$input-btn-focus-box-shadow: 0 0 $input-btn-focus-blur $input-btn-focus-width $input-btn-focus-color !default;
|
397
596
|
|
398
597
|
$input-btn-padding-y-sm: .25rem !default;
|
399
598
|
$input-btn-padding-x-sm: .5rem !default;
|
400
599
|
$input-btn-font-size-sm: $font-size-sm !default;
|
401
|
-
$input-btn-line-height-sm: $line-height-sm !default;
|
402
600
|
|
403
601
|
$input-btn-padding-y-lg: .5rem !default;
|
404
602
|
$input-btn-padding-x-lg: 1rem !default;
|
405
603
|
$input-btn-font-size-lg: $font-size-lg !default;
|
406
|
-
$input-btn-line-height-lg: $line-height-lg !default;
|
407
604
|
|
408
605
|
$input-btn-border-width: $border-width !default;
|
606
|
+
// scss-docs-end input-btn-variables
|
409
607
|
|
410
608
|
|
411
609
|
// Buttons
|
412
610
|
//
|
413
611
|
// For each of Bootstrap's buttons, define text, background, and border color.
|
414
612
|
|
613
|
+
// scss-docs-start btn-variables
|
415
614
|
$btn-padding-y: $input-btn-padding-y !default;
|
416
615
|
$btn-padding-x: $input-btn-padding-x !default;
|
417
616
|
$btn-font-family: $input-btn-font-family !default;
|
@@ -422,12 +621,10 @@ $btn-white-space: null !default; // Set to `nowrap` to prevent text
|
|
422
621
|
$btn-padding-y-sm: $input-btn-padding-y-sm !default;
|
423
622
|
$btn-padding-x-sm: $input-btn-padding-x-sm !default;
|
424
623
|
$btn-font-size-sm: $input-btn-font-size-sm !default;
|
425
|
-
$btn-line-height-sm: $input-btn-line-height-sm !default;
|
426
624
|
|
427
625
|
$btn-padding-y-lg: $input-btn-padding-y-lg !default;
|
428
626
|
$btn-padding-x-lg: $input-btn-padding-x-lg !default;
|
429
627
|
$btn-font-size-lg: $input-btn-font-size-lg !default;
|
430
|
-
$btn-line-height-lg: $input-btn-line-height-lg !default;
|
431
628
|
|
432
629
|
$btn-border-width: $input-btn-border-width !default;
|
433
630
|
|
@@ -438,22 +635,47 @@ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|
438
635
|
$btn-disabled-opacity: .65 !default;
|
439
636
|
$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
|
440
637
|
|
638
|
+
$btn-link-color: $link-color !default;
|
639
|
+
$btn-link-hover-color: $link-hover-color !default;
|
441
640
|
$btn-link-disabled-color: $gray-600 !default;
|
442
641
|
|
443
|
-
$btn-block-spacing-y: .5rem !default;
|
444
|
-
|
445
642
|
// Allows for customizing button radius independently from global border radius
|
446
643
|
$btn-border-radius: $border-radius !default;
|
447
|
-
$btn-border-radius-lg: $border-radius-lg !default;
|
448
644
|
$btn-border-radius-sm: $border-radius-sm !default;
|
645
|
+
$btn-border-radius-lg: $border-radius-lg !default;
|
449
646
|
|
450
647
|
$btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
451
648
|
|
649
|
+
$btn-hover-bg-shade-amount: 15% !default;
|
650
|
+
$btn-hover-bg-tint-amount: 15% !default;
|
651
|
+
$btn-hover-border-shade-amount: 20% !default;
|
652
|
+
$btn-hover-border-tint-amount: 10% !default;
|
653
|
+
$btn-active-bg-shade-amount: 20% !default;
|
654
|
+
$btn-active-bg-tint-amount: 20% !default;
|
655
|
+
$btn-active-border-shade-amount: 25% !default;
|
656
|
+
$btn-active-border-tint-amount: 10% !default;
|
657
|
+
// scss-docs-end btn-variables
|
452
658
|
|
453
|
-
// Forms
|
454
659
|
|
455
|
-
|
660
|
+
// Forms
|
456
661
|
|
662
|
+
// scss-docs-start form-text-variables
|
663
|
+
$form-text-margin-top: .25rem !default;
|
664
|
+
$form-text-font-size: $small-font-size !default;
|
665
|
+
$form-text-font-style: null !default;
|
666
|
+
$form-text-font-weight: null !default;
|
667
|
+
$form-text-color: $text-muted !default;
|
668
|
+
// scss-docs-end form-text-variables
|
669
|
+
|
670
|
+
// scss-docs-start form-label-variables
|
671
|
+
$form-label-margin-bottom: .5rem !default;
|
672
|
+
$form-label-font-size: null !default;
|
673
|
+
$form-label-font-style: null !default;
|
674
|
+
$form-label-font-weight: null !default;
|
675
|
+
$form-label-color: null !default;
|
676
|
+
// scss-docs-end form-label-variables
|
677
|
+
|
678
|
+
// scss-docs-start form-input-variables
|
457
679
|
$input-padding-y: $input-btn-padding-y !default;
|
458
680
|
$input-padding-x: $input-btn-padding-x !default;
|
459
681
|
$input-font-family: $input-btn-font-family !default;
|
@@ -464,27 +686,26 @@ $input-line-height: $input-btn-line-height !default;
|
|
464
686
|
$input-padding-y-sm: $input-btn-padding-y-sm !default;
|
465
687
|
$input-padding-x-sm: $input-btn-padding-x-sm !default;
|
466
688
|
$input-font-size-sm: $input-btn-font-size-sm !default;
|
467
|
-
$input-line-height-sm: $input-btn-line-height-sm !default;
|
468
689
|
|
469
690
|
$input-padding-y-lg: $input-btn-padding-y-lg !default;
|
470
691
|
$input-padding-x-lg: $input-btn-padding-x-lg !default;
|
471
692
|
$input-font-size-lg: $input-btn-font-size-lg !default;
|
472
|
-
$input-line-height-lg: $input-btn-line-height-lg !default;
|
473
693
|
|
474
694
|
$input-bg: $white !default;
|
475
695
|
$input-disabled-bg: $gray-200 !default;
|
696
|
+
$input-disabled-border-color: null !default;
|
476
697
|
|
477
|
-
$input-color: $
|
698
|
+
$input-color: $body-color !default;
|
478
699
|
$input-border-color: $gray-400 !default;
|
479
700
|
$input-border-width: $input-btn-border-width !default;
|
480
|
-
$input-box-shadow: inset
|
701
|
+
$input-box-shadow: $box-shadow-inset !default;
|
481
702
|
|
482
703
|
$input-border-radius: $border-radius !default;
|
483
|
-
$input-border-radius-lg: $border-radius-lg !default;
|
484
704
|
$input-border-radius-sm: $border-radius-sm !default;
|
705
|
+
$input-border-radius-lg: $border-radius-lg !default;
|
485
706
|
|
486
707
|
$input-focus-bg: $input-bg !default;
|
487
|
-
$input-focus-border-color:
|
708
|
+
$input-focus-border-color: tint-color($component-active-bg, 50%) !default;
|
488
709
|
$input-focus-color: $input-color !default;
|
489
710
|
$input-focus-width: $input-btn-focus-width !default;
|
490
711
|
$input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
@@ -496,206 +717,209 @@ $input-height-border: $input-border-width * 2 !default;
|
|
496
717
|
|
497
718
|
$input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default;
|
498
719
|
$input-height-inner-half: add($input-line-height * .5em, $input-padding-y) !default;
|
499
|
-
$input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y
|
720
|
+
$input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y / 2) !default;
|
500
721
|
|
501
722
|
$input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default;
|
502
|
-
$input-height-sm: add($input-line-height
|
503
|
-
$input-height-lg: add($input-line-height
|
723
|
+
$input-height-sm: add($input-line-height * 1em, add($input-padding-y-sm * 2, $input-height-border, false)) !default;
|
724
|
+
$input-height-lg: add($input-line-height * 1em, add($input-padding-y-lg * 2, $input-height-border, false)) !default;
|
504
725
|
|
505
726
|
$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
$form-check-input-
|
510
|
-
$form-check-
|
511
|
-
$form-check-input-
|
512
|
-
|
513
|
-
$form-check-
|
514
|
-
$form-check-
|
515
|
-
|
516
|
-
|
517
|
-
$form-
|
518
|
-
|
727
|
+
// scss-docs-end form-input-variables
|
728
|
+
|
729
|
+
// scss-docs-start form-check-variables
|
730
|
+
$form-check-input-width: 1em !default;
|
731
|
+
$form-check-min-height: $font-size-base * $line-height-base !default;
|
732
|
+
$form-check-padding-start: $form-check-input-width + .5em !default;
|
733
|
+
$form-check-margin-bottom: .125rem !default;
|
734
|
+
$form-check-label-color: null !default;
|
735
|
+
$form-check-label-cursor: null !default;
|
736
|
+
$form-check-transition: null !default;
|
737
|
+
|
738
|
+
$form-check-input-active-filter: brightness(90%) !default;
|
739
|
+
|
740
|
+
$form-check-input-bg: $input-bg !default;
|
741
|
+
$form-check-input-border: 1px solid rgba($black, .25) !default;
|
742
|
+
$form-check-input-border-radius: .25em !default;
|
743
|
+
$form-check-radio-border-radius: 50% !default;
|
744
|
+
$form-check-input-focus-border: $input-focus-border-color !default;
|
745
|
+
$form-check-input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
746
|
+
|
747
|
+
$form-check-input-checked-color: $component-active-color !default;
|
748
|
+
$form-check-input-checked-bg-color: $component-active-bg !default;
|
749
|
+
$form-check-input-checked-border-color: $form-check-input-checked-bg-color !default;
|
750
|
+
$form-check-input-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/></svg>") !default;
|
751
|
+
$form-check-radio-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#{$form-check-input-checked-color}'/></svg>") !default;
|
752
|
+
|
753
|
+
$form-check-input-indeterminate-color: $component-active-color !default;
|
754
|
+
$form-check-input-indeterminate-bg-color: $component-active-bg !default;
|
755
|
+
$form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color !default;
|
756
|
+
$form-check-input-indeterminate-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-indeterminate-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>") !default;
|
757
|
+
|
758
|
+
$form-check-input-disabled-opacity: .5 !default;
|
759
|
+
$form-check-label-disabled-opacity: $form-check-input-disabled-opacity !default;
|
760
|
+
$form-check-btn-check-disabled-opacity: $btn-disabled-opacity !default;
|
761
|
+
|
762
|
+
$form-check-inline-margin-end: 1rem !default;
|
763
|
+
// scss-docs-end form-check-variables
|
764
|
+
|
765
|
+
// scss-docs-start form-switch-variables
|
766
|
+
$form-switch-color: rgba(0, 0, 0, .25) !default;
|
767
|
+
$form-switch-width: 2em !default;
|
768
|
+
$form-switch-padding-start: $form-switch-width + .5em !default;
|
769
|
+
$form-switch-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>") !default;
|
770
|
+
$form-switch-border-radius: $form-switch-width !default;
|
771
|
+
$form-switch-transition: background-position .15s ease-in-out !default;
|
772
|
+
|
773
|
+
$form-switch-focus-color: $input-focus-border-color !default;
|
774
|
+
$form-switch-focus-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-focus-color}'/></svg>") !default;
|
775
|
+
|
776
|
+
$form-switch-checked-color: $component-active-color !default;
|
777
|
+
$form-switch-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-checked-color}'/></svg>") !default;
|
778
|
+
$form-switch-checked-bg-position: right center !default;
|
779
|
+
// scss-docs-end form-switch-variables
|
780
|
+
|
781
|
+
// scss-docs-start input-group-variables
|
782
|
+
$input-group-addon-padding-y: $input-padding-y !default;
|
783
|
+
$input-group-addon-padding-x: $input-padding-x !default;
|
784
|
+
$input-group-addon-font-weight: $input-font-weight !default;
|
519
785
|
$input-group-addon-color: $input-color !default;
|
520
786
|
$input-group-addon-bg: $gray-200 !default;
|
521
787
|
$input-group-addon-border-color: $input-border-color !default;
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
$
|
526
|
-
$
|
527
|
-
$
|
528
|
-
|
529
|
-
$
|
530
|
-
$
|
531
|
-
|
532
|
-
$
|
533
|
-
$
|
534
|
-
$
|
535
|
-
$
|
536
|
-
|
537
|
-
$
|
538
|
-
|
539
|
-
$
|
540
|
-
$
|
541
|
-
|
542
|
-
$
|
543
|
-
$
|
544
|
-
$
|
545
|
-
|
546
|
-
$
|
547
|
-
|
548
|
-
$
|
549
|
-
$
|
550
|
-
|
551
|
-
$
|
552
|
-
$
|
553
|
-
$
|
554
|
-
|
555
|
-
|
556
|
-
$
|
557
|
-
$
|
558
|
-
|
559
|
-
$
|
560
|
-
$
|
561
|
-
$
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
$
|
566
|
-
$
|
567
|
-
|
568
|
-
$
|
569
|
-
$
|
570
|
-
$
|
571
|
-
|
572
|
-
$
|
573
|
-
$
|
574
|
-
$
|
575
|
-
$
|
576
|
-
$
|
577
|
-
$
|
578
|
-
$
|
579
|
-
$
|
580
|
-
$
|
581
|
-
$
|
582
|
-
$
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
$
|
587
|
-
$
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
$
|
594
|
-
$
|
595
|
-
$
|
596
|
-
$
|
597
|
-
|
598
|
-
$
|
599
|
-
$
|
600
|
-
|
601
|
-
|
602
|
-
$custom-select-padding-y-sm: $input-padding-y-sm !default;
|
603
|
-
$custom-select-padding-x-sm: $input-padding-x-sm !default;
|
604
|
-
$custom-select-font-size-sm: $input-font-size-sm !default;
|
605
|
-
$custom-select-height-sm: $input-height-sm !default;
|
606
|
-
|
607
|
-
$custom-select-padding-y-lg: $input-padding-y-lg !default;
|
608
|
-
$custom-select-padding-x-lg: $input-padding-x-lg !default;
|
609
|
-
$custom-select-font-size-lg: $input-font-size-lg !default;
|
610
|
-
$custom-select-height-lg: $input-height-lg !default;
|
611
|
-
|
612
|
-
$custom-range-track-width: 100% !default;
|
613
|
-
$custom-range-track-height: .5rem !default;
|
614
|
-
$custom-range-track-cursor: pointer !default;
|
615
|
-
$custom-range-track-bg: $gray-300 !default;
|
616
|
-
$custom-range-track-border-radius: 1rem !default;
|
617
|
-
$custom-range-track-box-shadow: inset 0 .25rem .25rem rgba($black, .1) !default;
|
618
|
-
|
619
|
-
$custom-range-thumb-width: 1rem !default;
|
620
|
-
$custom-range-thumb-height: $custom-range-thumb-width !default;
|
621
|
-
$custom-range-thumb-bg: $component-active-bg !default;
|
622
|
-
$custom-range-thumb-border: 0 !default;
|
623
|
-
$custom-range-thumb-border-radius: 1rem !default;
|
624
|
-
$custom-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
|
625
|
-
$custom-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
626
|
-
$custom-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in IE/Edge
|
627
|
-
$custom-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
|
628
|
-
$custom-range-thumb-disabled-bg: $gray-500 !default;
|
629
|
-
|
630
|
-
$custom-file-height: $input-height !default;
|
631
|
-
$custom-file-height-inner: $input-height-inner !default;
|
632
|
-
$custom-file-focus-border-color: $input-focus-border-color !default;
|
633
|
-
$custom-file-focus-box-shadow: $input-focus-box-shadow !default;
|
634
|
-
$custom-file-disabled-bg: $input-disabled-bg !default;
|
635
|
-
|
636
|
-
$custom-file-padding-y: $input-padding-y !default;
|
637
|
-
$custom-file-padding-x: $input-padding-x !default;
|
638
|
-
$custom-file-line-height: $input-line-height !default;
|
639
|
-
$custom-file-font-family: $input-font-family !default;
|
640
|
-
$custom-file-font-weight: $input-font-weight !default;
|
641
|
-
$custom-file-color: $input-color !default;
|
642
|
-
$custom-file-bg: $input-bg !default;
|
643
|
-
$custom-file-border-width: $input-border-width !default;
|
644
|
-
$custom-file-border-color: $input-border-color !default;
|
645
|
-
$custom-file-border-radius: $input-border-radius !default;
|
646
|
-
$custom-file-box-shadow: $input-box-shadow !default;
|
647
|
-
$custom-file-button-color: $custom-file-color !default;
|
648
|
-
$custom-file-button-bg: $input-group-addon-bg !default;
|
649
|
-
$custom-file-text: (
|
650
|
-
en: "Browse"
|
651
|
-
) !default;
|
652
|
-
|
788
|
+
// scss-docs-end input-group-variables
|
789
|
+
|
790
|
+
// scss-docs-start form-select-variables
|
791
|
+
$form-select-padding-y: $input-padding-y !default;
|
792
|
+
$form-select-padding-x: $input-padding-x !default;
|
793
|
+
$form-select-font-family: $input-font-family !default;
|
794
|
+
$form-select-font-size: $input-font-size !default;
|
795
|
+
$form-select-indicator-padding: $form-select-padding-x * 3 !default; // Extra padding for background-image
|
796
|
+
$form-select-font-weight: $input-font-weight !default;
|
797
|
+
$form-select-line-height: $input-line-height !default;
|
798
|
+
$form-select-color: $input-color !default;
|
799
|
+
$form-select-bg: $input-bg !default;
|
800
|
+
$form-select-disabled-color: null !default;
|
801
|
+
$form-select-disabled-bg: $gray-200 !default;
|
802
|
+
$form-select-disabled-border-color: $input-disabled-border-color !default;
|
803
|
+
$form-select-bg-position: right $form-select-padding-x center !default;
|
804
|
+
$form-select-bg-size: 16px 12px !default; // In pixels because image dimensions
|
805
|
+
$form-select-indicator-color: $gray-800 !default;
|
806
|
+
$form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>") !default;
|
807
|
+
|
808
|
+
$form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding !default;
|
809
|
+
$form-select-feedback-icon-position: center right $form-select-indicator-padding !default;
|
810
|
+
$form-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half !default;
|
811
|
+
|
812
|
+
$form-select-border-width: $input-border-width !default;
|
813
|
+
$form-select-border-color: $input-border-color !default;
|
814
|
+
$form-select-border-radius: $border-radius !default;
|
815
|
+
$form-select-box-shadow: $box-shadow-inset !default;
|
816
|
+
|
817
|
+
$form-select-focus-border-color: $input-focus-border-color !default;
|
818
|
+
$form-select-focus-width: $input-focus-width !default;
|
819
|
+
$form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focus-color !default;
|
820
|
+
|
821
|
+
$form-select-padding-y-sm: $input-padding-y-sm !default;
|
822
|
+
$form-select-padding-x-sm: $input-padding-x-sm !default;
|
823
|
+
$form-select-font-size-sm: $input-font-size-sm !default;
|
824
|
+
|
825
|
+
$form-select-padding-y-lg: $input-padding-y-lg !default;
|
826
|
+
$form-select-padding-x-lg: $input-padding-x-lg !default;
|
827
|
+
$form-select-font-size-lg: $input-font-size-lg !default;
|
828
|
+
// scss-docs-end form-select-variables
|
829
|
+
|
830
|
+
// scss-docs-start form-range-variables
|
831
|
+
$form-range-track-width: 100% !default;
|
832
|
+
$form-range-track-height: .5rem !default;
|
833
|
+
$form-range-track-cursor: pointer !default;
|
834
|
+
$form-range-track-bg: $gray-300 !default;
|
835
|
+
$form-range-track-border-radius: 1rem !default;
|
836
|
+
$form-range-track-box-shadow: $box-shadow-inset !default;
|
837
|
+
|
838
|
+
$form-range-thumb-width: 1rem !default;
|
839
|
+
$form-range-thumb-height: $form-range-thumb-width !default;
|
840
|
+
$form-range-thumb-bg: $component-active-bg !default;
|
841
|
+
$form-range-thumb-border: 0 !default;
|
842
|
+
$form-range-thumb-border-radius: 1rem !default;
|
843
|
+
$form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
|
844
|
+
$form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
845
|
+
$form-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in Edge
|
846
|
+
$form-range-thumb-active-bg: tint-color($component-active-bg, 70%) !default;
|
847
|
+
$form-range-thumb-disabled-bg: $gray-500 !default;
|
848
|
+
$form-range-thumb-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
849
|
+
// scss-docs-end form-range-variables
|
850
|
+
|
851
|
+
// scss-docs-start form-file-variables
|
852
|
+
$form-file-button-color: $input-color !default;
|
853
|
+
$form-file-button-bg: $input-group-addon-bg !default;
|
854
|
+
$form-file-button-hover-bg: shade-color($form-file-button-bg, 5%) !default;
|
855
|
+
// scss-docs-end form-file-variables
|
856
|
+
|
857
|
+
// scss-docs-start form-floating-variables
|
858
|
+
$form-floating-height: add(3.5rem, $input-height-border) !default;
|
859
|
+
$form-floating-padding-x: $input-padding-x !default;
|
860
|
+
$form-floating-padding-y: 1rem !default;
|
861
|
+
$form-floating-input-padding-t: 1.625rem !default;
|
862
|
+
$form-floating-input-padding-b: .625rem !default;
|
863
|
+
$form-floating-label-opacity: .65 !default;
|
864
|
+
$form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
|
865
|
+
$form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;
|
866
|
+
// scss-docs-end form-floating-variables
|
653
867
|
|
654
868
|
// Form validation
|
655
869
|
|
870
|
+
// scss-docs-start form-feedback-variables
|
656
871
|
$form-feedback-margin-top: $form-text-margin-top !default;
|
657
|
-
$form-feedback-font-size: $
|
658
|
-
$form-feedback-
|
659
|
-
$form-feedback-
|
872
|
+
$form-feedback-font-size: $form-text-font-size !default;
|
873
|
+
$form-feedback-font-style: $form-text-font-style !default;
|
874
|
+
$form-feedback-valid-color: $success !default;
|
875
|
+
$form-feedback-invalid-color: $danger !default;
|
660
876
|
|
661
877
|
$form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
662
|
-
$form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'
|
878
|
+
$form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path 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'/></svg>") !default;
|
663
879
|
$form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
|
664
|
-
$form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
),
|
673
|
-
"invalid": (
|
674
|
-
"color": $form-feedback-invalid-color,
|
675
|
-
"icon": $form-feedback-icon-invalid
|
676
|
-
),
|
880
|
+
$form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>") !default;
|
881
|
+
// scss-docs-end form-feedback-variables
|
882
|
+
|
883
|
+
// scss-docs-start form-validation-states
|
884
|
+
$form-validation-states: (
|
885
|
+
"valid": (
|
886
|
+
"color": $form-feedback-valid-color,
|
887
|
+
"icon": $form-feedback-icon-valid
|
677
888
|
),
|
678
|
-
|
679
|
-
|
889
|
+
"invalid": (
|
890
|
+
"color": $form-feedback-invalid-color,
|
891
|
+
"icon": $form-feedback-icon-invalid
|
892
|
+
)
|
893
|
+
) !default;
|
894
|
+
// scss-docs-end form-validation-states
|
680
895
|
|
681
896
|
// Z-index master list
|
682
897
|
//
|
683
898
|
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
684
899
|
// of components dependent on the z-axis and are designed to all work together.
|
685
900
|
|
901
|
+
// scss-docs-start zindex-stack
|
686
902
|
$zindex-dropdown: 1000 !default;
|
687
903
|
$zindex-sticky: 1020 !default;
|
688
904
|
$zindex-fixed: 1030 !default;
|
689
905
|
$zindex-modal-backdrop: 1040 !default;
|
690
|
-
$zindex-
|
691
|
-
$zindex-
|
692
|
-
$zindex-
|
906
|
+
$zindex-offcanvas: 1050 !default;
|
907
|
+
$zindex-modal: 1060 !default;
|
908
|
+
$zindex-popover: 1070 !default;
|
909
|
+
$zindex-tooltip: 1080 !default;
|
910
|
+
// scss-docs-end zindex-stack
|
693
911
|
|
694
912
|
|
695
913
|
// Navs
|
696
914
|
|
915
|
+
// scss-docs-start nav-variables
|
697
916
|
$nav-link-padding-y: .5rem !default;
|
698
917
|
$nav-link-padding-x: 1rem !default;
|
918
|
+
$nav-link-font-size: null !default;
|
919
|
+
$nav-link-font-weight: null !default;
|
920
|
+
$nav-link-color: $link-color !default;
|
921
|
+
$nav-link-hover-color: $link-hover-color !default;
|
922
|
+
$nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
|
699
923
|
$nav-link-disabled-color: $gray-600 !default;
|
700
924
|
|
701
925
|
$nav-tabs-border-color: $gray-300 !default;
|
@@ -709,15 +933,14 @@ $nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg
|
|
709
933
|
$nav-pills-border-radius: $border-radius !default;
|
710
934
|
$nav-pills-link-active-color: $component-active-color !default;
|
711
935
|
$nav-pills-link-active-bg: $component-active-bg !default;
|
712
|
-
|
713
|
-
$nav-divider-color: $gray-200 !default;
|
714
|
-
$nav-divider-margin-y: $spacer * .5 !default;
|
936
|
+
// scss-docs-end nav-variables
|
715
937
|
|
716
938
|
|
717
939
|
// Navbar
|
718
940
|
|
719
|
-
|
720
|
-
$navbar-padding-
|
941
|
+
// scss-docs-start navbar-variables
|
942
|
+
$navbar-padding-y: $spacer / 2 !default;
|
943
|
+
$navbar-padding-x: null !default;
|
721
944
|
|
722
945
|
$navbar-nav-link-padding-x: .5rem !default;
|
723
946
|
|
@@ -725,39 +948,44 @@ $navbar-brand-font-size: $font-size-lg !default;
|
|
725
948
|
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
726
949
|
$nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
|
727
950
|
$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
|
728
|
-
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height)
|
951
|
+
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) / 2 !default;
|
952
|
+
$navbar-brand-margin-end: 1rem !default;
|
729
953
|
|
730
954
|
$navbar-toggler-padding-y: .25rem !default;
|
731
955
|
$navbar-toggler-padding-x: .75rem !default;
|
732
956
|
$navbar-toggler-font-size: $font-size-lg !default;
|
733
957
|
$navbar-toggler-border-radius: $btn-border-radius !default;
|
958
|
+
$navbar-toggler-focus-width: $btn-focus-width !default;
|
959
|
+
$navbar-toggler-transition: box-shadow .15s ease-in-out !default;
|
960
|
+
// scss-docs-end navbar-variables
|
734
961
|
|
735
|
-
|
736
|
-
|
737
|
-
$navbar-dark-color: rgba($white, .5) !default;
|
962
|
+
// scss-docs-start navbar-theme-variables
|
963
|
+
$navbar-dark-color: rgba($white, .55) !default;
|
738
964
|
$navbar-dark-hover-color: rgba($white, .75) !default;
|
739
965
|
$navbar-dark-active-color: $white !default;
|
740
966
|
$navbar-dark-disabled-color: rgba($white, .25) !default;
|
741
|
-
$navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'
|
967
|
+
$navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
|
742
968
|
$navbar-dark-toggler-border-color: rgba($white, .1) !default;
|
743
969
|
|
744
|
-
$navbar-light-color: rgba($black, .
|
970
|
+
$navbar-light-color: rgba($black, .55) !default;
|
745
971
|
$navbar-light-hover-color: rgba($black, .7) !default;
|
746
972
|
$navbar-light-active-color: rgba($black, .9) !default;
|
747
973
|
$navbar-light-disabled-color: rgba($black, .3) !default;
|
748
|
-
$navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'
|
974
|
+
$navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-light-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
|
749
975
|
$navbar-light-toggler-border-color: rgba($black, .1) !default;
|
750
976
|
|
751
977
|
$navbar-light-brand-color: $navbar-light-active-color !default;
|
752
978
|
$navbar-light-brand-hover-color: $navbar-light-active-color !default;
|
753
979
|
$navbar-dark-brand-color: $navbar-dark-active-color !default;
|
754
980
|
$navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
|
981
|
+
// scss-docs-end navbar-theme-variables
|
755
982
|
|
756
983
|
|
757
984
|
// Dropdowns
|
758
985
|
//
|
759
986
|
// Dropdown menu container and contents.
|
760
987
|
|
988
|
+
// scss-docs-start dropdown-variables
|
761
989
|
$dropdown-min-width: 10rem !default;
|
762
990
|
$dropdown-padding-x: 0 !default;
|
763
991
|
$dropdown-padding-y: .5rem !default;
|
@@ -769,12 +997,12 @@ $dropdown-border-color: rgba($black, .15) !default;
|
|
769
997
|
$dropdown-border-radius: $border-radius !default;
|
770
998
|
$dropdown-border-width: $border-width !default;
|
771
999
|
$dropdown-inner-border-radius: subtract($dropdown-border-radius, $dropdown-border-width) !default;
|
772
|
-
$dropdown-divider-bg: $
|
773
|
-
$dropdown-divider-margin-y: $
|
774
|
-
$dropdown-box-shadow:
|
1000
|
+
$dropdown-divider-bg: $dropdown-border-color !default;
|
1001
|
+
$dropdown-divider-margin-y: $spacer / 2 !default;
|
1002
|
+
$dropdown-box-shadow: $box-shadow !default;
|
775
1003
|
|
776
1004
|
$dropdown-link-color: $gray-900 !default;
|
777
|
-
$dropdown-link-hover-color:
|
1005
|
+
$dropdown-link-hover-color: shade-color($gray-900, 10%) !default;
|
778
1006
|
$dropdown-link-hover-bg: $gray-200 !default;
|
779
1007
|
|
780
1008
|
$dropdown-link-active-color: $component-active-color !default;
|
@@ -782,28 +1010,48 @@ $dropdown-link-active-bg: $component-active-bg !default;
|
|
782
1010
|
|
783
1011
|
$dropdown-link-disabled-color: $gray-500 !default;
|
784
1012
|
|
785
|
-
$dropdown-item-padding-y:
|
786
|
-
$dropdown-item-padding-x:
|
1013
|
+
$dropdown-item-padding-y: $spacer / 4 !default;
|
1014
|
+
$dropdown-item-padding-x: $spacer !default;
|
787
1015
|
|
788
1016
|
$dropdown-header-color: $gray-600 !default;
|
789
1017
|
$dropdown-header-padding: $dropdown-padding-y $dropdown-item-padding-x !default;
|
1018
|
+
// scss-docs-end dropdown-variables
|
1019
|
+
|
1020
|
+
// scss-docs-start dropdown-dark-variables
|
1021
|
+
$dropdown-dark-color: $gray-300 !default;
|
1022
|
+
$dropdown-dark-bg: $gray-800 !default;
|
1023
|
+
$dropdown-dark-border-color: $dropdown-border-color !default;
|
1024
|
+
$dropdown-dark-divider-bg: $dropdown-divider-bg !default;
|
1025
|
+
$dropdown-dark-box-shadow: null !default;
|
1026
|
+
$dropdown-dark-link-color: $dropdown-dark-color !default;
|
1027
|
+
$dropdown-dark-link-hover-color: $white !default;
|
1028
|
+
$dropdown-dark-link-hover-bg: rgba($white, .15) !default;
|
1029
|
+
$dropdown-dark-link-active-color: $dropdown-link-active-color !default;
|
1030
|
+
$dropdown-dark-link-active-bg: $dropdown-link-active-bg !default;
|
1031
|
+
$dropdown-dark-link-disabled-color: $gray-500 !default;
|
1032
|
+
$dropdown-dark-header-color: $gray-500 !default;
|
1033
|
+
// scss-docs-end dropdown-dark-variables
|
790
1034
|
|
791
1035
|
|
792
1036
|
// Pagination
|
793
1037
|
|
794
|
-
|
1038
|
+
// scss-docs-start pagination-variables
|
1039
|
+
$pagination-padding-y: .375rem !default;
|
795
1040
|
$pagination-padding-x: .75rem !default;
|
796
1041
|
$pagination-padding-y-sm: .25rem !default;
|
797
1042
|
$pagination-padding-x-sm: .5rem !default;
|
798
1043
|
$pagination-padding-y-lg: .75rem !default;
|
799
1044
|
$pagination-padding-x-lg: 1.5rem !default;
|
800
|
-
$pagination-line-height: 1.25 !default;
|
801
1045
|
|
802
1046
|
$pagination-color: $link-color !default;
|
803
1047
|
$pagination-bg: $white !default;
|
804
1048
|
$pagination-border-width: $border-width !default;
|
1049
|
+
$pagination-border-radius: $border-radius !default;
|
1050
|
+
$pagination-margin-start: -$pagination-border-width !default;
|
805
1051
|
$pagination-border-color: $gray-300 !default;
|
806
1052
|
|
1053
|
+
$pagination-focus-color: $link-hover-color !default;
|
1054
|
+
$pagination-focus-bg: $gray-200 !default;
|
807
1055
|
$pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
808
1056
|
$pagination-focus-outline: 0 !default;
|
809
1057
|
|
@@ -819,68 +1067,102 @@ $pagination-disabled-color: $gray-600 !default;
|
|
819
1067
|
$pagination-disabled-bg: $white !default;
|
820
1068
|
$pagination-disabled-border-color: $gray-300 !default;
|
821
1069
|
|
1070
|
+
$pagination-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
1071
|
+
|
822
1072
|
$pagination-border-radius-sm: $border-radius-sm !default;
|
823
1073
|
$pagination-border-radius-lg: $border-radius-lg !default;
|
824
|
-
|
825
|
-
|
826
|
-
// Jumbotron
|
827
|
-
|
828
|
-
$jumbotron-padding: 2rem !default;
|
829
|
-
$jumbotron-color: null !default;
|
830
|
-
$jumbotron-bg: $gray-200 !default;
|
1074
|
+
// scss-docs-end pagination-variables
|
831
1075
|
|
832
1076
|
|
833
1077
|
// Cards
|
834
1078
|
|
835
|
-
|
836
|
-
$card-spacer-
|
1079
|
+
// scss-docs-start card-variables
|
1080
|
+
$card-spacer-y: $spacer !default;
|
1081
|
+
$card-spacer-x: $spacer !default;
|
1082
|
+
$card-title-spacer-y: $spacer / 2 !default;
|
837
1083
|
$card-border-width: $border-width !default;
|
838
1084
|
$card-border-radius: $border-radius !default;
|
839
1085
|
$card-border-color: rgba($black, .125) !default;
|
840
1086
|
$card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
|
1087
|
+
$card-cap-padding-y: $card-spacer-y / 2 !default;
|
1088
|
+
$card-cap-padding-x: $card-spacer-x !default;
|
841
1089
|
$card-cap-bg: rgba($black, .03) !default;
|
842
1090
|
$card-cap-color: null !default;
|
843
1091
|
$card-height: null !default;
|
844
1092
|
$card-color: null !default;
|
845
1093
|
$card-bg: $white !default;
|
846
|
-
|
847
|
-
$card-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
$
|
854
|
-
$
|
855
|
-
|
1094
|
+
$card-img-overlay-padding: $spacer !default;
|
1095
|
+
$card-group-margin: $grid-gutter-width / 2 !default;
|
1096
|
+
// scss-docs-end card-variables
|
1097
|
+
|
1098
|
+
// Accordion
|
1099
|
+
|
1100
|
+
// scss-docs-start accordion-variables
|
1101
|
+
$accordion-padding-y: 1rem !default;
|
1102
|
+
$accordion-padding-x: 1.25rem !default;
|
1103
|
+
$accordion-color: $body-color !default;
|
1104
|
+
$accordion-bg: $body-bg !default;
|
1105
|
+
$accordion-border-width: $border-width !default;
|
1106
|
+
$accordion-border-color: rgba($black, .125) !default;
|
1107
|
+
$accordion-border-radius: $border-radius !default;
|
1108
|
+
$accordion-inner-border-radius: subtract($accordion-border-radius, $accordion-border-width) !default;
|
1109
|
+
|
1110
|
+
$accordion-body-padding-y: $accordion-padding-y !default;
|
1111
|
+
$accordion-body-padding-x: $accordion-padding-x !default;
|
1112
|
+
|
1113
|
+
$accordion-button-padding-y: $accordion-padding-y !default;
|
1114
|
+
$accordion-button-padding-x: $accordion-padding-x !default;
|
1115
|
+
$accordion-button-color: $accordion-color !default;
|
1116
|
+
$accordion-button-bg: $accordion-bg !default;
|
1117
|
+
$accordion-transition: $btn-transition, border-radius .15s ease !default;
|
1118
|
+
$accordion-button-active-bg: tint-color($component-active-bg, 90%) !default;
|
1119
|
+
$accordion-button-active-color: shade-color($primary, 10%) !default;
|
1120
|
+
|
1121
|
+
$accordion-button-focus-border-color: $input-focus-border-color !default;
|
1122
|
+
$accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
|
1123
|
+
|
1124
|
+
$accordion-icon-width: 1.25rem !default;
|
1125
|
+
$accordion-icon-color: $accordion-color !default;
|
1126
|
+
$accordion-icon-active-color: $accordion-button-active-color !default;
|
1127
|
+
$accordion-icon-transition: transform .2s ease-in-out !default;
|
1128
|
+
$accordion-icon-transform: rotate(-180deg) !default;
|
1129
|
+
|
1130
|
+
$accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
1131
|
+
$accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
1132
|
+
// scss-docs-end accordion-variables
|
856
1133
|
|
857
1134
|
// Tooltips
|
858
1135
|
|
1136
|
+
// scss-docs-start tooltip-variables
|
859
1137
|
$tooltip-font-size: $font-size-sm !default;
|
860
1138
|
$tooltip-max-width: 200px !default;
|
861
1139
|
$tooltip-color: $white !default;
|
862
1140
|
$tooltip-bg: $black !default;
|
863
1141
|
$tooltip-border-radius: $border-radius !default;
|
864
1142
|
$tooltip-opacity: .9 !default;
|
865
|
-
$tooltip-padding-y:
|
866
|
-
$tooltip-padding-x:
|
1143
|
+
$tooltip-padding-y: $spacer / 4 !default;
|
1144
|
+
$tooltip-padding-x: $spacer / 2 !default;
|
867
1145
|
$tooltip-margin: 0 !default;
|
868
1146
|
|
869
1147
|
$tooltip-arrow-width: .8rem !default;
|
870
1148
|
$tooltip-arrow-height: .4rem !default;
|
871
1149
|
$tooltip-arrow-color: $tooltip-bg !default;
|
1150
|
+
// scss-docs-end tooltip-variables
|
872
1151
|
|
873
1152
|
// Form tooltips must come after regular tooltips
|
1153
|
+
// scss-docs-start tooltip-feedback-variables
|
874
1154
|
$form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
|
875
1155
|
$form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
|
876
1156
|
$form-feedback-tooltip-font-size: $tooltip-font-size !default;
|
877
|
-
$form-feedback-tooltip-line-height:
|
1157
|
+
$form-feedback-tooltip-line-height: null !default;
|
878
1158
|
$form-feedback-tooltip-opacity: $tooltip-opacity !default;
|
879
1159
|
$form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
|
1160
|
+
// scss-docs-start tooltip-feedback-variables
|
880
1161
|
|
881
1162
|
|
882
1163
|
// Popovers
|
883
1164
|
|
1165
|
+
// scss-docs-start popover-variables
|
884
1166
|
$popover-font-size: $font-size-sm !default;
|
885
1167
|
$popover-bg: $white !default;
|
886
1168
|
$popover-max-width: 276px !default;
|
@@ -888,65 +1170,63 @@ $popover-border-width: $border-width !default;
|
|
888
1170
|
$popover-border-color: rgba($black, .2) !default;
|
889
1171
|
$popover-border-radius: $border-radius-lg !default;
|
890
1172
|
$popover-inner-border-radius: subtract($popover-border-radius, $popover-border-width) !default;
|
891
|
-
$popover-box-shadow:
|
1173
|
+
$popover-box-shadow: $box-shadow !default;
|
892
1174
|
|
893
|
-
$popover-header-bg:
|
1175
|
+
$popover-header-bg: shade-color($popover-bg, 6%) !default;
|
894
1176
|
$popover-header-color: $headings-color !default;
|
895
1177
|
$popover-header-padding-y: .5rem !default;
|
896
|
-
$popover-header-padding-x:
|
1178
|
+
$popover-header-padding-x: $spacer !default;
|
897
1179
|
|
898
1180
|
$popover-body-color: $body-color !default;
|
899
|
-
$popover-body-padding-y: $
|
900
|
-
$popover-body-padding-x: $
|
1181
|
+
$popover-body-padding-y: $spacer !default;
|
1182
|
+
$popover-body-padding-x: $spacer !default;
|
901
1183
|
|
902
1184
|
$popover-arrow-width: 1rem !default;
|
903
1185
|
$popover-arrow-height: .5rem !default;
|
904
1186
|
$popover-arrow-color: $popover-bg !default;
|
905
1187
|
|
906
1188
|
$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
|
1189
|
+
// scss-docs-end popover-variables
|
907
1190
|
|
908
1191
|
|
909
1192
|
// Toasts
|
910
1193
|
|
1194
|
+
// scss-docs-start toast-variables
|
911
1195
|
$toast-max-width: 350px !default;
|
912
1196
|
$toast-padding-x: .75rem !default;
|
913
|
-
$toast-padding-y: .
|
1197
|
+
$toast-padding-y: .5rem !default;
|
914
1198
|
$toast-font-size: .875rem !default;
|
915
1199
|
$toast-color: null !default;
|
916
1200
|
$toast-background-color: rgba($white, .85) !default;
|
917
1201
|
$toast-border-width: 1px !default;
|
918
1202
|
$toast-border-color: rgba(0, 0, 0, .1) !default;
|
919
|
-
$toast-border-radius:
|
920
|
-
$toast-box-shadow:
|
1203
|
+
$toast-border-radius: $border-radius !default;
|
1204
|
+
$toast-box-shadow: $box-shadow !default;
|
1205
|
+
$toast-spacing: $container-padding-x !default;
|
921
1206
|
|
922
1207
|
$toast-header-color: $gray-600 !default;
|
923
1208
|
$toast-header-background-color: rgba($white, .85) !default;
|
924
1209
|
$toast-header-border-color: rgba(0, 0, 0, .05) !default;
|
1210
|
+
// scss-docs-end toast-variables
|
925
1211
|
|
926
1212
|
|
927
1213
|
// Badges
|
928
1214
|
|
929
|
-
|
1215
|
+
// scss-docs-start badge-variables
|
1216
|
+
$badge-font-size: .75em !default;
|
930
1217
|
$badge-font-weight: $font-weight-bold !default;
|
931
|
-
$badge-
|
932
|
-
$badge-padding-
|
1218
|
+
$badge-color: $white !default;
|
1219
|
+
$badge-padding-y: .35em !default;
|
1220
|
+
$badge-padding-x: .65em !default;
|
933
1221
|
$badge-border-radius: $border-radius !default;
|
934
|
-
|
935
|
-
$badge-transition: $btn-transition !default;
|
936
|
-
$badge-focus-width: $input-btn-focus-width !default;
|
937
|
-
|
938
|
-
$badge-pill-padding-x: .6em !default;
|
939
|
-
// Use a higher than normal value to ensure completely rounded edges when
|
940
|
-
// customizing padding or font-size on labels.
|
941
|
-
$badge-pill-border-radius: 10rem !default;
|
1222
|
+
// scss-docs-end badge-variables
|
942
1223
|
|
943
1224
|
|
944
1225
|
// Modals
|
945
1226
|
|
946
|
-
//
|
947
|
-
$modal-inner-padding:
|
1227
|
+
// scss-docs-start modal-variables
|
1228
|
+
$modal-inner-padding: $spacer !default;
|
948
1229
|
|
949
|
-
// Margin between elements in footer, must be lower than or equal to 2 * $modal-inner-padding
|
950
1230
|
$modal-footer-margin-between: .5rem !default;
|
951
1231
|
|
952
1232
|
$modal-dialog-margin: .5rem !default;
|
@@ -960,8 +1240,8 @@ $modal-content-border-color: rgba($black, .2) !default;
|
|
960
1240
|
$modal-content-border-width: $border-width !default;
|
961
1241
|
$modal-content-border-radius: $border-radius-lg !default;
|
962
1242
|
$modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
|
963
|
-
$modal-content-box-shadow-xs:
|
964
|
-
$modal-content-box-shadow-sm-up:
|
1243
|
+
$modal-content-box-shadow-xs: $box-shadow-sm !default;
|
1244
|
+
$modal-content-box-shadow-sm-up: $box-shadow !default;
|
965
1245
|
|
966
1246
|
$modal-backdrop-bg: $black !default;
|
967
1247
|
$modal-backdrop-opacity: .5 !default;
|
@@ -969,60 +1249,68 @@ $modal-header-border-color: $border-color !default;
|
|
969
1249
|
$modal-footer-border-color: $modal-header-border-color !default;
|
970
1250
|
$modal-header-border-width: $modal-content-border-width !default;
|
971
1251
|
$modal-footer-border-width: $modal-header-border-width !default;
|
972
|
-
$modal-header-padding-y:
|
973
|
-
$modal-header-padding-x:
|
1252
|
+
$modal-header-padding-y: $modal-inner-padding !default;
|
1253
|
+
$modal-header-padding-x: $modal-inner-padding !default;
|
974
1254
|
$modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
|
975
1255
|
|
976
|
-
$modal-xl: 1140px !default;
|
977
|
-
$modal-lg: 800px !default;
|
978
|
-
$modal-md: 500px !default;
|
979
1256
|
$modal-sm: 300px !default;
|
1257
|
+
$modal-md: 500px !default;
|
1258
|
+
$modal-lg: 800px !default;
|
1259
|
+
$modal-xl: 1140px !default;
|
980
1260
|
|
981
1261
|
$modal-fade-transform: translate(0, -50px) !default;
|
982
1262
|
$modal-show-transform: none !default;
|
983
1263
|
$modal-transition: transform .3s ease-out !default;
|
984
1264
|
$modal-scale-transform: scale(1.02) !default;
|
1265
|
+
// scss-docs-end modal-variables
|
985
1266
|
|
986
1267
|
|
987
1268
|
// Alerts
|
988
1269
|
//
|
989
1270
|
// Define alert colors, border radius, and padding.
|
990
1271
|
|
991
|
-
|
992
|
-
$alert-padding-
|
993
|
-
$alert-
|
994
|
-
$alert-
|
995
|
-
$alert-
|
996
|
-
$alert-
|
997
|
-
|
998
|
-
$alert-bg-
|
999
|
-
$alert-border-
|
1000
|
-
$alert-color-
|
1272
|
+
// scss-docs-start alert-variables
|
1273
|
+
$alert-padding-y: $spacer !default;
|
1274
|
+
$alert-padding-x: $spacer !default;
|
1275
|
+
$alert-margin-bottom: 1rem !default;
|
1276
|
+
$alert-border-radius: $border-radius !default;
|
1277
|
+
$alert-link-font-weight: $font-weight-bold !default;
|
1278
|
+
$alert-border-width: $border-width !default;
|
1279
|
+
$alert-bg-scale: -80% !default;
|
1280
|
+
$alert-border-scale: -70% !default;
|
1281
|
+
$alert-color-scale: 40% !default;
|
1282
|
+
$alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
|
1283
|
+
// scss-docs-end alert-variables
|
1001
1284
|
|
1002
1285
|
|
1003
1286
|
// Progress bars
|
1004
1287
|
|
1288
|
+
// scss-docs-start progress-variables
|
1005
1289
|
$progress-height: 1rem !default;
|
1006
1290
|
$progress-font-size: $font-size-base * .75 !default;
|
1007
1291
|
$progress-bg: $gray-200 !default;
|
1008
1292
|
$progress-border-radius: $border-radius !default;
|
1009
|
-
$progress-box-shadow: inset
|
1293
|
+
$progress-box-shadow: $box-shadow-inset !default;
|
1010
1294
|
$progress-bar-color: $white !default;
|
1011
|
-
$progress-bar-bg:
|
1295
|
+
$progress-bar-bg: $primary !default;
|
1012
1296
|
$progress-bar-animation-timing: 1s linear infinite !default;
|
1013
1297
|
$progress-bar-transition: width .6s ease !default;
|
1298
|
+
// scss-docs-end progress-variables
|
1014
1299
|
|
1015
1300
|
|
1016
1301
|
// List group
|
1017
1302
|
|
1018
|
-
|
1303
|
+
// scss-docs-start list-group-variables
|
1304
|
+
$list-group-color: $gray-900 !default;
|
1019
1305
|
$list-group-bg: $white !default;
|
1020
1306
|
$list-group-border-color: rgba($black, .125) !default;
|
1021
1307
|
$list-group-border-width: $border-width !default;
|
1022
1308
|
$list-group-border-radius: $border-radius !default;
|
1023
1309
|
|
1024
|
-
$list-group-item-padding-y:
|
1025
|
-
$list-group-item-padding-x:
|
1310
|
+
$list-group-item-padding-y: $spacer / 2 !default;
|
1311
|
+
$list-group-item-padding-x: $spacer !default;
|
1312
|
+
$list-group-item-bg-scale: -80% !default;
|
1313
|
+
$list-group-item-color-scale: 40% !default;
|
1026
1314
|
|
1027
1315
|
$list-group-hover-bg: $gray-100 !default;
|
1028
1316
|
$list-group-active-color: $component-active-color !default;
|
@@ -1037,44 +1325,48 @@ $list-group-action-hover-color: $list-group-action-color !default;
|
|
1037
1325
|
|
1038
1326
|
$list-group-action-active-color: $body-color !default;
|
1039
1327
|
$list-group-action-active-bg: $gray-200 !default;
|
1328
|
+
// scss-docs-end list-group-variables
|
1040
1329
|
|
1041
1330
|
|
1042
1331
|
// Image thumbnails
|
1043
1332
|
|
1333
|
+
// scss-docs-start thumbnail-variables
|
1044
1334
|
$thumbnail-padding: .25rem !default;
|
1045
1335
|
$thumbnail-bg: $body-bg !default;
|
1046
1336
|
$thumbnail-border-width: $border-width !default;
|
1047
1337
|
$thumbnail-border-color: $gray-300 !default;
|
1048
1338
|
$thumbnail-border-radius: $border-radius !default;
|
1049
|
-
$thumbnail-box-shadow:
|
1339
|
+
$thumbnail-box-shadow: $box-shadow-sm !default;
|
1340
|
+
// scss-docs-end thumbnail-variables
|
1050
1341
|
|
1051
1342
|
|
1052
1343
|
// Figures
|
1053
1344
|
|
1054
|
-
|
1345
|
+
// scss-docs-start figure-variables
|
1346
|
+
$figure-caption-font-size: $small-font-size !default;
|
1055
1347
|
$figure-caption-color: $gray-600 !default;
|
1348
|
+
// scss-docs-end figure-variables
|
1056
1349
|
|
1057
1350
|
|
1058
1351
|
// Breadcrumbs
|
1059
1352
|
|
1353
|
+
// scss-docs-start breadcrumb-variables
|
1060
1354
|
$breadcrumb-font-size: null !default;
|
1061
|
-
|
1062
|
-
$breadcrumb-padding-
|
1063
|
-
$breadcrumb-padding-x:
|
1064
|
-
$breadcrumb-item-padding: .5rem !default;
|
1065
|
-
|
1355
|
+
$breadcrumb-padding-y: 0 !default;
|
1356
|
+
$breadcrumb-padding-x: 0 !default;
|
1357
|
+
$breadcrumb-item-padding-x: .5rem !default;
|
1066
1358
|
$breadcrumb-margin-bottom: 1rem !default;
|
1067
|
-
|
1068
|
-
$breadcrumb-bg: $gray-200 !default;
|
1359
|
+
$breadcrumb-bg: null !default;
|
1069
1360
|
$breadcrumb-divider-color: $gray-600 !default;
|
1070
1361
|
$breadcrumb-active-color: $gray-600 !default;
|
1071
1362
|
$breadcrumb-divider: quote("/") !default;
|
1072
|
-
|
1073
|
-
$breadcrumb-border-radius:
|
1074
|
-
|
1363
|
+
$breadcrumb-divider-flipped: $breadcrumb-divider !default;
|
1364
|
+
$breadcrumb-border-radius: null !default;
|
1365
|
+
// scss-docs-end breadcrumb-variables
|
1075
1366
|
|
1076
1367
|
// Carousel
|
1077
1368
|
|
1369
|
+
// scss-docs-start carousel-variables
|
1078
1370
|
$carousel-control-color: $white !default;
|
1079
1371
|
$carousel-control-width: 15% !default;
|
1080
1372
|
$carousel-control-opacity: .5 !default;
|
@@ -1085,44 +1377,82 @@ $carousel-indicator-width: 30px !default;
|
|
1085
1377
|
$carousel-indicator-height: 3px !default;
|
1086
1378
|
$carousel-indicator-hit-area-height: 10px !default;
|
1087
1379
|
$carousel-indicator-spacer: 3px !default;
|
1380
|
+
$carousel-indicator-opacity: .5 !default;
|
1088
1381
|
$carousel-indicator-active-bg: $white !default;
|
1382
|
+
$carousel-indicator-active-opacity: 1 !default;
|
1089
1383
|
$carousel-indicator-transition: opacity .6s ease !default;
|
1090
1384
|
|
1091
1385
|
$carousel-caption-width: 70% !default;
|
1092
1386
|
$carousel-caption-color: $white !default;
|
1387
|
+
$carousel-caption-padding-y: 1.25rem !default;
|
1388
|
+
$carousel-caption-spacer: 1.25rem !default;
|
1093
1389
|
|
1094
|
-
$carousel-control-icon-width:
|
1390
|
+
$carousel-control-icon-width: 2rem !default;
|
1095
1391
|
|
1096
|
-
$carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}'
|
1097
|
-
$carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}'
|
1392
|
+
$carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/></svg>") !default;
|
1393
|
+
$carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
1098
1394
|
|
1099
1395
|
$carousel-transition-duration: .6s !default;
|
1100
1396
|
$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`)
|
1101
1397
|
|
1398
|
+
$carousel-dark-indicator-active-bg: $black !default;
|
1399
|
+
$carousel-dark-caption-color: $black !default;
|
1400
|
+
$carousel-dark-control-icon-filter: invert(1) grayscale(100) !default;
|
1401
|
+
// scss-docs-end carousel-variables
|
1402
|
+
|
1102
1403
|
|
1103
1404
|
// Spinners
|
1104
1405
|
|
1406
|
+
// scss-docs-start spinner-variables
|
1105
1407
|
$spinner-width: 2rem !default;
|
1106
1408
|
$spinner-height: $spinner-width !default;
|
1107
1409
|
$spinner-vertical-align: -.125em !default;
|
1108
1410
|
$spinner-border-width: .25em !default;
|
1411
|
+
$spinner-animation-speed: .75s !default;
|
1109
1412
|
|
1110
1413
|
$spinner-width-sm: 1rem !default;
|
1111
1414
|
$spinner-height-sm: $spinner-width-sm !default;
|
1112
1415
|
$spinner-border-width-sm: .2em !default;
|
1416
|
+
// scss-docs-end spinner-variables
|
1113
1417
|
|
1114
1418
|
|
1115
1419
|
// Close
|
1116
1420
|
|
1117
|
-
|
1118
|
-
$close-
|
1119
|
-
$close-
|
1120
|
-
$close-
|
1121
|
-
|
1421
|
+
// scss-docs-start close-variables
|
1422
|
+
$btn-close-width: 1em !default;
|
1423
|
+
$btn-close-height: $btn-close-width !default;
|
1424
|
+
$btn-close-padding-x: .25em !default;
|
1425
|
+
$btn-close-padding-y: $btn-close-padding-x !default;
|
1426
|
+
$btn-close-color: $black !default;
|
1427
|
+
$btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>") !default;
|
1428
|
+
$btn-close-focus-shadow: $input-btn-focus-box-shadow !default;
|
1429
|
+
$btn-close-opacity: .5 !default;
|
1430
|
+
$btn-close-hover-opacity: .75 !default;
|
1431
|
+
$btn-close-focus-opacity: 1 !default;
|
1432
|
+
$btn-close-disabled-opacity: .25 !default;
|
1433
|
+
$btn-close-white-filter: invert(1) grayscale(100%) brightness(200%) !default;
|
1434
|
+
// scss-docs-end close-variables
|
1435
|
+
|
1436
|
+
|
1437
|
+
// Offcanvas
|
1438
|
+
|
1439
|
+
// scss-docs-start offcanvas-variables
|
1440
|
+
$offcanvas-padding-y: $modal-inner-padding !default;
|
1441
|
+
$offcanvas-padding-x: $modal-inner-padding !default;
|
1442
|
+
$offcanvas-horizontal-width: 400px !default;
|
1443
|
+
$offcanvas-vertical-height: 30vh !default;
|
1444
|
+
$offcanvas-transition-duration: .3s !default;
|
1445
|
+
$offcanvas-border-color: $modal-content-border-color !default;
|
1446
|
+
$offcanvas-border-width: $modal-content-border-width !default;
|
1447
|
+
$offcanvas-title-line-height: $modal-title-line-height !default;
|
1448
|
+
$offcanvas-bg-color: $modal-content-bg !default;
|
1449
|
+
$offcanvas-color: $modal-content-color !default;
|
1450
|
+
$offcanvas-box-shadow: $modal-content-box-shadow-xs !default;
|
1451
|
+
// scss-docs-end offcanvas-variables
|
1122
1452
|
|
1123
1453
|
// Code
|
1124
1454
|
|
1125
|
-
$code-font-size:
|
1455
|
+
$code-font-size: $small-font-size !default;
|
1126
1456
|
$code-color: $pink !default;
|
1127
1457
|
|
1128
1458
|
$kbd-padding-y: .2rem !default;
|
@@ -1131,19 +1461,4 @@ $kbd-font-size: $code-font-size !default;
|
|
1131
1461
|
$kbd-color: $white !default;
|
1132
1462
|
$kbd-bg: $gray-900 !default;
|
1133
1463
|
|
1134
|
-
$pre-color:
|
1135
|
-
$pre-scrollable-max-height: 340px !default;
|
1136
|
-
|
1137
|
-
|
1138
|
-
// Utilities
|
1139
|
-
|
1140
|
-
$displays: none, inline, inline-block, block, table, table-row, table-cell, flex, inline-flex !default;
|
1141
|
-
$overflows: auto, hidden !default;
|
1142
|
-
$positions: static, relative, absolute, fixed, sticky !default;
|
1143
|
-
$user-selects: all, auto, none !default;
|
1144
|
-
|
1145
|
-
|
1146
|
-
// Printing
|
1147
|
-
|
1148
|
-
$print-page-size: a3 !default;
|
1149
|
-
$print-body-min-width: map-get($grid-breakpoints, "lg") !default;
|
1464
|
+
$pre-color: null !default;
|