Changeset - 7c1112c0b2de
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-10-26 23:26:25
dominikruf@gmail.com
less: simplify permalink style

- 'position: absolute' and 'margin: 3px 4px;' make it actually look worse
- 'text-decoration: none' is already set on all <a>
- we only use it in one place so the selector can be simplified

Also add comment.
2 files changed with 7 insertions and 27 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -65,22 +65,11 @@ div.formatted-fixed {
 
.truncate.autoexpand:hover {
 
  overflow: visible;
 
}
 
/* show comment anchors when hovering over panel-heading */
 
a.permalink {
 
  visibility: hidden;
 
  position: absolute;
 
  margin: 3px 4px;
 
}
 
a.permalink:hover {
 
  text-decoration: none;
 
}
 
h1:hover > a.permalink,
 
h2:hover > a.permalink,
 
h3:hover > a.permalink,
 
h4:hover > a.permalink,
 
h5:hover > a.permalink,
 
h6:hover > a.permalink,
 
div:hover > a.permalink,
 
div:hover > span > a.permalink {
 
}
 
.panel-heading:hover .permalink {
 
  visibility: visible;
 
}
 
.radio-inline,
kallithea/public/less/style.less
Show inline comments
 
@@ -67,24 +67,15 @@ div.formatted-fixed {
 
.truncate.autoexpand:hover {
 
  overflow: visible;
 
}
 

	
 
/* show comment anchors when hovering over panel-heading */
 
a.permalink {
 
  visibility: hidden;
 
  position: absolute;
 
  margin: 3px 4px;
 
}
 
a.permalink:hover {
 
  text-decoration: none;
 
}
 
h1:hover > a.permalink,
 
h2:hover > a.permalink,
 
h3:hover > a.permalink,
 
h4:hover > a.permalink,
 
h5:hover > a.permalink,
 
h6:hover > a.permalink,
 
div:hover > a.permalink,
 
div:hover > span > a.permalink {
 
.panel-heading:hover .permalink {
 
  visibility: visible;
 
}
 

	
 
.radio-inline,
 
.checkbox-inline {
 
  vertical-align: inherit;
0 comments (0 inline, 0 general)