From d7f1be09d458ee32105d34578bfee2e1946d7be8 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Wed, 23 Aug 2023 00:57:47 +0800 Subject: [PATCH] Fixed cionnamon issues --- src/sass/cinnamon/_common.scss | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/sass/cinnamon/_common.scss b/src/sass/cinnamon/_common.scss index b50737d..516864f 100644 --- a/src/sass/cinnamon/_common.scss +++ b/src/sass/cinnamon/_common.scss @@ -271,9 +271,6 @@ StScrollBar { // Popovers/Menus // -$menu_bg: if($variant=='light', rgba($base_color, 0.95), rgba($bg_color, 0.95)); -$menu_border: if($variant=='light', darken($menu_bg, 18%), darken($menu_bg, 12%)); - .menu, .popup-menu, %menu { @@ -1662,12 +1659,21 @@ $menu_border: if($variant=='light', darken($menu_bg, 18%), darken($menu_bg, 12%) } &-thumbnail-menu { - padding: 6px; + padding: $container_padding + 6px $container_padding + 6px $container_padding + 10px; + margin: 2px; + + @if $trans == 'true' { + border-image: url("assets/menu.svg") 20 20 23 20; + } + + @else { + border-image: url("assets/menu-solid.svg") 20 20 23 20; + } .item-box { - padding: 8px; + padding: $container_padding; border-radius: $bt_radius; - spacing: 8px; + spacing: $container_padding; margin: 2px; &:outlined {