VirtualBox

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

Last change on this file since 52776 was 52776, checked in by vboxsync, 10 years ago

fix OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 14.6 KB
Line 
1/* $Id: common.css 52776 2014-09-17 14:51:43Z vboxsync $ */
2/** @file
3 * Test Manager - Common CSS.
4 */
5
6/*
7 * Copyright (C) 2012-2014 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
104#logo {
105 position: fixed;
106 width: 100%;
107 height: 92px;
108 top: 0;
109 left: 0;
110 right: 0;
111 bottom: auto;
112}
113
114#logo img {
115 height: 64px;
116 width: 64px;
117}
118
119#header {
120 position: fixed;
121 width: 100%; /** @todo this is too wide, darn! */
122 height: 92px;
123 top: 0;
124 left: 118px;
125 right: 0;
126 bottom: auto;
127}
128
129#login {
130 position: absolute;
131 top: 0;
132 left: auto;
133 right: 0;
134 right: 10px;
135 bottom: auto;
136}
137
138#side-menu {
139 position: fixed;
140 width: 110px;
141 height: auto;
142 top: 92px;
143 left: 0;
144 right: auto;
145 bottom: 0;
146}
147
148#top-menu {
149 position: fixed;
150 width: auto;
151 height: auto;
152 max-height: 28px;
153 top: 92px;
154 left: 118px;
155 right: 0;
156 bottom: auto;
157}
158
159#main {
160 position: fixed;
161 width: auto;
162 height: auto;
163 top: 118px; /**< header + top-menu + padding. */
164 right: 0;
165 bottom: 0;
166 left: 118px;
167 overflow: auto;
168 padding-top: 16px;
169 padding-left: 10px;
170 padding-right: 10px;
171}
172
173
174/*
175 * Header and logo.
176 */
177#logo {
178 padding: 16px 32px 16px 32px;
179}
180
181#header {
182 margin-top: 22px;
183 margin-left: 10px;
184 text-align: left;
185}
186
187
188/*
189 * Navigation menus (common).
190 */
191#top-menu, #side-menu {
192 font-weight: bold;
193 font-size: 1em;
194 font-family: Arial, Helvetica, sans-serif;
195 background-color: #c0d0e0;
196 padding: 2px 2px 2px 2px;
197 border-radius: 12px;
198}
199
200#top-menu ul li a, #side-menu ul li a {
201 text-decoration: none;
202 color: #000000;
203 font-weight: bold;
204 font-size: 1em;
205 font-family: Arial, Helvetica, sans-serif;
206}
207
208#top-menu a:hover, #top-menu .current_page_item a, #side-menu a:hover, #side-menu .current_page_item a {
209 text-decoration: none;
210 color: #b23c1c;
211}
212
213
214/*
215 * Navigation in on the left side.
216 */
217
218#side-menu {
219 padding-top: 36px;
220 margin-right: 3px;
221 margin-left: 3px;
222 margin-bottom: 3px;
223}
224
225#side-menu p {
226 margin-right: 3px;
227 margin-left: 3px;
228}
229
230#side-menu ul {
231 list-style: none;
232 margin-left: 3px;
233 margin-right: 3px;
234}
235
236#side-menu li {
237 padding-bottom: 0.8em;
238 line-height: 1.2em;
239 text-align: center;
240}
241
242#side-footer {
243 position: absolute;
244 top: auto;
245 bottom: 0;
246 left: auto;
247 right: auto;
248
249 width: 107px;
250 margin-left: 2px;
251 margin-right: 2px;
252 padding-top: 1em;
253 padding-bottom: 0.8em;
254 border-top: thin white ridge;
255}
256
257#side-footer p {
258 margin-left: 3px;
259 margin-right: 3px;
260 font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
261 font-size: 8px;
262 font-style: normal;
263 text-align: center;
264}
265
266
267/*
268 * Navigation in the header.
269 */
270#top-menu {
271 margin: 0 auto;
272 margin-right: 10px;
273 margin-left: 10px;
274}
275
276#top-menu ul li a {
277 padding: .1em 1em;
278}
279
280#top-menu ul li {
281 display: inline;
282}
283
284#top-menu ul {
285 margin: 0;
286 padding: 0;
287 list-style: none;
288 list-style-type: none;
289 text-align: center;
290}
291
292#top-menu a {
293 border: none;
294}
295
296#top-menu .current_page_item a {
297}
298
299
300/*
301 * Error message (typically a paragraph in the body).
302 */
303.tmerrormsg {
304 color: #ff0000;
305 white-space: pre;
306 font-family: Monospace, "Lucida Console", "Courier New", "Courier";
307 display: block;
308 border: 1px solid;
309 margin: 1em;
310 padding: 0.6em;
311}
312
313
314/*
315 * Generic odd/even row and sub-row attribs.
316 */
317.tmeven {
318 background-color: #ececec;
319}
320
321.tmodd {
322 background-color: #fcfcfc;
323}
324
325/** @todo adjust the sub row colors (see change logs for examples). */
326.tmeveneven {
327 background-color: #d8e0f8;
328}
329
330.tmevenodd {
331 background-color: #e8f0ff;
332}
333
334.tmoddeven {
335 background-color: #d8e0f8;
336}
337
338.tmoddodd {
339 background-color: #e8f0ff;
340}
341
342
343/*
344 * Generic thead class (first-child doesn't work for multiple header rows).
345 */
346.tmheader {
347 background-color: #d0d0d0;
348 color: black;
349}
350
351
352/*
353 * A typical table.
354 */
355/* table.tmtable th {
356 background-color: #d0d0d0;
357 color: black;
358} */
359
360table.tmtable caption {
361 text-align: left;
362}
363
364table.tmtable {
365 width: 100%;
366 border-spacing: 0px;
367}
368
369table.tmtable th {
370 font-size: 1.3em;
371 text-align: center;
372}
373
374table.tmtable, table.tmtable tr, table.tmtable td, table.tmtable th {
375 vertical-align: top;
376}
377
378table.tmtable {
379 border-left: 1px solid black;
380 border-top: 1px solid black;
381 border-right: none;
382 border-bottom: none;
383}
384
385table.tmtable td, table.tmtable th {
386 border-left: none;
387 border-top: none;
388 border-right: 1px solid black;
389 border-bottom: 1px solid black;
390}
391
392table.tmtable td {
393 padding-left: 3px;
394 padding-right: 3px;
395 padding-top: 3px;
396 padding-bottom: 3px;
397}
398
399table.tmtable th {
400 padding-left: 3px;
401 padding-right: 3px;
402 padding-top: 6px;
403 padding-bottom: 6px;
404}
405
406.tmtable td {
407}
408
409
410/*
411 * Table placed inside of a big table used to display *all* stuff of a category.
412 */
413
414table.tminnertbl tr:nth-child(odd) {
415 background-color: #e8e8e8;
416}
417table.tminnertbl tr:nth-child(even) {
418 background-color: #f8f8f8;
419}
420table.tminnertbl tr:first-child {
421 background-color: #d0d0d0;
422 color: black;
423}
424
425table.tminnertbl {
426 border-style: dashed;
427 border-spacing: 1px;
428 border-width: 1px;
429 border-color: gray;
430 border-collapse: separate;
431}
432
433table.tminnertbl th, table.tminnertbl td {
434 font-size: 1em;
435 text-align: center;
436 border-style: none;
437 padding: 1px;
438 border-width: 1px;
439 border-color: #FFFFF0;
440}
441
442/*
443 * Table placed inside a form.
444 */
445table.tmformtbl {
446 border-style: none;
447 border-spacing: 1px;
448 border-width: 1px;
449 border-collapse: separate;
450}
451
452table.tmformtbl th, table.tmformtbl td {
453 font-size: 1em;
454 padding-left: 0.5em;
455 padding-right: 0.5em;
456 padding-bottom: 1px;
457 padding-top: 1px;
458 border-width: 1px;
459}
460
461table.tmformtbl th, table.tmformtbl thead {
462 background-color: #d0d0d0;
463 font-size: 1em;
464 font-weight: bold;
465}
466
467table.tmformtbl tr.tmodd {
468 background: #e2e2e2;
469}
470
471
472/*
473 * Change log table (used with tmtable).
474 */
475table.tmchangelog > tbody {
476 font-size: 1em;
477}
478
479table.tmchangelog tr.tmodd td:nth-child(1),
480table.tmchangelog tr.tmeven td:nth-child(1),
481table.tmchangelog tr.tmodd td:nth-child(2),
482table.tmchangelog tr.tmeven td:nth-child(2) {
483 min-width: 5em;
484 max-width: 10em; /* futile */
485}
486
487table.tmchangelog tr.tmeven {
488 background-color: #e8f0ff;
489}
490
491table.tmchangelog tr.tmodd {
492 background-color: #d8e0f8;
493}
494
495table.tmchangelog tr.tmoddeven, table.tmchangelog tr.tmeveneven {
496 background-color: #fcfcfc;
497}
498
499table.tmchangelog tr.tmoddodd, table.tmchangelog tr.tmevenodd {
500 background-color: #ececec;
501}
502
503table.tmchangelog tr.tmoddeven, table.tmchangelog tr.tmeveneven, table.tmchangelog tr.tmoddodd, table.tmchangelog tr.tmevenodd {
504 font-size: 0.86em;
505}
506
507
508/*
509 * Elements to be shows on *Show All* pages.
510 */
511
512ul.tmshowall {
513 margin-left: 15px;
514 margin-right: 15px;
515}
516
517li.tmshowall {
518 margin-left: 5px;
519 margin-right: 5px;
520}
521
522
523/*
524 * List navigation table
525 */
526table.tmlistnavtab {
527 width: 100%;
528}
529
530
531/*
532 * A typical form.
533 *
534 * Note! This _has_ to be redone. It sucks for the wide fields and such.
535 */
536.tmform ul {
537 list-style: none;
538 list-style-type: none;
539}
540
541.tmform-field {
542 display: block;
543 clear: both;
544}
545
546.tmform-field label {
547 float: left;
548 text-align: right;
549 width: 20%;
550 min-width: 10em;
551 max-width: 16em;
552 padding-right: 0.9em;
553}
554
555.tmform-error-desc {
556 display: block;
557 color: #ff0000;
558 font-style: italic;
559}
560
561.tmform-button {
562 float: left;
563 padding-top: 0.8em;
564}
565
566.tmform-field input {
567}
568
569.tmform-field-tiny-int input {
570 width: 2em;
571}
572
573.tmform-field-int input {
574 width: 6em;
575}
576
577.tmform-field-long input {
578 width: 9em;
579}
580
581.tmform-field-submit input {
582}
583
584.tmform-field-string input {
585 width: 24em;
586}
587
588.tmform-field-timestamp input {
589 width: 20em;
590}
591
592.tmform-field-uuid input {
593 width: 24em;
594}
595
596.tmform-field-wide input {
597 width: 78%;
598 overflow: hidden;
599}
600
601.tmform-field-wide100 input {
602 width: 100%;
603 overflow: hidden;
604}
605
606.tmform-field-list {
607 padding-top: 2px;
608 padding-bottom: 2px;
609}
610
611.tmform-checkboxes-container {
612 padding: 3px;
613 overflow: auto;
614 border: 1px dotted #cccccc;
615}
616
617.tmform-checkbox-holder {
618 float: left;
619 min-width: 20em;
620}
621
622#tmform-checkbox-list-os-arches .tmform-checkbox-holder {
623 min-width: 11em;
624}
625
626#tmform-checkbox-list-build-types .tmform-checkbox-holder {
627 min-width: 6em;
628}
629
630.tmform-input-readonly {
631 background: #ADD8EF;
632 color: #ffffff;
633}
634
635/* (Test case argument variation.) */
636
637table.tmform-innertbl {
638 border-style: none;
639 border-spacing: 1px;
640 border-width: 1px;
641 border-collapse: separate;
642 width: 78%;
643}
644
645table.tmform-innertbl caption {
646 text-align: left;
647}
648
649table.tmform-innertbl th, table.tmform-innertbl td {
650 font-size: 1em;
651 text-align: center;
652 border-style: none;
653 /* padding-top: 1px;*/
654 /*padding-bottom: 1px;*/
655 padding-left: 2px;
656 padding-right: 2px;
657 border-width: 1px;
658 border-color: #FFFFF0;
659 background-color: #f9f9f9;
660}
661
662.tmform-inntertbl-td-wide input {
663 width: 100%;
664 overflow: hidden;
665}
666
667.tmform-inntertbl-td-wide {
668 width: 100%;
669}
670
671
672/*
673 * The test case argument variation table.
674 */
675table.tmform-testcasevars {
676 border-style: none;
677 border-spacing: 0px;
678 border-width: 0px;
679 border-collapse: collapse;
680 width: 78%;
681}
682
683table.tmform-testcasevars tbody {
684 border-style: solid;
685 border-spacing: 1px;
686 border-width: 1px;
687 margin: 2px;
688}
689
690table.tmform-testcasevars td {
691 padding-right: 3px;
692 padding-left: 3px;
693}
694
695table.tmform-testcasevars td:first-child, table.tmform-testcasevars td:nth-child(3) {
696 width: 8em;
697 text-align: right;
698}
699table.tmform-testcasevars td:nth-child(5) {
700 width: 4em;
701 text-align: left;
702}
703
704
705.tmform-testcasevars caption {
706 text-align: left;
707}
708
709tr.tmform-testcasevars-first-row td {
710 padding-top: 0px;
711 padding-bottom: 0px;
712 background-color: #e3e3ec;
713}
714
715.tmform-testcasevars-inner-row td {
716 padding-top: 0px;
717 padding-bottom: 0px;
718}
719
720tr.tmform-testcasevars-final-row td {
721 padding-top: 0px;
722 padding-bottom: 1px;
723}
724
725td.tmform-testcasevars-stupid-border-column {
726 /* Stupid hack. */
727 min-width: 2px;
728 width: 0.1%;
729}
730
731
732
733/*
734 * Log viewer.
735 */
736.tmlog a[href] {
737 background-color: #e0e0e0;
738 padding-left: 0.8em;
739 padding-right: 0.8em;
740}
741
742.tmlog pre {
743 background-color: #000000;
744 color: #00ff00;
745 font-family: "Monospace", "Lucida Console", "Courier New", "Courier";
746}
747
748
749/*
750 * Debug SQL traceback.
751 */
752#debug, #debug h1, #debug h2, #debug h3,
753#debug2, #debug2 h1, #debug2 h2, #debug2 h3 {
754 color: #00009f;
755}
756
757table.tmsqltable {
758 border-collapse: collapse;
759}
760
761table.tmsqltable, table.tmsqltable tr, table.tmsqltable td, table.tmsqltable th {
762 border: 1px solid;
763 vertical-align: middle;
764 padding: 0.1ex 0.5ex;
765}
766
767table.tmsqltable pre {
768 text-align: left;
769}
770
771
772/*
773 * Various more or less common span classes.
774 */
775.tmspan-offline {
776 color: #f08020;
777 font-size: 0.75em;
778}
779
780.tmspan-online {
781 font-size: 0.75em;
782}
783
784.tmspan-name, .tmspan-osarch {
785 font-weight: bold;
786}
787
788.tmspan-osver1 {
789 font-style: italic;
790}
791
792.tmspan-osver2 {
793 font-style: normal;
794}
795
796
797/*
798 * Subversion tooltip.
799 */
800.tmvcstooltip {
801 padding: 0px;
802 min-width: 50em;
803 overflow: hidden;
804 border: 0px none;
805}
806
807.tmvcstooltip iframe {
808 padding: 0px;
809 margin: 0px;
810 border: 0px none;
811 width: 100%;
812 overflow: auto;
813}
814
815
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