mtweaking comments in stream

This commit is contained in:
Daniel Vincent Grippi 2010-09-10 23:55:33 -07:00
parent 95765139d6
commit 266a896bde
4 changed files with 20 additions and 13 deletions

View file

@ -58,12 +58,16 @@
#group_header #group_header
.container .container
.span-5.last .span-5.last
- if @group == :all - if @person
%h1 %h1
= link_to "All Relations", root_path = @person.real_name
- else - else
%h1 - if @group == :all
= link_to @group.name, @group %h1
= link_to "All Relations", root_path
- else
%h1
= link_to @group.name, @group
.page_title .page_title
= yield :page_title = yield :page_title

View file

@ -46,6 +46,6 @@ $(".comment_box").live('blur', function(evt){
}); });
$(".comment_submit").live('click', function(evt){ $(".comment_submit").live('click', function(evt){
$this.parents("p").parents("form").children("p").children(".comment_box").attr("rows", 1); $(this).closest("form").children("p .comment_box").attr("rows", 1);
}); });

View file

@ -238,15 +238,16 @@ ul.comment_set {
padding: 0.6em; padding: 0.6em;
border-bottom: 1px solid #cccccc; } border-bottom: 1px solid #cccccc; }
ul.comment_set li.comment .from { ul.comment_set li.comment .from {
font-weight: normal; } font-size: 1em; }
ul.comment_set li.comment .from a {
font-weight: bold; }
ul.comment_set li.comment div.time { ul.comment_set li.comment div.time {
color: #666666; color: #666666;
font-size: 70%; } font-size: 70%; }
ul.comment_set li.comment form { ul.comment_set li.comment form {
margin-top: -5px; margin-top: -5px;
margin-bottom: 0; } margin-bottom: 0;
font-size: 1em; }
ul.comment_set li.comment form textarea {
font-size: 1em; }
.profile_photo img { .profile_photo img {
height: 150px; height: 150px;

View file

@ -300,10 +300,7 @@ ul.comment_set
.from .from
:font :font
:weight normal :size 1em
a
:font
:weight bold
div.time div.time
:color #666 :color #666
@ -313,6 +310,11 @@ ul.comment_set
:margin :margin
:top -5px :top -5px
:bottom 0 :bottom 0
:font
:size 1em
textarea
:font
:size 1em
.profile_photo .profile_photo
img img