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