chore: content list item & tag highlight indicator on mobile

This commit is contained in:
Aman Harwara
2023-05-12 22:25:38 +05:30
parent aa1f7d976e
commit 6ee1c76366
2 changed files with 11 additions and 5 deletions

View File

@@ -111,16 +111,16 @@
}
.content-list-item {
&.selected {
background-color: var(--item-cell-selected-background-color);
}
@media screen and (hover: hover) {
&:hover {
background-color: var(--item-cell-selected-background-color);
}
}
&:active {
background-color: var(--item-cell-selected-background-color);
}
ul {
list-style: disc;
}

View File

@@ -167,7 +167,13 @@ $content-horizontal-padding: 16px;
}
}
&:hover:not(.selected),
@media screen and (hover: hover) {
&:hover:not(.selected) {
background-color: var(--navigation-item-selected-background-color);
}
}
&:active,
&.selected,
&.is-drag-over {
background-color: var(--navigation-item-selected-background-color);