Merge pull request #38776 from nextcloud/fix/app-menu-do-not-invert-text

fix(core): Do not invert app menu text color
pull/38773/head
Hephi2 2 years ago committed by GitHub
commit 59f63a72cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/settings/css/settings.css
  2. 2
      apps/settings/css/settings.css.map
  3. 2
      core/src/components/AppMenu.vue
  4. 2
      cypress/e2e/theming/admin-settings.cy.ts
  5. 2
      cypress/e2e/theming/user-background.cy.ts
  6. 4
      dist/core-main.js
  7. 2
      dist/core-main.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -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 {

@ -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
}

@ -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
}

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