import rt 3.8.7
[freeside.git] / rt / share / html / NoAuth / css / web2 / forms.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 form {
49
50     background: none;
51     border: none;
52     margin: 0;
53 }
54
55
56 .input-row .label {
57   position: relative;
58   text-align: right;
59   width: 4em;
60 }
61
62 .input-row .input {
63   position: relative;
64   left: 1em;
65   width: 10em;
66   text-align: right;
67 }
68
69 .value {
70  font-size: 0.85em;
71
72 }
73
74
75
76 div.button-row {
77    text-align: right;
78    padding-right: 0.5em;
79 }
80
81
82 input[type=reset], input[type=submit], input[class=button] {
83    color: #fff;
84    background: #3858a3;
85    padding: 0.25em;
86    padding-left: 0.5em;
87    padding-right: 0.5em;
88    -moz-border-radius: 0.5em;
89    -webkit-border-radius: 0.5em;
90 }
91
92 input.button:hover, button:hover, input[type=reset]:hover, input[type=submit]:hover, input[class=button]:hover {
93    background: #1D3B7D;
94 }
95
96 input.button:focus, button:focus, input[type=reset]:focus, input[type=submit]:focus, input[class=button]:focus {
97    background: #1D3B7D;
98 }
99
100 div.error div.error {
101  border: 2px solid #aa0000;
102  border-top: 1px solid #bb0000;
103  border-left: 1px solid #bb0000;
104  background-color: #fcc;
105 }
106
107 div.error .titlebox-title span.left {
108   background-color: #f00;
109   color: #fff;
110   border: 1px solid #cc0000;
111   border-right: 2px solid #bb0000;
112   border-bottom: 2px solid #bb0000;
113
114 }
115
116
117 div.results .titlebox-title .left, div.results .titlebox {
118   border: 1px solid #aa9;
119   border-bottom: 2px solid #990;
120   border-right: 2px solid #990;
121 }
122
123 div.results .titlebox-title .left {
124   background: #ff9;
125
126 }
127
128 div.results .titlebox {
129   background: #ffc;
130
131 }
132
133 div.results .titlebox-content {
134   padding: 0;
135 }
136
137
138 .label, .labeltop {
139  text-align: right;
140  font-size: 0.8em;
141  padding-right: .5em;
142
143
144
145 .cflabel {
146  text-align: right;
147  font-size: 0.8em;
148  padding-right: .5em;
149  width: 25%;
150 }
151
152 .labeltop, .label, .value {
153   padding-top: 0.25em;
154 }
155
156 div.ticket-info-basics div.titlebox-content .labeltop{
157   width: 10em;
158 }
159
160 div.submit {
161  text-align: right;
162 }
163
164 div.submit .extra-buttons {
165  text-align: left;
166 }
167
168
169 div.widget {
170     padding-bottom: 0.5em;
171 }
172
173 div.widget .label { 
174  text-align: right;
175  display: block;
176  width: 15em;
177  float: left;
178  clear: both;
179  font-size: 0.9em;
180  padding-right: 0.5em;
181 }
182
183 div.widget .hints {
184
185   display: block;
186   padding-left: 14em;
187   font-style: italic;
188 }
189
190
191 %# ComboBox styles... some properties like height and width must be dynamically
192 %# set in the JS (at least for now).
193 .combobox {
194     position: relative;
195     width: 11.5em;
196 }
197
198 .combobox .combo-button {
199     right: 0;
200     padding: 0;
201     margin-top: 0;
202     cursor: default;
203     color: ButtonFace;
204     background: ButtonFace;
205     border: 2px outset ButtonHighlight;
206 }
207
208 /* this style replaces the default down-triangle with one that looks more like
209  *  native widget sets. It does not work in IE as it's an :after pseudo element 
210  *  with a "content" value. but that's ok because IE can't display unicode 25be
211  *  anyway */
212
213 .combobox .combo-button:after {
214     color: ButtonText;
215     margin: 0;
216     padding: 0;
217     margin-top: -0.5em;
218     margin-left: -0.8em;
219     content: "\25be";
220 }
221
222 .combobox .combo-text {
223     border: 1px inset ButtonHighlight;
224     margin: 0;
225     padding: 0;
226 }
227
228 .combobox .combo-list {
229     border: 1px outset;
230     z-index: 150;
231 }
232
233 .value .TimeUnits{
234     margin-left: .5em;
235     width: 7em;
236 }
237
238 .cfinvalidfield {
239     font-style: italic;
240     color: red;
241 }
242