Skip to content

Instantly share code, notes, and snippets.

@mameier
Created March 6, 2013 19:48
Show Gist options
  • Select an option

  • Save mameier/5102433 to your computer and use it in GitHub Desktop.

Select an option

Save mameier/5102433 to your computer and use it in GitHub Desktop.
socialshareprivacy in rails 3.2 asset pipeline
--- socialshareprivacy.css 2011-09-16 17:43:47.000000000 +0200
+++ socialshareprivacy.css.scss 2013-03-06 20:43:03.000000000 +0100
@@ -54,7 +54,7 @@
.social_share_privacy_area li .switch {
display: inline-block;
text-indent: -9999em;
- background: transparent url(images/socialshareprivacy_on_off.png) no-repeat 0 0 scroll;
+ background: transparent image-url("socialshareprivacy/images/socialshareprivacy_on_off.png") no-repeat 0 0 scroll;
width: 23px;
height: 12px;
overflow: hidden;
@@ -109,7 +109,7 @@
display: none;
}
.social_share_privacy_area li .help_info.icon {
- background: #fff url(images/socialshareprivacy_info.png) no-repeat center center scroll;
+ background: #fff image-url("socialshareprivacy/images/socialshareprivacy_info.png") no-repeat center center scroll;
width: 25px;
height: 20px;
position: relative;
@@ -175,7 +175,7 @@
.social_share_privacy_area li.settings_info .settings_info_menu .settings {
text-indent: -9999em;
display: inline-block;
- background: #fff url(images/settings.png) no-repeat center center scroll;
+ background: #fff image-url("socialshareprivacy/images/settings.png") no-repeat center center scroll;
width: 25px;
height: 20px;
border: 2px solid #e7e3e3;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment