]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 259723 â\80\93 Alternative Bugzilla CSS.
authorwurblzap%gmail.com <>
Wed, 15 Aug 2007 02:54:34 +0000 (02:54 +0000)
committerwurblzap%gmail.com <>
Wed, 15 Aug 2007 02:54:34 +0000 (02:54 +0000)
Patch by Marc Schumann <wurblzap@gmail.com>,
r=glob,LpSolit; a=LpSolit

Bugzilla/Install.pm
Bugzilla/User/Setting/Skin.pm
skins/.cvsignore
skins/contrib/Dusk/buglist.css [new file with mode: 0644]
skins/contrib/Dusk/global.css [new file with mode: 0644]
template/en/default/bug/navigate.html.tmpl
template/en/default/bug/show-multiple.html.tmpl

index d6d2161551f6f3483808c1098c133ab735ab0f25..7e3a97b7dcd4f8cca246214bf32f1c461fc2c3fd 100644 (file)
@@ -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] },
index 0b0adfd511ef3d40a15f57be719bd6dbe8065164..f69f3e66c577f1512c8137a6f752e00cee7783cc 100755 (executable)
@@ -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$/) {
index b98d8c95756ea488d934fe05974667dc2dd77554..0d82d79c85ddd508d1887e8a65e37c86cb72985d 100644 (file)
@@ -1,2 +1 @@
 custom
-contrib
diff --git a/skins/contrib/Dusk/buglist.css b/skins/contrib/Dusk/buglist.css
new file mode 100644 (file)
index 0000000..477bd12
--- /dev/null
@@ -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 (file)
index 0000000..957da19
--- /dev/null
@@ -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;
+    }
+}
index b6e1351ee41a06de81b9cd34e25b270ddb60393c..652e765f0ec6cfc553086ac31754f5aba6b086b8 100644 (file)
@@ -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>
index 50256965c119357b47d84832751cf460b274b892..6043ac9baa0492b8144e1bbbc750acf987b80351 100644 (file)
   [% PROCESS bug/comments.html.tmpl
      comments = bug.longdescs %]
 
-  <hr>
 [% END %]