VirtualBox

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

Last change on this file since 65041 was 65041, 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.4 KB
Line 
1/* $Id: common.css 65041 2016-12-31 03:03:28Z 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.64em;
584}
585
586.tmsyschlogspacer, .tmsyschlogspacerfinal {
587 width: 3.14159em;
588 border-top: 0px solid green !important;
589 border-left: 0px solid green !important;
590}
591.tmsyschlogspacer {
592 border-bottom: 0px solid green !important;
593}
594
595
596/*
597 * Elements to be shows on *Show All* pages.
598 */
599
600ul.tmshowall {
601 margin-left: 15px;
602 margin-right: 15px;
603}
604
605li.tmshowall {
606 margin-left: 5px;
607 margin-right: 5px;
608}
609
610
611/*
612 * List navigation table
613 */
614table.tmlistnavtab {
615 width: 100%;
616}
617
618
619/*
620 * A typical form.
621 *
622 * Note! This _has_ to be redone. It sucks for the wide fields and such.
623 */
624.tmform ul {
625 list-style: none;
626 list-style-type: none;
627}
628
629.tmform-field {
630 display: block;
631 clear: both;
632}
633
634.tmform-field label {
635 float: left;
636 text-align: right;
637 width: 20%;
638 min-width: 10em;
639 max-width: 16em;
640 padding-right: 0.9em;
641}
642
643.tmform-error-desc {
644 display: block;
645 color: #ff0000;
646 font-style: italic;
647}
648
649.tmform-button {
650 float: left;
651 padding-top: 0.8em;
652}
653
654.tmform-field input {
655}
656
657.tmform-field-tiny-int input {
658 width: 2em;
659}
660
661.tmform-field-int input {
662 width: 6em;
663}
664
665.tmform-field-long input {
666 width: 9em;
667}
668
669.tmform-field-submit input {
670}
671
672.tmform-field-string input {
673 width: 24em;
674}
675
676.tmform-field-subname input {
677 width: 10em;
678}
679
680.tmform-field-timestamp input {
681 width: 20em;
682}
683
684.tmform-field-uuid input {
685 width: 24em;
686}
687
688.tmform-field-wide input {
689 width: 78%;
690 overflow: hidden;
691}
692
693.tmform-field-wide100 input {
694 width: 100%;
695 overflow: hidden;
696}
697
698.tmform-field-list {
699 padding-top: 2px;
700 padding-bottom: 2px;
701}
702
703.tmform-checkboxes-container {
704 padding: 3px;
705 overflow: auto;
706 border: 1px dotted #cccccc;
707}
708
709.tmform-checkbox-holder {
710 float: left;
711 min-width: 20em;
712}
713
714#tmform-checkbox-list-os-arches .tmform-checkbox-holder {
715 min-width: 11em;
716}
717
718#tmform-checkbox-list-build-types .tmform-checkbox-holder {
719 min-width: 6em;
720}
721
722.tmform-input-readonly {
723 background: #ADD8EF;
724 color: #ffffff;
725}
726
727/* (Test case argument variation.) */
728
729table.tmform-innertbl {
730 border-style: none;
731 border-spacing: 1px;
732 border-width: 1px;
733 border-collapse: separate;
734 width: 78%;
735}
736
737table.tmform-innertbl caption {
738 text-align: left;
739}
740
741table.tmform-innertbl th, table.tmform-innertbl td {
742 font-size: 1em;
743 text-align: center;
744 border-style: none;
745 /* padding-top: 1px;*/
746 /*padding-bottom: 1px;*/
747 padding-left: 2px;
748 padding-right: 2px;
749 border-width: 1px;
750 border-color: #FFFFF0;
751 background-color: #f9f9f9;
752}
753
754.tmform-inntertbl-td-wide input {
755 width: 100%;
756 overflow: hidden;
757}
758
759.tmform-inntertbl-td-wide {
760 width: 100%;
761}
762
763
764/*
765 * The test case argument variation table.
766 */
767table.tmform-testcasevars {
768 border-style: none;
769 border-spacing: 0px;
770 border-width: 0px;
771 border-collapse: collapse;
772 width: 78%;
773}
774
775table.tmform-testcasevars tbody {
776 border-style: solid;
777 border-spacing: 1px;
778 border-width: 1px;
779 margin: 2px;
780}
781
782table.tmform-testcasevars td {
783 padding-right: 3px;
784 padding-left: 3px;
785}
786
787table.tmform-testcasevars td:first-child, table.tmform-testcasevars td:nth-child(3) {
788 width: 8em;
789 text-align: right;
790}
791table.tmform-testcasevars td:nth-child(5) {
792 width: 4em;
793 text-align: left;
794}
795
796
797.tmform-testcasevars caption {
798 text-align: left;
799}
800
801tr.tmform-testcasevars-first-row td {
802 padding-top: 0px;
803 padding-bottom: 0px;
804 background-color: #e3e3ec;
805}
806
807.tmform-testcasevars-inner-row td {
808 padding-top: 0px;
809 padding-bottom: 0px;
810}
811
812tr.tmform-testcasevars-final-row td {
813 padding-top: 0px;
814 padding-bottom: 1px;
815}
816
817td.tmform-testcasevars-stupid-border-column {
818 /* Stupid hack. */
819 min-width: 2px;
820 width: 0.1%;
821}
822
823
824
825/*
826 * Log viewer.
827 */
828.tmlog a[href] {
829 background-color: #e0e0e0;
830 padding-left: 0.8em;
831 padding-right: 0.8em;
832}
833
834.tmlog pre {
835 background-color: #000000;
836 color: #00ff00;
837 font-family: "Monospace", "Lucida Console", "Courier New", "Courier";
838}
839
840
841/*
842 * Debug SQL traceback.
843 */
844#debug, #debug h1, #debug h2, #debug h3,
845#debug2, #debug2 h1, #debug2 h2, #debug2 h3 {
846 color: #00009f;
847}
848
849table.tmsqltable {
850 border-collapse: collapse;
851}
852
853table.tmsqltable, table.tmsqltable tr, table.tmsqltable td, table.tmsqltable th {
854 border: 1px solid;
855 vertical-align: middle;
856 padding: 0.1ex 0.5ex;
857}
858
859table.tmsqltable pre {
860 text-align: left;
861}
862
863
864/*
865 * Various more or less common span classes.
866 */
867.tmspan-offline {
868 color: #f08020;
869 font-size: 0.75em;
870}
871
872.tmspan-online {
873 font-size: 0.75em;
874}
875
876.tmspan-name, .tmspan-osarch {
877 font-weight: bold;
878}
879
880.tmspan-osver1 {
881 font-style: italic;
882}
883
884.tmspan-osver2 {
885 font-style: normal;
886}
887
888
889/*
890 * Subversion tooltip.
891 */
892.tmvcstooltip {
893 padding: 0px;
894 min-width: 50em;
895 overflow: hidden;
896 border: 0px none;
897}
898
899.tmvcstooltip iframe {
900 padding: 0px;
901 margin: 0px;
902 border: 0px none;
903 width: 100%;
904 overflow: auto;
905}
906
907
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