From 56c54a20d1a6f64bcf234772cd6d54c817508aa2 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Wed, 17 Feb 2016 20:00:57 +0100 Subject: [PATCH] Adwaita: reset the shadow on disabled scales --- gtk/theme/Adwaita/_common.scss | 5 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index ded37e3520..50992f900b 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -2444,7 +2444,10 @@ treeview.view radio { background-color: $dark_fill; box-shadow: inset 1px 1px transparentize(black, 0.9); - &:disabled { background-color: $insensitive_bg_color; } + &:disabled { + background-color: $insensitive_bg_color; + box-shadow: none; + } &:backdrop { background-color: $backdrop_dark_fill; diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 0f23bd22e3..20b4788bc5 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -2655,7 +2655,8 @@ scale trough, scale fill, progressbar trough { background-color: #2f3434; box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1); } scale trough:disabled, scale fill:disabled, progressbar trough:disabled { - background-color: #333636; } + background-color: #333636; + box-shadow: none; } scale trough:backdrop, scale fill:backdrop, progressbar trough:backdrop, progressbar:backdrop trough { background-color: #303535; border-color: #1f2222; diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index fe2f0794ec..647800bea6 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -2686,7 +2686,8 @@ scale trough, scale fill, progressbar trough { background-color: #cececc; box-shadow: inset 1px 1px rgba(0, 0, 0, 0.1); } scale trough:disabled, scale fill:disabled, progressbar trough:disabled { - background-color: #f1f1f1; } + background-color: #f1f1f1; + box-shadow: none; } scale trough:backdrop, scale fill:backdrop, progressbar trough:backdrop, progressbar:backdrop trough { background-color: #d1d1cf; border-color: #a5a5a1;