bootstrap 5.0.0.alpha2 → 5.0.0.alpha3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -2
  3. data/assets/javascripts/bootstrap-sprockets.js +6 -7
  4. data/assets/javascripts/bootstrap.js +220 -267
  5. data/assets/javascripts/bootstrap.min.js +2 -2
  6. data/assets/javascripts/bootstrap/alert.js +25 -15
  7. data/assets/javascripts/bootstrap/button.js +25 -15
  8. data/assets/javascripts/bootstrap/carousel.js +46 -24
  9. data/assets/javascripts/bootstrap/collapse.js +25 -15
  10. data/assets/javascripts/bootstrap/dom/data.js +2 -2
  11. data/assets/javascripts/bootstrap/dom/event-handler.js +8 -16
  12. data/assets/javascripts/bootstrap/dom/manipulator.js +2 -13
  13. data/assets/javascripts/bootstrap/dom/selector-engine.js +9 -9
  14. data/assets/javascripts/bootstrap/dropdown.js +34 -24
  15. data/assets/javascripts/bootstrap/modal.js +25 -15
  16. data/assets/javascripts/bootstrap/popover.js +26 -15
  17. data/assets/javascripts/bootstrap/scrollspy.js +25 -14
  18. data/assets/javascripts/bootstrap/tab.js +25 -15
  19. data/assets/javascripts/bootstrap/toast.js +26 -16
  20. data/assets/javascripts/bootstrap/tooltip.js +27 -17
  21. data/assets/stylesheets/_bootstrap-grid.scss +1 -1
  22. data/assets/stylesheets/_bootstrap-reboot.scss +1 -1
  23. data/assets/stylesheets/_bootstrap.scss +2 -1
  24. data/assets/stylesheets/bootstrap/_accordion.scss +125 -0
  25. data/assets/stylesheets/bootstrap/_alert.scss +10 -3
  26. data/assets/stylesheets/bootstrap/_breadcrumb.scss +1 -3
  27. data/assets/stylesheets/bootstrap/_button-group.scss +0 -2
  28. data/assets/stylesheets/bootstrap/_buttons.scss +0 -15
  29. data/assets/stylesheets/bootstrap/_card.scss +0 -27
  30. data/assets/stylesheets/bootstrap/_close.scss +1 -2
  31. data/assets/stylesheets/bootstrap/_forms.scss +1 -1
  32. data/assets/stylesheets/bootstrap/_functions.scss +12 -12
  33. data/assets/stylesheets/bootstrap/_list-group.scss +8 -2
  34. data/assets/stylesheets/bootstrap/_popover.scss +1 -1
  35. data/assets/stylesheets/bootstrap/_progress.scss +1 -1
  36. data/assets/stylesheets/bootstrap/_reboot.scss +19 -17
  37. data/assets/stylesheets/bootstrap/_root.scss +5 -5
  38. data/assets/stylesheets/bootstrap/_spinners.scss +11 -2
  39. data/assets/stylesheets/bootstrap/_tables.scss +16 -16
  40. data/assets/stylesheets/bootstrap/_utilities.scss +27 -13
  41. data/assets/stylesheets/bootstrap/_variables.scss +183 -160
  42. data/assets/stylesheets/bootstrap/bootstrap-utilities.scss +1 -1
  43. data/assets/stylesheets/bootstrap/forms/_floating-labels.scss +61 -0
  44. data/assets/stylesheets/bootstrap/forms/_form-check.scss +15 -6
  45. data/assets/stylesheets/bootstrap/forms/_form-control.scss +115 -8
  46. data/assets/stylesheets/bootstrap/forms/_form-range.scss +0 -45
  47. data/assets/stylesheets/bootstrap/forms/_form-select.scss +0 -14
  48. data/assets/stylesheets/bootstrap/forms/_input-group.scss +20 -39
  49. data/assets/stylesheets/bootstrap/helpers/_colored-links.scss +2 -2
  50. data/assets/stylesheets/bootstrap/mixins/_alert.scss +1 -1
  51. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +4 -4
  52. data/assets/stylesheets/bootstrap/mixins/_forms.scss +0 -16
  53. data/assets/stylesheets/bootstrap/mixins/_gradients.scss +1 -1
  54. data/assets/stylesheets/bootstrap/mixins/_grid.scss +10 -10
  55. data/assets/stylesheets/bootstrap/mixins/_list-group.scss +1 -1
  56. data/assets/stylesheets/bootstrap/mixins/_table-variants.scss +7 -7
  57. data/lib/bootstrap/version.rb +2 -2
  58. metadata +4 -4
  59. data/assets/javascripts/bootstrap/dom/polyfill.js +0 -110
  60. data/assets/stylesheets/bootstrap/forms/_form-file.scss +0 -91
@@ -151,7 +151,13 @@
151
151
  // Add modifier classes to change text and background color on individual items.
152
152
  // Organizationally, this must come after the `:hover` states.
153
153
 
