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

h1 {
  border-radius: 0.25em;
  padding: 0.15em 0.25em;
}
h1:first-of-type {margin: 0 0 0.5em 0;}