import rt 3.8.7
[freeside.git] / rt / share / html / NoAuth / css / 3.5-default / titlebox.css
1 %# BEGIN BPS TAGGED BLOCK {{{
2 %# 
3 %# COPYRIGHT:
4 %# 
5 %# This software is Copyright (c) 1996-2009 Best Practical Solutions, LLC
6 %#                                          <jesse@bestpractical.com>
7 %# 
8 %# (Except where explicitly superseded by other copyright notices)
9 %# 
10 %# 
11 %# LICENSE:
12 %# 
13 %# This work is made available to you under the terms of Version 2 of
14 %# the GNU General Public License. A copy of that license should have
15 %# been provided with this software, but in any event can be snarfed
16 %# from www.gnu.org.
17 %# 
18 %# This work is distributed in the hope that it will be useful, but
19 %# WITHOUT ANY WARRANTY; without even the implied warranty of
20 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21 %# General Public License for more details.
22 %# 
23 %# You should have received a copy of the GNU General Public License
24 %# along with this program; if not, write to the Free Software
25 %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
26 %# 02110-1301 or visit their web page on the internet at
27 %# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
28 %# 
29 %# 
30 %# CONTRIBUTION SUBMISSION POLICY:
31 %# 
32 %# (The following paragraph is not intended to limit the rights granted
33 %# to you to modify and distribute this software under the terms of
34 %# the GNU General Public License and is only of importance to you if
35 %# you choose to contribute your changes and enhancements to the
36 %# community by submitting them to Best Practical Solutions, LLC.)
37 %# 
38 %# By intentionally submitting any modifications, corrections or
39 %# derivatives to this work, or any other work intended for use with
40 %# Request Tracker, to Best Practical Solutions, LLC, you confirm that
41 %# you are the copyright holder for those contributions and you grant
42 %# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
43 %# royalty-free, perpetual, license to use, copy, create derivative
44 %# works based on those contributions, and sublicense and distribute
45 %# those contributions and any derivatives thereof.
46 %# 
47 %# END BPS TAGGED BLOCK }}}
48 .titlebox {
49     margin-bottom: 1em;
50 }
51
52 .titlebox .titlebox-content {
53     margin-top: -1px;
54     padding: 1em 2em 0.5em 2em;
55     margin: 0;
56     /*margin: 1em 2em 0.5em 2em;*/
57 }
58
59 .titlebox th { font-size: 0.8em; }
60
61 %# TRS: I wish there was a more elegant way to do this... I essentially need to
62 %# select all elements X that do NOT have element Y as a descendant... which I can
63 %# fake with the child selector of CSS2, but IE is stupid and does not support that.
64
65 % my @pages = qw(index Search-Build User-Prefs Approvals Admin-Users-Modify SelfService SelfService-Closed);
66 % $m->callback(pages => \@pages, %ARGS);
67
68 % for (@pages)
69 % {
70 #comp-<%$_%> .titlebox .titlebox-content,
71 % }
72 .titlebox .titlebox .titlebox-content
73 {
74     background: #eee;
75     border-bottom: 1px solid #ccc;
76     border-right: 1px solid #ccc;
77     border-left: 0.5em solid #069;
78 }
79
80 #login-box .titlebox .titlebox-content
81 {
82     background: none;
83     border: none;
84 }
85
86 .titlebox .titlebox-title {
87     position: relative;
88     font-weight: bold;
89     color: #930;
90     font-size: 1.2em;
91     padding: 0.2em 0 0.2em 4em;
92     border-bottom: 1px solid #069;
93 }
94
95 .titlebox .titlebox-title .right {
96     position: absolute;
97     top: 0.5em;
98     right: 1.5em;
99     font-size: 0.9em;
100     color: #888;
101 }
102
103 .titlebox .titlebox-title .right .selected { color: #930; }
104
105 #body .titlebox .titlebox-title .right :link,
106 #body .titlebox .titlebox-title .right :visited {
107     color: #888;
108 }
109
110 #body .titlebox .titlebox-title .right :link:hover,
111 #body .titlebox .titlebox-title .right :visited:hover {
112     color: #930;
113 }
114
115 .titlebox .titlebox-title .widget a {
116   display: block;
117   margin: 0;
118   margin-top: 0.5em;
119   width: 20px;
120
121   background: url(<%RT->Config->Get('WebPath')%>/NoAuth/images/css/rollup-arrow.gif) no-repeat center center;
122
123   position: absolute;
124   top: -0.75em;
125   left: 0.15em;
126   float: left;
127
128   padding: 11px 0 0 0;
129 }
130
131
132 * html .titlebox .titlebox-title .widget a {
133     background-position: center 0.3em;
134     top: 0em;
135     left: -1.5em; 
136 }
137
138 .titlebox.rolled-up .titlebox-title .widget a {
139     background-image: url(<%RT->Config->Get('WebImagesURL')%>/css/rolldown-arrow.gif);
140 }
141
142 #body .titlebox .titlebox-title :link,
143 #body .titlebox .titlebox-title :visited
144 {
145     color: #930;
146     text-decoration: none;
147 }
148
149 #body .titlebox .titlebox-title :link:hover,
150 #body .titlebox .titlebox-title :visited:hover
151 {
152     text-decoration: underline;
153 }
154
155 .titlebox .titlebox-content hr.clear {
156     visibility: hidden;
157 }
158
159 .titlebox .titlebox-title .left {
160     position: relative;
161 }
162