mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 16:30:15 +00:00
Adwaita: Try harder to fix arrow rendering
Fiddle with specificity to keep hovered modelbutton arrows from rendering background.
This commit is contained in:
parent
7aeb57cdfd
commit
f0fba02dca
@ -741,8 +741,9 @@ modelbutton.flat,
|
||||
}
|
||||
}
|
||||
|
||||
modelbutton arrow {
|
||||
modelbutton.flat arrow {
|
||||
background: none;
|
||||
&:hover { background: none; }
|
||||
&.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
|
||||
&.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
|
||||
}
|
||||
|
@ -1241,11 +1241,13 @@ modelbutton.flat,
|
||||
.menuitem.button.flat:hover {
|
||||
background-color: #4b5150; }
|
||||
|
||||
modelbutton arrow {
|
||||
modelbutton.flat arrow {
|
||||
background: none; }
|
||||
modelbutton arrow.left {
|
||||
modelbutton.flat arrow:hover {
|
||||
background: none; }
|
||||
modelbutton.flat arrow.left {
|
||||
-gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
|
||||
modelbutton arrow.right {
|
||||
modelbutton.flat arrow.right {
|
||||
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
|
||||
|
||||
button.color, headerbar button.color.titlebutton,
|
||||
|
@ -1241,11 +1241,13 @@ modelbutton.flat,
|
||||
.menuitem.button.flat:hover {
|
||||
background-color: #d5d6d5; }
|
||||
|
||||
modelbutton arrow {
|
||||
modelbutton.flat arrow {
|
||||
background: none; }
|
||||
modelbutton arrow.left {
|
||||
modelbutton.flat arrow:hover {
|
||||
background: none; }
|
||||
modelbutton.flat arrow.left {
|
||||
-gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); }
|
||||
modelbutton arrow.right {
|
||||
modelbutton.flat arrow.right {
|
||||
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); }
|
||||
|
||||
button.color, headerbar button.color.titlebutton,
|
||||
|
Loading…
Reference in New Issue
Block a user