Mercurial > kallithea
changeset 7108:450a5ee5889b
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
author | domruf <dominikruf@gmail.com> |
---|---|
date | Wed, 25 Oct 2017 22:41:45 +0200 |
parents | 5d544e6b3fe0 |
children | 228dd29e79da |
files | kallithea/public/less/kallithea-diff.less kallithea/public/less/style.less |
diffstat | 2 files changed, 6 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/less/kallithea-diff.less Wed Oct 25 22:29:18 2017 +0200 +++ b/kallithea/public/less/kallithea-diff.less Wed Oct 25 22:41:45 2017 +0200 @@ -8,12 +8,15 @@ 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
--- a/kallithea/public/less/style.less Wed Oct 25 22:29:18 2017 +0200 +++ b/kallithea/public/less/style.less Wed Oct 25 22:41:45 2017 +0200 @@ -518,20 +518,6 @@ .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;