Skip to content

Commit

Permalink
tweaks: Use consistent size for default decoration window buttons
Browse files Browse the repository at this point in the history
LP: #2012733, #2013271
  • Loading branch information
3v1n0 committed Apr 4, 2023
1 parent 338200f commit fd3ba0c
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions gtk/src/default/gtk-4.0/_tweaks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ windowcontrols {
$_base_button_color: transparentize($fg_color, 0.9);
$_base_hover_color: transparentize($fg_color, 0.85);
$_base_active_color: transparentize($fg_color, 0.75);

padding: 3px;
margin: 0 4px;

Expand All @@ -90,12 +90,30 @@ windowcontrols {
}

&:active,
&:checked {
&:checked {
background: $_base_active_color;
}
}
}

%titlebar,
headerbar {
&.default-decoration {
windowcontrols {
button,
menubutton {
min-height: 20px;
min-width: 20px;
}

menubutton button {
min-height: 18px;
min-width: 18px;
}
}
}
}


// Mimic Libadwaita slider

Expand Down

0 comments on commit fd3ba0c

Please sign in to comment.