Debian Codegraph @

html/style.css

raw symbols ◀ ▶ SCIP
2 Debian patches touch this file
1 body {
2 background-color: black;
3 color: white;
4 font-family: Arial, Helvetica, sans-serif;
5 font-size: 15px;
6 margin: 0px;
7 }
8
9 .loco_selector {
10 position: absolute;
11 top: 55px;
12 height: 50px;
13 width: 250px;
14 }
15
16 .loco {
17 position: absolute;
18 top: 90px;
19 width: 250px;
20 border: solid 1px gray;
21 overflow-x: hidden;
22 overflow-y: auto;
23 }
24
25 .loco_selector_1,
26 .loco_1 {
27 left: 0px;
28 }
29
30 .loco_selector_2,
31 .loco_2 {
32 left: 252px;
33 }
34
35 .loco_selector_3,
36 .loco_3 {
37 left: 504px;
38 }
39
40 .loco_selector_4,
41 .loco_4 {
42 left: 756px;
43 }
44
45 .loco_selector_5,
46 .loco_5 {
47 left: 1008px;
48 }
49
50 /*.loco_selector_6,
51 .loco_6 {
52 left: 1260px;
53 }*/
54
55 .inner_loco {
56 width: 250px;
57 display: inline-block;
58 text-align: left;
59 }
60
61 .clock {
62 position: absolute;
63 left: 0px;
64 bottom: 0px;
65 border: solid 1px gray;
66 overflow-x: hidden;
67 overflow-y: hidden;
68 }
69
70 .clock,
71 .clock2 {
72 height: 110px;
73 width: 110px;
74 }
75
•76 @media (max-width: 615px) {
77 .menu_config,
78 .menu_config_visible,
79 .menu_add,
80 .menu_configbutton {
81 display: none;
82 }
83 }
84
•85 @media (min-width: 616px) and (max-width: 1023px) {
86 .menu_config {
87 display: none;
88 }
89
90 .menu_config_visible {
91 position: absolute;
92 top: 50px;
93 left: 0;
94 z-index: 3;
95 background-color: black;
96 display: block;
97 padding: 0 5px 5px 0;
98 }
99
100 .menu_add,
101 .menu_configbutton {
102 display: inline-block;
103 }
104 }
105
•106 @media (min-width: 1024px) {
107 .menu_add,
108 .menu_config,
109 .menu_config_visible {
110 display: inline-block;
111 }
112
113 .menu_configbutton {
114 display: none;
115 }
116 }
117
118 @media (max-height: 499px) {
119 .loco,
120 .layout {
121 bottom: 22px;
122 }
123
124 .reduce_locos,
125 .extend_locos {
126 bottom: 25px;
127 }
128
129 .status {
130 height: 20px;
131 left: 0px;
132 }
133
134 .clock
135 {
136 display: none;
137 visibility: hidden;
138 }
139 }
140
141 @media (min-height: 500px) {
142 .loco,
143 .layout {
144 bottom: 112px;
145 }
146
147 .reduce_locos,
148 .extend_locos {
149 bottom: 115px;
150 }
151
152 .status {
153 height: 110px;
154 }
155 }
156
157 @media (min-height: 500px) and (max-width: 503px) {
158 .status {
159 left: 0px;
160 }
161
162 .clock
163 {
164 display: none;
165 visibility: hidden;
166 }
167 }
168
169 @media (min-height: 500px) and (min-width: 504px) {
170 .status {
171 left: 112px;
172 }
173 }
174
175 .layout {
176 border: solid 1px gray;
177 overflow: auto;
178 position: absolute;
179 right: 0px;
180 top: 90px;
181 background-image: url("/layout_background.png");
182 background-repeat: repeat, repeat;
183 background-attachment: local;
184 display: inline-block;
185 }
186
187 .layer_selector {
188 position: absolute;
189 right: 0px;
190 top: 55px;
191 height: 50px;
192 display: inline-block;
193 }
194
195 .infobox {
196 top: 0px;
197 right: 0px;
198 z-index: 3;
199 position: absolute;
200 border: 0px;
201 margin: 0px;
202 text-align: right;
203 }
204
205 .infoboxinfo,
206 .infoboxwarning,
207 .infoboxerror {
208 margin: 5px;
209 padding: 10px;
210 border: solid 2px black;
211 border-radius: 5px;
212 }
213
214 .infoboxinfo {
215 background-color: lightgreen;
216 color: black;
217 }
218
219 .infoboxwarning {
220 background-color: orange;
221 color: black;
222 }
223
224 .infoboxerror {
225 background-color: red;
226 color: black;
227 }
228
229 .menu {
230 height: 50px;
231 width: 100%;
232 top: 0px;
233 left: 0px;
234 border: 1px;
235 position: absolute;
236 }
237
238 .menu_main,
239 .inline-block {
240 display: inline-block;
241 }
242
243 .layout_item {
244 line-height: 36px;
245 text-align: center;
246 height: 36px;
247 width: 36px;
248 position: absolute;
249 border: 0px;
250 }
251
252 .button .tooltip {
253 top: 30px;
254 }
255
256 .layout_item .tooltip {
257 top: 32px;
258 left: 32px;
259 white-space: nowrap;
260 }
261
262 .help {
263 background-color: yellow;
264 border: solid 1px black;
265 border-radius: 1em;
266 font-size: 12px;
267 display: inline-block;
268 }
269
270 .help .tooltip {
271 display: block;
272 font-size: 15px;
273 }
274
275 .button .tooltip,
276 .help .tooltip,
277 .layout_item .tooltip {
278 line-height: 1;
279 visibility: hidden;
280 background-color: yellow;
281 color: black;
282 border: solid 1px black;
283 border-radius: 0px 10px 10px 10px;
284 padding: 5px;
285 position: absolute;
286 z-index: 15;
287 }
288
289 .button:hover .tooltip,
290 .help:hover .tooltip,
291 .layout_item:hover .tooltip {
292 visibility: visible;
293 }
294
295 .accessory_item .track,
•296 .counter_item .track,
297 .feedback_item .track {
298 fill: white;
299 }
300
301 .accessory_off .accessory {
302 stroke: white;
303 stroke-width: 2px;
304 fill: red;
305 }
306
307 .accessory_on .accessory {
308 stroke: white;
309 stroke-width: 2px;
310 fill: lightgreen;
311 }
312
313 .switch_turnout .turnout,
314 .switch_straight .straight,
315 .switch_third .third {
316 fill: white;
317 }
318
319 .signal_stop .stop,
320 .signal_clear .clear,
321 .signal_aspect2 .aspect2,
322 .signal_aspect3 .aspect3,
323 .signal_aspect4 .aspect4,
324 .signal_aspect5 .aspect5,
325 .signal_aspect6 .aspect6,
326 .signal_aspect7 .aspect7,
327 .signal_aspect8 .aspect8,
328 .signal_aspect9 .aspect9,
329 .signal_aspect10 .aspect10,
330 .signal_dark .dark,
331 .signal_stopexpected .stopexpected,
332 .signal_clearexpected .clearexpected,
333 .signal_aspect2expected .aspect2expected,
334 .signal_aspect3expected .aspect3expected,
335 .signal_aspect4expected .aspect4expected,
336 .signal_aspect5expected .aspect5expected,
337 .signal_aspect6expected .aspect6expected,
338 .signal_aspect7expected .aspect7expected,
339 .signal_aspect8expected .aspect8expected,
340 .signal_aspect9expected .aspect9expected,
341 .signal_aspect10expected .aspect10expected {
342 opacity: 1;
343 }
344
345 .feedback_free .feedback {
346 fill: lightgreen;
347 }
348
349 .feedback_occupied .feedback {
350 fill: red;
351 }
352
353 .track_free .track {
354 fill: white;
355 }
356
357 .track_occupied .track,
358 .track_reserved_occupied .track,
359 .track_reserved_occupied .loconame {
360 fill: red;
361 }
362
363 .track_reserved .track,
364 .track_reserved .loconame {
365 fill: lightgreen;
366 }
367
368 .track_blocked .track {
369 fill: gray;
370 }
371
372 .track_error {
373 background-color: orange;
374 }
375
376 .track_blocked .track_block,
377 .track_unblocked .track_unblock,
378 .loco_known .track_set,
379 .loco_unknown .track_start_loco,
380 .loco_unknown .track_stop_loco,
381 .loco_unknown .track_loco_release,
382 .track_free .loconame,
383 .track_occupied .loconame,
384 .track_blocked .loconame,
385 .track_error .loconame,
386 .orientation_left .track_left,
387 .orientation_right .track_right,
388 .feedback_layer .real_layer_only,
389 .signal_stop .state_stop,
390 .signal_clear .state_clear,
391 .signal_aspect2 .state_aspect2,
392 .signal_aspect3 .state_aspect3,
393 .signal_aspect4 .state_aspect4,
394 .signal_aspect5 .state_aspect5,
395 .signal_aspect6 .state_aspect6,
396 .signal_aspect7 .state_aspect7,
397 .signal_aspect8 .state_aspect8,
398 .signal_aspect9 .state_aspect9,
399 .signal_aspect10 .state_aspect10,
400 .signal_dark .state_dark,
401 .signal_stopexpected .state_stopexpected,
402 .signal_clearexpected .state_clearexpected,
403 .signal_aspect2expected .state_aspect2expected,
404 .signal_aspect3expected .state_aspect3expected,
405 .signal_aspect4expected .state_aspect4expected,
406 .signal_aspect5expected .state_aspect5expected,
407 .signal_aspect6expected .state_aspect6expected,
408 .signal_aspect7expected .state_aspect7expected,
409 .signal_aspect8expected .state_aspect8expected,
410 .signal_aspect9expected .state_aspect9expected,
411 .signal_aspect10expected .state_aspect10expected,
412 .signal_stop .menu_stop,
413 .signal_clear .menu_clear,
414 .signal_aspect2 .menu_aspect2,
415 .signal_aspect3 .menu_aspect3,
416 .signal_aspect4 .menu_aspect4,
417 .signal_aspect5 .menu_aspect5,
418 .signal_aspect6 .menu_aspect6,
419 .signal_aspect7 .menu_aspect7,
420 .signal_aspect8 .menu_aspect8,
421 .signal_aspect9 .menu_aspect9,
422 .signal_aspect10 .menu_aspect10,
423 .signal_dark .menu_dark,
424 .signal_stopexpected .menu_stopexpected,
425 .signal_clearexpected .menu_clearexpected,
426 .signal_aspect2expected .menu_aspect2expected,
427 .signal_aspect3expected .menu_aspect3expected,
428 .signal_aspect4expected .menu_aspect4expected,
429 .signal_aspect5expected .menu_aspect5expected,
430 .signal_aspect6expected .menu_aspect6expected,
431 .signal_aspect7expected .menu_aspect7expected,
432 .signal_aspect8expected .menu_aspect8expected,
433 .signal_aspect9expected .menu_aspect9expected,
434 .signal_aspect10expected .menu_aspect10expected,
435 .switch_turnout .menu_turnout,
436 .switch_straight .menu_straight,
437 .switch_third .menu_third {
438 display: none;
439 }
440
•441 .counter,
•442 .text_item,
443 .loconame,
444 .trackname {
445 fill: white;
•446 font-size: 14px;
447 }
448
449 .popup {
450 position: absolute;
451 display: none;
452 height: 600px;
453 width: 600px;
454 top: 20px;
455 left: 20px;
456 z-index: 5;
457 border: solid 3px black;
458 border-radius: 10px;
459 background-color: lightgray;
460 color: black;
461 padding: 10px;
462 }
463
464 .popup_content {
465 width: 100%;
466 height: 460px;
467 overflow-x: hidden;
468 overflow-y: auto;
469 }
470
471 label {
472 width: 300px;
473 height: 30px;
474 display: inline-block;
475 }
476
477 .input_select_with_label,
478 .input_integer_with_label {
479 min-width: 320px;
480 display: inline-block;
481 }
482
483 .div_integer {
484 display: inline-block;
485 }
486
487 .function_line label {
488 width: 40px;
489 }
490
491 .function_line .div_integer {
492 width: 80px;
493 }
494
495 .function_line .integer {
496 width: 30px;
497 }
498
499 .narrow_label label {
500 width: 120px;
501 }
502
503 .narrow_label .dropdowncontainer,
504 .narrow_label .dropdown {
505 width: 450px;
506 }
507
508 .integer {
509 width: 40px;
510 }
511
512 .checkbox {
513 width: 15px;
514 }
515
516 input {
517 display: inline-block;
518 width: 240px;
519 }
520
521 .dropdowncontainer {
522 position: relative;
523 display: inline-block;
524 width: 250px;
525 }
526
527 .dropdowncontainer input {
528 width: calc(100% - 10px);
529 }
530
531 .select_relation_id,
532 .select_relation_id .dropdown {
533 width: 250px;
534 }
535
536 .select_feedback,
537 .select_feedback .dropdown,
538 .select_track,
539 .select_track .dropdown {
540 width: 160px;
541 }
542
543 .select_relation_objecttype,
544 .select_relation_objecttype .dropdown {
545 width: 100px;
546 }
547
548 .select_delay,
549 .select_delay .dropdown,
550 .select_orientation,
551 .select_orientation .dropdown,
552 .select_port,
553 .select_port .dropdown,
554 .select_relation_state,
555 .select_relation_state .dropdown {
556 width: 80px;
557 }
558
559 .layer_selector .dropdowncontainer {
560 width: 100%;
561 }
562
563 .dropdown {
564 width: 0;
565 display: block;
566 position: absolute;
567 top: 100%;
568 left: 0;
569 right: 0;
570 visibility: hidden;
571 opacity: 0;
572 max-height: 210px;
573 overflow-y: auto;
574 }
575
576 .dropdownentry {
577 background-color: #aaa;
578 color: black;
579 position: relative;
580 display: block;
581 width: 0;
582 height: 0;
583 padding: 0;
584 margin: 0;
585 z-index: 2;
586 visibility: hidden;
587 opacity: 0;
588 pointer-events: none;
589 cursor: pointer;
590 font-size: 12px;
591 }
592
593 .dropdownentry.selected_option,
594 .dropdownentry:hover {
595 background-color: #ccc;
596 }
597
598 .dropdownentry.selected_option::before {
599 content: "✔ ";
600 }
601
602 .dropdown.show,
603 .dropdown.show .dropdownentry {
604 visibility: visible;
605 pointer-events: all;
606 opacity: 1;
607 }
608
609 .dropdown.show {
610 width: 100%;
611 }
612
613 .dropdown.show .dropdownentry {
614 height: 14px;
615 padding: 4px;
616 width: calc(100% - 10px);
617 }
618
619 .status {
620 position: absolute;
621 bottom: 0px;
622 right: 0px;
623 border: solid 1px gray;
624 overflow-x: hidden;
625 overflow-y: scroll;
626 }
627
628 button {
629 height: 45px;
630 width: 45px;
631 background-color: #aaa;
632 border-radius: 5px;
633 margin: 1px;
634 display: inline-block;
635 text-align: center;
636 font-size: 15px;
637 padding: 0px;
638 }
639
640 .button_replacement {
641 margin: 1px;
642 display: inline-block;
643 }
644
645 button:active {
646 background-color: #ccc;
647 transform: translateY(1px);
648 }
649
650 .wide_button {
651 height: 30px;
652 width: 90px;
653 }
654
655 .small_button {
656 height: 25px;
657 width: 25px;
658 }
659
660 .button_on {
661 background-color: #ddd;
662 }
663
664 .button_off {
665 background-color: #aaa;
666 }
667
668 .button_booster.button_on {
669 background-color: lightgreen;
670 }
671
672 .button_booster.button_off {
673 background-color: red;
674 }
675
676 .button_orientation.button_on,
677 .button_orientation.button_off {
678 background-color: #aaa;
679 }
680
681 .slider {
682 width: 230px;
683 }
684
685 .contextmenu {
686 position: fixed;
687 display: none;
688 z-index: 1;
689 color: black;
690 }
691
692 .contextentries {
693 list-style: none;
694 padding: 0;
695 margin: 0;
696 }
697
698 .contexttitle {
699 background: darkgray;
700 padding: 5px;
701 }
702
703 .contextentry {
704 cursor: pointer;
705 background: lightgray;
706 padding: 5px;
707 }
708
709 .contextentry:hover {
710 background: darkgray;
711 }
712
713 .tab_button {
714 padding: 5px;
715 border: 1px solid black;
716 border-bottom-style: none;
717 text-align: center;
718 text-decoration: none;
719 display: inline-block;
720 background-color: lightgray;
721 height: 28px;
722 width: auto;
723 border-radius: 0px;
724 margin: 0px;
725 }
726
727 .tab_button_selected,
728 .tab_button:hover {
729 background-color: #e9e9e9;
730 }
731
732 .tab_content {
733 border: 1px solid black;
734 padding: 3px;
735 }
736
737 .hidden,
738 .button_off .orientation_right,
739 .button_on .orientation_left,
740 .button_off .button_on,
741 .button_on .button_off,
742 .accessory_off .accessory_on,
743 .accessory_on .accessory_off {
744 display: none;
745 visibility: hidden;
746 }
747
748 .sound1 {
749 animation: sound1 1s infinite linear;
750 }
751
752 @keyframes sound1 {
753 0% { opacity: 1; }
754 10% { opacity: 0.3; }
755 30% { opacity: 0.3; }
756 40% { opacity: 1; }
757 100% { opacity: 1; }
758 }
759
760 .sound2 {
761 animation: sound2 1s infinite linear;
762 }
763
764 @keyframes sound2 {
765 0% { opacity: 1; }
766 20% { opacity: 1; }
767 30% { opacity: 0.3; }
768 50% { opacity: 0.3; }
769 60% { opacity: 1; }
770 100% { opacity: 1; }
771 }
772
773 .sound3 {
774 animation: sound3 1s infinite linear;
775 }
776
777 @keyframes sound3 {
778 0% { opacity: 1; }
779 40% { opacity: 1; }
780 60% { opacity: 0.3; }
781 70% { opacity: 0.3; }
782 80% { opacity: 1; }
783 100% { opacity: 1; }
784 }
785
786 .fire1 {
787 animation: fire1 1s infinite linear;
788 }
789
790 @keyframes fire1 {
791 0% { opacity: 1; }
792 10% { opacity: 0.1; }
793 20% { opacity: 0.5; }
794 30% { opacity: 0.2; }
795 40% { opacity: 0.7; }
796 50% { opacity: 0.3; }
797 60% { opacity: 0.9; }
798 70% { opacity: 0.8; }
799 80% { opacity: 0.6; }
800 90% { opacity: 0.4; }
801 100% { opacity: 1; }
802 }
803
804 .fire2 {
805 animation: fire2 1s infinite linear;
806 }
807
808 @keyframes fire2 {
809 0% { opacity: 1; }
810 10% { opacity: 0.7; }
811 20% { opacity: 0.3; }
812 30% { opacity: 0.9; }
813 40% { opacity: 0.8; }
814 50% { opacity: 0.4; }
815 60% { opacity: 0.6; }
816 70% { opacity: 0.1; }
817 80% { opacity: 0.5; }
818 90% { opacity: 0.2; }
819 100% { opacity: 1; }
820 }
821
822 .fire3 {
823 animation: fire3 1s infinite linear;
824 }
825
826 @keyframes fire3 {
827 0% { opacity: 1; }
828 10% { opacity: 0.9; }
829 20% { opacity: 0.8; }
830 30% { opacity: 0.4; }
831 40% { opacity: 0.6; }
832 50% { opacity: 0.1; }
833 60% { opacity: 0.5; }
834 70% { opacity: 0.2; }
835 80% { opacity: 0.7; }
836 90% { opacity: 0.3; }
837 100% { opacity: 1; }
838 }
839
840 .fire4 {
841 animation: fire4 1s infinite linear;
842 }
843
844 @keyframes fire4 {
845 0% { opacity: 1; }
846 10% { opacity: 0.4; }
847 20% { opacity: 0.6; }
848 30% { opacity: 0.1; }
849 40% { opacity: 0.5; }
850 50% { opacity: 0.2; }
851 60% { opacity: 0.7; }
852 70% { opacity: 0.3; }
853 80% { opacity: 0.9; }
854 90% { opacity: 0.3; }
855 100% { opacity: 1; }
856 }
857
858 .fire5 {
859 animation: fire5 1s infinite linear;
860 }
861
862 @keyframes fire5 {
863 0% { opacity: 1; }
864 10% { opacity: 0.8; }
865 20% { opacity: 0.3; }
866 30% { opacity: 0.5; }
867 40% { opacity: 0.9; }
868 50% { opacity: 0.1; }
869 60% { opacity: 0.2; }
870 70% { opacity: 0.4; }
871 80% { opacity: 0.7; }
872 90% { opacity: 0.6; }
873 100% { opacity: 1; }
874 }
875
876 .blinking {
877 animation: blinking 1s infinite linear;
878 }
879
880 @keyframes blinking {
881 0% { opacity: 1; }
882 40% { opacity: 1; }
883 60% { opacity: 0.3; }
884 100% { opacity: 0.3; }
885 }
886
887 .smoke1 {
888 animation: smoke 1s infinite linear;
889 }
890
891 .smoke2 {
892 animation: smoke 1s infinite linear;
893 animation-delay: 0.5s;
894 }
895
896 @keyframes smoke {
897 0% { transform: translate(0px, 3px);}
898 20% { transform: translate(0px, 0px); }
899 100% { transform: translate(-30px, -5px); }
900 }
901
902 .rotate {
903 animation: rotate 1s infinite linear;
904 transform-origin: 18px 18px;
905 }
906
907 @keyframes rotate {
908 0% { transform: rotate(360deg); }
909 100% { transform: rotate(0deg); }
910 }
911
912 .button_on .bell1 {
913 animation: bell 1s infinite ease-in-out;
914 transform-origin: 18px 13px;
915 }
916
917 .button_on .bell2 {
918 animation: bell 1s infinite linear;
919 animation-delay: 0.1s;
920 transform-origin: 18px 13px;
921 }
922
923 @keyframes bell {
924 0% { transform: rotate(30deg); }
925 50% { transform: rotate(-30deg); }
926 100% { transform: rotate(30deg); }
927 }
928
929 .button_on .door_left {
930 animation: door_left 2s infinite ease-in-out;
931 }
932
933 @keyframes door_left {
934 0% { transform: translate(0px, 0px); }
935 25% { transform: translate(0px, 0px); }
936 75% { transform: translate(-6px, 0px); }
937 100% { transform: translate(-6px, 0px); }
938 }
939
940 .button_on .door_right {
941 animation: door_right 2s infinite ease-in-out;
942 }
943
944 @keyframes door_right {
945 0% { transform: translate(0px, 0px); }
946 25% { transform: translate(0px, 0px); }
947 75% { transform: translate(6px, 0px); }
948 100% { transform: translate(6px, 0px); }
949 }
950
951 .button_on .cylinder {
952 animation: cylinder 1s infinite ease-in-out;
953 animation-direction: alternate;
954 }
955
956 @keyframes cylinder {
957 0% { transform: translate(0px, 0px); }
958 100% { transform: translate(8px, 0px); }
959 }
960
961 .button_on .shake {
962 animation: shake 0.3s infinite linear;
963 }
964
965 @keyframes shake {
966 0% { transform: translate(0px, 0px); }
967 25% { transform: translate(-2px, 0px); }
968 75% { transform: translate(2px, 0px); }
969 100% { transform: translate(0px, 0px); }
970 }
971
972 .button_on .buffer_push {
973 animation: buffer_push 1s infinite ease-in;
974 }
975
976 @keyframes buffer_push {
977 0% { transform: translate(0px, 0px); }
978 15% { transform: translate(0px, 0px); }
979 50% { transform: translate(14px, 0px); }
980 100% { transform: translate(14px, 0px); }
981 }
982
983 .reduce_locos,
984 .extend_locos {
985 width: 15px;
986 height: 30px;
987 line-height: 30px;
988 background-color: #AAA;
989 color: black;
990 z-index: 1;
991 position: absolute;
992 text-align: center;
993 }
994
995 .reduce_locos {
996 border-radius: 8px 0 0 8px;
997 left: 237px;
998 }
999
1000 .extend_locos {
1001 border-radius: 0 8px 8px 0;
1002 left: 252px;
1003 }