From 458d3f3f42dd16d6f4860a877ba8d4f6c02b0a65 Mon Sep 17 00:00:00 2001 From: "wurblzap%gmail.com" Date: Tue, 14 Aug 2007 21:54:37 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20259723=20=EF=BF=BD=EF=BF=BD=EF=BF=BD=20Al?= =?UTF-8?q?ternative=20Bugzilla=20CSS.=20Patch=20by=20Marc=20Schumann=20,=20r=3Dglob,LpSolit;=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webtools/bugzilla/Bugzilla/Install.pm | 2 +- .../bugzilla/Bugzilla/User/Setting/Skin.pm | 1 + webtools/bugzilla/skins/.cvsignore | 1 - .../bugzilla/skins/contrib/Dusk/buglist.css | 25 ++ .../bugzilla/skins/contrib/Dusk/global.css | 301 ++++++++++++++++++ .../en/default/bug/navigate.html.tmpl | 2 + .../en/default/bug/show-multiple.html.tmpl | 1 - 7 files changed, 330 insertions(+), 3 deletions(-) create mode 100644 webtools/bugzilla/skins/contrib/Dusk/buglist.css create mode 100644 webtools/bugzilla/skins/contrib/Dusk/global.css diff --git a/webtools/bugzilla/Bugzilla/Install.pm b/webtools/bugzilla/Bugzilla/Install.pm index d6d2161551f..7e3a97b7dcd 100644 --- a/webtools/bugzilla/Bugzilla/Install.pm +++ b/webtools/bugzilla/Bugzilla/Install.pm @@ -57,7 +57,7 @@ sub SETTINGS { state_addselfcc => { options => ['always', 'never', 'cc_unless_role'], default => 'cc_unless_role' }, # 2006-08-04 wurblzap@gmail.com -- Bug 322693 - skin => { subclass => 'Skin', default => 'standard' }, + skin => { subclass => 'Skin', default => 'Dusk' }, # 2006-12-10 LpSolit@gmail.com -- Bug 297186 lang => { options => \@languages, default => $languages[0] }, diff --git a/webtools/bugzilla/Bugzilla/User/Setting/Skin.pm b/webtools/bugzilla/Bugzilla/User/Setting/Skin.pm index 0b0adfd511e..f69f3e66c57 100755 --- a/webtools/bugzilla/Bugzilla/User/Setting/Skin.pm +++ b/webtools/bugzilla/Bugzilla/User/Setting/Skin.pm @@ -41,6 +41,7 @@ sub legal_values { foreach my $direntry (glob(catdir($dirbase, '*'))) { if (-d $direntry) { # Stylesheet set + next if basename($direntry) =~ /^cvs$/i; push(@legal_values, basename($direntry)); } elsif ($direntry =~ /\.css$/) { diff --git a/webtools/bugzilla/skins/.cvsignore b/webtools/bugzilla/skins/.cvsignore index b98d8c95756..0d82d79c85d 100644 --- a/webtools/bugzilla/skins/.cvsignore +++ b/webtools/bugzilla/skins/.cvsignore @@ -1,2 +1 @@ custom -contrib diff --git a/webtools/bugzilla/skins/contrib/Dusk/buglist.css b/webtools/bugzilla/skins/contrib/Dusk/buglist.css new file mode 100644 index 00000000000..477bd12cda3 --- /dev/null +++ b/webtools/bugzilla/skins/contrib/Dusk/buglist.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 Mike Schrag. + * Portions created by Marc Schumann are Copyright (c) 2007 Mike Schrag. + * All rights reserved. + * + * Contributor(s): Mike Schrag + * Byron Jones + * Marc Schumann + */ + +tr.bz_bugitem:hover { + background-color: #ccccff; + cursor: pointer; +} diff --git a/webtools/bugzilla/skins/contrib/Dusk/global.css b/webtools/bugzilla/skins/contrib/Dusk/global.css new file mode 100644 index 00000000000..957da193380 --- /dev/null +++ b/webtools/bugzilla/skins/contrib/Dusk/global.css @@ -0,0 +1,301 @@ +/* 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 Mike Schrag. + * Portions created by Marc Schumann are Copyright (c) 2007 Mike Schrag. + * All rights reserved. + * + * Contributor(s): Mike Schrag + * Byron Jones + * Marc Schumann + * Frédéric Buclin + */ + +body { + background: #c8c8c8; + font-family: Helvetica, Arial, Geneva; + padding-left: 1em; + padding-right: 1em; +} + +/* page title */ + +#titles { + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; +} + +#header .links { + background-color: #929bb1; + color: #f1dbc7; + -moz-border-radius-bottomleft: 5px; + -moz-border-radius-bottomright: 5px; + border: none; +} + +#header a { + color: white; +} + +/* body */ + +#bugzilla-body { + background: #f0f0f0; + color: black; + margin-top: 10px; + margin-bottom: 10px; + border: 1px solid #747e93; + padding: 10px; + font-size: 10pt; + -moz-border-radius: 5px; +} + +a, +a:link { + color: #6169c0; + text-decoration: none; +} + +a:visited { + color: #3d4a68; +} + +a:hover { + text-decoration: underline; +} + +hr { + border-color: #969696; + border-style: dashed; + border-width: 1px; + margin-top: 10px; +} + +/* edit */ + +#bugzilla-body th { + font-weight: bold; + vertical-align: top; + white-space: nowrap; +} + +#bug-form td { + padding-top: 2px; +} + +/* attachments */ + +#attachment-list { + border: 2px solid #c8c8ba; + font-size: 9pt; +} + +#attachment-list th { + background-color: #e6e6d8; + border: none; + border-bottom: 1px solid #c8c8ba; + text-align: left; +} + +#attachment-list th a { + color: #646456; +} + +#attachment-list td { + border: none; +} + +#attachment-list-actions td { + border-top: 1px solid #c8c8ba; +} + +/* knob */ + +#knob { + background-color: #e6e6d8; + border: 1px solid #c8c8ba; + padding: 5px; + text-align: left; +} + +#knob a { + color: #646456; +} + +#knob-buttons { + margin-top: 10px; + margin-bottom: 5px; +} + +#knob-buttons p { + display: inline; + padding-left: 10px; +} + +#knob-buttons a { + font-size: 10pt; +} + +/* comments */ + +#comments th { + font-size: 9pt; + font-weight: bold; + padding-top: 5px; + padding-right: 5px; + padding-bottom: 10px; + text-align: right; + vertical-align: top; + white-space: nowrap; +} + +#comments td { + padding-top: 2px; +} + +.reply-button a { + padding-left: 2px; + padding-right: 2px; +} + +.bz_comment { + background-color: #e8e8e8; + margin: 1px 1px 10px 1px; + border-width: 1px; + border-style: solid; + border-color: #c8c8ba; + padding: 5px; + font-size: 9pt; +} + +.bz_first_comment { +} + +.bz_comment_head, +.bz_first_comment_head { + margin: 0; padding: 0; + background-color: transparent; + font-weight: bold; +} + +.bz_comment.bz_private { + background-color: #f0e8e8; + border-color: #f8c8ba; +} + +.bz_comment_head i, +.bz_first_comment_head i { + font-style: normal; +} + +.comment_rule { + display: none; +} + +/* footer */ + +#footer { + background: #929bb1; + color: #f1dbc7; + border: 1px solid #747e93; + width: 100%; + font-size: 9pt; + -moz-border-radius: 5px; +} + +#footer a { + color: white; +} + +#footer #links-actions, +#footer #links-edit, +#footer #links-saved, +#footer #links-special { + margin-top: 2ex; +} + +#footer .label { + font-weight: bold; + color: #dddddd; +} + +#footer .links { + border-spacing: 30px; + padding-bottom: 2ex; +} + +.separator { + color: #cccccc; +} + +#footer li.form { + background-color: transparent; +} + +/* tabs */ + +.tabbed .tabbody { + background: #f8f8f8; + padding: 1em; + border-style: solid; + border-color: #000000; + border-width: 0 3px 3px 1px; +} + +.tabs { + margin: 0; + padding: 0; + border-collapse: collapse; +} + +.tabs td { + background: #c8c8c8; + border-width: 1px; +} + +.tabs td.selected { + background: #f8f8f8; + border-width: 1px 3px 0 1px; +} + +.tabs td.spacer { + background: transparent; + border-top: none; + border-left: none; + border-right: none; +} + +/* other */ + +.bz_row_odd { + background-color: #f0f0f0; +} + +/* Rules specific for printing */ +@media print { + #header, + #footer, + .navigation { + display: none; + } + + body { + background-image: none; + background-color: #ffffff; + } + + #bugzilla-body { + border: none; + margin: 0; + padding: 0; + } +} diff --git a/webtools/bugzilla/template/en/default/bug/navigate.html.tmpl b/webtools/bugzilla/template/en/default/bug/navigate.html.tmpl index b6e1351ee41..652e765f0ec 100644 --- a/webtools/bugzilla/template/en/default/bug/navigate.html.tmpl +++ b/webtools/bugzilla/template/en/default/bug/navigate.html.tmpl @@ -21,6 +21,7 @@ [% PROCESS global/variables.none.tmpl %] + diff --git a/webtools/bugzilla/template/en/default/bug/show-multiple.html.tmpl b/webtools/bugzilla/template/en/default/bug/show-multiple.html.tmpl index 50256965c11..6043ac9baa0 100644 --- a/webtools/bugzilla/template/en/default/bug/show-multiple.html.tmpl +++ b/webtools/bugzilla/template/en/default/bug/show-multiple.html.tmpl @@ -276,7 +276,6 @@ [% PROCESS bug/comments.html.tmpl comments = bug.longdescs %] -
[% END %]