administrate-bootstrap-theme 1.0.4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/app/assets/javascripts/administrate-bootstrap-theme/bootstrap.bundle.js +2514 -2980
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_accordion.scss +73 -33
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_alert.scss +25 -14
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_badge.scss +14 -5
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_breadcrumb.scss +22 -10
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_button-group.scss +6 -3
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_buttons.scss +133 -28
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_card.scss +60 -37
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_carousel.scss +22 -15
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_close.scss +33 -10
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_containers.scss +1 -1
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_dropdown.scss +86 -76
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_functions.scss +15 -9
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_grid.scss +9 -3
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_helpers.scss +3 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_list-group.scss +60 -37
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_maps.scss +174 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_mixins.scss +1 -2
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_modal.scss +71 -44
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_nav.scss +86 -28
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_navbar.scss +101 -147
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_offcanvas.scss +121 -61
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_pagination.scss +66 -21
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_placeholders.scss +1 -1
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_popover.scss +90 -52
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_progress.scss +30 -10
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_reboot.scss +31 -45
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_root.scss +155 -21
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_spinners.scss +38 -22
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_tables.scss +46 -26
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_toasts.scss +38 -16
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_tooltip.scss +60 -56
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_type.scss +2 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_utilities.scss +209 -33
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_variables-dark.scss +87 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/_variables.scss +406 -284
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-grid.scss +4 -7
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-reboot.scss +5 -10
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap-utilities.scss +7 -6
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/bootstrap.scss +5 -6
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_floating-labels.scss +37 -5
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-check.scss +51 -14
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-control.scss +36 -41
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-range.scss +3 -3
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_form-select.scss +14 -4
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/forms/_input-group.scss +20 -9
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_color-bg.scss +7 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_colored-links.scss +20 -2
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_focus-ring.scss +5 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_icon-link.scss +25 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_position.scss +7 -1
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_ratio.scss +2 -2
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/helpers/_vr.scss +2 -2
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_alert.scss +11 -4
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_banner.scss +7 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_breakpoints.scss +8 -8
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_buttons.scss +32 -95
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_caret.scss +30 -25
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_color-mode.scss +21 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_container.scss +4 -2
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_forms.scss +38 -19
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_gradients.scss +1 -1
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_grid.scss +15 -14
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_list-group.scss +2 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_pagination.scss +4 -25
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_reset-text.scss +1 -1
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_table-variants.scss +12 -9
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_utilities.scss +14 -6
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/mixins/_visually-hidden.scss +6 -2
- data/app/assets/stylesheets/administrate-bootstrap-theme/bootstrap/vendor/_rfs.scss +23 -29
- data/app/assets/stylesheets/administrate-bootstrap-theme/components/_content_body.scss +21 -7
- data/app/assets/stylesheets/administrate-bootstrap-theme/components/_navigation.scss +4 -0
- data/app/assets/stylesheets/administrate-bootstrap-theme/components/_pagination.scss +11 -3
- data/lib/administrate-bootstrap-theme/version.rb +3 -2
- data/package.json +2 -2
- metadata +24 -3
@@ -60,40 +60,13 @@ $colors: (
|
|
60
60
|
"green": $green,
|
61
61
|
"teal": $teal,
|
62
62
|
"cyan": $cyan,
|
63
|
+
"black": $black,
|
63
64
|
"white": $white,
|
64
65
|
"gray": $gray-600,
|
65
66
|
"gray-dark": $gray-800
|
66
67
|
) !default;
|
67
68
|
// scss-docs-end colors-map
|
68
69
|
|
69
|
-
// scss-docs-start theme-color-variables
|
70
|
-
$primary: $blue !default;
|
71
|
-
$secondary: $gray-600 !default;
|
72
|
-
$success: $green !default;
|
73
|
-
$info: $cyan !default;
|
74
|
-
$warning: $yellow !default;
|
75
|
-
$danger: $red !default;
|
76
|
-
$light: $gray-100 !default;
|
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
|
-
// scss-docs-start theme-colors-rgb
|
94
|
-
$theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
|
95
|
-
// scss-docs-end theme-colors-rgb
|
96
|
-
|
97
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.
|
98
71
|
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
|
99
72
|
$min-contrast-ratio: 4.5 !default;
|
@@ -228,8 +201,8 @@ $indigos: (
|
|
228
201
|
) !default;
|
229
202
|
|
230
203
|
$purples: (
|
231
|
-
"purple-100": $purple-
|
232
|
-
"purple-200": $purple-
|
204
|
+
"purple-100": $purple-100,
|
205
|
+
"purple-200": $purple-200,
|
233
206
|
"purple-300": $purple-300,
|
234
207
|
"purple-400": $purple-400,
|
235
208
|
"purple-500": $purple-500,
|
@@ -324,6 +297,63 @@ $cyans: (
|
|
324
297
|
) !default;
|
325
298
|
// fusv-enable
|
326
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
|
+
|
327
357
|
// Characters which are escaped by the escape-svg function
|
328
358
|
$escaped-characters: (
|
329
359
|
("<", "%3c"),
|
@@ -345,6 +375,7 @@ $enable-transitions: true !default;
|
|
345
375
|
$enable-reduced-motion: true !default;
|
346
376
|
$enable-smooth-scroll: true !default;
|
347
377
|
$enable-grid-classes: true !default;
|
378
|
+
$enable-container-classes: true !default;
|
348
379
|
$enable-cssgrid: false !default;
|
349
380
|
$enable-button-pointers: true !default;
|
350
381
|
$enable-rfs: true !default;
|
@@ -353,9 +384,13 @@ $enable-negative-margins: false !default;
|
|
353
384
|
$enable-deprecation-messages: true !default;
|
354
385
|
$enable-important-utilities: true !default;
|
355
386
|
|
387
|
+
$enable-dark-mode: true !default;
|
388
|
+
$color-mode-type: data !default; // `data` or `media-query`
|
389
|
+
|
356
390
|
// Prefix for :root CSS variables
|
357
391
|
|
358
|
-
$variable-prefix: bs- !default;
|
392
|
+
$variable-prefix: bs- !default; // Deprecated in v5.2.0 for the shorter `$prefix`
|
393
|
+
$prefix: $variable-prefix !default;
|
359
394
|
|
360
395
|
// Gradient
|
361
396
|
//
|
@@ -381,8 +416,6 @@ $spacers: (
|
|
381
416
|
4: $spacer * 1.5,
|
382
417
|
5: $spacer * 3,
|
383
418
|
) !default;
|
384
|
-
|
385
|
-
$negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
|
386
419
|
// scss-docs-end spacer-variables-maps
|
387
420
|
|
388
421
|
// Position
|
@@ -401,32 +434,17 @@ $position-values: (
|
|
401
434
|
//
|
402
435
|
// Settings for the `<body>` element.
|
403
436
|
|
404
|
-
$body-bg: $white !default;
|
405
|
-
$body-color: $gray-900 !default;
|
406
437
|
$body-text-align: null !default;
|
438
|
+
$body-color: $gray-900 !default;
|
439
|
+
$body-bg: $white !default;
|
407
440
|
|
408
|
-
|
409
|
-
|
410
|
-
// Extends the default `$theme-colors` maps to help create our utilities.
|
411
|
-
|
412
|
-
// scss-docs-start utilities-colors
|
413
|
-
$utilities-colors: map-merge(
|
414
|
-
$theme-colors-rgb,
|
415
|
-
(
|
416
|
-
"black": to-rgb($black),
|
417
|
-
"white": to-rgb($white),
|
418
|
-
"body": to-rgb($body-color)
|
419
|
-
)
|
420
|
-
) !default;
|
421
|
-
// scss-docs-end utilities-colors
|
441
|
+
$body-secondary-color: rgba($body-color, .75) !default;
|
442
|
+
$body-secondary-bg: $gray-200 !default;
|
422
443
|
|
423
|
-
|
424
|
-
$
|
425
|
-
// scss-docs-end utilities-text-colors
|
444
|
+
$body-tertiary-color: rgba($body-color, .5) !default;
|
445
|
+
$body-tertiary-bg: $gray-100 !default;
|
426
446
|
|
427
|
-
|
428
|
-
$utilities-bg-colors: map-loop($utilities-colors, rgba-css-var, "$key", "bg") !default;
|
429
|
-
// scss-docs-end utilities-bg-colors
|
447
|
+
$body-emphasis-color: $black !default;
|
430
448
|
|
431
449
|
// Links
|
432
450
|
//
|
@@ -441,6 +459,15 @@ $link-hover-decoration: null !default;
|
|
441
459
|
$stretched-link-pseudo-element: after !default;
|
442
460
|
$stretched-link-z-index: 1 !default;
|
443
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
|
+
|
444
471
|
// Paragraphs
|
445
472
|
//
|
446
473
|
// Style p element.
|
@@ -493,11 +520,9 @@ $grid-columns: 12 !default;
|
|
493
520
|
$grid-gutter-width: 1.5rem !default;
|
494
521
|
$grid-row-columns: 6 !default;
|
495
522
|
|
496
|
-
$gutters: $spacers !default;
|
497
|
-
|
498
523
|
// Container padding
|
499
524
|
|
500
|
-
$container-padding-x: $grid-gutter-width
|
525
|
+
$container-padding-x: $grid-gutter-width !default;
|
501
526
|
|
502
527
|
|
503
528
|
// Components
|
@@ -513,16 +538,22 @@ $border-widths: (
|
|
513
538
|
4: 4px,
|
514
539
|
5: 5px
|
515
540
|
) !default;
|
516
|
-
|
541
|
+
$border-style: solid !default;
|
517
542
|
$border-color: $gray-300 !default;
|
543
|
+
$border-color-translucent: rgba($black, .175) !default;
|
518
544
|
// scss-docs-end border-variables
|
519
545
|
|
520
546
|
// scss-docs-start border-radius-variables
|
521
|
-
$border-radius: .
|
522
|
-
$border-radius-sm: .
|
523
|
-
$border-radius-lg: .
|
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;
|
524
552
|
$border-radius-pill: 50rem !default;
|
525
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
|
526
557
|
|
527
558
|
// scss-docs-start box-shadow-variables
|
528
559
|
$box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
|
@@ -534,6 +565,14 @@ $box-shadow-inset: inset 0 1px 2px rgba($black, .075) !default;
|
|
534
565
|
$component-active-color: $white !default;
|
535
566
|
$component-active-bg: $primary !default;
|
536
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
|
+
|
537
576
|
// scss-docs-start caret-variables
|
538
577
|
$caret-width: .3em !default;
|
539
578
|
$caret-vertical-align: $caret-width * .85 !default;
|
@@ -564,11 +603,11 @@ $aspect-ratios: (
|
|
564
603
|
|
565
604
|
// scss-docs-start font-variables
|
566
605
|
// stylelint-disable value-keyword-case
|
567
|
-
$font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
|
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;
|
568
607
|
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
569
608
|
// stylelint-enable value-keyword-case
|
570
|
-
$font-family-base: var(--#{$
|
571
|
-
$font-family-code: var(--#{$
|
609
|
+
$font-family-base: var(--#{$prefix}font-sans-serif) !default;
|
610
|
+
$font-family-code: var(--#{$prefix}font-monospace) !default;
|
572
611
|
|
573
612
|
// $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
|
574
613
|
// $font-size-base affects the font size of the body text
|
@@ -580,6 +619,8 @@ $font-size-lg: $font-size-base * 1.25 !default;
|
|
580
619
|
$font-weight-lighter: lighter !default;
|
581
620
|
$font-weight-light: 300 !default;
|
582
621
|
$font-weight-normal: 400 !default;
|
622
|
+
$font-weight-medium: 500 !default;
|
623
|
+
$font-weight-semibold: 600 !default;
|
583
624
|
$font-weight-bold: 700 !default;
|
584
625
|
$font-weight-bolder: bolder !default;
|
585
626
|
|
@@ -614,7 +655,7 @@ $headings-font-family: null !default;
|
|
614
655
|
$headings-font-style: null !default;
|
615
656
|
$headings-font-weight: 500 !default;
|
616
657
|
$headings-line-height: 1.2 !default;
|
617
|
-
$headings-color:
|
658
|
+
$headings-color: inherit !default;
|
618
659
|
// scss-docs-end headings-variables
|
619
660
|
|
620
661
|
// scss-docs-start display-headings
|
@@ -627,6 +668,8 @@ $display-font-sizes: (
|
|
627
668
|
6: 2.5rem
|
628
669
|
) !default;
|
629
670
|
|
671
|
+
$display-font-family: null !default;
|
672
|
+
$display-font-style: null !default;
|
630
673
|
$display-font-weight: 300 !default;
|
631
674
|
$display-line-height: $headings-line-height !default;
|
632
675
|
// scss-docs-end display-headings
|
@@ -639,7 +682,9 @@ $small-font-size: .875em !default;
|
|
639
682
|
|
640
683
|
$sub-sup-font-size: .75em !default;
|
641
684
|
|
642
|
-
|
685
|
+
// fusv-disable
|
686
|
+
$text-muted: var(--#{$prefix}secondary-color) !default; // Deprecated in 5.3.0
|
687
|
+
// fusv-enable
|
643
688
|
|
644
689
|
$initialism-font-size: $small-font-size !default;
|
645
690
|
|
@@ -650,22 +695,31 @@ $blockquote-footer-font-size: $small-font-size !default;
|
|
650
695
|
|
651
696
|
$hr-margin-y: $spacer !default;
|
652
697
|
$hr-color: inherit !default;
|
653
|
-
|
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;
|
654
706
|
$hr-opacity: .25 !default;
|
655
707
|
|
708
|
+
// scss-docs-start vr-variables
|
709
|
+
$vr-border-width: var(--#{$prefix}border-width) !default;
|
710
|
+
// scss-docs-end vr-variables
|
711
|
+
|
656
712
|
$legend-margin-bottom: .5rem !default;
|
657
713
|
$legend-font-size: 1.5rem !default;
|
658
714
|
$legend-font-weight: null !default;
|
659
715
|
|
660
|
-
$mark-padding: .2em !default;
|
661
|
-
|
662
716
|
$dt-font-weight: $font-weight-bold !default;
|
663
717
|
|
664
|
-
$nested-kbd-font-weight: $font-weight-bold !default;
|
665
|
-
|
666
718
|
$list-inline-padding: .5rem !default;
|
667
719
|
|
668
|
-
$mark-
|
720
|
+
$mark-padding: .1875em !default;
|
721
|
+
$mark-color: $body-color !default;
|
722
|
+
$mark-bg: $yellow-100 !default;
|
669
723
|
// scss-docs-end type-variables
|
670
724
|
|
671
725
|
|
@@ -681,33 +735,34 @@ $table-cell-padding-x-sm: .25rem !default;
|
|
681
735
|
|
682
736
|
$table-cell-vertical-align: top !default;
|
683
737
|
|
684
|
-
$table-color: $
|
685
|
-
$table-bg:
|
738
|
+
$table-color: var(--#{$prefix}emphasis-color) !default;
|
739
|
+
$table-bg: var(--#{$prefix}body-bg) !default;
|
686
740
|
$table-accent-bg: transparent !default;
|
687
741
|
|
688
742
|
$table-th-font-weight: null !default;
|
689
743
|
|
690
744
|
$table-striped-color: $table-color !default;
|
691
745
|
$table-striped-bg-factor: .05 !default;
|
692
|
-
$table-striped-bg: rgba($
|
746
|
+
$table-striped-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-striped-bg-factor) !default;
|
693
747
|
|
694
748
|
$table-active-color: $table-color !default;
|
695
749
|
$table-active-bg-factor: .1 !default;
|
696
|
-
$table-active-bg: rgba($
|
750
|
+
$table-active-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-active-bg-factor) !default;
|
697
751
|
|
698
752
|
$table-hover-color: $table-color !default;
|
699
753
|
$table-hover-bg-factor: .075 !default;
|
700
|
-
$table-hover-bg: rgba($
|
754
|
+
$table-hover-bg: rgba(var(--#{$prefix}emphasis-color-rgb), $table-hover-bg-factor) !default;
|
701
755
|
|
702
|
-
$table-border-factor: .
|
703
|
-
$table-border-width: $border-width !default;
|
704
|
-
$table-border-color: $border-color !default;
|
756
|
+
$table-border-factor: .2 !default;
|
757
|
+
$table-border-width: var(--#{$prefix}border-width) !default;
|
758
|
+
$table-border-color: var(--#{$prefix}border-color) !default;
|
705
759
|
|
706
760
|
$table-striped-order: odd !default;
|
761
|
+
$table-striped-columns-order: even !default;
|
707
762
|
|
708
|
-
$table-group-separator-color:
|
763
|
+
$table-group-separator-color: currentcolor !default;
|
709
764
|
|
710
|
-
$table-caption-color: $
|
765
|
+
$table-caption-color: var(--#{$prefix}secondary-color) !default;
|
711
766
|
|
712
767
|
$table-bg-scale: -80% !default;
|
713
768
|
// scss-docs-end table-variables
|
@@ -737,11 +792,11 @@ $input-btn-font-family: null !default;
|
|
737
792
|
$input-btn-font-size: $font-size-base !default;
|
738
793
|
$input-btn-line-height: $line-height-base !default;
|
739
794
|
|
740
|
-
$input-btn-focus-width:
|
741
|
-
$input-btn-focus-color-opacity:
|
742
|
-
$input-btn-focus-color:
|
743
|
-
$input-btn-focus-blur:
|
744
|
-
$input-btn-focus-box-shadow:
|
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;
|
745
800
|
|
746
801
|
$input-btn-padding-y-sm: .25rem !default;
|
747
802
|
$input-btn-padding-x-sm: .5rem !default;
|
@@ -751,7 +806,7 @@ $input-btn-padding-y-lg: .5rem !default;
|
|
751
806
|
$input-btn-padding-x-lg: 1rem !default;
|
752
807
|
$input-btn-font-size-lg: $font-size-lg !default;
|
753
808
|
|
754
|
-
$input-btn-border-width: $border-width !default;
|
809
|
+
$input-btn-border-width: var(--#{$prefix}border-width) !default;
|
755
810
|
// scss-docs-end input-btn-variables
|
756
811
|
|
757
812
|
|
@@ -760,6 +815,7 @@ $input-btn-border-width: $border-width !default;
|
|
760
815
|
// For each of Bootstrap's buttons, define text, background, and border color.
|
761
816
|
|
762
817
|
// scss-docs-start btn-variables
|
818
|
+
$btn-color: var(--#{$prefix}body-color) !default;
|
763
819
|
$btn-padding-y: $input-btn-padding-y !default;
|
764
820
|
$btn-padding-x: $input-btn-padding-x !default;
|
765
821
|
$btn-font-family: $input-btn-font-family !default;
|
@@ -784,14 +840,15 @@ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|
784
840
|
$btn-disabled-opacity: .65 !default;
|
785
841
|
$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
|
786
842
|
|
787
|
-
$btn-link-color: $link-color !default;
|
788
|
-
$btn-link-hover-color: $link-hover-color !default;
|
843
|
+
$btn-link-color: var(--#{$prefix}link-color) !default;
|
844
|
+
$btn-link-hover-color: var(--#{$prefix}link-hover-color) !default;
|
789
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;
|
790
847
|
|
791
848
|
// Allows for customizing button radius independently from global border radius
|
792
|
-
$btn-border-radius: $border-radius !default;
|
793
|
-
$btn-border-radius-sm: $border-radius-sm !default;
|
794
|
-
$btn-border-radius-lg: $border-radius-lg !default;
|
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;
|
795
852
|
|
796
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;
|
797
854
|
|
@@ -813,7 +870,7 @@ $form-text-margin-top: .25rem !default;
|
|
813
870
|
$form-text-font-size: $small-font-size !default;
|
814
871
|
$form-text-font-style: null !default;
|
815
872
|
$form-text-font-weight: null !default;
|
816
|
-
$form-text-color: $
|
873
|
+
$form-text-color: var(--#{$prefix}secondary-color) !default;
|
817
874
|
// scss-docs-end form-text-variables
|
818
875
|
|
819
876
|
// scss-docs-start form-label-variables
|
@@ -840,18 +897,19 @@ $input-padding-y-lg: $input-btn-padding-y-lg !default;
|
|
840
897
|
$input-padding-x-lg: $input-btn-padding-x-lg !default;
|
841
898
|
$input-font-size-lg: $input-btn-font-size-lg !default;
|
842
899
|
|
843
|
-
$input-bg: $body-bg !default;
|
844
|
-
$input-disabled-
|
900
|
+
$input-bg: var(--#{$prefix}body-bg) !default;
|
901
|
+
$input-disabled-color: null !default;
|
902
|
+
$input-disabled-bg: var(--#{$prefix}secondary-bg) !default;
|
845
903
|
$input-disabled-border-color: null !default;
|
846
904
|
|
847
|
-
$input-color: $body-color !default;
|
848
|
-
$input-border-color: $
|
905
|
+
$input-color: var(--#{$prefix}body-color) !default;
|
906
|
+
$input-border-color: var(--#{$prefix}border-color) !default;
|
849
907
|
$input-border-width: $input-btn-border-width !default;
|
850
|
-
$input-box-shadow: $box-shadow-inset !default;
|
908
|
+
$input-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
|
851
909
|
|
852
|
-
$input-border-radius: $border-radius !default;
|
853
|
-
$input-border-radius-sm: $border-radius-sm !default;
|
854
|
-
$input-border-radius-lg: $border-radius-lg !default;
|
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;
|
855
913
|
|
856
914
|
$input-focus-bg: $input-bg !default;
|
857
915
|
$input-focus-border-color: tint-color($component-active-bg, 50%) !default;
|
@@ -859,10 +917,10 @@ $input-focus-color: $input-color !default;
|
|
859
917
|
$input-focus-width: $input-btn-focus-width !default;
|
860
918
|
$input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
861
919
|
|
862
|
-
$input-placeholder-color: $
|
863
|
-
$input-plaintext-color: $body-color !default;
|
920
|
+
$input-placeholder-color: var(--#{$prefix}secondary-color) !default;
|
921
|
+
$input-plaintext-color: var(--#{$prefix}body-color) !default;
|
864
922
|
|
865
|
-
$input-height-border: $input-border-width * 2 !default;
|
923
|
+
$input-height-border: calc(#{$input-border-width} * 2) !default; // stylelint-disable-line function-disallowed-list
|
866
924
|
|
867
925
|
$input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default;
|
868
926
|
$input-height-inner-half: add($input-line-height * .5em, $input-padding-y) !default;
|
@@ -889,16 +947,16 @@ $form-check-transition: null !default;
|
|
889
947
|
$form-check-input-active-filter: brightness(90%) !default;
|
890
948
|
|
891
949
|
$form-check-input-bg: $input-bg !default;
|
892
|
-
$form-check-input-border:
|
950
|
+
$form-check-input-border: var(--#{$prefix}border-width) solid var(--#{$prefix}border-color) !default;
|
893
951
|
$form-check-input-border-radius: .25em !default;
|
894
952
|
$form-check-radio-border-radius: 50% !default;
|
895
953
|
$form-check-input-focus-border: $input-focus-border-color !default;
|
896
|
-
$form-check-input-focus-box-shadow: $
|
954
|
+
$form-check-input-focus-box-shadow: $focus-ring-box-shadow !default;
|
897
955
|
|
898
956
|
$form-check-input-checked-color: $component-active-color !default;
|
899
957
|
$form-check-input-checked-bg-color: $component-active-bg !default;
|
900
958
|
$form-check-input-checked-border-color: $form-check-input-checked-bg-color !default;
|
901
|
-
$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='
|
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;
|
902
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;
|
903
961
|
|
904
962
|
$form-check-input-indeterminate-color: $component-active-color !default;
|
@@ -914,7 +972,7 @@ $form-check-inline-margin-end: 1rem !default;
|
|
914
972
|
// scss-docs-end form-check-variables
|
915
973
|
|
916
974
|
// scss-docs-start form-switch-variables
|
917
|
-
$form-switch-color: rgba(
|
975
|
+
$form-switch-color: rgba($black, .25) !default;
|
918
976
|
$form-switch-width: 2em !default;
|
919
977
|
$form-switch-padding-start: $form-switch-width + .5em !default;
|
920
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;
|
@@ -934,7 +992,7 @@ $input-group-addon-padding-y: $input-padding-y !default;
|
|
934
992
|
$input-group-addon-padding-x: $input-padding-x !default;
|
935
993
|
$input-group-addon-font-weight: $input-font-weight !default;
|
936
994
|
$input-group-addon-color: $input-color !default;
|
937
|
-
$input-group-addon-bg: $
|
995
|
+
$input-group-addon-bg: var(--#{$prefix}tertiary-bg) !default;
|
938
996
|
$input-group-addon-border-color: $input-border-color !default;
|
939
997
|
// scss-docs-end input-group-variables
|
940
998
|
|
@@ -949,12 +1007,12 @@ $form-select-line-height: $input-line-height !default;
|
|
949
1007
|
$form-select-color: $input-color !default;
|
950
1008
|
$form-select-bg: $input-bg !default;
|
951
1009
|
$form-select-disabled-color: null !default;
|
952
|
-
$form-select-disabled-bg: $
|
1010
|
+
$form-select-disabled-bg: $input-disabled-bg !default;
|
953
1011
|
$form-select-disabled-border-color: $input-disabled-border-color !default;
|
954
1012
|
$form-select-bg-position: right $form-select-padding-x center !default;
|
955
1013
|
$form-select-bg-size: 16px 12px !default; // In pixels because image dimensions
|
956
1014
|
$form-select-indicator-color: $gray-800 !default;
|
957
|
-
$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='
|
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;
|
958
1016
|
|
959
1017
|
$form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding !default;
|
960
1018
|
$form-select-feedback-icon-position: center right $form-select-indicator-padding !default;
|
@@ -962,8 +1020,8 @@ $form-select-feedback-icon-size: $input-height-inner-half $input-height-i
|
|
962
1020
|
|
963
1021
|
$form-select-border-width: $input-border-width !default;
|
964
1022
|
$form-select-border-color: $input-border-color !default;
|
965
|
-
$form-select-border-radius: $border-radius !default;
|
966
|
-
$form-select-box-shadow: $box-shadow-inset !default;
|
1023
|
+
$form-select-border-radius: $input-border-radius !default;
|
1024
|
+
$form-select-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
|
967
1025
|
|
968
1026
|
$form-select-focus-border-color: $input-focus-border-color !default;
|
969
1027
|
$form-select-focus-width: $input-focus-width !default;
|
@@ -972,10 +1030,12 @@ $form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focu
|
|
972
1030
|
$form-select-padding-y-sm: $input-padding-y-sm !default;
|
973
1031
|
$form-select-padding-x-sm: $input-padding-x-sm !default;
|
974
1032
|
$form-select-font-size-sm: $input-font-size-sm !default;
|
1033
|
+
$form-select-border-radius-sm: $input-border-radius-sm !default;
|
975
1034
|
|
976
1035
|
$form-select-padding-y-lg: $input-padding-y-lg !default;
|
977
1036
|
$form-select-padding-x-lg: $input-padding-x-lg !default;
|
978
1037
|
$form-select-font-size-lg: $input-font-size-lg !default;
|
1038
|
+
$form-select-border-radius-lg: $input-border-radius-lg !default;
|
979
1039
|
|
980
1040
|
$form-select-transition: $input-transition !default;
|
981
1041
|
// scss-docs-end form-select-variables
|
@@ -984,9 +1044,9 @@ $form-select-transition: $input-transition !default;
|
|
984
1044
|
$form-range-track-width: 100% !default;
|
985
1045
|
$form-range-track-height: .5rem !default;
|
986
1046
|
$form-range-track-cursor: pointer !default;
|
987
|
-
$form-range-track-bg: $
|
1047
|
+
$form-range-track-bg: var(--#{$prefix}secondary-bg) !default;
|
988
1048
|
$form-range-track-border-radius: 1rem !default;
|
989
|
-
$form-range-track-box-shadow: $box-shadow-inset !default;
|
1049
|
+
$form-range-track-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
|
990
1050
|
|
991
1051
|
$form-range-thumb-width: 1rem !default;
|
992
1052
|
$form-range-thumb-height: $form-range-thumb-width !default;
|
@@ -997,26 +1057,28 @@ $form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !defa
|
|
997
1057
|
$form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
998
1058
|
$form-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in Edge
|
999
1059
|
$form-range-thumb-active-bg: tint-color($component-active-bg, 70%) !default;
|
1000
|
-
$form-range-thumb-disabled-bg: $
|
1060
|
+
$form-range-thumb-disabled-bg: var(--#{$prefix}secondary-color) !default;
|
1001
1061
|
$form-range-thumb-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
1002
1062
|
// scss-docs-end form-range-variables
|
1003
1063
|
|
1004
1064
|
// scss-docs-start form-file-variables
|
1005
1065
|
$form-file-button-color: $input-color !default;
|
1006
|
-
$form-file-button-bg: $
|
1007
|
-
$form-file-button-hover-bg:
|
1066
|
+
$form-file-button-bg: var(--#{$prefix}tertiary-bg) !default;
|
1067
|
+
$form-file-button-hover-bg: var(--#{$prefix}secondary-bg) !default;
|
1008
1068
|
// scss-docs-end form-file-variables
|
1009
1069
|
|
1010
1070
|
// scss-docs-start form-floating-variables
|
1011
|
-
$form-floating-height:
|
1012
|
-
$form-floating-line-height:
|
1013
|
-
$form-floating-padding-x:
|
1014
|
-
$form-floating-padding-y:
|
1015
|
-
$form-floating-input-padding-t:
|
1016
|
-
$form-floating-input-padding-b:
|
1017
|
-
$form-floating-label-
|
1018
|
-
$form-floating-label-
|
1019
|
-
$form-floating-
|
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;
|
1020
1082
|
// scss-docs-end form-floating-variables
|
1021
1083
|
|
1022
1084
|
// Form validation
|
@@ -1029,20 +1091,35 @@ $form-feedback-valid-color: $success !default;
|
|
1029
1091
|
$form-feedback-invalid-color: $danger !default;
|
1030
1092
|
|
1031
1093
|
$form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
1032
|
-
$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.
|
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;
|
1033
1095
|
$form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
|
1034
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;
|
1035
1097
|
// scss-docs-end form-feedback-variables
|
1036
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
|
+
|
1037
1106
|
// scss-docs-start form-validation-states
|
1038
1107
|
$form-validation-states: (
|
1039
1108
|
"valid": (
|
1040
|
-
"color": $form-
|
1041
|
-
"icon": $form-feedback-icon-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),
|
1042
1115
|
),
|
1043
1116
|
"invalid": (
|
1044
|
-
"color": $form-
|
1045
|
-
"icon": $form-feedback-icon-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),
|
1046
1123
|
)
|
1047
1124
|
) !default;
|
1048
1125
|
// scss-docs-end form-validation-states
|
@@ -1062,8 +1139,19 @@ $zindex-modal-backdrop: 1050 !default;
|
|
1062
1139
|
$zindex-modal: 1055 !default;
|
1063
1140
|
$zindex-popover: 1070 !default;
|
1064
1141
|
$zindex-tooltip: 1080 !default;
|
1142
|
+
$zindex-toast: 1090 !default;
|
1065
1143
|
// scss-docs-end zindex-stack
|
1066
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
|
+
|
1067
1155
|
|
1068
1156
|
// Navs
|
1069
1157
|
|
@@ -1072,22 +1160,27 @@ $nav-link-padding-y: .5rem !default;
|
|
1072
1160
|
$nav-link-padding-x: 1rem !default;
|
1073
1161
|
$nav-link-font-size: null !default;
|
1074
1162
|
$nav-link-font-weight: null !default;
|
1075
|
-
$nav-link-color: $link-color !default;
|
1076
|
-
$nav-link-hover-color: $link-hover-color !default;
|
1163
|
+
$nav-link-color: var(--#{$prefix}link-color) !default;
|
1164
|
+
$nav-link-hover-color: var(--#{$prefix}link-hover-color) !default;
|
1077
1165
|
$nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
|
1078
|
-
$nav-link-disabled-color: $
|
1079
|
-
|
1080
|
-
|
1081
|
-
$nav-tabs-border-
|
1082
|
-
$nav-tabs-border-
|
1083
|
-
$nav-tabs-
|
1084
|
-
$nav-tabs-link-
|
1085
|
-
$nav-tabs-link-active-
|
1086
|
-
$nav-tabs-link-active-
|
1087
|
-
|
1088
|
-
|
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;
|
1089
1178
|
$nav-pills-link-active-color: $component-active-color !default;
|
1090
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;
|
1091
1184
|
// scss-docs-end nav-variables
|
1092
1185
|
|
1093
1186
|
|
@@ -1112,28 +1205,29 @@ $navbar-toggler-font-size: $font-size-lg !default;
|
|
1112
1205
|
$navbar-toggler-border-radius: $btn-border-radius !default;
|
1113
1206
|
$navbar-toggler-focus-width: $btn-focus-width !default;
|
1114
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;
|
1115
1218
|
// scss-docs-end navbar-variables
|
1116
1219
|
|
1117
|
-
// scss-docs-start navbar-
|
1220
|
+
// scss-docs-start navbar-dark-variables
|
1118
1221
|
$navbar-dark-color: rgba($white, .55) !default;
|
1119
1222
|
$navbar-dark-hover-color: rgba($white, .75) !default;
|
1120
1223
|
$navbar-dark-active-color: $white !default;
|
1121
1224
|
$navbar-dark-disabled-color: rgba($white, .25) !default;
|
1122
|
-
$navbar-dark-
|
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;
|
1123
1227
|
$navbar-dark-toggler-border-color: rgba($white, .1) !default;
|
1124
|
-
|
1125
|
-
$navbar-
|
1126
|
-
|
1127
|
-
$navbar-light-active-color: rgba($black, .9) !default;
|
1128
|
-
$navbar-light-disabled-color: rgba($black, .3) !default;
|
1129
|
-
$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;
|
1130
|
-
$navbar-light-toggler-border-color: rgba($black, .1) !default;
|
1131
|
-
|
1132
|
-
$navbar-light-brand-color: $navbar-light-active-color !default;
|
1133
|
-
$navbar-light-brand-hover-color: $navbar-light-active-color !default;
|
1134
|
-
$navbar-dark-brand-color: $navbar-dark-active-color !default;
|
1135
|
-
$navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
|
1136
|
-
// scss-docs-end navbar-theme-variables
|
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
|
1137
1231
|
|
1138
1232
|
|
1139
1233
|
// Dropdowns
|
@@ -1146,30 +1240,34 @@ $dropdown-padding-x: 0 !default;
|
|
1146
1240
|
$dropdown-padding-y: .5rem !default;
|
1147
1241
|
$dropdown-spacer: .125rem !default;
|
1148
1242
|
$dropdown-font-size: $font-size-base !default;
|
1149
|
-
$dropdown-color: $body-color !default;
|
1150
|
-
$dropdown-bg: $
|
1151
|
-
$dropdown-border-color:
|
1152
|
-
$dropdown-border-radius: $border-radius !default;
|
1153
|
-
$dropdown-border-width: $border-width !default;
|
1154
|
-
$dropdown-inner-border-radius:
|
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
|
1155
1249
|
$dropdown-divider-bg: $dropdown-border-color !default;
|
1156
1250
|
$dropdown-divider-margin-y: $spacer * .5 !default;
|
1157
|
-
$dropdown-box-shadow: $box-shadow !default;
|
1251
|
+
$dropdown-box-shadow: var(--#{$prefix}box-shadow) !default;
|
1158
1252
|
|
1159
|
-
$dropdown-link-color: $
|
1160
|
-
$dropdown-link-hover-color:
|
1161
|
-
$dropdown-link-hover-bg: $
|
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;
|
1162
1256
|
|
1163
1257
|
$dropdown-link-active-color: $component-active-color !default;
|
1164
1258
|
$dropdown-link-active-bg: $component-active-bg !default;
|
1165
1259
|
|
1166
|
-
$dropdown-link-disabled-color: $
|
1260
|
+
$dropdown-link-disabled-color: var(--#{$prefix}tertiary-color) !default;
|
1167
1261
|
|
1168
1262
|
$dropdown-item-padding-y: $spacer * .25 !default;
|
1169
1263
|
$dropdown-item-padding-x: $spacer !default;
|
1170
1264
|
|
1171
1265
|
$dropdown-header-color: $gray-600 !default;
|
1172
|
-
$dropdown-header-padding:
|
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
|
1173
1271
|
// scss-docs-end dropdown-variables
|
1174
1272
|
|
1175
1273
|
// scss-docs-start dropdown-dark-variables
|
@@ -1198,34 +1296,36 @@ $pagination-padding-x-sm: .5rem !default;
|
|
1198
1296
|
$pagination-padding-y-lg: .75rem !default;
|
1199
1297
|
$pagination-padding-x-lg: 1.5rem !default;
|
1200
1298
|
|
1201
|
-
$pagination-
|
1202
|
-
$pagination-bg: $white !default;
|
1203
|
-
$pagination-border-width: $border-width !default;
|
1204
|
-
$pagination-border-radius: $border-radius !default;
|
1205
|
-
$pagination-margin-start: -$pagination-border-width !default;
|
1206
|
-
$pagination-border-color: $gray-300 !default;
|
1299
|
+
$pagination-font-size: $font-size-base !default;
|
1207
1300
|
|
1208
|
-
$pagination-
|
1209
|
-
$pagination-
|
1210
|
-
$pagination-
|
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;
|
1211
1311
|
$pagination-focus-outline: 0 !default;
|
1212
1312
|
|
1213
|
-
$pagination-hover-color: $link-hover-color !default;
|
1214
|
-
$pagination-hover-bg: $
|
1215
|
-
$pagination-hover-border-color: $
|
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?
|
1216
1316
|
|
1217
1317
|
$pagination-active-color: $component-active-color !default;
|
1218
1318
|
$pagination-active-bg: $component-active-bg !default;
|
1219
|
-
$pagination-active-border-color: $
|
1319
|
+
$pagination-active-border-color: $component-active-bg !default;
|
1220
1320
|
|
1221
|
-
$pagination-disabled-color: $
|
1222
|
-
$pagination-disabled-bg: $
|
1223
|
-
$pagination-disabled-border-color: $
|
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;
|
1224
1324
|
|
1225
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;
|
1226
1326
|
|
1227
|
-
$pagination-border-radius-sm: $border-radius-sm !default;
|
1228
|
-
$pagination-border-radius-lg: $border-radius-lg !default;
|
1327
|
+
$pagination-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
|
1328
|
+
$pagination-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
|
1229
1329
|
// scss-docs-end pagination-variables
|
1230
1330
|
|
1231
1331
|
|
@@ -1242,18 +1342,20 @@ $placeholder-opacity-min: .2 !default;
|
|
1242
1342
|
$card-spacer-y: $spacer !default;
|
1243
1343
|
$card-spacer-x: $spacer !default;
|
1244
1344
|
$card-title-spacer-y: $spacer * .5 !default;
|
1245
|
-
$card-
|
1246
|
-
$card-
|
1247
|
-
$card-border-
|
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;
|
1248
1350
|
$card-box-shadow: null !default;
|
1249
1351
|
$card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
|
1250
1352
|
$card-cap-padding-y: $card-spacer-y * .5 !default;
|
1251
1353
|
$card-cap-padding-x: $card-spacer-x !default;
|
1252
|
-
$card-cap-bg: rgba($
|
1354
|
+
$card-cap-bg: rgba(var(--#{$prefix}body-color-rgb), .03) !default;
|
1253
1355
|
$card-cap-color: null !default;
|
1254
1356
|
$card-height: null !default;
|
1255
1357
|
$card-color: null !default;
|
1256
|
-
$card-bg: $
|
1358
|
+
$card-bg: var(--#{$prefix}body-bg) !default;
|
1257
1359
|
$card-img-overlay-padding: $spacer !default;
|
1258
1360
|
$card-group-margin: $grid-gutter-width * .5 !default;
|
1259
1361
|
// scss-docs-end card-variables
|
@@ -1263,11 +1365,11 @@ $card-group-margin: $grid-gutter-width * .5 !default;
|
|
1263
1365
|
// scss-docs-start accordion-variables
|
1264
1366
|
$accordion-padding-y: 1rem !default;
|
1265
1367
|
$accordion-padding-x: 1.25rem !default;
|
1266
|
-
$accordion-color: $body-color !default;
|
1267
|
-
$accordion-bg: $body-bg !default;
|
1268
|
-
$accordion-border-width: $border-width !default;
|
1269
|
-
$accordion-border-color:
|
1270
|
-
$accordion-border-radius: $border-radius !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;
|
1271
1373
|
$accordion-inner-border-radius: subtract($accordion-border-radius, $accordion-border-width) !default;
|
1272
1374
|
|
1273
1375
|
$accordion-body-padding-y: $accordion-padding-y !default;
|
@@ -1275,23 +1377,25 @@ $accordion-body-padding-x: $accordion-padding-x !default;
|
|
1275
1377
|
|
1276
1378
|
$accordion-button-padding-y: $accordion-padding-y !default;
|
1277
1379
|
$accordion-button-padding-x: $accordion-padding-x !default;
|
1278
|
-
$accordion-button-color: $
|
1279
|
-
$accordion-button-bg: $accordion-bg !default;
|
1380
|
+
$accordion-button-color: var(--#{$prefix}body-color) !default;
|
1381
|
+
$accordion-button-bg: var(--#{$prefix}accordion-bg) !default;
|
1280
1382
|
$accordion-transition: $btn-transition, border-radius .15s ease !default;
|
1281
|
-
$accordion-button-active-bg:
|
1282
|
-
$accordion-button-active-color:
|
1383
|
+
$accordion-button-active-bg: var(--#{$prefix}primary-bg-subtle) !default;
|
1384
|
+
$accordion-button-active-color: var(--#{$prefix}primary-text-emphasis) !default;
|
1283
1385
|
|
1284
|
-
|
1386
|
+
// fusv-disable
|
1387
|
+
$accordion-button-focus-border-color: $input-focus-border-color !default; // Deprecated in v5.3.3
|
1388
|
+
// fusv-enable
|
1285
1389
|
$accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
|
1286
1390
|
|
1287
1391
|
$accordion-icon-width: 1.25rem !default;
|
1288
|
-
$accordion-icon-color: $
|
1289
|
-
$accordion-icon-active-color: $
|
1392
|
+
$accordion-icon-color: $body-color !default;
|
1393
|
+
$accordion-icon-active-color: $primary-text-emphasis !default;
|
1290
1394
|
$accordion-icon-transition: transform .2s ease-in-out !default;
|
1291
1395
|
$accordion-icon-transform: rotate(-180deg) !default;
|
1292
1396
|
|
1293
|
-
$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}'
|
1294
|
-
$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}'
|
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;
|
1295
1399
|
// scss-docs-end accordion-variables
|
1296
1400
|
|
1297
1401
|
// Tooltips
|
@@ -1299,17 +1403,19 @@ $accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w
|
|
1299
1403
|
// scss-docs-start tooltip-variables
|
1300
1404
|
$tooltip-font-size: $font-size-sm !default;
|
1301
1405
|
$tooltip-max-width: 200px !default;
|
1302
|
-
$tooltip-color: $
|
1303
|
-
$tooltip-bg: $
|
1304
|
-
$tooltip-border-radius: $border-radius !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;
|
1305
1409
|
$tooltip-opacity: .9 !default;
|
1306
1410
|
$tooltip-padding-y: $spacer * .25 !default;
|
1307
1411
|
$tooltip-padding-x: $spacer * .5 !default;
|
1308
|
-
$tooltip-margin:
|
1412
|
+
$tooltip-margin: null !default; // TODO: remove this in v6
|
1309
1413
|
|
1310
1414
|
$tooltip-arrow-width: .8rem !default;
|
1311
1415
|
$tooltip-arrow-height: .4rem !default;
|
1312
|
-
|
1416
|
+
// fusv-disable
|
1417
|
+
$tooltip-arrow-color: null !default; // Deprecated in Bootstrap 5.2.0 for CSS variables
|
1418
|
+
// fusv-enable
|
1313
1419
|
// scss-docs-end tooltip-variables
|
1314
1420
|
|
1315
1421
|
// Form tooltips must come after regular tooltips
|
@@ -1327,30 +1433,34 @@ $form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
|
|
1327
1433
|
|
1328
1434
|
// scss-docs-start popover-variables
|
1329
1435
|
$popover-font-size: $font-size-sm !default;
|
1330
|
-
$popover-bg: $
|
1436
|
+
$popover-bg: var(--#{$prefix}body-bg) !default;
|
1331
1437
|
$popover-max-width: 276px !default;
|
1332
|
-
$popover-border-width: $border-width !default;
|
1333
|
-
$popover-border-color:
|
1334
|
-
$popover-border-radius: $border-radius-lg !default;
|
1335
|
-
$popover-inner-border-radius:
|
1336
|
-
$popover-box-shadow: $box-shadow !default;
|
1337
|
-
|
1338
|
-
$popover-header-
|
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;
|
1339
1446
|
$popover-header-color: $headings-color !default;
|
1340
1447
|
$popover-header-padding-y: .5rem !default;
|
1341
1448
|
$popover-header-padding-x: $spacer !default;
|
1342
1449
|
|
1343
|
-
$popover-body-color: $body-color !default;
|
1450
|
+
$popover-body-color: var(--#{$prefix}body-color) !default;
|
1344
1451
|
$popover-body-padding-y: $spacer !default;
|
1345
1452
|
$popover-body-padding-x: $spacer !default;
|
1346
1453
|
|
1347
1454
|
$popover-arrow-width: 1rem !default;
|
1348
1455
|
$popover-arrow-height: .5rem !default;
|
1349
|
-
$popover-arrow-color: $popover-bg !default;
|
1350
|
-
|
1351
|
-
$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
|
1352
1456
|
// scss-docs-end popover-variables
|
1353
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
|
+
|
1354
1464
|
|
1355
1465
|
// Toasts
|
1356
1466
|
|
@@ -1360,16 +1470,16 @@ $toast-padding-x: .75rem !default;
|
|
1360
1470
|
$toast-padding-y: .5rem !default;
|
1361
1471
|
$toast-font-size: .875rem !default;
|
1362
1472
|
$toast-color: null !default;
|
1363
|
-
$toast-background-color: rgba($
|
1364
|
-
$toast-border-width:
|
1365
|
-
$toast-border-color:
|
1366
|
-
$toast-border-radius: $border-radius !default;
|
1367
|
-
$toast-box-shadow: $box-shadow !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;
|
1368
1478
|
$toast-spacing: $container-padding-x !default;
|
1369
1479
|
|
1370
|
-
$toast-header-color: $
|
1371
|
-
$toast-header-background-color: rgba($
|
1372
|
-
$toast-header-border-color:
|
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;
|
1373
1483
|
// scss-docs-end toast-variables
|
1374
1484
|
|
1375
1485
|
|
@@ -1381,7 +1491,7 @@ $badge-font-weight: $font-weight-bold !default;
|
|
1381
1491
|
$badge-color: $white !default;
|
1382
1492
|
$badge-padding-y: .35em !default;
|
1383
1493
|
$badge-padding-x: .65em !default;
|
1384
|
-
$badge-border-radius: $border-radius !default;
|
1494
|
+
$badge-border-radius: var(--#{$prefix}border-radius) !default;
|
1385
1495
|
// scss-docs-end badge-variables
|
1386
1496
|
|
1387
1497
|
|
@@ -1398,24 +1508,27 @@ $modal-dialog-margin-y-sm-up: 1.75rem !default;
|
|
1398
1508
|
$modal-title-line-height: $line-height-base !default;
|
1399
1509
|
|
1400
1510
|
$modal-content-color: null !default;
|
1401
|
-
$modal-content-bg: $
|
1402
|
-
$modal-content-border-color:
|
1403
|
-
$modal-content-border-width: $border-width !default;
|
1404
|
-
$modal-content-border-radius: $border-radius-lg !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;
|
1405
1515
|
$modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
|
1406
|
-
$modal-content-box-shadow-xs: $box-shadow-sm !default;
|
1407
|
-
$modal-content-box-shadow-sm-up: $box-shadow !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;
|
1408
1518
|
|
1409
1519
|
$modal-backdrop-bg: $black !default;
|
1410
1520
|
$modal-backdrop-opacity: .5 !default;
|
1411
|
-
|
1412
|
-
$modal-
|
1521
|
+
|
1522
|
+
$modal-header-border-color: var(--#{$prefix}border-color) !default;
|
1413
1523
|
$modal-header-border-width: $modal-content-border-width !default;
|
1414
|
-
$modal-footer-border-width: $modal-header-border-width !default;
|
1415
1524
|
$modal-header-padding-y: $modal-inner-padding !default;
|
1416
1525
|
$modal-header-padding-x: $modal-inner-padding !default;
|
1417
1526
|
$modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
|
1418
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
|
+
|
1419
1532
|
$modal-sm: 300px !default;
|
1420
1533
|
$modal-md: 500px !default;
|
1421
1534
|
$modal-lg: 800px !default;
|
@@ -1436,24 +1549,26 @@ $modal-scale-transform: scale(1.02) !default;
|
|
1436
1549
|
$alert-padding-y: $spacer !default;
|
1437
1550
|
$alert-padding-x: $spacer !default;
|
1438
1551
|
$alert-margin-bottom: 1rem !default;
|
1439
|
-
$alert-border-radius: $border-radius !default;
|
1552
|
+
$alert-border-radius: var(--#{$prefix}border-radius) !default;
|
1440
1553
|
$alert-link-font-weight: $font-weight-bold !default;
|
1441
|
-
$alert-border-width: $border-width !default;
|
1442
|
-
$alert-bg-scale: -80% !default;
|
1443
|
-
$alert-border-scale: -70% !default;
|
1444
|
-
$alert-color-scale: 40% !default;
|
1554
|
+
$alert-border-width: var(--#{$prefix}border-width) !default;
|
1445
1555
|
$alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
|
1446
1556
|
// scss-docs-end alert-variables
|
1447
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
|
1448
1563
|
|
1449
1564
|
// Progress bars
|
1450
1565
|
|
1451
1566
|
// scss-docs-start progress-variables
|
1452
1567
|
$progress-height: 1rem !default;
|
1453
1568
|
$progress-font-size: $font-size-base * .75 !default;
|
1454
|
-
$progress-bg: $
|
1455
|
-
$progress-border-radius: $border-radius !default;
|
1456
|
-
$progress-box-shadow: $box-shadow-inset !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;
|
1457
1572
|
$progress-bar-color: $white !default;
|
1458
1573
|
$progress-bar-bg: $primary !default;
|
1459
1574
|
$progress-bar-animation-timing: 1s linear infinite !default;
|
@@ -1464,30 +1579,32 @@ $progress-bar-transition: width .6s ease !default;
|
|
1464
1579
|
// List group
|
1465
1580
|
|
1466
1581
|
// scss-docs-start list-group-variables
|
1467
|
-
$list-group-color: $
|
1468
|
-
$list-group-bg: $
|
1469
|
-
$list-group-border-color:
|
1470
|
-
$list-group-border-width: $border-width !default;
|
1471
|
-
$list-group-border-radius: $border-radius !default;
|
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;
|
1472
1587
|
|
1473
1588
|
$list-group-item-padding-y: $spacer * .5 !default;
|
1474
1589
|
$list-group-item-padding-x: $spacer !default;
|
1475
|
-
|
1476
|
-
$list-group-item-
|
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
|
1477
1594
|
|
1478
|
-
$list-group-hover-bg: $
|
1595
|
+
$list-group-hover-bg: var(--#{$prefix}tertiary-bg) !default;
|
1479
1596
|
$list-group-active-color: $component-active-color !default;
|
1480
1597
|
$list-group-active-bg: $component-active-bg !default;
|
1481
1598
|
$list-group-active-border-color: $list-group-active-bg !default;
|
1482
1599
|
|
1483
|
-
$list-group-disabled-color: $
|
1600
|
+
$list-group-disabled-color: var(--#{$prefix}secondary-color) !default;
|
1484
1601
|
$list-group-disabled-bg: $list-group-bg !default;
|
1485
1602
|
|
1486
|
-
$list-group-action-color: $
|
1487
|
-
$list-group-action-hover-color: $
|
1603
|
+
$list-group-action-color: var(--#{$prefix}secondary-color) !default;
|
1604
|
+
$list-group-action-hover-color: var(--#{$prefix}emphasis-color) !default;
|
1488
1605
|
|
1489
|
-
$list-group-action-active-color: $body-color !default;
|
1490
|
-
$list-group-action-active-bg: $
|
1606
|
+
$list-group-action-active-color: var(--#{$prefix}body-color) !default;
|
1607
|
+
$list-group-action-active-bg: var(--#{$prefix}secondary-bg) !default;
|
1491
1608
|
// scss-docs-end list-group-variables
|
1492
1609
|
|
1493
1610
|
|
@@ -1495,11 +1612,11 @@ $list-group-action-active-bg: $gray-200 !default;
|
|
1495
1612
|
|
1496
1613
|
// scss-docs-start thumbnail-variables
|
1497
1614
|
$thumbnail-padding: .25rem !default;
|
1498
|
-
$thumbnail-bg: $body-bg !default;
|
1499
|
-
$thumbnail-border-width: $border-width !default;
|
1500
|
-
$thumbnail-border-color: $
|
1501
|
-
$thumbnail-border-radius: $border-radius !default;
|
1502
|
-
$thumbnail-box-shadow: $box-shadow-sm !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;
|
1503
1620
|
// scss-docs-end thumbnail-variables
|
1504
1621
|
|
1505
1622
|
|
@@ -1507,7 +1624,7 @@ $thumbnail-box-shadow: $box-shadow-sm !default;
|
|
1507
1624
|
|
1508
1625
|
// scss-docs-start figure-variables
|
1509
1626
|
$figure-caption-font-size: $small-font-size !default;
|
1510
|
-
$figure-caption-color: $
|
1627
|
+
$figure-caption-color: var(--#{$prefix}secondary-color) !default;
|
1511
1628
|
// scss-docs-end figure-variables
|
1512
1629
|
|
1513
1630
|
|
@@ -1520,8 +1637,8 @@ $breadcrumb-padding-x: 0 !default;
|
|
1520
1637
|
$breadcrumb-item-padding-x: .5rem !default;
|
1521
1638
|
$breadcrumb-margin-bottom: 1rem !default;
|
1522
1639
|
$breadcrumb-bg: null !default;
|
1523
|
-
$breadcrumb-divider-color: $
|
1524
|
-
$breadcrumb-active-color: $
|
1640
|
+
$breadcrumb-divider-color: var(--#{$prefix}secondary-color) !default;
|
1641
|
+
$breadcrumb-active-color: var(--#{$prefix}secondary-color) !default;
|
1525
1642
|
$breadcrumb-divider: quote("/") !default;
|
1526
1643
|
$breadcrumb-divider-flipped: $breadcrumb-divider !default;
|
1527
1644
|
$breadcrumb-border-radius: null !default;
|
@@ -1557,11 +1674,13 @@ $carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://
|
|
1557
1674
|
|
1558
1675
|
$carousel-transition-duration: .6s !default;
|
1559
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
|
1560
1678
|
|
1679
|
+
// scss-docs-start carousel-dark-variables
|
1561
1680
|
$carousel-dark-indicator-active-bg: $black !default;
|
1562
1681
|
$carousel-dark-caption-color: $black !default;
|
1563
1682
|
$carousel-dark-control-icon-filter: invert(1) grayscale(100) !default;
|
1564
|
-
// scss-docs-end carousel-variables
|
1683
|
+
// scss-docs-end carousel-dark-variables
|
1565
1684
|
|
1566
1685
|
|
1567
1686
|
// Spinners
|
@@ -1587,8 +1706,8 @@ $btn-close-height: $btn-close-width !default;
|
|
1587
1706
|
$btn-close-padding-x: .25em !default;
|
1588
1707
|
$btn-close-padding-y: $btn-close-padding-x !default;
|
1589
1708
|
$btn-close-color: $black !default;
|
1590
|
-
$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
|
1591
|
-
$btn-close-focus-shadow: $
|
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;
|
1592
1711
|
$btn-close-opacity: .5 !default;
|
1593
1712
|
$btn-close-hover-opacity: .75 !default;
|
1594
1713
|
$btn-close-focus-opacity: 1 !default;
|
@@ -1608,8 +1727,8 @@ $offcanvas-transition-duration: .3s !default;
|
|
1608
1727
|
$offcanvas-border-color: $modal-content-border-color !default;
|
1609
1728
|
$offcanvas-border-width: $modal-content-border-width !default;
|
1610
1729
|
$offcanvas-title-line-height: $modal-title-line-height !default;
|
1611
|
-
$offcanvas-bg-color: $
|
1612
|
-
$offcanvas-color: $
|
1730
|
+
$offcanvas-bg-color: var(--#{$prefix}body-bg) !default;
|
1731
|
+
$offcanvas-color: var(--#{$prefix}body-color) !default;
|
1613
1732
|
$offcanvas-box-shadow: $modal-content-box-shadow-xs !default;
|
1614
1733
|
$offcanvas-backdrop-bg: $modal-backdrop-bg !default;
|
1615
1734
|
$offcanvas-backdrop-opacity: $modal-backdrop-opacity !default;
|
@@ -1620,10 +1739,13 @@ $offcanvas-backdrop-opacity: $modal-backdrop-opacity !default;
|
|
1620
1739
|
$code-font-size: $small-font-size !default;
|
1621
1740
|
$code-color: $pink !default;
|
1622
1741
|
|
1623
|
-
$kbd-padding-y: .
|
1624
|
-
$kbd-padding-x: .
|
1742
|
+
$kbd-padding-y: .1875rem !default;
|
1743
|
+
$kbd-padding-x: .375rem !default;
|
1625
1744
|
$kbd-font-size: $code-font-size !default;
|
1626
|
-
$kbd-color: $
|
1627
|
-
$kbd-bg: $
|
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
|
1628
1748
|
|
1629
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
|