From 6d5130790d6de7d9b2da1c645bba3fa175ecc69b Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" Date: Thu, 3 Feb 2005 17:43:38 +0000 Subject: [PATCH] Bug 279896 : Update Bugzilla's header and colour scheme to match bugzilla.org Patch by byron jones (glob) r=myk a=myk --- webtools/bugzilla/skins/standard/global.css | 75 +++++++---- webtools/bugzilla/skins/standard/index.css | 138 ++++++++++---------- 2 files changed, 121 insertions(+), 92 deletions(-) diff --git a/webtools/bugzilla/skins/standard/global.css b/webtools/bugzilla/skins/standard/global.css index d5782857586..5ffd7fbfe68 100644 --- a/webtools/bugzilla/skins/standard/global.css +++ b/webtools/bugzilla/skins/standard/global.css @@ -33,41 +33,26 @@ body text-align: center; width: 100%; - background: #000; - - /* for Netscape 4 only */ - border: 1px solid #fff; - border-bottom-width: 0.65em; - } - - /* hide from NN4 */ - div#banner - { - border-bottom-width: 0.2em; + background: #fff; } #banner p { margin: 0; + margin-bottom: 1px; padding: 0; } #banner-name { - font-family: serif; - font-size: 255%; - - color: #fff; - } - - /* hide from NN4 */ - p#banner-name - { - font-size: 300%; + font-size: 0px; + height: 48px; + background: transparent no-repeat url(global/header.png); } #banner-version { + font-family: sans-serif; font-size: 75%; background: #fff; } @@ -83,12 +68,16 @@ body #footer { float: left; + margin-top: 5px; + width: 100%; + font-family: sans-serif; } #footer form { - background: #FFFFE0; - border: 1px solid #000; + background: #edf2f2; + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; } #footer span @@ -170,6 +159,29 @@ body } /* footer (end) */ +/* generic (begin) */ + body + { + background: #fff url("global/body_back.gif") repeat-x; + } + + :link { + color: #039; + } + + :visited { + color: #636; + } + + :link:hover, :visited:hover { + color: #333; + } + + :link:active, :link:active { + color: #000; + } +/* generic (end) */ + .bz_obsolete { text-decoration: line-through; } .bz_inactive { text-decoration: line-through; } .bz_closed { text-decoration: line-through; } @@ -184,4 +196,21 @@ body padding: 1em 0; } +.selected_tab +{ + background: #fff; + border: 1px solid black; +} + +.unselected_tab +{ + background: #eee; + border: 1px solid black; +} + +.spacer +{ + border: 1px solid black; +} + table#flags th, table#flags td { vertical-align: baseline; text-align: left; } diff --git a/webtools/bugzilla/skins/standard/index.css b/webtools/bugzilla/skins/standard/index.css index 1d180a25c9c..cedace45161 100644 --- a/webtools/bugzilla/skins/standard/index.css +++ b/webtools/bugzilla/skins/standard/index.css @@ -1,69 +1,69 @@ - /* The contents of this file are subject to the Mozilla Public - * License Version 1.1 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS - * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or - * implied. See the License for the specific language governing - * rights and limitations under the License. - * - * The Original Code is the Bugzilla Bug Tracking System. - * - * Contributor(s): Vitaly Harisov - */ - -/* index page (begin) */ - - #page-index - { - padding: 0.2em 0.2em 0.15em 0.2em; - } - - #page-index ul, #page-index li, - #page-index p, #page-index form p - { - margin: 0; - padding: 0; - } - - #page-index li - { - list-style: none; - } - - #page-index p - { - padding-bottom: 1em; - } - - /* Hide from NN4 */ - div#page-index .intro - { - width: 329px; - height: 220px; - - margin-top: 2.3em; - float: right; - - border: 2px solid #000; - background: transparent no-repeat url(index/front.jpg); - } - - #page-index #report - { - padding-bottom: 1em; - } - - #page-index #sidebar - { - padding-top: 1em; - } - - /* Hide from MSIE6- */ - #page-index [id]#sidebar - { - padding: 1em 0; - } - -/* index page (end) */ \ No newline at end of file + /* The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is the Bugzilla Bug Tracking System. + * + * Contributor(s): Vitaly Harisov + */ + +/* index page (begin) */ + + #page-index + { + padding: 0.2em 0.2em 0.15em 0.2em; + } + + #page-index ul, #page-index li, + #page-index p, #page-index form p + { + margin: 0; + padding: 0; + } + + #page-index li + { + list-style: none; + } + + #page-index p + { + padding-bottom: 1em; + } + + /* Hide from NN4 */ + div#page-index .intro + { + width: 250px; + height: 200px; + + margin-top: 2.3em; + margin-right: 2.3em; + float: right; + + background: transparent no-repeat url(index/front.png); + } + + #page-index #report + { + padding-bottom: 1em; + } + + #page-index #sidebar + { + padding-top: 1em; + } + + /* Hide from MSIE6- */ + #page-index [id]#sidebar + { + padding: 1em 0; + } + +/* index page (end) *