Created
June 27, 2015 21:44
-
-
Save lmorillas/dcfe37914c2f4253f58b to your computer and use it in GitHub Desktop.
Move the exhibit legend
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
$(document).bind("dataload.exhibit", function() { | |
$('div#leyenda').append($('div.exhibit-legendWidget')); | |
$('div#leyenda').show(); | |
}); | |
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
<div id="leyenda"> | |
... | |
</div> | |
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
span.exhibit-legendWidget-entry { | |
display: block; | |
text-align: left; | |
} | |
div.exhibit-legendWidget { | |
text-align: left; | |
} | |
div#leyenda { | |
border-radius( 30px); | |
border: solid #ddd 2px; | |
padding: 5px; | |
display: none; | |
margin-top: 10px; | |
} | |
span.exhibit-legendWidget-entry-title { | |
font-weight: normal; | |
font-size: 80%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment