Changeset - 7f45efdd3f12
[Not reviewed]
default
0 3 0
domruf - 8 years ago 2017-10-25 23:45:31
dominikruf@gmail.com
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.
3 files changed with 1 insertions and 9 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -1936,10 +1936,6 @@ input.perm_filter {
 
.cs_files .progress {
 
  margin-bottom: 0;
 
}
 
.cs_files .cur_cs {
 
  margin: 10px 2px;
 
  font-weight: bold;
 
}
 
.cs_files .node {
 
  float: left;
 
}
kallithea/public/less/kallithea-diff.less
Show inline comments
 
.cs_files .progress {
 
  margin-bottom: 0;
 
}
 
.cs_files .cur_cs {
 
  margin: 10px 2px;
 
  font-weight: bold;
 
}
 
.cs_files .node {
 
  float: left;
 
}
kallithea/templates/changeset/changeset_range.html
Show inline comments
 
@@ -50,7 +50,7 @@ ${self.repo_context_bar('changelog')}
 
                <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">
0 comments (0 inline, 0 general)