aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.16/sass
diff options
context:
space:
mode:
authorHorst31802015-09-29 01:01:38 +0200
committerHorst31802015-09-29 01:01:38 +0200
commit9ae9296af7f2a6da01d91ecbd7a47fa8848522cd (patch)
tree6d96e75a0a5de3cc25ecd8274557a907a366fb70 /common/gtk-3.0/3.16/sass
parent6471abcee9ceb3ee37c404de352f8afc966c2cac (diff)
downloadsolarc-theme-9ae9296af7f2a6da01d91ecbd7a47fa8848522cd.tar.gz
solarc-theme-9ae9296af7f2a6da01d91ecbd7a47fa8848522cd.tar.xz
solarc-theme-9ae9296af7f2a6da01d91ecbd7a47fa8848522cd.zip
don't change background-color of unfocused window decorations
Diffstat (limited to 'common/gtk-3.0/3.16/sass')
-rw-r--r--common/gtk-3.0/3.16/sass/_common.scss24
-rw-r--r--common/gtk-3.0/3.16/sass/_unity.scss2
2 files changed, 17 insertions, 9 deletions
diff --git a/common/gtk-3.0/3.16/sass/_common.scss b/common/gtk-3.0/3.16/sass/_common.scss
index 1d3abd3..77bdf4c 100644
--- a/common/gtk-3.0/3.16/sass/_common.scss
+++ b/common/gtk-3.0/3.16/sass/_common.scss
@@ -996,7 +996,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; }
@@ -1046,7 +1046,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
}
@@ -1134,18 +1134,19 @@ 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);
}
}
- &.default-decoration {
+ &.default-decoration,
+ .csd &.default-decoration { // needed under wayland, since all gtk3 windows are csd windows
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_backdrop, 1); }
}
}
@@ -1161,7 +1162,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; }
}
@@ -1169,7 +1170,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); }
+ }
}
}
@@ -1575,7 +1580,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.16/sass/_unity.scss b/common/gtk-3.0/3.16/sass/_unity.scss
index c0b9060..48ebb2b 100644
--- a/common/gtk-3.0/3.16/sass/_unity.scss
+++ b/common/gtk-3.0/3.16/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);
}
}