Commit f6f72d4b22ceeddaaf06666e132e06b2bc6b3c22
1 parent
f4e3ec29
Exists in
master
and in
4 other branches
per line comment improved
Showing
4 changed files
with
35 additions
and
34 deletions
Show diff stats
app/assets/stylesheets/commits.css.scss
... | ... | @@ -148,16 +148,44 @@ ul.bordered-list li:last-child { border:none } |
148 | 148 | } |
149 | 149 | |
150 | 150 | .per_line_form { |
151 | - background: #79C3E0; | |
151 | + font-family: "Helvetica", sans-serif; | |
152 | + background: #2FA0BB; | |
153 | + | |
154 | + td { | |
155 | + padding:0; | |
156 | + } | |
152 | 157 | |
153 | 158 | form { |
154 | - width: 743px; | |
159 | + margin:5px; | |
160 | + width: 756px; | |
155 | 161 | border: 1px solid #CCC; |
156 | 162 | padding: 20px; |
157 | 163 | background: white; |
158 | 164 | } |
165 | +} | |
166 | + | |
167 | + | |
168 | +tr.line_notes_row { | |
169 | + font-family: "Helvetica", sans-serif; | |
170 | + &:hover { | |
171 | + background:none; | |
172 | + } | |
173 | + td { | |
174 | + margin:0px; | |
175 | + padding:0px; | |
176 | + border-bottom:1px solid #DEE2E3; | |
177 | + | |
159 | 178 | |
160 | - .hide-button { | |
161 | - color:#c33; | |
179 | + ul { | |
180 | + display:block; | |
181 | + list-style:none; | |
182 | + margin:0px; | |
183 | + padding:0px; | |
184 | + | |
185 | + li { | |
186 | + border-top:1px solid #DEE2E3; | |
187 | + padding:10px; | |
188 | + } | |
189 | + } | |
162 | 190 | } |
163 | 191 | } | ... | ... |
app/assets/stylesheets/projects.css.scss
... | ... | @@ -566,33 +566,6 @@ a.project-update.titled { |
566 | 566 | } |
567 | 567 | |
568 | 568 | |
569 | -tr.line_notes_row { | |
570 | - &:hover { | |
571 | - background:none; | |
572 | - } | |
573 | - td { | |
574 | - margin:0px; | |
575 | - padding:0px; | |
576 | - border-bottom:1px solid #DEE2E3; | |
577 | - | |
578 | - | |
579 | - ul { | |
580 | - display:block; | |
581 | - list-style:none; | |
582 | - margin:0px; | |
583 | - padding:0px; | |
584 | - | |
585 | - li { | |
586 | - border-top:1px solid #DEE2E3; | |
587 | - padding:10px; | |
588 | - | |
589 | - .delete-note { | |
590 | - display:none; | |
591 | - } | |
592 | - } | |
593 | - } | |
594 | - } | |
595 | -} | |
596 | 569 | |
597 | 570 | .new-project-hodler { |
598 | 571 | padding:20px; | ... | ... |
app/views/notes/_form.html.haml
app/views/notes/_per_line_form.html.haml
... | ... | @@ -21,9 +21,9 @@ |
21 | 21 | |
22 | 22 | .clear |
23 | 23 | %br |
24 | - = f.submit 'Add note', :class => "grey-button", :id => "submit_note" | |
24 | + = f.submit 'Add note', :class => "positive-button", :id => "submit_note" | |
25 | 25 | .right |
26 | - = link_to "remove", "#", :class => "hide-button" | |
26 | + = link_to "Close", "#", :class => "grey-button hide-button" | |
27 | 27 | |
28 | 28 | :javascript |
29 | 29 | $(function(){ | ... | ... |