diff --git a/src/App.vue b/src/App.vue
index 840a1da..ebe1be2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -114,7 +114,6 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -262,6 +462,12 @@ import EvernoteButton from "./components/EvernoteButton";
import VkontakteButton from "./components/VkontakteButton";
import FacebookButton from "./components/FacebookButton";
import LinkedInButton from "./components/LinkedInButton";
+import TumblrButton from "./components/TumblrButton";
+import PinterestButton from "./components/PinterestButton";
+import RedditButton from "./components/RedditButton";
+import PocketButton from "./components/PocketButton";
+import XingButton from "./components/XingButton";
+import OdnoklassnikiButton from "./components/OdnoklassnikiButton";
export default {
name: "app-share-buttons",
@@ -275,7 +481,13 @@ export default {
EvernoteButton,
VkontakteButton,
FacebookButton,
- LinkedInButton
+ LinkedInButton,
+ TumblrButton,
+ PinterestButton,
+ RedditButton,
+ PocketButton,
+ XingButton,
+ OdnoklassnikiButton
}
};
diff --git a/src/components/OdnoklassnikiButton.vue b/src/components/OdnoklassnikiButton.vue
new file mode 100644
index 0000000..22ead15
--- /dev/null
+++ b/src/components/OdnoklassnikiButton.vue
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
diff --git a/src/components/PinterestButton.vue b/src/components/PinterestButton.vue
new file mode 100644
index 0000000..86b9a6a
--- /dev/null
+++ b/src/components/PinterestButton.vue
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
diff --git a/src/components/PocketButton.vue b/src/components/PocketButton.vue
new file mode 100644
index 0000000..2cbecc9
--- /dev/null
+++ b/src/components/PocketButton.vue
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
diff --git a/src/components/RedditButton.vue b/src/components/RedditButton.vue
new file mode 100644
index 0000000..1d9d5a1
--- /dev/null
+++ b/src/components/RedditButton.vue
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
diff --git a/src/components/TumblrButton.vue b/src/components/TumblrButton.vue
new file mode 100644
index 0000000..f9df496
--- /dev/null
+++ b/src/components/TumblrButton.vue
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
diff --git a/src/components/XingButton.vue b/src/components/XingButton.vue
new file mode 100644
index 0000000..5e644c0
--- /dev/null
+++ b/src/components/XingButton.vue
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
diff --git a/src/components/icon/Icon.vue b/src/components/icon/Icon.vue
index f45273d..800dec2 100644
--- a/src/components/icon/Icon.vue
+++ b/src/components/icon/Icon.vue
@@ -3,7 +3,7 @@
xmlns="http://www.w3.org/2000/svg"
:width="width"
:height="height"
- :viewBox="`0 0 24 24`"
+ :viewBox="`0 0 ${viewBoxWidth} ${viewBoxHeight}`"
:aria-labelledby="iconName"
role="presentation"
>
@@ -16,6 +16,8 @@
export default {
props: {
iconName: { type: String },
+ viewBoxWidth: { type: [Number, String], default: 24 },
+ viewBoxHeight: { type: [Number, String], default: 24 },
width: { type: [Number, String], default: 20 },
height: { type: [Number, String], default: 20 }
}
diff --git a/src/style/odnoklassnikiButton.css b/src/style/odnoklassnikiButton.css
new file mode 100644
index 0000000..da85082
--- /dev/null
+++ b/src/style/odnoklassnikiButton.css
@@ -0,0 +1,44 @@
+/* Odnoklassniki */
+.share-button--odnoklassniki {
+ background-color: hsla(24, 91%, 53%, 1);
+}
+
+.share-button--odnoklassniki:focus {
+ box-shadow: 0 0 0 3px hsla(24, 85%, 78%, 0.4);
+}
+
+.share-button--odnoklassniki:hover {
+ background-color: hsla(24, 91%, 53%, 0.9);
+}
+
+.share-button--odnoklassniki .share-button__icon path {
+ fill: #fff;
+}
+
+.share-button--odnoklassniki.share-button--outline {
+ background-color: transparent;
+ border-color: hsla(24, 91%, 53%, 1);
+}
+
+.share-button--odnoklassniki.share-button--outline:hover {
+ background-color: transparent;
+ border-color: hsla(24, 91%, 53%, 0.9);
+}
+
+.share-button--odnoklassniki.share-button--outline .share-button__text {
+ color: hsla(24, 91%, 53%, 1);
+}
+
+.share-button--odnoklassniki.share-button--outline:hover .share-button__text {
+ color: hsla(24, 91%, 53%, 0.9);
+}
+
+.share-button--odnoklassniki.share-button--outline .share-button__icon path {
+ fill: hsla(24, 91%, 53%, 1);
+}
+
+.share-button--odnoklassniki.share-button--outline:hover
+ .share-button__icon
+ path {
+ fill: hsla(24, 91%, 53%, 0.9);
+}
diff --git a/src/style/pinterestButton.css b/src/style/pinterestButton.css
new file mode 100644
index 0000000..86fece9
--- /dev/null
+++ b/src/style/pinterestButton.css
@@ -0,0 +1,42 @@
+/* Pinterest */
+.share-button--pinterest {
+ background-color: hsla(353, 92%, 39%, 1);
+}
+
+.share-button--pinterest:focus {
+ box-shadow: 0 0 0 3px hsla(353, 86%, 64%, 0.4);
+}
+
+.share-button--pinterest:hover {
+ background-color: hsla(353, 92%, 39%, 0.9);
+}
+
+.share-button--pinterest .share-button__icon path {
+ fill: #fff;
+}
+
+.share-button--pinterest.share-button--outline {
+ background-color: transparent;
+ border-color: hsla(353, 92%, 39%, 1);
+}
+
+.share-button--pinterest.share-button--outline:hover {
+ background-color: transparent;
+ border-color: hsla(353, 92%, 39%, 0.9);
+}
+
+.share-button--pinterest.share-button--outline .share-button__text {
+ color: hsla(353, 92%, 39%, 1);
+}
+
+.share-button--pinterest.share-button--outline:hover .share-button__text {
+ color: hsla(353, 92%, 39%, 0.9);
+}
+
+.share-button--pinterest.share-button--outline .share-button__icon path {
+ fill: hsla(353, 92%, 39%, 1);
+}
+
+.share-button--pinterest.share-button--outline:hover .share-button__icon path {
+ fill: hsla(353, 92%, 39%, 0.9);
+}
diff --git a/src/style/pocketButton.css b/src/style/pocketButton.css
new file mode 100644
index 0000000..b880d1c
--- /dev/null
+++ b/src/style/pocketButton.css
@@ -0,0 +1,42 @@
+/* Pocket */
+.share-button--pocket {
+ background-color: hsla(352, 85%, 59%, 1);
+}
+
+.share-button--pocket:focus {
+ box-shadow: 0 0 0 3px hsla(352, 79%, 84%, 0.4);
+}
+
+.share-button--pocket:hover {
+ background-color: hsla(352, 85%, 59%, 0.9);
+}
+
+.share-button--pocket .share-button__icon path {
+ fill: #fff;
+}
+
+.share-button--pocket.share-button--outline {
+ background-color: transparent;
+ border-color: hsla(352, 85%, 59%, 1);
+}
+
+.share-button--pocket.share-button--outline:hover {
+ background-color: transparent;
+ border-color: hsla(352, 85%, 59%, 0.9);
+}
+
+.share-button--pocket.share-button--outline .share-button__text {
+ color: hsla(352, 85%, 59%, 1);
+}
+
+.share-button--pocket.share-button--outline:hover .share-button__text {
+ color: hsla(352, 85%, 59%, 0.9);
+}
+
+.share-button--pocket.share-button--outline .share-button__icon path {
+ fill: hsla(352, 85%, 59%, 1);
+}
+
+.share-button--pocket.share-button--outline:hover .share-button__icon path {
+ fill: hsla(352, 85%, 59%, 0.9);
+}
diff --git a/src/style/redditButton.css b/src/style/redditButton.css
new file mode 100644
index 0000000..6c82d4d
--- /dev/null
+++ b/src/style/redditButton.css
@@ -0,0 +1,42 @@
+/* Reddit */
+.share-button--reddit {
+ background-color: hsla(16, 100%, 50%, 1);
+}
+
+.share-button--reddit:focus {
+ box-shadow: 0 0 0 3px hsla(16, 94%, 75%, 0.4);
+}
+
+.share-button--reddit:hover {
+ background-color: hsla(16, 100%, 50%, 0.9);
+}
+
+.share-button--reddit .share-button__icon path {
+ fill: #fff;
+}
+
+.share-button--reddit.share-button--outline {
+ background-color: transparent;
+ border-color: hsla(16, 100%, 50%, 1);
+}
+
+.share-button--reddit.share-button--outline:hover {
+ background-color: transparent;
+ border-color: hsla(16, 100%, 50%, 0.9);
+}
+
+.share-button--reddit.share-button--outline .share-button__text {
+ color: hsla(16, 100%, 50%, 1);
+}
+
+.share-button--reddit.share-button--outline:hover .share-button__text {
+ color: hsla(16, 100%, 50%, 0.9);
+}
+
+.share-button--reddit.share-button--outline .share-button__icon path {
+ fill: hsla(16, 100%, 50%, 1);
+}
+
+.share-button--reddit.share-button--outline:hover .share-button__icon path {
+ fill: hsla(16, 100%, 50%, 0.9);
+}
diff --git a/src/style/tumblrButton.css b/src/style/tumblrButton.css
new file mode 100644
index 0000000..26307d7
--- /dev/null
+++ b/src/style/tumblrButton.css
@@ -0,0 +1,42 @@
+/* Tumblr */
+.share-button--tumblr {
+ background-color: hsla(215, 27%, 29%, 1);
+}
+
+.share-button--tumblr:focus {
+ box-shadow: 0 0 0 3px hsla(215, 21%, 54%, 0.4);
+}
+
+.share-button--tumblr:hover {
+ background-color: hsla(215, 27%, 29%, 0.9);
+}
+
+.share-button--tumblr .share-button__icon path {
+ fill: #fff;
+}
+
+.share-button--tumblr.share-button--outline {
+ background-color: transparent;
+ border-color: hsla(215, 27%, 29%, 1);
+}
+
+.share-button--tumblr.share-button--outline:hover {
+ background-color: transparent;
+ border-color: hsla(215, 27%, 29%, 0.9);
+}
+
+.share-button--tumblr.share-button--outline .share-button__text {
+ color: hsla(215, 27%, 29%, 1);
+}
+
+.share-button--tumblr.share-button--outline:hover .share-button__text {
+ color: hsla(215, 27%, 29%, 0.9);
+}
+
+.share-button--tumblr.share-button--outline .share-button__icon path {
+ fill: hsla(215, 27%, 29%, 1);
+}
+
+.share-button--tumblr.share-button--outline:hover .share-button__icon path {
+ fill: hsla(215, 27%, 29%, 0.9);
+}
diff --git a/src/style/xingButton.css b/src/style/xingButton.css
new file mode 100644
index 0000000..ecd1b56
--- /dev/null
+++ b/src/style/xingButton.css
@@ -0,0 +1,42 @@
+/* Xing */
+.share-button--xing {
+ background-color: hsla(181, 100%, 20%, 1);
+}
+
+.share-button--xing:focus {
+ box-shadow: 0 0 0 3px hsla(181, 94%, 45%, 0.4);
+}
+
+.share-button--xing:hover {
+ background-color: hsla(181, 100%, 20%, 0.9);
+}
+
+.share-button--xing .share-button__icon path {
+ fill: #fff;
+}
+
+.share-button--xing.share-button--outline {
+ background-color: transparent;
+ border-color: hsla(181, 100%, 20%, 1);
+}
+
+.share-button--xing.share-button--outline:hover {
+ background-color: transparent;
+ border-color: hsla(181, 100%, 20%, 0.9);
+}
+
+.share-button--xing.share-button--outline .share-button__text {
+ color: hsla(181, 100%, 20%, 1);
+}
+
+.share-button--xing.share-button--outline:hover .share-button__text {
+ color: hsla(181, 100%, 20%, 0.9);
+}
+
+.share-button--xing.share-button--outline .share-button__icon path {
+ fill: hsla(181, 100%, 20%, 1);
+}
+
+.share-button--xing.share-button--outline:hover .share-button__icon path {
+ fill: hsla(181, 100%, 20%, 0.9);
+}