mtweaking comments in stream
This commit is contained in:
parent
95765139d6
commit
266a896bde
4 changed files with 20 additions and 13 deletions
|
|
@ -58,6 +58,10 @@
|
||||||
#group_header
|
#group_header
|
||||||
.container
|
.container
|
||||||
.span-5.last
|
.span-5.last
|
||||||
|
- if @person
|
||||||
|
%h1
|
||||||
|
= @person.real_name
|
||||||
|
- else
|
||||||
- if @group == :all
|
- if @group == :all
|
||||||
%h1
|
%h1
|
||||||
= link_to "All Relations", root_path
|
= link_to "All Relations", root_path
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue