summaryrefslogtreecommitdiffstats
path: root/templates/55/ad-hominem/css/_media_fullscreen.css
blob: dd703a2b780b2643108c6f07895f800ba598bdb7 (plain)
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
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
/**
 * This file provides the styles for the fullscreen media manager
 * (?do=media).
 *
 * What most templates would probably need to change (depending on
 * their site width) are the 4 min-width's (search for @change).
 */


/*____________ structure ____________*/

#mediamanager__page h1 {
    margin-bottom: .5em;
}

#mediamanager__page {
    /* min-width must be summary of all 3 panels' min-widths */
    min-width: 50em; /* @change */
    width: 100%;
    text-align: left;
}
[dir=rtl] #mediamanager__page {
    text-align: right;
}
#mediamanager__page .panel {
    float: left;
}
[dir=rtl] #mediamanager__page .panel {
    float: right;
}

#mediamanager__page .namespaces {
    width: 20%;
    min-width: 10em; /* @change */
    left:0 !important; /* overrules jQuery UI resizable in rtl */
}
#mediamanager__page .filelist {
    width: 50%;
    min-width: 25em; /* @change */
    left:0 !important; /* overrules jQuery UI resizable in rtl */
}
#mediamanager__page .file {
    width: 30%;
    min-width: 15em; /* @change */
}

#mediamanager__page .tabs li {
    white-space: nowrap;
}

#mediamanager__page .panelHeader {
    background-color: @ini_background_alt;
    margin: 0 10px 10px 0;
    padding: 10px 10px 8px;
    text-align: left;
    min-height: 20px;
    overflow: hidden;
}
[dir=rtl] #mediamanager__page .panelHeader {
    text-align: right;
    margin: 0 0 10px 10px;
}
#mediamanager__page .panelContent {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 3px 0 0 0;
    margin: 0 10px 10px 0;
    position: relative;
}
[dir=rtl] #mediamanager__page .panelContent {
    text-align: right;
    margin: 0 0 10px 10px;
}

#mediamanager__page .file .panelHeader,
#mediamanager__page .file .panelContent {
    margin-right: 0;
}
[dir=rtl] #mediamanager__page .file .panelHeader,
[dir=rtl] #mediamanager__page .file .panelContent {
    margin-left: 0;
}

#mediamanager__page .ui-resizable-e,
[dir=rtl] #mediamanager__page .ui-resizable-w {
    width: 6px;
    right: 2px;
    background: transparent url(../../images/resizecol.png) center center no-repeat;
}
#mediamanager__page .ui-resizable-e:hover,
[dir=rtl] #mediamanager__page .ui-resizable-w:hover {
    background-color: @ini_background_alt;
}

#mediamanager__page dd {
    margin: 0;
}

#mediamanager__page .panelHeader h3 {
    float: left;
    font-weight: normal;
    font-size: 1em;
    padding: 0;
    margin: 0 0 3px;
}
[dir=rtl] #mediamanager__page .panelHeader h3 {
    float : right
}


/*____________ namespaces panel ____________*/

[dir=rtl] #mediamanager__page .namespaces {
    text-align: right;
}

/* make it look like a tab (as in _tabs.css) */
#mediamanager__page .namespaces h2 {
    font-size: 1em;
    display: inline-block;
    padding: .3em .8em;
    margin: 0 0 0 .3em;
    border-radius: .5em .5em 0 0;
    font-weight: normal;
    background-color: @ini_background_alt;
    color: @ini_text;
    border: 1px solid @ini_border;
    border-bottom-color: @ini_background_alt;
    line-height: 1.4em;
    position: relative;
    bottom: -1px;
    z-index: 2;
}
[dir=rtl] #mediamanager__page .namespaces h2 {
    margin: 0 .3em 0 0;
    position: relative;
    right: 10px;
}
#mediamanager__page .namespaces .panelHeader {
    border-top: 1px solid @ini_border;
    z-index: 1;
}

#mediamanager__page .namespaces ul {
    margin-left: .2em;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}
[dir=rtl] #mediamanager__page .namespaces ul {
    margin-left: 0;
    margin-right: .2em;
}
#mediamanager__page .namespaces ul ul {
    margin-left: 1em;
}
[dir=rtl] #mediamanager__page .namespaces ul ul {
    margin-left: 0;
    margin-right: 1em;
}
#mediamanager__page .namespaces ul ul li {
    margin: 0;
}

#mediamanager__page .namespaces ul .selected {
    background-color: __highlight__;
    font-weight: bold;
}


/*____________ file list panel ____________*/

/* file list header */

#mediamanager__page .panelHeader form.options {
    float: right;
    margin-top: -3px;
}
[dir=rtl] #mediamanager__page .panelHeader form.options {
    float : left
}
#mediamanager__page .panelHeader ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#mediamanager__page .panelHeader ul li {
    color: @ini_text;
    float: left;
    line-height: 1;
    padding-left: 3px;
}
[dir=rtl] #mediamanager__page .panelHeader ul li {
    padding-right: 3px;
    padding-left: 0;
    float: right;
}

