summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2007-10-01 10:41:29 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-10-01 10:41:29 (UTC)
commit271829f269158c2ff818f72eb0c6f9de2a724126 (patch) (unidiff)
tree326d911b1c66c1460f335dafaadcdeef74409e70
parente238ebe1874e07865b3f38fe8e256e91a6f734a4 (diff)
downloadcgit-271829f269158c2ff818f72eb0c6f9de2a724126.zip
cgit-271829f269158c2ff818f72eb0c6f9de2a724126.tar.gz
cgit-271829f269158c2ff818f72eb0c6f9de2a724126.tar.bz2
cgit.css: make diff headers more visible
This modifies the background color of diff headers to make them easier to spot. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css
index 141bec8..f69cc75 100644
--- a/cgit.css
+++ b/cgit.css
@@ -290,104 +290,109 @@ table.diffstat td.mode {
290 white-space: nowrap; 290 white-space: nowrap;
291} 291}
292 292
293table.diffstat td span.modechange { 293table.diffstat td span.modechange {
294 padding-left: 1em; 294 padding-left: 1em;
295 color: red; 295 color: red;
296} 296}
297 297
298table.diffstat td.add a { 298table.diffstat td.add a {
299 color: green; 299 color: green;
300} 300}
301 301
302table.diffstat td.del a { 302table.diffstat td.del a {
303 color: red; 303 color: red;
304} 304}
305 305
306table.diffstat td.upd a { 306table.diffstat td.upd a {
307 color: blue; 307 color: blue;
308} 308}
309 309
310table.diffstat td.graph { 310table.diffstat td.graph {
311 width: 75%; 311 width: 75%;
312 vertical-align: middle; 312 vertical-align: middle;
313} 313}
314 314
315table.diffstat td.graph table { 315table.diffstat td.graph table {
316 border: none; 316 border: none;
317} 317}
318 318
319table.diffstat td.graph td { 319table.diffstat td.graph td {
320 padding: 0px; 320 padding: 0px;
321 border: 0px; 321 border: 0px;
322 height: 7pt; 322 height: 7pt;
323} 323}
324 324
325table.diffstat td.graph td.add { 325table.diffstat td.graph td.add {
326 background-color: #5c5; 326 background-color: #5c5;
327} 327}
328 328
329table.diffstat td.graph td.rem { 329table.diffstat td.graph td.rem {
330 background-color: #c55; 330 background-color: #c55;
331} 331}
332 332
333div.diffstat-summary { 333div.diffstat-summary {
334 color: #888; 334 color: #888;
335 padding-top: 0.5em; 335 padding-top: 0.5em;
336} 336}
337 337
338table.diff {
339 width: 100%;
340}
341
338table.diff td { 342table.diff td {
339 font-family: monospace; 343 font-family: monospace;
340 white-space: pre; 344 white-space: pre;
341} 345}
342 346
343table.diff td div.head { 347table.diff td div.head {
344 font-weight: bold; 348 font-weight: bold;
345 padding-top: 1em; 349 margin-top: 1em;
350 background-color: #eee;
346} 351}
347 352
348table.diff td div.hunk { 353table.diff td div.hunk {
349 color: #009; 354 color: #009;
350} 355}
351 356
352table.diff td div.add { 357table.diff td div.add {
353 color: green; 358 color: green;
354} 359}
355 360
356table.diff td div.del { 361table.diff td div.del {
357 color: red; 362 color: red;
358} 363}
359 364
360.sha1 { 365.sha1 {
361 font-family: monospace; 366 font-family: monospace;
362 font-size: 90%; 367 font-size: 90%;
363} 368}
364 369
365.left { 370.left {
366 text-align: left; 371 text-align: left;
367} 372}
368 373
369.right { 374.right {
370 text-align: right; 375 text-align: right;
371} 376}
372 377
373table.list td.repogroup { 378table.list td.repogroup {
374 font-style: italic; 379 font-style: italic;
375 color: #888; 380 color: #888;
376} 381}
377 382
378a.button { 383a.button {
379 font-size: 80%; 384 font-size: 80%;
380 color: #aaa; 385 color: #aaa;
381 background-color: #eee; 386 background-color: #eee;
382 border: solid 1px #aaa; 387 border: solid 1px #aaa;
383 padding: 0em 0.5em; 388 padding: 0em 0.5em;
384 margin: 0.1em 0.25em; 389 margin: 0.1em 0.25em;
385} 390}
386 391
387a.button:hover { 392a.button:hover {
388 text-decoration: none; 393 text-decoration: none;
389 color: #333; 394 color: #333;
390 background-color: #ccc; 395 background-color: #ccc;
391} 396}
392 397
393a.primary { 398a.primary {