VirtualBox

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

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

TestManager: Merged OS versions into the OS filter.

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