Commit 386ead42 authored by Lapo Calamandrei's avatar Lapo Calamandrei

Adwaita: add vertical margins to switches on a headerbar

See https://bugzilla.gnome.org/show_bug.cgi?id=766642
parent 0d5b4779
......@@ -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 {
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment