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