From c683bdfcff3e1ff69290a9cff5845692bbc27f71 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 31 Oct 2013 13:57:55 +0800 Subject: Bug 932511: Adjust the security group background colouring on bugs to look better with the Mozilla skin --- skins/contrib/Mozilla/global.css | 32 ++++++++++++++++++++++++++++++++ skins/custom/bug_groups.css | 2 ++ 2 files changed, 34 insertions(+) (limited to 'skins') diff --git a/skins/contrib/Mozilla/global.css b/skins/contrib/Mozilla/global.css index 0a2f5c22b..ecbab8ba7 100644 --- a/skins/contrib/Mozilla/global.css +++ b/skins/contrib/Mozilla/global.css @@ -14,6 +14,38 @@ body, td, th, input, select, option, optgroup, .text_input { font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif; } +/* security group colouring */ +/* these are also defined in skins/custom/bug_groups.css */ + +body[class*=bz_group_] { + background-color: inherit; + background-image: url(noise.png), -moz-linear-gradient(#d7d7ff, #f0f0ff 400px); + background-image: url(noise.png), -webkit-linear-gradient(#d7d7ff, #f0f0ff 400px); + background-image: url(noise.png), linear-gradient(#d7d7ff, #f0f0ff 400px); +} + +body[class*=core-security], +body.bz_group_infrasec { + background-image: url(noise.png), -moz-linear-gradient(#ffe0b0, #fff4e3 400px); + background-image: url(noise.png), -webkit-linear-gradient(#ffe0b0, #fff4e3 400px); + background-image: url(noise.png), linear-gradient(#ffe0b0, #fff4e3 400px); +} + +body.bz_group_webtools-security, +body.bz_group_websites-security, +body.bz_group_bugzilla-security { + background-image: url(noise.png), -moz-linear-gradient(#ffcccc, #fff0f0 400px); + background-image: url(noise.png), -webkit-linear-gradient(#ffcccc, #fff0f0 400px); + background-image: url(noise.png), linear-gradient(#ffcccc, #fff0f0 400px); +} + +body.bz_group_client-services-security, +body.bz_group_mozilla-services-security { + background-image: url(noise.png), -moz-linear-gradient(#ffffa3, #ffffe3 400px); + background-image: url(noise.png), -webkit-linear-gradient(#ffffa3, #ffffe3 400px); + background-image: url(noise.png), linear-gradient(#ffffa3, #ffffe3 400px); +} + a, #header a, #header a:visited, #footer a, #footer a:visited { color: #0095dd; } diff --git a/skins/custom/bug_groups.css b/skins/custom/bug_groups.css index 4a8f3b526..282757a3b 100644 --- a/skins/custom/bug_groups.css +++ b/skins/custom/bug_groups.css @@ -1,4 +1,6 @@ /* colorize bugs in various groups */ +/* these are also defined in skins/contrib/Mozilla/global.css */ + body[class*=bz_group_] { background-color: #e0e0ff; border-left: solid red 2px; -- cgit v1.2.3-24-g4f1b