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