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.18/sass/_common.scss | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'common/gtk-3.0/3.18/sass/_common.scss') diff --git a/common/gtk-3.0/3.18/sass/_common.scss b/common/gtk-3.0/3.18/sass/_common.scss index 86545a1..8d492ed 100644 --- a/common/gtk-3.0/3.18/sass/_common.scss +++ b/common/gtk-3.0/3.18/sass/_common.scss @@ -324,7 +324,7 @@ $_dot_color: $selected_bg_color; @include button(normal); - &.flat { + &.flat { @include button(undecorated); background-color: transparentize($button_bg, 1); border-color: transparentize($button_border, 1); @@ -457,9 +457,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); } } } @@ -1420,11 +1420,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