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.16/gtk-contained-dark.css | 46 ++++++++++++++-------- common/gtk-3.0/3.16/gtk-contained-darker.css | 46 ++++++++++++++-------- common/gtk-3.0/3.16/gtk-contained-solid-dark.css | 46 ++++++++++++++-------- common/gtk-3.0/3.16/gtk-contained-solid-darker.css | 46 ++++++++++++++-------- common/gtk-3.0/3.16/gtk-contained-solid.css | 46 ++++++++++++++-------- common/gtk-3.0/3.16/gtk-contained.css | 46 ++++++++++++++-------- common/gtk-3.0/3.16/sass/_common.scss | 11 ++---- 7 files changed, 184 insertions(+), 103 deletions(-) (limited to 'common/gtk-3.0/3.16') diff --git a/common/gtk-3.0/3.16/gtk-contained-dark.css b/common/gtk-3.0/3.16/gtk-contained-dark.css index 676129a..2227d42 100644 --- a/common/gtk-3.0/3.16/gtk-contained-dark.css +++ b/common/gtk-3.0/3.16/gtk-contained-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 { @@ -1200,13 +1208,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, @@ -1237,13 +1248,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, diff --git a/common/gtk-3.0/3.16/gtk-contained-darker.css b/common/gtk-3.0/3.16/gtk-contained-darker.css index 970a781..b970f4c 100644 --- a/common/gtk-3.0/3.16/gtk-contained-darker.css +++ b/common/gtk-3.0/3.16/gtk-contained-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 { @@ -1203,13 +1211,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, @@ -1240,13 +1251,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, diff --git a/common/gtk-3.0/3.16/gtk-contained-solid-dark.css b/common/gtk-3.0/3.16/gtk-contained-solid-dark.css index 57de82b..b442a1a 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.16/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 { @@ -1200,13 +1208,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, @@ -1237,13 +1248,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, diff --git a/common/gtk-3.0/3.16/gtk-contained-solid-darker.css b/common/gtk-3.0/3.16/gtk-contained-solid-darker.css index 696308d..4d3157d 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid-darker.css +++ b/common/gtk-3.0/3.16/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 { @@ -1203,13 +1211,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, @@ -1240,13 +1251,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, diff --git a/common/gtk-3.0/3.16/gtk-contained-solid.css b/common/gtk-3.0/3.16/gtk-contained-solid.css index 97b5c9c..95d6255 100644 --- a/common/gtk-3.0/3.16/gtk-contained-solid.css +++ b/common/gtk-3.0/3.16/gtk-contained-solid.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 { @@ -1203,13 +1211,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(82, 93, 118, 0.35); + background-color: rgba(231, 232, 235, 0); + border-color: rgba(231, 232, 235, 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, @@ -1240,13 +1251,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(82, 93, 118, 0.35); + background-color: rgba(231, 232, 235, 0); + border-color: rgba(231, 232, 235, 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, diff --git a/common/gtk-3.0/3.16/gtk-contained.css b/common/gtk-3.0/3.16/gtk-contained.css index 1caa6be..ee1c932 100644 --- a/common/gtk-3.0/3.16/gtk-contained.css +++ b/common/gtk-3.0/3.16/gtk-contained.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 { @@ -1203,13 +1211,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(82, 93, 118, 0.35); + background-color: rgba(231, 232, 235, 0); + border-color: rgba(231, 232, 235, 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, @@ -1240,13 +1251,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(82, 93, 118, 0.35); + background-color: rgba(231, 232, 235, 0); + border-color: rgba(231, 232, 235, 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, diff --git a/common/gtk-3.0/3.16/sass/_common.scss b/common/gtk-3.0/3.16/sass/_common.scss index 60cb16b..6d075ed 100644 --- a/common/gtk-3.0/3.16/sass/_common.scss +++ b/common/gtk-3.0/3.16/sass/_common.scss @@ -518,9 +518,9 @@ $_dot_color: $selected_bg_color; } &.flat:insensitive { @include button(undecorated); - color: transparentize($b_color, 0.35); + color: $insensitive_fg_color; } - &:insensitive { opacity: 0.75; } + &:insensitive { @include button(insensitive); } } } @@ -1317,11 +1317,8 @@ GtkComboBox { &:active, &:checked { @include button(suggested_destructive, darken($b_color, 10%)); } - &.flat:insensitive { - @include button(undecorated); - color: transparentize($b_color, 0.35); - } - &:insensitive { opacity: 0.75; } + &.flat:insensitive, + &:insensitive { @include button(header-insensitive); } } .button.#{$b_type}:backdrop, .button.#{$b_type}:backdrop { -- cgit v1.2.3