#mediamanager__page .panelHeader ul li.ui-controlgroup-horizontal {
    padding-left: 2px;
    margin: 0 0 0 5px;
}
/* #mediamanager__page .panelHeader ul li.listType {
    background: url('../../images/icon-list.png') 3px 1px no-repeat;
}
#mediamanager__page .panelHeader ul li.sortBy {
    background: url('../../images/icon-sort.png') 3px 1px no-repeat;
} */
[dir=rtl] #mediamanager__page .panelHeader ul li.ui-controlgroup-horizontal {
    padding-left: 0;
    padding-right: 2px;
    margin: 0 5px 0 0;
    background-position: right 1px;
}

#mediamanager__page .panelHeader form.options .ui-controlgroup-horizontal label{
    font-size: 90%;
    margin-right: -0.4em;
    padding: .3em .5em;
    line-height: 1;
}

/* file list content */

#mediamanager__page .filelist ul {
    padding: 0;
    margin: 0 10px 0 0;
}
[dir=rtl] #mediamanager__page .filelist ul {
    margin: 0 0 0 10px;
}
#mediamanager__page .filelist ul.rows {
    margin: 0;
}
#mediamanager__page .filelist .panelContent ul li:hover {
    background-color: @ini_background_alt;
}

#mediamanager__page .filelist li dt a {
    vertical-align: middle;
    display: table-cell;
    overflow: hidden;
}

/* file list as thumbs */

#mediamanager__page .filelist .thumbs li {
    width: 100px;
    min-height: 130px;
    display: inline-block;
    /* the right margin should visually be 10px, but because of its inline-block nature the whitespace inbetween is about 4px more */
    margin: 0 6px 10px 0;
    background-color: @ini_background_neu;
    color: @ini_text;
    padding: 5px;
    vertical-align: top;
    text-align: center;
    position: relative;
    line-height: 1.2;
}
[dir=rtl] #mediamanager__page .filelist .thumbs li {
    margin-right: 0;
    margin-left: 6px;
}

#mediamanager__page .filelist .thumbs li dt a {
    width: 100px;
    height: 90px;
}

#mediamanager__page .filelist .thumbs li dt a img {
    max-width: 90px;
    max-height: 90px;
}

#mediamanager__page .filelist .thumbs li .name,
#mediamanager__page .filelist .thumbs li .size,
#mediamanager__page .filelist .thumbs li .filesize,
#mediamanager__page .filelist .thumbs li .date {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90px;
    white-space: nowrap;
	font-size: 10pt;
}
#mediamanager__page .filelist .thumbs li .name {
    padding: 5px 0;
    font-weight: bold;
}
#mediamanager__page .filelist .thumbs li .date {
    font-style: italic;
    white-space: normal;
}

/* file list as rows */

#mediamanager__page .filelist .rows li {
    list-style: none;
    display: block;
    position: relative;
    max-height: 50px;
    margin: 0 0 3px 0;
    background-color: @ini_background;
    color: @ini_text;
    overflow: hidden;
}

#mediamanager__page .filelist .rows li:nth-child(2n+1) {
    background-color: @ini_background_neu;
}

#mediamanager__page .filelist .rows li dt {
    float: left;
    width: 10%;
    height: 40px;
    text-align: center;
}
[dir=rtl] #mediamanager__page .filelist .rows li dt {
    float: right;
}
#mediamanager__page .filelist .rows li dt a {
    width: 100px;
    height: 40px;
}

#mediamanager__page .filelist .rows li dt a img {
    max-width: 40px;
    max-height: 40px;
}

#mediamanager__page .filelist .rows li .name,
#mediamanager__page .filelist .rows li .size,
#mediamanager__page .filelist .rows li .filesize,
#mediamanager__page .filelist .rows li .date {
    overflow: hidden;
    text-overflow: ellipsis;
    float: left;
    margin-left: 1%;
    white-space: nowrap;
}
[dir=rtl] #mediamanager__page .filelist .rows li .name,
[dir=rtl] #mediamanager__page .filelist .rows li .size,
[dir=rtl] #mediamanager__page .filelist .rows li .filesize,
[dir=rtl] #mediamanager__page .filelist .rows li .date {
    float: right;
    margin-left: 0;
    margin-right: 1%;
}

#mediamanager__page .filelist .rows li .name {
    width: 30%;
    font-weight: bold;
}
#mediamanager__page .filelist .rows li .size,
#mediamanager__page .filelist .rows li .filesize {
    width: 15%;
}
#mediamanager__page .filelist .rows li .date {
    width: 20%;
    font-style: italic;
    white-space: normal;
}

/* upload form */

#mediamanager__page div.upload {
    padding-bottom: 0.5em;
}

/*____________ file panel ____________*/

#mediamanager__page .file ul.actions {
    text-align: center;
    margin: 0 0 5px;
    padding: 0;
    list-style: none;
}
#mediamanager__page .file ul.actions li {
    display: inline;
    margin: 0;
}

