Changeset - 450a5ee5889b
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-10-25 22:41:45
dominikruf@gmail.com
less: we should be consistent with diffstat-ish colors

With this change, on the changeset page, the 'change counters' for the whole
changeset (in the top right corner) use the same colors as the counters for the
lines (a little bit below) and the line change highlighting.

- move .changed from kallithea.less to kallithea-diff.less
- be more generic with selectors in kallithea-diff
- remove remaining style from kallithea.less
2 files changed with 6 insertions and 17 deletions:
0 comments (0 inline, 0 general)
kallithea/public/less/kallithea-diff.less
Show inline comments
 
/* bootstrap progress bar has margin-bottom we don't want that in files list */
 
.cs_files .progress {
 
  margin-bottom: 0;
 
}
 
/* progress bars should be aligned right */
 
.cs_files .changes {
 
  float: right;
 
  color: @kallithea-theme-main-color;
 
}
 

	
 
/* colors for deleted/changed/added, for per file "diffstat" (rendered as Bootstrap progress-bar) */
 
.cs_files .changes .added {
 
/* colors for deleted/changed/added, both for 3 labels in top right corner with total count, and for per file "diffstat" (rendered as Bootstrap progress-bar) */
 
.changes .added {
 
  color: inherit;
 
  background-color: @add-bg-color;
 
}
 
.cs_files .changes .deleted {
 
.changes .changed {
 
  background: @change-bg-color;
 
}
 
.changes .deleted {
 
  background-color: @delete-bg-color;
 
}
 
/* 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;
kallithea/public/less/style.less
Show inline comments
 
@@ -509,38 +509,24 @@ table#changesets tr > td.mid .message a:
 
.changeset-status-not_reviewed {
 
  color: #bababa;
 
}
 
.changeset-status-approved {
 
  color: #81ba51;
 
}
 
.changeset-status-rejected {
 
  color: #d06060;
 
}
 
.changeset-status-under_review {
 
  color: #ffc71e;
 
}
 
.pull-right .changes .added,
 
.pull-right .changes .changed,
 
.pull-right .changes .deleted {
 
  color: #444444;
 
}
 
.pull-right .changes .added {
 
  background: #CFC;
 
}
 
.pull-right .changes .changed {
 
  background: #FEA;
 
}
 
.pull-right .changes .deleted {
 
  background: #FAA;
 
}
 

	
 
#repo_size {
 
  display: block;
 
  margin-top: 4px;
 
  color: #666;
 
  float: right;
 
}
 
.currently_following {
 
  padding-left: 10px;
 
  padding-bottom: 5px;
 
}
 
#switch_repos {
0 comments (0 inline, 0 general)