Debian Codegraph @

ext/wasm/common/testing.css

raw
1 body {
2 display: flex;
3 flex-direction: column;
4 flex-wrap: wrap;
5 }
6 textarea {
7 font-family: monospace;
8 }
9 header {
10 font-size: 130%;
11 font-weight: bold;
12 }
13 .hidden, .initially-hidden {
14 position: absolute !important;
15 opacity: 0 !important;
16 pointer-events: none !important;
17 display: none !important;
18 }
19 fieldset.options {
20 font-size: 75%;
21 }
22 fieldset > legend {
23 padding: 0 0.5em;
24 }
25 span.labeled-input {
26 padding: 0.25em;
27 margin: 0.25em 0.5em;
28 border-radius: 0.25em;
29 white-space: nowrap;
30 background: #0002;
31 }
32 .center { text-align: center; }
33 .error {
34 color: red;
35 background-color: yellow;
36 }
37 .strong { font-weight: 700 }
38 .warning { color: firebrick; }
39 .green { color: darkgreen; }
40 .tests-pass { background-color: green; color: white }
41 .tests-fail { background-color: red; color: yellow }
42 .faded { opacity: 0.5; }
43 .group-start {
44 color: blue;
45 background-color: skyblue;
46 font-weight: bold;
47 border-top: 1px dotted blue;
48 padding: 0.5em;
49 margin-top: 0.5em;
50 }
51 .group-end {
52 padding: 0.5em;
53 margin-bottom: 0.25em;
54 /*border-bottom: 1px dotted blue;*/
55 }
56 .group-end.green {
57 background: lightgreen;
58 border-bottom: 1px dotted green;
59 }
60 .one-test-line, .skipping-group {
61 margin-left: 3em;
62 }
63 .skipping-test, .skipping-group {
64 padding: 0.25em 0.5em;
65 background-color: #ffff73;
66 }
67 .skipping-test {
68 margin-left: 6em;
69 }
70 .one-test-summary {
71 margin-left: 6em;
72 }
73 .full-test-summary {
74 padding-bottom: 0.5em;
75 padding-top: 0.5em;
76 border-top: 1px solid black;
77 }
78 .input-wrapper {
79 white-space: nowrap;
80 display: flex;
81 align-items: center;
82 }
83 #test-output {
84 border: 1px inset;
85 border-radius: 0.25em;
86 padding: 0.25em;
87 /*max-height: 30em;*/
88 overflow: auto;
89 white-space: break-spaces;
90 display: flex; flex-direction: column;
91 font-family: monospace;
92 }
93 #test-output.reverse {
94 flex-direction: column-reverse;
95 }
96 label[for] { cursor: pointer }
97
98 h1 {
99 border-radius: 0.25em;
100 padding: 0.15em 0.25em;
101 }
102 h1:first-of-type {margin: 0 0 0.5em 0;}