154
- @each $color, $value in $theme-colors {
155
- @include list-group-item-variant($color, color-level($value, $list-group-item-bg-level), color-level($value, $list-group-item-color-level));
154
+ @each $state, $value in $theme-colors {
155
+ $background: scale-color($value, $list-group-item-bg-scale);
156
+ $color: scale-color($value, $list-group-item-color-scale);
157
+ @if (contrast-ratio($background, $color) < $min-contrast-ratio) {
158
+ $color: mix($value, color-contrast($background), abs($alert-color-scale));
159
+ }
160
+
161
+ @include list-group-item-variant($state, $background, $color);
156
162
  }
157
163
  // scss-docs-end list-group-modifiers
@@ -156,7 +156,7 @@
156
156
  @include font-size($font-size-base);
157
157
  color: $popover-header-color;
158
158
  background-color: $popover-header-bg;
159
- border-bottom: $popover-border-width solid darken($popover-header-bg, 5%);
159
+ border-bottom: $popover-border-width solid shade-color($popover-header-bg, 10%);
160
160
  @include border-top-radius($popover-inner-border-radius);
161
161
 
162
162
  &:empty {
@@ -34,7 +34,7 @@
34
34
 
35
35
  @if $enable-transitions {
36
36
  .progress-bar-animated {
37
- animation: progress-bar-stripes $progress-bar-animation-timing;
37
+ animation: $progress-bar-animation-timing progress-bar-stripes;
38
38
 
39
39
  @if $enable-reduced-motion {
40
40
  @media (prefers-reduced-motion: reduce) {
@@ -27,6 +27,12 @@
27
27
 
28
28
  :root {
29
29
  font-size: $font-size-root;
30
+
31
+ @if $enable-smooth-scroll {
32
+ @media (prefers-reduced-motion: no-preference) {
33
+ scroll-behavior: smooth;
34
+ }
35
+ }
30
36
  }
31
37
 
32
38
 
@@ -289,8 +295,6 @@ samp {
289
295
  // 1. Remove browser default top margin
290
296
  // 2. Reset browser default of `1em` to use `rem`s
291
297
  // 3. Don't allow content to break outside
292
- // 4. Disable auto-hiding scrollbar in legacy Edge to avoid overlap,
293
- // making it impossible to interact with the content
294
298
 
295
299
  pre {
296
300
  display: block;
@@ -299,7 +303,6 @@ pre {
299
303
  overflow: auto; // 3
300
304
  @include font-size($code-font-size);
301
305
  color: $pre-color;
302
- -ms-overflow-style: scrollbar; // 4
303
306
 
304
307
  // Account for some code outputs that place code tags in pre tags
305
308
  code {
@@ -411,8 +414,8 @@ button {
411
414
  // Credit https://github.com/suitcss/base/
412
415
 
413
416
  button:focus {
414
- outline: 1px dotted;
415
- outline: 5px auto -webkit-focus-ring-color;
417
+ outline: dotted 1px;
418
+ outline: -webkit-focus-ring-color auto 5px;
416
419
  }
417
420
 
418
421
  // 1. Remove the margin in Firefox and Safari
@@ -428,13 +431,6 @@ textarea {
428
431
  line-height: inherit;
429
432
  }
430
433
 
431
- // Show the overflow in Edge
432
-
433
- button,
434
- input {
435
- overflow: visible;
436
- }
437
-
438
434
  // Remove the inheritance of text transform in Firefox
439
435
 
440
436
  button,
@@ -510,8 +506,7 @@ fieldset {
510
506
 
511
507
  // 1. By using `float: left`, the legend will behave like a block element.
512
508
  // This way the border of a fieldset wraps around the legend if present.
513
- // 2. Correct the text wrapping in Edge.
514
- // 3. Fix wrapping bug.
509
+ // 2. Fix wrapping bug.
515
510
  // See https://github.com/twbs/bootstrap/issues/29712
516
511
 
517
512
  legend {
@@ -522,10 +517,9 @@ legend {
522
517
  @include font-size($legend-font-size);
523
518
  font-weight: $legend-font-weight;
524
519
  line-height: inherit;
525
- white-space: normal; // 2
526
520
 
527
521
  + * {
528
- clear: left; // 3
522
+ clear: left; // 2
529
523
  }
530
524
  }
531
525
 
@@ -569,7 +563,15 @@ legend {
569
563
  padding: 0;
570
564
  }
571
565
 
572
- // 1. Change font properties to `inherit` in Safari.
566
+
567
+ // Inherit font family and line height for file input buttons
568
+
569
+ // stylelint-disable-next-line selector-pseudo-element-no-unknown
570
+ ::file-selector-button {
571
+ font: inherit;
572
+ }
573
+
574
+ // 1. Change font properties to `inherit`
573
575
  // 2. Correct the inability to style clickable types in iOS and Safari.
574
576
 
575
577
  ::-webkit-file-upload-button {
@@ -1,16 +1,16 @@
1
1
  :root {
2
2
  // Custom variable values only support SassScript inside `#{}`.
3
3
  @each $color, $value in $colors {
4
- --bs-#{$color}: #{$value};
4
+ --#{$variable-prefix}#{$color}: #{$value};
5
5
  }
6
6
 
7
7
  @each $color, $value in $theme-colors {
8
- --bs-#{$color}: #{$value};
8
+ --#{$variable-prefix}#{$color}: #{$value};
9
9
  }
10
10
 
11
11
  // Use `inspect` for lists so that quoted items keep the quotes.
12
12
  // See https://github.com/sass/sass/issues/2383#issuecomment-336349172
13
- --bs-font-sans-serif: #{inspect($font-family-sans-serif)};
14
- --bs-font-monospace: #{inspect($font-family-monospace)};
15
- --bs-gradient: #{$gradient};
13
+ --#{$variable-prefix}font-sans-serif: #{inspect($font-family-sans-serif)};
14
+ --#{$variable-prefix}font-monospace: #{inspect($font-family-monospace)};
15
+ --#{$variable-prefix}gradient: #{$gradient};
16
16
  }
@@ -15,7 +15,7 @@
15
15
  border-right-color: transparent;
16
16
  // stylelint-disable-next-line property-disallowed-list
17
17
  border-radius: 50%;
18
- animation: spinner-border $spinner-animation-speed linear infinite;
18
+ animation: $spinner-animation-speed linear infinite spinner-border;
19
19
  }
20
20
 
21
21
  .spinner-border-sm {
@@ -47,10 +47,19 @@
47
47
  // stylelint-disable-next-line property-disallowed-list
48
48
  border-radius: 50%;
49
49
  opacity: 0;
50
- animation: spinner-grow $spinner-animation-speed linear infinite;
50
+ animation: $spinner-animation-speed linear infinite spinner-grow;
51
51
  }
52
52
 
53
53
  .spinner-grow-sm {
54
54
  width: $spinner-width-sm;
55
55
  height: $spinner-height-sm;
56
56
  }
57
+
58
+ @if $enable-reduced-motion {
59
+ @media (prefers-reduced-motion: reduce) {
60
+ .spinner-border,
61
+ .spinner-grow {
62
+ animation-duration: $spinner-animation-speed * 2;
63
+ }
64
+ }
65
+ }
@@ -3,14 +3,14 @@
3
3
  //
4
4
 
5
5
  .table {
6
- --bs-table-bg: #{$table-bg};
7
- --bs-table-accent-bg: transparent;
8
- --bs-table-striped-color: #{$table-striped-color};
9
- --bs-table-striped-bg: #{$table-striped-bg};
10
- --bs-table-active-color: #{$table-active-color};
11
- --bs-table-active-bg: #{$table-active-bg};
12
- --bs-table-hover-color: #{$table-hover-color};
13
- --bs-table-hover-bg: #{$table-hover-bg};
6
+ --#{$variable-prefix}table-bg: #{$table-bg};
7
+ --#{$variable-prefix}table-accent-bg: transparent;
8
+ --#{$variable-prefix}table-striped-color: #{$table-striped-color};
9
+ --#{$variable-prefix}table-striped-bg: #{$table-striped-bg};
10
+ --#{$variable-prefix}table-active-color: #{$table-active-color};
11
+ --#{$variable-prefix}table-active-bg: #{$table-active-bg};
12
+ --#{$variable-prefix}table-hover-color: #{$table-hover-color};
13
+ --#{$variable-prefix}table-hover-bg: #{$table-hover-bg};
14
14
 
15
15
  width: 100%;
16
16
  margin-bottom: $spacer;
@@ -25,8 +25,8 @@
25
25
  // stylelint-disable-next-line selector-max-universal
26
26
  > :not(caption) > * > * {
27
27
  padding: $table-cell-padding-y $table-cell-padding-x;
28
- background-color: var(--bs-table-bg);
29
- background-image: linear-gradient(var(--bs-table-accent-bg), var(--bs-table-accent-bg));
28
+ background-color: var(--#{$variable-prefix}table-bg);
29
+ background-image: linear-gradient(var(--#{$variable-prefix}table-accent-bg), var(--#{$variable-prefix}table-accent-bg));
30
30
  border-bottom-width: $table-border-width;
31
31
  }
32
32
 
@@ -99,8 +99,8 @@
99
99
 
100
100
  .table-striped {
101
101
  > tbody > tr:nth-of-type(#{$table-striped-order}) {
102
- --bs-table-accent-bg: var(--bs-table-striped-bg);
103
- color: var(--bs-table-striped-color);
102
+ --#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-striped-bg);
103
+ color: var(--#{$variable-prefix}table-striped-color);
104
104
  }
105
105
  }
106
106
 
@@ -109,8 +109,8 @@
109
109
  // The `.table-active` class can be added to highlight rows or cells
110
110
 
111
111
  .table-active {
112
- --bs-table-accent-bg: var(--bs-table-active-bg);
113
- color: var(--bs-table-active-color);
112
+ --#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-active-bg);
113
+ color: var(--#{$variable-prefix}table-active-color);
114
114
  }
115
115
 
116
116
  // Hover effect
@@ -119,8 +119,8 @@
119
119
 
120
120
  .table-hover {
121
121
  > tbody > tr:hover {
122
- --bs-table-accent-bg: var(--bs-table-hover-bg);
123
- color: var(--bs-table-hover-color);
122
+ --#{$variable-prefix}table-accent-bg: var(--#{$variable-prefix}table-hover-bg);
123
+ color: var(--#{$variable-prefix}table-hover-color);
124
124
  }
125
125
  }
126
126
 
@@ -16,14 +16,14 @@ $utilities: map-merge(
16
16
  ),
17
17
  "overflow": (
18
18
  property: overflow,
19
- values: auto hidden,
19
+ values: auto hidden visible scroll,
20
20
  ),
21
21
  "display": (
22
22
  responsive: true,
23
23
  print: true,
24
24
  property: display,
25
25
  class: d,
26
- values: inline inline-block block table table-row table-cell flex inline-flex none
26
+ values: inline inline-block block grid table table-row table-cell flex inline-flex none
27
27
  ),
28
28
  "shadow": (
29
29
  property: box-shadow,
@@ -196,6 +196,12 @@ $utilities: map-merge(
196
196
  class: flex,
197
197
  values: wrap nowrap wrap-reverse
198
198
  ),
199
+ "gap": (
200
+ responsive: true,
201
+ property: gap,
202
+ class: gap,
203
+ values: $spacers
204
+ ),
199
205
  "justify-content": (
200
206
  responsive: true,
201
207
  property: justify-content,
@@ -387,8 +393,20 @@ $utilities: map-merge(
387
393
  values: $spacers
388
394
  ),
389
395
  // Text
396
+ "font-size": (
397
+ rfs: true,
398
+ property: font-size,
399
+ class: fs,
400
+ values: $font-sizes
401
+ ),
402
+ "font-style": (
403
+ property: font-style,
404
+ class: fst,
405
+ values: italic normal
406
+ ),
390
407
  "font-weight": (
391
408
  property: font-weight,
409
+ class: fw,
392
410
  values: (
393
411
  light: $font-weight-light,
394
412
  lighter: $font-weight-lighter,
@@ -448,7 +466,7 @@ $utilities: map-merge(
448
466
  "gradient": (
449
467
  property: background-image,
450
468
  class: bg,
451
- values: (gradient: var(--bs-gradient))
469
+ values: (gradient: var(--#{$variable-prefix}gradient))
452
470
  ),
453
471
  "white-space": (
454
472
  property: white-space,
@@ -462,11 +480,6 @@ $utilities: map-merge(
462
480
  property: text-decoration,
463
481
  values: none underline line-through
464
482
  ),
465
- "font-style": (
466
- property: font-style,
467
- class: font,
468
- values: italic normal
469
- ),
470
483
  "word-wrap": (
471
484
  property: word-wrap word-break,
472
485
  class: text,
@@ -475,7 +488,7 @@ $utilities: map-merge(
475
488
  "font-family": (
476
489
  property: font-family,
477
490
  class: font,
478
- values: (monospace: var(--bs-font-monospace))
491
+ values: (monospace: var(--#{$variable-prefix}font-monospace))
479
492
  ),
480
493
  "user-select": (
481
494
  property: user-select,
@@ -491,11 +504,12 @@ $utilities: map-merge(
491
504
  class: rounded,
492
505
  values: (
493
506
  null: $border-radius,
494
- sm: $border-radius-sm,
495
- lg: $border-radius-lg,
496
- circle: 50%,
497
- pill: $rounded-pill,
498
507
  0: 0,
508
+ 1: $border-radius-sm,
509
+ 2: $border-radius,
510
+ 3: $border-radius-lg,
511
+ circle: 50%,
512
+ pill: $border-radius-pill
499
513
  )
500
514
  ),
501
515
  "rounded-top": (
@@ -67,7 +67,7 @@ $info: $cyan !default;
67
67
  $warning: $yellow !default;
68
68
  $danger: $red !default;
69
69
  $light: $gray-100 !default;
70
- $dark: $gray-800 !default;
70
+ $dark: $gray-900 !default;
71
71
 
72
72
  // scss-docs-start theme-colors-map
73
73
  $theme-colors: (
@@ -82,9 +82,6 @@ $theme-colors: (
82
82
  ) !default;
83
83
  // scss-docs-end theme-colors-map
84
84
 
85
- // Set a specific jump point for requesting color jumps
86
- $theme-color-interval: 8% !default;
87
-
88
85
  // 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.
89
86
  // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
90
87
  $min-contrast-ratio: 4.5 !default;
@@ -94,105 +91,105 @@ $color-contrast-dark: $black !default;
94
91
  $color-contrast-light: $white !default;
95
92
 
96
93
  // fusv-disable
97
- $blue-100: tint-color($blue, 8) !default;
98
- $blue-200: tint-color($blue, 6) !default;
99
- $blue-300: tint-color($blue, 4) !default;
100
- $blue-400: tint-color($blue, 2) !default;
94
+ $blue-100: tint-color($blue, 80%) !default;
95
+ $blue-200: tint-color($blue, 60%) !default;
96
+ $blue-300: tint-color($blue, 40%) !default;
97
+ $blue-400: tint-color($blue, 20%) !default;
101
98
  $blue-500: $blue !default;
102
- $blue-600: shade-color($blue, 2) !default;
103
- $blue-700: shade-color($blue, 4) !default;
104
- $blue-800: shade-color($blue, 6) !default;
105
- $blue-900: shade-color($blue, 8) !default;
106
-
107
- $indigo-100: tint-color($indigo, 8) !default;
108
- $indigo-200: tint-color($indigo, 6) !default;
109
- $indigo-300: tint-color($indigo, 4) !default;
110
- $indigo-400: tint-color($indigo, 2) !default;
99
+ $blue-600: shade-color($blue, 20%) !default;
100
+ $blue-700: shade-color($blue, 40%) !default;
101
+ $blue-800: shade-color($blue, 60%) !default;
102
+ $blue-900: shade-color($blue, 80%) !default;
103
+
104
+ $indigo-100: tint-color($indigo, 80%) !default;
105
+ $indigo-200: tint-color($indigo, 60%) !default;
106
+ $indigo-300: tint-color($indigo, 40%) !default;
107
+ $indigo-400: tint-color($indigo, 20%) !default;
111
108
  $indigo-500: $indigo !default;
112
- $indigo-600: shade-color($indigo, 2) !default;
113
- $indigo-700: shade-color($indigo, 4) !default;
114
- $indigo-800: shade-color($indigo, 6) !default;
115
- $indigo-900: shade-color($indigo, 8) !default;
116
-
117
- $purple-100: tint-color($purple, 8) !default;
118
- $purple-200: tint-color($purple, 6) !default;
119
- $purple-300: tint-color($purple, 4) !default;
120
- $purple-400: tint-color($purple, 2) !default;
109
+ $indigo-600: shade-color($indigo, 20%) !default;
110
+ $indigo-700: shade-color($indigo, 40%) !default;
111
+ $indigo-800: shade-color($indigo, 60%) !default;
112
+ $indigo-900: shade-color($indigo, 80%) !default;
113
+
114
+ $purple-100: tint-color($purple, 80%) !default;
115
+ $purple-200: tint-color($purple, 60%) !default;
116
+ $purple-300: tint-color($purple, 40%) !default;
117
+ $purple-400: tint-color($purple, 20%) !default;
121
118
  $purple-500: $purple !default;
122
- $purple-600: shade-color($purple, 2) !default;
123
- $purple-700: shade-color($purple, 4) !default;
124
- $purple-800: shade-color($purple, 6) !default;
125
- $purple-900: shade-color($purple, 8) !default;
126
-
127
- $pink-100: tint-color($pink, 8) !default;
128
- $pink-200: tint-color($pink, 6) !default;
129
- $pink-300: tint-color($pink, 4) !default;
130
- $pink-400: tint-color($pink, 2) !default;
119
+ $purple-600: shade-color($purple, 20%) !default;
120
+ $purple-700: shade-color($purple, 40%) !default;
121
+ $purple-800: shade-color($purple, 60%) !default;
122
+ $purple-900: shade-color($purple, 80%) !default;
123
+
124
+ $pink-100: tint-color($pink, 80%) !default;
125
+ $pink-200: tint-color($pink, 60%) !default;
126
+ $pink-300: tint-color($pink, 40%) !default;
127
+ $pink-400: tint-color($pink, 20%) !default;
131
128
  $pink-500: $pink !default;
132
- $pink-600: shade-color($pink, 2) !default;
133
- $pink-700: shade-color($pink, 4) !default;
134
- $pink-800: shade-color($pink, 6) !default;
135
- $pink-900: shade-color($pink, 8) !default;
136
-
137
- $red-100: tint-color($red, 8) !default;
138
- $red-200: tint-color($red, 6) !default;
139
- $red-300: tint-color($red, 4) !default;
140
- $red-400: tint-color($red, 2) !default;
129
+ $pink-600: shade-color($pink, 20%) !default;
130
+ $pink-700: shade-color($pink, 40%) !default;
131
+ $pink-800: shade-color($pink, 60%) !default;
132
+ $pink-900: shade-color($pink, 80%) !default;
133
+
134
+ $red-100: tint-color($red, 80%) !default;
135
+ $red-200: tint-color($red, 60%) !default;
136
+ $red-300: tint-color($red, 40%) !default;
137
+ $red-400: tint-color($red, 20%) !default;
141
138
  $red-500: $red !default;
142
- $red-600: shade-color($red, 2) !default;
143
- $red-700: shade-color($red, 4) !default;
144
- $red-800: shade-color($red, 6) !default;
145
- $red-900: shade-color($red, 8) !default;
146
-
147
- $orange-100: tint-color($orange, 8) !default;
148
- $orange-200: tint-color($orange, 6) !default;
149
- $orange-300: tint-color($orange, 4) !default;
150
- $orange-400: tint-color($orange, 2) !default;
139
+ $red-600: shade-color($red, 20%) !default;
140
+ $red-700: shade-color($red, 40%) !default;
141
+ $red-800: shade-color($red, 60%) !default;
142
+ $red-900: shade-color($red, 80%) !default;
143
+
144
+ $orange-100: tint-color($orange, 80%) !default;
145
+ $orange-200: tint-color($orange, 60%) !default;
146
+ $orange-300: tint-color($orange, 40%) !default;
147
+ $orange-400: tint-color($orange, 20%) !default;
151
148
  $orange-500: $orange !default;
152
- $orange-600: shade-color($orange, 2) !default;
153
- $orange-700: shade-color($orange, 4) !default;
154
- $orange-800: shade-color($orange, 6) !default;
155
- $orange-900: shade-color($orange, 8) !default;
156
-
157
- $yellow-100: tint-color($yellow, 8) !default;
158
- $yellow-200: tint-color($yellow, 6) !default;
159
- $yellow-300: tint-color($yellow, 4) !default;
160
- $yellow-400: tint-color($yellow, 2) !default;
149
+ $orange-600: shade-color($orange, 20%) !default;
150
+ $orange-700: shade-color($orange, 40%) !default;
151
+ $orange-800: shade-color($orange, 60%) !default;
152
+ $orange-900: shade-color($orange, 80%) !default;
153
+
154
+ $yellow-100: tint-color($yellow, 80%) !default;
155
+ $yellow-200: tint-color($yellow, 60%) !default;
156
+ $yellow-300: tint-color($yellow, 40%) !default;
157
+ $yellow-400: tint-color($yellow, 20%) !default;
161
158
  $yellow-500: $yellow !default;
162
- $yellow-600: shade-color($yellow, 2) !default;
163
- $yellow-700: shade-color($yellow, 4) !default;
164
- $yellow-800: shade-color($yellow, 6) !default;
165
- $yellow-900: shade-color($yellow, 8) !default;
166
-
167
- $green-100: tint-color($green, 8) !default;
168
- $green-200: tint-color($green, 6) !default;
169
- $green-300: tint-color($green, 4) !default;
170
- $green-400: tint-color($green, 2) !default;
159
+ $yellow-600: shade-color($yellow, 20%) !default;
160
+ $yellow-700: shade-color($yellow, 40%) !default;
161
+ $yellow-800: shade-color($yellow, 60%) !default;
162
+ $yellow-900: shade-color($yellow, 80%) !default;
163
+
164
+ $green-100: tint-color($green, 80%) !default;
165
+ $green-200: tint-color($green, 60%) !default;
166
+ $green-300: tint-color($green, 40%) !default;
167
+ $green-400: tint-color($green, 20%) !default;
171
168
  $green-500: $green !default;
172
- $green-600: shade-color($green, 2) !default;
173
- $green-700: shade-color($green, 4) !default;
174
- $green-800: shade-color($green, 6) !default;
175
- $green-900: shade-color($green, 8) !default;
176
-
177
- $teal-100: tint-color($teal, 8) !default;
178
- $teal-200: tint-color($teal, 6) !default;
179
- $teal-300: tint-color($teal, 4) !default;
180
- $teal-400: tint-color($teal, 2) !default;
169
+ $green-600: shade-color($green, 20%) !default;
170
+ $green-700: shade-color($green, 40%) !default;
171
+ $green-800: shade-color($green, 60%) !default;
172
+ $green-900: shade-color($green, 80%) !default;
173
+
174
+ $teal-100: tint-color($teal, 80%) !default;
175
+ $teal-200: tint-color($teal, 60%) !default;
176
+ $teal-300: tint-color($teal, 40%) !default;
177
+ $teal-400: tint-color($teal, 20%) !default;
181
178
  $teal-500: $teal !default;
182
- $teal-600: shade-color($teal, 2) !default;
183
- $teal-700: shade-color($teal, 4) !default;
184
- $teal-800: shade-color($teal, 6) !default;
185
- $teal-900: shade-color($teal, 8) !default;
186
-
187
- $cyan-100: tint-color($cyan, 8) !default;
188
- $cyan-200: tint-color($cyan, 6) !default;
189
- $cyan-300: tint-color($cyan, 4) !default;
190
- $cyan-400: tint-color($cyan, 2) !default;
179
+ $teal-600: shade-color($teal, 20%) !default;
180
+ $teal-700: shade-color($teal, 40%) !default;
181
+ $teal-800: shade-color($teal, 60%) !default;
182
+ $teal-900: shade-color($teal, 80%) !default;
183
+
184
+ $cyan-100: tint-color($cyan, 80%) !default;
185
+ $cyan-200: tint-color($cyan, 60%) !default;
186
+ $cyan-300: tint-color($cyan, 40%) !default;
187
+ $cyan-400: tint-color($cyan, 20%) !default;
191
188
  $cyan-500: $cyan !default;
192
- $cyan-600: shade-color($cyan, 2) !default;
193
- $cyan-700: shade-color($cyan, 4) !default;
194
- $cyan-800: shade-color($cyan, 6) !default;
195
- $cyan-900: shade-color($cyan, 8) !default;
189
+ $cyan-600: shade-color($cyan, 20%) !default;
190
+ $cyan-700: shade-color($cyan, 40%) !default;
191
+ $cyan-800: shade-color($cyan, 60%) !default;
192
+ $cyan-900: shade-color($cyan, 80%) !default;
196
193
  // fusv-enable
197
194
 
198
195
  // Characters which are escaped by the escape-svg function
@@ -214,6 +211,7 @@ $enable-shadows: false !default;
214
211
  $enable-gradients: false !default;
215
212
  $enable-transitions: true !default;
216
213
  $enable-reduced-motion: true !default;
214
+ $enable-smooth-scroll: true !default;
217
215
  $enable-grid-classes: true !default;
218
216
  $enable-button-pointers: true !default;
219
217
  $enable-rfs: true !default;
@@ -222,6 +220,10 @@ $enable-negative-margins: false !default;
222
220
  $enable-deprecation-messages: true !default;
223
221
  $enable-important-utilities: true !default;
224
222
 
223
+ // Prefix for :root CSS variables
224
+
225
+ $variable-prefix: bs- !default;
226
+
225
227
  // Gradient
226
228
  //
227
229
  // The gradient which is added to components if `$enable-gradients` is `true`
@@ -272,10 +274,9 @@ $body-text-align: null !default;
272
274
 
273
275
  $link-color: $primary !default;
274
276
  $link-decoration: underline !default;
275
- $link-hover-color: darken($link-color, 15%) !default;
277
+ $link-shade-percentage: 20% !default;
278
+ $link-hover-color: scale-color($link-color, $link-shade-percentage) !default;
276
279
  $link-hover-decoration: null !default;
277
- // Darken percentage for links with `.text-*` class (e.g. `.text-success`)
278
- $emphasized-link-hover-darken-percentage: 15% !default;
279
280
 
280
281
  $stretched-link-pseudo-element: after !default;
281
282
  $stretched-link-z-index: 1 !default;
@@ -344,11 +345,6 @@ $container-padding-x: $grid-gutter-width !default;
344
345
  // Define common padding and border radius sizes and more.
345
346
 
346
347
  $border-width: 1px !default;
347
- $border-color: $gray-300 !default;
348
-
349
- $border-radius: .25rem !default;
350
- $border-radius-sm: .2rem !default;
351
- $border-radius-lg: .3rem !default;
352
348
  $border-widths: (
353
349
  0: 0,
354
350
  1: 1px,
@@ -358,7 +354,12 @@ $border-widths: (
358
354
  5: 5px
359
355
  ) !default;
360
356
 
361
- $rounded-pill: 50rem !default;
357
+ $border-color: $gray-300 !default;
358
+
359
+ $border-radius: .25rem !default;
360
+ $border-radius-sm: .2rem !default;
361
+ $border-radius-lg: .3rem !default;
362
+ $border-radius-pill: 50rem !default;
362
363
 
363
364
  $box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
364
365
  $box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
@@ -392,11 +393,11 @@ $aspect-ratios: (
392
393
  // Font, line-height, and color for body text, headings, and more.
393
394
 
394
395
  // stylelint-disable value-keyword-case
395
- $font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
396
+ $font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
396
397
  $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
397
398
  // stylelint-enable value-keyword-case
398
- $font-family-base: var(--bs-font-sans-serif) !default;
399
- $font-family-code: var(--bs-font-monospace) !default;
399
+ $font-family-base: var(--#{$variable-prefix}font-sans-serif) !default;
400
+ $font-family-code: var(--#{$variable-prefix}font-monospace) !default;
400
401
 
401
402
  // $font-size-root effects the value of `rem`, which is used for as well font sizes, paddings and margins
402
403
  // $font-size-base effects the font size of the body text
@@ -424,6 +425,17 @@ $h4-font-size: $font-size-base * 1.5 !default;
424
425
  $h5-font-size: $font-size-base * 1.25 !default;
425
426
  $h6-font-size: $font-size-base !default;
426
427
 
428
+ // scss-docs-start font-sizes
429
+ $font-sizes: (
430
+ 1: $h1-font-size,
431
+ 2: $h2-font-size,
432
+ 3: $h3-font-size,
433
+ 4: $h4-font-size,
434
+ 5: $h5-font-size,
435
+ 6: $h6-font-size
436
+ ) !default;
437
+ // scss-docs-end font-sizes
438
+
427
439
  $headings-margin-bottom: $spacer / 2 !default;
428
440
  $headings-font-family: null !default;
429
441
  $headings-font-style: null !default;
@@ -520,15 +532,15 @@ $table-group-separator-color: currentColor !default;
520
532
 
521
533
  $table-caption-color: $text-muted !default;
522
534
 
523
- $table-bg-level: -9 !default;
535
+ $table-bg-scale: -80% !default;
524
536
 
525
537
  $table-variants: (
526
- "primary": color-level($primary, $table-bg-level),
527
- "secondary": color-level($secondary, $table-bg-level),
528
- "success": color-level($success, $table-bg-level),
529
- "info": color-level($info, $table-bg-level),
530
- "warning": color-level($warning, $table-bg-level),
531
- "danger": color-level($danger, $table-bg-level),
538
+ "primary": scale-color($primary, $table-bg-scale),
539
+ "secondary": scale-color($secondary, $table-bg-scale),
540
+ "success": scale-color($success, $table-bg-scale),
541
+ "info": scale-color($info, $table-bg-scale),
542
+ "warning": scale-color($warning, $table-bg-scale),
543
+ "danger": scale-color($danger, $table-bg-scale),
532
544
  "light": $light,
533
545
  "dark": $dark,
534
546
  ) !default;
@@ -593,8 +605,6 @@ $btn-link-color: $link-color !default;
593
605
  $btn-link-hover-color: $link-hover-color !default;
594
606
  $btn-link-disabled-color: $gray-600 !default;
595
607
 
596
- $btn-block-spacing-y: .5rem !default;
597
-
598
608
  // Allows for customizing button radius independently from global border radius
599
609
  $btn-border-radius: $border-radius !default;
600
610
  $btn-border-radius-sm: $border-radius-sm !default;
@@ -636,7 +646,7 @@ $input-bg: $white !default;
636
646
  $input-disabled-bg: $gray-200 !default;
637
647
  $input-disabled-border-color: null !default;
638
648
 
639
- $input-color: $gray-700 !default;
649
+ $input-color: $body-color !default;
640
650
  $input-border-color: $gray-400 !default;
641
651
  $input-border-width: $input-btn-border-width !default;
642
652
  $input-box-shadow: $box-shadow-inset !default;
@@ -646,7 +656,7 @@ $input-border-radius-sm: $border-radius-sm !default;
646
656
  $input-border-radius-lg: $border-radius-lg !default;
647
657
 
648
658
  $input-focus-bg: $input-bg !default;
649
- $input-focus-border-color: lighten($component-active-bg, 25%) !default;
659
+ $input-focus-border-color: tint-color($component-active-bg, 50%) !default;
650
660
  $input-focus-color: $input-color !default;
651
661
  $input-focus-width: $input-btn-focus-width !default;
652
662
  $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
@@ -695,6 +705,10 @@ $form-check-input-indeterminate-bg-color: $component-active-bg !default;
695
705
  $form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color !default;
696
706
  $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;
697
707
 
708
+ $form-check-input-disabled-opacity: .5 !default;
709
+ $form-check-label-disabled-opacity: $form-check-input-disabled-opacity !default;
710
+ $form-check-btn-check-disabled-opacity: $btn-disabled-opacity !default;
711
+
698
712
  $form-switch-color: rgba(0, 0, 0, .25) !default;
699
713
  $form-switch-width: 2em !default;
700
714
  $form-switch-padding-left: $form-switch-width + .5em !default;
@@ -717,12 +731,10 @@ $input-group-addon-color: $input-color !default;
717
731
  $input-group-addon-bg: $gray-200 !default;
718
732
  $input-group-addon-border-color: $input-border-color !default;
719
733
 
720
-
721
734
  $form-select-padding-y: $input-padding-y !default;
722
735
  $form-select-padding-x: $input-padding-x !default;
723
736
  $form-select-font-family: $input-font-family !default;
724
737
  $form-select-font-size: $input-font-size !default;
725
- $form-select-height: $input-height !default;
726
738
  $form-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
727
739
  $form-select-font-weight: $input-font-weight !default;
728
740
  $form-select-line-height: $input-line-height !default;
@@ -752,12 +764,10 @@ $form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focu
752
764
  $form-select-padding-y-sm: $input-padding-y-sm !default;
753
765
  $form-select-padding-x-sm: $input-padding-x-sm !default;
754
766
  $form-select-font-size-sm: $input-font-size-sm !default;
755
- $form-select-height-sm: $input-height-sm !default;
756
767
 
757
768
  $form-select-padding-y-lg: $input-padding-y-lg !default;
758
769
  $form-select-padding-x-lg: $input-padding-x-lg !default;
759
770
  $form-select-font-size-lg: $input-font-size-lg !default;
760
- $form-select-height-lg: $input-height-lg !default;
761
771
 
762
772
  $form-range-track-width: 100% !default;
763
773
  $form-range-track-height: .5rem !default;
@@ -774,40 +784,22 @@ $form-range-thumb-border-radius: 1rem !default;
774
784
  $form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
775
785
  $form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
776
786
  $form-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in Edge
777
- $form-range-thumb-active-bg: lighten($component-active-bg, 35%) !default;
787
+ $form-range-thumb-active-bg: tint-color($component-active-bg, 70%) !default;
778
788
  $form-range-thumb-disabled-bg: $gray-500 !default;
779
789
  $form-range-thumb-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
780
790
 
781
- $form-file-height: $input-height !default;
782
- $form-file-focus-border-color: $input-focus-border-color !default;
783
- $form-file-focus-box-shadow: $input-focus-box-shadow !default;
784
- $form-file-disabled-bg: $input-disabled-bg !default;
785
- $form-file-disabled-border-color: $input-disabled-border-color !default;
786
-
787
- $form-file-padding-y: $input-padding-y !default;
788
- $form-file-padding-x: $input-padding-x !default;
789
- $form-file-line-height: $input-line-height !default;
790
- $form-file-font-family: $input-font-family !default;
791
- $form-file-font-weight: $input-font-weight !default;
792
- $form-file-color: $input-color !default;
793
- $form-file-bg: $input-bg !default;
794
- $form-file-border-width: $input-border-width !default;
795
- $form-file-border-color: $input-border-color !default;
796
- $form-file-border-radius: $input-border-radius !default;
797
- $form-file-box-shadow: $input-box-shadow !default;
798
- $form-file-button-color: $form-file-color !default;
791
+ $form-file-button-color: $input-color !default;
799
792
  $form-file-button-bg: $input-group-addon-bg !default;
793
+ $form-file-button-hover-bg: shade-color($form-file-button-bg, 5%) !default;
800
794
 
801
- $form-file-padding-y-sm: $input-padding-y-sm !default;
802
- $form-file-padding-x-sm: $input-padding-x-sm !default;
803
- $form-file-font-size-sm: $input-font-size-sm !default;
804
- $form-file-height-sm: $input-height-sm !default;
805
-
806
- $form-file-padding-y-lg: $input-padding-y-lg !default;
807
- $form-file-padding-x-lg: $input-padding-x-lg !default;
808
- $form-file-font-size-lg: $input-font-size-lg !default;
809
- $form-file-height-lg: $input-height-lg !default;
810
-
795
+ $form-floating-height: add(3.5rem, $input-height-border) !default;
796
+ $form-floating-padding-x: $input-padding-x !default;
797
+ $form-floating-padding-y: 1rem !default;
798
+ $form-floating-input-padding-t: 1.625rem !default;
799
+ $form-floating-input-padding-b: .625rem !default;
800
+ $form-floating-label-opacity: .65 !default;
801
+ $form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
802
+ $form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;
811
803
 
812
804
  // Form validation
813
805
 
@@ -820,7 +812,7 @@ $form-feedback-invalid-color: $danger !default;
820
812
  $form-feedback-icon-valid-color: $form-feedback-valid-color !default;
821
813
  $form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>") !default;
822
814
  $form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
823
- $form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}' viewBox='0 0 12 12'><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;
815
+ $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;
824
816
 
825
817
  // scss-docs-start form-validation-states
826
818
  $form-validation-states: (
@@ -936,7 +928,7 @@ $dropdown-divider-margin-y: $spacer / 2 !default;
936
928
  $dropdown-box-shadow: $box-shadow !default;
937
929
 
938
930
  $dropdown-link-color: $gray-900 !default;
939
- $dropdown-link-hover-color: darken($gray-900, 5%) !default;
931
+ $dropdown-link-hover-color: shade-color($gray-900, 10%) !default;
940
932
  $dropdown-link-hover-bg: $gray-100 !default;
941
933
 
942
934
  $dropdown-link-active-color: $component-active-color !default;
@@ -1020,6 +1012,37 @@ $card-img-overlay-padding: $spacer !default;
1020
1012
 
1021
1013
  $card-group-margin: $grid-gutter-width / 2 !default;
1022
1014
 
1015
+ // Accordion
1016
+ $accordion-padding-y: 1rem !default;
1017
+ $accordion-padding-x: 1.25rem !default;
1018
+ $accordion-color: $body-color !default;
1019
+ $accordion-bg: transparent !default;
1020
+ $accordion-border-width: $border-width !default;
1021
+ $accordion-border-color: rgba($black, .125) !default;
1022
+ $accordion-border-radius: $border-radius !default;
1023
+
1024
+ $accordion-body-padding-y: $accordion-padding-y !default;
1025
+ $accordion-body-padding-x: $accordion-padding-x !default;
1026
+
1027
+ $accordion-button-padding-y: $accordion-padding-y !default;
1028
+ $accordion-button-padding-x: $accordion-padding-x !default;
1029
+ $accordion-button-color: $accordion-color !default;
1030
+ $accordion-button-bg: $accordion-bg !default;
1031
+ $accordion-transition: $btn-transition, border-radius .15s ease !default;
1032
+ $accordion-button-active-bg: tint-color($component-active-bg, 90%) !default;
1033
+ $accordion-button-active-color: shade-color($primary, 10%) !default;
1034
+
1035
+ $accordion-button-focus-border-color: $input-focus-border-color !default;
1036
+ $accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
1037
+
1038
+ $accordion-icon-width: 1.25rem !default;
1039
+ $accordion-icon-color: $accordion-color !default;
1040
+ $accordion-icon-active-color: $accordion-button-active-color !default;
1041
+ $accordion-icon-transition: transform .2s ease-in-out !default;
1042
+ $accordion-icon-transform: rotate(180deg) !default;
1043
+
1044
+ $accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
1045
+ $accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
1023
1046
 
1024
1047
  // Tooltips
1025
1048
 
@@ -1057,7 +1080,7 @@ $popover-border-radius: $border-radius-lg !default;
1057
1080
  $popover-inner-border-radius: subtract($popover-border-radius, $popover-border-width) !default;
1058
1081
  $popover-box-shadow: $box-shadow !default;
1059
1082
 
1060
- $popover-header-bg: darken($popover-bg, 3%) !default;
1083
+ $popover-header-bg: shade-color($popover-bg, 6%) !default;
1061
1084
  $popover-header-color: $headings-color !default;
1062
1085
  $popover-header-padding-y: .5rem !default;
1063
1086
  $popover-header-padding-x: $spacer !default;
@@ -1155,9 +1178,9 @@ $alert-border-radius: $border-radius !default;
1155
1178
  $alert-link-font-weight: $font-weight-bold !default;
1156
1179
  $alert-border-width: $border-width !default;
1157
1180
 
1158
- $alert-bg-level: -10 !default;
1159
- $alert-border-level: -9 !default;
1160
- $alert-color-level: 6 !default;
1181
+ $alert-bg-scale: -80% !default;
1182
+ $alert-border-scale: -70% !default;
1183
+ $alert-color-scale: 40% !default;
1161
1184
 
1162
1185
  $alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
1163
1186
 
@@ -1185,8 +1208,8 @@ $list-group-border-radius: $border-radius !default;
1185
1208
 
1186
1209
  $list-group-item-padding-y: $spacer / 2 !default;
1187
1210
  $list-group-item-padding-x: $spacer !default;
1188
- $list-group-item-bg-level: -9 !default;
1189
- $list-group-item-color-level: 6 !default;
1211
+ $list-group-item-bg-scale: -80% !default;
1212
+ $list-group-item-color-scale: 40% !default;
1190
1213
 
1191
1214
  $list-group-hover-bg: $gray-100 !default;
1192
1215
  $list-group-active-color: $component-active-color !default;
@@ -1256,8 +1279,8 @@ $carousel-caption-spacer: 1.25rem !default;
1256
1279
 
1257
1280
  $carousel-control-icon-width: 2rem !default;
1258
1281
 
1259
- $carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 16 16'><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;
1260
- $carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 16 16'><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;
1282
+ $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;
1283
+ $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;
1261
1284
 
1262
1285
  $carousel-transition-duration: .6s !default;
1263
1286
  $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`)
@@ -1286,7 +1309,7 @@ $btn-close-height: $btn-close-width !default;
1286
1309
  $btn-close-padding-x: .25em !default;
1287
1310
  $btn-close-padding-y: $btn-close-padding-x !default;
1288
1311
  $btn-close-color: $black !default;
1289
- $btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$btn-close-color}' viewBox='0 0 16 16'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>") !default;
1312
+ $btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>") !default;
1290
1313
  $btn-close-focus-shadow: $input-btn-focus-box-shadow !default;
1291
1314
  $btn-close-opacity: .5 !default;
1292
1315
  $btn-close-hover-opacity: .75 !default;