* Fixed #273 and other fix.

pull/306/head
Megax 2016-04-05 17:22:30 +02:00
parent dae4da6b7c
commit 21dbafe1b6
2 changed files with 20 additions and 3 deletions

View File

@ -200,6 +200,12 @@
background-color: transparent; background-color: transparent;
background-image: none; background-image: none;
color: $menu_fg_color; color: $menu_fg_color;
&:hover {
background-image: none;
background-color: $selected_bg_color;
color: $selected_fg_color;
}
} }
.list-row { .list-row {
@ -230,7 +236,7 @@
.separator { .separator {
border: 0; border: 0;
background-color: transparent; background-color: transparent;
color: alpha($menu_bg_color, .5); color: shade($menu_bg_color, ($contrast + .1));
font-size: 80%; font-size: 80%;
font-weight: bold; font-weight: bold;
} }
@ -240,10 +246,21 @@
&, &:backdrop { &, &:backdrop {
@include button(transparent, currentColor); @include button(transparent, currentColor);
&:focus:hover, &:active:hover, &:hover, &:selected { &:focus:hover, &.flat:checked:hover, &:active:hover, &:hover, &:selected {
background-image: none; background-image: none;
background-color: $selected_bg_color; background-color: $selected_bg_color;
color: $selected_fg_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 { &.menuitem {
-gtk-icon-source: none; -gtk-icon-source: url("../assets/menuitem-#{$type}-checked-insensitive.png");
&:insensitive { -gtk-icon-source: none; } &:insensitive { -gtk-icon-source: none; }