summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2021-01-06 13:02:21 +0100
committerJakub Steiner <jimmac@gmail.com>2021-01-06 13:02:21 +0100
commite657da6658afb5e379df4661e6d828d66f8c7a40 (patch)
treeacb984833268c5d3c0f27bcd208e76f926cb85e9
parentde8a8d7bdeaa25ba6f9997975e042b28422e8228 (diff)
downloadgtk+-e657da6658afb5e379df4661e6d828d66f8c7a40.tar.gz
Adwaita: specialcase switches and scales for headerbarswip/jimmac/headerbar-specialcasing
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3504
-rw-r--r--gtk/theme/Adwaita/_common.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index c61c6a8f23..459f3d1ed4 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2350,6 +2350,8 @@ switch {
@include focus-ring($offset: 0, $outer: true);
+ headerbar & { background-color: darken($dark_fill,8%); } //3504
+
&:checked {
color: $selected_fg_color;
border-color: $switch_borders_color;
@@ -2547,6 +2549,8 @@ treeview.view radio:selected { &:focus, & { @extend %radio; }} // This is a work
border-radius: 3px;
background-color: $dark_fill;
+ headerbar & { background-color: darken($dark_fill,8%); } //3504
+
&:disabled {
background-color: $insensitive_bg_color;
border-color: $insensitive_borders_color;