aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.16/_common.scss
diff options
context:
space:
mode:
authorHorst31802015-06-05 19:21:22 +0200
committerHorst31802015-06-05 19:21:22 +0200
commit945ab6c5da06cbe0e74901051df62d375d944c76 (patch)
tree0f072ef5f4014328b166419988ed287fabb6b5ae /common/gtk-3.0/3.16/_common.scss
parentbab97a301f3e60f6383b10fdc7ea56b0db3c7373 (diff)
downloadsolarc-theme-945ab6c5da06cbe0e74901051df62d375d944c76.tar.gz
solarc-theme-945ab6c5da06cbe0e74901051df62d375d944c76.tar.xz
solarc-theme-945ab6c5da06cbe0e74901051df62d375d944c76.zip
fix transparent titlebars in elementary os
Diffstat (limited to 'common/gtk-3.0/3.16/_common.scss')
-rw-r--r--common/gtk-3.0/3.16/_common.scss19
1 files changed, 18 insertions, 1 deletions
diff --git a/common/gtk-3.0/3.16/_common.scss b/common/gtk-3.0/3.16/_common.scss
index 164ed58..a24947c 100644
--- a/common/gtk-3.0/3.16/_common.scss
+++ b/common/gtk-3.0/3.16/_common.scss
@@ -1134,11 +1134,28 @@ GtkComboBox {
padding-right: 7px;
border-radius: 4px 4px 0 0;
color: $header_fg;
+ background-color: opacify($header_bg, 1);
box-shadow: inset 0 1px lighten($header_bg, 3%);
- &:backdrop { color: transparentize($header_fg, 0.3); }
+ .csd & { background-color: $header_bg; }
+
+ &:backdrop {
+ color: transparentize($header_fg, 0.3);
+ background-color: opacify($header_bg, 1);
+
+ .csd & { background-color: lighten($header_bg, 3%); }
+ }
+
+ .maximized & {
+ background-color: opacify($header_bg, 1);
+
+ &:backdrop { background-color: opacify(lighten($header_bg, 3%), 1); }
+ }
}
+.titlebar .titlebar,
+.titlebar .titlebar:backdrop { background-color: transparent; }
+
// Only extending .header-bar avoids some problems (Gnome Documents searchbar)
.header-bar {
.header-bar-separator,