Mercurial > kallithea
comparison rhodecode/public/css/style.css @ 3821:ce4b7023a492 beta
diff parser: redefined operations stats for changes
- don't loose info about multiple operations like rename + chmod
- new Binary flag when dealing with binary file operations
- fixed diffs after mercurial 2.6 when GIT binary diffs were fixed
- added more tests for multiple operations
- refactored the way diffprocessor returns data. It's
now easier to extract type of operation on binary files
- diffprocessor doesn't append that information into the diff itself
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 08 May 2013 01:19:18 +0200 |
parents | 13241a4075e9 |
children | dc4644865e8b |
comparison
equal
deleted
inserted
replaced
3820:8df1bc51aa9c | 3821:ce4b7023a492 |
---|---|
2402 float: left; | 2402 float: left; |
2403 text-align: center; | 2403 text-align: center; |
2404 font-size: 9px; | 2404 font-size: 9px; |
2405 padding: 2px 0px 2px 0px; | 2405 padding: 2px 0px 2px 0px; |
2406 } | 2406 } |
2407 /*new binary*/ | 2407 /*new binary |
2408 .cs_files .changes .bin1 { | 2408 NEW_FILENODE = 1 |
2409 DEL_FILENODE = 2 | |
2410 MOD_FILENODE = 3 | |
2411 RENAMED_FILENODE = 4 | |
2412 CHMOD_FILENODE = 5 | |
2413 BIN_FILENODE = 6 | |
2414 */ | |
2415 .cs_files .changes .bin { | |
2409 background-color: #BBFFBB; | 2416 background-color: #BBFFBB; |
2410 float: left; | 2417 float: left; |
2411 text-align: center; | 2418 text-align: center; |
2412 font-size: 9px; | 2419 font-size: 9px; |
2413 padding: 2px 0px 2px 0px; | 2420 padding: 2px 0px 2px 0px; |
2414 } | 2421 } |
2422 .cs_files .changes .bin.bin1 { | |
2423 background-color: #BBFFBB; | |
2424 } | |
2415 | 2425 |
2416 /*deleted binary*/ | 2426 /*deleted binary*/ |
2417 .cs_files .changes .bin2 { | 2427 .cs_files .changes .bin.bin2 { |
2418 background-color: #FF8888; | 2428 background-color: #FF8888; |
2419 float: left; | |
2420 text-align: center; | |
2421 font-size: 9px; | |
2422 padding: 2px 0px 2px 0px; | |
2423 } | 2429 } |
2424 | 2430 |
2425 /*mod binary*/ | 2431 /*mod binary*/ |
2426 .cs_files .changes .bin3 { | 2432 .cs_files .changes .bin.bin3 { |
2427 background-color: #DDDDDD; | 2433 background-color: #DDDDDD; |
2428 float: left; | |
2429 text-align: center; | |
2430 font-size: 9px; | |
2431 padding: 2px 0px 2px 0px; | |
2432 } | 2434 } |
2433 | 2435 |
2434 /*rename file*/ | 2436 /*rename file*/ |
2435 .cs_files .changes .bin4 { | 2437 .cs_files .changes .bin.bin4 { |
2436 background-color: #6D99FF; | 2438 background-color: #6D99FF; |
2437 float: left; | 2439 } |
2438 text-align: center; | 2440 |
2439 font-size: 9px; | 2441 /*rename file*/ |
2440 padding: 2px 0px 2px 0px; | 2442 .cs_files .changes .bin.bin4 { |
2441 } | 2443 background-color: #6D99FF; |
2442 | 2444 } |
2445 | |
2446 /*chmod file*/ | |
2447 .cs_files .changes .bin.bin5 { | |
2448 background-color: #6D99FF; | |
2449 } | |
2443 | 2450 |
2444 .cs_files .cs_added, .cs_files .cs_A { | 2451 .cs_files .cs_added, .cs_files .cs_A { |
2445 background: url("../images/icons/page_white_add.png") no-repeat scroll | 2452 background: url("../images/icons/page_white_add.png") no-repeat scroll |
2446 3px; | 2453 3px; |
2447 height: 16px; | 2454 height: 16px; |