New look for highlighted posts

This commit is contained in:
Toby Zerner 2015-05-14 22:32:48 +09:30
parent 4e7cbaa4dd
commit c35721d286

View File

@ -155,10 +155,17 @@
}
}
.item.highlight .post {
border: 8px solid fade(@fl-primary-color, 10%);
border-radius: 10px;
padding: 15px;
margin: -23px;
&:before {
content: "";
position: absolute;
left: -30px;
top: -5px;
bottom: -5px;
width: 5px;
border-radius: @border-radius-base;
background: @fl-primary-color;
}
}
}
.post-header {
margin-bottom: 10px;
@ -406,9 +413,6 @@
visibility: visible;
}
}
.item.highlight .post {
padding-left: 90px + 15px;
}
.post-header {
& .avatar {
margin-left: -90px;