From fbcc8f67fd38b4ef4e74d49a56ba1367cd96f4d8 Mon Sep 17 00:00:00 2001 From: Vince Date: Tue, 22 Jun 2021 12:54:06 +0800 Subject: [PATCH] Fixed Gsconnect issues --- src/sass/gnome-shell/common/_popovers.scss | 9 ------- .../gnome-shell/extensions-40-0/_misc.scss | 26 +++++++++++++++++++ 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/src/sass/gnome-shell/common/_popovers.scss b/src/sass/gnome-shell/common/_popovers.scss index 95bc1c8..774b07d 100644 --- a/src/sass/gnome-shell/common/_popovers.scss +++ b/src/sass/gnome-shell/common/_popovers.scss @@ -97,10 +97,6 @@ $popop_menuitem_radius: $wm_radius - 4px; color: $selected_fg_color; background-color: mix($fg_color, $selected_bg_color, 5%); } - - &:not(:first-child):last-child { - border-radius: 0 0 $popop_menuitem_radius $popop_menuitem_radius; - } } } @@ -142,20 +138,15 @@ $popop_menuitem_radius: $wm_radius - 4px; // separator .popup-separator-menu-item { - margin: 0 0; - padding: 0 0; background: none; border: none; - height: 1px; .popup-separator-menu-item-separator { height: 1px; //not really the whole box margin: 0 0; background-color: $borders_color; - padding: 0 0; .popup-sub-menu & { //submenu separators - padding: 0 0; margin: 0 32px 0 0; height: 1px; } diff --git a/src/sass/gnome-shell/extensions-40-0/_misc.scss b/src/sass/gnome-shell/extensions-40-0/_misc.scss index 0099d21..aa31b27 100644 --- a/src/sass/gnome-shell/extensions-40-0/_misc.scss +++ b/src/sass/gnome-shell/extensions-40-0/_misc.scss @@ -57,3 +57,29 @@ &-sunset-icon, &-build-icon { color: $alt_fg_color; } } + + +// +// Gsconnect +// +.gsconnect-device-menu { + background-color: if($variant == 'light', white, rgba(white, 0.06)); + border-radius: $bt_radius; + margin: $container_padding / 2; + padding: $bt_radius 0; + box-shadow: 1px 2px 3px rgba(black, if($variant == 'light', 0.08, 0.35)); + + .popup-menu-item { + border-radius: 0 !important; + + &:hover { + color: $fg_color !important; + background-color: rgba($fg_color, 0.1) !important; + } + + > :first-child { + &:ltr { padding-left: 0 !important; margin-left: 0 !important; } + &:rtl { padding-right: 0 !important; margin-right: 0 !important; } + } + } +}