Debian Codegraph @

public/css/main.css

raw symbols SCIP
1 @media (prefers-color-scheme: light) {
2 :root {
3 --color-fg-default: #000;
4 --color-fg-disabled: #666;
5 --color-fg-muted: #666;
6 --color-fg-accent: #0969da;
7 --color-fg-custom: #666;
8 --color-fg-menu: #333;
9 --color-bg-default: #fff;
10 --color-bg-toolbar: #f7f7f7;
11 --color-bg-header: #eee;
12 --color-bg-title: #ddd;
13 --color-bg-dialog: #fff;
14 --color-bg-selected: #fff;
15 --color-bg-selected2: #0a0;
16 --color-bg-focused: #ccf;
17 --color-bg-deleted: #f44;
18 --color-bg-button: #f0f0f0;
19 --color-bg-dbutton: #f4f4f4;
20 --color-bg-hover: #d8d8d8;
21 --color-bg-hover2: #080;
22 --color-bg-input: #fff;
23 --color-br-default: #ccc;
24 --color-br-weak: #eee;
25 --color-br-strong: #777;
26 --color-br-focused: #16d;
27 --color-br-selected: #66f;
28 --color-br-input: rgba(0,0,0,0.5);
29 --color-br-disabled: #e0e0e0;
30 --color-br-menu: #ccc;
31 --color-br-submenu: #eee;
32 --color-dg-wait: #080;
33 --color-st-txtblue: #00f;
34 --color-st-txtgreen: #080;
35 --color-st-txtred: #f00;
36 --color-nt-error: #f88;
37 --color-nt-warning: #ff8;
38 --color-nt-inform: #8f8;
39 --color-sh-default: rgba(0,0,0,0.5);
40 --color-lk-default: #00e;
41 --color-lk-visited: #551a8b;
42 }
43 }
44 @media (prefers-color-scheme: dark) {
45 :root {
46 --color-fg-default: #c9d1d9;
47 --color-fg-disabled: #484f58;
48 --color-fg-muted: #8b949e;
49 --color-fg-accent: #2f81f7;
50 --color-fg-custom: #aaadbb;
51 --color-fg-menu: #9ca6b1;
52 --color-bg-default: #0d1117;
53 --color-bg-toolbar: #11151e;
54 --color-bg-header: #161b22;
55 --color-bg-title: #262b32;
56 --color-bg-dialog: #111a24;
57 --color-bg-selected: #161b22;
58 --color-bg-selected2: #165925;
59 --color-bg-focused: #161b33;
60 --color-bg-deleted: #4a121e;
61 --color-bg-button: #21262d;
62 --color-bg-dbutton: #21262d;
63 --color-bg-hover: #30363d;
64 --color-bg-hover2: #080;
65 --color-bg-input: #0d1117;
66 --color-br-default: #30363d;
67 --color-br-weak: #21262b;
68 --color-br-strong: #40464d;
69 --color-br-focused: #1f6feb;
70 --color-br-selected: #f78166;
71 --color-br-input: rgba(240,246,252,0.1);
72 --color-br-disabled: #30363d;
73 --color-br-menu: #505860;
74 --color-br-submenu: #30363d;
75 --color-dg-wait: #c58208;
76 --color-st-txtblue: #4040ff;
77 --color-st-txtgreen: #009300;
78 --color-st-txtred: #f22;
79 --color-nt-error: #da3633;
80 --color-nt-warning: #e7a100;
81 --color-nt-inform: #3fb950;
82 --color-sh-default: rgba(255,255,255,0.3);
83 --color-lk-default: #0050c0;
84 --color-lk-visited: #606090;
85 }
86 }
87
88 html, body, div, span, h1, h2, h3, h4, h5, ul, li, fieldset, form, label, legend,
89 button, select, input, table, caption, tbody, thead, tr, th, td {
90 margin: 0;
91 padding: 0;
92 border: 0;
93 outline: 0;
94 font-size: 100%;
95 }
96 html {
97 color: var(--color-fg-default);
98 background-color: var(--color-bg-default);
99 }
100 body {
101 margin: 0.5em;
102 font-family: "Noto Serif", serif;
103 }
104 h2, h3, h4, h5, table, .table {
105 font-family: "Noto Sans", "Open Sans", sans-serif;
106 }
107 button, select, textarea, input, .multiselect-wrapper, .multiselect-options {
108 padding: 0.3em .5em;
109 color: var(--color-fg-default);
110 border: 1px solid var(--color-br-input);
111 border-radius: 7px;
112 font-family: "Noto Sans", sans-serif;
113 }
114 .multiselect-wrapper {
115 padding-left: .3em;
116 }
117 button, select, .multiselect-wrapper, .multiselect-options {
118 background-color: var(--color-bg-button);
119 }
120 button:hover, select:hover, .button:hover, multi-select:not([disabled]) .multiselect-wrapper:hover {
121 background-color: var(--color-bg-hover);
122 }
123 multi-select {
124 min-width: 15em;
125 }
126 button:disabled, select:disabled, multi-select:disabled {
127 background-color: var(--color-bg-dbutton);
128 }
129 button:disabled, select:disabled, textarea:disabled, input:disabled, multi-select:disabled {
130 color: var(--color-fg-disabled);
131 border-color: var(--color-br-disabled);
132 }
133 a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, multi-select:focus-visible {
134 outline: 2px solid var(--color-fg-accent);
135 outline-offset: -2px;
136 }
137 textarea, input {
138 background-color: var(--color-bg-input);
139 }
140 a {
141 color: var(--color-lk-default);
142 }
143 a:visited {
144 color: var(--color-lk-visited);
145 }
146 h1 {
147 font-size: 1.6em;
148 margin: .35rem;
149 margin-top: 0;
150 display: inline-block;
151 }
152 h2 {
153 font-size: 1.4em;
154 margin: 1em 0 .2em;
155 }
156 h3 {
157 font-size: 1.3em;
158 margin: 1em 0 .2em;
159 }
160 h4, h5 {
161 margin: 0 0 0.5rem 0;
162 text-transform: uppercase;
163 }
164 h4:not(:first-child), .info-block {
165 margin-top: 1rem;
166 }
167 fieldset {
168 display: block;
169 margin-bottom: 0.7em;
170 padding: 0.7em;
171 border: 1px solid var(--color-br-strong);
172 }
173 legend {
174 margin: 0;
175 padding: 0 0.2em;
176 }
177 hr {
178 border: 0;
179 border-top: 1px solid var(--color-br-menu);
180 }
181 textarea.description {
182 height: 7em;
183 }
184 label>input:first-child {
185 margin-right: .7em;
186 }
187 .text {
188 line-height: 1.6;
189 }
190 #stat-block>ul {
191 display: flex;
192 justify-content: center;
193 column-gap: 1em;
194 margin: .2em 0;
195 padding: .1em;
196 list-style-type: none;
197 border-top: 1px solid var(--color-br-default);
198 border-bottom: 1px solid var(--color-br-default);
199 }
200 #stat-block .stat-msg {
201 display: none;
202 }
203 .main-table .table-body .table-cell {
204 border-top: 1px solid var(--color-br-weak);
205 }
206 .main-table .table-body .table-row.selected, .multiselect-options li[aria-selected="true"] {
207 background-color: var(--color-bg-selected);
208 color: var(--color-fg-default);
209 }
210 .main-table.focused .table-body .table-row.selected {
211 background-color: var(--color-bg-focused);
212 }
213 .unseen, .custom-value .setting-value {
214 font-weight: bold;
215 color: var(--color-fg-custom);
216 }
217 @media screen and (min-width:30em) {
218 h1 {
219 font-size: 2em;
220 margin: -.3rem .5rem 0 .5rem;
221 }
222 }
223 @media screen and (min-width:35em) {
224 textarea.description {
225 min-width: 25em;
226 }
227 input[type=number] {
228 width: 4em;
229 }
230 }
231 @media screen and (min-width:46em) {
232 #stat-block {
233 float: right;
234 margin-bottom: 0.5rem;
235 }
236 #stat-block ul {
237 display: block;
238 margin: 0;
239 padding: 0;
240 border: none;
241 }
242 #stat-block li div {
243 display: inline-grid;
244 margin: 0.5em;
245 width: 6em;
246 height: 6em;
247 text-align: center;
248 font-size: 0.7em;
249 border: 1px solid var(--color-br-strong);
250 border-radius: 7px;
251 }
252 #stat-block .stat-msg {
253 display: inline;
254 margin: 0 1px;
255 }
256 #stat-block .hint {
257 display: none;
258 }
259 .stat-val {
260 display: block;
261 height: 50%;
262 line-height: 180%;
263 font-size: 1.8em;
264 font-weight: bold;
265 }
266 }
267 @media screen and (max-width:40em) {
268 .root-list-block .db-type, .list-container .mailbox-host, .list-container .dbtable-size, .small-cards .table-header {
269 display: none;
270 }
271 .domains.table, .domains .table-header, .domains .table-body, .domains .table-cell,
272 .small-cards.table, .small-cards .table-body, .small-cards .table-row {
273 display: block;
274 }
275 .small-cards .table-cell {
276 display: flow-root;
277 }
278 .domains .table-row {
279 display: grid;
280 grid-template-columns: 2em 1fr 1fr;
281 }
282 .domains .table-cell.descr {
283 grid-column: 1 / 4;
284 grid-row: 2;
285 border: none;
286 text-align: center;
287 border-top: none;
288 }
289 .domains .table-body .table-cell.descr {
290 border-left: 3px solid #0000;
291 }
292 .domains .table-body .table-row.focused .table-cell.descr, .small-cards .table-body .table-row.focused {
293 border-left: 3px solid var(--color-br-selected);
294 }
295 .small-cards .table-body .table-row {
296 border-left: 3px solid #0000;
297 }
298 .domains .table-body .table-cell {
299 max-width: none;
300 }
301 .small-cards .table-body .table-cell {
302 text-align: right;
303 max-width: none;
304 margin: 0 1em;
305 }
306 .small-cards .table-body .table-cell > div {
307 margin-left: auto;
308 }
309 .small-cards .table-body .table-cell::before {
310 content: attr(data-label);
311 float: left;
312 text-align: left;
313 font-weight: bold;
314 font-style: normal;
315 padding-right: .5em;
316 }
317 .small-cards .table-body .table-cell:first-child {
318 padding-top: 1em;
319 }
320 .small-cards .table-body .table-cell:last-child {
321 border-bottom: 2px solid var(--color-br-weak);
322 }
323 .small-cards .table-body .table-row .table-cell {
324 border-left: none !important;
325 }
326 .domains .table-body .table-row.selected, .domains.focused .table-body .table-row.selected,
327 .small-cards .table-body .table-row.selected, .small-cards.focused .table-body .table-row.selected {
328 background-color: unset;
329 }
330 .small-cards .table-row.colspanned .table-cell {
331 text-align: center;
332 border: none !important;
333 }
334 .custom-value .setting-value {
335 font-weight: normal;
336 }
337 }
338 .bottom-border {
339 border-bottom: 1px solid var(--color-br-strong);
340 }
341 .popup-menu ul {
342 display: block;
343 margin: 0;
344 padding: 0;
345 list-style-type: none;
346 }
347 #stat-block > ul > li {
348 margin: 0;
349 padding: 0;
350 display: inline-flex;
351 }
352 .disabled {
353 color: #888;
354 cursor: default;
355 pointer-events: none;
356 }
357 .round-border, .report-result {
358 border: 1px solid var(--color-br-strong);
359 border-radius: 7px;
360 }
361 .wait-message {
362 margin: 0.3em;
363 }
364 p.wait-message, p.error-message {
365 margin: 0;
366 }
367 .panel-container .wait-message, .panel-container .error-message, .report-records .nodata {
368 margin: 1em;
369 }
370 .dialog .wait-message {
371 color: var(--color-dg-wait);
372 text-align: center;
373 }
374 .dialog .error-message {
375 text-align: center;
376 }
377 .hidden, body:not(.level-admin) .level-admin, body:not(.level-manager) .level-manager {
378 display: none !important;
379 }
380 #main-block {
381 clear: both;
382 }
383 .error-message {
384 color: var(--color-st-txtred);
385 margin: 0.3rem;
386 font-style: normal;
387 }
388 .page-container, .subtable {
389 border: 1px solid var(--color-br-weak);
390 border-radius: 7px;
391 }
392 .page-container {
393 display: flex;
394 flex-direction: column;
395 position: fixed;
396 top: 6rem;
397 left: .5rem;
398 right: .5em;
399 bottom: .5em;
400 overflow: hidden;
401 }
402 .table-wrapper {
403 flex: 1;
404 overflow: auto;
405 }
406 .main-table {
407 color: var(--color-fg-muted);
408 text-align: left;
409 border-spacing: 0;
410 width: 100%;
411 }
412 .subtable {
413 font-size: 90%;
414 }
415 .main-table .table-header {
416 position: sticky;
417 top: 0;
418 }
419 [role="toolbar"] {
420 background-color: var(--color-bg-toolbar);
421 }
422 [role="toolbar"], [role="toolbar"] button {
423 color: var(--color-fg-muted);
424 }
425 [role="toolbar"] span {
426 font-size: 85%;
427 }
428 .main-table .table-header .table-cell {
429 position: relative;
430 background-color: var(--color-bg-header);
431 }
432 .main-table .table-cell {
433 padding: .3em 1em;
434 }
435 .main-table .table-body .table-row:not(.noninteractive) {
436 cursor: pointer;
437 }
438 .main-table .table-body .table-row:not(.noninteractive):hover, .main-table .table-row.virtual-item:hover .table-cell {
439 background-color: var(--color-bg-selected);
440 }
441 .focused {
442 outline: none;
443 }
444 .main-table .table-body .table-cell:first-child {
445 border-left: 3px solid #0000;
446 }
447 .main-table .table-body .table-row.focused .table-cell:first-child {
448 border-left: 3px solid var(--color-br-selected);
449 }
450 .summary-report {
451 overflow-y: auto;
452 }
453 .summary-report hr {
454 margin: 2em 0;
455 }
456 .report-table {
457 font-size: 90%;
458 border-spacing: 0;
459 border-collapse: collapse;
460 }
461 .custom-value .setting-value, .report-table caption {
462 color: var(--color-fg-muted);
463 font-style: italic;
464 }
465 .report-table th {
466 min-width: 4em;
467 padding: .3em .6em;
468 }
469 .report-table td {
470 padding: .3em;
471 text-align: right;
472 }
473 .report-table td:first-child {
474 text-align: left;
475 padding-right: 1em;
476 }
477 .report-table td, .report-table th {
478 border: 1px solid var(--color-br-default);
479 }
480 .state-red .state-text {
481 color: var(--color-st-txtred);
482 }
483 .state-red .state-background {
484 background-color: #f00;
485 }
486 .state-green .state-text {
487 color: var(--color-st-txtgreen);
488 }
489 .state-green .state-background {
490 background-color: #080;
491 }
492 .state-yellow .state-text {
493 color: #f80;
494 }
495 .state-yellow .state-background {
496 background-color: #f80;
497 }
498 .state-gray .state-text {
499 color: #888;
500 }
501 .state-gray .state-background {
502 background-color: #888;
503 }
504 .state-blue .state-text {
505 color: var(--color-st-txtblue);
506 }
507 .state-blue .state-background {
508 background-color: #00f;
509 }
510 .panel-container {
511 margin: 0.5rem 0;
512 padding: 1rem;
513 }
514 .block-item-column {
515 display: flex;
516 margin: .2rem 0;
517 }
518 .block-item-column .value {
519 margin-left: 0.5em;
520 }
521 .root-list-block, .block-list-item {
522 display: flex;
523 gap: .5rem;
524 align-items: center;
525 padding: 0 .75rem;
526 }
527 .root-list-block {
528 min-height: 4rem;
529 font-size: 1.3rem;
530 cursor: pointer;
531 }
532 .block-list-item {
533 height: 3.25rem;
534 background-color: var(--color-bg-header);
535 margin: 0 0 1rem 0;
536 }
537 .list-container {
538 margin: 1rem 0.8rem 0 1.5rem;
539 }
540 .title-item-wrap, .db-type, .db-location, .dbtable-records, .dbtable-size, .mailbox-host, .mailbox-location {
541 flex: 1;
542 }
543 .message-item, .directory-location {
544 flex: 2;
545 }
546 .status-indicator {
547 width: 1rem;
548 min-width: 1rem;
549 margin: auto 0.5rem auto 0;
550 height: 1rem;
551 border-radius: 50%;
552 background: radial-gradient(circle farthest-corner at 35% 35%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
553 }
554 .root-list-block .status-indicator {
555 width: 1.2rem;
556 height: 1.2rem;
557 }
558 .db-menu-button {
559 position: relative;
560 width: 1.7em;
561 }
562 .db-menu-button span[role="button"] {
563 font-weight: bold;
564 color: #888;
565 user-select: none;
566 }
567 .db-menu-button .button {
568 width: 100%;
569 text-align: center;
570 border-radius: 3px;
571 }
572 .db-menu-button .button span {
573 position: relative;
574 display: block;
575 top: -15%;
576 }
577 .source-check-button {
578 margin-right: 0.7em;
579 }
580 .popup-menu {
581 position: absolute;
582 top: 130%;
583 left: -5.3em;
584 width: 7em;
585 text-align: center;
586 background-color: var(--color-bg-default);
587 }
588 .popup-menu::after {
589 top: -0.3em;
590 border-color: var(--color-bg-default) transparent;
591 }
592 .popup-menu::before {
593 top: -0.4em;
594 border-color: var(--color-br-strong) transparent;
595 }
596 .popup-menu::after, .popup-menu::before {
597 content: "";
598 display: block;
599 position: absolute;
600 bottom: auto;
601 right: auto;
602 left: 5.4em;
603 width: 0;
604 border-width: 0 8px 8px;
605 border-style: solid;
606 }
607 .popup-menu li {
608 margin: 0.2em 0 0.2em 0;
609 }
610 .popup-menu li:hover {
611 color: #00f;
612 }
613 .report-result {
614 display: inline-block;
615 padding: 0.2em;
616 margin: 0 0.2em 0 0.2em;
617 }
618 .main-table .report-result {
619 font-size: 75%;
620 }
621 .report-result-pass {
622 color: var(--color-st-txtgreen);
623 }
624 .report-result-unknown {
625 color: #888;
626 }
627 .report-result-fail {
628 color: var(--color-st-txtred);
629 }
630 .report-modal {
631 position: fixed;
632 top: 0;
633 left: 0;
634 width: 100%;
635 height: 100%;
636 margin: 0;
637 padding: 0;
638 background-color: var(--color-bg-default);
639 text-align: center;
640 transition: all 600ms cubic-bezier(0.86, 0, 0.07, 1);
641 overflow: auto;
642 }
643 .report-modal > .report-header {
644 position: sticky;
645 top: 0;
646 padding: 1rem;
647 cursor: pointer;
648 border-bottom: 1px solid var(--color-br-default);
649 background-color: var(--color-bg-title);
650 z-index: 1;
651 }
652 .report-modal > .report-header > .header-text {
653 padding: 0.5rem;
654 cursor: auto;
655 }
656 .report-record > .header {
657 position: relative;
658 display: flex;
659 flex-flow: row wrap;
660 gap: .5em;
661 justify-content: center;
662 padding: 0.4em 0;
663 border-bottom: 1px solid var(--color-br-default);
664 border-radius: 7px 7px 0 0;
665 background-color: var(--color-bg-header);
666 }
667 .report-modal > .body {
668 padding: 1rem;
669 }
670 .report-modal.report-hidden {
671 top: 100%;
672 }
673 .report-modal .close-btn {
674 position: relative;
675 display: inline-block;
676 padding: 0.7em 1.5em;
677 color: var(--color-fg-default);
678 background-color: var(--color-bg-button);
679 border: 1px solid #888;
680 border-radius: 30px;
681 cursor: pointer;
682 transition: all .3s ease;
683 }
684 .report-modal .content {
685 width: 50rem;
686 max-width: 100%;
687 margin: 0 auto;
688 }
689 .report-modal .close-btn:hover {
690 box-shadow: 0 3px 15px var(--color-sh-default);
691 }
692 .report-records {
693 position: relative;
694 margin-top: 1rem;
695 padding-top: 1rem;
696 border-top: 1px solid var(--color-br-default);
697 }
698 .report-record {
699 margin: 0 0 1rem 0;
700 border-color: var(--color-br-default);
701 }
702 .report-item {
703 display: inline-flex;
704 width: 98%;
705 padding: .3em 0;
706 }
707 .report-record .report-item {
708 min-height: 1.9em;
709 }
710 .report-record .report-item:not(:last-child) {
711 border-bottom: 1px solid var(--color-br-weak);
712 }
713 .report-item .title {
714 min-width: 30%;
715 }
716 .value.rows {
717 display: flex;
718 flex-direction: column;
719 row-gap: .3em;
720 }
721 .report-item .value {
722 overflow-x: hidden;
723 }
724 .report-item .fqdn, .options-block .fqdn {
725 word-wrap: anywhere;
726 }
727 .report-item .title, .report-item .value {
728 text-align: left;
729 margin: auto 0;
730 }
731 .table-cell.fqdn, .table-cell.orgname, .table-cell.report-id, .table-cell.setting-value, .hint-content li>span:nth-child(2) {
732 max-width: 15em;
733 overflow: hidden;
734 text-overflow: ellipsis;
735 white-space: nowrap;
736 }
737 .options-button {
738 color: #888;
739 font-size: 80%;
740 margin-left: 0.3em;
741 cursor: pointer;
742 }
743 .buttons-block > button {
744 margin: 0;
745 }
746 button.options-button {
747 color: inherit;
748 }
749 .options-button:hover, .options-button.active, [role="toolbar"] button.active {
750 color: #080;
751 }
752 .options-block h2 {
753 margin: 0;
754 font-size: 1.2em;
755 }
756 .options-block ul {
757 margin: 1em 0;
758 list-style-type: none;
759 }
760 .buttons-block {
761 display: flex;
762 gap: .5em;
763 margin-top: .5em;
764 }
765 .table-cell.cell-status {
766 width: 1em;
767 }
768 .virtual-item, .nodata {
769 color: #888;
770 font-style: italic;
771 }
772 .left-titled {
773 display: grid;
774 grid-template-columns: auto 1fr;
775 row-gap: .3em;
776 column-gap: 1em;
777 align-items: center;
778 }
779 .vertical-content {
780 display: flex;
781 flex-direction: column;
782 gap: 1em;
783 }
784 .vertical-content span.value {
785 padding: .3em 0;
786 border: 1px solid transparent;
787 }
788 .vertical-content > * {
789 margin-top: 0;
790 margin-bottom: 0;
791 }
792 .about h2 {
793 letter-spacing: .2em;
794 }
795 .about .vertical-content, .verification .vertical-content {
796 max-width: 30em;
797 }
798 .verification textarea {
799 height: 4em;
800 }
801 .warn-block {
802 color: #000;
803 padding: .5em;
804 text-align: center;
805 background-color: var(--color-nt-warning);
806 }
807 .toolbar-btn {
808 position: absolute;
809 right: 0;
810 padding: .1em .5em;
811 border: none;
812 border-radius: unset;
813 background-color: unset;
814 cursor: pointer;
815 }
816 .toolbar-btn::before, .toolbar-btn::after {
817 content: "";
818 position: absolute;
819 box-sizing: border-box;
820 width: 1em;
821 height: 100%;
822 border-top: 1px solid var(--color-br-input);
823 border-bottom: 1px solid var(--color-br-input);
824 }
825 .toolbar-btn::before {
826 top: 0;
827 left: 0;
828 border-left: 1px solid var(--color-br-input);
829 }
830 .toolbar-btn::after {
831 right: 0;
832 bottom: 0;
833 border-right: 1px solid var(--color-br-input);
834 }