Debian Codegraph @

sat_templates/templates/default/static/styles.css

raw symbols SCIP
1 /*************
2 * Constants *
3 *************/
4
5 :root {
6 --box-bg-color: #efefef;
7 --box--expand_limit: 20rem;
8 --box--expand_height-min: 9rem;
9 --select-bg-color: #ddd;
10 --size-small: 1.5rem;
11 --size-medium: 3rem;
12 --color-prim: #fafafa;
13 --color-prim--light: #ffffff;
14 --color-prim--dark: #c7c7c7;
15 --color-sec: #448aff;
16 --color-sec--light: #83b9ff;
17 --color-sec--dark: #005ecb;
18 --color-warning: #8a0000;
19 }
20
21 /*****************
22 * Main Elements *
23 *****************/
24
25 html {
26 font-family: "sat-base-font";
27 line-height: 1.6;
28 }
29
30 body {
31 margin: 0;
32 padding: 0;
33 display: flex;
34 height: 100vh;
35 flex-direction: column;
36 box-sizing: border-box;
37 }
38
39 blockquote {
40 margin: 1em 0;
41 padding-left: 0.3em;
42 border-left: 0.3rem solid #CCC;
43 }
44
45 code {
46 border: solid 1px #DDD;
47 padding: 0.2em;
48 }
49
50 iframe {
51 border: 0;
52 width: 100%;
53 /* this value is used when js is not enabled */
54 height: 100%;
55 }
56
57 address {
58 font-style: inherit;
59 }
60
61 #main_area {
62 flex: 1;
63 display: flex;
64 flex-direction: column;
65 box-sizing: border-box;
66 }
67
68 #body {
69 flex: 1;
70 position: relative;
71 }
72
73 .page__footer {
74 text-align: center;
75 font-size: 0.7em;
76 font-weight: bold;
77 padding: 0.8em 0 0.2em 0;
78 }
79
80 .page__footer span {
81 background: white;
82 padding: 0 0.3em;
83 border-radius: 0.5em;
84 }
85
86 .post_confirm {
87 text-align: center;
88 background-color: lightgreen;
89 padding: 1em;
90 font-size: 1.2em;
91 font-weight: bold;
92 width: 60%;
93 margin: 1.5em auto;
94 }
95
96 /**********
97 * States *
98 **********/
99
100 .state_init {
101 cursor: pointer;
102 }
103
104 .other_lang.state_init>* {
105 display: none;
106 }
107
108 .show_if_init {
109 display: none;
110 }
111
112 .state_init.show_if_init {
113 /* unset is not working well here (it uses "inline", not element default) */
114 display: block;
115 }
116
117 .show_if_parent_init {
118 display: none;
119 }
120
121 .state_init>.show_if_parent_init {
122 display: block;
123 }
124
125 .show_if_parent_clicked {
126 display: none;
127 }
128
129 .state_clicked>.show_if_parent_clicked {
130 /* cf. .show_if_init */
131 display: block;
132 }
133
134 .state_clicked>span.show_if_parent_clicked {
135 /* cf. .show_if_init */
136 display: inline;
137 }
138
139 .state_clicked>.show_if_parent_not_clicked {
140 display: none;
141 }
142
143 .show_if_grandparent_clicked {
144 display: none;
145 }
146
147 .state_clicked>*>.show_if_grandparent_clicked {
148 /* cf. .show_if_init */
149 display: block;
150 }
151
152 .state_clicked>*>.show_if_grandparent_not_clicked {
153 display: none;
154 }
155
156 /***********
157 * Generic *
158 ***********/
159
160 /** Common Sizes **/
161
162 /** Buttons **/
163
164 .btn {
165 padding: 0.3em 0.5em;
166 background-color: #222;
167 color: white;
168 border: 1px solid #555;
169 border-radius: 0.8em;
170 font-weight: bold;
171 }
172
173
174 .btn:hover {
175 background-color: var(--color-sec);
176 }
177
178 .btn-fold {
179 border: none;
180 border-radius: 1em;
181 background-color: var(--color-prim--light);
182 color: #727272;
183 font-weight: bold;
184 font-variant: small-caps;
185 padding: 0;
186 cursor: pointer;
187 }
188
189 .btn-fold:hover {
190 font-weight: bold;
191 }
192
193 .btn:disabled {
194 color: #fff;
195 background-color: #eee;
196 border-color: #aaa;
197 }
198
199 .center {
200 text-align: center;
201 }
202
203 /** Labels **/
204
205 .labels {
206 text-align: right;
207 white-space: nowrap;
208 }
209
210 .labels a {
211 text-decoration: none;
212 color: inherit;
213 }
214
215 .labels span {
216 font-variant: small-caps;
217 font-size: 0.8rem;
218 background-color: #ddd;
219 border-radius: 0.4em;
220 padding: 0 0.5em;
221 transition: all 0.5s;
222 }
223
224 .labels a>span {
225 cursor: pointer;
226 }
227
228 .labels a>span:hover {
229 box-shadow: 0px 0px 6px 1px #000;
230 }
231
232 /** text **/
233
234 .text--warning {
235 font-weight: bold;
236 color: var(--color-warning);
237 }
238
239 .text--emphasis {
240 font-weight: bold;
241 }
242
243 .text--light-emphasis {
244 text-decoration: underline;
245 }
246
247 .text--clickable {
248 color: inherit;
249 text-decoration: None;
250 }
251
252 .text--clickable:hover {
253 background-color: var(--select-bg-color);
254 }
255
256 /** heading **/
257
258 .heading__subtitle {
259 font-size: 2em;
260 text-align: center;
261 }
262
263 .heading--plain {
264 background: var(--color-sec--light);
265 }
266
267
268 .heading--paper {
269 font-variant: small-caps;
270 }
271
272 /** instructions **/
273
274 .instructions--head {
275 font-size: 1.5em;
276 text-align: center;
277 }
278
279 .instructions--border {
280 border: 0.2em solid #ccc;
281 }
282
283 .instructions--alt {
284 text-align: center;
285 font-style: italic;
286 }
287
288 /** descriptions **/
289
290 .description {
291 padding: 1em;
292 text-align: center;
293 font-size: 1.2em;
294 }
295
296 .description--emphasis {
297 font-weight: bold;
298 }
299
300 /** images **/
301
302 .img--center{
303 display: block;
304 margin: 0 auto;
305 max-width: 100%;
306 }
307
308 .img--float-left {
309 float: left;
310 }
311
312 .img--float-right {
313 float: right;
314 }
315
316 .img--inline {
317 vertical-align: middle;
318 }
319
320 .img--inline-bottom {
321 vertical-align: bottom;
322 }
323
324 .img--very-small {
325 height: 2em;
326 }
327
328 .img--small {
329 height: 100px;
330 }
331
332 .img--medium {
333 height: 10rem;
334 }
335
336 .img--large {
337 width: 40rem;
338 }
339
340 /** other language **/
341
342 .other_lang.state_init>div.info>p {
343 margin: 0;
344 padding: 0.2em;
345 text-align: center;
346 font-style: italic;
347 }
348
349 /** misc **/
350
351 .items_vert--centered {
352 display: flex;
353 flex-direction: column;
354 align-items: center;
355 }
356
357 .link--center {
358 display: block;
359 text-align: center;
360 }
361
362 .inline {
363 display: inline;
364 }
365
366 /*********
367 * pages *
368 *********/
369
370 .page__title {
371 text-align: center;
372
373 }
374
375 /*********
376 * boxes *
377 *********/
378
379 .box {
380 background: var(--color-prim--light);
381 position: relative;
382 margin: 0 auto;
383 padding: 0.3rem;
384 max-width: 100em;
385 }
386
387 .box__content {
388 text-align: justify;
389 }
390
391 .box__content img {
392 margin: 0;
393 max-width: 100%;
394 }
395
396 .box__content video {
397 max-width: 100%;
398 height: auto;
399 }
400
401 .box__content--plaintext {
402 white-space: pre-wrap;
403 }
404
405 .box--large {
406 max-width: 60rem;
407 }
408
409 .box--plain {
410 background-color: var(--box-bg-color);
411 }
412
413 .box--medium {
414 max-width: 50rem;
415 }
416
417 .box--small {
418 max-width: 20rem;
419 }
420
421 .box--hollow {
422 border-radius: 0;
423 border-style: solid;
424 border-color: silver;
425 border-width: 1px 0;
426 }
427
428 .box--paper {
429 text-align: justify;
430 font-variant: small-caps;
431 border: none;
432 }
433
434 .box--comment {
435 max-width: 40rem;
436 background: var(--color-prim);
437 }
438
439 .box--middle {
440 margin-left: auto;
441 margin-right: auto;
442 }
443
444 .box--center {
445 display: flex;
446 align-items: center;
447 justify-content: center;
448 flex-direction: column;
449 }
450
451 .box--zero {
452 /* box with no padding or decoration, used when we want only the margin */
453 border: none;
454 padding: 0;
455 }
456
457 .box--expand {
458 /* a box which is folded when too big */
459 max-height: var(--box--expand_limit);
460 overflow: hidden;
461 transition: max-height 0.5s;
462 }
463
464 .box--quarter-screen{
465 min-height: 25vh;
466 }
467
468 .box--third-screen{
469 min-height: 33vh;
470 }
471
472 .box--half-screen{
473 min-height: 50vh;
474 }
475
476 .box--screen{
477 /* box taking a whole screen */
478 min-height: 100vho
479 }
480
481 .box__expand_zone {
482 /* zone to click to expand/fold the box */
483 cursor: pointer;
484 position: absolute;
485 left: 0;
486 width: 100%;
487 transition: opacity 0.5s;
488 }
489
490 .box__expand_zone--top {
491 top: 0;
492 }
493
494 .box__expand_zone--bottom {
495 bottom: 0;
496 }
497
498 .box__expand_zone p {
499 background-color: white;
500 margin: 0;
501 text-align: center;
502 font-size: 0.8em;
503 font-variant: small-caps;
504 }
505
506 .state_clicked>.box__expand_zone {
507 opacity: 0;
508 }
509
510 .state_clicked>.box__expand_zone:hover {
511 opacity: 1;
512 }
513
514 .box__expand_zone--bottom::before {
515 /* we do a gradient to show that text can be expanded */
516 background-image: linear-gradient(to bottom,rgba(255,255,255,0),#ffffff);
517 display: block;
518 content: "";
519 width: 100%;
520 height: 4em;
521 border: none;
522 }
523
524 .state_clicked>.box__expand_zone--bottom::before {
525 display: none;
526 }
527
528 .box__tools {
529 /* toolbar in a box */
530 margin: 0;
531 padding: 0;
532 }
533
534 .box__tools a {
535 text-decoration: none;
536 color: inherit;
537 padding: 0.2em;
538 border-radius: 0.4em;
539 }
540
541 .box__tools a:hover {
542 background-color: var(--select-bg-color);
543 }
544
545 .box__under {
546 /* block under a box showing action buttons */
547 border: none;
548 padding-top: 0;
549 padding-bottom: 0;
550 text-align: right;
551 }
552
553 /********
554 * Blog *
555 ********/
556
557 .blog__title {
558 font-weight: bold;
559 text-align: center;
560 }
561
562 .blog__title a {
563 color: inherit;
564 text-decoration: inherit;
565 }
566
567 .blog__metadata {
568 text-align: right;
569 }
570
571 .blog__author {
572 font-weight: bold;
573 }
574
575 .blog__author a {
576 color: inherit;
577 text-decoration: inherit;
578 }
579
580 .blog__author::after {
581 content: ", ";
582 }
583
584 .blog__date {
585 }
586
587 .blog__date a {
588 color: inherit;
589 text-decoration: inherit;
590 }
591
592 /**********
593 * Panels *
594 **********/
595
596 .panel-drawer {
597 /* A panel which is hidden by default but can be
598 opened when it's clicked */
599 max-height: 0;
600 opacity: 0;
601 overflow: hidden;
602 transition: max-height 0.5s, opacity 0.5s;
603 }
604
605 .panel-drawer.state_clicked {
606 opacity: 1;
607 }
608
609 /**********
610 * blocks *
611 **********/
612
613 .block_separator {
614 font-size: 1.4em;
615 display: flex;
616 }
617
618 .block_separator__label {
619 display: inline-block;
620 margin: 0 0.2em;
621 }
622
623 .block_separator__line {
624 height: 1px;
625 background: #ccc;
626 flex: 1;
627 margin-top: 0.7em;
628 }
629
630 /*********
631 * lists *
632 *********/
633
634 .list {
635 padding: 0;
636 list-style: none;
637 display: flex;
638 flex-direction: column;
639 margin: 0;
640 }
641
642 .list--features {
643 font-variant: small-caps;
644 }
645
646 .list--features svg {
647 margin-right: 0.5em;
648 }
649
650 .list--inline {
651 flex-direction: row;
652 margin: 0;
653 }
654
655 .list__item {
656 margin: 0.5em;
657 }
658
659 .list__item>a {
660 text-decoration: none;
661 color: inherit;
662 }
663
664 .list__item--selected {
665 font-weight: bold;
666 text-decoration: underline;
667 }
668
669 .list__item--show-links>a {
670 text-decoration: underline;
671 color: inherit;
672 }
673
674 .list__item--show-links>a:hover {
675 color: var(--color-sec--dark);
676 }
677
678 /*********
679 * Grids *
680 *********/
681
682 .grid {
683 display: flex;
684 flex-wrap: wrap;
685 padding: 0;
686 }
687
688 ul.grid {
689 list-style: none;
690 }
691
692 .grid--center {
693 justify-content: center;
694 }
695
696 .grid__item {
697 overflow: hidden;
698 margin: 0 0.1em;
699 padding: 0.2em;
700 text-align: center;
701 }
702
703 li.grid__item>a {
704 text-decoration: none;
705 color: inherit;
706 }
707
708 .grid__item--small {
709 width: 80px;
710 }
711
712 .grid__item--medium {
713 width: 170px;
714 }
715
716 .grid__item--auto {
717 }
718
719 .grid__item--selectable {
720 cursor: pointer;
721 }
722
723 .grid__item--selectable:hover {
724 background-color: var(--select-bg-color);
725 }
726
727 /**********
728 * Tables *
729 **********/
730
731 .table--main {
732 margin: 1em auto;
733 border-collapse: collapse;
734 text-align: center;
735 }
736
737 .table--main th {
738 font-variant: small-caps;
739 border: 1px solid;
740 padding: 0.5em;
741 }
742
743 .table--main td {
744 border: 1px solid;
745 padding: 0 0.5em;
746 }
747
748 .table__total {
749 font-variant: small-caps;
750 }
751
752 .table__total_value {
753 font-weight: bold;
754 }
755
756 /***********
757 * Avatars *
758 ***********/
759
760 .avatar {
761 height: 2rem;
762 width: 2rem;
763 align-content: center;
764 justify-content: center;
765 border-radius: 0.2rem;
766 }
767
768 .avatar--generated{
769 display: inline-flex;
770 flex-direction: column;
771 }
772
773 .avatar--float-left {
774 float: left;
775 margin-right: 0.3em;
776 }
777
778 .avatar__content {
779
780 }
781
782 .avatar--medium {
783 height: var(--size-medium);
784 width: var(--size-medium);
785 border-radius: 0.5rem;
786 }
787
788 .avatar--generated {
789 text-align: center;
790 background: #43d2f6;
791 }
792
793 /*********
794 * icons *
795 *********/
796
797 .icon--block {
798 display: block;
799 margin: 0 auto;
800 }
801
802 .icon--text {
803 height: 1em;
804 vertical-align: middle;
805 }
806
807 .icon--small {
808 height: var(--size-small);
809 }
810
811 .icon--medium {
812 height: var(--size-medium);
813 }
814
815 .icon--soft {
816 fill: #777;
817 }
818
819 .icon__name {
820
821 }
822
823 /************
824 * Messages *
825 ************/
826
827 .message--info {
828 max-width: 500px;
829 margin: 0 auto;
830 padding: 1em;
831 text-align: justify;
832 }
833
834 .message--info pre {
835 background: #ddd;
836 padding: 1em;
837 }
838
839 .message--note {
840 max-width: 500px;
841 margin: 0 auto;
842 padding: 1em;
843 text-align: center;
844 }
845
846 /*********
847 * Menus *
848 *********/
849
850 .menu ul {
851 display: flex;
852 margin-top: 8px;
853 list-style: none;
854 }
855
856 .menu a {
857 display: block;
858 color: inherit;
859 text-decoration: none;
860 font-variant: small-caps;
861 }
862
863 .main_menu {
864 min-width: 200px;
865 background-color: #333;
866 color: white;
867 overflow: auto;
868 display: flex;
869 flex-direction: column;
870 flex-shrink: 0;
871 justify-content: space-between;
872 padding-bottom: 0.5em;
873 }
874
875 .main_menu ul {
876 flex-direction: row;
877 flex-wrap: wrap;
878 margin-bottom: 0.2em;
879 }
880
881 .main_menu li {
882 flex: 1;
883 padding: 0;
884 margin: 0 0.5em;
885 }
886
887 .main_menu a {
888 display: inline;
889 white-space: nowrap;
890 }
891
892 .main_menu a:hover {
893 background-color: initial;
894 text-shadow: 1px 1px 2px;
895 font-weight: bold;
896 }
897
898 .menu__language {
899 display: flex;
900 flex-direction: row;
901 justify-content: center;
902 padding: 0 0.3em;
903 }
904
905 .menu__language select {
906 border: none;
907 font-size: 0.8em;
908 }
909
910 .menu__language button {
911 display: none;
912 border: none;
913 background-color: var(--color-prim--light);
914 margin-left: 1em;
915 font-size: 0.8em;
916 }
917
918 .menu__language button:hover {
919 background-color: var(--color-prim--dark);
920 cursor: pointer;
921 }
922
923 .category_menu ul {
924 justify-content: center;
925 }
926
927 .category_menu li {
928 margin: 0.5em;
929 text-align: center;
930 }
931
932 .category_menu a {
933 border: solid 1px;
934 padding: 0.5em;
935 border-radius: 0.2em;
936 background: #eee;
937 }
938
939 /**************
940 * containers *
941 **************/
942
943 /* tabs */
944
945 .tab__container {
946 max-width: 1000px;
947 margin: 0 auto;
948 }
949
950 .tab__header {
951 background-color: white;
952 border-bottom: 1px solid lightgrey;
953 }
954
955 .tab__header ul {
956 display: flex;
957 margin: 0;
958 padding: 0;
959 list-style: none;
960 background-color: white;
961 }
962
963 .tab__page {
964 box-sizing: border-box;
965 padding-top: 2em;
966 border: 1px solid lightgrey;
967 border-top: none;
968 display: None;
969 }
970
971 .tab__page.state_clicked {
972 display: block;
973 }
974
975 .tab__btn {
976 display: inline;
977 color: grey;
978 background-color: white;
979 border-top: 1px solid lightgrey;
980 border-left: 1px solid lightgrey;
981 border-bottom: 1px solid lightgrey;
982 padding: 0 1em;
983 cursor: pointer;
984 /* we go down by 1px to remove bottom border from .tab_header */
985 margin-bottom: -1px;
986 }
987
988 .tab__btn.state_clicked {
989 /* background: lightgrey; */
990 color: inherit;
991 border-bottom: none;
992 }
993
994 li.tab__btn:last-child {
995 border-right: 1px solid lightgrey;
996 }
997
998 .tab__btn input {
999 display: None;
1000 }
1001
1002 .tab__btn label {
1003 margin: 1em;
1004 }
1005
1006 .tab__button input:checked + label {
1007 font-weight: bold;
1008 }
1009
1010 /*********
1011 * Forms *
1012 *********/
1013
1014 /* a form with only one field */
1015
1016 .form--paper label {
1017 font-variant: small-caps;
1018 }
1019
1020 .form--paper label.required:after {
1021 content: " *";
1022 font-weight: bold;
1023 }
1024
1025 .form--paper textarea {
1026 resize: vertical;
1027 }
1028
1029 .form--single {
1030 display: flex;
1031 justify-content: center;
1032 align-items: center;
1033 flex-direction: column;
1034 }
1035
1036 .form--single input:not([type="submit"]) {
1037 margin: 1em 1em;
1038 width: 15em;
1039 border-radius: 0.7em;
1040 outline: none;
1041 border: 1px solid black;
1042 padding: 0.4em;
1043 box-shadow: none;
1044 }
1045
1046 .form--single .form_input {
1047 display: flex;
1048 justify-content: center;
1049 align-items: center;
1050 flex-direction: column;
1051 }
1052
1053
1054 .form_submit {
1055 margin: 1em auto 0;
1056 display: block;
1057 }
1058
1059 .form--single .form_submit {
1060 margin: 0;
1061 }
1062
1063 .form_jid {
1064 text-align: center;
1065 }
1066
1067 .form__panel--vertical {
1068 display: flex;
1069 flex-direction: column;
1070 padding: 2em 0;
1071 }
1072
1073 .form__panel--vertical label {
1074 display: block;
1075 }
1076
1077 .form__panel--vertical .form_input {
1078 margin: 0.5em 0;
1079 }
1080
1081 .form__panel--center label,
1082 .form__panel--center textarea,
1083 .form__panel--center select,
1084 .form__panel--center input:not([type="radio"])
1085 {
1086 display: block;
1087 margin-left: auto;
1088 margin-right: auto;
1089 }
1090
1091 .form__panel--center label {
1092 text-align: center;
1093 }
1094
1095 .form__field--tiny>input,
1096 select.form__field--tiny
1097 {
1098 box-sizing: border-box;
1099 width: 3em;
1100 }
1101
1102 .form__field--small>input,
1103 select.form__field--small
1104 {
1105 box-sizing: border-box;
1106 width: 20em;
1107 max-width: 95%;
1108 }
1109
1110 .form__field--medium>input,
1111 select.form__field--medium
1112 {
1113 box-sizing: border-box;
1114 width: 50em;
1115 max-width: 95%;
1116 }
1117
1118 .form__field--big>input,
1119 .form__field--big>textarea,
1120 select.form__field--big
1121 {
1122 box-sizing: border-box;
1123 width: 100%;
1124 }
1125
1126 /*************
1127 * Textboxes *
1128 *************/
1129
1130 .textbox {
1131 margin-left: auto;
1132 margin-right: auto;
1133 }
1134
1135 form.textbox>* {
1136 display: block;
1137 margin: 1em auto;
1138 text-align: center;
1139 max-width: 100%;
1140 box-sizing: border-box;
1141 }
1142
1143 form.textbox>textarea {
1144 text-align: left;
1145 }
1146
1147 .log_request {
1148 text-align: center;
1149 }
1150
1151 /*****************
1152 * paired slides *
1153 ****************/
1154
1155 .paired-slides {
1156 display: flex;
1157 flex-direction: row;
1158 flex-wrap: wrap;
1159 }
1160
1161 div.paired-slides:nth-child(odd) {
1162 flex-direction: row-reverse;
1163 }
1164
1165 .paires-slides
1166
1167
1168 /**************
1169 * Navigation *
1170 **************/
1171
1172 .prev_next ul {
1173 list-style: none;
1174 display: flex;
1175 padding: 0;
1176 margin: 0;
1177 }
1178
1179 .prev_next li {
1180 flex: 1;
1181 }
1182
1183 .prev_next li.prev_next__next {
1184 text-align: right;
1185 }
1186
1187
1188 .prev_next a {
1189 display: inline-block;
1190 margin-top: 1em;
1191 padding: 0.2em;
1192 text-decoration: None;
1193 color: inherit;
1194 font-variant: small-caps;
1195 background-color: var(--color-prim--light);
1196 border-radius: 0.5em;
1197 }
1198
1199 .prev_next a:hover {
1200 background-color: #ddd;
1201 }
1202
1203 /*********
1204 * XMLUI *
1205 *********/
1206
1207 .xmlui_cont_vertical>* {
1208 display: block;
1209 box-sizing: border-box;
1210 }
1211
1212 .xmlui_cont_vertical>.xmlui_widget {
1213 width: 100%;
1214 min-height: 1em;
1215 min-width: 1px;
1216 }
1217
1218 label.xmlui_label {
1219 font-weight: bold;
1220 }
1221
1222 ul.xmlui_list {
1223 list-style: none;
1224 display: flex;
1225 flex-direction: column;
1226 padding: 0;
1227 }
1228
1229 .xmlui_list li {
1230 display: inline-flex;
1231 background: #eee;
1232 padding: 0.5em;
1233 margin: 0.5em 0;
1234 border: 1px solid silver;
1235 }
1236
1237 .xmlui_list li:hover {
1238 background: yellow;
1239 }
1240
1241 .xmlui_list a {
1242 display: flex;
1243 width: 100%;
1244 text-decoration: none;
1245 color: inherit;
1246 }
1247
1248 .xmlui_list a:visited {
1249 color: inherit;
1250 }
1251
1252 .xmlui_field__id {
1253 font-style: italic;
1254 padding-right: 1em;
1255 }
1256
1257 .xmlui_field__title {
1258 padding-right: 1em;
1259 }
1260
1261
1262
1263 td a {
1264 /* we use <a> for non JS links in table
1265 * so we don't want specific color/text-decoration by default
1266 */
1267 color: inherit;
1268 text-decoration: inherit;
1269 }
1270
1271
1272 /*****************
1273 * Notifications *
1274 *****************/
1275
1276
1277 .notification {
1278 text-align: center;
1279 padding: 1em;
1280 font-size: 1.2em;
1281 font-weight: bold;
1282 width: 60%;
1283 margin: 1.5em auto;
1284 }
1285
1286 .notification--warning {
1287 background-color: red;
1288 }
1289
1290 .notification.retry {
1291 /* FIXME: inconcistent naming */
1292 position: fixed;
1293 top: 1rem;
1294 margin: auto;
1295 width: 80%;
1296 background: #DB1616;
1297 border: 3px solid silver;
1298 left: 10%;
1299 text-align: center;
1300 }
1301
1302 #retry_counter {
1303 font-weight: bold;
1304 }
1305
1306 #retry_now {
1307 color: blue;
1308 text-decoration: underline;
1309 cursor: pointer;
1310 }
1311
1312 @media (min-width: 800px) {
1313
1314 /*****************
1315 * Main Elements *
1316 *****************/
1317
1318 html {
1319 background-size: auto;
1320 }
1321
1322 body {
1323 flex-direction: row;
1324 }
1325
1326 #main_area {
1327 overflow: auto;
1328 }
1329
1330 /***********
1331 * Generic *
1332 ***********/
1333
1334 .btn-fold {
1335 padding: 0.3em;
1336 }
1337
1338 /** instructions **/
1339
1340 .instructions--alt {
1341 padding-top: 3rem;
1342 margin-bottom: 3rem;
1343 }
1344
1345
1346 /*********
1347 * boxes *
1348 *********/
1349
1350 .box {
1351 border-radius: 0.2em;
1352 box-shadow: 2px 4px 4px 0px rgba(0,0,0,0.2);
1353 margin: 1em auto;
1354 border: solid 1px;
1355 border-color: #9ca0a8;
1356 }
1357
1358 .box--medium {
1359 width: 43rem;
1360 max-width: 100%;
1361 }
1362
1363 .box--hollow {
1364 border-radius: 0.2em;
1365 border-width: 1px;
1366 }
1367
1368 .box--extra-margin {
1369 margin-top: 5rem;
1370 margin-bottom: 5rem;
1371 }
1372
1373 .box--zero {
1374 box-shadow: none;
1375 border: none;
1376 background: none;
1377 }
1378
1379 .box__under {
1380 /* block under a box showing action buttons */
1381 box-shadow: none;
1382 border: none;
1383 background: none;
1384 text-align: right;
1385 }
1386
1387 /*********
1388 * Forms *
1389 *********/
1390
1391 .form__panel--vertical {
1392 display: flex;
1393 flex-direction: column;
1394 padding: 2em;
1395 }
1396
1397 .form__field--big>input,
1398 .form__field--big>textarea,
1399 select.form__field--big
1400 {
1401 box-sizing: border-box;
1402 width: 95%;
1403 }
1404
1405 .form--single input:not([type="submit"]) {
1406 margin: 0 1em;
1407 }
1408
1409 .form--single {
1410 display: flex;
1411 justify-content: center;
1412 flex-direction: row;
1413 }
1414
1415 .form--single .form_input {
1416 flex-direction: row;
1417 }
1418
1419 /*****************
1420 * paired slides *
1421 ****************/
1422
1423 .paired-slides {
1424 flex-wrap: nowrap;
1425 }
1426
1427 .paired-slides>*:last-child {
1428 margin-left: 1em;
1429 }
1430
1431 /*********
1432 * Menus *
1433 *********/
1434
1435 .main_menu a {
1436 display: block;
1437 padding: 1em 0;
1438 }
1439
1440 .main_menu ul {
1441 flex-direction: column;
1442 padding-left: 2em;
1443 }
1444
1445 }