VirtualBox

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

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

testmanager: Tweaking the new changlog.

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