1 | /* $Id: common.css 65145 2017-01-05 11:44:01Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * Test Manager - Common CSS.
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2012-2015 Oracle Corporation
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | *
|
---|
17 | * The contents of this file may alternatively be used under the terms
|
---|
18 | * of the Common Development and Distribution License Version 1.0
|
---|
19 | * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | * VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | * CDDL are applicable instead of those of the GPL.
|
---|
22 | *
|
---|
23 | * You may elect to license modified versions of this file under the
|
---|
24 | * terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | */
|
---|
26 |
|
---|
27 |
|
---|
28 | /*
|
---|
29 | * Basic HTML elements.
|
---|
30 | */
|
---|
31 | * {
|
---|
32 | margin: 0;
|
---|
33 | padding: 0;
|
---|
34 | }
|
---|
35 |
|
---|
36 | html, body {
|
---|
37 | height: 100%;
|
---|
38 | }
|
---|
39 |
|
---|
40 | body {
|
---|
41 | background: #f9f9f9 repeat-y center;
|
---|
42 | font-family: Georgia, "Times New Roman", Times, serif;
|
---|
43 | font-family: Arial, Helvetica, sans-serif;
|
---|
44 | font-size: 0.8em;
|
---|
45 | color: #2f2f2f;
|
---|
46 | }
|
---|
47 |
|
---|
48 | p, ul, ol {
|
---|
49 | margin-top: 0;
|
---|
50 | }
|
---|
51 |
|
---|
52 | div {
|
---|
53 | margin: 0;
|
---|
54 | padding: 0;
|
---|
55 | }
|
---|
56 |
|
---|
57 | h1, h2, h3 {
|
---|
58 | margin: 0px 0 10px 0;
|
---|
59 | padding: 0;
|
---|
60 | font-weight: normal;
|
---|
61 | color: #2f2f2f;
|
---|
62 | line-height: 180%;
|
---|
63 | }
|
---|
64 | h1 {
|
---|
65 | font-size: 2.4em;
|
---|
66 | }
|
---|
67 | h2 {
|
---|
68 | font-size: 2.0em;
|
---|
69 | }
|
---|
70 | h3 {
|
---|
71 | font-size: 1.5em;
|
---|
72 | }
|
---|
73 |
|
---|
74 | dl {
|
---|
75 | margin-bottom: 10px;
|
---|
76 | }
|
---|
77 |
|
---|
78 |
|
---|
79 | /*
|
---|
80 | * Misc class stuff.
|
---|
81 | */
|
---|
82 | .clear {
|
---|
83 | clear: both;
|
---|
84 | }
|
---|
85 |
|
---|
86 | .left {
|
---|
87 | float: left;
|
---|
88 | }
|
---|
89 |
|
---|
90 | .right {
|
---|
91 | float: right;
|
---|
92 | }
|
---|
93 |
|
---|
94 |
|
---|
95 |
|
---|
96 | /*
|
---|
97 | * The general layout.
|
---|
98 | *
|
---|
99 | * Note! Not quite sure if something like this will work well everywhere...
|
---|
100 | * Will get back to that when the logic and content is all there, not
|
---|
101 | * worth wasting more time on CSS now.
|
---|
102 | */
|
---|
103 |
|
---|
104 | html, body {
|
---|
105 | height: 100%;
|
---|
106 | }
|
---|
107 |
|
---|
108 | #wrap {
|
---|
109 | position: relative;
|
---|
110 | width: 100%;
|
---|
111 | height: 100%;
|
---|
112 | }
|
---|
113 |
|
---|
114 | #head-wrap {
|
---|
115 | position: fixed;
|
---|
116 | top: 0;
|
---|
117 | left: 0;
|
---|
118 | height: 74px; /**< header + top-menu. */
|
---|
119 | width: 100%;
|
---|
120 | background: #f9f9f9;
|
---|
121 | }
|
---|
122 |
|
---|
123 | #logo {
|
---|
124 | width: 42px;
|
---|
125 | height: 46px;
|
---|
126 | top: 0;
|
---|
127 | left: 0;
|
---|
128 | right: 0;
|
---|
129 | bottom: auto;
|
---|
130 | /* Center the image in both directions. */
|
---|
131 | display: flex;
|
---|
132 | align-items: center;
|
---|
133 | justify-content: center;
|
---|
134 | justify-content: flex-end;
|
---|
135 | }
|
---|
136 |
|
---|
137 | #logo img {
|
---|
138 | height: 36px;
|
---|
139 | width: 36px;
|
---|
140 | }
|
---|
141 |
|
---|
142 | #header {
|
---|
143 | position: fixed;
|
---|
144 | width: 100%; /** @todo this is too wide, darn! */
|
---|
145 | height: 46px;
|
---|
146 | left: 42px;
|
---|
147 | top: 0;
|
---|
148 | right: 0;
|
---|
149 | bottom: auto;
|
---|
150 | margin-top: 0px;
|
---|
151 | margin-left: 0px;
|
---|
152 | text-align: left;
|
---|
153 | /* Center the h1 child vertically: */
|
---|
154 | display: flex;
|
---|
155 | align-items: center;
|
---|
156 | }
|
---|
157 |
|
---|
158 | #login {
|
---|
159 | position: absolute;
|
---|
160 | top: 0;
|
---|
161 | left: auto;
|
---|
162 | right: 2px;
|
---|
163 | bottom: auto;
|
---|
164 | height: auto;
|
---|
165 | }
|
---|
166 |
|
---|
167 | #top-menu {
|
---|
168 | position: fixed;
|
---|
169 | padding: 0px;
|
---|
170 | width: 99%;
|
---|
171 | height: auto;
|
---|
172 | max-height: 22px;
|
---|
173 | top: 46px;
|
---|
174 | left: 0px;
|
---|
175 | right: 0px;
|
---|
176 | bottom: auto;
|
---|
177 | }
|
---|
178 |
|
---|
179 | body.tm-wide-side-menu #side-menu-wrap {
|
---|
180 | width: 300px;
|
---|
181 | }
|
---|
182 | #side-menu-wrap {
|
---|
183 | position: fixed;
|
---|
184 | top: 0px;
|
---|
185 | left: 0;
|
---|
186 | right: auto;
|
---|
187 | bottom: auto;
|
---|
188 |
|
---|
189 | width: 164px;
|
---|
190 | height: 100vh;
|
---|
191 | min-height: 100vh;
|
---|
192 | max-height: 100vh;
|
---|
193 |
|
---|
194 | display: flex;
|
---|
195 | }
|
---|
196 |
|
---|
197 | #side-menu {
|
---|
198 | margin-top: 46px;
|
---|
199 | margin-top: 70px;
|
---|
200 | padding-top: 6px
|
---|
201 | height: auto;
|
---|
202 | max-height: 100%;
|
---|
203 | width: 95%;
|
---|
204 | width: calc(100% - 8px); /* CSS3 */
|
---|
205 |
|
---|
206 | display: flex;
|
---|
207 | flex-direction: column;
|
---|
208 | justify-content: space-between;
|
---|
209 | }
|
---|
210 |
|
---|
211 | #side-menu-body {
|
---|
212 | display: block;
|
---|
213 | max-height: 100%;
|
---|
214 | overflow: auto;
|
---|
215 | }
|
---|
216 |
|
---|
217 | body.tm-wide-side-menu #main {
|
---|
218 | margin-left: 300px;
|
---|
219 | }
|
---|
220 | #main {
|
---|
221 | height: 100%;
|
---|
222 | margin-top: 74px; /**< header + top-menu + padding. */
|
---|
223 | margin-left: 164px;
|
---|
224 | padding-left: 2px;
|
---|
225 | padding-right: 2px;
|
---|
226 | padding-top: 2px;
|
---|
227 | padding-bottom: 2px;
|
---|
228 | }
|
---|
229 |
|
---|
230 |
|
---|
231 | /*
|
---|
232 | * Header and logo specifics.
|
---|
233 | */
|
---|
234 | #header h1 {
|
---|
235 | margin-left: 8px;
|
---|
236 | margin-top: 0px;
|
---|
237 | margin-right: 0px;
|
---|
238 | margin-bottom: 0px;
|
---|
239 | font-weight: bold;
|
---|
240 | font-size: 2.2em;
|
---|
241 | font-family: Times New, Times, serif;
|
---|
242 | }
|
---|
243 |
|
---|
244 | #login p {
|
---|
245 | line-height: 100%;
|
---|
246 | }
|
---|
247 |
|
---|
248 |
|
---|
249 | /*
|
---|
250 | * Navigation menus (common).
|
---|
251 | */
|
---|
252 | #top-menu, #side-menu {
|
---|
253 | font-weight: bold;
|
---|
254 | font-size: 1em;
|
---|
255 | font-family: Arial, Helvetica, sans-serif;
|
---|
256 | background-color: #c0d0e0;
|
---|
257 | padding: 2px 2px 2px 2px;
|
---|
258 | }
|
---|
259 |
|
---|
260 | #top-menu.tm-top-menu-wo-side {
|
---|
261 | border-radius: 12px;
|
---|
262 | }
|
---|
263 | #top-menu {
|
---|
264 | border-radius: 12px 12px 12px 0px;
|
---|
265 | }
|
---|
266 |
|
---|
267 | #side-menu {
|
---|
268 | border-radius: 0px 0px 12px 12px;
|
---|
269 | }
|
---|
270 |
|
---|
271 | #head-wrap {
|
---|
272 | line-height: 180%;
|
---|
273 | }
|
---|
274 |
|
---|
275 | #top-menu ul li a, #side-menu ul li a {
|
---|
276 | text-decoration: none;
|
---|
277 | color: #000000;
|
---|
278 | font-weight: bold;
|
---|
279 | font-size: 1em;
|
---|
280 | font-family: Arial, Helvetica, sans-serif;
|
---|
281 | }
|
---|
282 |
|
---|
283 | #top-menu a:hover, #top-menu .current_page_item a, #side-menu a:hover, #side-menu .current_page_item a {
|
---|
284 | text-decoration: none;
|
---|
285 | color: #b23c1c;
|
---|
286 | }
|
---|
287 |
|
---|
288 |
|
---|
289 | /*
|
---|
290 | * Navigation in on the left side.
|
---|
291 | */
|
---|
292 |
|
---|
293 |
|
---|
294 | /* Side menu: */
|
---|
295 | #side-menu {
|
---|
296 | /* margin-top and padding-top are set up in layout !*/
|
---|
297 | margin-right: 3px;
|
---|
298 | margin-left: 3px;
|
---|
299 | margin-bottom: 3px;
|
---|
300 | }
|
---|
301 |
|
---|
302 | #side-menu p {
|
---|
303 | margin-right: 3px;
|
---|
304 | margin-left: 3px;
|
---|
305 | }
|
---|
306 |
|
---|
307 | #side-menu ul {
|
---|
308 | list-style: none;
|
---|
309 | margin-left: 3px;
|
---|
310 | margin-right: 3px;
|
---|
311 | }
|
---|
312 |
|
---|
313 | #side-menu li {
|
---|
314 | padding-top: 0.3em;
|
---|
315 | padding-bottom: 0.3em;
|
---|
316 | line-height: 1.0em;
|
---|
317 | text-align: left;
|
---|
318 | }
|
---|
319 |
|
---|
320 | #side-menu .subheader_item {
|
---|
321 | font-style: italic;
|
---|
322 | font-size: 1.1em;
|
---|
323 | text-decoration: underline;
|
---|
324 | }
|
---|
325 |
|
---|
326 | .subheader_item:not(:first-child) {
|
---|
327 | margin-top: 0.5em;
|
---|
328 | }
|
---|
329 |
|
---|
330 | .tm-sidebar-size-link {
|
---|
331 | float: right;
|
---|
332 | }
|
---|
333 |
|
---|
334 |
|
---|
335 | /* Webkit: Pretty scroll bars on the menu body as well as inside filter criteria. */
|
---|
336 | #side-menu ::-webkit-scrollbar {
|
---|
337 | width: 8px;
|
---|
338 | }
|
---|
339 | #side-menu ::-webkit-scrollbar-track {
|
---|
340 | -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
|
---|
341 | -webkit-border-radius: 4px;
|
---|
342 | border-radius: 4px;
|
---|
343 | }
|
---|
344 | #side-menu ::-webkit-scrollbar-thumb {
|
---|
345 | -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
|
---|
346 | -webkit-border-radius: 4px;
|
---|
347 | border-radius: 4px;
|
---|
348 | background: rgba(112, 128, 144, 0.9);
|
---|
349 | }
|
---|
350 | #side-menu ::-webkit-scrollbar-thumb:window-inactive {
|
---|
351 | background: rgba(112, 128, 144, 0.7);
|
---|
352 | }
|
---|
353 |
|
---|
354 | /* Filters: */
|
---|
355 | #side-filters p:first-child {
|
---|
356 | margin-top: 0.5em;
|
---|
357 | font-style: italic;
|
---|
358 | font-size: 1.1em;
|
---|
359 | text-decoration: underline;
|
---|
360 | }
|
---|
361 |
|
---|
362 | #side-filters dd.sf-collapsible {
|
---|
363 | display: block;
|
---|
364 | }
|
---|
365 |
|
---|
366 | #side-filters dd.sf-expandable {
|
---|
367 | display: none;
|
---|
368 | }
|
---|
369 |
|
---|
370 | #side-filters a {
|
---|
371 | text-decoration: none;
|
---|
372 | color: #000000;
|
---|
373 | }
|
---|
374 |
|
---|
375 | #side-filters dt {
|
---|
376 | margin-top: 0.4em;
|
---|
377 | }
|
---|
378 |
|
---|
379 | #side-filters dd {
|
---|
380 | font-size: 0.82em;
|
---|
381 | font-family: "Arial Narrow", Arial, sans-serif;
|
---|
382 | font-weight: normal;
|
---|
383 | }
|
---|
384 |
|
---|
385 | #side-filters li, #side-filters input[type=checkbox], #side-filters p {
|
---|
386 | line-height: 0.9em;
|
---|
387 | vertical-align: text-bottom;
|
---|
388 | }
|
---|
389 |
|
---|
390 | #side-filters input[type=checkbox] {
|
---|
391 | margin-right: 0.20em;
|
---|
392 | width: 1.0em;
|
---|
393 | height: 1.0em;
|
---|
394 | }
|
---|
395 | @supports(-moz-appearance:meterbar) {
|
---|
396 | #side-filters input[type=checkbox] {
|
---|
397 | /* not currently used */
|
---|
398 | }
|
---|
399 | }
|
---|
400 | @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { /* IE 10+ specific tweaks */
|
---|
401 | #side-filters input[type=checkbox] {
|
---|
402 | width: 1.1em;
|
---|
403 | height: 1.1em;
|
---|
404 | }
|
---|
405 | }
|
---|
406 |
|
---|
407 | #side-filters dd > ul {
|
---|
408 | max-height: 22em;
|
---|
409 | overflow: auto;
|
---|
410 | }
|
---|
411 |
|
---|
412 | #side-filters ul ul {
|
---|
413 | margin-left: 1.4em;
|
---|
414 | }
|
---|
415 |
|
---|
416 | #side-filters li {
|
---|
417 | padding-top: 1px;
|
---|
418 | padding-bottom: 1px;
|
---|
419 | overflow-wrap: break-word;
|
---|
420 | }
|
---|
421 |
|
---|
422 | ul.sf-checkbox-collapsible {
|
---|
423 | display: block;
|
---|
424 | }
|
---|
425 |
|
---|
426 | ul.sf-checkbox-expandable {
|
---|
427 | display: none;
|
---|
428 | }
|
---|
429 |
|
---|
430 | .side-filter-irrelevant {
|
---|
431 | font-style: italic;
|
---|
432 | font-weight: normal;
|
---|
433 | }
|
---|
434 | .side-filter-count {
|
---|
435 | font-size: smaller;
|
---|
436 | vertical-align: text-top;
|
---|
437 | }
|
---|
438 |
|
---|
439 | /* Footer: */
|
---|
440 | #side-footer {
|
---|
441 | width: 100%;
|
---|
442 | margin-left: 2px;
|
---|
443 | margin-right: 2px;
|
---|
444 | margin-top: 1em;
|
---|
445 | padding-top: 1em;
|
---|
446 | padding-bottom: 0.8em;
|
---|
447 | border-top: thin white ridge;
|
---|
448 | }
|
---|
449 |
|
---|
450 | #side-footer p {
|
---|
451 | margin-left: 3px;
|
---|
452 | margin-right: 3px;
|
---|
453 | margin-bottom: 0.5em;
|
---|
454 | font-family: Times New, Times, serif;
|
---|
455 | font-size: 0.86em;
|
---|
456 | font-style: normal;
|
---|
457 | font-weight: normal;
|
---|
458 | line-height: 1.2em;
|
---|
459 | text-align: center;
|
---|
460 | }
|
---|
461 |
|
---|
462 |
|
---|
463 | /*
|
---|
464 | * Navigation in the header.
|
---|
465 | */
|
---|
466 | #top-menu {
|
---|
467 | margin-right: 3px; /* same as #side-menu! */
|
---|
468 | margin-left: 3px;
|
---|
469 | }
|
---|
470 |
|
---|
471 | #top-menu ul li a {
|
---|
472 | padding: .1em 1em;
|
---|
473 | }
|
---|
474 |
|
---|
475 | #top-menu ul li {
|
---|
476 | display: inline;
|
---|
477 | }
|
---|
478 |
|
---|
479 | #top-menu ul {
|
---|
480 | margin: 0;
|
---|
481 | padding: 0;
|
---|
482 | list-style: none;
|
---|
483 | list-style-type: none;
|
---|
484 | text-align: center;
|
---|
485 | }
|
---|
486 |
|
---|
487 | #top-menu a {
|
---|
488 | border: none;
|
---|
489 | }
|
---|
490 |
|
---|
491 | #top-menu .current_page_item a {
|
---|
492 | }
|
---|
493 |
|
---|
494 |
|
---|
495 | /*
|
---|
496 | * Error message (typically a paragraph in the body).
|
---|
497 | */
|
---|
498 | .tmerrormsg {
|
---|
499 | color: #ff0000;
|
---|
500 | white-space: pre;
|
---|
501 | font-family: Monospace, "Lucida Console", "Courier New", "Courier";
|
---|
502 | display: block;
|
---|
503 | border: 1px solid;
|
---|
504 | margin: 1em;
|
---|
505 | padding: 0.6em;
|
---|
506 | }
|
---|
507 |
|
---|
508 |
|
---|
509 | /*
|
---|
510 | * Generic odd/even row and sub-row attribs.
|
---|
511 | */
|
---|
512 | .tmeven {
|
---|
513 | background-color: #ececec;
|
---|
514 | }
|
---|
515 |
|
---|
516 | .tmodd {
|
---|
517 | background-color: #fcfcfc;
|
---|
518 | }
|
---|
519 |
|
---|
520 | /** @todo adjust the sub row colors (see change logs for examples). */
|
---|
521 | .tmeveneven {
|
---|
522 | background-color: #d8e0f8;
|
---|
523 | }
|
---|
524 |
|
---|
525 | .tmevenodd {
|
---|
526 | background-color: #e8f0ff;
|
---|
527 | }
|
---|
528 |
|
---|
529 | .tmoddeven {
|
---|
530 | background-color: #d8e0f8;
|
---|
531 | }
|
---|
532 |
|
---|
533 | .tmoddodd {
|
---|
534 | background-color: #e8f0ff;
|
---|
535 | }
|
---|
536 |
|
---|
537 |
|
---|
538 | /*
|
---|
539 | * Generic thead class (first-child doesn't work for multiple header rows).
|
---|
540 | */
|
---|
541 | .tmheader {
|
---|
542 | background-color: #d0d0d0;
|
---|
543 | color: black;
|
---|
544 | }
|
---|
545 |
|
---|
546 | /*
|
---|
547 | * Generic class for div elements wrapping pre inside a table. This prevents
|
---|
548 | * the <pre> from taking up way more screen space that available.
|
---|
549 | */
|
---|
550 | .tdpre {
|
---|
551 | display: table;
|
---|
552 | table-layout: fixed;
|
---|
553 | width: 100%;
|
---|
554 | }
|
---|
555 | .tdpre pre {
|
---|
556 | overflow: auto;
|
---|
557 | }
|
---|
558 |
|
---|
559 |
|
---|
560 | /*
|
---|
561 | * A typical table.
|
---|
562 | */
|
---|
563 | /* table.tmtable th {
|
---|
564 | background-color: #d0d0d0;
|
---|
565 | color: black;
|
---|
566 | } */
|
---|
567 |
|
---|
568 | table.tmtable caption {
|
---|
569 | text-align: left;
|
---|
570 | }
|
---|
571 |
|
---|
572 | table.tmtable {
|
---|
573 | width: 100%;
|
---|
574 | border-spacing: 0px;
|
---|
575 | }
|
---|
576 |
|
---|
577 | table.tmtable th {
|
---|
578 | font-size: 1.3em;
|
---|
579 | text-align: center;
|
---|
580 | }
|
---|
581 |
|
---|
582 | table.tmtable, table.tmtable tr, table.tmtable td, table.tmtable th {
|
---|
583 | vertical-align: top;
|
---|
584 | }
|
---|
585 |
|
---|
586 | table.tmtable {
|
---|
587 | border-left: 1px solid black;
|
---|
588 | border-top: 1px solid black;
|
---|
589 | border-right: none;
|
---|
590 | border-bottom: none;
|
---|
591 | }
|
---|
592 |
|
---|
593 | table.tmtable td, table.tmtable th {
|
---|
594 | border-left: none;
|
---|
595 | border-top: none;
|
---|
596 | border-right: 1px solid black;
|
---|
597 | border-bottom: 1px solid black;
|
---|
598 | }
|
---|
599 |
|
---|
600 | table.tmtable td {
|
---|
601 | padding-left: 3px;
|
---|
602 | padding-right: 3px;
|
---|
603 | padding-top: 3px;
|
---|
604 | padding-bottom: 3px;
|
---|
605 | }
|
---|
606 |
|
---|
607 | table.tmtable th {
|
---|
608 | padding-left: 3px;
|
---|
609 | padding-right: 3px;
|
---|
610 | padding-top: 6px;
|
---|
611 | padding-bottom: 6px;
|
---|
612 | }
|
---|
613 |
|
---|
614 | .tmtable td {
|
---|
615 | }
|
---|
616 |
|
---|
617 |
|
---|
618 | /*
|
---|
619 | * Table placed inside of a big table used to display *all* stuff of a category.
|
---|
620 | */
|
---|
621 |
|
---|
622 | table.tminnertbl tr:nth-child(odd) {
|
---|
623 | background-color: #e8e8e8;
|
---|
624 | }
|
---|
625 | table.tminnertbl tr:nth-child(even) {
|
---|
626 | background-color: #f8f8f8;
|
---|
627 | }
|
---|
628 | table.tminnertbl tr:first-child {
|
---|
629 | background-color: #d0d0d0;
|
---|
630 | color: black;
|
---|
631 | }
|
---|
632 |
|
---|
633 | table.tminnertbl {
|
---|
634 | border-style: dashed;
|
---|
635 | border-spacing: 1px;
|
---|
636 | border-width: 1px;
|
---|
637 | border-color: gray;
|
---|
638 | border-collapse: separate;
|
---|
639 | }
|
---|
640 |
|
---|
641 | table.tminnertbl th, table.tminnertbl td {
|
---|
642 | font-size: 1em;
|
---|
643 | text-align: center;
|
---|
644 | border-style: none;
|
---|
645 | padding: 1px;
|
---|
646 | border-width: 1px;
|
---|
647 | border-color: #FFFFF0;
|
---|
648 | }
|
---|
649 |
|
---|
650 | /*
|
---|
651 | * Table placed inside a form.
|
---|
652 | */
|
---|
653 | table.tmformtbl {
|
---|
654 | border-style: none;
|
---|
655 | border-spacing: 1px;
|
---|
656 | border-width: 1px;
|
---|
657 | border-collapse: separate;
|
---|
658 | }
|
---|
659 |
|
---|
660 | table.tmformtbl th, table.tmformtbl td {
|
---|
661 | font-size: 1em;
|
---|
662 | padding-left: 0.5em;
|
---|
663 | padding-right: 0.5em;
|
---|
664 | padding-bottom: 1px;
|
---|
665 | padding-top: 1px;
|
---|
666 | border-width: 1px;
|
---|
667 | }
|
---|
668 |
|
---|
669 | table.tmformtbl th, table.tmformtbl thead {
|
---|
670 | background-color: #d0d0d0;
|
---|
671 | font-size: 1em;
|
---|
672 | font-weight: bold;
|
---|
673 | }
|
---|
674 |
|
---|
675 | table.tmformtbl tr.tmodd {
|
---|
676 | background: #e2e2e2;
|
---|
677 | }
|
---|
678 |
|
---|
679 |
|
---|
680 | /*
|
---|
681 | * Change log table (used with tmtable).
|
---|
682 | */
|
---|
683 | table.tmchangelog > tbody {
|
---|
684 | font-size: 1em;
|
---|
685 | }
|
---|
686 |
|
---|
687 | table.tmchangelog tr.tmodd td:nth-child(1),
|
---|
688 | table.tmchangelog tr.tmeven td:nth-child(1),
|
---|
689 | table.tmchangelog tr.tmodd td:nth-child(2),
|
---|
690 | table.tmchangelog tr.tmeven td:nth-child(2) {
|
---|
691 | min-width: 5em;
|
---|
692 | max-width: 10em; /* futile */
|
---|
693 | }
|
---|
694 |
|
---|
695 | table.tmchangelog tr.tmeven {
|
---|
696 | background-color: #e8f0ff;
|
---|
697 | }
|
---|
698 |
|
---|
699 | table.tmchangelog tr.tmodd {
|
---|
700 | background-color: #d8e0f8;
|
---|
701 | }
|
---|
702 |
|
---|
703 | table.tmchangelog tr.tmoddeven, table.tmchangelog tr.tmeveneven {
|
---|
704 | background-color: #fcfcfc;
|
---|
705 | }
|
---|
706 |
|
---|
707 | table.tmchangelog tr.tmoddodd, table.tmchangelog tr.tmevenodd {
|
---|
708 | background-color: #ececec;
|
---|
709 | }
|
---|
710 |
|
---|
711 | table.tmchangelog tr.tmoddeven, table.tmchangelog tr.tmeveneven, table.tmchangelog tr.tmoddodd, table.tmchangelog tr.tmevenodd {
|
---|
712 | font-size: 0.86em;
|
---|
713 | }
|
---|
714 |
|
---|
715 | .tmsyschlogattr {
|
---|
716 | font-size: 0.80em;
|
---|
717 | }
|
---|
718 |
|
---|
719 | .tmsyschlogspacer {
|
---|
720 | width: 0.8em;
|
---|
721 | }
|
---|
722 |
|
---|
723 | td.tmsyschlogspacer:not(:last-child) {
|
---|
724 | width: 1.8em;
|
---|
725 | border-bottom: 0px solid green !important;
|
---|
726 | }
|
---|
727 |
|
---|
728 | .tmsyschlogevent {
|
---|
729 | border-bottom: 0px solid green !important;
|
---|
730 | }
|
---|
731 |
|
---|
732 | .tmsyschlogspacerrowabove {
|
---|
733 | height: 0.22em;
|
---|
734 | }
|
---|
735 |
|
---|
736 | .tmsyschlogspacerrowbelow {
|
---|
737 | height: 0.80em;
|
---|
738 | }
|
---|
739 |
|
---|
740 |
|
---|
741 | /*
|
---|
742 | * Elements to be shows on *Show All* pages.
|
---|
743 | */
|
---|
744 |
|
---|
745 | ul.tmshowall {
|
---|
746 | margin-left: 15px;
|
---|
747 | margin-right: 15px;
|
---|
748 | }
|
---|
749 |
|
---|
750 | li.tmshowall {
|
---|
751 | margin-left: 5px;
|
---|
752 | margin-right: 5px;
|
---|
753 | }
|
---|
754 |
|
---|
755 |
|
---|
756 | /*
|
---|
757 | * List navigation table
|
---|
758 | */
|
---|
759 | table.tmlistnavtab {
|
---|
760 | width: 100%;
|
---|
761 | }
|
---|
762 |
|
---|
763 |
|
---|
764 | /*
|
---|
765 | * A typical form.
|
---|
766 | *
|
---|
767 | * Note! This _has_ to be redone. It sucks for the wide fields and such.
|
---|
768 | */
|
---|
769 | .tmform ul {
|
---|
770 | list-style: none;
|
---|
771 | list-style-type: none;
|
---|
772 | }
|
---|
773 |
|
---|
774 | .tmform li {
|
---|
775 | line-height: 160%;
|
---|
776 | }
|
---|
777 |
|
---|
778 |
|
---|
779 | .tmform-field {
|
---|
780 | display: block;
|
---|
781 | clear: both;
|
---|
782 | }
|
---|
783 |
|
---|
784 | .tmform-field label {
|
---|
785 | float: left;
|
---|
786 | text-align: right;
|
---|
787 | width: 20%;
|
---|
788 | min-width: 10em;
|
---|
789 | max-width: 16em;
|
---|
790 | padding-right: 0.9em;
|
---|
791 | }
|
---|
792 |
|
---|
793 | .tmform-error-desc {
|
---|
794 | display: block;
|
---|
795 | color: #ff0000;
|
---|
796 | font-style: italic;
|
---|
797 | }
|
---|
798 |
|
---|
799 | .tmform-button {
|
---|
800 | float: left;
|
---|
801 | padding-top: 0.8em;
|
---|
802 | }
|
---|
803 |
|
---|
804 | .tmform-field input {
|
---|
805 | }
|
---|
806 |
|
---|
807 | .tmform-field-tiny-int input {
|
---|
808 | width: 2em;
|
---|
809 | }
|
---|
810 |
|
---|
811 | .tmform-field-int input {
|
---|
812 | width: 6em;
|
---|
813 | }
|
---|
814 |
|
---|
815 | .tmform-field-long input {
|
---|
816 | width: 9em;
|
---|
817 | }
|
---|
818 |
|
---|
819 | .tmform-field-submit input {
|
---|
820 | }
|
---|
821 |
|
---|
822 | .tmform-field-string input {
|
---|
823 | width: 24em;
|
---|
824 | }
|
---|
825 |
|
---|
826 | .tmform-field-subname input {
|
---|
827 | width: 10em;
|
---|
828 | }
|
---|
829 |
|
---|
830 | .tmform-field-timestamp input {
|
---|
831 | width: 20em;
|
---|
832 | }
|
---|
833 |
|
---|
834 | .tmform-field-uuid input {
|
---|
835 | width: 24em;
|
---|
836 | }
|
---|
837 |
|
---|
838 | .tmform-field-wide input {
|
---|
839 | width: 78%;
|
---|
840 | overflow: hidden;
|
---|
841 | }
|
---|
842 |
|
---|
843 | .tmform-field-wide100 input {
|
---|
844 | width: 100%;
|
---|
845 | overflow: hidden;
|
---|
846 | }
|
---|
847 |
|
---|
848 | .tmform-field-list {
|
---|
849 | padding-top: 2px;
|
---|
850 | padding-bottom: 2px;
|
---|
851 | }
|
---|
852 |
|
---|
853 | .tmform-checkboxes-container {
|
---|
854 | padding: 3px;
|
---|
855 | overflow: auto;
|
---|
856 | border: 1px dotted #cccccc;
|
---|
857 | }
|
---|
858 |
|
---|
859 | .tmform-checkbox-holder {
|
---|
860 | float: left;
|
---|
861 | min-width: 20em;
|
---|
862 | }
|
---|
863 |
|
---|
864 | #tmform-checkbox-list-os-arches .tmform-checkbox-holder {
|
---|
865 | min-width: 11em;
|
---|
866 | }
|
---|
867 |
|
---|
868 | #tmform-checkbox-list-build-types .tmform-checkbox-holder {
|
---|
869 | min-width: 6em;
|
---|
870 | }
|
---|
871 |
|
---|
872 | .tmform-input-readonly {
|
---|
873 | background: #ADD8EF;
|
---|
874 | color: #ffffff;
|
---|
875 | }
|
---|
876 |
|
---|
877 | /* (Test case argument variation.) */
|
---|
878 |
|
---|
879 | table.tmform-innertbl {
|
---|
880 | border-style: none;
|
---|
881 | border-spacing: 1px;
|
---|
882 | border-width: 1px;
|
---|
883 | border-collapse: separate;
|
---|
884 | width: 78%;
|
---|
885 | }
|
---|
886 |
|
---|
887 | table.tmform-innertbl caption {
|
---|
888 | text-align: left;
|
---|
889 | }
|
---|
890 |
|
---|
891 | table.tmform-innertbl th, table.tmform-innertbl td {
|
---|
892 | font-size: 1em;
|
---|
893 | text-align: center;
|
---|
894 | border-style: none;
|
---|
895 | /* padding-top: 1px;*/
|
---|
896 | /*padding-bottom: 1px;*/
|
---|
897 | padding-left: 2px;
|
---|
898 | padding-right: 2px;
|
---|
899 | border-width: 1px;
|
---|
900 | border-color: #FFFFF0;
|
---|
901 | background-color: #f9f9f9;
|
---|
902 | }
|
---|
903 |
|
---|
904 | .tmform-inntertbl-td-wide input {
|
---|
905 | width: 100%;
|
---|
906 | overflow: hidden;
|
---|
907 | }
|
---|
908 |
|
---|
909 | .tmform-inntertbl-td-wide {
|
---|
910 | width: 100%;
|
---|
911 | }
|
---|
912 |
|
---|
913 |
|
---|
914 | /*
|
---|
915 | * The test case argument variation table.
|
---|
916 | */
|
---|
917 | table.tmform-testcasevars {
|
---|
918 | border-style: none;
|
---|
919 | border-spacing: 0px;
|
---|
920 | border-width: 0px;
|
---|
921 | border-collapse: collapse;
|
---|
922 | width: 78%;
|
---|
923 | }
|
---|
924 |
|
---|
925 | table.tmform-testcasevars tbody {
|
---|
926 | border-style: solid;
|
---|
927 | border-spacing: 1px;
|
---|
928 | border-width: 1px;
|
---|
929 | margin: 2px;
|
---|
930 | }
|
---|
931 |
|
---|
932 | table.tmform-testcasevars td {
|
---|
933 | padding-right: 3px;
|
---|
934 | padding-left: 3px;
|
---|
935 | }
|
---|
936 |
|
---|
937 | table.tmform-testcasevars td:first-child, table.tmform-testcasevars td:nth-child(3) {
|
---|
938 | width: 8em;
|
---|
939 | text-align: right;
|
---|
940 | }
|
---|
941 | table.tmform-testcasevars td:nth-child(5) {
|
---|
942 | width: 4em;
|
---|
943 | text-align: left;
|
---|
944 | }
|
---|
945 |
|
---|
946 |
|
---|
947 | .tmform-testcasevars caption {
|
---|
948 | text-align: left;
|
---|
949 | }
|
---|
950 |
|
---|
951 | tr.tmform-testcasevars-first-row td {
|
---|
952 | padding-top: 0px;
|
---|
953 | padding-bottom: 0px;
|
---|
954 | background-color: #e3e3ec;
|
---|
955 | }
|
---|
956 |
|
---|
957 | .tmform-testcasevars-inner-row td {
|
---|
958 | padding-top: 0px;
|
---|
959 | padding-bottom: 0px;
|
---|
960 | }
|
---|
961 |
|
---|
962 | tr.tmform-testcasevars-final-row td {
|
---|
963 | padding-top: 0px;
|
---|
964 | padding-bottom: 1px;
|
---|
965 | }
|
---|
966 |
|
---|
967 | td.tmform-testcasevars-stupid-border-column {
|
---|
968 | /* Stupid hack. */
|
---|
969 | min-width: 2px;
|
---|
970 | width: 0.1%;
|
---|
971 | }
|
---|
972 |
|
---|
973 |
|
---|
974 |
|
---|
975 | /*
|
---|
976 | * Log viewer.
|
---|
977 | */
|
---|
978 | .tmlog a[href] {
|
---|
979 | background-color: #e0e0e0;
|
---|
980 | padding-left: 0.8em;
|
---|
981 | padding-right: 0.8em;
|
---|
982 | }
|
---|
983 |
|
---|
984 | .tmlog pre {
|
---|
985 | background-color: #000000;
|
---|
986 | color: #00ff00;
|
---|
987 | font-family: "Monospace", "Lucida Console", "Courier New", "Courier";
|
---|
988 | }
|
---|
989 |
|
---|
990 |
|
---|
991 | /*
|
---|
992 | * Debug SQL traceback.
|
---|
993 | */
|
---|
994 | #debug, #debug h1, #debug h2, #debug h3,
|
---|
995 | #debug2, #debug2 h1, #debug2 h2, #debug2 h3 {
|
---|
996 | color: #00009f;
|
---|
997 | }
|
---|
998 |
|
---|
999 | table.tmsqltable {
|
---|
1000 | border-collapse: collapse;
|
---|
1001 | }
|
---|
1002 |
|
---|
1003 | table.tmsqltable, table.tmsqltable tr, table.tmsqltable td, table.tmsqltable th {
|
---|
1004 | border: 1px solid;
|
---|
1005 | vertical-align: middle;
|
---|
1006 | padding: 0.1ex 0.5ex;
|
---|
1007 | }
|
---|
1008 |
|
---|
1009 | table.tmsqltable pre {
|
---|
1010 | text-align: left;
|
---|
1011 | }
|
---|
1012 |
|
---|
1013 |
|
---|
1014 | /*
|
---|
1015 | * Various more or less common span classes.
|
---|
1016 | */
|
---|
1017 | .tmspan-offline {
|
---|
1018 | color: #f08020;
|
---|
1019 | font-size: 0.75em;
|
---|
1020 | }
|
---|
1021 |
|
---|
1022 | .tmspan-online {
|
---|
1023 | font-size: 0.75em;
|
---|
1024 | }
|
---|
1025 |
|
---|
1026 | .tmspan-name, .tmspan-osarch {
|
---|
1027 | font-weight: bold;
|
---|
1028 | }
|
---|
1029 |
|
---|
1030 | .tmspan-osver1 {
|
---|
1031 | font-style: italic;
|
---|
1032 | }
|
---|
1033 |
|
---|
1034 | .tmspan-osver2 {
|
---|
1035 | font-style: normal;
|
---|
1036 | }
|
---|
1037 |
|
---|
1038 |
|
---|
1039 | /*
|
---|
1040 | * Subversion tooltip.
|
---|
1041 | */
|
---|
1042 | .tmvcstooltip {
|
---|
1043 | padding: 0px;
|
---|
1044 | min-width: 50em;
|
---|
1045 | overflow: hidden;
|
---|
1046 | border: 0px none;
|
---|
1047 | }
|
---|
1048 |
|
---|
1049 | .tmvcstooltip iframe {
|
---|
1050 | padding: 0px;
|
---|
1051 | margin: 0px;
|
---|
1052 | border: 0px none;
|
---|
1053 | width: 100%;
|
---|
1054 | overflow: auto;
|
---|
1055 | }
|
---|
1056 |
|
---|