mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
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:
parent
ae2cf562e8
commit
aefdb84bb4
1 changed files with 7 additions and 1 deletions
|
@ -237,7 +237,8 @@ toolbutton button.flat:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
toolbutton button.flat:checked,
|
toolbutton button.flat:checked,
|
||||||
toolbutton button.flat:checked:hover {
|
toolbutton button.flat:checked:hover,
|
||||||
|
.image-button:hover {
|
||||||
background: @selected-color;
|
background: @selected-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -249,6 +250,11 @@ toolbutton button.flat:checked:active:hover {
|
||||||
border-color: @hover-color;
|
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 */
|
/* Color the toolbox Wilber icon */
|
||||||
GimpDock frame:first-child:not(label) {
|
GimpDock frame:first-child:not(label) {
|
||||||
color: @dimmed-fg-color;
|
color: @dimmed-fg-color;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue