kspace-bludit-theme/scss/components/_toasts.scss

30 lines
550 B
SCSS
Raw Permalink Normal View History

2024-04-10 20:58:16 +02:00
@mixin well() {
border: 0;
border-radius: $well-radius;
margin: 0 0 $lineheight 0;
padding: $lineheight 1rem $lineheight 1rem;
max-width: 100%;
font-style: italic;
@include background-color($color-background-alt);
box-shadow: $narrow-shadow;
}
blockquote, .quote, .well, pre, .pre, .well-pre, .toast, .code {
@include well();
}
.well {
box-shadow: $btn-shadow;
}
.toast {
background-color: var(--accent-color);
color: var(--text-color-contrast);
box-shadow: $btn-shadow;
}
code {
font-family: monospace, monospace;
}