Changeset - 5d544e6b3fe0
[Not reviewed]
default
0 1 0
domruf - 8 years ago 2017-10-25 22:29:18
dominikruf@gmail.com
less: cleanup diffstat style - it already has markup for Bootstrap progress-bar
1 file changed with 1 insertions and 13 deletions:
0 comments (0 inline, 0 general)
kallithea/public/less/kallithea-diff.less
Show inline comments
 
@@ -5,42 +5,30 @@
 
/* progress bars should be aligned right */
 
.cs_files .changes {
 
  float: right;
 
  color: @kallithea-theme-main-color;
 
}
 

	
 
/* colors for changes */
 
/* colors for deleted/changed/added, for per file "diffstat" (rendered as Bootstrap progress-bar) */
 
.cs_files .changes .added {
 
  color: inherit;
 
  background-color: @add-bg-color;
 
  float: left;
 
  text-align: center;
 
  font-size: 9px;
 
  padding: 2px 0px 2px 0px;
 
}
 
.cs_files .changes .deleted {
 
  background-color: @delete-bg-color;
 
  float: left;
 
  text-align: center;
 
  font-size: 9px;
 
  padding: 2px 0px 2px 0px;
 
}
 
/* binary
 
NEW_FILENODE = 1
 
DEL_FILENODE = 2
 
MOD_FILENODE = 3
 
RENAMED_FILENODE = 4
 
CHMOD_FILENODE = 5
 
BIN_FILENODE = 6
 
*/
 
.changes .bin {
 
  background-color: @add-bg-color;
 
  float: left;
 
  text-align: center;
 
  font-size: 9px;
 
  padding: 2px 0px 2px 0px;
 
}
 
/* added binary */
 
.changes .bin.bin1 {
 
  background-color: @add-bg-color;
 
}
 
/* deleted binary*/
0 comments (0 inline, 0 general)