From 85abb7139851ca88eb1ac9d242dbdcf5b2b16068 Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Thu, 13 Sep 2012 10:08:19 -0400 Subject: [PATCH] styles for inline comment count --- lms/static/sass/_discussion.scss | 17 ++++++++++++ .../mustache/_inline_thread.mustache | 27 ++++++++++++++++++- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/lms/static/sass/_discussion.scss b/lms/static/sass/_discussion.scss index ea588cedde..090e5eecf2 100644 --- a/lms/static/sass/_discussion.scss +++ b/lms/static/sass/_discussion.scss @@ -1745,6 +1745,22 @@ body.discussion { padding: 12px 20px 0 20px; @include clearfix; + .inline-comment-count { + position: relative; + z-index: 100; + float: right; + display: block; + height: 27px; + margin-top: 6px; + margin-right: 8px; + padding: 0 8px; + border-radius: 5px; + font-size: 12px; + font-weight: 400; + line-height: 25px; + color: #888; + } + header { padding-bottom: 0; margin-bottom: 15px; @@ -1778,6 +1794,7 @@ body.discussion { .post-tools { margin-left: 20px; + margin-top: 5px; a { display: block; diff --git a/lms/templates/discussion/mustache/_inline_thread.mustache b/lms/templates/discussion/mustache/_inline_thread.mustache index eb3511f29a..a874b728ce 100644 --- a/lms/templates/discussion/mustache/_inline_thread.mustache +++ b/lms/templates/discussion/mustache/_inline_thread.mustache @@ -1,7 +1,32 @@
+
+
+
+ + {{votes.up_count}} +

{{title}}

+

+ {{#user}} + {{username}} + {{/user}} + {{^user}} + anonymous + {{/user}} -

+ {{created_at}} + + +

+
+
{{abbreviatedBody}}
+ +