bootstrap-scss 5.2.0 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/README.md +1 -1
  2. package/_accordion.scss +7 -4
  3. package/_alert.scss +71 -71
  4. package/_badge.scss +38 -38
  5. package/_breadcrumb.scss +40 -40
  6. package/_button-group.scss +1 -1
  7. package/_buttons.scss +23 -8
  8. package/_card.scss +234 -234
  9. package/_carousel.scss +229 -229
  10. package/_close.scss +40 -40
  11. package/_containers.scss +41 -41
  12. package/_dropdown.scss +2 -1
  13. package/_forms.scss +9 -9
  14. package/_functions.scss +1 -1
  15. package/_grid.scss +33 -33
  16. package/_helpers.scss +10 -10
  17. package/_list-group.scss +6 -5
  18. package/_maps.scss +54 -54
  19. package/_mixins.scss +43 -43
  20. package/_modal.scss +1 -1
  21. package/_nav.scss +2 -2
  22. package/_navbar.scss +2 -0
  23. package/_offcanvas.scss +5 -4
  24. package/_pagination.scss +1 -1
  25. package/_placeholders.scss +51 -51
  26. package/_popover.scss +5 -5
  27. package/_progress.scss +59 -59
  28. package/_reboot.scss +610 -610
  29. package/_root.scss +73 -73
  30. package/_spinners.scss +85 -85
  31. package/_tables.scss +164 -164
  32. package/_toasts.scss +3 -2
  33. package/_tooltip.scss +120 -120
  34. package/_transitions.scss +27 -27
  35. package/_type.scss +106 -106
  36. package/_utilities.scss +647 -647
  37. package/_variables.scss +17 -16
  38. package/bootstrap-grid.scss +64 -64
  39. package/bootstrap-reboot.scss +9 -9
  40. package/bootstrap-utilities.scss +15 -15
  41. package/bootstrap.scss +51 -51
  42. package/forms/_floating-labels.scss +1 -0
  43. package/forms/_form-check.scss +175 -175
  44. package/forms/_form-control.scss +194 -194
  45. package/forms/_form-range.scss +91 -91
  46. package/forms/_form-select.scss +71 -71
  47. package/forms/_form-text.scss +11 -11
  48. package/forms/_input-group.scss +7 -4
  49. package/forms/_labels.scss +36 -36
  50. package/forms/_validation.scss +12 -12
  51. package/helpers/_clearfix.scss +3 -3
  52. package/helpers/_color-bg.scss +10 -10
  53. package/helpers/_colored-links.scss +12 -12
  54. package/helpers/_position.scss +36 -36
  55. package/helpers/_ratio.scss +26 -26
  56. package/helpers/_stacks.scss +15 -15
  57. package/helpers/_stretched-link.scss +15 -15
  58. package/helpers/_text-truncation.scss +7 -7
  59. package/helpers/_visually-hidden.scss +8 -8
  60. package/helpers/_vr.scss +8 -8
  61. package/mixins/_alert.scss +15 -15
  62. package/mixins/_backdrop.scss +14 -14
  63. package/mixins/_banner.scss +2 -2
  64. package/mixins/_border-radius.scss +78 -78
  65. package/mixins/_box-shadow.scss +18 -18
  66. package/mixins/_breakpoints.scss +127 -127
  67. package/mixins/_buttons.scss +70 -70
  68. package/mixins/_caret.scss +64 -64
  69. package/mixins/_clearfix.scss +9 -9
  70. package/mixins/_color-scheme.scss +7 -7
  71. package/mixins/_container.scss +11 -11
  72. package/mixins/_forms.scss +10 -10
  73. package/mixins/_gradients.scss +47 -47
  74. package/mixins/_grid.scss +151 -151
  75. package/mixins/_image.scss +16 -16
  76. package/mixins/_list-group.scss +24 -24
  77. package/mixins/_lists.scss +7 -7
  78. package/mixins/_pagination.scss +10 -10
  79. package/mixins/_reset-text.scss +17 -17
  80. package/mixins/_table-variants.scss +24 -24
  81. package/mixins/_transition.scss +26 -26
  82. package/mixins/_utilities.scss +1 -1
  83. package/mixins/_visually-hidden.scss +29 -29
  84. package/package.json +1 -1
  85. package/utilities/_api.scss +47 -47
  86. package/vendor/_rfs.scss +354 -354
