diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-17 00:16:40 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-17 00:16:40 +1100 |
| commit | 0518ec4214583bcc26f5b052f02fd93b12a00a77 (patch) | |
| tree | 0cfac1c39d54a504215a4b98c8be271e66759295 /scss/popdowns/notifications.scss | |
| parent | refactor: move popdowns to own folder (diff) | |
| download | caelestia-shell-0518ec4214583bcc26f5b052f02fd93b12a00a77.tar.gz caelestia-shell-0518ec4214583bcc26f5b052f02fd93b12a00a77.tar.bz2 caelestia-shell-0518ec4214583bcc26f5b052f02fd93b12a00a77.zip | |
bluetoothdevices: make popup window
Diffstat (limited to 'scss/popdowns/notifications.scss')
| -rw-r--r-- | scss/popdowns/notifications.scss | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/scss/popdowns/notifications.scss b/scss/popdowns/notifications.scss new file mode 100644 index 0000000..c7914c2 --- /dev/null +++ b/scss/popdowns/notifications.scss @@ -0,0 +1,58 @@ +@use "sass:color"; +@use "../scheme"; +@use "../lib"; +@use "../font"; + +@mixin popup($accent) { + .separator { + background-color: $accent; + } + + .image { + @include lib.border($accent, 0.05); + } +} + +.notifications { + @include lib.popdown-window(scheme.$mauve); + + min-width: lib.s(400); + min-height: lib.s(600); + + .notification { + .wrapper { + padding-bottom: lib.s(10); + } + + .inner { + background-color: color.mix(scheme.$surface0, scheme.$base, 70%); + + &.low { + @include popup(scheme.$overlay0); + } + + &.normal { + @include lib.border(scheme.$lavender, 0.3); + @include popup(scheme.$lavender); + } + + &.critical { + @include lib.border(scheme.$red, 0.5); + @include popup(scheme.$red); + } + } + + .actions > * { + background-color: scheme.$surface1; + + &:hover, + &:focus { + background-color: scheme.$surface2; + } + + &:active { + background-color: scheme.$overlay0; + } + } + } +} |