From 314a477e4314cfc415668423d7ba39e06cc05000 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Sun, 3 Jun 2012 21:31:51 +1200 Subject: [PATCH] Updated .posted_at bg color to match .current_user bg. Also properly nested CSS classes. --- app/assets/stylesheets/_activity.sass | 42 +++++++++++++++------------ 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/app/assets/stylesheets/_activity.sass b/app/assets/stylesheets/_activity.sass index 494cfc6a..68219b12 100644 --- a/app/assets/stylesheets/_activity.sass +++ b/app/assets/stylesheets/_activity.sass @@ -35,26 +35,30 @@ font-weight: bold margin-top: 5px -.posted_at - float: right - text-align: right - font-size: 11px - position: absolute - right: 0px - +border-radius(4px) - padding: 4px - background: #F3F8F9 - color: #BDC6CA + .posted_at + float: right + text-align: right + font-size: 11px + position: absolute + right: 0px + +border-radius(4px) + padding: 4px + background: #F3F8F9 + color: #BDC6CA -.avatar - margin-right: 10px - display: block - float: left - width: 5% - width: 30px - height: 30px + + .avatar + margin-right: 10px + display: block + float: left + width: 5% + width: 30px + height: 30px -.current_user - background-color: #F0F0F0 \ No newline at end of file + &.current_user + background-color: #F5F5F5 + .posted_at + background: #E6EAEB + color: #A9B1B6