mirror of https://github.com/GNOME/gimp.git
themes: Explicitly define spinbutton and combobox hover colors
Resolves #12821. GimpSpinButtons (CSS spinbutton class) did not inherit the hover colors of other buttons, so they did not highlight when hovered over. While comboboxes mostly did inherit, there were a few odd instances where they were not in the same hierarchy as other elements with hover colors defined. This patch defines both explicitly to prevent one-off issues.
This commit is contained in:
parent
5d241d39e0
commit
1bbf9518de
|
@ -133,6 +133,11 @@ combobox arrow, combobox button * {
|
|||
-gtk-icon-shadow: none;
|
||||
}
|
||||
|
||||
combobox button:hover {
|
||||
color: @fg-color;
|
||||
background-color: @selected-color;
|
||||
}
|
||||
|
||||
/* Define colors so the nib handle appears in Gimp Ink Options */
|
||||
GimpBlobEditor {
|
||||
color: @fg-color;
|
||||
|
@ -453,6 +458,11 @@ spinbutton button.up, spinbutton button.down {
|
|||
-gtk-icon-shadow: none;
|
||||
}
|
||||
|
||||
spinbutton button:hover {
|
||||
color: @fg-color;
|
||||
background-color: @selected-color;
|
||||
}
|
||||
|
||||
GimpSpinScale {
|
||||
border-radius: 6px;
|
||||
box-shadow: 0px 0.5px @stronger-border-color;
|
||||
|
@ -571,7 +581,7 @@ border {
|
|||
|
||||
/* Define popover image button padding */
|
||||
popover button {
|
||||
padding: 4px 9px;
|
||||
padding: 4px 9px;
|
||||
}
|
||||
|
||||
/* Top menu items */
|
||||
|
|
Loading…
Reference in New Issue