remove extra margin between unit test box results
[build-farm.git] / web / build_farm.css
1
2 /* log is the id on the build log divisions */
3 #log .title, #log .status {
4         display: inline;
5         font-weight: bold;
6         font-family: sans-serif;
7 }
8 #log .status { margin-left: 0.5ex; }
9 #log .status.failed {   color: rgb(153, 0,   0);   }
10 #log .status.passed {   color: rgb(0,   153, 0);   }
11 #log .status.skipped {  color: rgb(0,   0,   153); }
12 #log .status.error {    color: rgb(153, 0,   0);   }
13 #log .status.warning {  color: rgb(153, 75,  0);   }
14 #log .status.xfailed {  color: rgb(153, 75,  0);   }
15 #log .status.uxpassed { color: rgb(153, 0,   0);   }
16 #log .status.mistake {  color: rgb(0,   0,   153); }
17 #log .output {
18         color: rgb(0, 0, 0);
19         font-family: monospace;
20 }
21 #log div.unit {
22         /* We have already a margin that is implied by the \n in the HTML
23          * no need to remargin
24          * margin: 5px;*/
25         padding: 10px;
26         border: 2px solid black;
27 }
28 #log div.unit.passed {  background-color: rgb(180, 255, 180); }
29 #log div.unit.failed {  background-color: rgb(255, 180, 180); }
30 #log div.unit.skipped { background-color: rgb(180, 180, 255); }
31 #log div.unit.warning { background-color: rgb(255, 180, 125); }
32 #log div.unit.xfailed { background-color: rgb(255, 180, 125); }
33 #log div.unit.uxpassed {        background-color: rgb(255, 180, 180); }
34 #log div.unit.error {   background-color: rgb(255, 180, 180); }
35 #log div.unit.mistake { background-color: rgb(180, 180, 255); }
36 #log div.unit.pretest.ok {      background-color: rgb(180, 255, 180); }
37
38 #log .unit.failed  .output {    display: block;}
39 #log .unit.skipped .output {    display: block;}
40 #log .unit.skipped .output {    display: block;}
41 #log .unit.passed  .output {    display: none;}
42 #log .unit.error   .output {    display: none;}
43 #log .unit.mistake .output {    display: none;}
44 #log .unit.warning .output {    display: none;}
45 #log .unit.xfailed .output {    display: none;}
46 #log .unit.uxpassed .output {   display: none;}
47 #log .unit.errorlog .output {   display: none;}
48 #log .unit.pretest  .output {   display: none;}
49 #log div.status.errorlog {      display: none;}
50 img + div.action.title {margin-left: 0.5em;}
51 a + div.action.status {margin-left: 0.5em;}
52
53 #log div.output-stderr-0 {
54         display: none;
55 }
56 #log img {
57         border: none;
58 }
59 #log a {
60         text-decoration: none;
61 }
62 #log a:hover, #log a:active {
63         text-decoration: underline;
64 }
65
66 /* generically, status correspond to the ok/ok/ok/ok strings */
67 .status.passed { 
68         color: rgb(0, 128, 0);
69 }
70
71 .status.failed { 
72         color: rgb(255, 0, 0);
73 }
74
75 .status.panic { 
76         color: rgb(255, 0, 0);
77         font-weight: bold;
78 }
79 .status.checker { 
80         color: rgb(255, 127, 0);
81 }
82 .status.unknown { 
83         color: rgb(0, 0, 255);
84 }
85
86 .summary td.status { 
87         text-align: center;
88 }
89
90 .summary .tree { 
91         font-weight: bold;
92 }
93
94 .summary .age { 
95         text-align: right;
96 }
97 .age .old { 
98         color: rgb(210, 0, 0);
99 }
100 .preformated {
101         white-space: pre;
102         font-family: monospace;
103 }
104
105 div.host.summary {
106         float: left;
107 }
108 div.host.summary h3 { 
109         margin-bottom: 2px;
110 }
111 div.summary { 
112         margin: 4px;
113 }
114 div.build-section { 
115         clear: both;
116         width: 100%;
117 }
118 #logo>.build_logo { 
119         background-image:url(build_logo.png);
120         background-position:center;
121         background-repeat:no-repeat;
122 }
123 .build_logo {
124         position:absolute;
125         width:399px;
126         height:208px;
127         margin-top:-42px;
128         margin-left:1px;
129         z-index:1;      
130 }
131
132 #banner {
133         position:absolute;
134         top:0;
135         left:0;
136         text-align: center;
137         height:90px;
138         width:100%;
139         padding-top:4px;
140         background-color:#FFFF64;
141 }
142 .stripe {
143         position:absolute;
144         top:40px;
145         left:0;
146         text-align: center;
147         height:55px;
148         width:100%;
149         background-color:#3878CD;
150         border-top:2px solid #575756;
151         border-bottom:2px solid #575756;
152 }
153
154 #build-menu { 
155         position: absolute;
156         top: 0;
157         left: 250px;
158         margin-top: 5px;
159         z-index: 10;
160 }
161 #build-menu input { 
162         margin: 20px 10px 0px 0px;
163 }
164
165 /* Styles for main content (center column) */
166 #content>.center {
167         position:absolute;
168         top:100px;
169         left:175px;
170         margin:0;
171 }
172 .center { 
173         margin:100px 10px 0 175px;
174         padding-top:30px;
175         padding-left:35px;
176         padding-bottom:50px;
177         padding-right:15px;
178         background-color:#FFF;
179         border-left:1px solid #FFFF64;
180         border-right:1px solid #FFFF64;
181 }
182
183 #logo>.build_logo {
184         background-image:url(build_logo.png);
185         background-position:center;
186         background-repeat:no-repeat;
187 }
188 #logo img {
189         border:0;
190 }
191 #logo a:hover {
192         background:transparent;
193 }
194
195 .gh {
196         color: blue;
197 }
198 .gd {
199         color: #a00000;
200 }
201 .gi {
202         color: #0a0;
203 }
204 .gh {
205         color: purple;
206 }
207 .gu {
208         color: green;
209 }
210
211 .history_row { 
212         background-color: #E5E9F5;
213         margin-bottom: 10px;
214         padding: 2px;
215 }
216
217 .history_row .label {
218         font-style: italic;
219 }
220
221 .history_row .date,
222 .history_row .diff .html {
223         font-weight: bold;
224 }
225 .reason {
226         font-weight: bold;
227 }