Compare commits

...

1 Commits

Author SHA1 Message Date
Jakub Steiner
f0b62e77d7 Adwaita: specialcase close button
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3427
2020-12-02 15:23:43 +01:00

View File

@@ -1393,6 +1393,20 @@ windowcontrols {
margin: 0 2px;
min-width: 0;
min-height: 0;
&.close {
background-image: none;
border: none;
box-shadow: none;
background-color: transparent;
&:hover { background-color: darken($headerbar_color,25%); }
&:active { background-color: darken($headerbar_color,35%); }
&:backdrop:hover image { color: $selected_fg_color; }
/* because of clickthrough and the destructive nature,
make an exception about hovering over an unfocused
window close button */
}
}
}