aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2007-08-15 02:54:34 +0000
committerwurblzap%gmail.com <>2007-08-15 02:54:34 +0000
commit2c7bf1ccef93895052aefc4bb541d74933a914e3 (patch)
treedade58ac36b36e347ba909fc326b61b8b94b8e39
parent1427884e689fa9c470f88bdefc7eabbb87b047c6 (diff)
downloadbugs-2c7bf1ccef93895052aefc4bb541d74933a914e3.tar
bugs-2c7bf1ccef93895052aefc4bb541d74933a914e3.tar.gz
bugs-2c7bf1ccef93895052aefc4bb541d74933a914e3.tar.bz2
bugs-2c7bf1ccef93895052aefc4bb541d74933a914e3.tar.xz
bugs-2c7bf1ccef93895052aefc4bb541d74933a914e3.zip
Bug 259723 – Alternative Bugzilla CSS.
Patch by Marc Schumann <wurblzap@gmail.com>, r=glob,LpSolit; a=LpSolit
-rw-r--r--Bugzilla/Install.pm2
-rwxr-xr-xBugzilla/User/Setting/Skin.pm1
-rw-r--r--skins/.cvsignore1
-rw-r--r--skins/contrib/Dusk/buglist.css25
-rw-r--r--skins/contrib/Dusk/global.css301
-rw-r--r--template/en/default/bug/navigate.html.tmpl2
-rw-r--r--template/en/default/bug/show-multiple.html.tmpl1
7 files changed, 330 insertions, 3 deletions
diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm
index d6d216155..7e3a97b7d 100644
--- a/Bugzilla/Install.pm
+++ b/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/Bugzilla/User/Setting/Skin.pm b/Bugzilla/User/Setting/Skin.pm
index 0b0adfd51..f69f3e66c 100755
--- a/Bugzilla/User/Setting/Skin.pm
+++ b/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/skins/.cvsignore b/skins/.cvsignore
index b98d8c957..0d82d79c8 100644
--- a/skins/.cvsignore
+++ b/skins/.cvsignore
@@ -1,2 +1 @@
custom
-contrib
diff --git a/skins/contrib/Dusk/buglist.css b/skins/contrib/Dusk/buglist.css
new file mode 100644
index 000000000..477bd12cd
--- /dev/null
+++ b/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 <mschrag@pobox.com>
+ * Byron Jones <bugzilla@glob.com.au>
+ * Marc Schumann <wurblzap@gmail.com>
+ */
+
+tr.bz_bugitem:hover {
+ background-color: #ccccff;
+ cursor: pointer;
+}
diff --git a/skins/contrib/Dusk/global.css b/skins/contrib/Dusk/global.css
new file mode 100644
index 000000000..957da1933
--- /dev/null
+++ b/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 <mschrag@pobox.com>
+ * Byron Jones <bugzilla@glob.com.au>
+ * Marc Schumann <wurblzap@gmail.com>
+ * Frédéric Buclin <LpSolit@gmail.com>
+ */
+
+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/template/en/default/bug/navigate.html.tmpl b/template/en/default/bug/navigate.html.tmpl
index b6e1351ee..652e765f0 100644
--- a/template/en/default/bug/navigate.html.tmpl
+++ b/template/en/default/bug/navigate.html.tmpl
@@ -21,6 +21,7 @@
[% PROCESS global/variables.none.tmpl %]
+<div class="navigation">
[% IF bug_list && bug_list.size > 0 %]
[% this_bug_idx = lsearch(bug_list, bug.bug_id) %]
<b>[% terms.Bug %] List:</b>
@@ -66,3 +67,4 @@
&nbsp;&nbsp;
<i><font color="#777777">No search results available</font></i>
[% END %]
+</div>
diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl
index 50256965c..6043ac9ba 100644
--- a/template/en/default/bug/show-multiple.html.tmpl
+++ b/template/en/default/bug/show-multiple.html.tmpl
@@ -276,7 +276,6 @@
[% PROCESS bug/comments.html.tmpl
comments = bug.longdescs %]
- <hr>
[% END %]