Merge pull request #306 from megax/patch1

* Fixed #273 and other fix.
pull/307/head
Khurshid Alam 2016-04-05 21:13:30 +05:30
commit 0c7c5851f3
2 changed files with 20 additions and 3 deletions

View File

@ -200,6 +200,12 @@
background-color: transparent;
background-image: none;
color: $menu_fg_color;
&:hover {
background-image: none;
background-color: $selected_bg_color;
color: $selected_fg_color;
}
}
.list-row {
@ -230,7 +236,7 @@
.separator {
border: 0;
background-color: transparent;
color: alpha($menu_bg_color, .5);
color: shade($menu_bg_color, ($contrast + .1));
font-size: 80%;
font-weight: bold;
}
@ -240,10 +246,21 @@
&, &:backdrop {
@include button(transparent, currentColor);
&:focus:hover, &:active:hover, &:hover, &:selected {
&:focus:hover, &.flat:checked:hover, &:active:hover, &:hover, &:selected {
background-image: none;
background-color: $selected_bg_color;
color: $selected_fg_color;
box-shadow: none;
}
&.flat {
&:checked {
box-shadow: none;
}
&, &:hover {
transition: none;
}
}
}
}

View File

@ -24,7 +24,7 @@ $suffix: if($variant == "dark", "-dark", "");
}
&.menuitem {
-gtk-icon-source: none;
-gtk-icon-source: url("../assets/menuitem-#{$type}-checked-insensitive.png");
&:insensitive { -gtk-icon-source: none; }