[Pkg-javascript-commits] [backbone] 13/74: Adding a hover-able destroy icon
Jonas Smedegaard
js at moszumanska.debian.org
Sat May 3 16:59:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag 0.3.0
in repository backbone.
commit d6e57b334cec270a668e3e86f9c3fdba0db3dce8
Author: Jeremy Ashkenas <jashkenas at gmail.com>
Date: Mon Oct 25 15:48:34 2010 -0400
Adding a hover-able destroy icon
---
examples/todos/destroy.png | Bin 1222 -> 555 bytes
examples/todos/todos.css | 5 ++++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/examples/todos/destroy.png b/examples/todos/destroy.png
index 53d829c..56d7637 100644
Binary files a/examples/todos/destroy.png and b/examples/todos/destroy.png differ
diff --git a/examples/todos/todos.css b/examples/todos/todos.css
index b59da80..b143b66 100644
--- a/examples/todos/todos.css
+++ b/examples/todos/todos.css
@@ -146,11 +146,14 @@ html {
cursor: pointer;
width: 20px;
height: 20px;
- background: url(destroy.png) no-repeat center center;
+ background: url(destroy.png) no-repeat 0 0;
}
#todo-list li:hover .todo-destroy {
display: block;
}
+ #todo-list .todo-destroy:hover {
+ background-position: 0 -20px;
+ }
#todo-stats {
*zoom: 1;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git
More information about the Pkg-javascript-commits
mailing list