package/_grid.scss CHANGED
@@ -1,33 +1,33 @@
1
- // Row
2
- //
3
- // Rows contain your columns.
4
-
5
- @if $enable-grid-classes {
6
- .row {
7
- @include make-row();
8
-
9
- > * {
10
- @include make-col-ready();
11
- }
12
- }
13
- }
14
-
15
- @if $enable-cssgrid {
16
- .grid {
17
- display: grid;
18
- grid-template-rows: repeat(var(--#{$prefix}rows, 1), 1fr);
19
- grid-template-columns: repeat(var(--#{$prefix}columns, #{$grid-columns}), 1fr);
20
- gap: var(--#{$prefix}gap, #{$grid-gutter-width});
21
-
22
- @include make-cssgrid();
23
- }
24
- }
25
-
26
-
27
- // Columns
28
- //
29
- // Common styles for small and large grid columns
30
-
31
- @if $enable-grid-classes {
32
- @include make-grid-columns();
33
- }
1
+ // Row
2
+ //
3
+ // Rows contain your columns.
4
+
5
+ @if $enable-grid-classes {
6
+ .row {
7
+ @include make-row();
8
+
9
+ > * {
10
+ @include make-col-ready();
11
+ }
12
+ }
13
+ }
14
+
15
+ @if $enable-cssgrid {
16
+ .grid {
17
+ display: grid;
18
+ grid-template-rows: repeat(var(--#{$prefix}rows, 1), 1fr);
19
+ grid-template-columns: repeat(var(--#{$prefix}columns, #{$grid-columns}), 1fr);
20
+ gap: var(--#{$prefix}gap, #{$grid-gutter-width});
21
+
22
+ @include make-cssgrid();
23
+ }
24
+ }
25
+
26
+
27
+ // Columns
28
+ //
29
+ // Common styles for small and large grid columns
30
+
31
+ @if $enable-grid-classes {
32
+ @include make-grid-columns();
33
+ }
package/_helpers.scss CHANGED
@@ -1,10 +1,10 @@
1
- @import "helpers/clearfix";
2
- @import "helpers/color-bg";
3
- @import "helpers/colored-links";
4
- @import "helpers/ratio";
5
- @import "helpers/position";
6
- @import "helpers/stacks";
7
- @import "helpers/visually-hidden";
8
- @import "helpers/stretched-link";
9
- @import "helpers/text-truncation";
10
- @import "helpers/vr";
1
+ @import "helpers/clearfix";
2
+ @import "helpers/color-bg";
3
+ @import "helpers/colored-links";
4
+ @import "helpers/ratio";
5
+ @import "helpers/position";
6
+ @import "helpers/stacks";
7
+ @import "helpers/visually-hidden";
8
+ @import "helpers/stretched-link";
9
+ @import "helpers/text-truncation";
10
+ @import "helpers/vr";
package/_list-group.scss CHANGED
@@ -104,11 +104,12 @@
104
104
  border-color: var(--#{$prefix}list-group-active-border-color);
105
105
  }
106
106
 
107
- & + & {
107
+ // stylelint-disable-next-line scss/selector-no-redundant-nesting-selector
108
+ & + .list-group-item {
108
109
  border-top-width: 0;
109
110
 
110
111
  &.active {
111
- margin-top: calc(var(--#{$prefix}list-group-border-width) * -1); // stylelint-disable-line function-disallowed-list
112
+ margin-top: calc(-1 * var(--#{$prefix}list-group-border-width)); // stylelint-disable-line function-disallowed-list
112
113
  border-top-width: var(--#{$prefix}list-group-border-width);
113
114
  }
114
115
  }
@@ -126,12 +127,12 @@
126
127
  flex-direction: row;
127
128
 
128
129
  > .list-group-item {
129
- &:first-child {
130
+ &:first-child:not(:last-child) {
130
131
  @include border-bottom-start-radius(var(--#{$prefix}list-group-border-radius));
131
132
  @include border-top-end-radius(0);
132
133
  }
133
134
 
134
- &:last-child {
135
+ &:last-child:not(:first-child) {
135
136
  @include border-top-end-radius(var(--#{$prefix}list-group-border-radius));
136
137
  @include border-bottom-start-radius(0);
137
138
  }
@@ -145,7 +146,7 @@
145
146
  border-left-width: 0;
146
147
 
147
148
  &.active {
148
- margin-left: calc(var(--#{$prefix}list-group-border-width) * -1); // stylelint-disable-line function-disallowed-list
149
+ margin-left: calc(-1 * var(--#{$prefix}list-group-border-width)); // stylelint-disable-line function-disallowed-list
149
150
  border-left-width: var(--#{$prefix}list-group-border-width);
150
151
  }
151
152
  }
package/_maps.scss CHANGED
@@ -1,54 +1,54 @@
1
- // Re-assigned maps
2
- //
3
- // Placed here so that others can override the default Sass maps and see automatic updates to utilities and more.
4
-
5
- // scss-docs-start theme-colors-rgb
6
- $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
7
- // scss-docs-end theme-colors-rgb
8
-
9
- // Utilities maps
10
- //
11
- // Extends the default `$theme-colors` maps to help create our utilities.
12
-
13
- // Come v6, we'll de-dupe these variables. Until then, for backward compatibility, we keep them to reassign.
14
- // scss-docs-start utilities-colors
15
- $utilities-colors: $theme-colors-rgb !default;
16
- // scss-docs-end utilities-colors
17
-
18
- // scss-docs-start utilities-text-colors
19
- $utilities-text: map-merge(
20
- $utilities-colors,
21
- (
22
- "black": to-rgb($black),
23
- "white": to-rgb($white),
24
- "body": to-rgb($body-color)
25
- )
26
- ) !default;
27
- $utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text") !default;
28
- // scss-docs-end utilities-text-colors
29
-
30
- // scss-docs-start utilities-bg-colors
31
- $utilities-bg: map-merge(
32
- $utilities-colors,
33
- (
34
- "black": to-rgb($black),
35
- "white": to-rgb($white),
36
- "body": to-rgb($body-bg)
37
- )
38
- ) !default;
39
- $utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg") !default;
40
- // scss-docs-end utilities-bg-colors
41
-
42
- // scss-docs-start utilities-border-colors
43
- $utilities-border: map-merge(
44
- $utilities-colors,
45
- (
46
- "white": to-rgb($white)
47
- )
48
- ) !default;
49
- $utilities-border-colors: map-loop($utilities-border, rgba-css-var, "$key", "border") !default;
50
- // scss-docs-end utilities-border-colors
51
-
52
- $negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
53
-
54
- $gutters: $spacers !default;
1
+ // Re-assigned maps
2
+ //
3
+ // Placed here so that others can override the default Sass maps and see automatic updates to utilities and more.
4
+
5
+ // scss-docs-start theme-colors-rgb
6
+ $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
7
+ // scss-docs-end theme-colors-rgb
8
+
9
+ // Utilities maps
10
+ //
11
+ // Extends the default `$theme-colors` maps to help create our utilities.
12
+
13
+ // Come v6, we'll de-dupe these variables. Until then, for backward compatibility, we keep them to reassign.
14
+ // scss-docs-start utilities-colors
15
+ $utilities-colors: $theme-colors-rgb !default;
16
+ // scss-docs-end utilities-colors
17
+
18
+ // scss-docs-start utilities-text-colors
19
+ $utilities-text: map-merge(
20
+ $utilities-colors,
21
+ (
22
+ "black": to-rgb($black),
23
+ "white": to-rgb($white),
24
+ "body": to-rgb($body-color)
25
+ )
26
+ ) !default;
27
+ $utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text") !default;
28
+ // scss-docs-end utilities-text-colors
29
+
30
+ // scss-docs-start utilities-bg-colors
31
+ $utilities-bg: map-merge(
32
+ $utilities-colors,
33
+ (
34
+ "black": to-rgb($black),
35
+ "white": to-rgb($white),
36
+ "body": to-rgb($body-bg)
37
+ )
38
+ ) !default;
39
+ $utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg") !default;
40
+ // scss-docs-end utilities-bg-colors
41
+
42
+ // scss-docs-start utilities-border-colors
43
+ $utilities-border: map-merge(
44
+ $utilities-colors,
45
+ (
46
+ "white": to-rgb($white)
47
+ )
48
+ ) !default;
49
+ $utilities-border-colors: map-loop($utilities-border, rgba-css-var, "$key", "border") !default;
50
+ // scss-docs-end utilities-border-colors
51
+
52
+ $negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
53
+
54
+ $gutters: $spacers !default;
package/_mixins.scss CHANGED
@@ -1,43 +1,43 @@
1
- // Toggles
2
- //
3
- // Used in conjunction with global variables to enable certain theme features.
4
-
5
- // Vendor
6
- @import "vendor/rfs";
7
-
8
- // Deprecate
9
- @import "mixins/deprecate";
10
-
11
- // Helpers
12
- @import "mixins/breakpoints";
13
- @import "mixins/color-scheme";
14
- @import "mixins/image";
15
- @import "mixins/resize";
16
- @import "mixins/visually-hidden";
17
- @import "mixins/reset-text";
18
- @import "mixins/text-truncate";
19
-
20
- // Utilities
21
- @import "mixins/utilities";
22
-
23
- // Components
24
- @import "mixins/alert";
25
- @import "mixins/backdrop";
26
- @import "mixins/buttons";
27
- @import "mixins/caret";
28
- @import "mixins/pagination";
29
- @import "mixins/lists";
30
- @import "mixins/list-group";
31
- @import "mixins/forms";
32
- @import "mixins/table-variants";
33
-
34
- // Skins
35
- @import "mixins/border-radius";
36
- @import "mixins/box-shadow";
37
- @import "mixins/gradients";
38
- @import "mixins/transition";
39
-
40
- // Layout
41
- @import "mixins/clearfix";
42
- @import "mixins/container";
43
- @import "mixins/grid";
1
+ // Toggles
2
+ //
3
+ // Used in conjunction with global variables to enable certain theme features.
4
+
5
+ // Vendor
6
+ @import "vendor/rfs";
7
+
8
+ // Deprecate
9
+ @import "mixins/deprecate";
10
+
11
+ // Helpers
12
+ @import "mixins/breakpoints";
13
+ @import "mixins/color-scheme";
14
+ @import "mixins/image";
15
+ @import "mixins/resize";
16
+ @import "mixins/visually-hidden";
17
+ @import "mixins/reset-text";
18
+ @import "mixins/text-truncate";
19
+
20
+ // Utilities
21
+ @import "mixins/utilities";
22
+
23
+ // Components
24
+ @import "mixins/alert";
25
+ @import "mixins/backdrop";
26
+ @import "mixins/buttons";
27
+ @import "mixins/caret";
28
+ @import "mixins/pagination";
29
+ @import "mixins/lists";
30
+ @import "mixins/list-group";
31
+ @import "mixins/forms";
32
+ @import "mixins/table-variants";
33
+
34
+ // Skins
35
+ @import "mixins/border-radius";
36
+ @import "mixins/box-shadow";
37
+ @import "mixins/gradients";
38
+ @import "mixins/transition";
39
+
40
+ // Layout
41
+ @import "mixins/clearfix";
42
+ @import "mixins/container";
43
+ @import "mixins/grid";
package/_modal.scss CHANGED
@@ -133,7 +133,7 @@
133
133
 
134
134
  .btn-close {
135
135
  padding: calc(var(--#{$prefix}modal-header-padding-y) * .5) calc(var(--#{$prefix}modal-header-padding-x) * .5);
136
- margin: calc(var(--#{$prefix}modal-header-padding-y) * -.5) calc(var(--#{$prefix}modal-header-padding-x) * -.5) calc(var(--#{$prefix}modal-header-padding-y) * -.5) auto;
136
+ margin: calc(-.5 * var(--#{$prefix}modal-header-padding-y)) calc(-.5 * var(--#{$prefix}modal-header-padding-x)) calc(-.5 * var(--#{$prefix}modal-header-padding-y)) auto;
137
137
  }
138
138
  }
139
139
 
package/_nav.scss CHANGED
@@ -62,7 +62,7 @@
62
62
  border-bottom: var(--#{$prefix}nav-tabs-border-width) solid var(--#{$prefix}nav-tabs-border-color);
63
63
 
64
64
  .nav-link {
65
- margin-bottom: calc(var(--#{$prefix}nav-tabs-border-width) * -1); // stylelint-disable-line function-disallowed-list
65
+ margin-bottom: calc(-1 * var(--#{$prefix}nav-tabs-border-width)); // stylelint-disable-line function-disallowed-list
66
66
  background: none;
67
67
  border: var(--#{$prefix}nav-tabs-border-width) solid transparent;
68
68
  @include border-top-radius(var(--#{$prefix}nav-tabs-border-radius));
@@ -91,7 +91,7 @@
91
91
 
92
92
  .dropdown-menu {
93
93
  // Make dropdown border overlap tab border
94
- margin-top: calc(var(--#{$prefix}nav-tabs-border-width) * -1); // stylelint-disable-line function-disallowed-list
94
+ margin-top: calc(-1 * var(--#{$prefix}nav-tabs-border-width)); // stylelint-disable-line function-disallowed-list
95
95
  // Remove the top rounded corners here since there is a hard edge above the menu
96
96
  @include border-top-radius(0);
97
97
  }
package/_navbar.scss CHANGED
@@ -265,6 +265,7 @@
265
265
  }
266
266
 
267
267
  .navbar-dark {
268
+ // scss-docs-start navbar-dark-css-vars
268
269
  --#{$prefix}navbar-color: #{$navbar-dark-color};
269
270
  --#{$prefix}navbar-hover-color: #{$navbar-dark-hover-color};
270
271
  --#{$prefix}navbar-disabled-color: #{$navbar-dark-disabled-color};
@@ -273,4 +274,5 @@
273
274
  --#{$prefix}navbar-brand-hover-color: #{$navbar-dark-brand-hover-color};
274
275
  --#{$prefix}navbar-toggler-border-color: #{$navbar-dark-toggler-border-color};
275
276
  --#{$prefix}navbar-toggler-icon-bg: #{escape-svg($navbar-dark-toggler-icon-bg)};
277
+ // scss-docs-end navbar-dark-css-vars
276
278
  }
package/_offcanvas.scss CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  %offcanvas-css-vars {
4
4
  // scss-docs-start offcanvas-css-vars
5
+ --#{$prefix}offcanvas-zindex: #{$zindex-offcanvas};
5
6
  --#{$prefix}offcanvas-width: #{$offcanvas-horizontal-width};
6
7
  --#{$prefix}offcanvas-height: #{$offcanvas-vertical-height};
7
8
  --#{$prefix}offcanvas-padding-x: #{$offcanvas-padding-x};
@@ -31,7 +32,7 @@
31
32
  @include media-breakpoint-down($next) {
32
33
  position: fixed;
33
34
  bottom: 0;
34
- z-index: $zindex-offcanvas;
35
+ z-index: var(--#{$prefix}offcanvas-zindex);
35
36
  display: flex;
36
37
  flex-direction: column;
37
38
  max-width: 100%;
@@ -125,9 +126,9 @@
125
126
 
126
127
  .btn-close {
127
128
  padding: calc(var(--#{$prefix}offcanvas-padding-y) * .5) calc(var(--#{$prefix}offcanvas-padding-x) * .5);
128
- margin-top: calc(var(--#{$prefix}offcanvas-padding-y) * -.5);
129
- margin-right: calc(var(--#{$prefix}offcanvas-padding-x) * -.5);
130
- margin-bottom: calc(var(--#{$prefix}offcanvas-padding-y) * -.5);
129
+ margin-top: calc(-.5 * var(--#{$prefix}offcanvas-padding-y));
130
+ margin-right: calc(-.5 * var(--#{$prefix}offcanvas-padding-x));
131
+ margin-bottom: calc(-.5 * var(--#{$prefix}offcanvas-padding-y));
131
132
  }
132
133
  }
133
134
 
package/_pagination.scss CHANGED
@@ -75,7 +75,7 @@
75
75
  margin-left: $pagination-margin-start;
76
76
  }
77
77
 
78
- @if $pagination-margin-start == (calc($pagination-border-width * -1)) {
78
+ @if $pagination-margin-start == ($pagination-border-width * -1) {
79
79
  &:first-child {
80
80
  .page-link {
81
81
  @include border-start-radius(var(--#{$prefix}pagination-border-radius));
@@ -1,51 +1,51 @@
1
- .placeholder {
2
- display: inline-block;
3
- min-height: 1em;
4
- vertical-align: middle;
5
- cursor: wait;
6
- background-color: currentcolor;
7
- opacity: $placeholder-opacity-max;
8
-
9
- &.btn::before {
10
- display: inline-block;
11
- content: "";
12
- }
13
- }
14
-
15
- // Sizing
16
- .placeholder-xs {
17
- min-height: .6em;
18
- }
19
-
20
- .placeholder-sm {
21
- min-height: .8em;
22
- }
23
-
24
- .placeholder-lg {
25
- min-height: 1.2em;
26
- }
27
-
28
- // Animation
29
- .placeholder-glow {
30
- .placeholder {
31
- animation: placeholder-glow 2s ease-in-out infinite;
32
- }
33
- }
34
-
35
- @keyframes placeholder-glow {
36
- 50% {
37
- opacity: $placeholder-opacity-min;
38
- }
39
- }
40
-
41
- .placeholder-wave {
42
- mask-image: linear-gradient(130deg, $black 55%, rgba(0, 0, 0, (1 - $placeholder-opacity-min)) 75%, $black 95%);
43
- mask-size: 200% 100%;
44
- animation: placeholder-wave 2s linear infinite;
45
- }
46
-
47
- @keyframes placeholder-wave {
48
- 100% {
49
- mask-position: -200% 0%;
50
- }
51
- }
1
+ .placeholder {
2
+ display: inline-block;
3
+ min-height: 1em;
4
+ vertical-align: middle;
5
+ cursor: wait;
6
+ background-color: currentcolor;
7
+ opacity: $placeholder-opacity-max;
8
+
9
+ &.btn::before {
10
+ display: inline-block;
11
+ content: "";
12
+ }
13
+ }
14
+
15
+ // Sizing
16
+ .placeholder-xs {
17
+ min-height: .6em;
18
+ }
19
+
20
+ .placeholder-sm {
21
+ min-height: .8em;
22
+ }
23
+
24
+ .placeholder-lg {
25
+ min-height: 1.2em;
26
+ }
27
+
28
+ // Animation
29
+ .placeholder-glow {
30
+ .placeholder {
31
+ animation: placeholder-glow 2s ease-in-out infinite;
32
+ }
33
+ }
34
+
35
+ @keyframes placeholder-glow {
36
+ 50% {
37
+ opacity: $placeholder-opacity-min;
38
+ }
39
+ }
40
+
41
+ .placeholder-wave {
42
+ mask-image: linear-gradient(130deg, $black 55%, rgba(0, 0, 0, (1 - $placeholder-opacity-min)) 75%, $black 95%);
43
+ mask-size: 200% 100%;
44
+ animation: placeholder-wave 2s linear infinite;
45
+ }
46
+
47
+ @keyframes placeholder-wave {
48
+ 100% {
49
+ mask-position: -200% 0%;
50
+ }
51
+ }
package/_popover.scss CHANGED
@@ -56,7 +56,7 @@
56
56
 
57
57
  .bs-popover-top {
58
58
  > .popover-arrow {
59
- bottom: calc((var(--#{$prefix}popover-arrow-height) * -1) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
59
+ bottom: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
60
60
 
61
61
  &::before,
62
62
  &::after {
@@ -78,7 +78,7 @@
78
78
  /* rtl:begin:ignore */
79
79
  .bs-popover-end {
80
80
  > .popover-arrow {
81
- left: calc((var(--#{$prefix}popover-arrow-height) * -1) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
81
+ left: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
82
82
  width: var(--#{$prefix}popover-arrow-height);
83
83
  height: var(--#{$prefix}popover-arrow-width);
84
84
 
@@ -103,7 +103,7 @@
103
103
 
104
104
  .bs-popover-bottom {
105
105
  > .popover-arrow {
106
- top: calc((var(--#{$prefix}popover-arrow-height) * -1) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
106
+ top: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
107
107
 
108
108
  &::before,
109
109
  &::after {
@@ -128,7 +128,7 @@
128
128
  left: 50%;
129
129
  display: block;
130
130
  width: var(--#{$prefix}popover-arrow-width);
131
- margin-left: calc(var(--#{$prefix}popover-arrow-width) * -.5); // stylelint-disable-line function-disallowed-list
131
+ margin-left: calc(-.5 * var(--#{$prefix}popover-arrow-width)); // stylelint-disable-line function-disallowed-list
132
132
  content: "";
133
133
  border-bottom: var(--#{$prefix}popover-border-width) solid var(--#{$prefix}popover-header-bg);
134
134
  }
@@ -137,7 +137,7 @@
137
137
  /* rtl:begin:ignore */
138
138
  .bs-popover-start {
139
139
  > .popover-arrow {
140
- right: calc((var(--#{$prefix}popover-arrow-height) * -1) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
140
+ right: calc(-1 * (var(--#{$prefix}popover-arrow-height)) - var(--#{$prefix}popover-border-width)); // stylelint-disable-line function-disallowed-list
141
141
  width: var(--#{$prefix}popover-arrow-height);
142
142
  height: var(--#{$prefix}popover-arrow-width);
143
143