From b4ab958823eaf0cddb1ce15f8af9ed7539b300cf Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sun, 1 Mar 2009 23:39:37 +0000 Subject: Bug 478232: Fix HTML validation of pages after index/header UI changes. Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- skins/contrib/Dusk/global.css | 9 +++------ skins/standard/global.css | 8 ++++---- skins/standard/index.css | 43 ++++++++++++------------------------------- 3 files changed, 19 insertions(+), 41 deletions(-) (limited to 'skins') diff --git a/skins/contrib/Dusk/global.css b/skins/contrib/Dusk/global.css index f76557cf9..fd9099368 100644 --- a/skins/contrib/Dusk/global.css +++ b/skins/contrib/Dusk/global.css @@ -62,8 +62,7 @@ body { -moz-border-radius: 5px; } -a:link, -a:link:hover { +a, a:hover { color: #6169c0; } @@ -71,13 +70,11 @@ a:visited { color: #3d4a68; } -a:link, -a:visited { +a, a:visited { text-decoration: none; } -a:link:hover, -a:visited:hover { +a:hover { text-decoration: underline; } diff --git a/skins/standard/global.css b/skins/standard/global.css index a18378d4b..def4e82d2 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -202,19 +202,19 @@ /* tabs (end) */ /* generic (begin) */ - :link { + a { color: #039; } - :visited { + a:visited { color: #636; } - :link:hover, :visited:hover { + a:hover { color: #333; } - :link:active, :link:active { + a:active { color: #000; } diff --git a/skins/standard/index.css b/skins/standard/index.css index 61837f491..a3413bb7e 100644 --- a/skins/standard/index.css +++ b/skins/standard/index.css @@ -42,34 +42,30 @@ font-weight: bold; } - div.bz_common_actions - { + .bz_common_actions { + display: block; height: 190px; width: 195px; - background-color: blue; float: left; - margin: 0 3ex; + margin: 0 3ex 3em 0; text-align: center; - margin-bottom: 3em; } - div.bz_common_actions span - { + .bz_common_actions span { position: relative; top: 95%; font-weight: bold; } - div.bz_common_actions, - div.bz_common_actions a, - div.bz_common_actions a div, - div.bz_common_actions a:visited, - div.bz_common_actions a:hover { - text-decoration: none; - } - - a.bz_common_actions { + .bz_common_actions, + .bz_common_actions:visited, + .bz_common_actions:hover + { text-decoration: none; } + + #enter_bug { background: url(index/bug.gif) no-repeat; } + #query { background: url(index/search.gif) no-repeat; } + #account { background: url(index/account.gif) no-repeat; } #quicksearchForm { @@ -102,21 +98,6 @@ padding: 0; } - #enter_bug - { - background: url(index/bug.gif) no-repeat; - } - - #query - { - background: url(index/search.gif) no-repeat; - } - - #account - { - background: url(index/account.gif) no-repeat; - } - ul.additional_links { list-style: none; -- cgit v1.2.3-24-g4f1b