Bug 259723 ��� Alternative Bugzilla CSS.

Patch by Marc Schumann <wurblzap@gmail.com>,
r=glob,LpSolit; a=LpSolit
This commit is contained in:
wurblzap%gmail.com 2007-08-14 21:54:37 +00:00
Родитель 559c1d9b2d
Коммит 458d3f3f42
7 изменённых файлов: 330 добавлений и 3 удалений

Просмотреть файл

@ -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] },

Просмотреть файл

@ -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$/) {

Просмотреть файл

@ -1,2 +1 @@
custom
contrib

Просмотреть файл

@ -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;
}

Просмотреть файл

@ -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;
}
}

Просмотреть файл

@ -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>

Просмотреть файл

@ -276,7 +276,6 @@
[% PROCESS bug/comments.html.tmpl
comments = bug.longdescs %]
<hr>
[% END %]