1
0
mirror of https://github.com/flarum/core.git synced 2025-06-06 22:55:11 +02:00

New look for highlighted posts

This commit is contained in:
Toby Zerner 2015-05-14 22:32:48 +09:30
parent 0befac4082
commit 7d5921ca5e

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;