per line comment improved

This commit is contained in:
Dmitriy Zaporozhets 2012-01-21 15:22:42 +02:00
parent f4e3ec29c4
commit f6f72d4b22
4 changed files with 35 additions and 34 deletions

View file

@ -148,16 +148,44 @@ ul.bordered-list li:last-child { border:none }
} }
.per_line_form { .per_line_form {
background: #79C3E0; font-family: "Helvetica", sans-serif;
background: #2FA0BB;
td {
padding:0;
}
form { form {
width: 743px; margin:5px;
width: 756px;
border: 1px solid #CCC; border: 1px solid #CCC;
padding: 20px; padding: 20px;
background: white; background: white;
} }
}
.hide-button {
color:#c33; tr.line_notes_row {
font-family: "Helvetica", sans-serif;
&:hover {
background:none;
}
td {
margin:0px;
padding:0px;
border-bottom:1px solid #DEE2E3;
ul {
display:block;
list-style:none;
margin:0px;
padding:0px;
li {
border-top:1px solid #DEE2E3;
padding:10px;
}
}
} }
} }

View file

@ -566,33 +566,6 @@ a.project-update.titled {
} }
tr.line_notes_row {
&:hover {
background:none;
}
td {
margin:0px;
padding:0px;
border-bottom:1px solid #DEE2E3;
ul {
display:block;
list-style:none;
margin:0px;
padding:0px;
li {
border-top:1px solid #DEE2E3;
padding:10px;
.delete-note {
display:none;
}
}
}
}
}
.new-project-hodler { .new-project-hodler {
padding:20px; padding:20px;

View file

@ -34,4 +34,4 @@
.clear .clear
%br %br
= f.submit 'Add note', :class => "grey-button", :id => "submit_note" = f.submit 'Add note', :class => "positive-button", :id => "submit_note"

View file

@ -21,9 +21,9 @@
.clear .clear
%br %br
= f.submit 'Add note', :class => "grey-button", :id => "submit_note" = f.submit 'Add note', :class => "positive-button", :id => "submit_note"
.right .right
= link_to "remove", "#", :class => "hide-button" = link_to "Close", "#", :class => "grey-button hide-button"
:javascript :javascript
$(function(){ $(function(){