import rt 3.8.11
[freeside.git] / rt / html / NoAuth / webrt.css
index 62c6d66..7fa2f83 100644 (file)
@@ -1,8 +1,14 @@
-%# BEGIN LICENSE BLOCK
+%# BEGIN BPS TAGGED BLOCK {{{
 %# 
-%# Copyright (c) 1996-2003 Jesse Vincent <jesse@bestpractical.com>
+%# COPYRIGHT:
+%#  
+%# This software is Copyright (c) 1996-2005 Best Practical Solutions, LLC 
+%#                                          <jesse@bestpractical.com>
 %# 
-%# (Except where explictly superceded by other copyright notices)
+%# (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
 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 %# General Public License for more details.
 %# 
-%# Unless otherwise specified, all modifications, corrections or
-%# extensions to this work which alter its source code become the
-%# property of Best Practical Solutions, LLC when submitted for
-%# inclusion in the work.
+%# 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.)
 %# 
-%# END LICENSE BLOCK
+%# 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 }}}
 SPAN.nav {  font-family: Verdana, Arial, Helvetica, sans-serif;
         font-size: 12px;
         color: #FFFFFF;
@@ -46,12 +68,218 @@ SPAN.nav {  font-family: Verdana, Arial, Helvetica, sans-serif;
         color: #FFFFFF;
         text-decoration: none;
         white-space: nowrap}
+
+%# .topnav is the original RT class for the sidebar navigation tabs.
+%# Font-sizing by level depth was originally hard-coded into Elements/Menu.
+%# This modification sets a different class name for each level, allowing
+%# style sheet control over the formats.
+
+a.topnav-0 {  font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 16px;
+        font-weight: normal;
+        color: #FFFFFF;
+        text-decoration: none;
+        white-space: nowrap}
+a.topnav-1 {  font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 14px;
+        font-weight: normal;
+        color: #FFFFFF;
+        text-decoration: none;
+        white-space: nowrap}
+a.topnav-2 {  font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+        font-weight: normal;
+        color: #FFFFFF;
+        text-decoration: none;
+        white-space: nowrap}
+a.topnav-3 {  font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 11px;
+        font-weight: normal;
+        color: #FFFFFF;
+        text-decoration: none;
+        white-space: nowrap}
+a.topnav-4 {  font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 11px;
+        font-weight: normal;
+        color: #FFFFFF;
+        text-decoration: none;
+        white-space: nowrap}
+a.topnav-5 {  font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 11px;
+        font-weight: normal;
+        color: #FFFFFF;
+        text-decoration: none;
+        white-space: nowrap}
+li.topnav-0-minor {
+        border-top: solid #999999 1px;
+        padding-top: .1em;
+        margin-top: .5em;
+}
+li.topnav-1-minor {
+        border-top: solid #999999 1px;
+        padding-top: .1em;
+        margin-top: .5em;
+}
+li.topnav-2-minor {
+        border-top: solid #999999 1px;
+        padding-top: .1em;
+        margin-top: .5em;
+}
+li.topnav-3-minor {
+        border-top: solid #999999 1px;
+        padding-top: .1em;
+        margin-top: .5em;
+}
+li.topnav-4-minor {
+        border-top: solid #999999 1px;
+        padding-top: .1em;
+        margin-top: .5em;
+}
+li.topnav-5-minor {
+        border-top: solid #999999 1px;
+        padding-top: .1em;
+        margin-top: .5em;
+}
+li.topnav-0-major {
+        border-bottom: solid white 1px;
+        padding-top: .25em;
+        padding-bottom: .5em;
+}
+li.topnav-1-major {
+        border-bottom: solid white 1px;
+        padding-top: .25em;
+        padding-bottom: .5em;
+}
+li.topnav-2-major {
+        border-bottom: solid white 1px;
+        padding-top: .25em;
+        padding-bottom: .5em;
+}
+li.topnav-3-major {
+        border-bottom: solid white 1px;
+        padding-top: .25em;
+        padding-bottom: .5em;
+}
+li.topnav-4-major {
+        border-bottom: solid white 1px;
+        padding-top: .25em;
+        padding-bottom: .5em;
+}
+li.topnav-5-major {
+        border-bottom: solid white 1px;
+        padding-top: .25em;
+        padding-bottom: .5em;
+}
+
 .currenttopnav {  font-family: Verdana, Arial, Helvetica, sans-serif;
         font-size: 16px;
          font-weight: bold;
         color: #FFFF66;
         text-decoration: none;
         white-space: nowrap}
+
+%# .currenttopnav is the original RT class for the sidebar navigation tabs.
+%# Font-sizing by level depth was originally hard-coded into Elements/Menu.
+%# This modification sets a different class name for each level, allowing
+%# style sheet control over the formats
+
+a.currenttopnav-0 {  font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 16px;
+         font-weight: bold;
+        color: #FFFF66;
+        text-decoration: none;
+        white-space: nowrap}
+a.currenttopnav-1 {  font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 14px;
+         font-weight: bold;
+        color: #FFFF66;
+        text-decoration: none;
+        white-space: nowrap}
+a.currenttopnav-2 {  font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 12px;
+         font-weight: normal;
+        color: #FFFF66;
+        text-decoration: none;
+        white-space: nowrap}
+a.currenttopnav-3 {  font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 11px;
+         font-weight: normal;
+        color: #FFFF66;
+        text-decoration: none;
+        white-space: nowrap}
+a.currenttopnav-4 {  font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 11px;
+         font-weight: normal;
+        color: #FFFF66;
+        text-decoration: none;
+        white-space: nowrap}
+a.currenttopnav-5 {  font-family: Verdana, Arial, Helvetica, sans-serif;
+        font-size: 11px;
+         font-weight: normal;
+        color: #FFFF66;
+        text-decoration: none;
+        white-space: nowrap}
+li.currenttopnav-0-minor {
+        border-top: solid #999999 1px;
+        padding-top: .1em;
+        margin-top: .5em;
+}
+li.currenttopnav-1-minor {
+        border-top: solid #999999 1px;
+        padding-top: .1em;
+        margin-top: .5em;
+}
+li.currenttopnav-2-minor {
+        border-top: solid #999999 1px;
+        padding-top: .1em;
+        margin-top: .5em;
+}
+li.currenttopnav-3-minor {
+        border-top: solid #999999 1px;
+        padding-top: .1em;
+        margin-top: .5em;
+}
+li.currenttopnav-4-minor {
+        border-top: solid #999999 1px;
+        padding-top: .1em;
+        margin-top: .5em;
+}
+li.currenttopnav-5-minor {
+        border-top: solid #999999 1px;
+        padding-top: .1em;
+        margin-top: .5em;
+}
+li.currenttopnav-0-major {
+        border-bottom: solid white 1px;
+        padding-top: .25em;
+        padding-bottom: .5em;
+}
+li.currenttopnav-1-major {
+        border-bottom: solid white 1px;
+        padding-top: .25em;
+        padding-bottom: .5em;
+}
+li.currenttopnav-2-major {
+        border-bottom: solid white 1px;
+        padding-top: .25em;
+        padding-bottom: .5em;
+}
+li.currenttopnav-3-major {
+        border-bottom: solid white 1px;
+        padding-top: .25em;
+        padding-bottom: .5em;
+}
+li.currenttopnav-4-major {
+        border-bottom: solid white 1px;
+        padding-top: .25em;
+        padding-bottom: .5em;
+}
+li.currenttopnav-5-major {
+        border-bottom: solid white 1px;
+        padding-top: .25em;
+        padding-bottom: .5em;
+}
+
 .topactions {  font-family: Verdana, Arial, Helvetica, sans-serif;
         font-size: 10px;
         color: #FFFFFF;
@@ -84,10 +312,12 @@ SPAN.nav {  font-family: Verdana, Arial, Helvetica, sans-serif;
         vertical-align: top;
         text-align: left;
          }
+%# Actually the "topactions" section
 .blueright {  background-color: #4682B4;
         background-position: left top;
         vertical-align: top;
         text-align: right;
+         padding-right: 1em;
          }
 .olddarkblue {  background-color: #003399;
         background-position: left top;
@@ -104,6 +334,22 @@ SPAN.nav {  font-family: Verdana, Arial, Helvetica, sans-serif;
         vertical-align: top;
         text-align: right;
          }
+.overdue {
+        color: red;
+}
+
+div.messagebody {
+    padding: 2em; 
+
+}
+
+
+div.downloadattachment {
+    font-size: 10px;
+    text-align: right;
+
+}
+
 
 td {  font-family: Verdana, Arial, Helvetica, sans-serif;
         font-size: 11px;
@@ -155,12 +401,18 @@ UL.topnav LI :focus { text-decoration: underline; }
 
 TD.mainbody {
         padding-top: 0.5em;
-        padding-left: 0em;
+        padding-left: 1em;
         padding-right: 1em;
         margin-left: 1em;
         margin-right: 1em;
 }
 
+td.boxcontainer + td.boxcontainer {
+       margin-left: 1em;
+       padding-left: 1em;
+       border-collapse: collapse;
+}
+
 th.ticketheader { font-size: 80%;
      font-weight: bold;
      color: #336699;
@@ -202,7 +454,7 @@ SPAN.message {
 BODY {
   color: #000;
   background: #FFFFFF;
-  font-family: "Helvetica", sans-serif;
+  font-family: Verdana, Arial, Helvetica, sans-serif;
   margin-top: 0px;
   margin-bottom: 0px;
   margin-left: 0px;
@@ -225,7 +477,7 @@ TR.evenline {
 H1, H2, H3 { 
   margin-top: 0.2em;
   color: #336699;
-  font-family: "Helvetica", sans-serif;
+  font-family: Verdana, Arial, Helvetica, sans-serif;
 
   clear: both;
 }
@@ -269,12 +521,18 @@ span.title { font-size: 1.6em;
              color: #ffffff;}
 span.productname { font-size: 2em;
              color: #0066cc;}
-SPAN.titleboxtitle {
-        font-size: 1.1em;
+SPAN.titleboxtitle, SPAN.titleboxclose {
+        font-size: 80%;
         color: #ffffff;
         vertical-align: middle;
         text-align: left;
         }
+SPAN.titleboxtitle a {
+        color: #ffffff;
+}
+SPAN.titleboxtitle a:after {
+       content: "...";
+}
 
 SPAN.titleboxright {
         font-size: 0.8em;
@@ -290,32 +548,21 @@ SPAN.attribution {
 SPAN.label { font-size: 0.8em; 
 }
 
-BLOCKQUOTE {
-  font-style: italic;
-  /* color: #990; */
-}
+DIV.page-stats { font-size: 0.8em;
+                  color: #cccccc;
+                  text-align: right;
+              }
 
-ADDRESS { 
-  text-align: right;
-  font-weight: bold;
-  font-style: italic 
-}
 
-BLOCKQUOTE P {                 /* Try to avoid space above the attribution */
-  margin-bottom: 0;
-}
-BLOCKQUOTE ADDRESS {
-  margin: 0;
+BLOCKQUOTE {
+  font-style: italic;
 }
 
-
 .emphasized {
   font-weight: bold
 }
 
 
-P.map-also { font-style: italic; margin-left: 15%; text-align: right }
-
 .oddline { 
         background-color : #ccccee;
 }
@@ -331,8 +578,51 @@ ul.topnav {
        margin-bottom:0;
 }
 
+.menu-major-separator {
+       border-bottom: solid white 1px;
+       padding-top: .25em;
+       padding-bottom: .5em;
+}
+
+.menu-minor-separator {
+        border-top: solid #999999 1px;
+       padding-top: .1em;
+       margin-top: .5em;
+}
+
+TH.collection-as-table {  text-align: center;
+                          font-size: 0.8em; 
+                          padding-left: .5em;
+                          padding-right: .5em;
+                          color: #333333;
+                          background-color: #cccccc;
+                          white-space: nowrap;
+                  }
+
+TD.collection-as-table {  text-align: left;
+                          padding-left: .5em;
+                          padding-right: .5em;
+                        }
+
+textarea.signature {
+    width: 100%;
+}
+textarea.comments {
+    width: 100%;
+}
+
+textarea.messagebox {
+    width: 100%;
+}
 
+%# Provide a callback for adding/modifying the style sheet.
+%# http://www.w3.org/TR/REC-CSS1 - section 3.2, says:
+%#   "latter specified rule wins"
+<& /Elements/Callback &>
+<%flags>
+inherit => undef
+</%flags>
 <%init>
 $r->content_type('text/css');
-$r->header_out('Expires' ,'+30m');
+#$r->headers_out->{'Expires'} = '+30m';
 </%init>