mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #38908 from nextcloud/backport/38897/stable26
[stable26] fix(core): Do not invert app menu text color
This commit is contained in:
commit
78f649836f
5 changed files with 6 additions and 6 deletions
|
|
@ -147,7 +147,6 @@ $header-icon-size: 20px;
|
|||
position: relative;
|
||||
display: flex;
|
||||
opacity: .7;
|
||||
filter: var(--background-image-invert-if-bright);
|
||||
|
||||
&.app-menu-entry__active {
|
||||
opacity: 1;
|
||||
|
|
@ -188,6 +187,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
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue