Summary Files Commits Branches @commit @diff @stats
path: root / src / toasts.less
diff options
context:
space:
mode:
1 files changed, 2 insertions, 24 deletions
-rw-r--r--src/toasts.less26
diff --git a/src/toasts.less b/src/toasts.less
index a495e89..c7a6948 100644
--- a/src/toasts.less
+++ b/src/toasts.less
@@ -11,30 +11,8 @@
&.toast-primary {
.toast-variant(@core-color);
}
- &.toast-success {
- .toast-variant(@control-color-success);
- }
- &.toast-info {
- .toast-variant(@control-color-info);
- }
- &.toast-warning {
- .toast-variant(@control-color-warning);
- }
- &.toast-danger {
- .toast-variant(@control-color-danger);
- }
- &:first-child:not(:last-child) {
- border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- }
- &:not(:first-child):not(:last-child) {
- border-radius: 0;
- margin-top: -.1rem;
- }
- &:last-child:not(:first-child) {
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- margin-top: -.1rem;
+ & + .toast {
+ margin-top: .5rem;
}
}