handle separators in split titlebars correctly

pull/463/head
Horst3180 8 years ago
parent b6a4dc4d1f
commit ad624e0720

@ -1020,6 +1020,7 @@ headerbar:last-child, headerbar:last-child:backdrop {
.tiled headerbar:last-child:backdrop {
border-radius: 0; }
window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop,
window.csd > .titlebar:not(headerbar),
window.csd > .titlebar:not(headerbar):backdrop {
padding: 0;
@ -1030,7 +1031,7 @@ window.csd > .titlebar:not(headerbar):backdrop {
box-shadow: none; }
.titlebar:not(headerbar) > separator {
background: rgba(38, 42, 51, 0.97); }
background-image: linear-gradient(to top, rgba(38, 42, 51, 0.97)); }
.primary-toolbar separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton {
min-width: 1px;

@ -1019,6 +1019,7 @@ headerbar:last-child, headerbar:last-child:backdrop {
.tiled headerbar:last-child:backdrop {
border-radius: 0; }
window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop,
window.csd > .titlebar:not(headerbar),
window.csd > .titlebar:not(headerbar):backdrop {
padding: 0;
@ -1029,7 +1030,7 @@ window.csd > .titlebar:not(headerbar):backdrop {
box-shadow: none; }
.titlebar:not(headerbar) > separator {
background: rgba(38, 42, 51, 0.97); }
background-image: linear-gradient(to top, rgba(38, 42, 51, 0.97)); }
.primary-toolbar separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton {
min-width: 1px;

@ -1020,6 +1020,7 @@ headerbar:last-child, headerbar:last-child:backdrop {
.tiled headerbar:last-child:backdrop {
border-radius: 0; }
window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop,
window.csd > .titlebar:not(headerbar),
window.csd > .titlebar:not(headerbar):backdrop {
padding: 0;
@ -1030,7 +1031,7 @@ window.csd > .titlebar:not(headerbar):backdrop {
box-shadow: none; }
.titlebar:not(headerbar) > separator {
background: #262a33; }
background-image: linear-gradient(to top, #262a33); }
.primary-toolbar separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton {
min-width: 1px;

@ -1019,6 +1019,7 @@ headerbar:last-child, headerbar:last-child:backdrop {
.tiled headerbar:last-child:backdrop {
border-radius: 0; }
window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop,
window.csd > .titlebar:not(headerbar),
window.csd > .titlebar:not(headerbar):backdrop {
padding: 0;
@ -1029,7 +1030,7 @@ window.csd > .titlebar:not(headerbar):backdrop {
box-shadow: none; }
.titlebar:not(headerbar) > separator {
background: #262a33; }
background-image: linear-gradient(to top, #262a33); }
.primary-toolbar separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton {
min-width: 1px;

@ -1019,6 +1019,7 @@ headerbar:last-child, headerbar:last-child:backdrop {
.tiled headerbar:last-child:backdrop {
border-radius: 0; }
window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop,
window.csd > .titlebar:not(headerbar),
window.csd > .titlebar:not(headerbar):backdrop {
padding: 0;
@ -1029,7 +1030,7 @@ window.csd > .titlebar:not(headerbar):backdrop {
box-shadow: none; }
.titlebar:not(headerbar) > separator {
background: #d4d5db; }
background-image: linear-gradient(to top, #d4d5db); }
.primary-toolbar separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton {
min-width: 1px;

@ -1019,6 +1019,7 @@ headerbar:last-child, headerbar:last-child:backdrop {
.tiled headerbar:last-child:backdrop {
border-radius: 0; }
window > .titlebar:not(headerbar), window > .titlebar:not(headerbar):backdrop,
window.csd > .titlebar:not(headerbar),
window.csd > .titlebar:not(headerbar):backdrop {
padding: 0;
@ -1029,7 +1030,7 @@ window.csd > .titlebar:not(headerbar):backdrop {
box-shadow: none; }
.titlebar:not(headerbar) > separator {
background: rgba(212, 213, 219, 0.95); }
background-image: linear-gradient(to top, rgba(212, 213, 219, 0.95)); }
.primary-toolbar separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton {
min-width: 1px;

@ -1105,17 +1105,19 @@ headerbar {
// Fixes split headerbars too
.titlebar:not(headerbar) {
window.csd > &,
window.csd > &:backdrop {
padding: 0;
background-color: transparent;
background-image: none;
border-style: none;
border-color: transparent;
box-shadow: none;
window > &,
window.csd > & {
&, &:backdrop {
padding: 0;
background-color: transparent;
background-image: none;
border-style: none;
border-color: transparent;
box-shadow: none;
}
}
> separator { background: $header_border; }
> separator { background-image: linear-gradient(to top, $header_border); }
@extend %titlebar;
}

Loading…
Cancel
Save