Skip to content

Commit

Permalink
adjust active eleement visibility in nclistitem
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen committed May 25, 2023
1 parent 04ba027 commit 6ba9ff4
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions src/components/NcListItem/NcListItem.vue
Expand Up @@ -601,7 +601,15 @@ export default {
&:active,
&.active {
.list-item {
background-color: var(--color-primary-element-light);
background-color: var(--color-primary-element);
}

Check failure on line 606 in src/components/NcListItem/NcListItem.vue

View workflow job for this annotation

GitHub Actions / eslint

Trailing spaces not allowed
.line-one__name, .line-one__details {
color: var(--color-primary-element-text) !important;
}
.line-two__subname {
color: var(--color-primary-element-text) !important;
}
}
}
Expand Down Expand Up @@ -670,19 +678,6 @@ export default {
}
}
// Add more contrast for active entry
[data-themes*='highcontrast'] {
.list-item__wrapper {
&--active,
&:active,
&.active {
.list-item {
background-color: var(--color-primary-element-light-hover);
}
}
}
}
.line-one {
display: flex;
align-items: center;
Expand Down

0 comments on commit 6ba9ff4

Please sign in to comment.