VirtualBox

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

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

TestManager: Count occurences of filter criteria; added testcase variations to the filtering (really only useful when selecting a small number of testcases first).

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