social_share_privacy 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module SocialSharePrivacy
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -138,16 +138,6 @@
138
138
  return;
139
139
  }
140
140
 
141
- // insert stylesheet into document and prepend target element
142
- if (options.css_path.length > 0) {
143
- // IE fix (noetig fuer IE < 9 - wird hier aber fuer alle IE gemacht)
144
- if (document.createStyleSheet) {
145
- document.createStyleSheet(options.css_path);
146
- } else {
147
- $('head').append('<link rel="stylesheet" type="text/css" href="' + options.css_path + '" />');
148
- }
149
- }
150
-
151
141
  return this.each(function () {
152
142
 
153
143
  $(this).prepend('<ul class="social_share_privacy_area"></ul>');
@@ -54,7 +54,7 @@
54
54
  .social_share_privacy_area li .switch {
55
55
  display: inline-block;
56
56
  text-indent: -9999em;
57
- background: transparent url(images/socialshareprivacy_on_off.png) no-repeat 0 0 scroll;
57
+ background: transparent url(social_share_privacy/socialshareprivacy_on_off.png) no-repeat 0 0 scroll;
58
58
  width: 23px;
59
59
  height: 12px;
60
60
  overflow: hidden;
@@ -109,7 +109,7 @@
109
109
  display: none;
110
110
  }
111
111
  .social_share_privacy_area li .help_info.icon {
112
- background: #fff url(images/socialshareprivacy_info.png) no-repeat center center scroll;
112
+ background: #fff url(social_share_privacy/socialshareprivacy_info.png) no-repeat center center scroll;
113
113
  width: 25px;
114
114
  height: 20px;
115
115
  position: relative;
@@ -175,7 +175,7 @@
175
175
  .social_share_privacy_area li.settings_info .settings_info_menu .settings {
176
176
  text-indent: -9999em;
177
177
  display: inline-block;
178
- background: #fff url(images/settings.png) no-repeat center center scroll;
178
+ background: #fff url(social_share_privacy/settings.png) no-repeat center center scroll;
179
179
  width: 25px;
180
180
  height: 20px;
181
181
  border: 2px solid #e7e3e3;
@@ -223,4 +223,4 @@
223
223
  .social_share_privacy_area li.settings_info .settings_info_menu form fieldset label.checked {
224
224
  color: #090;
225
225
  }
226
- /* Settings/Info end */
226
+ /* Settings/Info end */
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: social_share_privacy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -55,15 +55,15 @@ files:
55
55
  - lib/tasks/social_share_privacy_tasks.rake
56
56
  - lib/social_share_privacy.rb
57
57
  - lib/social_share_privacy/version.rb
58
- - vendor/assets/images/dummy_facebook_en.png
59
- - vendor/assets/images/settings.png
60
- - vendor/assets/images/dummy_twitter.png
61
- - vendor/assets/images/socialshareprivacy_on_off.png
62
- - vendor/assets/images/socialshareprivacy_info.png
63
- - vendor/assets/images/dummy_gplus.png
64
- - vendor/assets/images/dummy_gplus_alt.png
65
- - vendor/assets/images/dummy_facebook.png
66
- - vendor/assets/stylesheets/socialshareprivacy.css
58
+ - vendor/assets/images/social_share_privacy/dummy_facebook_en.png
59
+ - vendor/assets/images/social_share_privacy/settings.png
60
+ - vendor/assets/images/social_share_privacy/dummy_twitter.png
61
+ - vendor/assets/images/social_share_privacy/socialshareprivacy_on_off.png
62
+ - vendor/assets/images/social_share_privacy/socialshareprivacy_info.png
63
+ - vendor/assets/images/social_share_privacy/dummy_gplus.png
64
+ - vendor/assets/images/social_share_privacy/dummy_gplus_alt.png
65
+ - vendor/assets/images/social_share_privacy/dummy_facebook.png
66
+ - vendor/assets/stylesheets/socialshareprivacy.css.erb
67
67
  - vendor/assets/javascripts/jquery.socialshareprivacy.js.erb
68
68
  - MIT-LICENSE
69
69
  - Rakefile