Skip to content

Commit

Permalink
fix(ListItemView): fix bg color (#1488)
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaevAlexandr authored Apr 22, 2024
1 parent d7d45db commit 2ae45ef
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/components/useList/components/ListItemView/ListItemView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,26 @@ $block: '.#{variables.$ns}list-item-view';
}

&:hover#{$block}_activeOnHover,
&_active#{$block}_activeOnHover,
&_active {
background: var(--g-color-base-simple-hover-solid);
background: var(--g-color-base-simple-hover);
}

&_clickable {
cursor: pointer;
}

&_selected,
&_selected:not(#{$block}_dragging)#{$block}_active, // if active and selected selected bgc more priority
&_selected#{$block}_active, // if active and selected selected bgc more priority
&_selected:hover#{$block}_activeOnHover {
background: var(--g-color-base-selection);
}

&_dragging,
&_dragging#{$block}_selected,
&_dragging#{$block}_active {
background: var(--g-color-base-simple-hover-solid);
}

&_radius_s {
border-radius: var(--g-list-item-border-radius, 3px);
}
Expand Down

0 comments on commit 2ae45ef

Please sign in to comment.