From 1fcfb29df16030f90dab74f4ac6ed700a47bec9f Mon Sep 17 00:00:00 2001 From: Danny Colin Date: Wed, 3 Jan 2024 17:15:57 -0500 Subject: [PATCH] Bug 1798166 - Fix color contrast to be compliant with WCAG AA 2.0 (#159) --- .gitignore | 3 --- skins/contrib/Dusk/admin.css | 15 +++++++++++++++ skins/contrib/Dusk/bug.css | 11 +++++++++++ skins/contrib/Dusk/buglist.css | 4 ++++ skins/contrib/Dusk/global.css | 16 ++++++++++++---- 5 files changed, 42 insertions(+), 7 deletions(-) create mode 100644 skins/contrib/Dusk/admin.css create mode 100644 skins/contrib/Dusk/bug.css diff --git a/.gitignore b/.gitignore index ba98f70c2e..55221c1c02 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,3 @@ /data /localconfig /index.html - -/skins/contrib/Dusk/admin.css -/skins/contrib/Dusk/bug.css diff --git a/skins/contrib/Dusk/admin.css b/skins/contrib/Dusk/admin.css new file mode 100644 index 0000000000..741447ac65 --- /dev/null +++ b/skins/contrib/Dusk/admin.css @@ -0,0 +1,15 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. + */ + +#menu td.selected_section { + color: #008a00; +} + +.sortlist_separator { + color: #333; +} diff --git a/skins/contrib/Dusk/bug.css b/skins/contrib/Dusk/bug.css new file mode 100644 index 0000000000..846cea12d7 --- /dev/null +++ b/skins/contrib/Dusk/bug.css @@ -0,0 +1,11 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This Source Code Form is "Incompatible With Secondary Licenses", as + * defined by the Mozilla Public License, v. 2.0. + */ + +.bz_short_desc_container { + background-color: #e0e0e0; +} diff --git a/skins/contrib/Dusk/buglist.css b/skins/contrib/Dusk/buglist.css index a9cbfd0fe2..8acc00809c 100644 --- a/skins/contrib/Dusk/buglist.css +++ b/skins/contrib/Dusk/buglist.css @@ -9,3 +9,7 @@ tr.bz_bugitem:hover { background-color: #ccccff; } + +.bz_sort_order_secondary { + color: #555; +} diff --git a/skins/contrib/Dusk/global.css b/skins/contrib/Dusk/global.css index 7ffb910144..6b609ac3f3 100644 --- a/skins/contrib/Dusk/global.css +++ b/skins/contrib/Dusk/global.css @@ -21,8 +21,8 @@ body { } #header .links, #footer { - background-color: #929bb1; - color: #ddd; + background-color: #667089; + color: #fff; } #header { @@ -51,7 +51,7 @@ body { } a { - color: #6070cf; + color: #4659c7; } a:hover { color: #8090ef; @@ -190,7 +190,7 @@ hr { } .tabs td { - background: #c8c8c8; + background: #e2e2e2; border-width: 1px; } @@ -235,3 +235,11 @@ hr { padding: 0; } } + +/**************/ +/* Bug Fields */ +/**************/ + +th.required:before, span.required_star { + color: #cc3333; +} -- 2.47.3