Created
August 29, 2013 16:27
-
-
Save poweruser82/6380342 to your computer and use it in GitHub Desktop.
Invert the show/hide behaviour of [hideMedia](https://github.com/poweruser82/bungloo-plugins) plugin (i.e. default hidden, click to 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
/* !HIDE MEDIA */ | |
.hide_media { | |
width: 12px; | |
height: 12px; | |
float: right; | |
margin-left: 3px; | |
visibility: hidden; | |
font-size: 1.2em; | |
line-height: 1.2em; | |
color: #535353; | |
} | |
li:hover aside .hide_media { | |
visibility: visible; | |
} | |
li:hover aside .hide_media:before { | |
content: "\2617"; | |
} | |
li.has-hidden-media:hover aside .hide_media:before { | |
content: "\2616"; | |
} | |
li p.images { | |
display: none; | |
} | |
li.has-hidden-media p.images { | |
display: block; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment