aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss')
-rw-r--r--scss/_close.scss4
-rw-r--r--scss/_toasts.scss5
-rw-r--r--scss/_variables.scss2
3 files changed, 10 insertions, 1 deletions
diff --git a/scss/_close.scss b/scss/_close.scss
index 037df1666..35bdc3560 100644
--- a/scss/_close.scss
+++ b/scss/_close.scss
@@ -35,3 +35,7 @@
opacity: $btn-close-disabled-opacity;
}
}
+
+.btn-close-white {
+ filter: invert(1);
+}
diff --git a/scss/_toasts.scss b/scss/_toasts.scss
index 4db51b6b0..e2b98e600 100644
--- a/scss/_toasts.scss
+++ b/scss/_toasts.scss
@@ -36,6 +36,11 @@
background-clip: padding-box;
border-bottom: $toast-border-width solid $toast-header-border-color;
@include border-top-radius(subtract($toast-border-radius, $toast-border-width));
+
+ .btn-close {
+ margin-right: $toast-padding-x / -2;
+ margin-left: $toast-padding-x;
+ }
}
.toast-body {
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 84a1f4abc..abd2d8d93 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -1071,7 +1071,7 @@ $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default
$toast-max-width: 350px !default;
$toast-padding-x: .75rem !default;
-$toast-padding-y: .25rem !default;
+$toast-padding-y: .5rem !default;
$toast-font-size: .875rem !default;
$toast-color: null !default;
$toast-background-color: rgba($white, .85) !default;