#mediamanager__page .file div.image {
    margin-bottom: 5px;
    text-align: center;
}

#mediamanager__page .file div.image img {
    width: 100%;
}

#mediamanager__page .file dl {
    margin-bottom: 0;
}
#mediamanager__page .file dl dt {
    font-weight: bold;
    display: block;
    background-color: @ini_background_alt;
	padding-left: .25em;
}
#mediamanager__page .file dl dd {
    display: block;
    background-color: @ini_background_neu;
	padding-left: 1em;
}

/* file meta data edit form */

#mediamanager__page form.meta div.row {
    margin-bottom: 5px;
}

#mediamanager__page form.meta label span {
    display: block;
}

#mediamanager__page form.meta input {
    width: 50%;
}

#mediamanager__page form.meta button {
    width: auto;
}

#mediamanager__page form.meta textarea.edit {
    height: 6em;
    width: 95%;
    min-width: 95%;
    max-width: 95%;
}

/* file revisions form */

#mediamanager__page form.changes ul {
    margin-left: 10px;
    padding: 0;
    list-style-type: none;
}
[dir=rtl] #mediamanager__page form.changes ul {
    margin-left: 0;
    margin-right: 10px;
}

#mediamanager__page form.changes ul li div.li div {
    font-size: 90%;
    color: @ini_text_neu;
    padding-left: 18px;
}
[dir=rtl] #mediamanager__page form.changes ul li div.li div {
    padding-left: 0;
    padding-right: 18px;
}
#mediamanager__page form.changes ul li div.li input {
    position: relative;
    top: 1px;
}

/* file diff view */

#mediamanager__diff table {
    table-layout: fixed;
    border-width: 0;
}

#mediamanager__diff td,
#mediamanager__diff th {
    width: 48%;
    margin: 0 5px 10px 0;
    padding: 0;
    vertical-align: top;
    text-align: left;
    border-color: @ini_background;
}
[dir=rtl] #mediamanager__diff td,
[dir=rtl] #mediamanager__diff th {
    margin: 0 0 10px 5px;
    text-align: right;
}

#mediamanager__diff th {
    font-weight: normal;
    background-color: @ini_background;
    line-height: 1.2;
}
#mediamanager__diff th a {
    font-weight: bold;
}
#mediamanager__diff th span {
    font-size: 90%;
}

#mediamanager__diff dl dd strong{
    background-color: __highlight__;
    color: @ini_text;
    font-weight: normal;
}

/* image diff views */

#mediamanager__page .file form.diffView {
    margin-bottom: 10px;
    display: block;
}

#mediamanager__diff div.slider {
    margin: 10px;
    width: 95%;
}

#mediamanager__diff .imageDiff {
    position: relative;
}
#mediamanager__diff .imageDiff .image2 {
    position: absolute;
    top: 0;
    left: 0;
}

#mediamanager__diff .imageDiff.opacity .image2 {
    opacity: 0.5;
}

#mediamanager__diff .imageDiff.portions .image2 {
    border-right: 1px solid red;
    overflow: hidden;
}

#mediamanager__diff .imageDiff.portions img {
    float: left;
}

#mediamanager__diff .imageDiff img {
    width: 100%;
    max-width: none;
}

/* dark mode overrides */
@media (prefers-color-scheme: dark) {
	body.darkmode #mediamanager__page .panelHeader,
	body.darkmode .tabs > ul li a,
	body.darkmode ul.tabs li strong,
	body.darkmode ul.tabs li a {
		background-color:	transparent;
		border-color:		@ini_text_dark;
		color:				@ini_text_dark;
	}

	body.darkmode #mediamanager__page .namespaces h2 {
		background-color:	@ini_background_dark;
		border-color:		@ini_text_dark;
		border-bottom-color: @ini_background_dark;
		color:				@ini_headlines_dark;
	}
	body.darkmode #mediamanager__page .filelist .thumbs li {
		background-color:	@ini_background_alt_dark;
		color:				@ini_text_dark;
	}
	body.darkmode #mediamanager__page .filelist .panelContent ul li:hover {
		background-color:	rgba(0,0,0,.2);
	}

	body.darkmode #mediamanager__page .filelist .rows li {
		background-color: @ini_background_dark;
		color: @ini_text_dark;
	}
	body.darkmode #mediamanager__page .filelist .rows li:nth-child(2n+1) {
		background-color: @ini_background_alt_dark;
	}

	body.darkmode #mediamanager__page .ui-resizable-e { background-color:	@ini_background_dark; }
	body.darkmode #mediamanager__page .ui-resizable-e:hover,
	body.darkmode [dir=rtl] #mediamanager__page .ui-resizable-w:hover { background-color: @ini_background_alt_dark; }
	body.darkmode #mediamanager__page .file dl dt { background-color:	rgba(0,0,0,.5); }
	body.darkmode #mediamanager__page .file dl dd { background-color:	rgba(0,0,0,.2); }
	body.darkmode #mediamanager__page .namespaces ul .selected { background-color: @ini_background_alt_dark; }

}