Adwaita: Try harder to fix arrow rendering

Fiddle with specificity to keep hovered modelbutton arrows
from rendering background.
This commit is contained in:
Matthias Clasen 2015-12-19 20:46:26 -05:00
parent 7aeb57cdfd
commit f0fba02dca
3 changed files with 12 additions and 7 deletions

View File

@ -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"); }
}

View File

@ -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,

View File

@ -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,