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.14/gtk-dark.css | 3 +++ common/gtk-3.0/3.14/gtk-darker.css | 3 +++ common/gtk-3.0/3.14/gtk-solid-dark.css | 3 +++ common/gtk-3.0/3.14/gtk-solid-darker.css | 3 +++ common/gtk-3.0/3.14/gtk-solid.css | 3 +++ common/gtk-3.0/3.14/gtk.css | 3 +++ common/gtk-3.0/3.14/sass/_common.scss | 2 ++ 7 files changed, 20 insertions(+) (limited to 'common/gtk-3.0/3.14') diff --git a/common/gtk-3.0/3.14/gtk-dark.css b/common/gtk-3.0/3.14/gtk-dark.css index e7f5c21..2ce4775 100644 --- a/common/gtk-3.0/3.14/gtk-dark.css +++ b/common/gtk-3.0/3.14/gtk-dark.css @@ -283,6 +283,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.14/gtk-darker.css b/common/gtk-3.0/3.14/gtk-darker.css index 5c70d1c..ea8c6ea 100644 --- a/common/gtk-3.0/3.14/gtk-darker.css +++ b/common/gtk-3.0/3.14/gtk-darker.css @@ -282,6 +282,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.14/gtk-solid-dark.css b/common/gtk-3.0/3.14/gtk-solid-dark.css index d3a212a..13af444 100644 --- a/common/gtk-3.0/3.14/gtk-solid-dark.css +++ b/common/gtk-3.0/3.14/gtk-solid-dark.css @@ -283,6 +283,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.14/gtk-solid-darker.css b/common/gtk-3.0/3.14/gtk-solid-darker.css index 346b110..ba00ae4 100644 --- a/common/gtk-3.0/3.14/gtk-solid-darker.css +++ b/common/gtk-3.0/3.14/gtk-solid-darker.css @@ -282,6 +282,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.14/gtk-solid.css b/common/gtk-3.0/3.14/gtk-solid.css index a2ca2ad..387b7bf 100644 --- a/common/gtk-3.0/3.14/gtk-solid.css +++ b/common/gtk-3.0/3.14/gtk-solid.css @@ -282,6 +282,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.14/gtk.css b/common/gtk-3.0/3.14/gtk.css index cd5f9d9..b504fdf 100644 --- a/common/gtk-3.0/3.14/gtk.css +++ b/common/gtk-3.0/3.14/gtk.css @@ -282,6 +282,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.14/sass/_common.scss b/common/gtk-3.0/3.14/sass/_common.scss index 5f98928..b78af3b 100644 --- a/common/gtk-3.0/3.14/sass/_common.scss +++ b/common/gtk-3.0/3.14/sass/_common.scss @@ -384,6 +384,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