summaryrefslogtreecommitdiffstats
path: root/util/wasm/batchedtestrunner/qtestoutputreporter.css
blob: aefb867b816782b65a8a3cde54889bf69297b310 (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
/*
    Copyright (C) 2022 The Qt Company Ltd.
    SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
*/

:root {
    --good-color-light: chartreuse;
    --bad-color-light: lightcoral;
    --warning-color-light: orange;
    --info-color-light: cornflowerblue;
    --ignore-color-light: gray;
    --good-color-dark: green;
    --bad-color-dark: red;
    --warning-color-dark: darkorange;
    --info-color-dark: blue;
    --ignore-color-dark: lightgray;
}

.zero {
    display: none;
}

.light-background .good {
    color: var(--good-color-dark);
}

.light-background .bad {
    color: var(--bad-color-dark);
}

.light-background .warning {
    color: var(--warning-color-dark);
}

.light-background .info {
    color: var(--info-color-dark);
}

.light-background .ignore {
    color: var(--ignore-color-dark);
}

.output-area {
    font-family: monospace;
}

.output-line {
    display: block;
    white-space: pre-wrap;
}

.counter-box {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: center;
}

.counter-box span {
    padding-right: 10px;
}

.counter-box .pass {
    background-color: var(--good-color-light);
}

.counter-box .fail {
    background-color: var(--bad-color-light);
}

.counter-box .skip {
    background-color: var(--info-color-light);
}

.counter-box .xfail {
    background-color: var(--warning-color-light);
}

.counter-box .xpass {
    background-color: var(--bad-color-light);
}

.counter-box .bpass,
.counter-box .bfail,
.counter-box .bxpass,
.counter-box .bxfail,
.counter-box .other {
    background-color: var(--ignore-color-light);
}