Debian Codegraph @

gavo/resources/web/css/gavo_dc.css

raw
1 /* The default CSS for DaCHS web interface. See
2
3 http://docs.g-vo.org/DaCHS/tutorial.html#operator-css
4
5 before changing this file to effect local changes.
6
7 This stylesheet is made available under CC-0 by the GAVO project,
8 http://www.g-vo.org.
9 See http://creativecommons.org/publicdomain/zero/1.0/ for details.
10 */
11
12 body {
13 font-family: Arial, Verdana, Helvetica, sans-serif;
14 background: #FFFFFF;
15 color: #042E74;
16 font-size: 11pt;
17 }
18
19 th {
20 vertical-align: top;
21 }
22
23 p, li {
24 max-width: 40em;
25 }
26
27 div.metadescription {
28 max-width: 350pt;
29 margin-left: 20pt;
30 margin-right: 20pt;
31 background-color:#eeeeee;
32 padding-left: 12pt;
33 padding-right: 12pt;
34 padding-top: 5pt;
35 padding-bottom: 5pt;
36 }
37
38 .wrapuseservice {
39 float: right;
40 }
41
42 .useservice p {
43 margin-bottom: 0pt;
44 }
45
46 .useservice {
47 width: 150pt;
48 padding: 1ex;
49 background-color: #D2DCF0;
50 margin-bottom: 2ex;
51 margin-left: 2ex;
52 }
53
54 p.attribution {
55 max-width:100%;
56 width:100%;
57 text-align:right;
58 }
59
60 .errmsg {
61 font-style: italic;
62 max-width:50em;
63 padding-left: 1em;
64 border-left: 1em solid #cccccc;
65 }
66
67 .rdbacklink {
68 padding-left: 1em;
69 border-left: 1em solid #cccccc;
70 }
71
72 .wide {
73 max-width: 100%;
74 }
75
76 ul {
77 max-width: 30em;
78 }
79
80 code {
81 background-color: #EEEEEE;
82 }
83
84 pre {
85 background-color: #EEEEEE;
86 }
87
88 blockquote {
89 padding-left: 20pt;
90 border-left: 5pt solid #999;
91 }
92
93 form.sortArrow {
94 text-align:center;
95 }
96
97 button.transparent {
98 background-color: white;
99 display:inline;
100 border-style:None;
101 }
102
103 button.popButton {
104 background-color: white;
105 border: 1pt solid gray;
106 }
107
108 .silentlink {
109 border-style:None;
110 }
111
112 div#querysel {
113 position:absolute;
114 top: 0%;
115 right: 0%;
116 background-color: #FFFFFF;
117 padding-right:4pt;
118 padding-left:4pt;
119 }
120
121 p.description {
122 background-color: #EEDDDD;
123 }
124
125 div.clabel {
126 font-weight: bold;
127 background-color: white;
128 width: 200pt;
129 display: table-cell;
130 vertical-align:top;
131 }
132
133 div.legend {
134 padding: 2pt;
135 display: table-cell;
136 vertical-align: bottom;
137 font-size:80%;
138 text-align:right;
139 }
140
141 div.quwidget {
142 display: table-row;
143 vertical-align:top;
144 }
145
146 div.condition {
147 padding: 10pt;
148 display: table-row;
149 }
150
151 div.legal {
152 padding-top: 10pt;
153 font-size: 72%;
154 max-width: 30em;
155 }
156
157 table.results {
158 background-color: white;
159 }
160
161 .results tr td {
162 padding-left: 2pt;
163 padding-right: 4pt;
164 text-align: right;
165 }
166
167 .resultMeta {
168 background-color: #EEEEFF;
169 }
170
171 .fieldlegend {
172 font-size:72%;
173 vertical-align:top;
174 }
175
176 .invisible { /* for items for non-css browsers */
177 width: 0pt;
178 height: 0pt;
179 position: absolute;
180 top: -100pt;
181 }
182
183 span.generic-parameter {
184 display: inline-block;
185 border: 1pt solid #999;
186 padding: 2pt;
187 }
188
189 span.genparam-key {
190 color: #f55;
191 }
192
193 span.genparam-value {
194 font-family: monospace;
195 }
196
197 div#header, div#chdr {
198 background-color: #899dbf;
199 margin-bottom: 20pt;
200 min-height: 48pt;
201 overflow:hide;
202 width: 100%;
203 }
204
205 div#chdr {
206 position: absolute;
207 }
208
209 h1, h2, h3, h4, h5 { color: #666; }
210
211 h1 {
212 padding-top:9pt;
213 padding-bottom:5pt;
214 font-size: 17pt;
215 font-weight: bold;
216 font-family: sans-serif;
217 color: #042E74;
218 background-color: #F0F4FF;
219 padding-left: 0.5ex;
220 margin-top: 0pt;
221 z-index: 0;
222 overflow: hidden;
223 }
224
225 h2 {
226 font-size: 14pt;
227 font-weight: bold;
228 margin-top:24pt;
229 padding-top: 3pt;
230 }
231
232 h2.section {
233 border-top: 1pt dotted grey;
234 }
235
236 h3 { font-size: 12pt; font-weight: bold;}
237 h4 { font-size: 12pt}
238 h5 { font-size: 11pt; font-style: italic; }
239
240 h4.metacat {
241 font-size: 10pt;
242 background: none;
243 }
244
245 #header h1 {
246 display: inline;
247 color: white;
248 font-family: Helvetica,Arial;
249 font-weight: bold;
250 font-size: 20pt;
251 white-space: nowrap;
252 position: absolute;
253 background:none;
254 margin-top:10pt;
255 left:150pt;
256 overflow:hidden;
257 }
258
259 table.results {
260 empty-cells: show;
261 border-style: none;
262 border-spacing: 0pt;
263 }
264
265 table.keyvalue {
266 border-spacing: 1pt;
267 }
268
269 th.thHorizontal {
270 text-align: left;
271 background-color: #dddddd;
272 padding-right: 10pt;
273 position: relative;
274 }
275
276 .keyvalue tr td {
277 max-width: 400pt;
278 padding-left: 5pt;
279 }
280
281 .keyvaluedesc td {
282 text-align: left;
283 font-style: italic;
284 color: #707070;
285 padding-bottom: 7pt;
286 }
287
288 th.thVertical {
289 border-top: 1pt solid black;
290 border-bottom: 1pt solid black;
291 padding: 4pt 3pt 4pt 3pt;
292 margin: 4pt 0pt 4pt 0pt;
293 position: relative;
294 }
295
296 .results td {
297 padding: 3pt 4pt 2pt 4pt;
298 border-collapse: collapse;
299 border:2pt solid white;
300 }
301
302 tr.even {
303 padding-top:4pt;
304 padding-bottom:4pt;
305 background: #EEEEFF;
306 }
307
308 div#sidebar {
309 float: left;
310 width: 100pt;
311 background: #d2dcf0;
312 }
313
314 #sidebar p {
315 margin-top: 2pt;
316 margin-bottom: 2pt;
317 padding: 1pt;
318 }
319
320 .sidebaritem {
321 margin-bottom:12pt;
322 position: relative;
323 z-index:10;
324 }
325
326 .sidebarnote {
327 font-size: 90%;
328 padding-top:2ex;
329 border-top: 1pt solid grey;
330 margin-top:4ex;
331 }
332
333 .sidebarmicro {
334 font-size: 62%;
335 padding-top:2ex;
336 border-top: 1pt solid grey;
337 margin-top:4ex;
338 }
339
340 div#body {
341 min-width: 300pt;
342 width: 80%;
343 position: absolute;
344 border-left: 100pt solid #d2dcf0;
345 padding-left: 8pt;
346 float:left;
347 background:white;
348 }
349
350 .metaEnum {
351 list-style-type: none;
352 padding-left: 0pt;
353 margin-top: 0pt;
354 font-size: 10pt;
355 padding-left: 0.5em;
356 text-indent: -0.5em;
357 }
358
359 li.metaItem {
360 margin-bottom: 5pt;
361 }
362
363 /* defuse breakage with rst insisting on a p element around meta items */
364 .sidebarEnum li p {
365 margin: 4pt;
366 }
367
368
369 .sidebarlogo {
370 width:100pt;
371 }
372
373 .headlinelogo {
374 width: 100pt;
375 }
376
377 div.explodable {
378 width: 96pt;
379 height: 28pt;
380 overflow: hidden;
381 z-index: 1;
382 background:rgba(255,255,255,0.5);
383 margin-bottom: 5pt;
384 padding: 2pt;
385 box-shadow: inset -8pt -8pt 5pt #ccc;
386 }
387
388 div.explodable:hover {
389 overflow: visible;
390 height: auto;
391 width: 200pt;
392 z-index: 10;
393 background:rgba(255,255,255,0.9);
394 box-shadow: 8pt 8pt 5pt #888;
395 }
396
397 div.explodable * {
398 }
399
400 h4.exploHead {
401 margin-top: 5pt;
402 font-weight:bold;
403 font-size:10pt;
404 height: 13pt;
405 margin: 0pt;
406 padding: 0pt;
407 cursor: pointer;
408 overflow: visible;
409 white-space: nowrap;
410 padding: 2pt;
411 }
412
413 div.exploBody {
414 font-size: 10pt;
415 width: 200pt;
416 overflow: auto;
417 max-height: 300pt;
418 margin-bottom: 5pt;
419 }
420
421 .sidebaritem h3 {
422 font-size: 11pt;
423 margin-top:7pt;
424 margin-bottom:5pt;
425 background: #F0F4FF;
426 }
427
428 .sidebaritem div.navimainitem {
429 background: url(/static/img/grey-s.png);
430 border: 1pt solid silver;
431 margin: 4pt;
432 padding: 2pt;
433 text-align: center;
434 margin-bottom: 8pt;
435 }
436
437 div.navimainitem a {
438 text-decoration: none;
439 color: #042e74;
440 }
441
442 .sidebaritem a.button :hover {
443 text-decoration: underline;
444 }
445
446 .sidebaritem a.button :visited {
447 color: #9d11b3
448 }
449
450
451
452 div.copyright {
453 background-color: #cccccc;
454 padding: 5pt;
455 margin-top: 5pt;
456 max-width: 30em;
457 }
458
459 div.intro {
460 margin-bottom: 15pt;
461 max-width: 30em;
462 }
463
464 .nevow-form .multiinputs {
465 margin-left: 110px;
466 }
467
468 hr.scoreBar {
469 height: 10pt;
470 background-color: #44bb66;
471 margin-left: 0pt;
472 text-align: left;
473 }
474
475 .srvDesc {
476 font-size: 72%;
477 padding-left: 1em;
478 margin-bottom: 0.5ex;
479 }
480
481 table.shorttable {
482 border-spacing: 0pt;
483 border-collapse: collapse;
484 border-bottom: 1pt solid grey;
485 }
486
487 .shorttable * th {
488 border: 1pt solid grey;
489 padding:6pt 4pt 6pt 4pt;
490 }
491
492 .shorttable * td {
493 border-left: 1pt solid grey;
494 border-right: 1pt solid grey;
495 padding: 4pt;
496 }
497
498 .indexed {
499 background: #d2dcf0;
500 }
501
502 .warning {
503 border: 2pt solid red;
504 padding: 5pt;
505 margin-bottom: 5pt;
506 }
507
508 .note {
509 padding-left: 5pt;
510 border-left: 1pt solid gray;
511 }
512
513 .admonition-title {
514 font-style: italic;
515 }
516
517 div.errors {
518 border: 2pt solid red;
519 padding: 5pt;
520 margin-bottom: 5pt;
521 }
522
523
524 .metaItem p span.target {
525 font-size: 12pt;
526 font-weight: bold;
527 }
528
529 div.innerWin {
530 /* reset font parameters in case we're embedded somewhere funky */
531 text-decoration: none;
532 font-style: normal;
533 font-size: medium;
534 font-weight: normal;
535 overflow: hidden;
536 text-align: left;
537 background: #ffffff;
538 border: 1pt solid black;
539 z-index:100;
540 }
541
542 p.innerTitle {
543 z-index: 3000;
544 background: #d2dcf0;
545 text-align: right;
546 font-weight: bold;
547 margin: 0pt;
548 cursor: pointer;
549 width: auto;
550 max-width: none;
551 }
552
553 div.innerBody { /* like an iframe, except not in a frame */
554 border: 1pt solid #d2dcf0;
555 background: white;
556 overflow: auto;
557 padding: 0.3ex;
558 }
559
560 div.formLinks {
561 text-align:right;
562 margin-top: -10pt;
563 }
564
565 table#addSelection {
566 width:300pt;
567 }
568
569 table#addSelection tr td {
570 vertical-align: middle;
571 }
572
573 .footsep {
574 width: 30%;
575 left: 0pt;
576 margin-left: 0pt;
577 margin-top: 2ex;
578 color: #CCCCCC;
579 }
580
581 dl.footnotes {
582 border-top: 1pt solid black;
583 margin-top: 3ex;
584 }
585
586 *:target {
587 background: #ffc;
588 padding: 1ex;
589 }
590
591 dt {
592 margin-top: 1ex;
593 font-weight: bold;
594 }
595
596 .notehead {
597 font-weight: bold;
598 border-left: 3pt solid blue;
599 padding-left: 3pt;
600 margin-top: 2ex;
601 }
602
603 a.linkicon img {
604 border: none;
605 margin-bottom: -1pt;
606 }
607
608
609 img.logo {
610 padding: 0pt;
611 margin-bottom: 0pt;
612 width: 140pt;
613 }
614
615 table.docutils {
616 empty-cells: show;
617 border-style: none;
618 border-spacing: 0pt;
619 border-collapse: collapse;
620 border: 1pt solid #999999;
621 }
622
623 table.citation {
624 border-style: none;
625 }
626
627 table.stats-table {
628 font-size: 80%;
629 border-collapse: collapse;
630 }
631
632 .stats-table td, .stats-table th {
633 border: none;
634 background-color: #eee;
635 }
636
637 .docutils th {
638 padding-top: 0.8ex;
639 padding-bottom: 0.3ex;
640 border-style: none;
641 }
642
643 table.docutils td {
644 padding: 0.5ex;
645 border: 1pt solid #999999;
646 }
647
648 table.citation td {
649 border-style: none;
650 }
651
652 table.footnote {
653 border: none;
654 max-width: 30em;
655 }
656
657 .footnote-reference, .fn-backref {
658 position: relative;
659 font-size: 70%;
660 bottom: 4pt;
661 }
662
663 .footnote tbody tr td{
664 border: none;
665 }
666
667 table.field-list {
668 border-style: none;
669 }
670
671 table.field-list * td {
672 border-style: none;
673 padding: 0pt 1ex;
674 }
675
676 table.field-list * th {
677 border-style: none;
678 padding: 0pt 1ex;
679 }
680
681 a.servicelink {
682 text-decoration: none;
683 color: #3333AA;
684 }
685
686 a.servicelink:hover {
687 text-decoration: underline;
688 }
689
690 .busy:after {
691 content: ' (\231A)';
692 }
693
694 .hbox {
695 white-space:nowrap;
696 margin-left: 1ex;
697 }
698
699
700 input.formkey_min {width:4em}
701 input.formkey_max {width:4em}
702 span.formkey_min:before { content:" between "; }
703 span.formkey_max:before { content:" and "; }
704
705 /* fairly simple tabs (see develNotes) */
706 ul#tabset_tabs {
707 position: relative;
708 display: block;
709 list-style: none;
710 padding-left: 0pt;
711 padding-bottom: 0pt;
712 margin-bottom: 0pt;
713 margin-left: 5pt;
714 max-width: none;
715 overflow: hidden;
716 }
717
718 ul#tabset_tabs li {
719 cursor: pointer;
720 display: inline-block;
721 line-height: 1;
722 margin-right: 0.245em;
723 background: #DADDE3 url(/static/img/tab-tl.png) no-repeat top left;
724 vertical-align: top;
725 }
726
727 ul#tabset_tabs li.selected {
728 background: #EAEBEE url(/static/img/round-tl.png) no-repeat top left;
729 }
730
731 ul#tabset_tabs li.selected a {
732 height: 1.5em;
733 color: #1f2126;
734 background: #EAEBEE url(/static/img/round-tr.png) no-repeat top right;
735 }
736
737 ul#tabset_tabs li span {
738 color: #616571;
739 }
740
741 ul#tabset_tabs li a {
742 height: 1.5em;
743 color: #365D95;
744 display: block;
745 padding: 0.515em 1.3em 0.215em 0.8em;
746 background: #DADDE3 url(/static/img/tab-tr.png) no-repeat top right;
747 margin-left: 0.5em;
748 font-size: 0.9em;
749 font-weight: bold;
750 text-decoration: none;
751 overflow: hidden;
752 }
753
754 ul#tabset_tabs li a:hover, ul#tabset_tabs li a:active {
755 color: #1f2126;
756 }
757
758 span.array {
759 width: 4em;
760 display: block;
761 overflow: hidden;
762 max-height: 4ex;
763 }
764
765 span.array:hover {
766 position: absolute;
767 background-color: white;
768 max-height: 300ex;
769 max-width: 20em;
770 width: auto;
771 padding: 1ex;
772 text-align:left;
773 border: 2pt solid #999999;
774 box-shadow: 8pt 8pt 5pt #888;
775 }
776
777 /* Hierarchical menu, see enableMenu in the JS */
778
779 ul.multi-level-menu {
780 position:absolute;
781 list-style-type: none;
782 margin: 0;
783 padding: 4pt;
784 border: 1pt solid #bbb;
785 background-color: white;
786 display: block;
787 }
788
789 ul.multi-level-menu ul {
790 margin: 0;
791 padding: 0;
792 position: absolute;
793 display: none;
794 list-style-type: none;
795 border: 1pt solid #bbb;
796 z-index: 10;
797 background-color: white;
798 }
799
800 ul.multi-level-menu li {
801 position: relative;
802 display: block;
803 background-color: white;
804 padding: 4pt 7pt;
805 white-space: nowrap;
806 }
807
808 ul.multi-level-menu li:hover {
809 background-color: #57a4f4;
810 }
811
812 ul.multi-level-menu li:hover > ul {
813 display: block;
814 top: 5pt;
815 left: 2cm;
816 }
817
818
819 /* jquery css */
820
821 /* Layout helpers
822 ----------------------------------*/
823 .ui-helper-hidden {
824 display: none;
825 }
826 .ui-helper-hidden-accessible {
827 border: 0;
828 clip: rect(0 0 0 0);
829 height: 1px;
830 margin: -1px;
831 overflow: hidden;
832 padding: 0;
833 position: absolute;
834 width: 1px;
835 }
836 .ui-helper-reset {
837 margin: 0;
838 padding: 0;
839 border: 0;
840 outline: 0;
841 line-height: 1.3;
842 text-decoration: none;
843 font-size: 100%;
844 list-style: none;
845 }
846 .ui-helper-clearfix:before,
847 .ui-helper-clearfix:after {
848 content: "";
849 display: table;
850 border-collapse: collapse;
851 }
852 .ui-helper-clearfix:after {
853 clear: both;
854 }
855 .ui-helper-clearfix {
856 min-height: 0; /* support: IE7 */
857 }
858 .ui-helper-zfix {
859 width: 100%;
860 height: 100%;
861 top: 0;
862 left: 0;
863 position: absolute;
864 opacity: 0;
865 filter:Alpha(Opacity=0); /* support: IE8 */
866 }
867
868 .ui-front {
869 z-index: 100;
870 }
871
872
873 /* Interaction Cues
874 ----------------------------------*/
875 .ui-state-disabled {
876 cursor: default !important;
877 }
878
879
880 /* Icons
881 ----------------------------------*/
882
883 /* states and images */
884 .ui-icon {
885 display: block;
886 text-indent: -99999px;
887 overflow: hidden;
888 background-repeat: no-repeat;
889 }
890
891
892 /* Misc visuals
893 ----------------------------------*/
894
895 .linkAnchor {
896 text-decoration: none;
897 }
898
899 /* Overlays */
900 .ui-resizable {
901 position: relative;
902 }
903 .ui-resizable-handle {
904 position: absolute;
905 font-size: 0.1px;
906 display: block;
907 -ms-touch-action: none;
908 touch-action: none;
909 }
910 .ui-resizable-disabled .ui-resizable-handle,
911 .ui-resizable-autohide .ui-resizable-handle {
912 display: none;
913 }
914 .ui-resizable-n {
915 cursor: n-resize;
916 height: 7px;
917 width: 100%;
918 top: -5px;
919 left: 0;
920 }
921 .ui-resizable-s {
922 cursor: s-resize;
923 height: 7px;
924 width: 100%;
925 bottom: -5px;
926 left: 0;
927 }
928 .ui-resizable-e {
929 cursor: e-resize;
930 width: 7px;
931 right: -5px;
932 top: 0;
933 height: 100%;
934 }
935 .ui-resizable-w {
936 cursor: w-resize;
937 width: 7px;
938 left: -5px;
939 top: 0;
940 height: 100%;
941 }
942 .ui-resizable-se {
943 cursor: se-resize;
944 width: 12px;
945 height: 12px;
946 right: 1px;
947 bottom: 1px;
948 }
949 .ui-resizable-sw {
950 cursor: sw-resize;
951 width: 9px;
952 height: 9px;
953 left: -5px;
954 bottom: -5px;
955 }
956 .ui-resizable-nw {
957 cursor: nw-resize;
958 width: 9px;
959 height: 9px;
960 left: -5px;
961 top: -5px;
962 }
963 .ui-resizable-ne {
964 cursor: ne-resize;
965 width: 9px;
966 height: 9px;
967 right: -5px;
968 top: -5px;
969 }
970
971 div#footer {
972 background-color: #F0F4FF;
973 margin-top: 2ex;
974 padding: 2pt;
975 }
976
977 div#footer p {
978 margin-top:2pt;
979 margin-bottom:2pt;
980 }
981
982 img.svc-coverage {
983 width: 300pt;
984 }
985
986 img.preview {
987 max-width: 200pt;
988 max-height: 150pt;
989 }