From 97d96272f05eb9692203cea422d70af739bb154d Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Tue, 20 Sep 2016 21:09:23 +0200 Subject: fix color of disabled labels in checked buttons --- common/gtk-3.0/3.18/gtk-dark.css | 3 +++ common/gtk-3.0/3.18/gtk-darker.css | 3 +++ common/gtk-3.0/3.18/gtk-solid-dark.css | 3 +++ common/gtk-3.0/3.18/gtk-solid-darker.css | 3 +++ common/gtk-3.0/3.18/gtk-solid.css | 3 +++ common/gtk-3.0/3.18/gtk.css | 3 +++ common/gtk-3.0/3.18/sass/_common.scss | 2 ++ 7 files changed, 20 insertions(+) (limited to 'common/gtk-3.0/3.18') diff --git a/common/gtk-3.0/3.18/gtk-dark.css b/common/gtk-3.0/3.18/gtk-dark.css index 0556032..e50daf4 100644 --- a/common/gtk-3.0/3.18/gtk-dark.css +++ b/common/gtk-3.0/3.18/gtk-dark.css @@ -249,6 +249,9 @@ GtkSearchEntry.entry { border-color: #2b2e39; background-color: #5294e2; transition-duration: 50ms; } + .button:active .label:insensitive, .button:checked .label:insensitive { + color: inherit; + opacity: 0.6; } .button:active { color: #D3DAE3; } .button:active:hover, .button:checked { diff --git a/common/gtk-3.0/3.18/gtk-darker.css b/common/gtk-3.0/3.18/gtk-darker.css index 37915c4..6ef66bc 100644 --- a/common/gtk-3.0/3.18/gtk-darker.css +++ b/common/gtk-3.0/3.18/gtk-darker.css @@ -248,6 +248,9 @@ GtkSearchEntry.entry { border-color: #5294e2; background-color: #5294e2; transition-duration: 50ms; } + .button:active .label:insensitive, .button:checked .label:insensitive { + color: inherit; + opacity: 0.6; } .button:active { color: #5c616c; } .button:active:hover, .button:checked { diff --git a/common/gtk-3.0/3.18/gtk-solid-dark.css b/common/gtk-3.0/3.18/gtk-solid-dark.css index d9716bd..736d02d 100644 --- a/common/gtk-3.0/3.18/gtk-solid-dark.css +++ b/common/gtk-3.0/3.18/gtk-solid-dark.css @@ -249,6 +249,9 @@ GtkSearchEntry.entry { border-color: #2b2e39; background-color: #5294e2; transition-duration: 50ms; } + .button:active .label:insensitive, .button:checked .label:insensitive { + color: inherit; + opacity: 0.6; } .button:active { color: #D3DAE3; } .button:active:hover, .button:checked { diff --git a/common/gtk-3.0/3.18/gtk-solid-darker.css b/common/gtk-3.0/3.18/gtk-solid-darker.css index 4b77834..210c2ab 100644 --- a/common/gtk-3.0/3.18/gtk-solid-darker.css +++ b/common/gtk-3.0/3.18/gtk-solid-darker.css @@ -248,6 +248,9 @@ GtkSearchEntry.entry { border-color: #5294e2; background-color: #5294e2; transition-duration: 50ms; } + .button:active .label:insensitive, .button:checked .label:insensitive { + color: inherit; + opacity: 0.6; } .button:active { color: #5c616c; } .button:active:hover, .button:checked { diff --git a/common/gtk-3.0/3.18/gtk-solid.css b/common/gtk-3.0/3.18/gtk-solid.css index c7d9f25..6ce867c 100644 --- a/common/gtk-3.0/3.18/gtk-solid.css +++ b/common/gtk-3.0/3.18/gtk-solid.css @@ -248,6 +248,9 @@ GtkSearchEntry.entry { border-color: #5294e2; background-color: #5294e2; transition-duration: 50ms; } + .button:active .label:insensitive, .button:checked .label:insensitive { + color: inherit; + opacity: 0.6; } .button:active { color: #5c616c; } .button:active:hover, .button:checked { diff --git a/common/gtk-3.0/3.18/gtk.css b/common/gtk-3.0/3.18/gtk.css index 1e53899..dc27169 100644 --- a/common/gtk-3.0/3.18/gtk.css +++ b/common/gtk-3.0/3.18/gtk.css @@ -248,6 +248,9 @@ GtkSearchEntry.entry { border-color: #5294e2; background-color: #5294e2; transition-duration: 50ms; } + .button:active .label:insensitive, .button:checked .label:insensitive { + color: inherit; + opacity: 0.6; } .button:active { color: #5c616c; } .button:active:hover, .button:checked { diff --git a/common/gtk-3.0/3.18/sass/_common.scss b/common/gtk-3.0/3.18/sass/_common.scss index d60f175..e215b31 100644 --- a/common/gtk-3.0/3.18/sass/_common.scss +++ b/common/gtk-3.0/3.18/sass/_common.scss @@ -327,6 +327,8 @@ $_dot_color: $selected_bg_color; background-clip: if($variant=='light', border-box, padding-box); @include button(active); transition-duration: 50ms; + + .label:insensitive { color: inherit; opacity: 0.6; } } //Webkitgtk workaround start -- cgit v1.2.3