From b4ab958823eaf0cddb1ce15f8af9ed7539b300cf Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sun, 1 Mar 2009 23:39:37 +0000 Subject: [PATCH] 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 +++++----------- .../account/auth/login-small.html.tmpl | 8 +-- template/en/default/index.html.tmpl | 49 +++++++------------ 5 files changed, 40 insertions(+), 77 deletions(-) diff --git a/skins/contrib/Dusk/global.css b/skins/contrib/Dusk/global.css index f76557cf97..fd90993687 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 a18378d4b7..def4e82d21 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 61837f4912..a3413bb7ea 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; diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index ba1d671fa7..fd651e71d7 100644 --- a/template/en/default/account/auth/login-small.html.tmpl +++ b/template/en/default/account/auth/login-small.html.tmpl @@ -30,9 +30,8 @@ [% target = urlbase _ target %]
  • - -- 2.47.3