Changeset - 065690dba16b
[Not reviewed]
default
0 3 0
domruf - 8 years ago 2017-10-29 11:07:49
dominikruf@gmail.com
less: drop special summary style

- remove special margin
- use the same style for all descriptions (same as .formatted-fixed)
- there is no #content div.panel #summary p
3 files changed with 2 insertions and 48 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -178,25 +178,6 @@ div.panel.panel-default > div.panel-head
 
  border-right: 1px solid #bebebe;
 
  color: #515151;
 
}
 
#content div.panel div#summary-panel-body.form div.form-group > div {
 
  margin: 0 0 10px 150px;
 
}
 
#content div.panel #summary {
 
  margin-right: 200px;
 
  min-height: 200px;
 
}
 
#summary .metatag {
 
  display: inline-block;
 
  padding: 3px 5px;
 
  margin-bottom: 3px;
 
  margin-right: 1px;
 
  border-radius: 5px;
 
}
 
#content div.panel #summary p {
 
  margin-bottom: -5px;
 
  width: 600px;
 
  white-space: pre-wrap;
 
}
 
#clone_by_name.input-group,
 
#clone_by_id.input-group {
 
  width: 100%;
 
@@ -450,10 +431,6 @@ table#changesets .booktag {
 
  text-decoration: none;
 
  color: inherit;
 
}
 
#summary .desc {
 
  white-space: pre;
 
  width: 100%;
 
}
 
#footer {
 
  background-color: #577632;
 
  margin-bottom: 0;
kallithea/public/less/style.less
Show inline comments
 
@@ -197,25 +197,7 @@ div.panel.panel-default > div.panel-head
 
  border-right: 1px solid #bebebe;
 
  color: #515151;
 
}
 
#content div.panel div#summary-panel-body.form div.form-group > div {
 
  margin: 0 0 10px 150px;
 
}
 
#content div.panel #summary {
 
  margin-right: 200px;
 
  min-height: 200px;
 
}
 
#summary .metatag {
 
  display: inline-block;
 
  padding: 3px 5px;
 
  margin-bottom: 3px;
 
  margin-right: 1px;
 
  border-radius: 5px;
 
}
 
#content div.panel #summary p {
 
  margin-bottom: -5px;
 
  width: 600px;
 
  white-space: pre-wrap;
 
}
 

	
 
#clone_by_name.input-group,
 
#clone_by_id.input-group {
 
  width: 100%;
 
@@ -237,11 +219,6 @@ div.panel.panel-default > div.panel-head
 

	
 
@import "kallithea-tags.less";
 

	
 
#summary .desc {
 
  white-space: pre;
 
  width: 100%;
 
}
 

	
 
#footer {
 
  background-color: #577632;
 
  margin-bottom: 0;
kallithea/templates/summary/summary.html
Show inline comments
 
@@ -77,7 +77,7 @@ ${self.repo_context_bar('summary')}
 

	
 
            <div class="form-group">
 
              <label>${_('Description')}:</label>
 
              <div class="desc">${h.urlify_text(c.db_repo.description, stylize=c.visual.stylify_metatags)}</div>
 
              <div class="formatted-fixed">${h.urlify_text(c.db_repo.description, stylize=c.visual.stylify_metatags)}</div>
 
            </div>
 

	
 
            <div class="form-group">
0 comments (0 inline, 0 general)