View this code at http://livecoding.io/6115060
Created
July 30, 2013 17:36
-
-
Save pgiraud/6115060 to your computer and use it in GitHub Desktop.
created by http://livecoding.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"libraries": [], | |
"mode": "html", | |
"layout": "fullscreen mode (vertical)", | |
"resolution": "reset" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* css goes here */ | |
body { | |
font-size: 12px; | |
} | |
#tags li { | |
display: inline-block; | |
border: 1px solid #dfdfdf; | |
-webkit-border-radius: 4px; | |
-moz-border-radius: 4px; | |
border-radius: 4px; | |
padding: 0 2px; | |
line-height: 24px; | |
} | |
#tags li a { | |
display: inline-block; | |
width: 18px; | |
height: 18px; | |
position: relative; | |
top: 4px; | |
} | |
#tags li.new { | |
border-color: lightgreen; | |
} | |
#tags li.new a { | |
background: url(http://l.yimg.com/g/images/flickr-sprite.png.v5) no-repeat -1810px -10px; | |
} | |
#tags li.old a { | |
visibility: hidden; | |
background: url(http://l.yimg.com/g/images/flickr-sprite.png.v5) no-repeat -1410px -10px; | |
} | |
#tags li.old:hover a { | |
visibility: visible; | |
} | |
#tags li.old:hover a:hover { | |
background-position: -1450px -50px; | |
} | |
#tags li.done a { | |
background: url(http://l.yimg.com/g/images/flickr-sprite.png.v5) no-repeat -1530px -90px; | |
} | |
#tags li.loading a { | |
visibility: visible; | |
width: 28px; | |
top: 6px; | |
z-index: -1; | |
background: url(http://www.flickr.com/images/pulser2.gif) no-repeat; | |
} | |
#tags li a span { | |
position: absolute; | |
left: -999px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- html goes here --> | |
<ul id="tags"> | |
<li class="new">osm:way=124345<a href><span>[x]</span></a></li> | |
<li class="new done">osm:way=124345<a href><span>[x]</span></a></li> | |
<li class="old">osm:way=7869<a href><span>[x]</span></a></li> | |
<li class="old loading">osm:way=7865339<a href><span>[x]</span></a></li> | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* javascript goes here */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment