Commit f64717f13112af305ec4ad154decb3f1260aff7c
1 parent
67b78fa7
Exists in
master
and in
4 other branches
lets color changed files in commit. Green font color for added files, red for removed
Showing
1 changed file
with
13 additions
and
7 deletions
Show diff stats
app/assets/stylesheets/sections/commits.scss
| ... | ... | @@ -369,19 +369,25 @@ |
| 369 | 369 | } |
| 370 | 370 | |
| 371 | 371 | .file-stats { |
| 372 | - .new-file{ | |
| 373 | - i{ | |
| 372 | + .new-file { | |
| 373 | + a { | |
| 374 | + color: #090; | |
| 375 | + } | |
| 376 | + i { | |
| 374 | 377 | color: #1BCF00; |
| 375 | 378 | } |
| 376 | 379 | } |
| 377 | - .renamed-file{ | |
| 378 | - i{ | |
| 380 | + .renamed-file { | |
| 381 | + i { | |
| 379 | 382 | color: #FE9300; |
| 380 | 383 | } |
| 381 | 384 | } |
| 382 | - .deleted-file{ | |
| 383 | - i{ | |
| 384 | - color: #FF0000; | |
| 385 | + .deleted-file { | |
| 386 | + a { | |
| 387 | + color: #B00; | |
| 388 | + } | |
| 389 | + i { | |
| 390 | + color: #EE0000; | |
| 385 | 391 | } |
| 386 | 392 | } |
| 387 | 393 | .edit-file{ | ... | ... |