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