From a0a0b9d0ad78e9bd5b8ee5a30a17cf46f922260f Mon Sep 17 00:00:00 2001 From: maxwell Date: Tue, 29 Jun 2010 15:05:09 -0700 Subject: [PATCH] fixed stream bull --- app/views/friends/_sidebar.html.haml | 2 +- public/stylesheets/application.css | 11 +++++++++++ public/stylesheets/sass/application.sass | 15 +++++++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/app/views/friends/_sidebar.html.haml b/app/views/friends/_sidebar.html.haml index 7c122c757..4e35b21b2 100644 --- a/app/views/friends/_sidebar.html.haml +++ b/app/views/friends/_sidebar.html.haml @@ -1,5 +1,5 @@ %h3 your friends -%ul#stream +%ul#friend_stream - for friend in @friends = link_to friend.real_name, friend_path(friend) %br diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 9bbc0df0c..770982fe7 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -121,6 +121,17 @@ ul#stream { border-bottom: 1px solid #f1f1f1; margin-bottom: 5px; } +ul#friend_stream { + margin: 0; + padding: 0; + color: #666666; + font-size: 110%; } + ul#friend_stream > li { + list-style: none; + padding: 1em 0; + border-bottom: 1px solid #f1f1f1; + margin-bottom: 5px; } + li.message { position: relative; line-height: 140%; diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 33ee9b177..3fd2b4660 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -135,6 +135,21 @@ ul#stream :bottom 1px solid #f1f1f1 :margin-bottom 5px +ul#friend_stream + :margin 0 + :padding 0 + :color #666 + :font + :size 110% + + > li + :list-style none + :padding 1em 0 + :border + :bottom 1px solid #f1f1f1 + :margin-bottom 5px + + li.message :position relative :line-height 140%