imce-content.css
8.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
/*Body*/
body.imce {
padding: 2px;
background: none;
text-align: left;
height: auto;
}
/*Main container*/
/*reset all tags.*/
#imce-content, #imce-content * {
font: 11px/16px Verdana, sans-serif;
margin: 0;
padding: 0;
color: #444;
background: none;
border: none;
float: none;
list-style: none;
}
#imce-content {
position: relative;
background-color: #fff;
}
#imce-content a {
text-decoration: none;
}
#imce-content label {
font-weight: bold;
}
#imce-content label.option {
font-weight: normal;
}
#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 {
border: 1px inset #aaa;
padding: 2px;
background-color: #fff;
margin: 1px;
width: auto;
}
#imce-content input.form-submit, #imce-content input[type=submit], #imce-content button {
border: 2px groove #fff;
padding: 2px 6px 2px 20px;
margin: 2px 0;
background: #e8e8d8 url(submit.png) no-repeat 2px 50%;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
}
#imce-content [disabled], #imce-content .disabled {
color: #999;
cursor: default;
text-decoration: none !important;
}
#imce-content input.loading {
background-image: url(loading.gif) !important;
}
#imce-content .form-item {
margin: 4px 0;
}
#imce-content .form-item .description {
font-size: 0.9em;
}
#imce-content strong, #imce-content h4 {
font-weight: bold;
}
#imce-content em {
font-style: italic;
}
#imce-content ul.tips {
margin: 2px 8px;
}
#imce-content ul.tips li {
list-style: circle inside;
line-height: 18px;
}
/*Main sections under imce-content*/
#ops-wrapper {
margin-bottom: 2px;
background: #d0d7e7 url(ops.png) repeat-x;
border: 1px solid #a5b9cd;
}
#browse-wrapper {
overflow: hidden;
height: 260px;
clear: both;
}
#browse-resizer {}
#preview-wrapper {
height: 180px;
overflow: auto;
}
/*columns of browse-wrapper*/
#navigation-wrapper {
width: 25%;
height: 100%;
overflow: auto;
float: left;
position: relative;
}
#navigation-resizer {
height: 100%;
float: left;
}
#sub-browse-wrapper {
height: 100%;
overflow: auto;
position: relative;
}
/*rows of sub-browse wrapper*/
#file-header-wrapper {
height: 25px;
background: url(header.png) repeat-x 0 0;
position: relative;
}
#file-list-wrapper {
padding-bottom: 20px;/*#dir-stat height*/
outline: none;
}
#dir-stat {
position: absolute;
z-index: 1;
bottom: 0;
padding: 2px 5px;
background-color: #e9ecef;
}
#dir-stat, #dir-stat * {
font-size: 0.9em;
}
/*Navigation header*/
#navigation-header {
background: url(header.png) repeat-x 0 0;
position: absolute;
z-index: 1;
width: 100%;
height: 25px;
}
#navigation-header span {
display: inline-block;
padding: 4px 4px 5px 20px;
font-weight: bold;
background: url(tree.png) no-repeat 0 50%;
}
/*Navigation tree (ul)*/
#navigation-tree {
margin-top: 25px;/*navigation-header height*/
}
#navigation-tree ul {
margin-left: 15px;
}
#navigation-tree li {
padding: 2px;
background: transparent url(collapsed.png) no-repeat 3px 6px;
white-space: nowrap;
}
#navigation-tree li.expanded {
background-image: url(expanded.png);
}
#navigation-tree li.leaf {
background-image: url(leaf.png);
}
#navigation-tree li.loading {
background-image: url(loading.gif);
background-position: 0 2px;
}
#navigation-tree li span.expander {
display: inline-block;
width: 12px;
cursor: pointer;
margin-right: 1px;
}
#navigation-tree li a {
display: inline-block;
}
#navigation-tree li a:hover {
text-decoration: underline;
}
#navigation-tree li a.folder {
margin-left: 2px;
padding-left: 18px;
background: transparent url(folder.png) no-repeat 0 50%;
}
#navigation-tree li a.active {
font-weight: bold;
background-image: url(folder-open.png);
background-color: #ecf0f4;
}
#navigation-tree li.root > a.folder {
background-image: url(folder-root.png);
}
/*File list and header. (Accessible by #file-list and #file-header. Both have the classname "files")*/
#file-header, #file-list {
table-layout: fixed;
width: 100%;
}
#file-header td {
padding: 4px;
font-weight: bold;
cursor: default;
}
#file-header td.asc {
color: #f60;
}
#file-header td.asc:after {
content: "\2193";
font-weight: normal;
}
#file-header td.desc {
color: #09f;
}
#file-header td.desc:after {
content: "\2191";
font-weight: normal;
}
#file-list td {
overflow: hidden;
border-top: 1px solid #ccf;
border-bottom: 1px solid #ccf;
padding: 4px;
cursor: default;
}
#file-list td.name, #file-header td.name {
min-width: 12em;
white-space: nowrap;
}
#file-list td.size, #file-header td.size {
width: 6.5em;
text-align: right;
}
#file-list td.width, #file-header td.width {
width: 5em;
text-align: right;
}
#file-list td.height, #file-header td.height {
width: 5em;
}
#file-list td.date, #file-header td.date {
width: 12em;
text-align: center;
}
#file-list tr:hover td {
background-color: #e9ecef;
}
#file-list tr.selected td {
background-color: #07f;
color: #fff;
}
#file-list tr.selected span {
color: #fff;
}
#file-list td.name img {
vertical-align: middle;
margin-right: 3px;
}
/*File operations*/
#op-items {
min-height: 26px;
}
#op-contents {
position: absolute;
z-index: 2;
}
#op-contents .op-content {
display: none;
padding: 16px;
border: 2px solid #344454;
background-color: #f5f5f5;
position: relative;
}
#op-close-link {
display: none;
position: absolute;
z-index: 3;
top: 2px;
right: 2px;
width: 16px;
height: 16px;
background: url(close.png) no-repeat 50% 50%;
}
#ops-list {
}
#ops-list li {
display: block;
float: left;
}
#ops-list a {
display: block;
padding: 5px 8px 5px 20px;
text-decoration: none;
background: url(op.png) no-repeat 2px 50%;
}
#ops-list a:hover {
background-color: #e9ecef;
}
#ops-list li.active a {
background-color: #f9f8f7;
}
#ops-list a span {
display: inline-block;
color: #0e1f43;
padding-left: 1px;
}
#ops-list li.loading a {
background-image: url(loading.gif);
}
/*Custom op styles*/
#op-item-upload a, #imce-content #edit-upload {
background-image: url(upload.png);
}
#op-item-thumb a, #imce-content #edit-thumb {
background-image: url(thumb.png);
}
#op-item-resize a, #imce-content #edit-resize {
background-image: url(resize.png);
}
#op-item-delete a {
background-image: url(delete.png);
}
#op-item-sendto a {
background-image: url(sendto.png);
}
#op-item-help a {
background-image: url(help.png);
}
#op-item-changeview a {
background-image: url(view-box.png);
}
.box-view #op-item-changeview a {
background-image: url(view-list.png);
}
#op-item-help a, #op-item-changeview a {
white-space: nowrap;
overflow: hidden;
width: 1px;
padding: 5px 0 5px 25px;
background-position: 5px 50%;
}
#op-item-help, #op-item-changeview {
float: right !important;
}
/*resizers*/
#imce-content .y-resizer {
height: 5px;
cursor: n-resize;
background: #f4f5f6 url(y-resizer.png) no-repeat 50% 50%;
border-top: 1px solid #e0e3e5;
border-bottom: 1px solid #e0e3e5;
}
#imce-content .x-resizer {
width: 5px;
cursor: e-resize;
background: #f4f5f6 url(x-resizer.png) no-repeat 50% 50%;
border-left: 1px solid #e0e3e5;
border-right: 1px solid #e0e3e5;
}
/*Message box*/
#message-box {
display: none;
position: absolute;
width: 60%;
left: 20%;
top: 32%;
z-index: 10;
padding: 5px;
background-color: #fff;
border: 2px solid #000;
}
#message-box * {
font-size: 1.1em;
font-weight: bold;
color: #000;
}
#imce-content div.message {
background: url(status.png) no-repeat 0 0;
padding-left: 20px;
margin: 2px 0;
}
#imce-content div.error {
background: url(error.png) no-repeat 0 0;
padding-left: 20px;
}
#imce-content div.warning {
background: url(warning.png) no-repeat 0 0;
padding-left: 20px;
}
#log-messages {
height: 60px;
overflow: auto;
border: 1px solid #000;
padding: 2px 4px;
}
#log-messages * {
font-family: monospace;
}
#file-preview {
text-align: center;
}
.imce-hide, .js #forms-wrapper, #help-box {
display: none;
}
/*IE*/
.ie #imce-content input, .ie #imce-content select {
vertical-align: middle;
line-height: 1.2em;
}
.ie-7 #navigation-tree li {
list-style-image: none;
}
.ie-7 #imce-content input.form-submit, .ie-7 #imce-content input[type=submit], .ie-7 #imce-content button {
border-style: outset;
}
.ie-7 #ops-list a span {
cursor: pointer;
}
.ie-7 #file-list-wrapper {
display: inline-block; /* Gives hasLayout */
}
/* File list in box view */
.box-view #file-list tr {
display: block;
float: left;
border: 1px solid #ccf;
margin: 10px;
}
.box-view #file-list td {
border: 0;
}
.box-view #file-list td.name {
min-width: 0;
padding: 5px;
text-align: center;
vertical-align: middle;
}
.box-view #file-list td.name img {
margin: 0;
}
.box-view #file-list td.name span {
display: block;
overflow: hidden;
white-space: nowrap;
}
.box-view #file-list td.size, .box-view #file-list td.date, .box-view #file-list td.width, .box-view #file-list td.height {
display: none;
}