From d489aae7b2753cdb08d09d0a9ade4631e883d378 Mon Sep 17 00:00:00 2001 From: Vince Date: Sat, 3 Jul 2021 18:27:53 +0800 Subject: [PATCH] Fixed #350 --- src/sass/gnome-shell/common/_panel.scss | 4 +-- .../gnome-shell/extensions-3-28/_misc.scss | 26 +++++++++++++++++++ src/sass/gtk/apps/_misc.scss | 9 ++++--- 3 files changed, 33 insertions(+), 6 deletions(-) diff --git a/src/sass/gnome-shell/common/_panel.scss b/src/sass/gnome-shell/common/_panel.scss index daf18e6..be9d4e4 100644 --- a/src/sass/gnome-shell/common/_panel.scss +++ b/src/sass/gnome-shell/common/_panel.scss @@ -3,7 +3,7 @@ #panel { background-color: $panel_bg; - font-weight: if($laptop == 'true', normal, bold); + font-weight: bold; height: $menuitem_size; box-shadow: 0 5px 16px rgba(black, 0.35); color: $panel_fg; @@ -55,7 +55,7 @@ .panel-button { -natural-hpadding: 8px; -minimum-hpadding: 8px; - font-weight: if($laptop == 'true', normal, bold); + font-weight: bold; color: $panel_fg; transition-duration: 150ms; border-radius: $bt_radius; diff --git a/src/sass/gnome-shell/extensions-3-28/_misc.scss b/src/sass/gnome-shell/extensions-3-28/_misc.scss index 91233ab..413ac6a 100644 --- a/src/sass/gnome-shell/extensions-3-28/_misc.scss +++ b/src/sass/gnome-shell/extensions-3-28/_misc.scss @@ -62,6 +62,32 @@ &-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 { + height: 16px !important; + 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; } + } + } +} + // // Pop_OS cosmic widget styling // diff --git a/src/sass/gtk/apps/_misc.scss b/src/sass/gtk/apps/_misc.scss index 75a2f61..849b984 100644 --- a/src/sass/gtk/apps/_misc.scss +++ b/src/sass/gtk/apps/_misc.scss @@ -210,8 +210,9 @@ window.background.chromium { min-height: 16px; margin: 0; // unset margins padding: 0 0; - background-size: auto; + background-size: 16px 16px; color: transparent; // hide stock icons + border: none; } } @@ -228,15 +229,15 @@ window.background.chromium { entry.chromium { &, &:focus { // overrides standard borders border-image: none; - border: 1px solid $solid_borders_color; - background-color: $chrome_bg_color; color: $chrome_fg_color; } + + background-color: rgba($chrome_fg_color, 0.06); } // internal region of toolbar's entry widget > textview.view, textview { - background-color: $chrome_bg_color; + background-color: rgba($chrome_fg_color, 0.06); color: $chrome_fg_color; }