diff --git a/less/topic.less b/less/topic.less index e0a7581..41bb14c 100644 --- a/less/topic.less +++ b/less/topic.less @@ -62,6 +62,19 @@ right: 25px; } + .bookmarked { + position: absolute; + top: 1px; + padding-top: 3px; + border-radius: 4px; + right: 72px; + font-size: 10px; + padding-bottom: 4px; + background: darken(@brand-info, 20%); + opacity: 0; + .transition(0.75s ease-in-out opacity); + } + [component="post/upvote"], [component="post/downvote"] { color: @gray-light; } @@ -237,6 +250,10 @@ border-color: darken(@brand-info, 20%); box-shadow: 0px 0px 1px @brand-info; } + + &.highlight .bookmarked { + opacity: 1; + } } .content { diff --git a/templates/partials/topic/post.tpl b/templates/partials/topic/post.tpl index b049d7c..669d0b2 100644 --- a/templates/partials/topic/post.tpl +++ b/templates/partials/topic/post.tpl @@ -33,6 +33,7 @@ + new