Projet

Général

Profil

Paste
Télécharger (5,75 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / sky / css / forms.css @ 87dbc3bf

1
/* Fieldsets */
2
fieldset {
3
  border: solid 1px #e6e4e2;
4
  margin: 1.2em 0;
5
  padding: 0 0 1em 0;
6
  position: relative;
7
}
8
.fieldset-wrapper {
9
  padding: 2.4em 1em 1em 1em;
10
}
11
.fieldset-description {
12
  padding: 1em 0;
13
}
14
html.js fieldset.collapsed {
15
  border: solid 1px #e6e4e2;
16
  height: 2em;
17
}
18
legend {
19
  display: block;
20
  color: #999;
21
  font-weight: 600;
22
  font-size: 0.923em;
23
  left: 1em;
24
  letter-spacing: 0.25em;
25
  line-height: normal;
26
  position: absolute;
27
  text-transform: uppercase;
28
  top: 1em;
29
}
30
legend a.fieldset-title {
31
  color: #999;
32
}
33
.js fieldset.collapsible legend a {
34
  background: url(images/gray.png) no-repeat 0 -132px;
35
  padding-left: 20px;
36
  -moz-transition: color 0.3s linear;
37
  -webkit-transition: color 0.3s linear;
38
  transition: color 0.3s linear;
39
}
40
.js fieldset.collapsible legend a:hover,
41
.js fieldset.collapsible legend a:focus,
42
.js fieldset.collapsible legend a:active {
43
  background-image: url(images/black.png);
44
  color: #444;
45
}
46
.js fieldset.collapsed legend a {
47
  background-position: 0 -198px;
48
}
49
html.js fieldset.collapsed .fieldset-legend,
50
html.js fieldset.collapsible .fieldset-legend {
51
  background-image: none;
52
  padding: 0;
53
}
54
#edit-advanced {
55
  clear: both;
56
}
57

    
58
/* Labels */
59
label {
60
  cursor: pointer;
61
  font-weight: 500;
62
}
63
.form-item label {
64
  display: block;
65
  font-size: 1.077em;
66
  margin-bottom: 0.2em;
67
  margin-left: 3px;
68
}
69
.form-item .form-item label {
70
  display: inline;
71
  font-size: 1em;
72
}
73
table label,
74
.form-item label.option {
75
  display: inline;
76
  font-size: 1em;
77
  font-weight: normal;
78
}
79
select {
80
  margin-bottom: 3px;
81
  padding: 2px;
82
}
83

    
84
/* Wrappers */
85
.form-item {
86
  margin: 1.4em 0;
87
}
88
.fieldset-wrapper .form-item:first-child {
89
  margin-top: 0.4em;
90
}
91
.form-item .form-item {
92
  margin: 0.5em 0;
93
}
94
.form-type-checkbox,
95
.form-type-radio {
96
  margin: 1em 0;
97
}
98
.form-actions {
99
  margin-top: 1em;
100
  padding: 1em 0;
101
}
102
.filter-wrapper .fieldset-wrapper {
103
  padding: 0;
104
}
105
/* Elements */
106
input, select, textarea, button {
107
  font-family: "Helvetica Neue", Helvetica, Clean, Arial, sans-serif;
108
}
109
input.form-text {
110
  max-width: 100%;
111
}
112
input, textarea {
113
  line-height: 1.3em;
114
}
115
textarea.form-textarea,
116
textarea {
117
  background-color: #fff;
118
  border: solid 2px #e6e4de;
119
  padding: 0.5em;
120
  -moz-border-radius: 3px 3px 0 0;
121
  -webkit-border-top-right-radius: 3px;
122
  -webkit-border-top-left-radius: 3px;
123
  border-radius: 3px 3px 0 0;
124
}
125
input.form-text,
126
select[multiple="multiple"] {
127
  background-color: #fff;
128
  border: solid 2px #e6e4de !important;
129
  padding: 4px;
130
  -moz-border-radius: 3px;
131
  -webkit-border-radius: 3px;
132
  border-radius: 3px;
133
}
134
.ie9 input.form-text,
135
.ie9 select[multiple="multiple"],
136
.chrome input.form-text,
137
.chrome select[multiple="multiple"] {
138
  padding: 2px 4px;
139
}
140
select {
141
  max-width: 100%;
142
  -moz-box-sizing: border-box;
143
  -webkit-box-sizing: border-box;
144
  box-sizing: border-box;
145
}
146
button,
147
input[type="submit"],
148
input.form-submit,
149
.form-actions a,
150
.form-actions a:visited,
151
.button, a.button, a.button:visited {
152
  background: #e6e4e2 url(images/ui/ui-bg_highlight-soft_90_e6e4e2_1x100.png) 50% 50% repeat-x;
153
  border: 1px solid #e6e4e2;
154
  border-bottom-color: #bbb;
155
  border-right-color: #bbb;
156
  color: #000;
157
  font-size: 1em;
158
  font-weight: 500;
159
  padding: 0.5em 1em;
160
  margin: 0 0.5em 0 0;
161
  overflow: hidden;
162
  -moz-border-radius: 4px;
163
  -webkit-border-radius: 4px;
164
  border-radius: 4px;
165
}
166
button:hover,
167
input[type="submit"]:hover,
168
input.form-submit:hover,
169
.form-actions a:hover,
170
.form-actions a:focus,
171
.form-actions a:active,
172
.button:hover,
173
a.button:hover,
174
a.button:focus,
175
a.button:active {
176
  background: #d6d4d1 url(images/ui/ui-bg_highlight-soft_50_d6d4d1_1x100.png) 50% 50% repeat-x;
177
  border: 1px solid #e1dedb;
178
  border-bottom-color: #aaa;
179
  border-right-color: #aaa;
180
  color: #000;
181
  cursor: pointer;
182
}
183
textarea:focus,
184
input[type="password"]:focus,
185
input[type="search"]:focus,
186
input[type="text"]:focus,
187
select[multiple="multiple"]:focus,
188
.form-text:focus {
189
  outline: 0;
190
  -webkit-box-shadow: 0 0 5px 3px rgba(169,169,169,0.4);
191
  -moz-box-shadow: 0 0 5px 3px rgba(169,169,169,0.4);
192
  box-shadow: 0 0 5px 3px rgba(169,169,169, 0.4);
193
  border-color: rgba(213,213,213,0.5);
194
  -webkit-appearance: textfield; /* -webkit-appearance: searchfield; does not support box shadow in Chrome, yet...*/
195
}
196

    
197
/* Misc */
198
.description {
199
  color: #777;
200
  font-size: 0.923em;
201
  line-height: 1.5;
202
}
203
.form-item .description {
204
  margin-top: 0.4em;
205
  padding-left: 0.4em;
206
}
207
.form-required {
208
  color: #fda61f;
209
  font: bold 1em Tahoma, Verdana, Geneva;
210
}
211

    
212
/* Inline containers */
213
.container-inline .form-item label {}
214
.container-inline .form-submit {
215
  font-size: 0.923em;
216
  line-height: 1.5em;
217
  margin: 0 0.3em 0 0;
218
  padding: 0.2em 1em;
219
}
220
.container-inline .form-actions {
221
  padding: 0;
222
}
223

    
224
/* Autocomplete throbber */
225
html.js input.form-autocomplete {
226
  background-position: 99% 6px; /* LTR */
227
}
228
html.js input.throbbing {
229
  background-position: 99% -12px; /* LTR */
230
}
231

    
232
/* Vertical tabs */
233
.vertical-tabs fieldset.vertical-tabs-pane {
234
  padding: 0;
235
}
236
.vertical-tabs .fieldset-wrapper {
237
  padding: 1em 0.5em;
238
}
239
div.vertical-tabs,
240
div.vertical-tabs ul.vertical-tabs-list,
241
div.vertical-tabs ul.vertical-tabs-list li {
242
  border-color: #e6e4e2;
243
}
244
.vertical-tabs ul.vertical-tabs-list li {
245
  background-color: #efedea;
246
}
247
.vertical-tabs ul.vertical-tabs-list li a {
248
  -moz-transition: none;
249
  -webkit-transition: none;
250
  transition: none;
251
}
252
.vertical-tabs ul.vertical-tabs-list li a:hover,
253
.vertical-tabs ul.vertical-tabs-list li a:focus {
254
  color: #000;
255
  outline: none;
256
}
257
.vertical-tabs ul.vertical-tabs-list li a:focus strong,
258
.vertical-tabs ul.vertical-tabs-list li a:active strong,
259
.vertical-tabs ul.vertical-tabs-list li a:hover strong {
260
  text-decoration: none;
261
}
262
.vertical-tabs .summary {
263
  font-size: 0.923em;
264
}
265

    
266
/* Reset textarea backgrounds in WYSIWYG module text editors */
267
body.wysiwygeditor {
268
  background-color: #fff;
269
  background-image: none;
270
}