From c35721d28683f380dd079f0b782bd805a49cffc0 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Thu, 14 May 2015 22:32:48 +0930 Subject: [PATCH] New look for highlighted posts --- framework/core/less/forum/discussion.less | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/framework/core/less/forum/discussion.less b/framework/core/less/forum/discussion.less index b2d83a8b9..464f5e838 100644 --- a/framework/core/less/forum/discussion.less +++ b/framework/core/less/forum/discussion.less @@ -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;