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-dark.css | 46 +++++++++++++++--------- 1 file changed, 30 insertions(+), 16 deletions(-) (limited to 'common/gtk-3.0/3.14/gtk-contained-solid-dark.css') diff --git a/common/gtk-3.0/3.14/gtk-contained-solid-dark.css b/common/gtk-3.0/3.14/gtk-contained-solid-dark.css index 0b1f6c1..6f791d3 100644 --- a/common/gtk-3.0/3.14/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.14/gtk-contained-solid-dark.css @@ -430,9 +430,13 @@ GtkSearchEntry.entry { border-color: transparent; background-color: transparent; background-image: none; - color: rgba(77, 173, 212, 0.65); } + color: rgba(211, 218, 227, 0.45); } .button.suggested-action:insensitive { - opacity: 0.75; } + color: rgba(211, 218, 227, 0.45); + border-color: rgba(43, 46, 57, 0.55); + background-color: rgba(68, 74, 88, 0.55); } + .button.suggested-action:insensitive > GtkLabel { + color: inherit; } .button.destructive-action { background-clip: border-box; color: #ffffff; @@ -461,9 +465,13 @@ GtkSearchEntry.entry { border-color: transparent; background-color: transparent; background-image: none; - color: rgba(240, 74, 80, 0.65); } + color: rgba(211, 218, 227, 0.45); } .button.destructive-action:insensitive { - opacity: 0.75; } + color: rgba(211, 218, 227, 0.45); + border-color: rgba(43, 46, 57, 0.55); + background-color: rgba(68, 74, 88, 0.55); } + .button.destructive-action:insensitive > GtkLabel { + color: inherit; } .button.image-button { padding: 8px; } .header-bar .button.image-button { @@ -1194,13 +1202,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, @@ -1231,13 +1242,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