/
layout.css
827 lines (827 loc) · 17 KB
/
layout.css
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
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
/* ------------------------------------------------------------------------ */
/* Global */
body {
margin: 0;
}
img {
border: 0;
}
tt {
color: #cc0000;
}
table {
border-collapse: collapse;
}
table th {
font-weight: bold;
}
table th.label {
text-align: left;
}
table td,
table th {
padding: 0.1em 0.2em;
}
/* ------------------------------------------------------------------------ */
/* HTML5 hacks */
section,
footer,
aside,
main,
article,
figure {
display: block;
}
/* ------------------------------------------------------------------------ */
/* Header */
header,
#header {
width: 100%;
height: 5em;
padding: 0;
border: 0;
display: table;
}
header #logo,
#header #logo,
header #titles-preserved,
#header #titles-preserved {
display: table-cell;
}
header #logo,
#header #logo {
left: 0;
padding: 0.375em;
}
header #titles-preserved,
#header #titles-preserved {
right: 0;
text-align: center;
vertical-align: middle;
}
/* ------------------------------------------------------------------------ */
/* Navbar */
nav,
#navbar-outer {
width: 100%;
display: table;
}
#navbar {
height: 1.66666667em;
margin: 0;
border: 0;
padding: 3px;
font-size: 0.75em;
}
#navbar span.currentpage {
font-weight: bold;
}
#navbar #navbar-left {
float: left;
padding: 2px;
display: table-cell;
}
#navbar #navbar-right,
#navbar #navbar-login {
text-align: right;
float: right;
white-space: nowrap;
display: table-cell;
}
#navbar #navbar-right {
padding: 2px;
}
#navbar #navbar-login {
padding: 0px 2px;
}
#navbar form {
margin: 0;
display: inline;
}
#navbar form div {
display: inline;
}
/* ------------------------------------------------------------------------ */
/* Footer */
footer,
#footer {
width: 100%;
height: 2em;
font-size: x-small;
text-align: center;
vertical-align: middle;
}
footer p,
#footer p {
margin: 0px;
padding: 0.3em;
}
footer small,
#footer small {
font-size: x-small;
}
/* ------------------------------------------------------------------------ */
/* Content layout */
#page-container {
border: 0;
width: 100%;
display: table;
}
#page-body-container {
display: table-row;
}
#content-container {
text-align: left;
vertical-align: top;
width: 100%;
padding: 0.5em;
display: table-cell;
}
/* ------------------------------------------------------------------------ */
/* Section dividers */
hr.divider {
text-align: center;
width: 75%;
}
/* ------------------------------------------------------------------------ */
/* Existing styling */
/* ------------------------------------------------------------------------ */
/* News items */
div.newsitem {
background: url('../graphics/box_shadow.png') no-repeat !important;
padding: 1.2em 0.5em 0.5em 1.2em;
margin-left: 1em;
margin-top: 0.5em;
}
div.newsitem p {
margin: 0 0.5em 0.5em 0;
}
/* ------------------------------------------------------------------------ */
/* Editing news items */
table.newsedit {
width: 100%;
border-collapse: collapse;
}
table.newsedit tr td {
vertical-align: top;
}
table.newsedit tbody.padding tr td.commands,
table.newsedit tbody.padding tr td.items {
padding-bottom: 1em;
padding-top: 0.5em;
}
table.newsedit td.commands {
width: 10%;
padding-right: 2em;
padding-left: 1em;
white-space: nowrap;
}
table.newsedit td.items {
width: 90%;
}
/* ------------------------------------------------------------------------ */
/* Attention-getting structures */
div.callout {
margin-right: 2em;
margin-left: 2em;
padding: 1em;
background-color: #EEE;
border: solid thin black;
}
div.callout p {
margin-bottom: 0;
}
div.calloutheader {
font-weight: bold;
}
.error,
.warning {
font-weight: bold;
}
/* ------------------------------------------------------------------------ */
/* Round and Pool filter table */
#filter_form {
padding: 0 0.5em 0.5em 0.5em;
}
table.filter {
width: 100%;
}
table.filter td {
padding: .25em 0.25em 0em .25em;
vertical-align: top;
white-space: nowrap;
}
table.filter td select {
margin: .1em auto;
width: 100%;
}
/* ------------------------------------------------------------------------ */
/* Registration table */
table.register {
width: auto;
border-collapse: separate;
border: 1px solid black;
}
table.register th,
table.register td {
padding: 3px;
}
table.register th {
text-align: right;
font-weight: bold;
}
table.register td {
text-align: left;
}
table.register td input[type=text],
table.register td input[type=password],
table.register td input[type=select] {
width: 98%;
}
table.register td.bar {
text-align: center;
}
/* ------------------------------------------------------------------------ */
/* Site Progress Snapshot table on Activity Hub */
table.snapshottable {
margin: 0;
padding: 0;
border-collapse: collapse;
width: 100%;
}
table.snapshottable td,
table.snapshottable th {
border: 1px solid black;
padding: 2px;
margin: 0;
text-align: center;
}
table.snapshottable img {
border: none;
padding: 0;
margin: 0;
}
table.snapshottable th {
font-weight: normal;
}
table.snapshottable td.nocell {
border: none;
}
table.snapshottable th.activity-icon-header {
border: none;
background-color: #ffffff;
width: 35%;
}
table.snapshottable td.stage-icon {
border-right: 0;
}
table.snapshottable td.stage-name {
text-align: left;
border-left: 0;
border-right: 0;
}
table.snapshottable td.stage-access {
border-left: 0;
}
/* ------------------------------------------------------------------------ */
/* Progress bar */
div.progressbar {
border: 1px solid black;
font-size: 0.5em;
float: left;
}
/* ------------------------------------------------------------------------ */
/* Statistics table */
table.stats {
/* so that right aligned and left aligned columns don't clash */
}
table.stats td,
table.stats th {
padding-right: 2em;
}
/* ------------------------------------------------------------------------ */
/* Translation table */
table.translation td,
table.translation th {
padding-right: 1em;
}
/* ------------------------------------------------------------------------ */
/* Available Project Listings */
table.availprojectlisting {
width: 100%;
border: 1px solid black;
border-collapse: collapse;
}
table.availprojectlisting tr th {
font-weight: bold;
text-align: left;
border-bottom: 1px solid black;
}
table.availprojectlisting tr th img {
border: 0;
}
table.availprojectlisting tr td {
border-bottom: 1px solid #888;
}
table.availprojectlisting tr td,
table.availprojectlisting tr th {
padding-left: 0.5em;
padding-right: 0.5em;
}
/* ------------------------------------------------------------------------ */
/* FAQ */
table.faqtable {
width: 100%;
border: 0;
padding: 1em;
}
table.faqtable tr td.column {
vertical-align: top;
width: 50%;
padding-right: 1em;
}
div.faqheader {
font-weight: bold;
vertical-align: middle;
padding: 0.25em 0.5em;
}
/* ------------------------------------------------------------------------ */
/* User Preferences */
/*
This stylesheet originated from http://www.alistapart.com/articles/slidingdoors/
Quote http://www.alistapart.com/copyright/:
*/
/*
* A List Apart gives away CSS styles, JavaScript, PHP and Perl scripts,
* XHTML markup techniques, and other bits of "source code" for the use
* of its readers. You may freely copy, paste, and modify any of this
* code for use on your own web projects large or small, commercial or
* non-commercial. You need not ask permission to do so. You need not
* credit ALA or its authors. It is our gift to you.
*
* ...
*
* Images, including those used in tutorials (example), cannot be
* reproduced outside this magazine, except by the author or designer
* who created them.
*
* You may adapt elements of our CSS in your own projects, but the
* unique combination of images, colors, sizes, typography, and
* positioning ("the design") is copyright 2003 A List Apart Magazine
* and Happy Cog Studios and may not be reproduced.
*/
table.preferences {
border-collapse: collapse;
width: 100%;
}
table.preferences td.tabbar {
text-align: left;
border: 0;
padding: 0;
margin: 0;
}
table.preferences td,
table.preferences th {
border: solid thin black;
}
table.preferences th.longlabel {
text-align: center;
}
#tabs {
float: left;
width: 100%;
}
#tabs ul {
margin: 0;
padding: 0 10px 0;
list-style: none;
}
#tabs li {
float: left;
margin: 0;
padding: 0 0 0 4px;
border: solid thin gray;
border-radius: 5px 5px 0 0;
}
#tabs a {
float: left;
display: block;
padding: 5px 15px 4px 6px;
text-decoration: none;
}
#tabs #current {
border: solid thin gray;
}
#tabs #current a {
font-weight: bold;
}
/* ------------------------------------------------------------------------ */
/* Themed tables */
table.themed {
width: 100%;
border: 1px solid black;
border-collapse: collapse;
}
table.themed tr th,
table.themed tr td {
padding: 0.1em;
}
table.theme_striped tr th,
table.theme_striped tr td {
padding: 0.1em 0.5em 0.1em 0.5em;
}
table.basic {
border-collapse: collapse;
border: 1px solid black;
}
table.basic th {
background-color: #CCC;
}
table.basic th.label {
text-align: left;
}
table.basic td,
table.basic th {
border: 1px solid black;
}
table.basic td.satisfied {
text-align: right;
background-color: #ccffcc;
}
table.basic td.not_satisfied {
text-align: right;
background-color: #ffcccc;
}
table.basic textarea {
width: 100%;
}
table.no-border td,
table.no-border th {
border: none;
}
/* ------------------------------------------------------------------------ */
/* PPV Report */
p.inline_input {
margin: 0;
padding: 0;
}
p.hanging_indent {
text-indent: -1.25em;
margin-left: 1.25em;
}
p.hanging_indent_long {
text-indent: -3em;
margin-left: 3em;
}
p.form_problem {
color: red;
font-weight: bold;
margin-bottom: 0;
}
p.form_problem:before {
content: '\\002193 ';
/* down-arrow */
}
table.ppv_reportcard {
border: solid thin black;
width: 95%;
}
table.ppv_reportcard td {
border: solid thin black;
}
/* ------------------------------------------------------------------------ */
/* Image Sources */
table.image_source {
border-collapse: collapse;
width: 90%;
margin: auto;
}
table.image_source th {
background-color: #eee;
border: 1px solid #999;
text-align: center;
padding: 5px;
}
table.image_source td {
border: 1px solid #999;
padding: 5px;
}
table.image_source td a.sourcelink {
font-size: 90%;
margin: 10px 0px 3px 25px;
}
table.image_source tr.e {
background-color: #eee;
}
table.image_source tr.o {
background-color: #ddd;
}
table.image_source th.label {
text-align: left;
}
table.image_source td.enabled {
background-color: #9f9;
text-align: center;
}
table.image_source td.disabled {
background-color: #ddd;
text-align: center;
}
table.image_source td.pending {
background-color: #ff8;
text-align: center;
}
div.perms_wrapper {
width: 40%;
display: inline-block;
border-bottom: dotted black 1px;
padding: 2px;
}
/* ------------------------------------------------------------------------ */
/* Page Detail */
table.pagedetail {
width: auto;
}
table.pagedetail th,
table.pagedetail td {
text-align: center;
font-weight: normal;
border: 1px solid black;
}
table.pagedetail td.in_progress {
background-color: #FC6;
}
table.pagedetail td.done_current {
background-color: #9F6;
}
table.pagedetail td.done_previous {
background-color: #F36;
}
/* ------------------------------------------------------------------------ */
/* Remote File Manager */
table.dirlist {
width: 100%;
}
table.dirlist .actions {
text-align: center!important;
}
table.dirlist caption {
text-align: left;
font-size: 111%;
margin-top: 0.5em;
padding: 5px;
}
/* ------------------------------------------------------------------------ */
/* Standard Editing Interface */
#standard_interface {
padding: 0;
margin: 0;
background-color: #CDC0B0;
}
#standard_interface #imagedisplay {
text-align: center;
}
/* ------------------------------------------------------------------------ */
/* Enhanced Editing Interface */
#enhanced_interface {
text-align: center;
overflow: hidden;
background-color: #CDCDC1;
}
#enhanced_interface #tbtext {
margin-left: auto;
margin-right: auto;
border-collapse: collapse;
border: 1px solid #000000;
overflow: auto;
}
#enhanced_interface #tdtop {
vertical-align: middle;
border: 1px solid #000000;
background-color: #CDC0B0;
padding: 2px;
}
#enhanced_interface #tdtext {
vertical-align: top;
border: 1px solid #000000;
background-color: #CDCDC1;
padding: 2px;
}
#enhanced_interface #tdbottom {
vertical-align: top;
border: 1px solid #000000;
background-color: #EEDFCC;
padding: 2px;
}
#enhanced_interface #text_data {
background-color: #FFF8DC;
color: #000000;
padding: 2px;
}
#enhanced_interface .dropsmall {
font-size: 75%;
background-color: #FFF8DC;
}
#enhanced_interface .boxnormal {
background-color: #FFF8DC;
}
/* ------------------------------------------------------------------------ */
/* WordCheck Interface */
#wordcheck_interface {
text-align: center;
background-color: #CDCDC1;
overflow: auto;
}
#wordcheck_interface #tbtext {
margin-left: auto;
margin-right: auto;
border: 1px solid #000000;
padding: 10px;
}
#wordcheck_interface #tdtop {
border: 1px solid #000000;
background-color: #CDC0B0;
padding: 2px;
}
#wordcheck_interface #tdtext {
vertical-align: top;
text-align: left;
border: 1px solid #000000;
background-color: #FFF8DC;
padding: 0.5em;
}
/* ------------------------------------------------------------------------ */
/* Proofreading Toolbox */
#toolbox {
margin: 0;
padding: 0;
text-align: center;
}
#toolbox a {
text-decoration: none;
color: #000000;
}
#toolbox .dropchars {
font-size: 1em;
background-color: #EEDFCC;
}
#toolbox .proofbutton {
text-align: center;
display: inline;
margin: 0 1px 1px 0;
padding-top: 1px;
cursor: pointer;
}
/* ------------------------------------------------------------------------ */
/* Special days tables */
table.list_special_days {
width: 90%;
margin: auto;
}
table.list_special_days td,
table.list_special_days th {
border: 1px solid #999;
padding: 3px;
}
table.list_special_days td.codecell {
vertical-align: middle;
text-align: center;
}
table.list_special_days th.headers {
padding: 0.5em;
}
table.list_special_days tr.e {
background-color: #eee;
}
table.list_special_days tr.o {
background-color: #ddd;
}
table.list_special_days td.enabled {
background-color: #9f9;
text-align: center;
}
table.list_special_days td.disabled {
background-color: #ddd;
text-align: center;
}
table.list_special_days td.center {
text-align: center;
}
table.list_special_days tr.month > * {
border: none;
border-bottom: solid 2px black;
}
table.list_special_days td.right,
table.list_special_days th.right {
text-align: right;
font-weight: normal;
}
table.list_special_days h2 {
margin: 1em auto auto auto;
text-align: left;
}
table.show_special_days th {
background-color: #eeeeee;
}
table.edit_special_day {
width: 90%;
margin: auto;
}
table.edit_special_day th,
table.edit_special_day td {
border: 1px solid black;
padding: 5px;
background-color: #eeeeee;
}
/* ------------------------------------------------------------------------ */
/* Search Form */
/* Container to wrap the search columns */
div.search-columns {
width: 99%;
overflow: auto;
text-align: center;
clear: both;
}
/* This sets everything into one column... */
table.search-column {
width: 99%;
/* Set the size of the row label to be consistent */
}
table.search-column tr th {
width: 8em;
}
/* ... and this says if the screen is >800px, make it two columns. */
@media only screen and (min-width: 800px) {
table.search-column {
width: 50%;
float: left;
}
table.search-column tr th {
width: auto;
}
}
/* ------------------------------------------------------------------------ */
/* Search Results drop-down */
.dropdown {
position: relative;
display: inline;
}
.dropdown-content {
display: none;
position: absolute;
top: 1.5em;
right: 0;
background-color: #f9f9f9;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
padding: 0.3em;
margin: 0 0 0 -15em;
border-radius: 0.3em;
z-index: 1;
}
/* button looking like a link */
.dropdown-button {
border: none;
padding: 1px;
background-color: transparent;
cursor: pointer;
font-family: initial;
font-size: initial;
text-decoration: underline;
}
.dropdown-show {
display: block;
}
/* ------------------------------------------------------------------------ */
/* PM link box */
#pm_links {
text-align: left;
vertical-align: top;
padding: 0 1em;
float: right;
margin-left: 0.5em;
margin-bottom: 0.5em;
border: 1px solid black;
}
#pm_links ul {
padding: 0;
}
#pm_links li {
list-style-type: none;
}
#pm_links h2 {
text-align: center;
font-size: 1em;
}
#pm_links li {
margin-top: 3px;
}
/* ------------------------------------------------------------------------ */
/* Page compare grid */
.grid-wrapper {
display: grid;
grid-template-columns: max-content max-content;
grid-column-gap: 2em;
grid-row-gap: 2px;
}
/* vim: sw=4 ts=4 expandtab
*/