ncp-web: Fix the style of the language selection dropdown (chrome)

If the selection is active the background color as well as the color was white and therefore the language options were unreadable.
Fix by setting the color to white only if selection is not active.

Signed-off-by: Florian Wallner <florian.wallner@exxcellent.de>
This commit is contained in:
Florian Wallner 2020-08-29 19:50:20 +02:00 committed by nachoparker
parent 34e84bab94
commit 14b78e372b
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,9 @@
[v1.29.4](https://github.com/nextcloud/nextcloudpi/commit/0cb48d9) (2020-08-30) ncp-update-nc: check for ncc commands before using them
[v1.29.6](https://github.com/nextcloud/nextcloudpi/commit/55e16b2) (2020-08-29) ncp-web: Fix the style of the language selection dropdown (chrome)
[v1.29.5 ](https://github.com/nextcloud/nextcloudpi/commit/34e84ba) (2020-08-30) ncp-web: fix initial screen displaying all sections
[v1.29.4 ](https://github.com/nextcloud/nextcloudpi/commit/17aae56) (2020-08-30) ncp-update-nc: check for ncc commands before using them
[v1.29.3 ](https://github.com/nextcloud/nextcloudpi/commit/76ffaec) (2020-08-26) nc-static-IP: Restricting gateway to one

View File

@ -1377,6 +1377,10 @@ a#versionlink:hover {
#language-selection {
border: none;
}
/* Show selected language in white color because the background is blue. If the selection is active, don't change the color because the background is white. */
#language-selection:not(:active) {
color: white;
}