Projet

Général

Profil

Paste
Télécharger (8,94 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / imce / css / imce-content.css @ 651307cd

1

    
2
/*Body*/
3
body.imce {
4
  padding: 2px;
5
  background: none;
6
  text-align: left;
7
  height: auto;
8
}
9

    
10
/*Main container*/
11
/*reset all tags.*/
12
#imce-content, #imce-content * {
13
  font: 11px/16px Verdana, sans-serif;
14
  margin: 0;
15
  padding: 0;
16
  color: #444;
17
  background: none;
18
  border: none;
19
  float: none;
20
  list-style: none;
21
}
22
#imce-content {
23
  position: relative;
24
  background-color: #fff;
25
}
26
#imce-content a {
27
  text-decoration: none;
28
}
29
#imce-content label {
30
  font-weight: bold;
31
}
32
#imce-content label.option {
33
  font-weight: normal;
34
}
35
#imce-content input.form-text, #imce-content input[type=text], #imce-content input.form-file, #imce-content input[type=file], #imce-content select, #imce-content textarea {
36
  border: 1px inset #aaa;
37
  padding: 2px;
38
  background-color: #fff;
39
  margin: 1px;
40
  width: auto;
41
}
42
#imce-content input.form-submit, #imce-content input[type=submit], #imce-content button {
43
  border: 2px groove #fff;
44
  padding: 2px 6px 2px 20px;
45
  margin: 2px 0;
46
  background: #e8e8d8 url(submit.png) no-repeat 2px 50%;
47
  -moz-border-radius: 0;
48
  -webkit-border-radius: 0;
49
  border-radius: 0;
50
}
51
#imce-content [disabled], #imce-content .disabled {
52
  color: #999;
53
  cursor: default;
54
  text-decoration: none !important;
55
}
56
#imce-content input.loading {
57
  background-image: url(loading.gif) !important;
58
}
59
#imce-content .form-item {
60
  margin: 4px 0;
61
}
62
#imce-content .form-item .description {
63
  font-size: 0.9em;
64
}
65
#imce-content strong, #imce-content h4 {
66
  font-weight: bold;
67
}
68
#imce-content em {
69
  font-style: italic;
70
}
71
#imce-content ul.tips {
72
  margin: 2px 8px;
73
}
74
#imce-content ul.tips li {
75
  list-style: circle inside;
76
  line-height: 18px;
77
}
78

    
79
/*Main sections under imce-content*/
80
#ops-wrapper {
81
  margin-bottom: 2px;
82
  background: #d0d7e7 url(ops.png) repeat-x;
83
  border: 1px solid #a5b9cd;
84
}
85
#browse-wrapper {
86
  overflow: hidden;
87
  height: 260px;
88
  clear: both;
89
}
90
#browse-resizer {}
91
#preview-wrapper {
92
  height: 180px;
93
  overflow: auto;
94
}
95

    
96
/*columns of browse-wrapper*/
97
#navigation-wrapper {
98
  width: 25%;
99
  height: 100%;
100
  overflow: auto;
101
  float: left;
102
  position: relative;
103
}
104
#navigation-resizer {
105
  height: 100%;
106
  float: left;
107
}
108
#sub-browse-wrapper {
109
  height: 100%;
110
  overflow: auto;
111
  position: relative;
112
}
113

    
114
/*rows of sub-browse wrapper*/
115
#file-header-wrapper {
116
  height: 25px;
117
  background: url(header.png) repeat-x 0 0;
118
  position: relative;
119
}
120
#file-list-wrapper {
121
  padding-bottom: 20px;/*#dir-stat height*/
122
  outline: none;
123
}
124
#dir-stat {
125
  position: absolute;
126
  z-index: 1;
127
  bottom: 0;
128
  padding: 2px 5px;
129
  background-color: #e9ecef;
130
}
131

    
132
#dir-stat, #dir-stat * {
133
  font-size: 0.9em;
134
}
135

    
136
/*Navigation header*/
137
#navigation-header {
138
  background: url(header.png) repeat-x 0 0;
139
  position: absolute;
140
  z-index: 1;
141
  width: 100%;
142
  height: 25px;
143
}
144
#navigation-header span {
145
  display: inline-block;
146
  padding: 4px 4px 5px 20px;
147
  font-weight: bold;
148
  background: url(tree.png) no-repeat 0 50%;
149
}
150

    
151
/*Navigation tree (ul)*/
152
#navigation-tree {
153
  margin-top: 25px;/*navigation-header height*/
