diff options
author | kiko%async.com.br <> | 2004-03-18 06:50:20 +0000 |
---|---|---|
committer | kiko%async.com.br <> | 2004-03-18 06:50:20 +0000 |
commit | 962c6c28c25c354d7b3757f1b3cb3665cbde14b0 (patch) | |
tree | 21db20fe400075cd017db87e8dd5814bc5dc2c43 | |
parent | a9dcfc9f89bbe7c26b03b036c1001c31d8b2c329 (diff) | |
download | bugs-962c6c28c25c354d7b3757f1b3cb3665cbde14b0.tar bugs-962c6c28c25c354d7b3757f1b3cb3665cbde14b0.tar.gz bugs-962c6c28c25c354d7b3757f1b3cb3665cbde14b0.tar.bz2 bugs-962c6c28c25c354d7b3757f1b3cb3665cbde14b0.tar.xz bugs-962c6c28c25c354d7b3757f1b3cb3665cbde14b0.zip |
Fix for bug 237757: Resolved bugs are no longer struck out on dependency
trees. This was bustage from bug bug 232397 which added CSS classes but
didn't add them consistently to all templates. Includes a global CSS
file that defines the relevant bz_* classes and adds a link to it from
the global header template. r,a=myk.
-rw-r--r-- | css/edit_bug.css | 4 | ||||
-rw-r--r-- | css/global.css | 25 | ||||
-rw-r--r-- | skins/standard/global.css | 25 | ||||
-rw-r--r-- | template/en/default/global/header.html.tmpl | 2 |
4 files changed, 52 insertions, 4 deletions
diff --git a/css/edit_bug.css b/css/edit_bug.css index edde85685..64fa4cd71 100644 --- a/css/edit_bug.css +++ b/css/edit_bug.css @@ -2,8 +2,4 @@ .bz_private { color: darkred ; background : #f3eeee ; } .bz_disabled { color: #a0a0a0 ; } -.bz_obsolete { text-decoration: line-through; } -.bz_inactive { text-decoration: line-through; } -.bz_closed { text-decoration: line-through; } - table#flags th, table#flags td { vertical-align: baseline; text-align: left; } diff --git a/css/global.css b/css/global.css new file mode 100644 index 000000000..c8ab3f8f1 --- /dev/null +++ b/css/global.css @@ -0,0 +1,25 @@ +/* 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. + * + * The Initial Developer of the Original Code is Netscape Communications + * Corporation. Portions created by Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): Byron Jones <bugzilla@glob.com.au> + * Christian Reis <kiko@async.com.br> + */ + +.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 new file mode 100644 index 000000000..c8ab3f8f1 --- /dev/null +++ b/skins/standard/global.css @@ -0,0 +1,25 @@ +/* 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. + * + * The Initial Developer of the Original Code is Netscape Communications + * Corporation. Portions created by Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): Byron Jones <bugzilla@glob.com.au> + * Christian Reis <kiko@async.com.br> + */ + +.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/header.html.tmpl b/template/en/default/global/header.html.tmpl index c64001bd4..d33be2efb 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -73,6 +73,8 @@ [%+ INCLUDE "global/help-header.html.tmpl" %] + <link href="css/global.css" rel="stylesheet" type="text/css"> + [% IF style %] <style type="text/css"> [% style %] |