Minor issue with selected or hovering icons in iconview

This commit is contained in:
eudaimon 2020-10-24 19:21:11 +02:00
parent 3631d838d2
commit d38226902e
1 changed files with 17 additions and 3 deletions

View File

@ -208,8 +208,8 @@
border-radius: 0px;
border-image: url("assets/menuitem-hiver-border-dark.svg") 1 / 1px stretch;
background-image: linear-gradient(to bottom,
alpha(#202020, 0.7),
alpha(#0c0c0c, 0.7));
mix(@view_color, #202020, 0.7),
mix(@view_color, #0c0c0c, 0.7));
color: @theme_selected_fg_color;
}
@ -218,12 +218,26 @@
border-width: 1px;
border-radius: 0px;
border-image: url("assets/menuitem-hiver-border-dark.svg") 1 / 1px stretch;
background-color: @theme_selected_bg_color, 0.5;
background-color: @theme_selected_bg_color;
background-image: linear-gradient(to bottom,
#202020, #0c0c0c);
color: @theme_selected_fg_color;
}
iconview :selected {
border: none;
background-color: @theme_selected_bg_color;
color: @theme_selected_fg_color;
}
iconview :selected:focus {
border: none;
background-color: red; /*@theme_selected_bg_color; */
color: @theme_selected_fg_color;
}
.background:disabled {
/* no need to a different background */
/*background-color: @theme_bg_color; */ /*@insensitive_bg_color;*/