From 4c6e7942672c4554b19a3908806eaa8f53706b4c Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Wed, 23 Jun 2004 04:07:38 +0000 Subject: Fix for bug 245924: updates Bugzilla footer to take advantage of HTML4 and CSS formatting. Patch by Vitaly Harisov. r=myk a=myk --- css/global.css | 95 ++++++++++++++++++++++ skins/standard/global.css | 95 ++++++++++++++++++++++ template/en/default/global/banner.html.tmpl | 1 + template/en/default/global/footer.html.tmpl | 19 ++--- template/en/default/global/useful-links.html.tmpl | 49 +++++------ .../en/default/search/search-specific.html.tmpl | 3 +- 6 files changed, 221 insertions(+), 41 deletions(-) diff --git a/css/global.css b/css/global.css index 7f725603d..7cbda7b0a 100644 --- a/css/global.css +++ b/css/global.css @@ -17,6 +17,8 @@ * * Contributor(s): Byron Jones * Christian Reis + * Vitaly Harisov + * Svetlana Harisova */ /* banner (begin) */ @@ -71,6 +73,99 @@ } /* banner (end) */ +/* footer (begin) */ + #footer + { + float: left; + } + + #footer form + { + background: #FFFFE0; + border: 1px solid #000; + } + + #footer span + { + display: block; + } + + #footer .btn, #footer .txt + { + font-size: 0.8em; + } + + #footer #useful-links + { + padding: 0.3em; + } + + /* hide from MSIE and NN4 */ + [id]#footer #useful-links + { + margin: 0.3em; + display: table; + } + + #footer .group + { + display: table-row; + } + + #footer #link-action, + #footer #link-edit, + #footer #link-saved + { + width: 7.2em; + display: block; + float: left; + + vertical-align: baseline; + + padding: 0.1em 0.2em; + } + + #footer #link-action + { + padding-top: 0.45em; + } + + /* hide from MSIE and NN4 */ + [id]#footer #link-action, + [id]#footer #link-edit, + [id]#footer #link-saved + { + display: table-cell; + float: none; + width: auto; + + padding-top: 0; + } + + #footer .links + { + display: block; + + padding: 0.1em 0.2em; + } + + /* hide from MSIE and NN4 */ + [id]#footer .links + { + display: table-cell; + + padding-top: 0; + + vertical-align: baseline; + } + + /* hide from MSIE and NN4 */ + #footer+* + { + clear: both; + } +/* footer (end) */ + .bz_obsolete { text-decoration: line-through; } .bz_inactive { text-decoration: line-through; } .bz_closed { text-decoration: line-through; } diff --git a/skins/standard/global.css b/skins/standard/global.css index 7f725603d..7cbda7b0a 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -17,6 +17,8 @@ * * Contributor(s): Byron Jones * Christian Reis + * Vitaly Harisov + * Svetlana Harisova */ /* banner (begin) */ @@ -71,6 +73,99 @@ } /* banner (end) */ +/* footer (begin) */ + #footer + { + float: left; + } + + #footer form + { + background: #FFFFE0; + border: 1px solid #000; + } + + #footer span + { + display: block; + } + + #footer .btn, #footer .txt + { + font-size: 0.8em; + } + + #footer #useful-links + { + padding: 0.3em; + } + + /* hide from MSIE and NN4 */ + [id]#footer #useful-links + { + margin: 0.3em; + display: table; + } + + #footer .group + { + display: table-row; + } + + #footer #link-action, + #footer #link-edit, + #footer #link-saved + { + width: 7.2em; + display: block; + float: left; + + vertical-align: baseline; + + padding: 0.1em 0.2em; + } + + #footer #link-action + { + padding-top: 0.45em; + } + + /* hide from MSIE and NN4 */ + [id]#footer #link-action, + [id]#footer #link-edit, + [id]#footer #link-saved + { + display: table-cell; + float: none; + width: auto; + + padding-top: 0; + } + + #footer .links + { + display: block; + + padding: 0.1em 0.2em; + } + + /* hide from MSIE and NN4 */ + [id]#footer .links + { + display: table-cell; + + padding-top: 0; + + vertical-align: baseline; + } + + /* hide from MSIE and NN4 */ + #footer+* + { + clear: both; + } +/* footer (end) */ + .bz_obsolete { text-decoration: line-through; } .bz_inactive { text-decoration: line-through; } .bz_closed { text-decoration: line-through; } diff --git a/template/en/default/global/banner.html.tmpl b/template/en/default/global/banner.html.tmpl index 95a7605b9..42ccce1aa 100644 --- a/template/en/default/global/banner.html.tmpl +++ b/template/en/default/global/banner.html.tmpl @@ -18,6 +18,7 @@ # # Contributor(s): Gervase Markham # Matthew Tuck + # Vitaly Harisov #%] [%# Migration note: this file corresponds to the old Param 'bannerhtml' %] diff --git a/template/en/default/global/footer.html.tmpl b/template/en/default/global/footer.html.tmpl index 4bde601d8..fc1016621 100644 --- a/template/en/default/global/footer.html.tmpl +++ b/template/en/default/global/footer.html.tmpl @@ -17,6 +17,7 @@ # Rights Reserved. # # Contributor(s): Gervase Markham + # Svetlana Harisova #%] [%# INTERFACE: @@ -30,13 +31,8 @@ # 'footerhtml' #%] - - - - -
- - - - -
+
-
+
+ + diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index d238a4253..8e208927c 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -17,6 +17,7 @@ # Rights Reserved. # # Contributor(s): Gervase Markham + # Svetlana Harisova #%] [%# Migration note: this whole file corresponds to the old %commandmenu% @@ -25,18 +26,15 @@ [% PROCESS global/variables.none.tmpl %]
- - - - - - + + [% IF user.login %] - - - - + + [% END %] [%# Saved searches %] - +
+
[% END %] - - - - -
- Actions: - +
- Edit: - +
+ +
Saved Searches: - + +
+ + +
diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl index 345483320..ca3dae67b 100644 --- a/template/en/default/search/search-specific.html.tmpl +++ b/template/en/default/search/search-specific.html.tmpl @@ -101,7 +101,8 @@ for "crash secure SSL flash". - + + [% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b