From 85ab08035ed6e7484ac650d7b1005e0467a356ed Mon Sep 17 00:00:00 2001 From: danielgrippi Date: Sun, 22 Apr 2012 14:21:26 -0700 Subject: [PATCH] added stats on posts [ci skip] --- .../stylesheets/new_styles/_canvas.scss | 19 +++++++++++++++---- app/assets/templates/small-frame.jst.hbs | 4 ++++ 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/new_styles/_canvas.scss b/app/assets/stylesheets/new_styles/_canvas.scss index 97240839e..75d7cbb2b 100644 --- a/app/assets/stylesheets/new_styles/_canvas.scss +++ b/app/assets/stylesheets/new_styles/_canvas.scss @@ -7,12 +7,12 @@ $two-column-width : ($column-width * 2) + ($margin-between-columns * 2); $margin-between-rows : 20; $row-height : $column-width; -$two-row-height : $two-column-width; +$two-row-height : $two-column-width + $margin-between-rows; @mixin tall() { - height : $two-column-width + px; - min-height : $two-column-width + px; - max-height : $two-column-width + px; + height : $two-row-height + px; + min-height : $two-row-height + px; + max-height : $two-row-height + px; } @mixin wide() { @@ -103,6 +103,17 @@ body { right : 10px; } + .info { + @include opacity(0.7); + + padding : 5px; + max-height : 10px; + text-align : right; + i { + margin-left: 3px; + } + } + /* larger declarations */ &.x2.width .content { @include wide(); } &.x2.height .content { @include tall(); } diff --git a/app/assets/templates/small-frame.jst.hbs b/app/assets/templates/small-frame.jst.hbs index 612a2be5d..ce6171aec 100644 --- a/app/assets/templates/small-frame.jst.hbs +++ b/app/assets/templates/small-frame.jst.hbs @@ -27,5 +27,9 @@ {{{text}}} +
+ {{likes_count}} + {{reshares_count}} + {{comments_count}}