154
}
155
#navigation-tree ul {
156
  margin-left: 15px;
157
}
158
#navigation-tree li {
159
  padding: 2px;
160
  background: transparent url(collapsed.png) no-repeat 3px 6px;
161
  white-space: nowrap;
162
}
163
#navigation-tree li.expanded {
164
  background-image: url(expanded.png);
165
}
166
#navigation-tree li.leaf {
167
  background-image: url(leaf.png);
168
}
169
#navigation-tree li.loading {
170
  background-image: url(loading.gif);
171
  background-position: 0 2px;
172
}
173
#navigation-tree li span.expander {
174
  display: inline-block;
175
  width: 12px;
176
  cursor: pointer;
177
  margin-right: 1px;
178
}
179
#navigation-tree li a {
180
  display: inline-block;
181
}
182
#navigation-tree li a:hover {
183
  text-decoration: underline;
184
}
185
#navigation-tree li a.folder {
186
  margin-left: 2px;
187
  padding-left: 18px;
188
  background: transparent url(folder.png) no-repeat 0 50%;
189
}
190
#navigation-tree li a.active {
191
  font-weight: bold;
192
  background-image: url(folder-open.png);
193
  background-color: #ecf0f4;
194
}
195
#navigation-tree li.root > a.folder {
196
  background-image: url(folder-root.png);
197
}
198

    
199
/*File list and header. (Accessible by #file-list and #file-header. Both have the classname "files")*/
200
#file-header, #file-list {
201
  table-layout: fixed;
202
  width: 100%;
203
}
204
#file-header td {
205
  padding: 4px;
206
  font-weight: bold;
207
  cursor: default;
208
}
209
#file-header td.asc {
210
  color: #f60;
211
}
212
#file-header td.asc:after {
213
  content: "\2193";
214
  font-weight: normal;
215
}
216
#file-header td.desc {
217
  color: #09f;
218
}
219
#file-header td.desc:after {
220
  content: "\2191";
221
  font-weight: normal;
222
}
223
#file-list td {
224
  overflow: hidden;
225
  border-top: 1px solid #ccf;
226
  border-bottom: 1px solid #ccf;
227
  padding: 4px;
228
  cursor: default;
229
}
230
#file-list td.name, #file-header td.name {
231
  min-width: 12em;
232
  white-space: nowrap;
233
}
234
#file-list td.size, #file-header td.size {
235
  width: 6.5em;
236
  text-align: right;
237
}
238
#file-list td.width, #file-header td.width {
239
  width: 5em;
240
  text-align: right;
241
}
242
#file-list td.height, #file-header td.height {
243
  width: 5em;
244
}
245
#file-list td.date, #file-header td.date {
246
  width: 12em;
247
  text-align: center;
248
}
249
#file-list tr:hover td {
250
  background-color: #e9ecef;
251
}
252
#file-list tr.selected td {
253
  background-color: #07f;
254
  color: #fff;
255
}
256
#file-list tr.selected span {
257
  color: #fff;
258
}
259
#file-list td.name img {
260
  vertical-align: middle;
261
  margin-right: 3px;
262
}
263

    
264

    
265
/*File operations*/
266
#op-items {
267
  min-height: 26px;
268
}
269
#op-contents {
270
  position: absolute;
271
  z-index: 2;
272
}
273
#op-contents .op-content {
274
  display: none;
275
  padding: 16px;
276
  border: 2px solid #344454;
277
  background-color: #f5f5f5;
278
  position: relative;
279
}
280
#op-close-link {
281
  display: none;
282
  position: absolute;
283
  z-index: 3;
284
  top: 2px;
285
  right: 2px;
286
  width: 16px;
287
  height: 16px;
288
  background: url(close.png) no-repeat 50% 50%;
289
}
290
#ops-list {
291
}
292
#ops-list li {
293
  display: block;
294
  float: left;
295
}
296
#ops-list a {
297
  display: block;
298
  padding: 5px 8px 5px 20px;
299
  text-decoration: none;
300
  background: url(op.png) no-repeat 2px 50%;
301
}
302
#ops-list a:hover {
303
  background-color: #e9ecef;
304
}
305
#ops-list li.active a {
306
  background-color: #f9f8f7;
307
}
308
#ops-list a span {
309
  display: inline-block;
310
  color: #0e1f43;
311
  padding-left: 1px;
312
}
313
#ops-list li.loading a {
314
  background-image: url(loading.gif);
