aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.20/sass
diff options
context:
space:
mode:
authorHorst31802016-02-19 11:06:17 +0100
committerHorst31802016-02-19 11:06:17 +0100
commita3783b285f1a03c13b6f5b2d7adae1b4343fead1 (patch)
tree9eead8fb354557a39ecfcfc8c73e50f30d05e210 /common/gtk-3.0/3.20/sass
parentbe715132b9747142c8bafeced7abfc4c86da93cd (diff)
downloadsolarc-theme-a3783b285f1a03c13b6f5b2d7adae1b4343fead1.tar.gz
solarc-theme-a3783b285f1a03c13b6f5b2d7adae1b4343fead1.tar.xz
solarc-theme-a3783b285f1a03c13b6f5b2d7adae1b4343fead1.zip
paned headerbar fixes
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r--common/gtk-3.0/3.20/sass/_common.scss24
1 files changed, 19 insertions, 5 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss
index 9085f90..4be7e31 100644
--- a/common/gtk-3.0/3.20/sass/_common.scss
+++ b/common/gtk-3.0/3.20/sass/_common.scss
@@ -863,11 +863,16 @@ headerbar {
background-color: opacify($header_bg, 1);
.csd & { // Transparent header-bars only in csd windows
+ border-radius: if($darker=='false' and $variant=='light', 4px 4px 0 0, 3px 3px 0 0);
background-color: $header_bg;
border-color: $header_border;
}
- &:backdrop { color: transparentize($header_fg, 0.3); }
+ &:backdrop {
+ color: transparentize($header_fg, 0.3);
+
+ .csd & { background-color: $header_bg_backdrop; }
+ }
.title {
padding-left: 12px;
@@ -990,7 +995,8 @@ headerbar {
}
// Fixes double backgrounds on paned headerbars
- &:not(headerbar) {
+ &:not(headerbar),
+ &:backdrop:not(headerbar) {
window > &,
window.csd > & {
padding: 0;
@@ -1002,6 +1008,17 @@ headerbar {
separator { background-color: $header_border; }
}
+// more paned headerbar fixes (Gedit)
+paned.titlebar {
+ separator { background-color: transparent; }
+
+ > headerbar {
+ &::not(:only-child):not(:first-child):not(:last-child) { border-radius: 0;}
+ &:first-child { border-top-right-radius: 0; }
+ &:last-child { border-top-left-radius: 0; }
+ }
+}
+
// Only extending headerbar avoids some problems (Gnome Documents searchbar)
headerbar {
separator.titlebutton { @extend %header_separator; }
@@ -2444,14 +2461,11 @@ placesview {
transition: 200ms $ease-out-quad;
-gtk-icon-transform: rotate(-0.5turn);
}
-
- row.activatable:hover { background-color: transparent; }
}
//
// Paned
//
-
paned {
> separator {
min-width: 1px;