Skip to content

Commit

Permalink
Fix more active entry icons
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Nov 29, 2023
1 parent 7501221 commit 45644e7
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
4 changes: 4 additions & 0 deletions apps/files/src/views/Navigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ export default {
background-position: center;
}

.app-navigation::v-deep .app-navigation-entry.active .button-vue.icon-collapse:not(:hover) {
color: var(--color-primary-element-text);
}

.app-navigation > ul.app-navigation__list {
// Use flex gap value for more elegant spacing
padding-bottom: var(--default-grid-baseline, 4px);
Expand Down
8 changes: 8 additions & 0 deletions core/src/views/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,14 @@ export default {
svg {
filter: var(--background-invert-if-dark);
}

&:active,
&.active {
img,
svg {
filter: var(--primary-invert-if-dark);
}
}
}

// Override global button styles
Expand Down
4 changes: 2 additions & 2 deletions dist/core-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-main.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

0 comments on commit 45644e7

Please sign in to comment.