mirror of
https://github.com/nextcloud/server.git
synced 2024-08-21 17:55:33 +02:00
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>
This commit is contained in:
parent
7250b98791
commit
7f861980a3
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user