From 4f5747023d17abf759cd2b2b875bf9d625c585f8 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Fri, 2 Oct 2015 14:07:51 +0200 Subject: don't colorize insensitive suggested and destructive action buttons --- common/gtk-3.0/3.14/gtk-contained-solid-darker.css | 46 ++++++++++++++-------- 1 file changed, 30 insertions(+), 16 deletions(-) (limited to 'common/gtk-3.0/3.14/gtk-contained-solid-darker.css') diff --git a/common/gtk-3.0/3.14/gtk-contained-solid-darker.css b/common/gtk-3.0/3.14/gtk-contained-solid-darker.css index a3a3791..1b9f403 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid-darker.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid-darker.css @@ -429,9 +429,13 @@ GtkSearchEntry.entry { border-color: transparent; background-color: transparent; background-image: none; - color: rgba(77, 173, 212, 0.65); } + color: rgba(92, 97, 108, 0.55); } .button.suggested-action:insensitive { - opacity: 0.75; } + color: rgba(92, 97, 108, 0.55); + border-color: rgba(207, 214, 230, 0.55); + background-color: rgba(251, 251, 252, 0.55); } + .button.suggested-action:insensitive > GtkLabel { + color: inherit; } .button.destructive-action { background-clip: border-box; color: #ffffff; @@ -460,9 +464,13 @@ GtkSearchEntry.entry { border-color: transparent; background-color: transparent; background-image: none; - color: rgba(240, 74, 80, 0.65); } + color: rgba(92, 97, 108, 0.55); } .button.destructive-action:insensitive { - opacity: 0.75; } + color: rgba(92, 97, 108, 0.55); + border-color: rgba(207, 214, 230, 0.55); + background-color: rgba(251, 251, 252, 0.55); } + .button.destructive-action:insensitive > GtkLabel { + color: inherit; } .button.image-button { padding: 8px; } .header-bar .button.image-button { @@ -1197,13 +1205,16 @@ GtkComboBox { outline-color: rgba(255, 255, 255, 0.3); background-color: #2e96c0; border-color: #2e96c0; } - .primary-toolbar .button.suggested-action.flat:insensitive, .header-bar .button.suggested-action.flat:insensitive { - border-color: transparent; - background-color: transparent; - background-image: none; - color: rgba(77, 173, 212, 0.65); } + .primary-toolbar .button.suggested-action.flat:insensitive, + .header-bar .button.suggested-action.flat:insensitive, .primary-toolbar .button.suggested-action:insensitive, .header-bar .button.suggested-action:insensitive { - opacity: 0.75; } + color: rgba(207, 218, 231, 0.35); + background-color: rgba(47, 52, 63, 0); + border-color: rgba(47, 52, 63, 0); } + .primary-toolbar .button.suggested-action.flat:insensitive > GtkLabel, + .header-bar .button.suggested-action.flat:insensitive > GtkLabel, + .primary-toolbar .button.suggested-action:insensitive > GtkLabel, .header-bar .button.suggested-action:insensitive > GtkLabel { + color: inherit; } .primary-toolbar .button.suggested-action:backdrop, .header-bar .button.suggested-action:backdrop, @@ -1234,13 +1245,16 @@ GtkComboBox { outline-color: rgba(255, 255, 255, 0.3); background-color: #ec1b22; border-color: #ec1b22; } - .primary-toolbar .button.destructive-action.flat:insensitive, .header-bar .button.destructive-action.flat:insensitive { - border-color: transparent; - background-color: transparent; - background-image: none; - color: rgba(240, 74, 80, 0.65); } + .primary-toolbar .button.destructive-action.flat:insensitive, + .header-bar .button.destructive-action.flat:insensitive, .primary-toolbar .button.destructive-action:insensitive, .header-bar .button.destructive-action:insensitive { - opacity: 0.75; } + color: rgba(207, 218, 231, 0.35); + background-color: rgba(47, 52, 63, 0); + border-color: rgba(47, 52, 63, 0); } + .primary-toolbar .button.destructive-action.flat:insensitive > GtkLabel, + .header-bar .button.destructive-action.flat:insensitive > GtkLabel, + .primary-toolbar .button.destructive-action:insensitive > GtkLabel, .header-bar .button.destructive-action:insensitive > GtkLabel { + color: inherit; } .primary-toolbar .button.destructive-action:backdrop, .header-bar .button.destructive-action:backdrop, -- cgit v1.2.3