From cc589cec95de1b6db19a8ce3cac1ede2e6d19b9f Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 19 Feb 2025 00:03:47 +1100 Subject: notifpopups: more compact + better styles --- scss/notifpopups.scss | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'scss/notifpopups.scss') diff --git a/scss/notifpopups.scss b/scss/notifpopups.scss index 18d4eda..04e0b2b 100644 --- a/scss/notifpopups.scss +++ b/scss/notifpopups.scss @@ -4,10 +4,6 @@ @use "font"; @mixin popup($colour, $alpha) { - @include lib.border($colour, $alpha); - - border-right: none; - .separator { background-color: $colour; } @@ -20,21 +16,17 @@ .notifpopups { min-width: lib.s(425); padding-left: lib.s(10); // So notifications can overshoot for init animation - - // For shadow - & > :last-child .wrapper { - padding-bottom: lib.s(15); - } + padding-right: lib.s(10); + padding-top: lib.s(5); .notification { .wrapper { - padding-top: lib.s(10); - padding-left: lib.s(15); // For shadow + padding: lib.s(5); // For shadow } .inner { - @include lib.rounded(8, $tr: 0, $br: 0); - @include lib.shadow; + @include lib.rounded(8); + @include lib.shadow(black, 0.64, 0, 0, 3); &.low { @include popup(scheme.$overlay0, 0.3); -- cgit v1.2.3-freya