From 5cd9d84116f876fcca2347830cca8f22a3680a14 Mon Sep 17 00:00:00 2001 From: Vince Date: Tue, 7 Dec 2021 12:31:09 +0800 Subject: [PATCH] update --- src/sass/gtk/_common-3.0.scss | 9 +++++++-- src/sass/gtk/_common-4.0.scss | 5 +++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/sass/gtk/_common-3.0.scss b/src/sass/gtk/_common-3.0.scss index aa6fbf6..aba5f0b 100644 --- a/src/sass/gtk/_common-3.0.scss +++ b/src/sass/gtk/_common-3.0.scss @@ -1208,6 +1208,11 @@ combobox { } } + .background & button.combo:disabled arrow, + .background & button.combo:backdrop arrow { + background-color: if($variant=='light', rgba(black, 0.35), rgba(white, 0.25)); + } + decoration, button.combo:checked, .background & button.combo:checked { transition: none; } // workaround for menuitem selection @@ -2208,7 +2213,7 @@ menu, border-radius: $mn_radius - 3px; text-shadow: none; color: $fg_color; - -gtk-icon-style: symbolic; + // -gtk-icon-style: symbolic; &:hover { transition: none; @@ -2227,7 +2232,7 @@ menu, -gtk-icon-shadow: none; } - menuitem { -gtk-icon-style: symbolic; } + // menuitem { -gtk-icon-style: symbolic; } menuitem:hover { arrow { color: $selected_fg_color; } diff --git a/src/sass/gtk/_common-4.0.scss b/src/sass/gtk/_common-4.0.scss index 38a2c60..7395565 100644 --- a/src/sass/gtk/_common-4.0.scss +++ b/src/sass/gtk/_common-4.0.scss @@ -1285,6 +1285,11 @@ combobox { } } + .background & button.combo:disabled arrow, + .background & button.combo:backdrop arrow { + background-color: if($variant=='light', rgba(black, 0.35), rgba(white, 0.25)); + } + button.combo:checked, .background & button.combo:checked { transition: none; } // workaround for menuitem selection