[Rt-commit] r3495 - in rt/branches/3.5-TESTING: . html/Elements
html/NoAuth/css/3.4-compat html/Ticket/Elements
trs at bestpractical.com
trs at bestpractical.com
Sun Jul 17 19:23:13 EDT 2005
Author: trs
Date: Sun Jul 17 19:23:12 2005
New Revision: 3495
Added:
rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/body.css
rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/footer.css
rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/forms.css
rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/header.css
rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/titlebox.css
rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/transactions.css
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/Elements/Menu
rt/branches/3.5-TESTING/html/Elements/PageLayout
rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/main.css
rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/nav.css
rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/quickbar.css
rt/branches/3.5-TESTING/html/Ticket/Elements/ShowTransaction
Log:
r5168 at wintermute: tom | 2005-07-17 18:17:59 -0400
Most of the 3.4 compatibility style sheet is done. I still have to do the dark blue bar across the top and try to get the menu to extend to the page bottom. Oh, and style /Elements/Submit to match 3.4. Otherwise, I think it's a pretty good imitation.
Modified: rt/branches/3.5-TESTING/html/Elements/Menu
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/Menu (original)
+++ rt/branches/3.5-TESTING/html/Elements/Menu Sun Jul 17 19:23:12 2005
@@ -84,7 +84,7 @@
%
% $class->{li} = join ' ', @li;
%
- <li<% $class->{li} ? qq[ class="$class->{li}"] : ''|n %>><% $count > 1 && !$postsep && "· "|n%><a href="<%$RT::WebPath%>/<%$toptabs->{$tab}->{'path'}%>"<% $class->{a} && qq[ class="$class->{a}"] |n%><% !$level && " accesskey='".$accesskey++."'" |n%>><% $toptabs->{$tab}->{'title'}%></a>
+ <li<% $class->{li} ? qq[ class="$class->{li}"] : ''|n %>><% $count > 1 && !$postsep && qq[<span class="bullet">· </span>]|n%><a href="<%$RT::WebPath%>/<%$toptabs->{$tab}->{'path'}%>"<% $class->{a} && qq[ class="$class->{a}"] |n%><% !$level && " accesskey='".$accesskey++."'" |n%>><% $toptabs->{$tab}->{'title'}%></a>
%# Second-level items
% if ($toptabs->{$tab}->{'subtabs'}) {
<& /Elements/Menu, level => $level+1,
Modified: rt/branches/3.5-TESTING/html/Elements/PageLayout
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/PageLayout (original)
+++ rt/branches/3.5-TESTING/html/Elements/PageLayout Sun Jul 17 19:23:12 2005
@@ -144,7 +144,7 @@
%
% $class->{li} = join ' ', @li;
%
- <li<% $class->{li} ? qq[ class="$class->{li}"] : ''|n %>><% $count > 1 && !$postsep && "· "|n%>
+ <li<% $class->{li} ? qq[ class="$class->{li}"] : ''|n %>><% $count > 1 && !$postsep && qq[<span class="bullet">· </span>]|n%>
% if ($type->{"$action"}->{'html'}) {
<% $type->{"$action"}->{'html'} | n %>
% } else {
Added: rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/body.css
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/body.css Sun Jul 17 19:23:12 2005
@@ -0,0 +1,27 @@
+#body {
+ margin-top: 0.5em;
+ margin-right: 0.5em;
+}
+
+#body h1 { font-size: 1.5em; }
+#body h2 { font-size: 1.3em; }
+#body h3 { font-size: 1.1em; }
+#body h4 { font-size: 1em; }
+#body h5 { font-size: 0.9em; }
+#body h6 { font-size: 0.8em; }
+
+#body h1, #body h2, #body h3, #body h4, #body h5, #body h6 {
+ font-weight: bold;
+}
+
+#body :link { color: black; }
+
+#body :link, #body :visited {
+ font-weight: bold;
+ text-decoration: none;
+}
+
+#body :link:hover, #body :visited:hover {
+ text-decoration: underline;
+}
+
Added: rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/footer.css
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/footer.css Sun Jul 17 19:23:12 2005
@@ -0,0 +1,60 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# END BPS TAGGED BLOCK }}}
+
+#footer {
+ clear: both;
+ font-size: 0.8em;
+ margin-top: 5em;
+ padding-bottom: 2em;
+ color: #888;
+}
+
+#footer p {
+ text-align: right;
+ padding: 0 0.5em 0 0;
+ margin: 0;
+}
+
Added: rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/forms.css
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/forms.css Sun Jul 17 19:23:12 2005
@@ -0,0 +1,92 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# END BPS TAGGED BLOCK }}}
+
+form .label, form label {
+ font-weight: bold;
+}
+
+.submit .buttons { float: right; }
+.submit .extra-buttons { float: left; }
+.submit .button { font-size: 0.9em; }
+
+.input-row {
+ clear: both;
+ padding: 0.25em;
+}
+
+%# ComboBox styles... some properties like height and width must be dynamically
+%# set in the JS (at least for now).
+.combobox {
+ border: 2px inset ButtonHighlight;
+ padding-left: 0.5em;
+ padding-bottom: 0.1em;
+}
+
+.combobox .combo-button {
+ padding: 0 2px 0 2px;
+ margin: 0;
+ background: ButtonFace;
+ color: ButtonText;
+ border: 2px outset ButtonHighlight;
+ cursor: default;
+ font-size: 8pt;
+}
+
+.combobox .combo-text {
+ border: none;
+ margin: 0;
+ padding: 0;
+}
+
+.combobox .combo-list {
+ z-index: 200;
+}
+
+#quickbar #topactions form {
+ display: inline;
+ margin-left: 2em;
+}
+
Added: rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/header.css
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/header.css Sun Jul 17 19:23:12 2005
@@ -0,0 +1,84 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# END BPS TAGGED BLOCK }}}
+#header #page-menu {
+ display: none;
+}
+
+#header {
+ background: #4282b5;
+ margin-top: 8px;
+ padding-bottom: 0.2em;
+}
+
+#header h1 {
+ background: #4282b5;
+ color: white;
+ font-size: 1.7em;
+ margin: 0;
+ padding: 0;
+}
+
+#header #actions-menu {
+ display: block;
+ margin: 0 1em 0 0;
+ padding: 0;
+ color: white;
+ text-align: right;
+ font-size: 1.2em;
+}
+
+#header #actions-menu li {
+ display: inline;
+}
+
+#header #actions-menu :link, #header #actions-menu :visited {
+ color: white;
+ text-decoration: none;
+}
+
+#header #actions-menu :link:hover, #header #actions-menu :visited:hover {
+ text-decoration: underline;
+}
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/main.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/main.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/main.css Sun Jul 17 19:23:12 2005
@@ -46,7 +46,6 @@
%# Import the 3.5 styles we want to build off of...
@import "../3.5-default/misc.css";
- at import "../3.5-default/forms.css";
@import "../3.5-default/transactions.css";
@import "../3.5-default/approvals.css";
@import "../3.5-default/login.css";
@@ -55,3 +54,9 @@
%# ...and then import the 3.4 compat styles afterwards so they can cascade
@import "quickbar.css";
@import "nav.css";
+ at import "footer.css";
+ at import "body.css";
+ at import "titlebox.css";
+ at import "header.css";
+ at import "forms.css";
+ at import "transactions.css";
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/nav.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/nav.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/nav.css Sun Jul 17 19:23:12 2005
@@ -1,3 +1,62 @@
#nav {
clear: both;
+ float: left;
+ width: 10em;
+ font-size: 1.3em;
+ color: #eee;
+ margin: 8px 0.5em 0 0;
+ background: #4282b5 url(<%$RT::WebImagesURL%>/css/cbr.gif) no-repeat bottom right;
+}
+
+#body { margin-left: 14em; }
+
+#nav #system-menu {
+ padding: 0 0.5em 0.5em 0.5em;
+ margin-top: 0;
+/* background: transparent url(<%$RT::WebImagesURL%>/css/ctr.gif) no-repeat top right; */
+ font-weight: bold;
+}
+
+#nav ul {
+ list-style: none;
+ padding-left: 0.5em;
+ margin-left: 0;
+}
+
+#nav ul .bullet, #nav ul .separator {
+ display: none;
+}
+
+#nav ul li {
+ padding: 0.4em 0 0.4em 0.2em;
+ border-bottom: 1px solid white;
+}
+
+#nav li ul {
+ font-size: 0.9em;
+ font-weight: normal;
+}
+
+#nav li ul li {
+ border-bottom: none;
+ padding: 0.2em 0 0 0;
+}
+
+#nav :link, #nav :visited {
+ text-decoration: none;
+ color: #eee;
+}
+
+#nav :link:hover,
+#nav :visited:hover,
+#nav :link.selected,
+#nav :visited.selected
+{
+ color: #ff6;
+}
+
+#nav :link.selected,
+#nav :visited.selected
+{
+ text-decoration: underline;
}
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/quickbar.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/quickbar.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/quickbar.css Sun Jul 17 19:23:12 2005
@@ -40,5 +40,5 @@
font-size: 0.9em;
float: right;
clear: right;
- margin-top: 1.5em;
+ margin: 1.5em 1em 0 0;
}
Added: rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/titlebox.css
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/titlebox.css Sun Jul 17 19:23:12 2005
@@ -0,0 +1,23 @@
+.titlebox .title {
+ background: #069;
+ padding: 0.2em 0.5em;
+ color: white;
+ border-top: 1px solid black;
+ border-bottom: 1px solid black;
+ font-weight: bold;
+ position: relative;
+}
+
+.titlebox .title .right {
+ position: absolute;
+ right: 1.5em;
+ font-size: 0.9em;
+}
+
+#body .titlebox .title :link, #body .titlebox .title :visited {
+ color: white;
+}
+
+#body .titlebox .title .widget :link, #body .titlebox .title .widget :visited {
+ color: black;
+}
Added: rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/transactions.css
==============================================================================
--- (empty file)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/3.4-compat/transactions.css Sun Jul 17 19:23:12 2005
@@ -0,0 +1,82 @@
+%# BEGIN BPS TAGGED BLOCK {{{
+%#
+%# COPYRIGHT:
+%#
+%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC
+%# <jesse at bestpractical.com>
+%#
+%# (Except where explicitly superseded by other copyright notices)
+%#
+%#
+%# LICENSE:
+%#
+%# This work is made available to you under the terms of Version 2 of
+%# the GNU General Public License. A copy of that license should have
+%# been provided with this software, but in any event can be snarfed
+%# from www.gnu.org.
+%#
+%# This work is distributed in the hope that it will be useful, but
+%# WITHOUT ANY WARRANTY; without even the implied warranty of
+%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+%# General Public License for more details.
+%#
+%# You should have received a copy of the GNU General Public License
+%# along with this program; if not, write to the Free Software
+%# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%#
+%#
+%# CONTRIBUTION SUBMISSION POLICY:
+%#
+%# (The following paragraph is not intended to limit the rights granted
+%# to you to modify and distribute this software under the terms of
+%# the GNU General Public License and is only of importance to you if
+%# you choose to contribute your changes and enhancements to the
+%# community by submitting them to Best Practical Solutions, LLC.)
+%#
+%# By intentionally submitting any modifications, corrections or
+%# derivatives to this work, or any other work intended for use with
+%# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+%# you are the copyright holder for those contributions and you grant
+%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable,
+%# royalty-free, perpetual, license to use, copy, create derivative
+%# works based on those contributions, and sublicense and distribute
+%# those contributions and any derivatives thereof.
+%#
+%# END BPS TAGGED BLOCK }}}
+
+.ticket-transaction {
+ margin: 0;
+ border: none;
+}
+
+.ticket-transaction .type {
+ width: 1em;
+}
+
+.ticket-transaction.even {
+ background: #cecfef;
+}
+
+.ticket-transaction.basics { border-color: #9c3031; }
+.ticket-transaction.basics .type { background: #9c3031; }
+.ticket-summary .ticket-info-basics .content { border-left: none; }
+.ticket-summary .ticket-info-basics .title { background: #9c3031; }
+
+.ticket-transaction.people { border-color: #31309c; }
+.ticket-transaction.people .type { background: #31309c; }
+.ticket-summary .ticket-info-people .content { border-left: none; }
+.ticket-summary .ticket-info-people .title { background: #31309c; }
+
+.ticket-transaction.links { border-color: #316531; }
+.ticket-transaction.links .type { background: #316531; }
+.ticket-summary .ticket-info-links .content { border-left: none; }
+.ticket-summary .ticket-info-links .title { background: #316531; }
+
+.ticket-transaction.dates { border-color: #633063; }
+.ticket-transaction.dates .type { background: #633063; }
+.ticket-summary .ticket-info-dates .content { border-left: none; }
+.ticket-summary .ticket-info-dates .title { background: #633063; }
+
+.ticket-transaction.message { border-color: #069; }
+.ticket-transaction.message .type { background: #069; }
+
Modified: rt/branches/3.5-TESTING/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/branches/3.5-TESTING/html/Ticket/Elements/ShowTransaction (original)
+++ rt/branches/3.5-TESTING/html/Ticket/Elements/ShowTransaction Sun Jul 17 19:23:12 2005
@@ -43,7 +43,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<div class="ticket-transaction <% $type_class %>">
+<div class="ticket-transaction<% $type_class && " $type_class" %><% $RowNum % 2 ? ' odd' : ' even' %>">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td rowspan="2" valign="top" class="type">
More information about the Rt-commit
mailing list