1 | // Variables
|
---|
2 | //
|
---|
3 | // Variables should follow the `$component-state-property-size` formula for
|
---|
4 | // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
|
---|
5 |
|
---|
6 | // Color system
|
---|
7 |
|
---|
8 | // scss-docs-start gray-color-variables
|
---|
9 | $white: #fff !default;
|
---|
10 | $gray-100: #f8f9fa !default;
|
---|
11 | $gray-200: #e9ecef !default;
|
---|
12 | $gray-300: #dee2e6 !default;
|
---|
13 | $gray-400: #ced4da !default;
|
---|
14 | $gray-500: #adb5bd !default;
|
---|
15 | $gray-600: #6c757d !default;
|
---|
16 | $gray-700: #495057 !default;
|
---|
17 | $gray-800: #343a40 !default;
|
---|
18 | $gray-900: #212529 !default;
|
---|
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
|
---|
37 |
|
---|
38 | // scss-docs-start color-variables
|
---|
39 | $blue: #0d6efd !default;
|
---|
40 | $indigo: #6610f2 !default;
|
---|
41 | $purple: #6f42c1 !default;
|
---|
42 | $pink: #d63384 !default;
|
---|
43 | $red: #dc3545 !default;
|
---|
44 | $orange: #fd7e14 !default;
|
---|
45 | $yellow: #ffc107 !default;
|
---|
46 | $green: #198754 !default;
|
---|
47 | $teal: #20c997 !default;
|
---|
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 | "black": $black,
|
---|
64 | "white": $white,
|
---|
65 | "gray": $gray-600,
|
---|
66 | "gray-dark": $gray-800
|
---|
67 | ) !default;
|
---|
68 | // scss-docs-end colors-map
|
---|
69 |
|
---|
70 | // 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.
|
---|
71 | // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
|
---|
72 | $min-contrast-ratio: 4.5 !default;
|
---|
73 |
|
---|
74 | // Customize the light and dark text colors for use in our color contrast function.
|
---|
75 | $color-contrast-dark: $black !default;
|
---|
76 | $color-contrast-light: $white !default;
|
---|
77 |
|
---|
78 | // fusv-disable
|
---|
79 | $blue-100: tint-color($blue, 80%) !default;
|
---|
80 | $blue-200: tint-color($blue, 60%) !default;
|
---|
81 | $blue-300: tint-color($blue, 40%) !default;
|
---|
82 | $blue-400: tint-color($blue, 20%) !default;
|
---|
83 | $blue-500: $blue !default;
|
---|
84 | $blue-600: shade-color($blue, 20%) !default;
|
---|
85 | $blue-700: shade-color($blue, 40%) !default;
|
---|
86 | $blue-800: shade-color($blue, 60%) !default;
|
---|
87 | $blue-900: shade-color($blue, 80%) !default;
|
---|
88 |
|
---|
89 | $indigo-100: tint-color($indigo, 80%) !default;
|
---|
90 | $indigo-200: tint-color($indigo, 60%) !default;
|
---|
91 | $indigo-300: tint-color($indigo, 40%) !default;
|
---|
92 | $indigo-400: tint-color($indigo, 20%) !default;
|
---|
93 | $indigo-500: $indigo !default;
|
---|
94 | $indigo-600: shade-color($indigo, 20%) !default;
|
---|
95 | $indigo-700: shade-color($indigo, 40%) !default;
|
---|
96 | $indigo-800: shade-color($indigo, 60%) !default;
|
---|
97 | $indigo-900: shade-color($indigo, 80%) !default;
|
---|
98 |
|
---|
99 | $purple-100: tint-color($purple, 80%) !default;
|
---|
100 | $purple-200: tint-color($purple, 60%) !default;
|
---|
101 | $purple-300: tint-color($purple, 40%) !default;
|
---|
102 | $purple-400: tint-color($purple, 20%) !default;
|
---|
103 | $purple-500: $purple !default;
|
---|
104 | $purple-600: shade-color($purple, 20%) !default;
|
---|
105 | $purple-700: shade-color($purple, 40%) !default;
|
---|
106 | $purple-800: shade-color($purple, 60%) !default;
|
---|
107 | $purple-900: shade-color($purple, 80%) !default;
|
---|
108 |
|
---|
109 | $pink-100: tint-color($pink, 80%) !default;
|
---|
110 | $pink-200: tint-color($pink, 60%) !default;
|
---|
111 | $pink-300: tint-color($pink, 40%) !default;
|
---|
112 | $pink-400: tint-color($pink, 20%) !default;
|
---|
113 | $pink-500: $pink !default;
|
---|
114 | $pink-600: shade-color($pink, 20%) !default;
|
---|
115 | $pink-700: shade-color($pink, 40%) !default;
|
---|
116 | $pink-800: shade-color($pink, 60%) !default;
|
---|
117 | $pink-900: shade-color($pink, 80%) !default;
|
---|
118 |
|
---|
119 | $red-100: tint-color($red, 80%) !default;
|
---|
120 | $red-200: tint-color($red, 60%) !default;
|
---|
121 | $red-300: tint-color($red, 40%) !default;
|
---|
122 | $red-400: tint-color($red, 20%) !default;
|
---|
123 | $red-500: $red !default;
|
---|
124 | $red-600: shade-color($red, 20%) !default;
|
---|
125 | $red-700: shade-color($red, 40%) !default;
|
---|
126 | $red-800: shade-color($red, 60%) !default;
|
---|
127 | $red-900: shade-color($red, 80%) !default;
|
---|
128 |
|
---|
129 | $orange-100: tint-color($orange, 80%) !default;
|
---|
130 | $orange-200: tint-color($orange, 60%) !default;
|
---|
131 | $orange-300: tint-color($orange, 40%) !default;
|
---|
132 | $orange-400: tint-color($orange, 20%) !default;
|
---|
133 | $orange-500: $orange !default;
|
---|
134 | $orange-600: shade-color($orange, 20%) !default;
|
---|
135 | $orange-700: shade-color($orange, 40%) !default;
|
---|
136 | $orange-800: shade-color($orange, 60%) !default;
|
---|
137 | $orange-900: shade-color($orange, 80%) !default;
|
---|
138 |
|
---|
139 | $yellow-100: tint-color($yellow, 80%) !default;
|
---|
140 | $yellow-200: tint-color($yellow, 60%) !default;
|
---|
141 | $yellow-300: tint-color($yellow, 40%) !default;
|
---|
142 | $yellow-400: tint-color($yellow, 20%) !default;
|
---|
143 | $yellow-500: $yellow !default;
|
---|
144 | $yellow-600: shade-color($yellow, 20%) !default;
|
---|
145 | $yellow-700: shade-color($yellow, 40%) !default;
|
---|
146 | $yellow-800: shade-color($yellow, 60%) !default;
|
---|
147 | $yellow-900: shade-color($yellow, 80%) !default;
|
---|
148 |
|
---|
149 | $green-100: tint-color($green, 80%) !default;
|
---|
150 | $green-200: tint-color($green, 60%) !default;
|
---|
151 | $green-300: tint-color($green, 40%) !default;
|
---|
152 | $green-400: tint-color($green, 20%) !default;
|
---|
153 | $green-500: $green !default;
|
---|
154 | $green-600: shade-color($green, 20%) !default;
|
---|
155 | $green-700: shade-color($green, 40%) !default;
|
---|
156 | $green-800: shade-color($green, 60%) !default;
|
---|
157 | $green-900: shade-color($green, 80%) !default;
|
---|
158 |
|
---|
159 | $teal-100: tint-color($teal, 80%) !default;
|
---|
160 | $teal-200: tint-color($teal, 60%) !default;
|
---|
161 | $teal-300: tint-color($teal, 40%) !default;
|
---|
162 | $teal-400: tint-color($teal, 20%) !default;
|
---|
163 | $teal-500: $teal !default;
|
---|
164 | $teal-600: shade-color($teal, 20%) !default;
|
---|
165 | $teal-700: shade-color($teal, 40%) !default;
|
---|
166 | $teal-800: shade-color($teal, 60%) !default;
|
---|
167 | $teal-900: shade-color($teal, 80%) !default;
|
---|
168 |
|
---|
169 | $cyan-100: tint-color($cyan, 80%) !default;
|
---|
170 | $cyan-200: tint-color($cyan, 60%) !default;
|
---|
171 | $cyan-300: tint-color($cyan, 40%) !default;
|
---|
172 | $cyan-400: tint-color($cyan, 20%) !default;
|
---|
173 | $cyan-500: $cyan !default;
|
---|
174 | $cyan-600: shade-color($cyan, 20%) !default;
|
---|
175 | $cyan-700: shade-color($cyan, 40%) !default;
|
---|
176 | $cyan-800: shade-color($cyan, 60%) !default;
|
---|
177 | $cyan-900: shade-color($cyan, 80%) !default;
|
---|
178 |
|
---|
179 | $blues: (
|
---|
180 | "blue-100": $blue-100,
|
---|
181 | "blue-200": $blue-200,
|
---|
182 | "blue-300": $blue-300,
|
---|
183 | "blue-400": $blue-400,
|
---|
184 | "blue-500": $blue-500,
|
---|
185 | "blue-600": $blue-600,
|
---|
186 | "blue-700": $blue-700,
|
---|
187 | "blue-800": $blue-800,
|
---|
188 | "blue-900": $blue-900
|
---|
189 | ) !default;
|
---|
190 |
|
---|
191 | $indigos: (
|
---|
192 | "indigo-100": $indigo-100,
|
---|
193 | "indigo-200": $indigo-200,
|
---|
194 | "indigo-300": $indigo-300,
|
---|
195 | "indigo-400": $indigo-400,
|
---|
196 | "indigo-500": $indigo-500,
|
---|
197 | "indigo-600": $indigo-600,
|
---|
198 | "indigo-700": $indigo-700,
|
---|
199 | "indigo-800": $indigo-800,
|
---|
200 | "indigo-900": $indigo-900
|
---|
201 | ) !default;
|
---|
202 |
|
---|
203 | $purples: (
|
---|
204 | "purple-100": $purple-100,
|
---|
205 | "purple-200": $purple-200,
|
---|
206 | "purple-300": $purple-300,
|
---|
207 | "purple-400": $purple-400,
|
---|
208 | "purple-500": $purple-500,
|
---|
209 | "purple-600": $purple-600,
|
---|
210 | "purple-700": $purple-700,
|
---|
211 | "purple-800": $purple-800,
|
---|
212 | "purple-900": $purple-900
|
---|
213 | ) !default;
|
---|
214 |
|
---|
215 | $pinks: (
|
---|
216 | "pink-100": $pink-100,
|
---|
217 | "pink-200": $pink-200,
|
---|
218 | "pink-300": $pink-300,
|
---|
219 | "pink-400": $pink-400,
|
---|
220 | "pink-500": $pink-500,
|
---|
221 | "pink-600": $pink-600,
|
---|
222 | "pink-700": $pink-700,
|
---|
223 | "pink-800": $pink-800,
|
---|
224 | "pink-900": $pink-900
|
---|
225 | ) !default;
|
---|
226 |
|
---|
227 | $reds: (
|
---|
228 | "red-100": $red-100,
|
---|
229 | "red-200": $red-200,
|
---|
230 | "red-300": $red-300,
|
---|
231 | "red-400": $red-400,
|
---|
232 | "red-500": $red-500,
|
---|
233 | "red-600": $red-600,
|
---|
234 | "red-700": $red-700,
|
---|
235 | "red-800": $red-800,
|
---|
236 | "red-900": $red-900
|
---|
237 | ) !default;
|
---|
238 |
|
---|
239 | $oranges: (
|
---|
240 | "orange-100": $orange-100,
|
---|
241 | "orange-200": $orange-200,
|
---|
242 | "orange-300": $orange-300,
|
---|
243 | "orange-400": $orange-400,
|
---|
244 | "orange-500": $orange-500,
|
---|
245 | "orange-600": $orange-600,
|
---|
246 | "orange-700": $orange-700,
|
---|
247 | "orange-800": $orange-800,
|
---|
248 | "orange-900": $orange-900
|
---|
249 | ) !default;
|
---|
250 |
|
---|
251 | $yellows: (
|
---|
252 | "yellow-100": $yellow-100,
|
---|
253 | "yellow-200": $yellow-200,
|
---|
254 | "yellow-300": $yellow-300,
|
---|
255 | "yellow-400": $yellow-400,
|
---|
256 | "yellow-500": $yellow-500,
|
---|
257 | "yellow-600": $yellow-600,
|
---|
258 | "yellow-700": $yellow-700,
|
---|
259 | "yellow-800": $yellow-800,
|
---|
260 | "yellow-900": $yellow-900
|
---|
261 | ) !default;
|
---|
262 |
|
---|
263 | $greens: (
|
---|
264 | "green-100": $green-100,
|
---|
265 | "green-200": $green-200,
|
---|
266 | "green-300": $green-300,
|
---|
267 | "green-400": $green-400,
|
---|
268 | "green-500": $green-500,
|
---|
269 | "green-600": $green-600,
|
---|
270 | "green-700": $green-700,
|
---|
271 | "green-800": $green-800,
|
---|
272 | "green-900": $green-900
|
---|
273 | ) !default;
|
---|
274 |
|
---|
275 | $teals: (
|
---|
276 | "teal-100": $teal-100,
|
---|
277 | "teal-200": $teal-200,
|
---|
278 | "teal-300": $teal-300,
|
---|
279 | "teal-400": $teal-400,
|
---|
280 | "teal-500": $teal-500,
|
---|
281 | "teal-600": $teal-600,
|
---|
282 | "teal-700": $teal-700,
|
---|
283 | "teal-800": $teal-800,
|
---|
284 | "teal-900": $teal-900
|
---|
285 | ) !default;
|
---|
286 |
|
---|
287 | $cyans: (
|
---|
288 | "cyan-100": $cyan-100,
|
---|
289 | "cyan-200": $cyan-200,
|
---|
290 | "cyan-300": $cyan-300,
|
---|
291 | "cyan-400": $cyan-400,
|
---|
292 | "cyan-500": $cyan-500,
|
---|
293 | "cyan-600": $cyan-600,
|
---|
294 | "cyan-700": $cyan-700,
|
---|
295 | "cyan-800": $cyan-800,
|
---|
296 | "cyan-900": $cyan-900
|
---|
297 | ) !default;
|
---|
298 | // fusv-enable
|
---|
299 |
|
---|
300 | // scss-docs-start theme-color-variables
|
---|
301 | $primary: $blue !default;
|
---|
302 | $secondary: $gray-600 !default;
|
---|
303 | $success: $green !default;
|
---|
304 | $info: $cyan !default;
|
---|
305 | $warning: $yellow !default;
|
---|
306 | $danger: $red !default;
|
---|
307 | $light: $gray-100 !default;
|
---|
308 | $dark: $gray-900 !default;
|
---|
309 | // scss-docs-end theme-color-variables
|
---|
310 |
|
---|
311 | // scss-docs-start theme-colors-map
|
---|
312 | $theme-colors: (
|
---|
313 | "primary": $primary,
|
---|
314 | "secondary": $secondary,
|
---|
315 | "success": $success,
|
---|
316 | "info": $info,
|
---|
317 | "warning": $warning,
|
---|
318 | "danger": $danger,
|
---|
319 | "light": $light,
|
---|
320 | "dark": $dark
|
---|
321 | ) !default;
|
---|
322 | // scss-docs-end theme-colors-map
|
---|
323 |
|
---|
324 | // scss-docs-start theme-text-variables
|
---|
325 | $primary-text-emphasis: shade-color($primary, 60%) !default;
|
---|
326 | $secondary-text-emphasis: shade-color($secondary, 60%) !default;
|
---|
327 | $success-text-emphasis: shade-color($success, 60%) !default;
|
---|
328 | $info-text-emphasis: shade-color($info, 60%) !default;
|
---|
329 | $warning-text-emphasis: shade-color($warning, 60%) !default;
|
---|
330 | $danger-text-emphasis: shade-color($danger, 60%) !default;
|
---|
331 | $light-text-emphasis: $gray-700 !default;
|
---|
332 | $dark-text-emphasis: $gray-700 !default;
|
---|
333 | // scss-docs-end theme-text-variables
|
---|
334 |
|
---|
335 | // scss-docs-start theme-bg-subtle-variables
|
---|
336 | $primary-bg-subtle: tint-color($primary, 80%) !default;
|
---|
337 | $secondary-bg-subtle: tint-color($secondary, 80%) !default;
|
---|
338 | $success-bg-subtle: tint-color($success, 80%) !default;
|
---|
339 | $info-bg-subtle: tint-color($info, 80%) !default;
|
---|
340 | $warning-bg-subtle: tint-color($warning, 80%) !default;
|
---|
341 | $danger-bg-subtle: tint-color($danger, 80%) !default;
|
---|
342 | $light-bg-subtle: mix($gray-100, $white) !default;
|
---|
343 | $dark-bg-subtle: $gray-400 !default;
|
---|
344 | // scss-docs-end theme-bg-subtle-variables
|
---|
345 |
|
---|
346 | // scss-docs-start theme-border-subtle-variables
|
---|
347 | $primary-border-subtle: tint-color($primary, 60%) !default;
|
---|
348 | $secondary-border-subtle: tint-color($secondary, 60%) !default;
|
---|
349 | $success-border-subtle: tint-color($success, 60%) !default;
|
---|
350 | $info-border-subtle: tint-color($info, 60%) !default;
|
---|
351 | $warning-border-subtle: tint-color($warning, 60%) !default;
|
---|
352 | $danger-border-subtle: tint-color($danger, 60%) !default;
|
---|
353 | $light-border-subtle: $gray-200 !default;
|
---|
354 | $dark-border-subtle: $gray-500 !default;
|
---|
355 | // scss-docs-end theme-border-subtle-variables
|
---|
356 |
|
---|
357 | // Characters which are escaped by the escape-svg function
|
---|
358 | $escaped-characters: (
|
---|
359 | ("<", "%3c"),
|
---|
360 | (">", "%3e"),
|
---|
361 | ("#", "%23"),
|
---|
362 | ("(", "%28"),
|
---|
363 | (")", "%29"),
|
---|
364 | ) !default;
|
---|
365 |
|
---|
366 | // Options
|
---|
367 | //
|
---|
368 | // Quickly modify global styling by enabling or disabling optional features.
|
---|
369 |
|
---|
370 | $enable-caret: true !default;
|
---|
371 | $enable-rounded: true !default;
|
---|
372 | $enable-shadows: false !default;
|
---|
373 | $enable-gradients: false !default;
|
---|
374 | $enable-transitions: true !default;
|
---|
375 | $enable-reduced-motion: true !default;
|
---|
376 | $enable-smooth-scroll: true !default;
|
---|
377 | $enable-grid-classes: true !default;
|
---|
378 | $enable-container-classes: true !default;
|
---|
379 | $enable-cssgrid: false !default;
|
---|
380 | $enable-button-pointers: true !default;
|
---|
381 | $enable-rfs: true !default;
|
---|
382 | $enable-validation-icons: true !default;
|
---|
383 | $enable-negative-margins: false !default;
|
---|
384 | $enable-deprecation-messages: true !default;
|
---|
385 | $enable-important-utilities: true !default;
|
---|
386 |
|
---|
387 | $enable-dark-mode: true !default;
|
---|
388 | $color-mode-type: data !default; // `data` or `media-query`
|
---|
389 |
|
---|
390 | // Prefix for :root CSS variables
|
---|
391 |
|
---|
392 | $variable-prefix: bs- !default; // Deprecated in v5.2.0 for the shorter `$prefix`
|
---|
393 | $prefix: $variable-prefix !default;
|
---|
394 |
|
---|
395 | // Gradient
|
---|
396 | //
|
---|
397 | // The gradient which is added to components if `$enable-gradients` is `true`
|
---|
398 | // This gradient is also added to elements with `.bg-gradient`
|
---|
399 | // scss-docs-start variable-gradient
|
---|
400 | $gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0)) !default;
|
---|
401 | // scss-docs-end variable-gradient
|
---|
402 |
|
---|
403 | // Spacing
|
---|
404 | //
|
---|
405 | // Control the default styling of most Bootstrap elements by modifying these
|
---|
406 | // variables. Mostly focused on spacing.
|
---|
407 | // You can add more entries to the $spacers map, should you need more variation.
|
---|
408 |
|
---|
409 | // scss-docs-start spacer-variables-maps
|
---|
410 | $spacer: 1rem !default;
|
---|
411 | $spacers: (
|
---|
412 | 0: 0,
|
---|
413 | 1: $spacer * .25,
|
---|
414 | 2: $spacer * .5,
|
---|
415 | 3: $spacer,
|
---|
416 | 4: $spacer * 1.5,
|
---|
417 | 5: $spacer * 3,
|
---|
418 | ) !default;
|
---|
419 | // scss-docs-end spacer-variables-maps
|
---|
420 |
|
---|
421 | // Position
|
---|
422 | //
|
---|
423 | // Define the edge positioning anchors of the position utilities.
|
---|
424 |
|
---|
425 | // scss-docs-start position-map
|
---|
426 | $position-values: (
|
---|
427 | 0: 0,
|
---|
428 | 50: 50%,
|
---|
429 | 100: 100%
|
---|
430 | ) !default;
|
---|
431 | // scss-docs-end position-map
|
---|
432 |
|
---|
433 | // Body
|
---|
434 | //
|
---|
435 | // Settings for the `<body>` element.
|
---|
436 |
|
---|
437 | $body-text-align: null !default;
|
---|
438 | $body-color: $gray-900 !default;
|
---|
439 | $body-bg: $white !default;
|
---|
440 |
|
---|
441 | $body-secondary-color: rgba($body-color, .75) !default;
|
---|
442 | $body-secondary-bg: $gray-200 !default;
|
---|
443 |
|
---|
444 | $body-tertiary-color: rgba($body-color, .5) !default;
|
---|
445 | $body-tertiary-bg: $gray-100 !default;
|
---|
446 |
|
---|
447 | $body-emphasis-color: $black !default;
|
---|
448 |
|
---|
449 | // Links
|
---|
450 | //
|
---|
451 | // Style anchor elements.
|
---|
452 |
|
---|
453 | $link-color: $primary !default;
|
---|
454 | $link-decoration: underline !default;
|
---|
455 | $link-shade-percentage: 20% !default;
|
---|
456 | $link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
|
---|
457 | $link-hover-decoration: null !default;
|
---|
458 |
|
---|
459 | $stretched-link-pseudo-element: after !default;
|
---|
460 | $stretched-link-z-index: 1 !default;
|
---|
461 |
|
---|
462 | // Icon links
|
---|
463 | // scss-docs-start icon-link-variables
|
---|
464 | $icon-link-gap: .375rem !default;
|
---|
465 | $icon-link-underline-offset: .25em !default;
|
---|
466 | $icon-link-icon-size: 1em !default;
|
---|
467 | $icon-link-icon-transition: .2s ease-in-out transform !default;
|
---|
468 | $icon-link-icon-transform: translate3d(.25em, 0, 0) !default;
|
---|
469 | // scss-docs-end icon-link-variables
|
---|
470 |
|
---|
471 | // Paragraphs
|
---|
472 | //
|
---|
473 | // Style p element.
|
---|
474 |
|
---|
475 | $paragraph-margin-bottom: 1rem !default;
|
---|
476 |
|
---|
477 |
|
---|
478 | // Grid breakpoints
|
---|
479 | //
|
---|
480 | // Define the minimum dimensions at which your layout will change,
|
---|
481 | // adapting to different screen sizes, for use in media queries.
|
---|
482 |
|
---|
483 | // scss-docs-start grid-breakpoints
|
---|
484 | $grid-breakpoints: (
|
---|
485 | xs: 0,
|
---|
486 | sm: 576px,
|
---|
487 | md: 768px,
|
---|
488 | lg: 992px,
|
---|
489 | xl: 1200px,
|
---|
490 | xxl: 1400px
|
---|
491 | ) !default;
|
---|
492 | // scss-docs-end grid-breakpoints
|
---|
493 |
|
---|
494 | @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
---|
495 | @include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
|
---|
496 |
|
---|
497 |
|
---|
498 | // Grid containers
|
---|
499 | //
|
---|
500 | // Define the maximum width of `.container` for different screen sizes.
|
---|
501 |
|
---|
502 | // scss-docs-start container-max-widths
|
---|
503 | $container-max-widths: (
|
---|
504 | sm: 540px,
|
---|
505 | md: 720px,
|
---|
506 | lg: 960px,
|
---|
507 | xl: 1140px,
|
---|
508 | xxl: 1320px
|
---|
509 | ) !default;
|
---|
510 | // scss-docs-end container-max-widths
|
---|
511 |
|
---|
512 | @include _assert-ascending($container-max-widths, "$container-max-widths");
|
---|
513 |
|
---|
514 |
|
---|
515 | // Grid columns
|
---|
516 | //
|
---|
517 | // Set the number of columns and specify the width of the gutters.
|
---|
518 |
|
---|
519 | $grid-columns: 12 !default;
|
---|
520 | $grid-gutter-width: 1.5rem !default;
|
---|
521 | $grid-row-columns: 6 !default;
|
---|
522 |
|
---|
523 | // Container padding
|
---|
524 |
|
---|
525 | $container-padding-x: $grid-gutter-width !default;
|
---|
526 |
|
---|
527 |
|
---|
528 | // Components
|
---|
529 | //
|
---|
530 | // Define common padding and border radius sizes and more.
|
---|
531 |
|
---|
532 | // scss-docs-start border-variables
|
---|
533 | $border-width: 1px !default;
|
---|
534 | $border-widths: (
|
---|
535 | 1: 1px,
|
---|
536 | 2: 2px,
|
---|
537 | 3: 3px,
|
---|
538 | 4: 4px,
|
---|
539 | 5: 5px
|
---|
540 | ) !default;
|
---|
541 | $border-style: solid !default;
|
---|
542 | $border-color: $gray-300 !default;
|
---|
543 | $border-color-translucent: rgba($black, .175) !default;
|
---|
544 | // scss-docs-end border-variables
|
---|
545 |
|
---|
546 | // scss-docs-start border-radius-variables
|
---|
547 | $border-radius: .375rem !default;
|
---|
548 | $border-radius-sm: .25rem !default;
|
---|
549 | $border-radius-lg: .5rem !default;
|
---|
550 | $border-radius-xl: 1rem !default;
|
---|
551 | $border-radius-xxl: 2rem !default;
|
---|
552 | $border-radius-pill: 50rem !default;
|
---|
553 | // scss-docs-end border-radius-variables
|
---|
554 | // fusv-disable
|
---|
555 | $border-radius-2xl: $border-radius-xxl !default; // Deprecated in v5.3.0
|
---|
556 | // fusv-enable
|
---|
557 |
|
---|
558 | // scss-docs-start box-shadow-variables
|
---|
559 | $box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
|
---|
560 | $box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
|
---|
561 | $box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
|
---|
562 | $box-shadow-inset: inset 0 1px 2px rgba($black, .075) !default;
|
---|
563 | // scss-docs-end box-shadow-variables
|
---|
564 |
|
---|
565 | $component-active-color: $white !default;
|
---|
566 | $component-active-bg: $primary !default;
|
---|
567 |
|
---|
568 | // scss-docs-start focus-ring-variables
|
---|
569 | $focus-ring-width: .25rem !default;
|
---|
570 | $focus-ring-opacity: .25 !default;
|
---|
571 | $focus-ring-color: rgba($primary, $focus-ring-opacity) !default;
|
---|
572 | $focus-ring-blur: 0 !default;
|
---|
573 | $focus-ring-box-shadow: 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color !default;
|
---|
574 | // scss-docs-end focus-ring-variables
|
---|
575 |
|
---|
576 | // scss-docs-start caret-variables
|
---|
577 | $caret-width: .3em !default;
|
---|
578 | $caret-vertical-align: $caret-width * .85 !default;
|
---|
579 | $caret-spacing: $caret-width * .85 !default;
|
---|
580 | // scss-docs-end caret-variables
|
---|
581 |
|
---|
582 | $transition-base: all .2s ease-in-out !default;
|
---|
583 | $transition-fade: opacity .15s linear !default;
|
---|
584 | // scss-docs-start collapse-transition
|
---|
585 | $transition-collapse: height .35s ease !default;
|
---|
586 | $transition-collapse-width: width .35s ease !default;
|
---|
587 | // scss-docs-end collapse-transition
|
---|
588 |
|
---|
589 | // stylelint-disable function-disallowed-list
|
---|
590 | // scss-docs-start aspect-ratios
|
---|
591 | $aspect-ratios: (
|
---|
592 | "1x1": 100%,
|
---|
593 | "4x3": calc(3 / 4 * 100%),
|
---|
594 | "16x9": calc(9 / 16 * 100%),
|
---|
595 | "21x9": calc(9 / 21 * 100%)
|
---|
596 | ) !default;
|
---|
597 | // scss-docs-end aspect-ratios
|
---|
598 | // stylelint-enable function-disallowed-list
|
---|
599 |
|
---|
600 | // Typography
|
---|
601 | //
|
---|
602 | // Font, line-height, and color for body text, headings, and more.
|
---|
603 |
|
---|
604 | // scss-docs-start font-variables
|
---|
605 | // stylelint-disable value-keyword-case
|
---|
606 | $font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
---|
607 | $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
---|
608 | // stylelint-enable value-keyword-case
|
---|
609 | $font-family-base: var(--#{$prefix}font-sans-serif) !default;
|
---|
610 | $font-family-code: var(--#{$prefix}font-monospace) !default;
|
---|
611 |
|
---|
612 | // $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
|
---|
613 | // $font-size-base affects the font size of the body text
|
---|
614 | $font-size-root: null !default;
|
---|
615 | $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
|
---|
616 | $font-size-sm: $font-size-base * .875 !default;
|
---|
617 | $font-size-lg: $font-size-base * 1.25 !default;
|
---|
618 |
|
---|
619 | $font-weight-lighter: lighter !default;
|
---|
620 | $font-weight-light: 300 !default;
|
---|
621 | $font-weight-normal: 400 !default;
|
---|
622 | $font-weight-medium: 500 !default;
|
---|
623 | $font-weight-semibold: 600 !default;
|
---|
624 | $font-weight-bold: 700 !default;
|
---|
625 | $font-weight-bolder: bolder !default;
|
---|
626 |
|
---|
627 | $font-weight-base: $font-weight-normal !default;
|
---|
628 |
|
---|
629 | $line-height-base: 1.5 !default;
|
---|
630 | $line-height-sm: 1.25 !default;
|
---|
631 | $line-height-lg: 2 !default;
|
---|
632 |
|
---|
633 | $h1-font-size: $font-size-base * 2.5 !default;
|
---|
634 | $h2-font-size: $font-size-base * 2 !default;
|
---|
635 | $h3-font-size: $font-size-base * 1.75 !default;
|
---|
636 | $h4-font-size: $font-size-base * 1.5 !default;
|
---|
637 | $h5-font-size: $font-size-base * 1.25 !default;
|
---|
638 | $h6-font-size: $font-size-base !default;
|
---|
639 | // scss-docs-end font-variables
|
---|
640 |
|
---|
641 | // scss-docs-start font-sizes
|
---|
642 | $font-sizes: (
|
---|
643 | 1: $h1-font-size,
|
---|
644 | 2: $h2-font-size,
|
---|
645 | 3: $h3-font-size,
|
---|
646 | 4: $h4-font-size,
|
---|
647 | 5: $h5-font-size,
|
---|
648 | 6: $h6-font-size
|
---|
649 | ) !default;
|
---|
650 | // scss-docs-end font-sizes
|
---|
651 |
|
---|
652 | // scss-docs-start headings-variables
|
---|
653 | $headings-margin-bottom: $spacer * .5 !default;
|
---|
654 | $headings-font-family: null !default;
|
---|
655 | $headings-font-style: null !default;
|
---|
656 | $headings-font-weight: 500 !default;
|
---|
657 | $headings-line-height: 1.2 !default;
|
---|
658 | $headings-color: inherit !default;
|
---|
659 | // scss-docs-end headings-variables
|
---|
660 |
|
---|
661 | // scss-docs-start display-headings
|
---|
662 | $display-font-sizes: (
|
---|
663 | 1: 5rem,
|
---|
664 | 2: 4.5rem,
|
---|
665 | 3: 4rem,
|
---|
666 | 4: 3.5rem,
|
---|
667 | 5: 3rem,
|
---|
668 | 6: 2.5rem
|
---|
669 | ) !default;
|
---|
670 |
|
---|
671 | $display-font-family: null !default;
|
---|
672 | $display-font-style: null !default;
|
---|
673 | $display-font-weight: 300 !default;
|
---|
674 | $display-line-height: $headings-line-height !default;
|
---|
675 | // scss-docs-end display-headings
|
---|
676 |
|
---|
677 | // scss-docs-start type-variables
|
---|
678 | $lead-font-size: $font-size-base * 1.25 !default;
|
---|
679 | $lead-font-weight: 300 !default;
|
---|
680 |
|
---|
681 | $small-font-size: .875em !default;
|
---|
682 |
|
---|
683 | $sub-sup-font-size: .75em !default;
|
---|
684 |
|
---|
685 | // fusv-disable
|
---|
686 | $text-muted: var(--#{$prefix}secondary-color) !default; // Deprecated in 5.3.0
|
---|
687 | // fusv-enable
|
---|
688 |
|
---|
689 | $initialism-font-size: $small-font-size !default;
|
---|
690 |
|
---|
691 | $blockquote-margin-y: $spacer !default;
|
---|
692 | $blockquote-font-size: $font-size-base * 1.25 !default;
|
---|
693 | $blockquote-footer-color: $gray-600 !default;
|
---|
694 | $blockquote-footer-font-size: $small-font-size !default;
|
---|
695 |
|
---|
696 | $hr-margin-y: $spacer !default;
|
---|
697 | $hr-color: inherit !default;
|
---|
698 |
|
---|
699 | // fusv-disable
|
---|
700 | $hr-bg-color: null !default; // Deprecated in v5.2.0
|
---|
701 | $hr-height: null !default; // Deprecated in v5.2.0
|
---|
702 | // fusv-enable
|
---|
703 |
|
---|
704 | $hr-border-color: null !default; // Allows for inherited colors
|
---|
705 | $hr-border-width: var(--#{$prefix}border-width) !default;
|
---|
706 | $hr-opacity: .25 !default;
|
---|
707 |
|
---|
708 | // scss-docs-start vr-variables
|
---|
709 | $vr-border-width: var(--#{$prefix}border-width) !default;
|
---|
710 | // scss-docs-end vr-variables
|
---|
711 |
|
---|
712 | $legend-margin-bottom: .5rem !default;
|
---|
713 | $legend-font-size: 1.5rem !default;
|
---|
714 | $legend-font-weight: null !default;
|
---|
715 |
|
---|
716 | $dt-font-weight: $font-weight-bold !default;
|
---|
717 |
|
---|
718 | $list-inline-padding: .5rem !default;
|
---|
719 |
|
---|
720 | $mark-padding: .1875em !default;
|
---|
721 | $mark-color: $body-color !default;
|
---|
722 | $mark-bg: $yellow-100 !default;
|
---|
723 | // scss-docs-end type-variables
|
---|
724 |
|
---|
725 |
|
---|
726 | // Tables
|
---|
727 | //
|
---|
728 | // Customizes the `.table` component with basic values, each used across all table variations.
|
---|
729 |
|
---|
730 | // scss-docs-start table-variables
|
---|
731 | $table-cell-padding-y: .5rem !default;
|
---|
732 | $table-cell-padding-x: .5rem !default;
|
---|
733 | $table-cell-padding-y-sm: .25rem !default;
|
---|
734 | $table-cell-padding-x-sm: .25rem !default;
|
---|
735 |
|
---|
736 | $table-cell-vertical-align: top !default;
|
---|
737 |
|
---|
738 | $table-color: var(--#{$prefix}emphasis-color) !default;
|
---|
739 | $table-bg: var(--#{$prefix}body-bg) !default;
|
---|
740 | $table-accent-bg: transparent !default;
|
---|
741 |
|
---|
742 | $table-th-font-weight: null !default;
|
---|
743 |
|
---|
744 | $table-striped-color: $table-color !default;
|
---|
745 | $table-striped-bg-factor: .05 !default;
|
---|
746 | $table-striped-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-striped-bg-factor) !default;
|
---|
747 |
|
---|
748 | $table-active-color: $table-color !default;
|
---|
749 | $table-active-bg-factor: .1 !default;
|
---|
750 | $table-active-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-active-bg-factor) !default;
|
---|
751 |
|
---|
752 | $table-hover-color: $table-color !default;
|
---|
753 | $table-hover-bg-factor: .075 !default;
|
---|
754 | $table-hover-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-hover-bg-factor) !default;
|
---|
755 |
|
---|
756 | $table-border-factor: .2 !default;
|
---|
757 | $table-border-width: var(--#{$prefix}border-width) !default;
|
---|
758 | $table-border-color: var(--#{$prefix}border-color) !default;
|
---|
759 |
|
---|
760 | $table-striped-order: odd !default;
|
---|
761 | $table-striped-columns-order: even !default;
|
---|
762 |
|
---|
763 | $table-group-separator-color: currentcolor !default;
|
---|
764 |
|
---|
765 | $table-caption-color: var(--#{$prefix}secondary-color) !default;
|
---|
766 |
|
---|
767 | $table-bg-scale: -80% !default;
|
---|
768 | // scss-docs-end table-variables
|
---|
769 |
|
---|
770 | // scss-docs-start table-loop
|
---|
771 | $table-variants: (
|
---|
772 | "primary": shift-color($primary, $table-bg-scale),
|
---|
773 | "secondary": shift-color($secondary, $table-bg-scale),
|
---|
774 | "success": shift-color($success, $table-bg-scale),
|
---|
775 | "info": shift-color($info, $table-bg-scale),
|
---|
776 | "warning": shift-color($warning, $table-bg-scale),
|
---|
777 | "danger": shift-color($danger, $table-bg-scale),
|
---|
778 | "light": $light,
|
---|
779 | "dark": $dark,
|
---|
780 | ) !default;
|
---|
781 | // scss-docs-end table-loop
|
---|
782 |
|
---|
783 |
|
---|
784 | // Buttons + Forms
|
---|
785 | //
|
---|
786 | // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
|
---|
787 |
|
---|
788 | // scss-docs-start input-btn-variables
|
---|
789 | $input-btn-padding-y: .375rem !default;
|
---|
790 | $input-btn-padding-x: .75rem !default;
|
---|
791 | $input-btn-font-family: null !default;
|
---|
792 | $input-btn-font-size: $font-size-base !default;
|
---|
793 | $input-btn-line-height: $line-height-base !default;
|
---|
794 |
|
---|
795 | $input-btn-focus-width: $focus-ring-width !default;
|
---|
796 | $input-btn-focus-color-opacity: $focus-ring-opacity !default;
|
---|
797 | $input-btn-focus-color: $focus-ring-color !default;
|
---|
798 | $input-btn-focus-blur: $focus-ring-blur !default;
|
---|
799 | $input-btn-focus-box-shadow: $focus-ring-box-shadow !default;
|
---|
800 |
|
---|
801 | $input-btn-padding-y-sm: .25rem !default;
|
---|
802 | $input-btn-padding-x-sm: .5rem !default;
|
---|
803 | $input-btn-font-size-sm: $font-size-sm !default;
|
---|
804 |
|
---|
805 | $input-btn-padding-y-lg: .5rem !default;
|
---|
806 | $input-btn-padding-x-lg: 1rem !default;
|
---|
807 | $input-btn-font-size-lg: $font-size-lg !default;
|
---|
808 |
|
---|
809 | $input-btn-border-width: var(--#{$prefix}border-width) !default;
|
---|
810 | // scss-docs-end input-btn-variables
|
---|
811 |
|
---|
812 |
|
---|
813 | // Buttons
|
---|
814 | //
|
---|
815 | // For each of Bootstrap's buttons, define text, background, and border color.
|
---|
816 |
|
---|
817 | // scss-docs-start btn-variables
|
---|
818 | $btn-color: var(--#{$prefix}body-color) !default;
|
---|
819 | $btn-padding-y: $input-btn-padding-y !default;
|
---|
820 | $btn-padding-x: $input-btn-padding-x !default;
|
---|
821 | $btn-font-family: $input-btn-font-family !default;
|
---|
822 | $btn-font-size: $input-btn-font-size !default;
|
---|
823 | $btn-line-height: $input-btn-line-height !default;
|
---|
824 | $btn-white-space: null !default; // Set to `nowrap` to prevent text wrapping
|
---|
825 |
|
---|
826 | $btn-padding-y-sm: $input-btn-padding-y-sm !default;
|
---|
827 | $btn-padding-x-sm: $input-btn-padding-x-sm !default;
|
---|
828 | $btn-font-size-sm: $input-btn-font-size-sm !default;
|
---|
829 |
|
---|
830 | $btn-padding-y-lg: $input-btn-padding-y-lg !default;
|
---|
831 | $btn-padding-x-lg: $input-btn-padding-x-lg !default;
|
---|
832 | $btn-font-size-lg: $input-btn-font-size-lg !default;
|
---|
833 |
|
---|
834 | $btn-border-width: $input-btn-border-width !default;
|
---|
835 |
|
---|
836 | $btn-font-weight: $font-weight-normal !default;
|
---|
837 | $btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
|
---|
838 | $btn-focus-width: $input-btn-focus-width !default;
|
---|
839 | $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
---|
840 | $btn-disabled-opacity: .65 !default;
|
---|
841 | $btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
|
---|
842 |
|
---|
843 | $btn-link-color: var(--#{$prefix}link-color) !default;
|
---|
844 | $btn-link-hover-color: var(--#{$prefix}link-hover-color) !default;
|
---|
845 | $btn-link-disabled-color: $gray-600 !default;
|
---|
846 | $btn-link-focus-shadow-rgb: to-rgb(mix(color-contrast($link-color), $link-color, 15%)) !default;
|
---|
847 |
|
---|
848 | // Allows for customizing button radius independently from global border radius
|
---|
849 | $btn-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
850 | $btn-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
|
---|
851 | $btn-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
|
---|
852 |
|
---|
853 | $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;
|
---|
854 |
|
---|
855 | $btn-hover-bg-shade-amount: 15% !default;
|
---|
856 | $btn-hover-bg-tint-amount: 15% !default;
|
---|
857 | $btn-hover-border-shade-amount: 20% !default;
|
---|
858 | $btn-hover-border-tint-amount: 10% !default;
|
---|
859 | $btn-active-bg-shade-amount: 20% !default;
|
---|
860 | $btn-active-bg-tint-amount: 20% !default;
|
---|
861 | $btn-active-border-shade-amount: 25% !default;
|
---|
862 | $btn-active-border-tint-amount: 10% !default;
|
---|
863 | // scss-docs-end btn-variables
|
---|
864 |
|
---|
865 |
|
---|
866 | // Forms
|
---|
867 |
|
---|
868 | // scss-docs-start form-text-variables
|
---|
869 | $form-text-margin-top: .25rem !default;
|
---|
870 | $form-text-font-size: $small-font-size !default;
|
---|
871 | $form-text-font-style: null !default;
|
---|
872 | $form-text-font-weight: null !default;
|
---|
873 | $form-text-color: var(--#{$prefix}secondary-color) !default;
|
---|
874 | // scss-docs-end form-text-variables
|
---|
875 |
|
---|
876 | // scss-docs-start form-label-variables
|
---|
877 | $form-label-margin-bottom: .5rem !default;
|
---|
878 | $form-label-font-size: null !default;
|
---|
879 | $form-label-font-style: null !default;
|
---|
880 | $form-label-font-weight: null !default;
|
---|
881 | $form-label-color: null !default;
|
---|
882 | // scss-docs-end form-label-variables
|
---|
883 |
|
---|
884 | // scss-docs-start form-input-variables
|
---|
885 | $input-padding-y: $input-btn-padding-y !default;
|
---|
886 | $input-padding-x: $input-btn-padding-x !default;
|
---|
887 | $input-font-family: $input-btn-font-family !default;
|
---|
888 | $input-font-size: $input-btn-font-size !default;
|
---|
889 | $input-font-weight: $font-weight-base !default;
|
---|
890 | $input-line-height: $input-btn-line-height !default;
|
---|
891 |
|
---|
892 | $input-padding-y-sm: $input-btn-padding-y-sm !default;
|
---|
893 | $input-padding-x-sm: $input-btn-padding-x-sm !default;
|
---|
894 | $input-font-size-sm: $input-btn-font-size-sm !default;
|
---|
895 |
|
---|
896 | $input-padding-y-lg: $input-btn-padding-y-lg !default;
|
---|
897 | $input-padding-x-lg: $input-btn-padding-x-lg !default;
|
---|
898 | $input-font-size-lg: $input-btn-font-size-lg !default;
|
---|
899 |
|
---|
900 | $input-bg: var(--#{$prefix}body-bg) !default;
|
---|
901 | $input-disabled-color: null !default;
|
---|
902 | $input-disabled-bg: var(--#{$prefix}secondary-bg) !default;
|
---|
903 | $input-disabled-border-color: null !default;
|
---|
904 |
|
---|
905 | $input-color: var(--#{$prefix}body-color) !default;
|
---|
906 | $input-border-color: var(--#{$prefix}border-color) !default;
|
---|
907 | $input-border-width: $input-btn-border-width !default;
|
---|
908 | $input-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
|
---|
909 |
|
---|
910 | $input-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
911 | $input-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
|
---|
912 | $input-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
|
---|
913 |
|
---|
914 | $input-focus-bg: $input-bg !default;
|
---|
915 | $input-focus-border-color: tint-color($component-active-bg, 50%) !default;
|
---|
916 | $input-focus-color: $input-color !default;
|
---|
917 | $input-focus-width: $input-btn-focus-width !default;
|
---|
918 | $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
---|
919 |
|
---|
920 | $input-placeholder-color: var(--#{$prefix}secondary-color) !default;
|
---|
921 | $input-plaintext-color: var(--#{$prefix}body-color) !default;
|
---|
922 |
|
---|
923 | $input-height-border: calc(#{$input-border-width} * 2) !default; // stylelint-disable-line function-disallowed-list
|
---|
924 |
|
---|
925 | $input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default;
|
---|
926 | $input-height-inner-half: add($input-line-height * .5em, $input-padding-y) !default;
|
---|
927 | $input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y * .5) !default;
|
---|
928 |
|
---|
929 | $input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default;
|
---|
930 | $input-height-sm: add($input-line-height * 1em, add($input-padding-y-sm * 2, $input-height-border, false)) !default;
|
---|
931 | $input-height-lg: add($input-line-height * 1em, add($input-padding-y-lg * 2, $input-height-border, false)) !default;
|
---|
932 |
|
---|
933 | $input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
---|
934 |
|
---|
935 | $form-color-width: 3rem !default;
|
---|
936 | // scss-docs-end form-input-variables
|
---|
937 |
|
---|
938 | // scss-docs-start form-check-variables
|
---|
939 | $form-check-input-width: 1em !default;
|
---|
940 | $form-check-min-height: $font-size-base * $line-height-base !default;
|
---|
941 | $form-check-padding-start: $form-check-input-width + .5em !default;
|
---|
942 | $form-check-margin-bottom: .125rem !default;
|
---|
943 | $form-check-label-color: null !default;
|
---|
944 | $form-check-label-cursor: null !default;
|
---|
945 | $form-check-transition: null !default;
|
---|
946 |
|
---|
947 | $form-check-input-active-filter: brightness(90%) !default;
|
---|
948 |
|
---|
949 | $form-check-input-bg: $input-bg !default;
|
---|
950 | $form-check-input-border: var(--#{$prefix}border-width) solid var(--#{$prefix}border-color) !default;
|
---|
951 | $form-check-input-border-radius: .25em !default;
|
---|
952 | $form-check-radio-border-radius: 50% !default;
|
---|
953 | $form-check-input-focus-border: $input-focus-border-color !default;
|
---|
954 | $form-check-input-focus-box-shadow: $focus-ring-box-shadow !default;
|
---|
955 |
|
---|
956 | $form-check-input-checked-color: $component-active-color !default;
|
---|
957 | $form-check-input-checked-bg-color: $component-active-bg !default;
|
---|
958 | $form-check-input-checked-border-color: $form-check-input-checked-bg-color !default;
|
---|
959 | $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 10 3 3 6-6'/></svg>") !default;
|
---|
960 | $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;
|
---|
961 |
|
---|
962 | $form-check-input-indeterminate-color: $component-active-color !default;
|
---|
963 | $form-check-input-indeterminate-bg-color: $component-active-bg !default;
|
---|
964 | $form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color !default;
|
---|
965 | $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;
|
---|
966 |
|
---|
967 | $form-check-input-disabled-opacity: .5 !default;
|
---|
968 | $form-check-label-disabled-opacity: $form-check-input-disabled-opacity !default;
|
---|
969 | $form-check-btn-check-disabled-opacity: $btn-disabled-opacity !default;
|
---|
970 |
|
---|
971 | $form-check-inline-margin-end: 1rem !default;
|
---|
972 | // scss-docs-end form-check-variables
|
---|
973 |
|
---|
974 | // scss-docs-start form-switch-variables
|
---|
975 | $form-switch-color: rgba($black, .25) !default;
|
---|
976 | $form-switch-width: 2em !default;
|
---|
977 | $form-switch-padding-start: $form-switch-width + .5em !default;
|
---|
978 | $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;
|
---|
979 | $form-switch-border-radius: $form-switch-width !default;
|
---|
980 | $form-switch-transition: background-position .15s ease-in-out !default;
|
---|
981 |
|
---|
982 | $form-switch-focus-color: $input-focus-border-color !default;
|
---|
983 | $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;
|
---|
984 |
|
---|
985 | $form-switch-checked-color: $component-active-color !default;
|
---|
986 | $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;
|
---|
987 | $form-switch-checked-bg-position: right center !default;
|
---|
988 | // scss-docs-end form-switch-variables
|
---|
989 |
|
---|
990 | // scss-docs-start input-group-variables
|
---|
991 | $input-group-addon-padding-y: $input-padding-y !default;
|
---|
992 | $input-group-addon-padding-x: $input-padding-x !default;
|
---|
993 | $input-group-addon-font-weight: $input-font-weight !default;
|
---|
994 | $input-group-addon-color: $input-color !default;
|
---|
995 | $input-group-addon-bg: var(--#{$prefix}tertiary-bg) !default;
|
---|
996 | $input-group-addon-border-color: $input-border-color !default;
|
---|
997 | // scss-docs-end input-group-variables
|
---|
998 |
|
---|
999 | // scss-docs-start form-select-variables
|
---|
1000 | $form-select-padding-y: $input-padding-y !default;
|
---|
1001 | $form-select-padding-x: $input-padding-x !default;
|
---|
1002 | $form-select-font-family: $input-font-family !default;
|
---|
1003 | $form-select-font-size: $input-font-size !default;
|
---|
1004 | $form-select-indicator-padding: $form-select-padding-x * 3 !default; // Extra padding for background-image
|
---|
1005 | $form-select-font-weight: $input-font-weight !default;
|
---|
1006 | $form-select-line-height: $input-line-height !default;
|
---|
1007 | $form-select-color: $input-color !default;
|
---|
1008 | $form-select-bg: $input-bg !default;
|
---|
1009 | $form-select-disabled-color: null !default;
|
---|
1010 | $form-select-disabled-bg: $input-disabled-bg !default;
|
---|
1011 | $form-select-disabled-border-color: $input-disabled-border-color !default;
|
---|
1012 | $form-select-bg-position: right $form-select-padding-x center !default;
|
---|
1013 | $form-select-bg-size: 16px 12px !default; // In pixels because image dimensions
|
---|
1014 | $form-select-indicator-color: $gray-800 !default;
|
---|
1015 | $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 5 6 6 6-6'/></svg>") !default;
|
---|
1016 |
|
---|
1017 | $form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding !default;
|
---|
1018 | $form-select-feedback-icon-position: center right $form-select-indicator-padding !default;
|
---|
1019 | $form-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half !default;
|
---|
1020 |
|
---|
1021 | $form-select-border-width: $input-border-width !default;
|
---|
1022 | $form-select-border-color: $input-border-color !default;
|
---|
1023 | $form-select-border-radius: $input-border-radius !default;
|
---|
1024 | $form-select-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
|
---|
1025 |
|
---|
1026 | $form-select-focus-border-color: $input-focus-border-color !default;
|
---|
1027 | $form-select-focus-width: $input-focus-width !default;
|
---|
1028 | $form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focus-color !default;
|
---|
1029 |
|
---|
1030 | $form-select-padding-y-sm: $input-padding-y-sm !default;
|
---|
1031 | $form-select-padding-x-sm: $input-padding-x-sm !default;
|
---|
1032 | $form-select-font-size-sm: $input-font-size-sm !default;
|
---|
1033 | $form-select-border-radius-sm: $input-border-radius-sm !default;
|
---|
1034 |
|
---|
1035 | $form-select-padding-y-lg: $input-padding-y-lg !default;
|
---|
1036 | $form-select-padding-x-lg: $input-padding-x-lg !default;
|
---|
1037 | $form-select-font-size-lg: $input-font-size-lg !default;
|
---|
1038 | $form-select-border-radius-lg: $input-border-radius-lg !default;
|
---|
1039 |
|
---|
1040 | $form-select-transition: $input-transition !default;
|
---|
1041 | // scss-docs-end form-select-variables
|
---|
1042 |
|
---|
1043 | // scss-docs-start form-range-variables
|
---|
1044 | $form-range-track-width: 100% !default;
|
---|
1045 | $form-range-track-height: .5rem !default;
|
---|
1046 | $form-range-track-cursor: pointer !default;
|
---|
1047 | $form-range-track-bg: var(--#{$prefix}secondary-bg) !default;
|
---|
1048 | $form-range-track-border-radius: 1rem !default;
|
---|
1049 | $form-range-track-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
|
---|
1050 |
|
---|
1051 | $form-range-thumb-width: 1rem !default;
|
---|
1052 | $form-range-thumb-height: $form-range-thumb-width !default;
|
---|
1053 | $form-range-thumb-bg: $component-active-bg !default;
|
---|
1054 | $form-range-thumb-border: 0 !default;
|
---|
1055 | $form-range-thumb-border-radius: 1rem !default;
|
---|
1056 | $form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
|
---|
1057 | $form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
---|
1058 | $form-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in Edge
|
---|
1059 | $form-range-thumb-active-bg: tint-color($component-active-bg, 70%) !default;
|
---|
1060 | $form-range-thumb-disabled-bg: var(--#{$prefix}secondary-color) !default;
|
---|
1061 | $form-range-thumb-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
---|
1062 | // scss-docs-end form-range-variables
|
---|
1063 |
|
---|
1064 | // scss-docs-start form-file-variables
|
---|
1065 | $form-file-button-color: $input-color !default;
|
---|
1066 | $form-file-button-bg: var(--#{$prefix}tertiary-bg) !default;
|
---|
1067 | $form-file-button-hover-bg: var(--#{$prefix}secondary-bg) !default;
|
---|
1068 | // scss-docs-end form-file-variables
|
---|
1069 |
|
---|
1070 | // scss-docs-start form-floating-variables
|
---|
1071 | $form-floating-height: add(3.5rem, $input-height-border) !default;
|
---|
1072 | $form-floating-line-height: 1.25 !default;
|
---|
1073 | $form-floating-padding-x: $input-padding-x !default;
|
---|
1074 | $form-floating-padding-y: 1rem !default;
|
---|
1075 | $form-floating-input-padding-t: 1.625rem !default;
|
---|
1076 | $form-floating-input-padding-b: .625rem !default;
|
---|
1077 | $form-floating-label-height: 1.5em !default;
|
---|
1078 | $form-floating-label-opacity: .65 !default;
|
---|
1079 | $form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
|
---|
1080 | $form-floating-label-disabled-color: $gray-600 !default;
|
---|
1081 | $form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;
|
---|
1082 | // scss-docs-end form-floating-variables
|
---|
1083 |
|
---|
1084 | // Form validation
|
---|
1085 |
|
---|
1086 | // scss-docs-start form-feedback-variables
|
---|
1087 | $form-feedback-margin-top: $form-text-margin-top !default;
|
---|
1088 | $form-feedback-font-size: $form-text-font-size !default;
|
---|
1089 | $form-feedback-font-style: $form-text-font-style !default;
|
---|
1090 | $form-feedback-valid-color: $success !default;
|
---|
1091 | $form-feedback-invalid-color: $danger !default;
|
---|
1092 |
|
---|
1093 | $form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
---|
1094 | $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.73.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;
|
---|
1095 | $form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
|
---|
1096 | $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;
|
---|
1097 | // scss-docs-end form-feedback-variables
|
---|
1098 |
|
---|
1099 | // scss-docs-start form-validation-colors
|
---|
1100 | $form-valid-color: $form-feedback-valid-color !default;
|
---|
1101 | $form-valid-border-color: $form-feedback-valid-color !default;
|
---|
1102 | $form-invalid-color: $form-feedback-invalid-color !default;
|
---|
1103 | $form-invalid-border-color: $form-feedback-invalid-color !default;
|
---|
1104 | // scss-docs-end form-validation-colors
|
---|
1105 |
|
---|
1106 | // scss-docs-start form-validation-states
|
---|
1107 | $form-validation-states: (
|
---|
1108 | "valid": (
|
---|
1109 | "color": var(--#{$prefix}form-valid-color),
|
---|
1110 | "icon": $form-feedback-icon-valid,
|
---|
1111 | "tooltip-color": #fff,
|
---|
1112 | "tooltip-bg-color": var(--#{$prefix}success),
|
---|
1113 | "focus-box-shadow": 0 0 $input-btn-focus-blur $input-focus-width rgba(var(--#{$prefix}success-rgb), $input-btn-focus-color-opacity),
|
---|
1114 | "border-color": var(--#{$prefix}form-valid-border-color),
|
---|
1115 | ),
|
---|
1116 | "invalid": (
|
---|
1117 | "color": var(--#{$prefix}form-invalid-color),
|
---|
1118 | "icon": $form-feedback-icon-invalid,
|
---|
1119 | "tooltip-color": #fff,
|
---|
1120 | "tooltip-bg-color": var(--#{$prefix}danger),
|
---|
1121 | "focus-box-shadow": 0 0 $input-btn-focus-blur $input-focus-width rgba(var(--#{$prefix}danger-rgb), $input-btn-focus-color-opacity),
|
---|
1122 | "border-color": var(--#{$prefix}form-invalid-border-color),
|
---|
1123 | )
|
---|
1124 | ) !default;
|
---|
1125 | // scss-docs-end form-validation-states
|
---|
1126 |
|
---|
1127 | // Z-index master list
|
---|
1128 | //
|
---|
1129 | // Warning: Avoid customizing these values. They're used for a bird's eye view
|
---|
1130 | // of components dependent on the z-axis and are designed to all work together.
|
---|
1131 |
|
---|
1132 | // scss-docs-start zindex-stack
|
---|
1133 | $zindex-dropdown: 1000 !default;
|
---|
1134 | $zindex-sticky: 1020 !default;
|
---|
1135 | $zindex-fixed: 1030 !default;
|
---|
1136 | $zindex-offcanvas-backdrop: 1040 !default;
|
---|
1137 | $zindex-offcanvas: 1045 !default;
|
---|
1138 | $zindex-modal-backdrop: 1050 !default;
|
---|
1139 | $zindex-modal: 1055 !default;
|
---|
1140 | $zindex-popover: 1070 !default;
|
---|
1141 | $zindex-tooltip: 1080 !default;
|
---|
1142 | $zindex-toast: 1090 !default;
|
---|
1143 | // scss-docs-end zindex-stack
|
---|
1144 |
|
---|
1145 | // scss-docs-start zindex-levels-map
|
---|
1146 | $zindex-levels: (
|
---|
1147 | n1: -1,
|
---|
1148 | 0: 0,
|
---|
1149 | 1: 1,
|
---|
1150 | 2: 2,
|
---|
1151 | 3: 3
|
---|
1152 | ) !default;
|
---|
1153 | // scss-docs-end zindex-levels-map
|
---|
1154 |
|
---|
1155 |
|
---|
1156 | // Navs
|
---|
1157 |
|
---|
1158 | // scss-docs-start nav-variables
|
---|
1159 | $nav-link-padding-y: .5rem !default;
|
---|
1160 | $nav-link-padding-x: 1rem !default;
|
---|
1161 | $nav-link-font-size: null !default;
|
---|
1162 | $nav-link-font-weight: null !default;
|
---|
1163 | $nav-link-color: var(--#{$prefix}link-color) !default;
|
---|
1164 | $nav-link-hover-color: var(--#{$prefix}link-hover-color) !default;
|
---|
1165 | $nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
|
---|
1166 | $nav-link-disabled-color: var(--#{$prefix}secondary-color) !default;
|
---|
1167 | $nav-link-focus-box-shadow: $focus-ring-box-shadow !default;
|
---|
1168 |
|
---|
1169 | $nav-tabs-border-color: var(--#{$prefix}border-color) !default;
|
---|
1170 | $nav-tabs-border-width: var(--#{$prefix}border-width) !default;
|
---|
1171 | $nav-tabs-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1172 | $nav-tabs-link-hover-border-color: var(--#{$prefix}secondary-bg) var(--#{$prefix}secondary-bg) $nav-tabs-border-color !default;
|
---|
1173 | $nav-tabs-link-active-color: var(--#{$prefix}emphasis-color) !default;
|
---|
1174 | $nav-tabs-link-active-bg: var(--#{$prefix}body-bg) !default;
|
---|
1175 | $nav-tabs-link-active-border-color: var(--#{$prefix}border-color) var(--#{$prefix}border-color) $nav-tabs-link-active-bg !default;
|
---|
1176 |
|
---|
1177 | $nav-pills-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1178 | $nav-pills-link-active-color: $component-active-color !default;
|
---|
1179 | $nav-pills-link-active-bg: $component-active-bg !default;
|
---|
1180 |
|
---|
1181 | $nav-underline-gap: 1rem !default;
|
---|
1182 | $nav-underline-border-width: .125rem !default;
|
---|
1183 | $nav-underline-link-active-color: var(--#{$prefix}emphasis-color) !default;
|
---|
1184 | // scss-docs-end nav-variables
|
---|
1185 |
|
---|
1186 |
|
---|
1187 | // Navbar
|
---|
1188 |
|
---|
1189 | // scss-docs-start navbar-variables
|
---|
1190 | $navbar-padding-y: $spacer * .5 !default;
|
---|
1191 | $navbar-padding-x: null !default;
|
---|
1192 |
|
---|
1193 | $navbar-nav-link-padding-x: .5rem !default;
|
---|
1194 |
|
---|
1195 | $navbar-brand-font-size: $font-size-lg !default;
|
---|
1196 | // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
---|
1197 | $nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
|
---|
1198 | $navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
|
---|
1199 | $navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) * .5 !default;
|
---|
1200 | $navbar-brand-margin-end: 1rem !default;
|
---|
1201 |
|
---|
1202 | $navbar-toggler-padding-y: .25rem !default;
|
---|
1203 | $navbar-toggler-padding-x: .75rem !default;
|
---|
1204 | $navbar-toggler-font-size: $font-size-lg !default;
|
---|
1205 | $navbar-toggler-border-radius: $btn-border-radius !default;
|
---|
1206 | $navbar-toggler-focus-width: $btn-focus-width !default;
|
---|
1207 | $navbar-toggler-transition: box-shadow .15s ease-in-out !default;
|
---|
1208 |
|
---|
1209 | $navbar-light-color: rgba(var(--#{$prefix}emphasis-color-rgb), .65) !default;
|
---|
1210 | $navbar-light-hover-color: rgba(var(--#{$prefix}emphasis-color-rgb), .8) !default;
|
---|
1211 | $navbar-light-active-color: rgba(var(--#{$prefix}emphasis-color-rgb), 1) !default;
|
---|
1212 | $navbar-light-disabled-color: rgba(var(--#{$prefix}emphasis-color-rgb), .3) !default;
|
---|
1213 | $navbar-light-icon-color: rgba($body-color, .75) !default;
|
---|
1214 | $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-icon-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
|
---|
1215 | $navbar-light-toggler-border-color: rgba(var(--#{$prefix}emphasis-color-rgb), .15) !default;
|
---|
1216 | $navbar-light-brand-color: $navbar-light-active-color !default;
|
---|
1217 | $navbar-light-brand-hover-color: $navbar-light-active-color !default;
|
---|
1218 | // scss-docs-end navbar-variables
|
---|
1219 |
|
---|
1220 | // scss-docs-start navbar-dark-variables
|
---|
1221 | $navbar-dark-color: rgba($white, .55) !default;
|
---|
1222 | $navbar-dark-hover-color: rgba($white, .75) !default;
|
---|
1223 | $navbar-dark-active-color: $white !default;
|
---|
1224 | $navbar-dark-disabled-color: rgba($white, .25) !default;
|
---|
1225 | $navbar-dark-icon-color: $navbar-dark-color !default;
|
---|
1226 | $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-icon-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
|
---|
1227 | $navbar-dark-toggler-border-color: rgba($white, .1) !default;
|
---|
1228 | $navbar-dark-brand-color: $navbar-dark-active-color !default;
|
---|
1229 | $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
|
---|
1230 | // scss-docs-end navbar-dark-variables
|
---|
1231 |
|
---|
1232 |
|
---|
1233 | // Dropdowns
|
---|
1234 | //
|
---|
1235 | // Dropdown menu container and contents.
|
---|
1236 |
|
---|
1237 | // scss-docs-start dropdown-variables
|
---|
1238 | $dropdown-min-width: 10rem !default;
|
---|
1239 | $dropdown-padding-x: 0 !default;
|
---|
1240 | $dropdown-padding-y: .5rem !default;
|
---|
1241 | $dropdown-spacer: .125rem !default;
|
---|
1242 | $dropdown-font-size: $font-size-base !default;
|
---|
1243 | $dropdown-color: var(--#{$prefix}body-color) !default;
|
---|
1244 | $dropdown-bg: var(--#{$prefix}body-bg) !default;
|
---|
1245 | $dropdown-border-color: var(--#{$prefix}border-color-translucent) !default;
|
---|
1246 | $dropdown-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1247 | $dropdown-border-width: var(--#{$prefix}border-width) !default;
|
---|
1248 | $dropdown-inner-border-radius: calc(#{$dropdown-border-radius} - #{$dropdown-border-width}) !default; // stylelint-disable-line function-disallowed-list
|
---|
1249 | $dropdown-divider-bg: $dropdown-border-color !default;
|
---|
1250 | $dropdown-divider-margin-y: $spacer * .5 !default;
|
---|
1251 | $dropdown-box-shadow: var(--#{$prefix}box-shadow) !default;
|
---|
1252 |
|
---|
1253 | $dropdown-link-color: var(--#{$prefix}body-color) !default;
|
---|
1254 | $dropdown-link-hover-color: $dropdown-link-color !default;
|
---|
1255 | $dropdown-link-hover-bg: var(--#{$prefix}tertiary-bg) !default;
|
---|
1256 |
|
---|
1257 | $dropdown-link-active-color: $component-active-color !default;
|
---|
1258 | $dropdown-link-active-bg: $component-active-bg !default;
|
---|
1259 |
|
---|
1260 | $dropdown-link-disabled-color: var(--#{$prefix}tertiary-color) !default;
|
---|
1261 |
|
---|
1262 | $dropdown-item-padding-y: $spacer * .25 !default;
|
---|
1263 | $dropdown-item-padding-x: $spacer !default;
|
---|
1264 |
|
---|
1265 | $dropdown-header-color: $gray-600 !default;
|
---|
1266 | $dropdown-header-padding-x: $dropdown-item-padding-x !default;
|
---|
1267 | $dropdown-header-padding-y: $dropdown-padding-y !default;
|
---|
1268 | // fusv-disable
|
---|
1269 | $dropdown-header-padding: $dropdown-header-padding-y $dropdown-header-padding-x !default; // Deprecated in v5.2.0
|
---|
1270 | // fusv-enable
|
---|
1271 | // scss-docs-end dropdown-variables
|
---|
1272 |
|
---|
1273 | // scss-docs-start dropdown-dark-variables
|
---|
1274 | $dropdown-dark-color: $gray-300 !default;
|
---|
1275 | $dropdown-dark-bg: $gray-800 !default;
|
---|
1276 | $dropdown-dark-border-color: $dropdown-border-color !default;
|
---|
1277 | $dropdown-dark-divider-bg: $dropdown-divider-bg !default;
|
---|
1278 | $dropdown-dark-box-shadow: null !default;
|
---|
1279 | $dropdown-dark-link-color: $dropdown-dark-color !default;
|
---|
1280 | $dropdown-dark-link-hover-color: $white !default;
|
---|
1281 | $dropdown-dark-link-hover-bg: rgba($white, .15) !default;
|
---|
1282 | $dropdown-dark-link-active-color: $dropdown-link-active-color !default;
|
---|
1283 | $dropdown-dark-link-active-bg: $dropdown-link-active-bg !default;
|
---|
1284 | $dropdown-dark-link-disabled-color: $gray-500 !default;
|
---|
1285 | $dropdown-dark-header-color: $gray-500 !default;
|
---|
1286 | // scss-docs-end dropdown-dark-variables
|
---|
1287 |
|
---|
1288 |
|
---|
1289 | // Pagination
|
---|
1290 |
|
---|
1291 | // scss-docs-start pagination-variables
|
---|
1292 | $pagination-padding-y: .375rem !default;
|
---|
1293 | $pagination-padding-x: .75rem !default;
|
---|
1294 | $pagination-padding-y-sm: .25rem !default;
|
---|
1295 | $pagination-padding-x-sm: .5rem !default;
|
---|
1296 | $pagination-padding-y-lg: .75rem !default;
|
---|
1297 | $pagination-padding-x-lg: 1.5rem !default;
|
---|
1298 |
|
---|
1299 | $pagination-font-size: $font-size-base !default;
|
---|
1300 |
|
---|
1301 | $pagination-color: var(--#{$prefix}link-color) !default;
|
---|
1302 | $pagination-bg: var(--#{$prefix}body-bg) !default;
|
---|
1303 | $pagination-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1304 | $pagination-border-width: var(--#{$prefix}border-width) !default;
|
---|
1305 | $pagination-margin-start: calc(#{$pagination-border-width} * -1) !default; // stylelint-disable-line function-disallowed-list
|
---|
1306 | $pagination-border-color: var(--#{$prefix}border-color) !default;
|
---|
1307 |
|
---|
1308 | $pagination-focus-color: var(--#{$prefix}link-hover-color) !default;
|
---|
1309 | $pagination-focus-bg: var(--#{$prefix}secondary-bg) !default;
|
---|
1310 | $pagination-focus-box-shadow: $focus-ring-box-shadow !default;
|
---|
1311 | $pagination-focus-outline: 0 !default;
|
---|
1312 |
|
---|
1313 | $pagination-hover-color: var(--#{$prefix}link-hover-color) !default;
|
---|
1314 | $pagination-hover-bg: var(--#{$prefix}tertiary-bg) !default;
|
---|
1315 | $pagination-hover-border-color: var(--#{$prefix}border-color) !default; // Todo in v6: remove this?
|
---|
1316 |
|
---|
1317 | $pagination-active-color: $component-active-color !default;
|
---|
1318 | $pagination-active-bg: $component-active-bg !default;
|
---|
1319 | $pagination-active-border-color: $component-active-bg !default;
|
---|
1320 |
|
---|
1321 | $pagination-disabled-color: var(--#{$prefix}secondary-color) !default;
|
---|
1322 | $pagination-disabled-bg: var(--#{$prefix}secondary-bg) !default;
|
---|
1323 | $pagination-disabled-border-color: var(--#{$prefix}border-color) !default;
|
---|
1324 |
|
---|
1325 | $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;
|
---|
1326 |
|
---|
1327 | $pagination-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
|
---|
1328 | $pagination-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
|
---|
1329 | // scss-docs-end pagination-variables
|
---|
1330 |
|
---|
1331 |
|
---|
1332 | // Placeholders
|
---|
1333 |
|
---|
1334 | // scss-docs-start placeholders
|
---|
1335 | $placeholder-opacity-max: .5 !default;
|
---|
1336 | $placeholder-opacity-min: .2 !default;
|
---|
1337 | // scss-docs-end placeholders
|
---|
1338 |
|
---|
1339 | // Cards
|
---|
1340 |
|
---|
1341 | // scss-docs-start card-variables
|
---|
1342 | $card-spacer-y: $spacer !default;
|
---|
1343 | $card-spacer-x: $spacer !default;
|
---|
1344 | $card-title-spacer-y: $spacer * .5 !default;
|
---|
1345 | $card-title-color: null !default;
|
---|
1346 | $card-subtitle-color: null !default;
|
---|
1347 | $card-border-width: var(--#{$prefix}border-width) !default;
|
---|
1348 | $card-border-color: var(--#{$prefix}border-color-translucent) !default;
|
---|
1349 | $card-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1350 | $card-box-shadow: null !default;
|
---|
1351 | $card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
|
---|
1352 | $card-cap-padding-y: $card-spacer-y * .5 !default;
|
---|
1353 | $card-cap-padding-x: $card-spacer-x !default;
|
---|
1354 | $card-cap-bg: rgba(var(--#{$prefix}body-color-rgb), .03) !default;
|
---|
1355 | $card-cap-color: null !default;
|
---|
1356 | $card-height: null !default;
|
---|
1357 | $card-color: null !default;
|
---|
1358 | $card-bg: var(--#{$prefix}body-bg) !default;
|
---|
1359 | $card-img-overlay-padding: $spacer !default;
|
---|
1360 | $card-group-margin: $grid-gutter-width * .5 !default;
|
---|
1361 | // scss-docs-end card-variables
|
---|
1362 |
|
---|
1363 | // Accordion
|
---|
1364 |
|
---|
1365 | // scss-docs-start accordion-variables
|
---|
1366 | $accordion-padding-y: 1rem !default;
|
---|
1367 | $accordion-padding-x: 1.25rem !default;
|
---|
1368 | $accordion-color: var(--#{$prefix}body-color) !default;
|
---|
1369 | $accordion-bg: var(--#{$prefix}body-bg) !default;
|
---|
1370 | $accordion-border-width: var(--#{$prefix}border-width) !default;
|
---|
1371 | $accordion-border-color: var(--#{$prefix}border-color) !default;
|
---|
1372 | $accordion-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1373 | $accordion-inner-border-radius: subtract($accordion-border-radius, $accordion-border-width) !default;
|
---|
1374 |
|
---|
1375 | $accordion-body-padding-y: $accordion-padding-y !default;
|
---|
1376 | $accordion-body-padding-x: $accordion-padding-x !default;
|
---|
1377 |
|
---|
1378 | $accordion-button-padding-y: $accordion-padding-y !default;
|
---|
1379 | $accordion-button-padding-x: $accordion-padding-x !default;
|
---|
1380 | $accordion-button-color: var(--#{$prefix}body-color) !default;
|
---|
1381 | $accordion-button-bg: var(--#{$prefix}accordion-bg) !default;
|
---|
1382 | $accordion-transition: $btn-transition, border-radius .15s ease !default;
|
---|
1383 | $accordion-button-active-bg: var(--#{$prefix}primary-bg-subtle) !default;
|
---|
1384 | $accordion-button-active-color: var(--#{$prefix}primary-text-emphasis) !default;
|
---|
1385 |
|
---|
1386 | // fusv-disable
|
---|
1387 | $accordion-button-focus-border-color: $input-focus-border-color !default; // Deprecated in v5.3.3
|
---|
1388 | // fusv-enable
|
---|
1389 | $accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
|
---|
1390 |
|
---|
1391 | $accordion-icon-width: 1.25rem !default;
|
---|
1392 | $accordion-icon-color: $body-color !default;
|
---|
1393 | $accordion-icon-active-color: $primary-text-emphasis !default;
|
---|
1394 | $accordion-icon-transition: transform .2s ease-in-out !default;
|
---|
1395 | $accordion-icon-transform: rotate(-180deg) !default;
|
---|
1396 |
|
---|
1397 | $accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='#{$accordion-icon-color}' stroke-linecap='round' stroke-linejoin='round'><path d='M2 5L8 11L14 5'/></svg>") !default;
|
---|
1398 | $accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='#{$accordion-icon-active-color}' stroke-linecap='round' stroke-linejoin='round'><path d='M2 5L8 11L14 5'/></svg>") !default;
|
---|
1399 | // scss-docs-end accordion-variables
|
---|
1400 |
|
---|
1401 | // Tooltips
|
---|
1402 |
|
---|
1403 | // scss-docs-start tooltip-variables
|
---|
1404 | $tooltip-font-size: $font-size-sm !default;
|
---|
1405 | $tooltip-max-width: 200px !default;
|
---|
1406 | $tooltip-color: var(--#{$prefix}body-bg) !default;
|
---|
1407 | $tooltip-bg: var(--#{$prefix}emphasis-color) !default;
|
---|
1408 | $tooltip-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1409 | $tooltip-opacity: .9 !default;
|
---|
1410 | $tooltip-padding-y: $spacer * .25 !default;
|
---|
1411 | $tooltip-padding-x: $spacer * .5 !default;
|
---|
1412 | $tooltip-margin: null !default; // TODO: remove this in v6
|
---|
1413 |
|
---|
1414 | $tooltip-arrow-width: .8rem !default;
|
---|
1415 | $tooltip-arrow-height: .4rem !default;
|
---|
1416 | // fusv-disable
|
---|
1417 | $tooltip-arrow-color: null !default; // Deprecated in Bootstrap 5.2.0 for CSS variables
|
---|
1418 | // fusv-enable
|
---|
1419 | // scss-docs-end tooltip-variables
|
---|
1420 |
|
---|
1421 | // Form tooltips must come after regular tooltips
|
---|
1422 | // scss-docs-start tooltip-feedback-variables
|
---|
1423 | $form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
|
---|
1424 | $form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
|
---|
1425 | $form-feedback-tooltip-font-size: $tooltip-font-size !default;
|
---|
1426 | $form-feedback-tooltip-line-height: null !default;
|
---|
1427 | $form-feedback-tooltip-opacity: $tooltip-opacity !default;
|
---|
1428 | $form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
|
---|
1429 | // scss-docs-end tooltip-feedback-variables
|
---|
1430 |
|
---|
1431 |
|
---|
1432 | // Popovers
|
---|
1433 |
|
---|
1434 | // scss-docs-start popover-variables
|
---|
1435 | $popover-font-size: $font-size-sm !default;
|
---|
1436 | $popover-bg: var(--#{$prefix}body-bg) !default;
|
---|
1437 | $popover-max-width: 276px !default;
|
---|
1438 | $popover-border-width: var(--#{$prefix}border-width) !default;
|
---|
1439 | $popover-border-color: var(--#{$prefix}border-color-translucent) !default;
|
---|
1440 | $popover-border-radius: var(--#{$prefix}border-radius-lg) !default;
|
---|
1441 | $popover-inner-border-radius: calc(#{$popover-border-radius} - #{$popover-border-width}) !default; // stylelint-disable-line function-disallowed-list
|
---|
1442 | $popover-box-shadow: var(--#{$prefix}box-shadow) !default;
|
---|
1443 |
|
---|
1444 | $popover-header-font-size: $font-size-base !default;
|
---|
1445 | $popover-header-bg: var(--#{$prefix}secondary-bg) !default;
|
---|
1446 | $popover-header-color: $headings-color !default;
|
---|
1447 | $popover-header-padding-y: .5rem !default;
|
---|
1448 | $popover-header-padding-x: $spacer !default;
|
---|
1449 |
|
---|
1450 | $popover-body-color: var(--#{$prefix}body-color) !default;
|
---|
1451 | $popover-body-padding-y: $spacer !default;
|
---|
1452 | $popover-body-padding-x: $spacer !default;
|
---|
1453 |
|
---|
1454 | $popover-arrow-width: 1rem !default;
|
---|
1455 | $popover-arrow-height: .5rem !default;
|
---|
1456 | // scss-docs-end popover-variables
|
---|
1457 |
|
---|
1458 | // fusv-disable
|
---|
1459 | // Deprecated in Bootstrap 5.2.0 for CSS variables
|
---|
1460 | $popover-arrow-color: $popover-bg !default;
|
---|
1461 | $popover-arrow-outer-color: var(--#{$prefix}border-color-translucent) !default;
|
---|
1462 | // fusv-enable
|
---|
1463 |
|
---|
1464 |
|
---|
1465 | // Toasts
|
---|
1466 |
|
---|
1467 | // scss-docs-start toast-variables
|
---|
1468 | $toast-max-width: 350px !default;
|
---|
1469 | $toast-padding-x: .75rem !default;
|
---|
1470 | $toast-padding-y: .5rem !default;
|
---|
1471 | $toast-font-size: .875rem !default;
|
---|
1472 | $toast-color: null !default;
|
---|
1473 | $toast-background-color: rgba(var(--#{$prefix}body-bg-rgb), .85) !default;
|
---|
1474 | $toast-border-width: var(--#{$prefix}border-width) !default;
|
---|
1475 | $toast-border-color: var(--#{$prefix}border-color-translucent) !default;
|
---|
1476 | $toast-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1477 | $toast-box-shadow: var(--#{$prefix}box-shadow) !default;
|
---|
1478 | $toast-spacing: $container-padding-x !default;
|
---|
1479 |
|
---|
1480 | $toast-header-color: var(--#{$prefix}secondary-color) !default;
|
---|
1481 | $toast-header-background-color: rgba(var(--#{$prefix}body-bg-rgb), .85) !default;
|
---|
1482 | $toast-header-border-color: $toast-border-color !default;
|
---|
1483 | // scss-docs-end toast-variables
|
---|
1484 |
|
---|
1485 |
|
---|
1486 | // Badges
|
---|
1487 |
|
---|
1488 | // scss-docs-start badge-variables
|
---|
1489 | $badge-font-size: .75em !default;
|
---|
1490 | $badge-font-weight: $font-weight-bold !default;
|
---|
1491 | $badge-color: $white !default;
|
---|
1492 | $badge-padding-y: .35em !default;
|
---|
1493 | $badge-padding-x: .65em !default;
|
---|
1494 | $badge-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1495 | // scss-docs-end badge-variables
|
---|
1496 |
|
---|
1497 |
|
---|
1498 | // Modals
|
---|
1499 |
|
---|
1500 | // scss-docs-start modal-variables
|
---|
1501 | $modal-inner-padding: $spacer !default;
|
---|
1502 |
|
---|
1503 | $modal-footer-margin-between: .5rem !default;
|
---|
1504 |
|
---|
1505 | $modal-dialog-margin: .5rem !default;
|
---|
1506 | $modal-dialog-margin-y-sm-up: 1.75rem !default;
|
---|
1507 |
|
---|
1508 | $modal-title-line-height: $line-height-base !default;
|
---|
1509 |
|
---|
1510 | $modal-content-color: null !default;
|
---|
1511 | $modal-content-bg: var(--#{$prefix}body-bg) !default;
|
---|
1512 | $modal-content-border-color: var(--#{$prefix}border-color-translucent) !default;
|
---|
1513 | $modal-content-border-width: var(--#{$prefix}border-width) !default;
|
---|
1514 | $modal-content-border-radius: var(--#{$prefix}border-radius-lg) !default;
|
---|
1515 | $modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
|
---|
1516 | $modal-content-box-shadow-xs: var(--#{$prefix}box-shadow-sm) !default;
|
---|
1517 | $modal-content-box-shadow-sm-up: var(--#{$prefix}box-shadow) !default;
|
---|
1518 |
|
---|
1519 | $modal-backdrop-bg: $black !default;
|
---|
1520 | $modal-backdrop-opacity: .5 !default;
|
---|
1521 |
|
---|
1522 | $modal-header-border-color: var(--#{$prefix}border-color) !default;
|
---|
1523 | $modal-header-border-width: $modal-content-border-width !default;
|
---|
1524 | $modal-header-padding-y: $modal-inner-padding !default;
|
---|
1525 | $modal-header-padding-x: $modal-inner-padding !default;
|
---|
1526 | $modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
|
---|
1527 |
|
---|
1528 | $modal-footer-bg: null !default;
|
---|
1529 | $modal-footer-border-color: $modal-header-border-color !default;
|
---|
1530 | $modal-footer-border-width: $modal-header-border-width !default;
|
---|
1531 |
|
---|
1532 | $modal-sm: 300px !default;
|
---|
1533 | $modal-md: 500px !default;
|
---|
1534 | $modal-lg: 800px !default;
|
---|
1535 | $modal-xl: 1140px !default;
|
---|
1536 |
|
---|
1537 | $modal-fade-transform: translate(0, -50px) !default;
|
---|
1538 | $modal-show-transform: none !default;
|
---|
1539 | $modal-transition: transform .3s ease-out !default;
|
---|
1540 | $modal-scale-transform: scale(1.02) !default;
|
---|
1541 | // scss-docs-end modal-variables
|
---|
1542 |
|
---|
1543 |
|
---|
1544 | // Alerts
|
---|
1545 | //
|
---|
1546 | // Define alert colors, border radius, and padding.
|
---|
1547 |
|
---|
1548 | // scss-docs-start alert-variables
|
---|
1549 | $alert-padding-y: $spacer !default;
|
---|
1550 | $alert-padding-x: $spacer !default;
|
---|
1551 | $alert-margin-bottom: 1rem !default;
|
---|
1552 | $alert-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1553 | $alert-link-font-weight: $font-weight-bold !default;
|
---|
1554 | $alert-border-width: var(--#{$prefix}border-width) !default;
|
---|
1555 | $alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
|
---|
1556 | // scss-docs-end alert-variables
|
---|
1557 |
|
---|
1558 | // fusv-disable
|
---|
1559 | $alert-bg-scale: -80% !default; // Deprecated in v5.2.0, to be removed in v6
|
---|
1560 | $alert-border-scale: -70% !default; // Deprecated in v5.2.0, to be removed in v6
|
---|
1561 | $alert-color-scale: 40% !default; // Deprecated in v5.2.0, to be removed in v6
|
---|
1562 | // fusv-enable
|
---|
1563 |
|
---|
1564 | // Progress bars
|
---|
1565 |
|
---|
1566 | // scss-docs-start progress-variables
|
---|
1567 | $progress-height: 1rem !default;
|
---|
1568 | $progress-font-size: $font-size-base * .75 !default;
|
---|
1569 | $progress-bg: var(--#{$prefix}secondary-bg) !default;
|
---|
1570 | $progress-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1571 | $progress-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
|
---|
1572 | $progress-bar-color: $white !default;
|
---|
1573 | $progress-bar-bg: $primary !default;
|
---|
1574 | $progress-bar-animation-timing: 1s linear infinite !default;
|
---|
1575 | $progress-bar-transition: width .6s ease !default;
|
---|
1576 | // scss-docs-end progress-variables
|
---|
1577 |
|
---|
1578 |
|
---|
1579 | // List group
|
---|
1580 |
|
---|
1581 | // scss-docs-start list-group-variables
|
---|
1582 | $list-group-color: var(--#{$prefix}body-color) !default;
|
---|
1583 | $list-group-bg: var(--#{$prefix}body-bg) !default;
|
---|
1584 | $list-group-border-color: var(--#{$prefix}border-color) !default;
|
---|
1585 | $list-group-border-width: var(--#{$prefix}border-width) !default;
|
---|
1586 | $list-group-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1587 |
|
---|
1588 | $list-group-item-padding-y: $spacer * .5 !default;
|
---|
1589 | $list-group-item-padding-x: $spacer !default;
|
---|
1590 | // fusv-disable
|
---|
1591 | $list-group-item-bg-scale: -80% !default; // Deprecated in v5.3.0
|
---|
1592 | $list-group-item-color-scale: 40% !default; // Deprecated in v5.3.0
|
---|
1593 | // fusv-enable
|
---|
1594 |
|
---|
1595 | $list-group-hover-bg: var(--#{$prefix}tertiary-bg) !default;
|
---|
1596 | $list-group-active-color: $component-active-color !default;
|
---|
1597 | $list-group-active-bg: $component-active-bg !default;
|
---|
1598 | $list-group-active-border-color: $list-group-active-bg !default;
|
---|
1599 |
|
---|
1600 | $list-group-disabled-color: var(--#{$prefix}secondary-color) !default;
|
---|
1601 | $list-group-disabled-bg: $list-group-bg !default;
|
---|
1602 |
|
---|
1603 | $list-group-action-color: var(--#{$prefix}secondary-color) !default;
|
---|
1604 | $list-group-action-hover-color: var(--#{$prefix}emphasis-color) !default;
|
---|
1605 |
|
---|
1606 | $list-group-action-active-color: var(--#{$prefix}body-color) !default;
|
---|
1607 | $list-group-action-active-bg: var(--#{$prefix}secondary-bg) !default;
|
---|
1608 | // scss-docs-end list-group-variables
|
---|
1609 |
|
---|
1610 |
|
---|
1611 | // Image thumbnails
|
---|
1612 |
|
---|
1613 | // scss-docs-start thumbnail-variables
|
---|
1614 | $thumbnail-padding: .25rem !default;
|
---|
1615 | $thumbnail-bg: var(--#{$prefix}body-bg) !default;
|
---|
1616 | $thumbnail-border-width: var(--#{$prefix}border-width) !default;
|
---|
1617 | $thumbnail-border-color: var(--#{$prefix}border-color) !default;
|
---|
1618 | $thumbnail-border-radius: var(--#{$prefix}border-radius) !default;
|
---|
1619 | $thumbnail-box-shadow: var(--#{$prefix}box-shadow-sm) !default;
|
---|
1620 | // scss-docs-end thumbnail-variables
|
---|
1621 |
|
---|
1622 |
|
---|
1623 | // Figures
|
---|
1624 |
|
---|
1625 | // scss-docs-start figure-variables
|
---|
1626 | $figure-caption-font-size: $small-font-size !default;
|
---|
1627 | $figure-caption-color: var(--#{$prefix}secondary-color) !default;
|
---|
1628 | // scss-docs-end figure-variables
|
---|
1629 |
|
---|
1630 |
|
---|
1631 | // Breadcrumbs
|
---|
1632 |
|
---|
1633 | // scss-docs-start breadcrumb-variables
|
---|
1634 | $breadcrumb-font-size: null !default;
|
---|
1635 | $breadcrumb-padding-y: 0 !default;
|
---|
1636 | $breadcrumb-padding-x: 0 !default;
|
---|
1637 | $breadcrumb-item-padding-x: .5rem !default;
|
---|
1638 | $breadcrumb-margin-bottom: 1rem !default;
|
---|
1639 | $breadcrumb-bg: null !default;
|
---|
1640 | $breadcrumb-divider-color: var(--#{$prefix}secondary-color) !default;
|
---|
1641 | $breadcrumb-active-color: var(--#{$prefix}secondary-color) !default;
|
---|
1642 | $breadcrumb-divider: quote("/") !default;
|
---|
1643 | $breadcrumb-divider-flipped: $breadcrumb-divider !default;
|
---|
1644 | $breadcrumb-border-radius: null !default;
|
---|
1645 | // scss-docs-end breadcrumb-variables
|
---|
1646 |
|
---|
1647 | // Carousel
|
---|
1648 |
|
---|
1649 | // scss-docs-start carousel-variables
|
---|
1650 | $carousel-control-color: $white !default;
|
---|
1651 | $carousel-control-width: 15% !default;
|
---|
1652 | $carousel-control-opacity: .5 !default;
|
---|
1653 | $carousel-control-hover-opacity: .9 !default;
|
---|
1654 | $carousel-control-transition: opacity .15s ease !default;
|
---|
1655 |
|
---|
1656 | $carousel-indicator-width: 30px !default;
|
---|
1657 | $carousel-indicator-height: 3px !default;
|
---|
1658 | $carousel-indicator-hit-area-height: 10px !default;
|
---|
1659 | $carousel-indicator-spacer: 3px !default;
|
---|
1660 | $carousel-indicator-opacity: .5 !default;
|
---|
1661 | $carousel-indicator-active-bg: $white !default;
|
---|
1662 | $carousel-indicator-active-opacity: 1 !default;
|
---|
1663 | $carousel-indicator-transition: opacity .6s ease !default;
|
---|
1664 |
|
---|
1665 | $carousel-caption-width: 70% !default;
|
---|
1666 | $carousel-caption-color: $white !default;
|
---|
1667 | $carousel-caption-padding-y: 1.25rem !default;
|
---|
1668 | $carousel-caption-spacer: 1.25rem !default;
|
---|
1669 |
|
---|
1670 | $carousel-control-icon-width: 2rem !default;
|
---|
1671 |
|
---|
1672 | $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;
|
---|
1673 | $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;
|
---|
1674 |
|
---|
1675 | $carousel-transition-duration: .6s !default;
|
---|
1676 | $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`)
|
---|
1677 | // scss-docs-end carousel-variables
|
---|
1678 |
|
---|
1679 | // scss-docs-start carousel-dark-variables
|
---|
1680 | $carousel-dark-indicator-active-bg: $black !default;
|
---|
1681 | $carousel-dark-caption-color: $black !default;
|
---|
1682 | $carousel-dark-control-icon-filter: invert(1) grayscale(100) !default;
|
---|
1683 | // scss-docs-end carousel-dark-variables
|
---|
1684 |
|
---|
1685 |
|
---|
1686 | // Spinners
|
---|
1687 |
|
---|
1688 | // scss-docs-start spinner-variables
|
---|
1689 | $spinner-width: 2rem !default;
|
---|
1690 | $spinner-height: $spinner-width !default;
|
---|
1691 | $spinner-vertical-align: -.125em !default;
|
---|
1692 | $spinner-border-width: .25em !default;
|
---|
1693 | $spinner-animation-speed: .75s !default;
|
---|
1694 |
|
---|
1695 | $spinner-width-sm: 1rem !default;
|
---|
1696 | $spinner-height-sm: $spinner-width-sm !default;
|
---|
1697 | $spinner-border-width-sm: .2em !default;
|
---|
1698 | // scss-docs-end spinner-variables
|
---|
1699 |
|
---|
1700 |
|
---|
1701 | // Close
|
---|
1702 |
|
---|
1703 | // scss-docs-start close-variables
|
---|
1704 | $btn-close-width: 1em !default;
|
---|
1705 | $btn-close-height: $btn-close-width !default;
|
---|
1706 | $btn-close-padding-x: .25em !default;
|
---|
1707 | $btn-close-padding-y: $btn-close-padding-x !default;
|
---|
1708 | $btn-close-color: $black !default;
|
---|
1709 | $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 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/></svg>") !default;
|
---|
1710 | $btn-close-focus-shadow: $focus-ring-box-shadow !default;
|
---|
1711 | $btn-close-opacity: .5 !default;
|
---|
1712 | $btn-close-hover-opacity: .75 !default;
|
---|
1713 | $btn-close-focus-opacity: 1 !default;
|
---|
1714 | $btn-close-disabled-opacity: .25 !default;
|
---|
1715 | $btn-close-white-filter: invert(1) grayscale(100%) brightness(200%) !default;
|
---|
1716 | // scss-docs-end close-variables
|
---|
1717 |
|
---|
1718 |
|
---|
1719 | // Offcanvas
|
---|
1720 |
|
---|
1721 | // scss-docs-start offcanvas-variables
|
---|
1722 | $offcanvas-padding-y: $modal-inner-padding !default;
|
---|
1723 | $offcanvas-padding-x: $modal-inner-padding !default;
|
---|
1724 | $offcanvas-horizontal-width: 400px !default;
|
---|
1725 | $offcanvas-vertical-height: 30vh !default;
|
---|
1726 | $offcanvas-transition-duration: .3s !default;
|
---|
1727 | $offcanvas-border-color: $modal-content-border-color !default;
|
---|
1728 | $offcanvas-border-width: $modal-content-border-width !default;
|
---|
1729 | $offcanvas-title-line-height: $modal-title-line-height !default;
|
---|
1730 | $offcanvas-bg-color: var(--#{$prefix}body-bg) !default;
|
---|
1731 | $offcanvas-color: var(--#{$prefix}body-color) !default;
|
---|
1732 | $offcanvas-box-shadow: $modal-content-box-shadow-xs !default;
|
---|
1733 | $offcanvas-backdrop-bg: $modal-backdrop-bg !default;
|
---|
1734 | $offcanvas-backdrop-opacity: $modal-backdrop-opacity !default;
|
---|
1735 | // scss-docs-end offcanvas-variables
|
---|
1736 |
|
---|
1737 | // Code
|
---|
1738 |
|
---|
1739 | $code-font-size: $small-font-size !default;
|
---|
1740 | $code-color: $pink !default;
|
---|
1741 |
|
---|
1742 | $kbd-padding-y: .1875rem !default;
|
---|
1743 | $kbd-padding-x: .375rem !default;
|
---|
1744 | $kbd-font-size: $code-font-size !default;
|
---|
1745 | $kbd-color: var(--#{$prefix}body-bg) !default;
|
---|
1746 | $kbd-bg: var(--#{$prefix}body-color) !default;
|
---|
1747 | $nested-kbd-font-weight: null !default; // Deprecated in v5.2.0, removing in v6
|
---|
1748 |
|
---|
1749 | $pre-color: null !default;
|
---|
1750 |
|
---|
1751 | @import "variables-dark"; // TODO: can be removed safely in v6, only here to avoid breaking changes in v5.3
|
---|