VirtualBox

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

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

testmanager: More test result filtering.

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

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