summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-06 14:40:36 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-01-06 14:40:36 +0000
commit2ff23b08bedde7f7e66bb204f31b236d8384f979 (patch)
tree32b2e92fed615cf638201cc6efe9dc3492877593
parent2af9f1ad62122fab38f4af858b78e221c00cc092 (diff)
parente657da6658afb5e379df4661e6d828d66f8c7a40 (diff)
downloadgtk+-2ff23b08bedde7f7e66bb204f31b236d8384f979.tar.gz
Merge branch 'wip/jimmac/headerbar-specialcasing' into 'master'
Adwaita: specialcase switches and scales for headerbars Closes #3504 See merge request GNOME/gtk!3043
-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 24e0ab87d3..f5963fcba9 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;