From ab4d9a9e8145fd7bbd451b8200c76c5fe272812f Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Wed, 15 May 2024 10:26:20 +0700 Subject: [PATCH] style(eww): Simplify CSS --- .config/eww/eww.scss | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.config/eww/eww.scss b/.config/eww/eww.scss index 7dbfcc7..2f8f683 100644 --- a/.config/eww/eww.scss +++ b/.config/eww/eww.scss @@ -33,7 +33,6 @@ tooltip { } .tray menu { /* SysTray popup */ - padding: 5px; background-color: $bg-300; border-radius: $bg-radius; @@ -43,19 +42,18 @@ tooltip { menuitem { padding: 2px 8px; - font-size: 14px; - } - menuitem:last-child { - margin: 0px 0px $bg-radius 0px; - } + &:last-child { + margin: 0px 0px $bg-radius 0px; + } - menuitem:first-child { - margin: $bg-radius 0px 0px 0px; - } + &:first-child { + margin: $bg-radius 0px 0px 0px; + } - menuitem:hover { - background-color: $blue-500; + &:hover { + background-color: $blue-500; + } } }