Mercurial > kallithea
changeset 6973:7f45efdd3f12
less: remove unnecessary .cur_cs
The class is only used once on a h6, which already is bold and has top and
bottom 10px margin. The 2px margin left and right are not really helpful.
author | domruf <dominikruf@gmail.com> |
---|---|
date | Wed, 25 Oct 2017 23:45:31 +0200 |
parents | 4d339efccf64 |
children | 63ebe4815723 |
files | kallithea/public/css/style.css kallithea/public/less/kallithea-diff.less kallithea/templates/changeset/changeset_range.html |
diffstat | 3 files changed, 1 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/style.css Wed Oct 25 21:26:58 2017 +0200 +++ b/kallithea/public/css/style.css Wed Oct 25 23:45:31 2017 +0200 @@ -1936,10 +1936,6 @@ .cs_files .progress { margin-bottom: 0; } -.cs_files .cur_cs { - margin: 10px 2px; - font-weight: bold; -} .cs_files .node { float: left; }
--- a/kallithea/public/less/kallithea-diff.less Wed Oct 25 21:26:58 2017 +0200 +++ b/kallithea/public/less/kallithea-diff.less Wed Oct 25 23:45:31 2017 +0200 @@ -1,10 +1,6 @@ .cs_files .progress { margin-bottom: 0; } -.cs_files .cur_cs { - margin: 10px 2px; - font-weight: bold; -} .cs_files .node { float: left; }
--- a/kallithea/templates/changeset/changeset_range.html Wed Oct 25 21:26:58 2017 +0200 +++ b/kallithea/templates/changeset/changeset_range.html Wed Oct 25 23:45:31 2017 +0200 @@ -50,7 +50,7 @@ <h4>${_('Files affected')}</h4> <div class="cs_files"> %for cs in c.cs_ranges: - <h6 class="cur_cs">${h.link_to(h.show_id(cs),h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id))}</h6> + <h6>${h.link_to(h.show_id(cs),h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id))}</h6> <% a_rev, cs_rev, file_diff_data = c.changes[cs.raw_id] %> %for fid, url_fid, op, a_path, path, diff, stats in file_diff_data: <div class="cs_${op} clearfix">