43 lines
822 B
SCSS
43 lines
822 B
SCSS
@use "sass:color";
|
|
@use "scheme";
|
|
@use "lib";
|
|
@use "font";
|
|
|
|
@mixin popup($colour) {
|
|
@include lib.border($colour, 0.5);
|
|
|
|
border-right: none;
|
|
|
|
.separator {
|
|
background-color: $colour;
|
|
}
|
|
|
|
.image {
|
|
@include lib.border($colour, 0.05);
|
|
}
|
|
}
|
|
|
|
.notifpopups {
|
|
min-width: lib.s(410);
|
|
padding-left: lib.s(10); // So notifications can overshoot for init animation
|
|
|
|
.notification {
|
|
.wrapper {
|
|
padding-top: lib.s(10);
|
|
}
|
|
|
|
.inner {
|
|
@include lib.rounded(8, $tr: 0, $br: 0);
|
|
@include lib.shadow;
|
|
@include popup(scheme.$lavender);
|
|
|
|
&.low {
|
|
@include popup(scheme.$overlay0);
|
|
}
|
|
|
|
&.critical {
|
|
@include popup(scheme.$red);
|
|
}
|
|
}
|
|
}
|
|
}
|