Permalink
Browse files

Shares: Add vKontakte share part 2 (css)

  • Loading branch information...
1 parent 4ca7dea commit 7a8efd07784a8bb09abc849e523f738ae8f3024a ruud68 committed Sep 11, 2016
Showing with 11 additions and 11 deletions.
  1. +8 −8 demo/index.html
  2. +1 −1 src/jssocials.shares.js
  3. +2 −2 styles/_shares.scss
View
@@ -83,47 +83,47 @@
$("#shareAdaptive").jsSocials({
url: url,
text: text,
- shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger"]
+ shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger", "vkontakte"]
});
$("#shareIcons").jsSocials({
url: url,
text: text,
showLabel: false,
showCount: false,
- shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger"]
+ shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger", "vkontakte"]
});
$("#shareRoundIcons").jsSocials({
url: url,
text: text,
showLabel: false,
showCount: false,
- shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger"]
+ shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger", "vkontakte"]
});
$("#shareIconsCounterInside").jsSocials({
url: url,
text: text,
showLabel: false,
showCount: "inside",
- shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger"]
+ shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger", "vkontakte"]
});
$("#shareButtonLabel").jsSocials({
url: url,
text: text,
showCount: false,
showLabel: true,
- shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger"]
+ shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger", "vkontakte"]
});
$("#shareButtonLabelCountInside").jsSocials({
url: url,
text: text,
showCount: "inside",
showLabel: true,
- shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger"]
+ shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger", "vkontakte"]
});
$("#shareInPopup").jsSocials({
@@ -139,15 +139,15 @@
text: text,
showCount: true,
showLabel: false,
- shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger"]
+ shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger", "vkontakte"]
});
$("#shareButtonLabelCounter").jsSocials({
url: url,
text: text,
showCount: true,
showLabel: true,
- shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger"],
+ shares: ["email", "twitter", "facebook", "googleplus", "linkedin", "pinterest", "stumbleupon", "whatsapp", "telegram", "viber", "pocket", "messenger", "vkontakte"],
on: {
click: function(e) {
if(this.share === "twitter") {
@@ -26,7 +26,7 @@
return data.share && data.share.share_count || 0;
}
},
-
+
vkontakte: {
label: "Like",
logo: "fa fa-vk",
View
@@ -1,3 +1,3 @@
-$share-names: ('twitter', 'facebook', 'googleplus', 'linkedin', 'pinterest', 'email', 'stumbleupon', 'whatsapp', 'telegram', 'line', 'viber', 'pocket', 'messenger') !default;
-$share-colors: (#00aced, #3b5998, #dd4b39, #007bb6, #cb2027, #3490F3, #eb4823, #29a628, #2ca5e0, #25af00, #7b519d, #ef4056, #0084ff) !default;
+$share-names: ('twitter', 'facebook', 'googleplus', 'linkedin', 'pinterest', 'email', 'stumbleupon', 'whatsapp', 'telegram', 'line', 'viber', 'pocket', 'messenger', 'vkontakte') !default;
+$share-colors: (#00aced, #3b5998, #dd4b39, #007bb6, #cb2027, #3490F3, #eb4823, #29a628, #2ca5e0, #25af00, #7b519d, #ef4056, #0084ff, #45668e) !default;

0 comments on commit 7a8efd0

Please sign in to comment.