summaryrefslogtreecommitdiff
path: root/gtk/theme/Adwaita/gtk-contained.css
diff options
context:
space:
mode:
authorLapo Calamandrei <calamandrei@gmail.com>2017-02-08 16:45:51 +0100
committerMatthias Clasen <mclasen@redhat.com>2017-02-08 21:32:33 -0500
commit6eb9b57e72c6f793781c5082188e4576fc79dcf4 (patch)
tree56ef1889748c292996e4ecdc1f998716a9eeb7ac /gtk/theme/Adwaita/gtk-contained.css
parentafa78fcffe7785425ed188a0cde52df68a6d3b88 (diff)
downloadgtk+-6eb9b57e72c6f793781c5082188e4576fc79dcf4.tar.gz
adwaita: insensitive styling for views
Add an insensitive style to views, somehow we didn't ship one, so for example, disabled textviews looked the same as sensitive ones.
Diffstat (limited to 'gtk/theme/Adwaita/gtk-contained.css')
-rw-r--r--gtk/theme/Adwaita/gtk-contained.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 580af98c87..07f8b2a100 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -64,6 +64,17 @@ textview text {
textview text:backdrop {
color: #323232;
background-color: #fcfcfc; }
+ .view:backdrop:disabled, iconview:backdrop:disabled,
+ .view text:backdrop:disabled,
+ iconview text:backdrop:disabled,
+ textview text:backdrop:disabled {
+ color: #c3c3c0; }
+ .view:disabled, iconview:disabled,
+ .view text:disabled,
+ iconview text:disabled,
+ textview text:disabled {
+ color: #8b8e8f;
+ background-color: #f1f1f1; }
.view:selected:focus, iconview:selected:focus, .view:selected, iconview:selected,
.view text:selected:focus,
iconview text:selected:focus,