summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-05-03 15:01:51 +0200
committernextcloud-command <nextcloud-command@users.noreply.github.com>2023-05-03 14:42:14 +0000
commit88f344339d5e87f1e462f7ccab668c8cc48d17ec (patch)
tree288b0347bf1cb3ce49d6fe841bae13e031750f1e /core
parentdf5283ad05f8ffa1a0fe979429746ca071a54326 (diff)
downloadnextcloud-server-88f344339d5e87f1e462f7ccab668c8cc48d17ec.tar.gz
nextcloud-server-88f344339d5e87f1e462f7ccab668c8cc48d17ec.zip
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>
Diffstat (limited to 'core')
-rw-r--r--core/src/components/AppMenu.vue14
1 files changed, 10 insertions, 4 deletions
diff --git a/core/src/components/AppMenu.vue b/core/src/components/AppMenu.vue
index 9955663947e..012757e155a 100644
--- a/core/src/components/AppMenu.vue
+++ b/core/src/components/AppMenu.vue
@@ -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);