63 lines
1.1 KiB
SCSS
63 lines
1.1 KiB
SCSS
.toast {
|
|
&-success {
|
|
background-color: var(--primary);
|
|
}
|
|
|
|
&-info {
|
|
background-color: $info;
|
|
}
|
|
|
|
&-warning {
|
|
background-color: $warning;
|
|
}
|
|
|
|
&-error {
|
|
background-color: $danger;
|
|
}
|
|
}
|
|
|
|
#toast-container {
|
|
|
|
&>div {
|
|
box-shadow: none;
|
|
border-radius: 0;
|
|
width: auto;
|
|
max-width: 15.625rem;
|
|
opacity: 1;
|
|
border-radius: $radius;
|
|
|
|
@at-root [direction="rtl"] & {
|
|
padding: 0.9375rem 3.125rem 0.9375rem 0.9375rem;
|
|
background-position: calc(100% - 0.9375rem);
|
|
}
|
|
|
|
&:hover {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
.toast-title {
|
|
margin-bottom: 0.3125rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.toast-message {
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.toast-close-button {
|
|
opacity: 1;
|
|
font-size: 1.25rem;
|
|
font-weight: normal;
|
|
text-shadow: none;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
[direction="rtl"] {
|
|
.toast-top-right.demo_rtl_class {
|
|
#{$dlab-pos-left}: 0.75rem;
|
|
#{$dlab-pos-right}: auto;
|
|
}
|
|
} |