Skip to content

Commit

Permalink
updated styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey Purcell committed Aug 17, 2010
1 parent abe3a1d commit 62cbc08
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions app/stylesheets/screen.sass
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
@import "standard"

.task
form.button_to
form.mark_complete
display: inline
*
display: inline


ul#complete li.task
text-decoration: line-through
4 changes: 2 additions & 2 deletions app/views/tasks/complete.js.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$("#incomplete").html("<%= escape_javascript(render(@list.tasks.incomplete)) %>");
$("#complete").html("<%= escape_javascript(render(@list.tasks.completed)) %>");
$("ul#incomplete").html("<%= escape_javascript(render(@list.tasks.incomplete)) %>");
$("ul#complete").html("<%= escape_javascript(render(@list.tasks.completed)) %>");
$("#task_<%="#{@task.id}"%>").effect("highlight");

1 change: 1 addition & 0 deletions public/javascripts/application.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

4 changes: 1 addition & 3 deletions public/stylesheets/compiled/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,8 @@ section.content-sub {
color: #4f8a10;
background-color: #dff2bf; }

.task form.button_to {
.task form.mark_complete {
display: inline; }
.task form.button_to * {
display: inline; }

ul#complete li.task {
text-decoration: line-through; }

0 comments on commit 62cbc08

Please sign in to comment.