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
 
@@ -1933,16 +1933,12 @@ input.perm_filter {
 
  width: 14px;
 
  height: 14px;
 
}
 
.cs_files .progress {
 
  margin-bottom: 0;
 
}
 
.cs_files .cur_cs {
 
  margin: 10px 2px;
 
  font-weight: bold;
 
}
 
.cs_files .node {
 
  float: left;
 
}
 
.cs_files .changes {
 
  float: right;
 
  color: #577632;
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;
 
}
 
.cs_files .changes {
 
  float: right;
 
  color: #577632;
kallithea/templates/changeset/changeset_range.html
Show inline comments
 
@@ -47,13 +47,13 @@ ${self.repo_context_bar('changelog')}
 
                  </tr>
 
                %endfor
 
                </table>
 
                <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">
 
                                <div class="node pull-left">
 
                                    <i class="icon-diff-${op}"></i>
 
                                    ${h.link_to(h.safe_unicode(path), '#%s' % fid)}
0 comments (0 inline, 0 general)