fix(AppMenu): On bright color theme the app icons in the overflow menu must be inverted

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
pull/38045/head
Ferdinand Thiessen 3 years ago committed by nextcloud-command
parent df5283ad05
commit 88f344339d
  1. 14
      core/src/components/AppMenu.vue
  2. 4
      dist/core-main.js
  3. 2
      dist/core-main.js.map

@ -247,14 +247,18 @@ $header-icon-size: 20px;
}
::v-deep .app-menu-more .button-vue--vue-tertiary {
color: var(--color-primary-text);
opacity: .7;
margin: 3px;
filter: var(--background-image-invert-if-bright);
&:hover {
opacity: 1;
background-color: transparent !important;
/* Remove all background and align text color if not expanded */
&:not([aria-expanded="true"]) {
color: var(--color-primary-text);
&:hover {
opacity: 1;
background-color: transparent !important;
}
}
&:focus-visible {
@ -267,6 +271,8 @@ $header-icon-size: 20px;
.app-icon {
position: relative;
height: 44px;
/* Icons are bright so invert them if bright color theme == bright background is used */
filter: var(--background-invert-if-bright);
&.has-unread::after {
background-color: var(--color-main-text);

4
dist/core-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save