Remove headerbar separators

This commit is contained in:
vinceliuice 2018-03-15 23:13:43 +08:00
parent 87e740dbe2
commit 7b5c405f2f
6 changed files with 52 additions and 13 deletions

View File

@ -1587,13 +1587,18 @@ window.csd > .titlebar:not(headerbar):backdrop {
} }
.titlebar:not(headerbar) > separator { .titlebar:not(headerbar) > separator {
background-image: linear-gradient(to bottom, #484848, #484848); background-image: none;
}
.titlebar:not(headerbar) > separator:backdrop {
background-image: none;
background-color: #404040;
} }
.primary-toolbar:not(.libreoffice-toolbar) separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton { .primary-toolbar:not(.libreoffice-toolbar) separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton {
min-width: 0; min-width: 0;
min-height: 0; min-height: 0;
background: none; background-color: transparent;
border-width: 0; border-width: 0;
border-image: none; border-image: none;
} }
@ -5598,6 +5603,9 @@ dialog.csd > headerbar.titlebar > switch {
margin: 8px 0; margin: 8px 0;
} }
/************************
* Gnome Control Center *
************************/
box.horizontal.titlebar > headerbar > stack > box.vertical > .title { box.horizontal.titlebar > headerbar > stack > box.vertical > .title {
margin: 0; margin: 0;
} }

View File

@ -1587,13 +1587,18 @@ window.csd > .titlebar:not(headerbar):backdrop {
} }
.titlebar:not(headerbar) > separator { .titlebar:not(headerbar) > separator {
background-image: linear-gradient(to bottom, #484848, #484848); background-image: none;
}
.titlebar:not(headerbar) > separator:backdrop {
background-image: none;
background-color: #404040;
} }
.primary-toolbar:not(.libreoffice-toolbar) separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton { .primary-toolbar:not(.libreoffice-toolbar) separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton {
min-width: 0; min-width: 0;
min-height: 0; min-height: 0;
background: none; background-color: transparent;
border-width: 0; border-width: 0;
border-image: none; border-image: none;
} }
@ -5598,6 +5603,9 @@ dialog.csd > headerbar.titlebar > switch {
margin: 8px 0; margin: 8px 0;
} }
/************************
* Gnome Control Center *
************************/
box.horizontal.titlebar > headerbar > stack > box.vertical > .title { box.horizontal.titlebar > headerbar > stack > box.vertical > .title {
margin: 0; margin: 0;
} }

View File

@ -1589,13 +1589,18 @@ window.csd > .titlebar:not(headerbar):backdrop {
} }
.titlebar:not(headerbar) > separator { .titlebar:not(headerbar) > separator {
background-image: linear-gradient(to bottom, #afafaf, #afafaf); background-image: linear-gradient(0deg, #d2d2d2 0%, #e2e2e2 50%, #e9e9e9 95%, #f5f5f5 100%);
}
.titlebar:not(headerbar) > separator:backdrop {
background-image: none;
background-color: #F6F6F6;
} }
.primary-toolbar:not(.libreoffice-toolbar) separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton { .primary-toolbar:not(.libreoffice-toolbar) separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton {
min-width: 0; min-width: 0;
min-height: 0; min-height: 0;
background: none; background-color: transparent;
border-width: 0; border-width: 0;
border-image: none; border-image: none;
} }
@ -5615,6 +5620,9 @@ dialog.csd > headerbar.titlebar > switch {
margin: 8px 0; margin: 8px 0;
} }
/************************
* Gnome Control Center *
************************/
box.horizontal.titlebar > headerbar > stack > box.vertical > .title { box.horizontal.titlebar > headerbar > stack > box.vertical > .title {
margin: 0; margin: 0;
} }

View File

@ -1589,13 +1589,18 @@ window.csd > .titlebar:not(headerbar):backdrop {
} }
.titlebar:not(headerbar) > separator { .titlebar:not(headerbar) > separator {
background-image: linear-gradient(to bottom, #afafaf, #afafaf); background-image: linear-gradient(0deg, #d2d2d2 0%, #e2e2e2 50%, #e9e9e9 95%, whitesmoke 100%);
}
.titlebar:not(headerbar) > separator:backdrop {
background-image: none;
background-color: #F6F6F6;
} }
.primary-toolbar:not(.libreoffice-toolbar) separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton { .primary-toolbar:not(.libreoffice-toolbar) separator, headerbar separator.titlebutton, .titlebar:not(headerbar) separator.titlebutton {
min-width: 0; min-width: 0;
min-height: 0; min-height: 0;
background: none; background-color: transparent;
border-width: 0; border-width: 0;
border-image: none; border-image: none;
} }
@ -5615,6 +5620,9 @@ dialog.csd > headerbar.titlebar > switch {
margin: 8px 0; margin: 8px 0;
} }
/************************
* Gnome Control Center *
************************/
box.horizontal.titlebar > headerbar > stack > box.vertical > .title { box.horizontal.titlebar > headerbar > stack > box.vertical > .title {
margin: 0; margin: 0;
} }

View File

@ -782,9 +782,9 @@ button.documents-favorite:active:hover {
.tweak-titlebar-right, .tweak-titlebar-right,
dialog.csd > headerbar.titlebar { > switch { margin: 8px 0; } } dialog.csd > headerbar.titlebar { > switch { margin: 8px 0; } }
// /************************ /************************
// * Gnome-Control-Center * * Gnome Control Center *
// ************************/ ************************/
// users section // users section

View File

@ -1277,7 +1277,14 @@ headerbar {
} }
} }
> separator { background-image: _solid($header_border); } > separator {
background-image: $_header_image;
&:backdrop {
background-image: none;
background-color: $header_bg_backdrop;
}
}
@extend %titlebar; @extend %titlebar;
} }
@ -1285,7 +1292,7 @@ headerbar {
%header_separator { %header_separator {
min-width: 0; min-width: 0;
min-height: 0; min-height: 0;
background: none; background-color: transparent;
border-width: 0; border-width: 0;
border-image: none; border-image: none;