VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/testmanager/htdocs/css/common.css@ 64986

Last change on this file since 64986 was 64986, checked in by vboxsync, 8 years ago

testmanager/webui: started on test result filtering.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 15.2 KB
Line 
1/* $Id: common.css 64986 2016-12-21 14:36:33Z 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
36html, body {
37 height: 100%;
38}
39
40body {
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
48p, ul, ol {
49 margin-top: 0;
50 line-height: 180%;
51}
52
53div {
54 margin: 0;
55 padding: 0;
56}
57
58h1, h2, h3 {
59 margin: 0px 0 10px 0;
60 padding: 0;
61 font-weight: normal;
62 color: #2f2f2f;
63}
64h1 {
65 font-size: 2.4em;
66}
67h2 {
68 font-size: 2.0em;
69}
70h3 {
71 font-size: 1.5em;
72}
73
74dl {
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#logo {
105 position: fixed;
106 width: 100%;
107 height: 92px;
108 top: 0;
109 left: 0;
110 right: 0;
111 bottom: auto;
112}
113
114#logo img {
115 height: 64px;
116 width: 64px;
117}
118
119#header {
120 position: fixed;
121 width: 100%; /** @todo this is too wide, darn! */
122 height: 92px;
123 top: 0;
124 left: 118px;
125 right: 0;
126 bottom: auto;
127}
128
129#login {
130 position: absolute;
131 top: 0;
132 left: auto;
133 right: 0;
134 right: 10px;
135 bottom: auto;
136}
137
138#side-menu {
139 position: fixed;
140 width: 116px;
141 height: auto;
142 top: 92px;
143 left: 0;
144 right: auto;
145 bottom: 0;
146}
147
148#top-menu {
149 position: fixed;
150 width: auto;
151 height: auto;
152 max-height: 28px;
153 top: 92px;
154 left: 0px;
155 right: 0;
156 bottom: auto;
157}
158
159#main {
160 position: fixed;
161 width: auto;
162 height: auto;
163 top: 124px; /**< header + top-menu + padding. */
164 right: 0;
165 bottom: 0;
166 left: 124px;
167 overflow: auto;
168 padding-top: 16px;
169 padding-left: 10px;
170 padding-right: 10px;
171}
172
173
174/*
175 * Header and logo.
176 */
177#logo {
178 padding: 16px 32px 16px 32px;
179}
180
181#header {
182 margin-top: 22px;
183 margin-left: 10px;
184 text-align: left;
185}
186
187
188/*
189 * Navigation menus (common).
190 */
191#top-menu, #side-menu {
192 font-weight: bold;
193 font-size: 1em;
194 font-family: Arial, Helvetica, sans-serif;
195 background-color: #c0d0e0;
196 padding: 2px 2px 2px 2px;
197 border-radius: 12px;
198}
199
200#top-menu ul li a, #side-menu ul li a {
201 text-decoration: none;
202 color: #000000;
203 font-weight: bold;
204 font-size: 1em;
205 font-family: Arial, Helvetica, sans-serif;
206}
207
208#top-menu a:hover, #top-menu .current_page_item a, #side-menu a:hover, #side-menu .current_page_item a {
209 text-decoration: none;
210 color: #b23c1c;
211}
212
213
214/*
215 * Navigation in on the left side.
216 */
217
218#side-menu {
219 padding-top: 28px; /**< #top-menu.max-height */
220 margin-right: 3px;
221 margin-left: 3px;
222 margin-bottom: 3px;
223}
224
225#side-menu p {
226 margin-right: 3px;
227 margin-left: 3px;
228}
229
230#side-menu ul {
231 list-style: none;
232 margin-left: 3px;
233 margin-right: 3px;
234}
235
236#side-menu li {
237 padding-top: 0.3em;
238 padding-bottom: 0.3em;
239 line-height: 1.0em;
240 text-align: left;
241}
242
243#side-menu .subheader_item {
244 font-style: italic;
245 font-size: 1.1em;
246 text-decoration: underline;
247}
248
249.subheader_item:not(:first-child) {
250 margin-top: 0.5em;
251}
252
253
254#side-filters p:first-child {
255 margin-top: 0.5em;
256 font-style: italic;
257 font-size: 1.1em;
258 text-decoration: underline;
259}
260
261#side-filters dd.sf-collapsable {
262 display: block;
263}
264
265#side-filters dd.sf-expandable {
266 display: none;
267}
268
269#side-filters a {
270 text-decoration: none;
271 color: #000000;
272}
273
274
275#side-footer {
276 position: absolute;
277 top: auto;
278 bottom: 0;
279 left: auto;
280 right: auto;
281
282 width: 107px;
283 margin-left: 2px;
284 margin-right: 2px;
285 padding-top: 1em;
286 padding-bottom: 0.8em;
287 border-top: thin white ridge;
288}
289
290#side-footer p {
291 margin-left: 3px;
292 margin-right: 3px;
293 font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
294 font-size: 8px;
295 font-style: normal;
296 text-align: center;
297}
298
299
300/*
301 * Navigation in the header.
302 */
303#top-menu {
304 margin: 0 auto;
305 margin-right: 10px;
306 margin-left: 10px;
307}
308
309#top-menu ul li a {
310 padding: .1em 1em;
311}
312
313#top-menu ul li {
314 display: inline;
315}
316
317#top-menu ul {
318 margin: 0;
319 padding: 0;
320 list-style: none;
321 list-style-type: none;
322 text-align: center;
323}
324
325#top-menu a {
326 border: none;
327}
328
329#top-menu .current_page_item a {
330}
331
332
333/*
334 * Error message (typically a paragraph in the body).
335 */
336.tmerrormsg {
337 color: #ff0000;
338 white-space: pre;
339 font-family: Monospace, "Lucida Console", "Courier New", "Courier";
340 display: block;
341 border: 1px solid;
342 margin: 1em;
343 padding: 0.6em;
344}
345
346
347/*
348 * Generic odd/even row and sub-row attribs.
349 */
350.tmeven {
351 background-color: #ececec;
352}
353
354.tmodd {
355 background-color: #fcfcfc;
356}
357
358/** @todo adjust the sub row colors (see change logs for examples). */
359.tmeveneven {
360 background-color: #d8e0f8;
361}
362
363.tmevenodd {
364 background-color: #e8f0ff;
365}
366
367.tmoddeven {
368 background-color: #d8e0f8;
369}
370
371.tmoddodd {
372 background-color: #e8f0ff;
373}
374
375
376/*
377 * Generic thead class (first-child doesn't work for multiple header rows).
378 */
379.tmheader {
380 background-color: #d0d0d0;
381 color: black;
382}
383
384
385/*
386 * A typical table.
387 */
388/* table.tmtable th {
389 background-color: #d0d0d0;
390 color: black;
391} */
392
393table.tmtable caption {
394 text-align: left;
395}
396
397table.tmtable {
398 width: 100%;
399 border-spacing: 0px;
400}
401
402table.tmtable th {
403 font-size: 1.3em;
404 text-align: center;
405}
406
407table.tmtable, table.tmtable tr, table.tmtable td, table.tmtable th {
408 vertical-align: top;
409}
410
411table.tmtable {
412 border-left: 1px solid black;
413 border-top: 1px solid black;
414 border-right: none;
415 border-bottom: none;
416}
417
418table.tmtable td, table.tmtable th {
419 border-left: none;
420 border-top: none;
421 border-right: 1px solid black;
422 border-bottom: 1px solid black;
423}
424
425table.tmtable td {
426 padding-left: 3px;
427 padding-right: 3px;
428 padding-top: 3px;
429 padding-bottom: 3px;
430}
431
432table.tmtable th {
433 padding-left: 3px;
434 padding-right: 3px;
435 padding-top: 6px;
436 padding-bottom: 6px;
437}
438
439.tmtable td {
440}
441
442
443/*
444 * Table placed inside of a big table used to display *all* stuff of a category.
445 */
446
447table.tminnertbl tr:nth-child(odd) {
448 background-color: #e8e8e8;
449}
450table.tminnertbl tr:nth-child(even) {
451 background-color: #f8f8f8;
452}
453table.tminnertbl tr:first-child {
454 background-color: #d0d0d0;
455 color: black;
456}
457
458table.tminnertbl {
459 border-style: dashed;
460 border-spacing: 1px;
461 border-width: 1px;
462 border-color: gray;
463 border-collapse: separate;
464}
465
466table.tminnertbl th, table.tminnertbl td {
467 font-size: 1em;
468 text-align: center;
469 border-style: none;
470 padding: 1px;
471 border-width: 1px;
472 border-color: #FFFFF0;
473}
474
475/*
476 * Table placed inside a form.
477 */
478table.tmformtbl {
479 border-style: none;
480 border-spacing: 1px;
481 border-width: 1px;
482 border-collapse: separate;
483}
484
485table.tmformtbl th, table.tmformtbl td {
486 font-size: 1em;
487 padding-left: 0.5em;
488 padding-right: 0.5em;
489 padding-bottom: 1px;
490 padding-top: 1px;
491 border-width: 1px;
492}
493
494table.tmformtbl th, table.tmformtbl thead {
495 background-color: #d0d0d0;
496 font-size: 1em;
497 font-weight: bold;
498}
499
500table.tmformtbl tr.tmodd {
501 background: #e2e2e2;
502}
503
504
505/*
506 * Change log table (used with tmtable).
507 */
508table.tmchangelog > tbody {
509 font-size: 1em;
510}
511
512table.tmchangelog tr.tmodd td:nth-child(1),
513table.tmchangelog tr.tmeven td:nth-child(1),
514table.tmchangelog tr.tmodd td:nth-child(2),
515table.tmchangelog tr.tmeven td:nth-child(2) {
516 min-width: 5em;
517 max-width: 10em; /* futile */
518}
519
520table.tmchangelog tr.tmeven {
521 background-color: #e8f0ff;
522}
523
524table.tmchangelog tr.tmodd {
525 background-color: #d8e0f8;
526}
527
528table.tmchangelog tr.tmoddeven, table.tmchangelog tr.tmeveneven {
529 background-color: #fcfcfc;
530}
531
532table.tmchangelog tr.tmoddodd, table.tmchangelog tr.tmevenodd {
533 background-color: #ececec;
534}
535
536table.tmchangelog tr.tmoddeven, table.tmchangelog tr.tmeveneven, table.tmchangelog tr.tmoddodd, table.tmchangelog tr.tmevenodd {
537 font-size: 0.86em;
538}
539
540
541/*
542 * Elements to be shows on *Show All* pages.
543 */
544
545ul.tmshowall {
546 margin-left: 15px;
547 margin-right: 15px;
548}
549
550li.tmshowall {
551 margin-left: 5px;
552 margin-right: 5px;
553}
554
555
556/*
557 * List navigation table
558 */
559table.tmlistnavtab {
560 width: 100%;
561}
562
563
564/*
565 * A typical form.
566 *
567 * Note! This _has_ to be redone. It sucks for the wide fields and such.
568 */
569.tmform ul {
570 list-style: none;
571 list-style-type: none;
572}
573
574.tmform-field {
575 display: block;
576 clear: both;
577}
578
579.tmform-field label {
580 float: left;
581 text-align: right;
582 width: 20%;
583 min-width: 10em;
584 max-width: 16em;
585 padding-right: 0.9em;
586}
587
588.tmform-error-desc {
589 display: block;
590 color: #ff0000;
591 font-style: italic;
592}
593
594.tmform-button {
595 float: left;
596 padding-top: 0.8em;
597}
598
599.tmform-field input {
600}
601
602.tmform-field-tiny-int input {
603 width: 2em;
604}
605
606.tmform-field-int input {
607 width: 6em;
608}
609
610.tmform-field-long input {
611 width: 9em;
612}
613
614.tmform-field-submit input {
615}
616
617.tmform-field-string input {
618 width: 24em;
619}
620
621.tmform-field-subname input {
622 width: 10em;
623}
624
625.tmform-field-timestamp input {
626 width: 20em;
627}
628
629.tmform-field-uuid input {
630 width: 24em;
631}
632
633.tmform-field-wide input {
634 width: 78%;
635 overflow: hidden;
636}
637
638.tmform-field-wide100 input {
639 width: 100%;
640 overflow: hidden;
641}
642
643.tmform-field-list {
644 padding-top: 2px;
645 padding-bottom: 2px;
646}
647
648.tmform-checkboxes-container {
649 padding: 3px;
650 overflow: auto;
651 border: 1px dotted #cccccc;
652}
653
654.tmform-checkbox-holder {
655 float: left;
656 min-width: 20em;
657}
658
659#tmform-checkbox-list-os-arches .tmform-checkbox-holder {
660 min-width: 11em;
661}
662
663#tmform-checkbox-list-build-types .tmform-checkbox-holder {
664 min-width: 6em;
665}
666
667.tmform-input-readonly {
668 background: #ADD8EF;
669 color: #ffffff;
670}
671
672/* (Test case argument variation.) */
673
674table.tmform-innertbl {
675 border-style: none;
676 border-spacing: 1px;
677 border-width: 1px;
678 border-collapse: separate;
679 width: 78%;
680}
681
682table.tmform-innertbl caption {
683 text-align: left;
684}
685
686table.tmform-innertbl th, table.tmform-innertbl td {
687 font-size: 1em;
688 text-align: center;
689 border-style: none;
690 /* padding-top: 1px;*/
691 /*padding-bottom: 1px;*/
692 padding-left: 2px;
693 padding-right: 2px;
694 border-width: 1px;
695 border-color: #FFFFF0;
696 background-color: #f9f9f9;
697}
698
699.tmform-inntertbl-td-wide input {
700 width: 100%;
701 overflow: hidden;
702}
703
704.tmform-inntertbl-td-wide {
705 width: 100%;
706}
707
708
709/*
710 * The test case argument variation table.
711 */
712table.tmform-testcasevars {
713 border-style: none;
714 border-spacing: 0px;
715 border-width: 0px;
716 border-collapse: collapse;
717 width: 78%;
718}
719
720table.tmform-testcasevars tbody {
721 border-style: solid;
722 border-spacing: 1px;
723 border-width: 1px;
724 margin: 2px;
725}
726
727table.tmform-testcasevars td {
728 padding-right: 3px;
729 padding-left: 3px;
730}
731
732table.tmform-testcasevars td:first-child, table.tmform-testcasevars td:nth-child(3) {
733 width: 8em;
734 text-align: right;
735}
736table.tmform-testcasevars td:nth-child(5) {
737 width: 4em;
738 text-align: left;
739}
740
741
742.tmform-testcasevars caption {
743 text-align: left;
744}
745
746tr.tmform-testcasevars-first-row td {
747 padding-top: 0px;
748 padding-bottom: 0px;
749 background-color: #e3e3ec;
750}
751
752.tmform-testcasevars-inner-row td {
753 padding-top: 0px;
754 padding-bottom: 0px;
755}
756
757tr.tmform-testcasevars-final-row td {
758 padding-top: 0px;
759 padding-bottom: 1px;
760}
761
762td.tmform-testcasevars-stupid-border-column {
763 /* Stupid hack. */
764 min-width: 2px;
765 width: 0.1%;
766}
767
768
769
770/*
771 * Log viewer.
772 */
773.tmlog a[href] {
774 background-color: #e0e0e0;
775 padding-left: 0.8em;
776 padding-right: 0.8em;
777}
778
779.tmlog pre {
780 background-color: #000000;
781 color: #00ff00;
782 font-family: "Monospace", "Lucida Console", "Courier New", "Courier";
783}
784
785
786/*
787 * Debug SQL traceback.
788 */
789#debug, #debug h1, #debug h2, #debug h3,
790#debug2, #debug2 h1, #debug2 h2, #debug2 h3 {
791 color: #00009f;
792}
793
794table.tmsqltable {
795 border-collapse: collapse;
796}
797
798table.tmsqltable, table.tmsqltable tr, table.tmsqltable td, table.tmsqltable th {
799 border: 1px solid;
800 vertical-align: middle;
801 padding: 0.1ex 0.5ex;
802}
803
804table.tmsqltable pre {
805 text-align: left;
806}
807
808
809/*
810 * Various more or less common span classes.
811 */
812.tmspan-offline {
813 color: #f08020;
814 font-size: 0.75em;
815}
816
817.tmspan-online {
818 font-size: 0.75em;
819}
820
821.tmspan-name, .tmspan-osarch {
822 font-weight: bold;
823}
824
825.tmspan-osver1 {
826 font-style: italic;
827}
828
829.tmspan-osver2 {
830 font-style: normal;
831}
832
833
834/*
835 * Subversion tooltip.
836 */
837.tmvcstooltip {
838 padding: 0px;
839 min-width: 50em;
840 overflow: hidden;
841 border: 0px none;
842}
843
844.tmvcstooltip iframe {
845 padding: 0px;
846 margin: 0px;
847 border: 0px none;
848 width: 100%;
849 overflow: auto;
850}
851
852
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette