diff options
author | Horst3180 | 2015-11-26 20:09:15 +0100 |
---|---|---|
committer | Horst3180 | 2015-11-26 20:09:15 +0100 |
commit | 468439ec31ae2d83dee1b714430cbf0222d2f967 (patch) | |
tree | dc82bbe289bcbd66bcf8a6a0301e01ce1d7e396e /common/gtk-3.0/3.14/sass/_common.scss | |
parent | 27809c663572bf15b40337a06650411949651941 (diff) | |
download | solarc-theme-468439ec31ae2d83dee1b714430cbf0222d2f967.tar.gz solarc-theme-468439ec31ae2d83dee1b714430cbf0222d2f967.tar.xz solarc-theme-468439ec31ae2d83dee1b714430cbf0222d2f967.zip |
really fix maximized backdrop titlebars
Diffstat (limited to 'common/gtk-3.0/3.14/sass/_common.scss')
-rw-r--r-- | common/gtk-3.0/3.14/sass/_common.scss | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/common/gtk-3.0/3.14/sass/_common.scss b/common/gtk-3.0/3.14/sass/_common.scss index 0700d58..3a823f7 100644 --- a/common/gtk-3.0/3.14/sass/_common.scss +++ b/common/gtk-3.0/3.14/sass/_common.scss @@ -1046,12 +1046,7 @@ GtkComboBox { border-color: $header_border; } - &:backdrop { - color: transparentize($header_fg, 0.3); - //background-color: opacify($header_bg_backdrop, 1); - - .csd & { background-color: $header_bg_backdrop; } // Transparent header-bars only in csd windows - } + &:backdrop { color: transparentize($header_fg, 0.3); } .title { padding: 0px 12px; @@ -1134,21 +1129,18 @@ GtkComboBox { .maximized & { background-color: opacify($header_bg, 1); border-color: opacify($header_border, 1); - - &:backdrop { - //background-color: opacify($header_bg_backdrop, 1); - border-color: opacify($header_border, 1); - } } + &.default-decoration, - .csd &.default-decoration { - padding-top: 5px; // less padding for ssd - padding-bottom: 5px; // + .csd &.default-decoration, // needed under wayland, since all gtk3 windows are csd windows + &.default-decoration:backdrop, + .csd &.default-decoration:backdrop { + padding-top: 5px; // less padding for ssd + padding-bottom: 5px; // background-color: opacify($header_bg, 1); border-bottom-width: 0; - //&:backdrop { background-color: opacify($header_bg_backdrop, 1); } - &:backdrop { background-color: opacify($header_bg, 1); } + .maximized & { background-color: opacify($header_bg, 1); } } } @@ -1164,7 +1156,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; } } @@ -1172,11 +1164,7 @@ GtkComboBox { .maximized & { background-color: opacify($header_bg, 1); - &:backdrop { - background-color: opacify($header_bg_backdrop, 1); - - .csd & { background-color: opacify($header_bg_backdrop, 1); } - } + &:backdrop, .csd &:backdrop { background-color: opacify($header_bg_backdrop, 1); } } } |