aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/scss/_toasts.scss
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-10-11 18:45:17 +0000
committerMario <mario@mariovavti.com>2022-10-11 18:45:17 +0000
commita749db8d0f216491cfefb3849891d93f89b775f7 (patch)
tree30938c375526280a2114b826dbb9d9a9dae72537 /vendor/twbs/bootstrap/scss/_toasts.scss
parent10ba98c4f5ec4efe6272516de47f0ce128ef2902 (diff)
downloadvolse-hubzilla-a749db8d0f216491cfefb3849891d93f89b775f7.tar.gz
volse-hubzilla-a749db8d0f216491cfefb3849891d93f89b775f7.tar.bz2
volse-hubzilla-a749db8d0f216491cfefb3849891d93f89b775f7.zip
composer update twbs
Diffstat (limited to 'vendor/twbs/bootstrap/scss/_toasts.scss')
-rw-r--r--vendor/twbs/bootstrap/scss/_toasts.scss7
1 files changed, 5 insertions, 2 deletions
diff --git a/vendor/twbs/bootstrap/scss/_toasts.scss b/vendor/twbs/bootstrap/scss/_toasts.scss
index 68ed8ab7c..2ce378d5b 100644
--- a/vendor/twbs/bootstrap/scss/_toasts.scss
+++ b/vendor/twbs/bootstrap/scss/_toasts.scss
@@ -1,5 +1,6 @@
.toast {
// scss-docs-start toast-css-vars
+ --#{$prefix}toast-zindex: #{$zindex-toast};
--#{$prefix}toast-padding-x: #{$toast-padding-x};
--#{$prefix}toast-padding-y: #{$toast-padding-y};
--#{$prefix}toast-spacing: #{$toast-spacing};
@@ -37,8 +38,10 @@
}
.toast-container {
+ --#{$prefix}toast-zindex: #{$zindex-toast};
+
position: absolute;
- z-index: $zindex-toast;
+ z-index: var(--#{$prefix}toast-zindex);
width: max-content;
max-width: 100%;
pointer-events: none;
@@ -59,7 +62,7 @@
@include border-top-radius(calc(var(--#{$prefix}toast-border-radius) - var(--#{$prefix}toast-border-width)));
.btn-close {
- margin-right: calc(var(--#{$prefix}toast-padding-x) * -.5); // stylelint-disable-line function-disallowed-list
+ margin-right: calc(-.5 * var(--#{$prefix}toast-padding-x)); // stylelint-disable-line function-disallowed-list
margin-left: var(--#{$prefix}toast-padding-x);
}
}