themes: Prevent too thick image button border

Resolves #11337

"gtk-icon-shadow" is applied to all buttons with images,
which creates a bold effect on symbolic icons.
This patch zeroes this effect out and makes them highlight
the background in the same way as the toolbox buttons.
This commit is contained in:
Alx Sa 2024-04-17 04:15:17 +00:00
parent ae2cf562e8
commit aefdb84bb4

View file

@ -237,7 +237,8 @@ toolbutton button.flat:hover {
}
toolbutton button.flat:checked,
toolbutton button.flat:checked:hover {
toolbutton button.flat:checked:hover,
.image-button:hover {
background: @selected-color;
}
@ -249,6 +250,11 @@ toolbutton button.flat:checked:active:hover {
border-color: @hover-color;
}
/* Prevent overly thick border around image buttons */
.image-button image {
-gtk-icon-shadow: 0 0 transparent;
}
/* Color the toolbox Wilber icon */
GimpDock frame:first-child:not(label) {
color: @dimmed-fg-color;