From 9ae9296af7f2a6da01d91ecbd7a47fa8848522cd Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Tue, 29 Sep 2015 01:01:38 +0200 Subject: don't change background-color of unfocused window decorations --- common/gtk-3.0/3.18/sass/_common.scss | 21 ++++++++++++++------- common/gtk-3.0/3.18/sass/_unity.scss | 2 +- 2 files changed, 15 insertions(+), 8 deletions(-) (limited to 'common/gtk-3.0/3.18/sass') diff --git a/common/gtk-3.0/3.18/sass/_common.scss b/common/gtk-3.0/3.18/sass/_common.scss index afe11a5..0f28be6 100644 --- a/common/gtk-3.0/3.18/sass/_common.scss +++ b/common/gtk-3.0/3.18/sass/_common.scss @@ -1040,7 +1040,7 @@ GtkComboBox { border-image: linear-gradient(to bottom, opacify($header_bg, 1), darken($header_bg, 7%)) 1 0 1 0; //temporary hack for rhythmbox 3.1 - &:backdrop { background-color: opacify($header_bg_backdrop, 1); } + //&:backdrop { background-color: opacify($header_bg_backdrop, 1); } .separator { @extend %header_separator; } @@ -1090,7 +1090,7 @@ GtkComboBox { &:backdrop { color: transparentize($header_fg, 0.3); - background-color: opacify($header_bg_backdrop, 1); + //background-color: opacify($header_bg_backdrop, 1); .csd & { background-color: $header_bg_backdrop; } // Transparent header-bars only in csd windows } @@ -1178,7 +1178,7 @@ GtkComboBox { border-color: opacify($header_border, 1); &:backdrop { - background-color: opacify($header_bg_backdrop, 1); + //background-color: opacify($header_bg_backdrop, 1); border-color: opacify($header_border, 1); } } @@ -1190,7 +1190,7 @@ GtkComboBox { background-color: opacify($header_bg, 1); border-bottom-width: 0; - &:backdrop { background-color: opacify($header_bg_backdrop, 1); } + //&:backdrop { background-color: opacify($header_bg_backdrop, 1); } } } @@ -1206,7 +1206,7 @@ GtkComboBox { &:backdrop { color: transparentize($header_fg, 0.3); - background-color: opacify($header_bg_backdrop, 1); + //background-color: opacify($header_bg_backdrop, 1); .csd & { background-color: $header_bg_backdrop; } } @@ -1214,7 +1214,11 @@ GtkComboBox { .maximized & { background-color: opacify($header_bg, 1); - &:backdrop { background-color: opacify($header_bg_backdrop, 1); } + &:backdrop { + //background-color: opacify($header_bg_backdrop, 1); + + .csd & { background-color: opacify($header_bg_backdrop, 1); } + } } } @@ -1675,7 +1679,10 @@ column-header.button.dnd { // for treeview-like derive widgets background-color: opacify($header_bg, 1); color: $header_fg; - &:backdrop { background-color: opacify($header_bg_backdrop, 1); } + &:backdrop { + color: transparentize($header_fg, 0.3); + //background-color: opacify($header_bg_backdrop, 1); + } & > .menuitem { padding: 6px 8px; diff --git a/common/gtk-3.0/3.18/sass/_unity.scss b/common/gtk-3.0/3.18/sass/_unity.scss index c0b9060..48ebb2b 100644 --- a/common/gtk-3.0/3.18/sass/_unity.scss +++ b/common/gtk-3.0/3.18/sass/_unity.scss @@ -30,7 +30,7 @@ UnityDecoration { &:backdrop { border-bottom-width: 0; - background-image: linear-gradient(to bottom, opacify($header_bg_backdrop, 1)); + //background-image: linear-gradient(to bottom, opacify($header_bg_backdrop, 1)); color: transparentize($header_fg, 0.3); } } -- cgit v1.2.3