Skip to content

Commit

Permalink
Modified like green color background.
Browse files Browse the repository at this point in the history
  • Loading branch information
diegonetto committed May 1, 2012
1 parent 07940f7 commit 6f15897
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/assets/javascripts/search.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $ bind = ()->
parent = $(this).parent()
if parent.hasClass('checked-result')
parent.removeClass('checked-result')
parent.css({'background-color':'#90FD54'}).animate({'background-color':offWhite}, 1000);
parent.css({'background-color':'#00F107'}).animate({'background-color':offWhite}, 1000);
parent.find('.check-image').show()
else
parent.hide('drop', 1000)
Expand All @@ -55,7 +55,8 @@ $ bind = ()->
# Perform a highlight-fade animation when the check mark is clicked
$('.search .results .result-div .check-image').click ->
parent = $(this).parent()
parent.css({'background-color':'#90FD54'}).animate({'background-color':'#DDFFDE'}, 1000)
# parent.css({'background-color':'#90FD54'}).animate({'background-color':'#8FFF92'}, 1000)
parent.css({'background-color':'#00F107'}).animate({'background-color':'#8FFF92'}, 1000)
parent.addClass(checkedClass)
$(this).hide()

Expand Down

0 comments on commit 6f15897

Please sign in to comment.