aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.20/sass
diff options
context:
space:
mode:
authorHorst31802016-03-29 00:37:22 +0200
committerHorst31802016-03-29 00:37:22 +0200
commitb6a4dc4d1fa859b723f71c8cdf37c4a3ec84edbd (patch)
treeaa62ebba1a03e84c046d749984a3d6b156b45a0a /common/gtk-3.0/3.20/sass
parentf42dda04ee620f44ce1a907a51158ae874f01121 (diff)
downloadsolarc-theme-b6a4dc4d1fa859b723f71c8cdf37c4a3ec84edbd.tar.gz
solarc-theme-b6a4dc4d1fa859b723f71c8cdf37c4a3ec84edbd.tar.xz
solarc-theme-b6a4dc4d1fa859b723f71c8cdf37c4a3ec84edbd.zip
more titlebar fixes
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r--common/gtk-3.0/3.20/sass/_common.scss31
1 files changed, 22 insertions, 9 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss
index a31eea5..5f23dd9 100644
--- a/common/gtk-3.0/3.20/sass/_common.scss
+++ b/common/gtk-3.0/3.20/sass/_common.scss
@@ -1066,6 +1066,10 @@ headerbar,
.maximized & { background-color: opacify($header_bg, 1); }
}
+
+ separator.titlebutton { @extend %header_separator; }
+
+ @extend %header_widgets;
}
.titlebar {
@@ -1078,16 +1082,31 @@ headerbar {
margin-bottom: 6px;
}
+ // Fixes split headerbars
separator:first-child + &,
- &:first-child { &, &:backdrop { border-top-left-radius: $_header_radius; }}
+ &:first-child {
+ &, &:backdrop {
+ border-top-left-radius: $_header_radius;
+
+ .maximized &,
+ .tiled & { border-radius: 0; }
+ }
+ }
+
+ &:last-child {
+ &, &:backdrop {
+ border-top-right-radius: $_header_radius;
- &:last-child { &, &:backdrop { border-top-right-radius: $_header_radius; }}
+ .maximized &,
+ .tiled & { border-radius: 0; }
+ }
+ }
}
+// Fixes split headerbars too
.titlebar:not(headerbar) {
window.csd > &,
window.csd > &:backdrop {
- // in csd we assume every titlebar is a headerbar so reset anything, this is needed for split toolbars cases
padding: 0;
background-color: transparent;
background-image: none;
@@ -1101,12 +1120,6 @@ headerbar {
@extend %titlebar;
}
-headerbar {
- separator.titlebutton { @extend %header_separator; }
-
- @extend %header_widgets;
-}
-
%header_separator {
min-width: 1px;
min-height: 1px;