From 0518ec4214583bcc26f5b052f02fd93b12a00a77 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 17 Jan 2025 00:16:40 +1100 Subject: bluetoothdevices: make popup window --- scss/popdowns/notifications.scss | 58 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 scss/popdowns/notifications.scss (limited to 'scss/popdowns/notifications.scss') 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; + } + } + } +} -- cgit v1.2.3-freya