1 | /* $Id: details.css 106061 2024-09-16 14:03:52Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * Test Manager - Test Details CSS.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2012-2024 Oracle and/or its affiliates.
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox base platform packages, as
|
---|
10 | * available from https://www.virtualbox.org.
|
---|
11 | *
|
---|
12 | * This program is free software; you can redistribute it and/or
|
---|
13 | * modify it under the terms of the GNU General Public License
|
---|
14 | * as published by the Free Software Foundation, in version 3 of the
|
---|
15 | * License.
|
---|
16 | *
|
---|
17 | * This program is distributed in the hope that it will be useful, but
|
---|
18 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | * General Public License for more details.
|
---|
21 | *
|
---|
22 | * You should have received a copy of the GNU General Public License
|
---|
23 | * along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | *
|
---|
25 | * The contents of this file may alternatively be used under the terms
|
---|
26 | * of the Common Development and Distribution License Version 1.0
|
---|
27 | * (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
|
---|
28 | * in the VirtualBox distribution, in which case the provisions of the
|
---|
29 | * CDDL are applicable instead of those of the GPL.
|
---|
30 | *
|
---|
31 | * You may elect to license modified versions of this file under the
|
---|
32 | * terms and conditions of either the GPL or the CDDL or both.
|
---|
33 | *
|
---|
34 | * SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
|
---|
35 | */
|
---|
36 |
|
---|
37 |
|
---|
38 |
|
---|
39 | /*
|
---|
40 | * The test details page has no side menu, so adjust the top-menu and main
|
---|
41 | * sections so they start at the left border.
|
---|
42 | */
|
---|
43 |
|
---|
44 | #top-menu, #main {
|
---|
45 | left: 0;
|
---|
46 | }
|
---|
47 | #main {
|
---|
48 | margin-left: 0px;
|
---|
49 | }
|
---|
50 |
|
---|
51 | .tmtbl-events {
|
---|
52 |
|
---|
53 | }
|
---|
54 |
|
---|
55 | .tmstatusrow-failure, .tmstatusrow-timed-out, .tmstatusrow-rebooted {
|
---|
56 | color: #e80000;
|
---|
57 | }
|
---|
58 |
|
---|
59 | .tmstatusrow-skipped, .tmstatusrow-aborted, .tmstatusrow-bad-testbox {
|
---|
60 | color: #0000f0;
|
---|
61 | }
|
---|
62 |
|
---|
63 |
|
---|
64 | /*
|
---|
65 | * Test results.
|
---|
66 | */
|
---|
67 |
|
---|
68 | /*
|
---|
69 | * Details table on the individual test result page.
|
---|
70 | */
|
---|
71 | table.tmtbl-testresult-details {
|
---|
72 | border-style: dashed;
|
---|
73 | border-spacing: 1px;
|
---|
74 | border-width: 1px;
|
---|
75 | border-color: gray;
|
---|
76 | border-collapse: separate;
|
---|
77 | }
|
---|
78 |
|
---|
79 | table.tmtbl-testresult-details caption {
|
---|
80 | text-align: left;
|
---|
81 | font-weight: bold;
|
---|
82 | font-size: 1.2em;
|
---|
83 | }
|
---|
84 |
|
---|
85 | table.tmtbl-testresult-details td, table.tmtbl-testresult-details th {
|
---|
86 | font-size: 1em;
|
---|
87 | border-style: none;
|
---|
88 | padding-bottom: 3px;
|
---|
89 | padding-top: 3px;
|
---|
90 | padding-left: 2px;
|
---|
91 | padding-right: 2px;
|
---|
92 | border-width: 1px;
|
---|
93 | }
|
---|
94 |
|
---|
95 | table.tmtbl-testresult-details th {
|
---|
96 | text-align: left;
|
---|
97 | }
|
---|
98 |
|
---|
99 | .tmtbl-result-details-caption {
|
---|
100 | font-size: 1.2em;
|
---|
101 | font-weight: bold;
|
---|
102 | text-align: center;
|
---|
103 | background-color: #c0d0e0;
|
---|
104 | }
|
---|
105 |
|
---|
106 | .tmtbl-result-details-subcaption {
|
---|
107 | text-align: center;
|
---|
108 | }
|
---|
109 |
|
---|
110 |
|
---|
111 | /*
|
---|
112 | * Event log on the individual test result page.
|
---|
113 | */
|
---|
114 | .tmtbl-events td {
|
---|
115 | padding-bottom: 1px;
|
---|
116 | padding-top: 1px;
|
---|
117 | padding-left: 1px;
|
---|
118 | padding-right: 1px;
|
---|
119 | vertical-align: top;
|
---|
120 | }
|
---|
121 |
|
---|
122 | .tmtbl-events th {
|
---|
123 | font-size: 1.3em;
|
---|
124 | text-align: center;
|
---|
125 | }
|
---|
126 |
|
---|
127 | table.tmtbl-events, table.tmtbl-events tr, table.tmtbl-events td, table.tmtbl-events th {
|
---|
128 | border-collapse: collapse;
|
---|
129 | }
|
---|
130 |
|
---|
131 | tr.tmtbl-events-leaf {
|
---|
132 | }
|
---|
133 |
|
---|
134 | tr.tmtbl-events-first {
|
---|
135 | border-top: 1px dotted;
|
---|
136 | }
|
---|
137 |
|
---|
138 | tr.tmtbl-events-value {
|
---|
139 | }
|
---|
140 |
|
---|
141 | tr.tmtbl-events-final {
|
---|
142 | border-bottom: 1px dotted;
|
---|
143 | }
|
---|
144 |
|
---|
145 |
|
---|
146 | tr.tmtbl-events-lvl0 td {
|
---|
147 | padding-top: 8px;
|
---|
148 | padding-bottom: 8px;
|
---|
149 | }
|
---|
150 |
|
---|
151 | tr.tmtbl-events-lvl1 td {
|
---|
152 | padding-top: 6px;
|
---|
153 | padding-bottom: 6px;
|
---|
154 | }
|
---|
155 |
|
---|
156 | tr.tmtbl-events-lvl2 td {
|
---|
157 | padding-top: 4px;
|
---|
158 | padding-bottom: 4px;
|
---|
159 | }
|
---|
160 |
|
---|
161 | tr.tmtbl-events-lvl3 td {
|
---|
162 | padding-top: 2px;
|
---|
163 | padding-bottom: 2px;
|
---|
164 | }
|
---|
165 |
|
---|
166 | tr.tmtbl-events-lvl4 td {
|
---|
167 | padding-top: 1px;
|
---|
168 | padding-bottom: 1px;
|
---|
169 | }
|
---|
170 |
|
---|
171 | tr.tmtbl-events-lvl5 td,
|
---|
172 | tr.tmtbl-events-lvl6 td,
|
---|
173 | tr.tmtbl-events-lvl7 td,
|
---|
174 | tr.tmtbl-events-lvl8 td,
|
---|
175 | tr.tmtbl-events-lvl9 td,
|
---|
176 | tr.tmtbl-events-lvl10 td {
|
---|
177 | padding-top: 0px;
|
---|
178 | padding-bottom: 0px;
|
---|
179 | }
|
---|
180 |
|
---|
181 | td.tmtbl-events-number {
|
---|
182 | text-align: right;
|
---|
183 | }
|
---|
184 |
|
---|
185 | td.tmtbl-events-number, td.tmtbl-events-unit {
|
---|
186 | }
|
---|
187 |
|
---|
188 | tr.tmtbl-events-value td:nth-child(3),
|
---|
189 | tr.tmtbl-events-file td:nth-child(3),
|
---|
190 | tr.tmtbl-events-message td:nth-child(3) {
|
---|
191 | padding-left: 2em;
|
---|
192 | }
|
---|
193 |
|
---|
194 | tr.tmtbl-events-value td:nth-child(3),
|
---|
195 | tr.tmtbl-events-message td:nth-child(3) {
|
---|
196 | font-style: italic;
|
---|
197 | }
|
---|
198 |
|
---|
199 |
|
---|
200 | /*
|
---|
201 | * Status coloring. (move to common.css?)
|
---|
202 | */
|
---|
203 | .tmspan-status-success {
|
---|
204 | color: green;
|
---|
205 | }
|
---|
206 | .tmspan-status-skipped {
|
---|
207 | color: blue;
|
---|
208 | }
|
---|
209 | .tmspan-status-failure {
|
---|
210 | color: red;
|
---|
211 | }
|
---|
212 | .tmspan-status-success, .tmspan-status-skipped, .tmspan-status-failure {
|
---|
213 | font-weight: bold;
|
---|
214 | text-transform: uppercase;
|
---|
215 | }
|
---|
216 |
|
---|