Adwaita: add vertical margins to switches on a headerbar

See https://bugzilla.gnome.org/show_bug.cgi?id=766642
This commit is contained in:
Lapo Calamandrei 2016-05-20 15:39:08 +02:00
parent 0d5b4779b8
commit 386ead4243
3 changed files with 11 additions and 1 deletions

View File

@ -1546,7 +1546,7 @@ headerbar {
}
headerbar {
// add vertical margins to headerbar entries, buttons and separators to avoid them spanning the whole height
// add vertical margins to common widget on the headerbar to avoid them spanning the whole height
entry,
spinbutton,
separator,
@ -1554,6 +1554,10 @@ headerbar {
margin-top: 6px;
margin-bottom: 6px;
}
switch {
margin-top: 9px;
margin-bottom: 9px;
}
}
.background:not(.tiled):not(.maximized) .titlebar {

View File

@ -2071,6 +2071,9 @@ headerbar separator,
headerbar button {
margin-top: 6px;
margin-bottom: 6px; }
headerbar switch {
margin-top: 9px;
margin-bottom: 9px; }
.background:not(.tiled):not(.maximized) .titlebar:backdrop, .background:not(.tiled):not(.maximized) .titlebar {
border-top-left-radius: 7px;

View File

@ -2078,6 +2078,9 @@ headerbar separator,
headerbar button {
margin-top: 6px;
margin-bottom: 6px; }
headerbar switch {
margin-top: 9px;
margin-bottom: 9px; }
.background:not(.tiled):not(.maximized) .titlebar:backdrop, .background:not(.tiled):not(.maximized) .titlebar {
border-top-left-radius: 7px;