Issue #3097907 by dww, camilledavis, Abhijith S, komalk, athyamvidyasagar, rudolfbyker, kostyashupenko, guilhermevp, shaal, andrewmacpherson, tanubansal, krishnarp, paulocs, ckrina, saschaeggi, mgifford, rkoller, mherchel: Active toolbar tray has weak affordance and fails WCAG color criteria

(cherry picked from commit 4e26ae9cc3)
merge-requests/6741/head
nod_ 2024-02-22 12:08:48 +01:00
parent d552da855a
commit 9044a20cad
No known key found for this signature in database
GPG Key ID: 76624892606FA197
8 changed files with 25 additions and 4 deletions

View File

@ -87,6 +87,10 @@
padding-left: 4em;
}
.toolbar .toolbar-bar .toolbar-tab > .toolbar-icon.is-active::before {
filter: invert(100%);
}
/**
* Top level icons.
*/

View File

@ -67,6 +67,9 @@
padding-right: 2.75em;
padding-left: 4em;
}
.toolbar .toolbar-bar .toolbar-tab > .toolbar-icon.is-active::before {
filter: invert(100%);
}
/**
* Top level icons.

View File

@ -47,7 +47,9 @@
background-image: linear-gradient(rgba(255, 255, 255, 0.125) 20%, transparent 200%);
}
.toolbar .toolbar-bar .toolbar-tab > .toolbar-item.is-active {
background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%);
color: #000;
border-bottom: 1px solid #ddd;
background-color: #fff;
}
/**

View File

@ -81,7 +81,7 @@ module.exports = {
toReturn.toolbarModelOffsetsRight =
models.toolbarModel.get('offsets').right === 0;
toReturn.toolbarModelOffsetsTop =
models.toolbarModel.get('offsets').top === 79;
models.toolbarModel.get('offsets').top === 80;
toReturn.toolbarModelSubtrees =
models.menuModel.get('subtrees') === null;
return toReturn;

View File

@ -90,6 +90,10 @@
padding-left: 4em;
}
.toolbar .toolbar-bar .toolbar-tab > .toolbar-icon.is-active::before {
filter: invert(100%);
}
/**
* Top level icons.
*/

View File

@ -71,6 +71,10 @@
padding-left: 4em;
}
.toolbar .toolbar-bar .toolbar-tab > .toolbar-icon.is-active::before {
filter: invert(100%);
}
/**
* Top level icons.
*/

View File

@ -57,7 +57,9 @@
background-image: linear-gradient(rgba(255, 255, 255, 0.125) 20%, transparent 200%);
}
.toolbar .toolbar-bar .toolbar-tab > .toolbar-item.is-active {
background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%);
color: #000;
border-bottom: 1px solid #ddd;
background-color: #fff;
}
/**
* Toolbar tray.

View File

@ -50,7 +50,9 @@
background-image: linear-gradient(rgba(255, 255, 255, 0.125) 20%, transparent 200%);
}
.toolbar .toolbar-bar .toolbar-tab > .toolbar-item.is-active {
background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%);
color: #000;
border-bottom: 1px solid #ddd;
background-color: #fff;
}
/**