css fixes, incl. timeago style fix on stream_element

This commit is contained in:
danielvincent 2011-01-14 22:12:31 -08:00
parent a00fbb1717
commit e2fdad02f1
3 changed files with 19 additions and 5 deletions

View file

@ -1,4 +1,4 @@
#author_info #author_info.show
= person_image_link(person) = person_image_link(person)
.from .from
%h4 %h4

View file

@ -31,7 +31,7 @@
= render 'status_messages/status_message', :post => post, :photos => photos = render 'status_messages/status_message', :post => post, :photos => photos
.info .info
%span.time= link_to(how_long_ago(post), status_message_path(post)) %span.timeago= link_to(how_long_ago(post), status_message_path(post))
= link_to t('comments.new_comment.comment').downcase, '#', :class => 'focus_comment_textarea' = link_to t('comments.new_comment.comment').downcase, '#', :class => 'focus_comment_textarea'
= render "comments/comments", :post_id => post.id, :comment_hashes => comments, :condensed => true, :commenting_disabled => defined?(@commenting_disabled) = render "comments/comments", :post_id => post.id, :comment_hashes => comments, :condensed => true, :commenting_disabled => defined?(@commenting_disabled)

View file

@ -292,9 +292,18 @@ header
.from .from
:padding 0 :padding 0
h3 h3,
h4
:display inline-block :display inline-block
&.show
a
:margin
:right 1em
h4
:margin 0
:padding 0
.stream_element .stream_element
:position relative :position relative
:word-wrap break-word :word-wrap break-word
@ -374,14 +383,19 @@ header
:color #22AAE0 :color #22AAE0
&:active &:active
:color #005D9C :color #005D9C
.time .time,
.timeago
a a
:color #bbb :color #bbb
:font :font
:weight bold :weight bold
:margin :margin
:right 5px :right 5px
:font-size small :font
:size smaller
:text
:decoration none
:border none
.right .reshare_pane .reshare_button a.inactive .right .reshare_pane .reshare_button a.inactive
:color #ccc :color #ccc