Summary Files Commits Branches @commit @diff @stats
path: root / src / toasts.less
diff options
context:
space:
mode:
1 files changed, 20 insertions, 1 deletions
-rw-r--r--src/toasts.less21
diff --git a/src/toasts.less b/src/toasts.less
index 695cee4..30af555 100644
--- a/src/toasts.less
+++ b/src/toasts.less
@@ -1,6 +1,6 @@
// Toasts
.toast {
- background-color: @core-border-color;
+ background: @core-border-color;
border: .1rem solid darken(@core-border-color, 2%);
border-radius: .3rem;
color: #666;
@@ -11,4 +11,23 @@
&.toast-primary {
.toast-variant(@core-color);
}
+
+ &.toast-success {
+ .toast-variant(@control-color-success);
+ }
+
+ &.toast-danger {
+ .toast-variant(@control-color-danger);
+ }
+
+ &.toast-primary,
+ &.toast-success,
+ &.toast-danger {
+ .btn-clear {
+ &::before,
+ &::after {
+ background: #fff;
+ }
+ }
+ }
}