GTK3: reduce non csd headerbar height

This commit is contained in:
Daniel Ruiz de Alegría
2020-03-02 13:22:57 +01:00
parent e9b27304b9
commit 3e019195aa
4 changed files with 74 additions and 3 deletions
@@ -108,6 +108,7 @@ headerbar {
$ov: -gtk-scaled(url('#{$_scale_asset}.png'), url('#{$_scale_asset}@2.png')));
background-repeat: no-repeat;
background-position: left;
background-size: auto 150%;
&:backdrop {
background-image: -gtk-scaled(url('#{$_scale_asset}.png'), url('#{$_scale_asset}@2.png'));
@@ -119,6 +120,21 @@ headerbar {
button.toggle {
&:active, &:checked { @extend %button_active; }
}
&.default-decoration {
min-height: 0;
padding: 3px;
border: 0;
&:backdrop { background-color: $base_color; }
button.titlebutton {
min-height: 20px;
min-width: 20px;
margin: 0 4px;
padding: 0;
}
}
}
/**************
@@ -264,6 +280,7 @@ decoration {
// Window Close button
button.titlebutton {
&:not(.appmenu) { margin: 0; }
&:backdrop {
background: transparent;
&:not(:hover) { border-color: transparent; }