summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-05-03 12:58:07 +0200
committerJonas <jonas@freesources.org>2023-06-19 09:49:36 +0200
commit7f861980a3b9d07076b89bbb9311f9bab00a935f (patch)
tree2ad659e925594dffb19c052ff16109fb411a131e
parent7250b987910b5679e342dd7e938d00a3b69d87cc (diff)
downloadnextcloud-server-7f861980a3b9d07076b89bbb9311f9bab00a935f.tar.gz
nextcloud-server-7f861980a3b9d07076b89bbb9311f9bab00a935f.zip
fix(core): Do not invert app menu text color
* Also fixes other cypress test * Build assets Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r--core/src/components/AppMenu.vue2
-rw-r--r--cypress/e2e/theming/admin-settings.cy.ts2
-rw-r--r--cypress/e2e/theming/user-background.cy.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/core/src/components/AppMenu.vue b/core/src/components/AppMenu.vue
index b7b5b8bd456..6f65f185a4d 100644
--- a/core/src/components/AppMenu.vue
+++ b/core/src/components/AppMenu.vue
@@ -146,7 +146,6 @@ $header-icon-size: 20px;
height: 50px;
position: relative;
display: flex;
- filter: var(--background-image-invert-if-bright);
&.app-menu-entry__active {
opacity: 1;
@@ -187,6 +186,7 @@ $header-icon-size: 20px;
height: $header-icon-size;
padding: calc((100% - $header-icon-size) / 2);
box-sizing: content-box;
+ filter: var(--background-image-invert-if-bright);
}
.app-menu-entry--label {
diff --git a/cypress/e2e/theming/admin-settings.cy.ts b/cypress/e2e/theming/admin-settings.cy.ts
index 4736ace9e4d..63242d64f1b 100644
--- a/cypress/e2e/theming/admin-settings.cy.ts
+++ b/cypress/e2e/theming/admin-settings.cy.ts
@@ -167,7 +167,7 @@ describe.only('Remove the default background with a bright color', function() {
it('See the header being inverted', function() {
cy.waitUntil(() => cy.window().then((win) => {
- const firstEntry = win.document.querySelector('.app-menu-main li')
+ const firstEntry = win.document.querySelector('.app-menu-main li img')
if (!firstEntry) {
return false
}
diff --git a/cypress/e2e/theming/user-background.cy.ts b/cypress/e2e/theming/user-background.cy.ts
index 86b66627ee6..92617b33b59 100644
--- a/cypress/e2e/theming/user-background.cy.ts
+++ b/cypress/e2e/theming/user-background.cy.ts
@@ -162,7 +162,7 @@ describe('User select a bright custom color and remove background', function() {
it('See the header being inverted', function() {
cy.waitUntil(() => cy.window().then((win) => {
- const firstEntry = win.document.querySelector('.app-menu-main li')
+ const firstEntry = win.document.querySelector('.app-menu-main li img')
if (!firstEntry) {
return false
}