Changed stylesheets to use relative scaling for horizontal bars.
[onis.git] / reports / light-theme / style.css
1 a
2 {
3         color: navy;
4         background-color: transparent;
5         text-decoration: none;
6         font-weight: bold;
7 }
8
9 a:hover
10 {
11         text-decoration: underline;
12 }
13
14 a:visited
15 {
16         font-weight: normal;
17 }
18
19 body
20 {
21         background-color: white;
22         background-image: url(stripes.png);
23         color: black;
24 }
25
26 div.msie_hack
27 {
28         text-align: center;
29 }
30
31 em
32 {
33         font-style: normal;
34         font-weight: bold;
35 }
36
37 h1, h2
38 {
39         text-align: center;
40 }
41
42 img#smalllogo
43 {
44         border: none;
45         float: right;
46         margin: 1px;
47 }
48
49 p
50 {
51         text-align: center;
52 }
53
54 span.small
55 {
56         font-size: smaller;
57 }
58
59 table
60 {
61         margin-left: auto;
62         margin-right: auto;
63 }
64
65 table.big_ranking img
66 {
67         border-left: none;
68         border-right: none;
69         height: 10px;
70 }
71
72 table.big_ranking td.bar
73 {
74         width: 100px;
75 }
76
77 table.big_ranking td.counter
78 {
79         background-color: #f8f8f8;
80         color: black;
81         border: none;
82         text-align: right;
83 }
84
85 table.big_ranking td.image img,
86 table.userdetails td.image img
87 {
88         width: auto;
89         height: auto;
90         width: 50px;
91         height: 50px;
92         display: block;
93         border: 1px solid gray;
94 }
95
96 table.conversations
97 {
98         border-collapse: collapse;
99 }
100
101 table.conversations td
102 {
103         width: 50%;
104 }
105
106 table.conversations td.bar img
107 {
108         display: inline;
109         height: 4px;
110 }
111
112 table.conversations td.left
113 {
114         text-align: right;
115 }
116
117 table.conversations td
118 {
119         border-top: 2px solid white;
120 }
121
122 table.conversations td.right
123 {
124         text-align: left;
125 }
126
127 table.copy
128 {
129         width: 100%;
130         border-top: 1px solid black;
131 }
132
133 table.copy span.spam
134 {
135         display: none;
136 }
137
138 table.copy td
139 {
140         background-color: transparent;
141         color: gray;
142         font-size: small;
143         width: 50%;
144 }
145
146 table.copy td.right
147 {
148         text-align: right;
149 }
150
151 table.hours tr.bars
152 {
153         height: 150px;
154 }
155
156 table.hours tr.bars td.bar
157 {
158         color: black;
159         background-color: transparent;
160
161         width: 4.1666%;
162 }
163
164 table.hours tr.bars td.bar img
165 {
166         width: 15px;
167 }
168
169 table.legend
170 {
171         width: 500px;
172 }
173
174 table.legend img
175 {
176         display: inline;
177         width: 50px;
178         height: 15px;
179         border: 1px solid gray;
180 }
181
182 table.legend td
183 {
184         background-color: transparent;
185         color: black;
186         text-align: center;
187         width: 125px;
188 }
189
190 table.longterm tr.bars
191 {
192         height: 100px;
193 }
194
195 table.longterm tr.bars td
196 {
197         color: black;
198         background-color: transparent;
199 }
200
201 table.longterm tr.bars td img
202 {
203         width: 3px;
204 }
205
206 table.plugin
207 {
208         width: 500px;
209         margin-top: 20px;
210         margin-bottom: 10px;
211 }
212
213 table.plugin.userdetails
214 {
215         width: auto;
216         border-collapse: collapse;
217 }
218
219 table.userdetails td.convpartners,
220 table.userdetails td.counters,
221 table.userdetails td.numbers
222 {
223         vertical-align: top;
224 }
225
226 table.userdetails td.convpartners table
227 {
228         margin-right: auto;
229         margin-left: 0px;
230 }
231
232 table.userdetails td.convpartners td.bar img
233 {
234         height: 4px;
235 }
236
237 table.userdetails table.hours tr.bars,
238 table.userdetails table.weekdays tr.bars,
239 table.userdetails table.longterm tr.bars
240 {
241         height: 75px;
242 }
243
244 table.userdetails table.hours tr.bars td.bar img,
245 table.userdetails table.weekdays tr.bars td.bar img,
246 table.userdetails table.longterm tr.bars td.bar img
247 {
248         width: 3px;
249 }
250
251 table.userdetails table.conversations tr td
252 {
253         color: black;
254         background-color: transparent;
255
256         border: none;
257 }
258
259 table.userdetails td.image
260 {
261         vertical-align: top;
262         padding: 1ex;
263 }
264
265 table.userdetails th.nick
266 {
267         border-top: 2px solid white;
268         border-bottom: 2px solid white;
269 }
270
271 table.weekdays td
272 {
273         /* 14.2857 = 100/7 */
274         width: 14.28%;
275 }
276
277 table.weekdays tr.bars
278 {
279         height: 100px;
280 }
281
282 table.weekdays tr.bars td
283 {
284         color: black;
285         background-color: transparent;
286
287         /* 3.5714 = 100/28 */
288         width: 3.57%;
289 }
290
291 table.weekdays tr.bars td img
292 {
293         width: 10px;
294 }
295
296 td
297 {
298         background-color: #f8f8f8;
299         color: black;
300         text-align: left;
301 }
302
303 td.bar
304 {
305         font-size: smaller;
306 }
307
308 td.bar img
309 {
310         border-top: 1px solid gray;
311         border-bottom: 1px solid gray;
312 }
313
314 td.bar img.first
315 {
316         border-left: 1px solid gray;
317 }
318
319 td.bar img.last
320 {
321         border-right: 1px solid gray;
322 }
323
324 td.bar.vertical
325 {
326         vertical-align: bottom;
327         padding: 0px;
328         border: none;
329 }
330
331 td.bar.vertical img
332 {
333         display: block;
334
335         margin-top: 0px;
336         margin-right: auto;
337         margin-bottom: 0px;
338         margin-left: auto;
339
340         border-top: none;
341         border-right: 1px solid gray;
342         border-bottom: none;
343         border-left: 1px solid gray;
344 }
345
346 td.bar.vertical img.first
347 {
348         border-top: 1px solid gray;
349 }
350
351 td.bar.vertical img.last
352 {
353         border-bottom: 1px solid gray;
354 }
355
356 td.counter
357 {
358         font-size: 60%;
359         text-align: center;
360
361         color: gray;
362         background-color: transparent;
363
364         border: 1px solid silver;
365 }
366
367 td.numeration
368 {
369         font-weight: bold;
370         font-size: 80%;
371         text-align: center;
372
373         color: black;
374         background-color: silver;
375 }
376
377 td.numeration.sun,
378 td.numeration.sat
379 {
380         color: maroon;
381 }
382
383 td.invis
384 {
385         background-color: transparent;
386         color: black;
387 }
388
389 th
390 {
391         background-color: silver;
392         color: black;
393         text-align: center;
394         font-weight: bold;
395         font-style: italic;
396 }