1
/* ***** BEGIN LICENSE BLOCK *****
2
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
4
* The contents of this file are subject to the Mozilla Public License Version
5
* 1.1 (the "License"); you may not use this file except in compliance with
6
* the License. You may obtain a copy of the License at
7
* http://www.mozilla.org/MPL/
9
* Software distributed under the License is distributed on an "AS IS" basis,
10
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11
* for the specific language governing rights and limitations under the
14
* The Original Code is Bespin.
16
* The Initial Developer of the Original Code is
18
* Portions created by the Initial Developer are Copyright (C) 2009
19
* the Initial Developer. All Rights Reserved.
22
* Bespin Team (bespin@mozilla.com)
24
* Alternatively, the contents of this file may be used under the terms of
25
* either the GNU General Public License Version 2 or later (the "GPL"), or
26
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27
* in which case the provisions of the GPL or the LGPL are applicable instead
28
* of those above. If you wish to allow use of your version of this file only
29
* under the terms of either the GPL or the LGPL, and not to allow others to
30
* use your version of this file under the terms of the MPL, indicate your
31
* decision by deleting the provisions above and replace them with the notice
32
* and other provisions required by the GPL or the LGPL. If you do not delete
33
* the provisions above, a recipient may use your version of this file under
34
* the terms of any one of the MPL, the GPL or the LGPL.
36
* ***** END LICENSE BLOCK ***** */
40
font-family: @container_font;
41
font-size: @container_font_size;
43
color: @container_color;
44
background: @container_bg;
45
line-height: @container_line_height;
48
-moz-box-orient: vertical;
50
-webkit-box-orient: vertical;
57
-moz-box-ordinal-group: 1;
58
-webkit-box-ordinal-group: 1;
61
.container .center-container {
63
-moz-box-orient: horizontal;
64
-moz-box-ordinal-group: 2;
67
-webkit-box-orient: horizontal;
68
-webkit-box-ordinal-group: 2;
73
-moz-box-ordinal-group: 3;
74
-webkit-box-ordinal-group: 3;
77
.container .center-container .west {
78
-moz-box-ordinal-group: 1;
79
-webkit-box-ordinal-group: 1;
82
.container .center-container .center {
84
-moz-box-ordinal-group: 2;
86
-webkit-box-ordinal-group: 2;
89
.container .center-container .east {
90
-moz-box-ordinal-group: 3;
91
-webkit-box-ordinal-group: 3;
99
color: @control_color;
100
background: @control_bg;
101
border: @control_border;
103
-moz-border-radius: @control_border_radius;
104
-webkit-border-radius: @control_border_radius;
106
rgba(255,255,255,0.3) 0px 0px 2px,
107
inset rgba(0,0,0,0.3) 0px 0px 4px;
109
rgba(255,255,255,0.3) 0px 0px 2px,
110
inset rgba(0,0,0,0.3) 0px 0px 4px;
112
rgba(255,255,255,0.3) 0px 0px 2px,
113
inset rgba(0,0,0,0.3) 0px 0px 4px;
116
input:focus, textarea:focus {
117
color: @control_active_color;
118
border: @control_active_border;
119
background: @control_active_bg;
121
box-shadow: opacity(@control_active_inset_color, 0.6) 0px 0px 2px,
122
inset opacity(@control_active_inset_color, 0.3) 0px 0px 6px;
123
-moz-box-shadow: opacity(@control_active_inset_color, 0.6) 0px 0px 2px,
124
inset opacity(@control_active_inset_color, 0.3) 0px 0px 6px;
125
-webkit-box-shadow: opacity(@control_active_inset_color, 0.6) 0px 0px 2px,
126
inset opacity(@control_active_inset_color, 0.3) 0px 0px 6px;
129
input[type=submit], input[type=button] {
130
font-family: @button_font;
131
font-size: @button_font_size;
132
text-shadow: 1px 1px rgba(0, 0, 0, 0.4);
136
color: @button_color;
137
background: transparent -moz-linear-gradient(top, @button_bg, @button_bg2);
138
background: transparent -webkit-gradient(linear, 50% 0%, 50% 100%, from(@button_bg), to(@button_bg2));
140
border: 1px solid @button_border;
141
-moz-border-radius: @control_border_radius;
142
-webkit-border-radius: @control_border_radius;
144
inset rgba(255, 255, 255, 0.2) 0 1px 0px,
145
inset rgba(0, 0, 0, 0.2) 0 -1px 0px,
146
rgba(0, 0, 0, 0.1) 0px 1px 2px;
148
inset rgba(255, 255, 255, 0.2) 0 1px 0px,
149
inset rgba(0, 0, 0, 0.2) 0 -1px 0px,
150
rgba(0, 0, 0, 0.1) 0px 1px 2px;
152
inset rgba(255, 255, 255, 0.2) 0 1px 0px,
153
inset rgba(0, 0, 0, 0.2) 0 -1px 0px,
154
rgba(0, 0, 0, 0.1) 0px 1px 2px;
158
font-size: @pane_font_size;
159
font-family: @pane_font;
160
border-top: 1px solid rgba(255,255,255,0.1);
161
border-left: 1px solid rgba(0, 0, 0, 0.1);
162
border-right: 1px solid rgba(0, 0, 0, 0.1);
163
border-bottom: 2px solid rgba(0, 0, 0, 0.1);
164
background-color: @pane_bg;
169
line-height: @pane_line_height;
173
text-shadow: @pane_text_shadow;
175
-moz-border-radius: @pane_border_radius;
176
-webkit-border-radius: @pane_border_radius;
177
-moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px;
178
-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px;
181
color: @pane_a_color;
185
font-family: @pane_h1_font;
186
font-size: @pane_h1_font_size;
187
color: @pane_h1_color;
189
letter-spacing: -1.25px;
195
text-shadow: @pane_text_shadow;
205
font-family: @form_font;
206
font-size: @form_font_size;
207
line-height: @form_line_height;
209
text-shadow: @form_text_shadow;
215
text-shadow: form_text_shadow;
220
* The state classes are a little bit complex, because of the doubble class bug in IE6
221
* The state class looks like this:
223
* .ui-radio-state[-checked][-disabled][-hover] or .ui-checkbox-state[-checked][-disabled][-hover]
227
* .ui-radio-state-checked (simply checked)
228
* .ui-radio-state-checked-hover (checked and hovered/focused)
229
* .ui-radio-state-hover (unchecked and hovered/focused)
231
* If you don´t have to deal with the doubble class bug of IE6 you can also use the simple ui-checkbox-checked, ui-checkbox-disabled, ui-checkbox-hover state-classnames (or: ui-radio-checked...)
232
* and the ui-radio/ui-checkbox role-classnames.
242
background: url(images/radio-unselected.png) no-repeat;
246
background: url(images/check-unselected.png) no-repeat;
249
span.ui-helper-hidden {
253
span.ui-checkbox-state-checked,
254
span.ui-checkbox-state-checked-hover {
255
background: url(images/check-selected.png) no-repeat;
258
span.ui-radio-state-checked,
259
span.ui-radio-state-checked-hover {
260
background: url(images/radio-selected.png) no-repeat;
263
.ui-helper-hidden-accessible {