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
.container
.span-5.last
- if @group == :all
- if @person
%h1
= link_to "All Relations", root_path
= @person.real_name
- else
%h1
= link_to @group.name, @group
- if @group == :all
%h1
= link_to "All Relations", root_path
- else
%h1
= link_to @group.name, @group
.page_title
= yield :page_title

View file

@ -46,6 +46,6 @@ $(".comment_box").live('blur', 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;
border-bottom: 1px solid #cccccc; }
ul.comment_set li.comment .from {
font-weight: normal; }
ul.comment_set li.comment .from a {
font-weight: bold; }
font-size: 1em; }
ul.comment_set li.comment div.time {
color: #666666;
font-size: 70%; }
ul.comment_set li.comment form {
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 {
height: 150px;

View file

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