|
diff --git a/cgit.css b/cgit.css index b8c3d81..5d47099 100644 --- a/ cgit.css+++ b/ cgit.css |
|
@@ -1,437 +1,454 @@ |
1 | body { |
1 | body { |
2 | font-family: arial, sans-serif; |
2 | font-family: arial, sans-serif; |
3 | font-size: 11pt; |
3 | font-size: 11pt; |
4 | color: black; |
4 | color: black; |
5 | background: white; |
5 | background: white; |
6 | } |
6 | } |
7 | |
7 | |
8 | body, table { |
8 | body, table { |
9 | padding: 0em; |
9 | padding: 0em; |
10 | margin: 0em; |
10 | margin: 0em; |
11 | } |
11 | } |
12 | |
12 | |
13 | table { |
13 | table { |
14 | border-collapse: collapse; |
14 | border-collapse: collapse; |
15 | } |
15 | } |
16 | |
16 | |
17 | h2 { |
17 | h2 { |
18 | font-size: 120%; |
18 | font-size: 120%; |
19 | font-weight: bold; |
19 | font-weight: bold; |
20 | margin-top: 0em; |
20 | margin-top: 0em; |
21 | margin-bottom: 0.25em; |
21 | margin-bottom: 0.25em; |
22 | } |
22 | } |
23 | |
23 | |
24 | h3 { |
24 | h3 { |
25 | margin-top: 0em; |
25 | margin-top: 0em; |
26 | font-size: 100%; |
26 | font-size: 100%; |
27 | font-weight: normal; |
27 | font-weight: normal; |
28 | } |
28 | } |
29 | |
29 | |
30 | h4 { |
30 | h4 { |
31 | margin-top: 1.5em; |
31 | margin-top: 1.5em; |
32 | margin-bottom: 0.1em; |
32 | margin-bottom: 0.1em; |
33 | font-size: 100%; |
33 | font-size: 100%; |
34 | font-weight: bold; |
34 | font-weight: bold; |
35 | } |
35 | } |
36 | |
36 | |
37 | a { |
37 | a { |
38 | color: blue; |
38 | color: blue; |
39 | text-decoration: none; |
39 | text-decoration: none; |
40 | } |
40 | } |
41 | |
41 | |
42 | a:hover { |
42 | a:hover { |
43 | text-decoration: underline; |
43 | text-decoration: underline; |
44 | } |
44 | } |
45 | |
45 | |
46 | table.list { |
46 | table.list { |
47 | border: none; |
47 | border: none; |
48 | border-collapse: collapse; |
48 | border-collapse: collapse; |
49 | } |
49 | } |
50 | |
50 | |
51 | table.list tr { |
51 | table.list tr { |
52 | background: white; |
52 | background: white; |
53 | } |
53 | } |
54 | |
54 | |
55 | table.list tr:hover { |
55 | table.list tr:hover { |
56 | background: #eee; |
56 | background: #eee; |
57 | } |
57 | } |
58 | |
58 | |
59 | table.list tr.nohover:hover { |
59 | table.list tr.nohover:hover { |
60 | background: white; |
60 | background: white; |
61 | } |
61 | } |
62 | |
62 | |
63 | table.list th { |
63 | table.list th { |
64 | font-weight: bold; |
64 | font-weight: bold; |
65 | border-bottom: solid 1px #777; |
65 | border-bottom: solid 1px #777; |
66 | padding: 0.1em 0.5em 0.1em 0.5em; |
66 | padding: 0.1em 0.5em 0.1em 0.5em; |
67 | vertical-align: baseline; |
67 | vertical-align: baseline; |
68 | } |
68 | } |
69 | |
69 | |
70 | table.list td { |
70 | table.list td { |
71 | border: none; |
71 | border: none; |
72 | padding: 0.1em 0.5em 0.1em 0.5em; |
72 | padding: 0.1em 0.5em 0.1em 0.5em; |
73 | } |
73 | } |
74 | |
74 | |
75 | img { |
75 | img { |
76 | border: none; |
76 | border: none; |
77 | } |
77 | } |
78 | |
78 | |
79 | table#layout { |
79 | table#layout { |
80 | width: 100%; |
80 | width: 100%; |
81 | border-collapse: collapse; |
81 | border-collapse: collapse; |
82 | margin: 0px; |
82 | margin: 0px; |
83 | } |
83 | } |
84 | |
84 | |
85 | td#header, td#logo { |
85 | td#header, td#logo { |
86 | color: #666; |
86 | color: #666; |
87 | background-color: #ddd; |
87 | background-color: #ddd; |
88 | border-bottom: solid 1px #000; |
88 | border-bottom: solid 1px #000; |
89 | } |
89 | } |
90 | |
90 | |
91 | td#header { |
91 | td#header { |
92 | font-size: 150%; |
92 | font-size: 150%; |
93 | font-weight: bold; |
93 | font-weight: bold; |
94 | padding: 0.2em 0.5em; |
94 | padding: 0.2em 0.5em; |
95 | vertical-align: text-bottom; |
95 | vertical-align: text-bottom; |
96 | } |
96 | } |
97 | |
97 | |
98 | td#header a { |
98 | td#header a { |
99 | color: #666; |
99 | color: #666; |
100 | } |
100 | } |
101 | |
101 | |
102 | td#header a:hover { |
102 | td#header a:hover { |
103 | text-decoration: underline; |
103 | text-decoration: underline; |
104 | } |
104 | } |
105 | |
105 | |
106 | td#logo { |
106 | td#logo { |
107 | text-align: right; |
107 | text-align: right; |
108 | vertical-align: middle; |
108 | vertical-align: middle; |
109 | padding-right: 0.5em; |
109 | padding-right: 0.5em; |
110 | } |
110 | } |
111 | |
111 | |
112 | td#crumb, td#search { |
112 | td#crumb, td#search { |
113 | color: #ccc; |
113 | color: #ccc; |
114 | border-top: solid 3px #555; |
114 | border-top: solid 3px #555; |
115 | background-color: #666; |
115 | background-color: #666; |
116 | border-bottom: solid 1px #333; |
116 | border-bottom: solid 1px #333; |
117 | padding: 2px 1em; |
117 | padding: 2px 1em; |
118 | } |
118 | } |
119 | |
119 | |
120 | td#crumb { |
120 | td#crumb { |
121 | font-weight: bold; |
121 | font-weight: bold; |
122 | } |
122 | } |
123 | |
123 | |
124 | td#crumb a { |
124 | td#crumb a { |
125 | color: #ccc; |
125 | color: #ccc; |
126 | background-color: #666; |
126 | background-color: #666; |
127 | padding: 0em 0.5em 0em 0.5em; |
127 | padding: 0em 0.5em 0em 0.5em; |
128 | } |
128 | } |
129 | |
129 | |
130 | td#crumb a:hover { |
130 | td#crumb a:hover { |
131 | color: #666; |
131 | color: #666; |
132 | background-color: #ccc; |
132 | background-color: #ccc; |
133 | text-decoration: none; |
133 | text-decoration: none; |
134 | } |
134 | } |
135 | |
135 | |
136 | td#search { |
136 | td#search { |
137 | text-align: right; |
137 | text-align: right; |
138 | vertical-align: middle; |
138 | vertical-align: middle; |
139 | padding-right: 0.5em; |
139 | padding-right: 0.5em; |
140 | } |
140 | } |
141 | |
141 | |
142 | td#search form { |
142 | td#search form { |
143 | margin: 0px; |
143 | margin: 0px; |
144 | padding: 0px; |
144 | padding: 0px; |
145 | } |
145 | } |
146 | |
146 | |
| |
147 | td#search select { |
| |
148 | font-size: 9pt; |
| |
149 | padding: 0px; |
| |
150 | border: solid 1px #333; |
| |
151 | color: #333; |
| |
152 | background-color: #fff; |
| |
153 | } |
| |
154 | |
147 | td#search input { |
155 | td#search input { |
148 | font-size: 9pt; |
156 | font-size: 9pt; |
149 | padding: 0px; |
157 | padding: 0px; |
150 | width: 10em; |
158 | } |
| |
159 | |
| |
160 | td#search input.txt { |
| |
161 | width: 8em; |
151 | border: solid 1px #333; |
162 | border: solid 1px #333; |
152 | color: #333; |
163 | color: #333; |
153 | background-color: #fff; |
164 | background-color: #fff; |
154 | } |
165 | } |
155 | |
166 | |
| |
167 | td#search input.btn { |
| |
168 | border: solid 1px #333; |
| |
169 | color: #333; |
| |
170 | background-color: #ccc; |
| |
171 | } |
| |
172 | |
156 | div#summary { |
173 | div#summary { |
157 | vertical-align: top; |
174 | vertical-align: top; |
158 | margin-bottom: 1em; |
175 | margin-bottom: 1em; |
159 | } |
176 | } |
160 | |
177 | |
161 | table#downloads { |
178 | table#downloads { |
162 | float: right; |
179 | float: right; |
163 | border-collapse: collapse; |
180 | border-collapse: collapse; |
164 | border: solid 1px #777; |
181 | border: solid 1px #777; |
165 | margin-left: 0.5em; |
182 | margin-left: 0.5em; |
166 | margin-bottom: 0.5em; |
183 | margin-bottom: 0.5em; |
167 | } |
184 | } |
168 | |
185 | |
169 | table#downloads th { |
186 | table#downloads th { |
170 | background-color: #ccc; |
187 | background-color: #ccc; |
171 | } |
188 | } |
172 | |
189 | |
173 | td#content { |
190 | td#content { |
174 | padding: 1em 0.5em; |
191 | padding: 1em 0.5em; |
175 | } |
192 | } |
176 | |
193 | |
177 | div#blob { |
194 | div#blob { |
178 | border: solid 1px black; |
195 | border: solid 1px black; |
179 | } |
196 | } |
180 | |
197 | |
181 | div.error { |
198 | div.error { |
182 | color: red; |
199 | color: red; |
183 | font-weight: bold; |
200 | font-weight: bold; |
184 | margin: 1em 2em; |
201 | margin: 1em 2em; |
185 | } |
202 | } |
186 | |
203 | |
187 | a.ls-blob, a.ls-dir, a.ls-mod { |
204 | a.ls-blob, a.ls-dir, a.ls-mod { |
188 | font-family: monospace; |
205 | font-family: monospace; |
189 | } |
206 | } |
190 | |
207 | |
191 | td.ls-size { |
208 | td.ls-size { |
192 | text-align: right; |
209 | text-align: right; |
193 | } |
210 | } |
194 | |
211 | |
195 | td.ls-size { |
212 | td.ls-size { |
196 | font-family: monospace; |
213 | font-family: monospace; |
197 | } |
214 | } |
198 | |
215 | |
199 | td.ls-mode { |
216 | td.ls-mode { |
200 | font-family: monospace; |
217 | font-family: monospace; |
201 | } |
218 | } |
202 | |
219 | |
203 | table.blob { |
220 | table.blob { |
204 | margin-top: 0.5em; |
221 | margin-top: 0.5em; |
205 | border-top: solid 1px black; |
222 | border-top: solid 1px black; |
206 | } |
223 | } |
207 | |
224 | |
208 | table.blob td.no { |
225 | table.blob td.no { |
209 | border-right: solid 1px black; |
226 | border-right: solid 1px black; |
210 | color: black; |
227 | color: black; |
211 | background-color: #eee; |
228 | background-color: #eee; |
212 | text-align: right; |
229 | text-align: right; |
213 | } |
230 | } |
214 | |
231 | |
215 | table.blob td.no a { |
232 | table.blob td.no a { |
216 | color: black; |
233 | color: black; |
217 | } |
234 | } |
218 | |
235 | |
219 | table.blob td.no a:hover { |
236 | table.blob td.no a:hover { |
220 | color: black; |
237 | color: black; |
221 | text-decoration: none; |
238 | text-decoration: none; |
222 | } |
239 | } |
223 | |
240 | |
224 | table.blob td.txt { |
241 | table.blob td.txt { |
225 | white-space: pre; |
242 | white-space: pre; |
226 | font-family: monospace; |
243 | font-family: monospace; |
227 | padding-left: 0.5em; |
244 | padding-left: 0.5em; |
228 | } |
245 | } |
229 | |
246 | |
230 | table.nowrap td { |
247 | table.nowrap td { |
231 | white-space: nowrap; |
248 | white-space: nowrap; |
232 | } |
249 | } |
233 | |
250 | |
234 | table.commit-info { |
251 | table.commit-info { |
235 | border-collapse: collapse; |
252 | border-collapse: collapse; |
236 | margin-top: 1.5em; |
253 | margin-top: 1.5em; |
237 | } |
254 | } |
238 | |
255 | |
239 | table.commit-info th { |
256 | table.commit-info th { |
240 | text-align: left; |
257 | text-align: left; |
241 | font-weight: normal; |
258 | font-weight: normal; |
242 | padding: 0.1em 1em 0.1em 0.1em; |
259 | padding: 0.1em 1em 0.1em 0.1em; |
243 | vertical-align: top; |
260 | vertical-align: top; |
244 | } |
261 | } |
245 | |
262 | |
246 | table.commit-info td { |
263 | table.commit-info td { |
247 | font-weight: normal; |
264 | font-weight: normal; |
248 | padding: 0.1em 1em 0.1em 0.1em; |
265 | padding: 0.1em 1em 0.1em 0.1em; |
249 | } |
266 | } |
250 | |
267 | |
251 | div.commit-subject { |
268 | div.commit-subject { |
252 | font-weight: bold; |
269 | font-weight: bold; |
253 | font-size: 125%; |
270 | font-size: 125%; |
254 | margin: 1.5em 0em 0.5em 0em; |
271 | margin: 1.5em 0em 0.5em 0em; |
255 | padding: 0em; |
272 | padding: 0em; |
256 | } |
273 | } |
257 | |
274 | |
258 | div.commit-msg { |
275 | div.commit-msg { |
259 | white-space: pre; |
276 | white-space: pre; |
260 | font-family: monospace; |
277 | font-family: monospace; |
261 | } |
278 | } |
262 | |
279 | |
263 | div.diffstat-header { |
280 | div.diffstat-header { |
264 | font-weight: bold; |
281 | font-weight: bold; |
265 | padding-top: 1.5em; |
282 | padding-top: 1.5em; |
266 | } |
283 | } |
267 | |
284 | |
268 | table.diffstat { |
285 | table.diffstat { |
269 | border-collapse: collapse; |
286 | border-collapse: collapse; |
270 | width: 100%; |
287 | width: 100%; |
271 | border: solid 1px #aaa; |
288 | border: solid 1px #aaa; |
272 | background-color: #eee; |
289 | background-color: #eee; |
273 | } |
290 | } |
274 | |
291 | |
275 | table.diffstat th { |
292 | table.diffstat th { |
276 | font-weight: normal; |
293 | font-weight: normal; |
277 | text-align: left; |
294 | text-align: left; |
278 | text-decoration: underline; |
295 | text-decoration: underline; |
279 | padding: 0.1em 1em 0.1em 0.1em; |
296 | padding: 0.1em 1em 0.1em 0.1em; |
280 | font-size: 100%; |
297 | font-size: 100%; |
281 | } |
298 | } |
282 | |
299 | |
283 | table.diffstat td { |
300 | table.diffstat td { |
284 | padding: 0.2em 0.2em 0.1em 0.1em; |
301 | padding: 0.2em 0.2em 0.1em 0.1em; |
285 | font-size: 100%; |
302 | font-size: 100%; |
286 | border: none; |
303 | border: none; |
287 | } |
304 | } |
288 | |
305 | |
289 | table.diffstat td.mode { |
306 | table.diffstat td.mode { |
290 | white-space: nowrap; |
307 | white-space: nowrap; |
291 | } |
308 | } |
292 | |
309 | |
293 | table.diffstat td span.modechange { |
310 | table.diffstat td span.modechange { |
294 | padding-left: 1em; |
311 | padding-left: 1em; |
295 | color: red; |
312 | color: red; |
296 | } |
313 | } |
297 | |
314 | |
298 | table.diffstat td.add a { |
315 | table.diffstat td.add a { |
299 | color: green; |
316 | color: green; |
300 | } |
317 | } |
301 | |
318 | |
302 | table.diffstat td.del a { |
319 | table.diffstat td.del a { |
303 | color: red; |
320 | color: red; |
304 | } |
321 | } |
305 | |
322 | |
306 | table.diffstat td.upd a { |
323 | table.diffstat td.upd a { |
307 | color: blue; |
324 | color: blue; |
308 | } |
325 | } |
309 | |
326 | |
310 | table.diffstat td.graph { |
327 | table.diffstat td.graph { |
311 | width: 75%; |
328 | width: 75%; |
312 | vertical-align: middle; |
329 | vertical-align: middle; |
313 | } |
330 | } |
314 | |
331 | |
315 | table.diffstat td.graph table { |
332 | table.diffstat td.graph table { |
316 | border: none; |
333 | border: none; |
317 | } |
334 | } |
318 | |
335 | |
319 | table.diffstat td.graph td { |
336 | table.diffstat td.graph td { |
320 | padding: 0px; |
337 | padding: 0px; |
321 | border: 0px; |
338 | border: 0px; |
322 | height: 7pt; |
339 | height: 7pt; |
323 | } |
340 | } |
324 | |
341 | |
325 | table.diffstat td.graph td.add { |
342 | table.diffstat td.graph td.add { |
326 | background-color: #5c5; |
343 | background-color: #5c5; |
327 | } |
344 | } |
328 | |
345 | |
329 | table.diffstat td.graph td.rem { |
346 | table.diffstat td.graph td.rem { |
330 | background-color: #c55; |
347 | background-color: #c55; |
331 | } |
348 | } |
332 | |
349 | |
333 | div.diffstat-summary { |
350 | div.diffstat-summary { |
334 | color: #888; |
351 | color: #888; |
335 | padding-top: 0.5em; |
352 | padding-top: 0.5em; |
336 | } |
353 | } |
337 | |
354 | |
338 | table.diff { |
355 | table.diff { |
339 | width: 100%; |
356 | width: 100%; |
340 | } |
357 | } |
341 | |
358 | |
342 | table.diff td { |
359 | table.diff td { |
343 | font-family: monospace; |
360 | font-family: monospace; |
344 | white-space: pre; |
361 | white-space: pre; |
345 | } |
362 | } |
346 | |
363 | |
347 | table.diff td div.head { |
364 | table.diff td div.head { |
348 | font-weight: bold; |
365 | font-weight: bold; |
349 | margin-top: 1em; |
366 | margin-top: 1em; |
350 | background-color: #eee; |
367 | background-color: #eee; |
351 | } |
368 | } |
352 | |
369 | |
353 | table.diff td div.hunk { |
370 | table.diff td div.hunk { |
354 | color: #009; |
371 | color: #009; |
355 | } |
372 | } |
356 | |
373 | |
357 | table.diff td div.add { |
374 | table.diff td div.add { |
358 | color: green; |
375 | color: green; |
359 | } |
376 | } |
360 | |
377 | |
361 | table.diff td div.del { |
378 | table.diff td div.del { |
362 | color: red; |
379 | color: red; |
363 | } |
380 | } |
364 | |
381 | |
365 | .sha1 { |
382 | .sha1 { |
366 | font-family: monospace; |
383 | font-family: monospace; |
367 | font-size: 90%; |
384 | font-size: 90%; |
368 | } |
385 | } |
369 | |
386 | |
370 | .left { |
387 | .left { |
371 | text-align: left; |
388 | text-align: left; |
372 | } |
389 | } |
373 | |
390 | |
374 | .right { |
391 | .right { |
375 | text-align: right; |
392 | text-align: right; |
376 | } |
393 | } |
377 | |
394 | |
378 | table.list td.repogroup { |
395 | table.list td.repogroup { |
379 | font-style: italic; |
396 | font-style: italic; |
380 | color: #888; |
397 | color: #888; |
381 | } |
398 | } |
382 | |
399 | |
383 | a.button { |
400 | a.button { |
384 | font-size: 80%; |
401 | font-size: 80%; |
385 | color: #aaa; |
402 | color: #aaa; |
386 | background-color: #eee; |
403 | background-color: #eee; |
387 | border: solid 1px #aaa; |
404 | border: solid 1px #aaa; |
388 | padding: 0em 0.5em; |
405 | padding: 0em 0.5em; |
389 | margin: 0.1em 0.25em; |
406 | margin: 0.1em 0.25em; |
390 | } |
407 | } |
391 | |
408 | |
392 | a.button:hover { |
409 | a.button:hover { |
393 | text-decoration: none; |
410 | text-decoration: none; |
394 | color: #333; |
411 | color: #333; |
395 | background-color: #ccc; |
412 | background-color: #ccc; |
396 | } |
413 | } |
397 | |
414 | |
398 | a.primary { |
415 | a.primary { |
399 | font-size: 100%; |
416 | font-size: 100%; |
400 | } |
417 | } |
401 | |
418 | |
402 | a.secondary { |
419 | a.secondary { |
403 | font-size: 90%; |
420 | font-size: 90%; |
404 | } |
421 | } |
405 | |
422 | |
406 | td.toplevel-repo { |
423 | td.toplevel-repo { |
407 | |
424 | |
408 | } |
425 | } |
409 | |
426 | |
410 | table.list td.sublevel-repo { |
427 | table.list td.sublevel-repo { |
411 | padding-left: 1.5em; |
428 | padding-left: 1.5em; |
412 | } |
429 | } |
413 | |
430 | |
414 | span.age-mins { |
431 | span.age-mins { |
415 | font-weight: bold; |
432 | font-weight: bold; |
416 | color: #080; |
433 | color: #080; |
417 | } |
434 | } |
418 | |
435 | |
419 | span.age-hours { |
436 | span.age-hours { |
420 | color: #080; |
437 | color: #080; |
421 | } |
438 | } |
422 | |
439 | |
423 | span.age-days { |
440 | span.age-days { |
424 | color: #040; |
441 | color: #040; |
425 | } |
442 | } |
426 | |
443 | |
427 | span.age-weeks { |
444 | span.age-weeks { |
428 | color: #444; |
445 | color: #444; |
429 | } |
446 | } |
430 | |
447 | |
431 | span.age-months { |
448 | span.age-months { |
432 | color: #888; |
449 | color: #888; |
433 | } |
450 | } |
434 | |
451 | |
435 | span.age-years { |
452 | span.age-years { |
436 | color: #bbb; |
453 | color: #bbb; |
437 | } |
454 | } |
|