315
}
316

    
317
/*Custom op styles*/
318
#op-item-upload a, #imce-content #edit-upload {
319
  background-image: url(upload.png);
320
}
321
#op-item-thumb a, #imce-content #edit-thumb {
322
  background-image: url(thumb.png);
323
}
324
#op-item-resize a, #imce-content #edit-resize {
325
  background-image: url(resize.png);
326
}
327
#op-item-delete a {
328
  background-image: url(delete.png);
329
}
330
#op-item-sendto a {
331
  background-image: url(sendto.png);
332
}
333
#op-item-help a {
334
  background-image: url(help.png);
335
}
336
#op-item-changeview a {
337
  background-image: url(view-box.png);
338
}
339
.box-view #op-item-changeview a {
340
  background-image: url(view-list.png);
341
}
342
#op-item-help a, #op-item-changeview a {
343
  white-space: nowrap;
344
  overflow: hidden;
345
  width: 1px;
346
  padding: 5px 0 5px 25px;
347
  background-position: 5px 50%;
348
}
349
#op-item-help, #op-item-changeview {
350
  float: right !important;
351
}
352

    
353
/*resizers*/
354
#imce-content .y-resizer {
355
  height: 5px;
356
  cursor: n-resize;
357
  background: #f4f5f6 url(y-resizer.png) no-repeat 50% 50%;
358
  border-top: 1px solid #e0e3e5;
359
  border-bottom: 1px solid #e0e3e5;
360
}
361
#imce-content .x-resizer {
362
  width: 5px;
363
  cursor: e-resize;
364
  background: #f4f5f6 url(x-resizer.png) no-repeat 50% 50%;
365
  border-left: 1px solid #e0e3e5;
366
  border-right: 1px solid #e0e3e5;
367
}
368

    
369
/*Message box*/
370
#message-box {
371
  display: none;
372
  position: absolute;
373
  width: 60%;
374
  left: 20%;
375
  top: 32%;
376
  z-index: 10;
377
  padding: 5px;
378
  background-color: #fff;
379
  border: 2px solid #000;
380
}
381
#message-box  * {
382
  font-size: 1.1em;
383
  font-weight: bold;
384
  color: #000;
385
}
386
#imce-content div.message {
387
  background: url(status.png) no-repeat 0 0;
388
  padding-left: 20px;
389
  margin: 2px 0;
390
}
391
#imce-content div.error {
392
  background: url(error.png) no-repeat 0 0;
393
  padding-left: 20px;
394
}
395
#imce-content div.warning {
396
  background: url(warning.png) no-repeat 0 0;
397
  padding-left: 20px;
398
}
399
#log-messages {
400
  height: 60px;
401
  overflow: auto;
402
  border: 1px solid #000;
403
  padding: 2px 4px;
404
}
405
#log-messages * {
406
  font-family: monospace;
407
}
408

    
409
#file-preview {
410
  text-align: center;
411
}
412
.imce-hide, .js #forms-wrapper, #help-box {
413
  display: none;
414
}
415

    
416
/*IE*/
417
.ie #imce-content input, .ie #imce-content select {
418
  vertical-align: middle;
419
  line-height: 1.2em;
420
}
421
.ie-7 #navigation-tree li {
422
  list-style-image: none;
423
}
424
.ie-7 #imce-content input.form-submit, .ie-7 #imce-content input[type=submit], .ie-7 #imce-content button {
425
  border-style: outset;
426
}
427
.ie-7 #ops-list a span {
428
  cursor: pointer;
429
}
430
.ie-7 #file-list-wrapper {
431
  display: inline-block; /* Gives hasLayout */
432
}
433

    
434
/* File list in box view */
435
.box-view #file-list tr {
436
  display: block;
437
  float: left;
438
  border: 1px solid #ccf;
439
  margin: 10px;
440
}
441
.box-view #file-list td {
442
  border: 0;
443
}
444
.box-view #file-list td.name {
445
  min-width: 0;
446
  padding: 5px;
447
  text-align: center;
448
  vertical-align: middle;
449
}
450
.box-view #file-list td.name img {
451
  margin: 0;
452
}
453
.box-view #file-list td.name span {
454
  display: block;
455
  overflow: hidden;
456
  white-space: nowrap;
457
}
458
.box-view #file-list td.size, .box-view #file-list td.date, .box-view #file-list td.width, .box-view #file-list td.height {
459
  display: none;
460
}