diff --git a/less/topic.less b/less/topic.less index 642dddf..cc58569 100644 --- a/less/topic.less +++ b/less/topic.less @@ -142,13 +142,63 @@ font-size: 10px; } - [component="post/reply-count"] { + .threaded-replies { margin-left: 61px; + text-decoration: none; + margin-left: 60px; + font-size: 11px; + + + img, .user-icon { + .user-icon-style(15px, 10px, 50%); + vertical-align: 1px; + } + + img { + vertical-align: -3px; + } + + .replies-count { + margin-left: 3px; + } + + .replies-last { + color: @gray-light; + } + + .fa { + font-size: 80%; + } + + .avatars { + position: relative; + + &.hasMore > *:last-child:after { + content: "\2022\2022\2022"; + width: 16px; + height: 16px; + line-height: 16px; + background: #000; + opacity: .5; + position: absolute; + right: 2px; + border-radius: 50%; + bottom: -1px; + text-align: center; + font-size: 12px; + } + } } [component="post/replies"] { margin-left: 61px; margin-top: 20px; + border-left: 4px solid #eee; + padding-left: 20px; + + [component="post"]:last-child > hr { + display: none; + } } .stats { @@ -247,6 +297,8 @@ display: inline-block; font-style: italic; margin-left: 61px; + max-width: 100%; + word-wrap: break-word; } @media (max-width: @screen-sm-max) { @@ -272,6 +324,10 @@ [component="post/reply-count"] { margin-left: 0; } + + [component="post/replies"] { + margin-left: 15px; + } } .quick-reply { diff --git a/templates/partials/topic/post.tpl b/templates/partials/topic/post.tpl index ad45003..545a51b 100644 --- a/templates/partials/topic/post.tpl +++ b/templates/partials/topic/post.tpl @@ -84,11 +84,23 @@ - + + + + + + +
{posts.replies.users.icon:text}
+ + +
+ + [[topic:replies_to_this_post, {posts.replies.count}]] + + - [[topic:replies_to_this_post, {posts.replies}]]