Skip to content

Instantly share code, notes, and snippets.

@merbjedi
Created November 21, 2009 01:09
Show Gist options
  • Select an option

  • Save merbjedi/239934 to your computer and use it in GitHub Desktop.

Select an option

Save merbjedi/239934 to your computer and use it in GitHub Desktop.
.toggle_button
display: inline-block
+sprite("newsreader_icons", "check_off")
width: auto
padding-bottom: 4px
margin: 0 5px
&.on
+sprite("newsreader_icons", "check_on")
width: auto
&.news_toggle_button
+sprite("newsreader_icons", "news_off")
&.on
+sprite("newsreader_icons", "news_on")
&.feeds_toggle_button
+sprite("newsreader_icons", "feeds_off")
&.on
+sprite("newsreader_icons", "feeds_on")
&.twitter_toggle_button
+sprite("newsreader_icons", "twitter_off")
&.on
+sprite("newsreader_icons", "twitter_on")
&.facebook_toggle_button
+sprite("newsreader_icons", "facebook_off")
&.on
+sprite("newsreader_icons", "facebook_on")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment