Simple Social Media Share Buttons – Social Sharing for Everyone - Version 2.0.5

Version Description

  • Relaunched with a whole set of NEW FEATURES and Improvement. Please upgrade immediately and provide your feedback. highly recommended. Aplogies in advance, if anything breaks!

=

Download this release

Release Info

Developer hiddenpearls
Plugin Icon 128x128 Simple Social Media Share Buttons – Social Sharing for Everyone
Version 2.0.5
Comparing to
See all releases

Code changes from version 2.0.4 to 2.0.5

assets/css/admin.css CHANGED
@@ -1,24 +1,27 @@
1
  @font-face {
2
  font-family: 'ssb-icon';
3
- src: url('../fonts/ssb-icon.eot?eahqa2');
4
- src: url('../fonts/ssb-icon.eot?eahqa2#iefix') format('embedded-opentype'),
5
- url('../fonts/ssb-icon.ttf?eahqa2') format('truetype'),
6
- url('../fonts/ssb-icon.woff?eahqa2') format('woff'),
7
- url('../fonts/ssb-icon.svg?eahqa2#ssb-icon') format('svg');
8
  font-weight: normal;
9
  font-style: normal;
10
  }
 
11
  .ssb_settings_box .ui-sortable li {
12
  line-height: 16px;
13
  list-style-type: square;
14
  margin-left: 15px;
15
  }
16
- .ssb_right_sidebar{
 
17
  width: 255px;
18
  float: right;
19
  min-width: inherit;
20
  box-sizing: border-box;
21
  }
 
22
  .ssb_right_sidebar #poststuff {
23
  width: 255px;
24
  float: right;
@@ -27,89 +30,108 @@
27
  max-width: 100%;
28
  min-width: 100%;
29
  }
30
- .ssb_right_sidebar .ssb_social_links_wrapper{
 
31
  padding: 10px;
32
  min-width: 100%;
33
  box-sizing: border-box;
34
  }
35
- .ssb_right_sidebar .ssb_social_links li a {
 
36
  width: 100%;
37
  display: block;
38
  position: relative;
39
  }
40
- .ssb_right_sidebar .ssb_social_links .dashicons {
 
41
  position: absolute;
42
  right: 10px;
43
  margin-top: 3px;
44
  }
45
- .ssb_social_links_wrapper .postbox{
 
46
  min-width: 100%;
47
- border:0;
48
  }
49
- .ssb_right_sidebar .ssb_social_links li .twitter .dashicons {
 
50
  color: #45b0e3;
51
  }
52
- .ssb_right_sidebar .ssb_social_links li .facebook .dashicons {
 
53
  color: #3b5998;
54
  }
55
- .ssb_right_sidebar .ssb_social_links li .wordpress .dashicons {
 
56
  color: #21759b;
57
  }
 
58
  .ssb_right_sidebar .plugins_lists li {
59
  padding-bottom: 12px;
60
  line-height: 1.4;
61
  }
62
- .ssb_right_sidebar #poststuff .stuffbox>h3,.ssb_right_sidebar #poststuff h2,.ssb_right_sidebar #poststuff h3.hndle{
 
63
  border-bottom: 1px solid #ccc;
64
  font-size: 1.3em;
65
  padding: 10px;
66
  }
 
67
  .ssb_settings_container {
68
  float: left;
69
  width: calc(100% - 275px);
70
  max-width: 100%;
71
  }
72
- .ssb_settings_container .postbox .inside,.ssb_settings_container .stuffbox .inside{
 
73
  padding: 12px;
74
  box-sizing: border-box;
75
  }
 
76
  #ssb_subscribe_btn {
77
  display: block;
78
  margin: 20px auto 0;
79
  }
80
- .ssb_settings_container .postbox .inside h3{
 
81
  margin: -12px -12px 10px;
82
  padding: 12px 12px 15px;
83
  border-bottom: 1px solid #ccc;
84
  }
85
- .ssb_settings_container #poststuff{
 
86
  min-width: 100%;
87
  }
88
- .ssb_settings_container #poststuff h2{
 
89
  border-bottom: 1px solid #ccc;
90
  font-size: 1.3em;
91
  }
92
- .ssb_settings_container #poststuff .ssb_settings_box{
93
- border:1px solid #ccc;
 
94
  overflow: hidden;
95
  display: table;
96
  background: #f6f6f6;
97
  }
98
- .ssb_settings_container #poststuff .ssb_settings_box + .ssb_settings_box{
 
99
  border-top: 0;
100
  }
101
- .ssb_settings_container #poststuff .ssb_settings_box h2{
 
102
  width: 180px;
103
  float: left;
104
  text-align: center;
105
  background: #f6f6f6;
106
- border:0;
107
  display: table-cell;
108
  padding: 10px;
109
  }
110
- .ssb_settings_container #poststuff .ssb_settings_box ul{
 
111
  overflow: hidden;
112
- margin:0;
113
  padding: 10px 0;
114
  list-style: none;
115
  font-size: 0;
@@ -119,54 +141,66 @@
119
  width: 100%;
120
  background: #fff;
121
  }
122
- .ssb_settings_container #poststuff .ssb_settings_box ul li{
 
123
  display: inline-block;
124
  margin-bottom: 0;
125
  list-style: none;
126
  font-size: 16px;
127
  }
128
- .ssb_settings_container #poststuff .ssb_settings_box ul li:hover{
 
129
  cursor: pointer;
130
  }
131
- .ssb_settings_container #submit{
 
132
  height: 38px;
133
  font-size: 14px;
134
  }
135
- .ssb-top-bar{
 
136
  background: #f3fbff;
137
  overflow: hidden;
138
  padding: 12px 20px;
139
 
140
  }
141
- .ssb-top-bar img {
 
142
  float: left;
143
  margin-right: 20px;
144
  width: 100px;
145
  }
146
- .ssb-top-bar-content{
 
147
  overflow: hidden;
148
  }
149
- .ssb-top-bar-content h2{
 
150
  margin: 10px 0;
151
  }
152
- div.inside div.simplesocialbuttons-style{
 
153
  padding: 5px 0 5px 70px;
154
  list-style: none;
155
  position: relative;
156
- border:1px solid #ddd;
157
  }
158
- div.inside div.simplesocialbuttons-style.social-active{
 
159
  border-color: #0085ba;
160
  }
161
- div.inside div.simplesocialbuttons-style:after{
 
162
  content: '';
163
  display: table;
164
  clear: both;
165
  }
166
- div.inside div.simplesocialbuttons-style + div.simplesocialbuttons-style{
 
167
  margin-top: 10px;
168
  }
169
- .simplesocialbuttons-style label{
 
170
  width: 60px;
171
  height: 100%;
172
  position: absolute;
@@ -174,27 +208,316 @@ div.inside div.simplesocialbuttons-style + div.simplesocialbuttons-style{
174
  line-height: 60px;
175
  top: 0;
176
  left: 0;
177
- border-right:1px solid #ddd;
178
  }
179
- div.inside div.simplesocialbuttons-nav li{
 
180
  list-style: none;
181
  margin: 5px 4px;
182
  display: inline-block;
183
  }
184
- div.inside div.simplesocialbuttons-nav li a{
 
185
  text-transform: capitalize;
186
  }
187
- .simplesocialbuttons-nav ul{
 
188
  list-style: none;
189
  margin: 0;
190
  }
191
- .simplesocialbuttons-nav.sm-round li a{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  border-style: solid;
193
  border-width: 1px;
194
  border-color: rgb(222, 222, 222);
195
- background-image: -moz-linear-gradient( -90deg, rgb(255,255,255) 0%, rgb(221,221,221) 100%);
196
- background-image: -webkit-linear-gradient( -90deg, rgb(255,255,255) 0%, rgb(221,221,221) 100%);
197
- background-image: -ms-linear-gradient( -90deg, rgb(255,255,255) 0%, rgb(221,221,221) 100%);
198
  border-radius: 4px;
199
  height: 38px;
200
  line-height: 26px;
@@ -204,33 +527,41 @@ div.inside div.simplesocialbuttons-nav li a{
204
  font-size: 14px;
205
  padding-left: 38px;
206
  position: relative;
207
- -webkit-transition:all 0.2s ease-in-out;
208
- transition:all 0.2s ease-in-out;
209
  }
210
- .simplesocialbuttons-nav.sm-round li a:hover{
211
- background-image: -moz-linear-gradient( 90deg, rgb(255,255,255) 0%, rgb(221,221,221) 100%);
212
- background-image: -webkit-linear-gradient( 90deg, rgb(255,255,255) 0%, rgb(221,221,221) 100%);
213
- background-image: -ms-linear-gradient( 90deg, rgb(255,255,255) 0%, rgb(221,221,221) 100%);
 
214
  }
215
- .simplesocialbuttons-nav.sm-round li a.simplesocial-fb-share{
 
216
  color: #43609c;
217
  }
218
- .simplesocialbuttons-nav li a.simplesocial-fb-share:after{
 
219
  content: "\e900";
220
  }
221
- .simplesocialbuttons-nav li a.simplesocial-twt-share:after{
 
222
  content: "\e904";
223
  }
224
- .simplesocialbuttons-nav li a.simplesocial-gplus-share:after{
 
225
  content: "\e901";
226
  }
227
- .simplesocialbuttons-nav.sm-round li a.simplesocial-twt-share{
 
228
  color: #1da1f2;
229
  }
230
- .simplesocialbuttons-nav.sm-round li a.simplesocial-gplus-share{
 
231
  color: #db4437;
232
  }
233
- .simplesocialbuttons-nav.simple-round li a{
 
234
  height: 38px;
235
  line-height: 26px;
236
  padding: 4px 15px 4px 48px;
@@ -241,34 +572,43 @@ div.inside div.simplesocialbuttons-nav li a{
241
  color: #fff;
242
  border-radius: 3px;
243
  }
244
- .simplesocialbuttons-nav.simple-round li a span{
 
245
  position: relative;
246
  z-index: 1;
247
  }
248
- .simplesocialbuttons-nav.simple-round li a.simplesocial-fb-share{
 
249
  background: #43609c;
250
  }
251
- .simplesocialbuttons-nav.simple-round li a.simplesocial-twt-share{
 
252
  background: #1da1f2;
253
  }
254
- .simplesocialbuttons-nav.simple-round li a.simplesocial-gplus-share{
 
255
  background: #db4437;
256
  }
 
257
  .simplesocialbuttons-nav.simple-round li a.simplesocial-fb-share:after,
258
- .simplesocialbuttons-nav.simple-round li a.simplesocial-fb-share:before{
259
  background: #354e83;
260
  }
 
261
  .simplesocialbuttons-nav.simple-round li a.simplesocial-twt-share:after,
262
- .simplesocialbuttons-nav.simple-round li a.simplesocial-twt-share:before{
263
  background: #1889cf;
264
  }
 
265
  .simplesocialbuttons-nav.simple-round li a.simplesocial-gplus-share:after,
266
- .simplesocialbuttons-nav.simple-round li a.simplesocial-gplus-share:before{
267
  background: #bb372b;
268
  }
269
- .simplesocialbuttons-nav.simple-round li a:hover:before{
 
270
  width: 100%;
271
  }
 
272
  .simplesocialbuttons-nav.simple-round li a:before {
273
  content: '';
274
  left: 0;
@@ -280,10 +620,11 @@ div.inside div.simplesocialbuttons-nav li a{
280
  text-align: center;
281
  line-height: 38px;
282
  border-radius: 3px;
283
- -webkit-transition:all 0.2s ease-in-out;
284
- transition:all 0.2s ease-in-out;
285
  }
286
- .simplesocialbuttons-nav.round-txt li a{
 
287
  border-style: solid;
288
  border-width: 1px;
289
  border-color: transparent;
@@ -297,34 +638,41 @@ div.inside div.simplesocialbuttons-nav li a{
297
  padding-left: 38px;
298
  position: relative;
299
  background: #fff;
300
- -webkit-transition:all 0.2s ease-in-out;
301
- transition:all 0.2s ease-in-out;
302
  position: relative;
303
  }
304
- .simplesocialbuttons-nav.round-txt li a.simplesocial-fb-share{
 
305
  color: #43609c;
306
  border-color: #43609c;
307
  }
308
- .simplesocialbuttons-nav.round-txt li a.simplesocial-fb-share:hover{
 
309
  background: #43609c;
310
  color: #fff;
311
  }
312
- .simplesocialbuttons-nav.round-txt li a.simplesocial-twt-share{
 
313
  color: #1da1f2;
314
  border-color: #1da1f2;
315
  }
316
- .simplesocialbuttons-nav.round-txt li a.simplesocial-twt-share:hover{
 
317
  background: #1da1f2;
318
  color: #fff;
319
  }
320
- .simplesocialbuttons-nav.round-txt li a.simplesocial-gplus-share{
 
321
  color: #db4437;
322
  border-color: #db4437;
323
  }
324
- .simplesocialbuttons-nav.round-txt li a.simplesocial-gplus-share:hover{
 
325
  background: #db4437;
326
  color: #fff;
327
  }
 
328
  .simplesocialbuttons-nav li a:after {
329
  font-family: 'ssb-icon' !important;
330
  speak: none;
@@ -344,11 +692,12 @@ div.inside div.simplesocialbuttons-nav li a{
344
  line-height: 38px;
345
  border-radius: 3px;
346
  }
347
- .ssb_settings_container .postbox .inside *{
 
348
  box-sizing: border-box;
349
  }
350
 
351
- .simplesocialbuttons-nav.round-btm-border li a{
352
  border-radius: 3px;
353
  height: 38px;
354
  line-height: 26px;
@@ -359,41 +708,50 @@ div.inside div.simplesocialbuttons-nav li a{
359
  padding-left: 38px;
360
  position: relative;
361
  background: #fff;
362
- -webkit-transition:all 0.2s ease-in-out;
363
- transition:all 0.2s ease-in-out;
364
  }
365
- .simplesocialbuttons-nav.round-btm-border li a:hover{
 
366
  color: #fff;
367
  }
368
- .simplesocialbuttons-nav.round-btm-border li a.simplesocial-fb-share{
369
- box-shadow:inset 0px 0px 0px 0px #43609c, 0px 2px 0px 0px #43609c,0px 0px 5px 0px rgba(0, 0, 0, 0.13);
 
370
  color: #43609c;
371
  }
372
- .simplesocialbuttons-nav.round-btm-border li a.simplesocial-fb-share:hover{
373
- box-shadow:inset 0px -40px 0px 0px #43609c, 0px 2px 0px 0px #43609c,0px 0px 5px 0px rgba(0, 0, 0, 0.13);
 
374
  color: #fff;
375
  }
376
- .simplesocialbuttons-nav.round-btm-border li a.simplesocial-twt-share{
377
- box-shadow:inset 0px 0px 0px 0px #1da1f2, 0px 2px 0px 0px #1da1f2,0px 0px 5px 0px rgba(0, 0, 0, 0.13);
 
378
  color: #1da1f2;
379
  }
380
- .simplesocialbuttons-nav.round-btm-border li a.simplesocial-twt-share:hover{
381
- box-shadow:inset 0px -40px 0px 0px #1da1f2, 0px 2px 0px 0px #1da1f2,0px 0px 5px 0px rgba(0, 0, 0, 0.13);
 
382
  color: #fff;
383
  }
384
- .simplesocialbuttons-nav.round-btm-border li a.simplesocial-gplus-share{
385
- box-shadow: 0px 2px 0px 0px #db4437,0px 0px 5px 0px rgba(0, 0, 0, 0.13);
 
386
  color: #db4437;
387
  }
388
- .simplesocialbuttons-nav.round-btm-border li a.simplesocial-gplus-share{
389
- box-shadow: inset 0px 0px 0px 0px #db4437, 0px 2px 0px 0px #db4437,0px 0px 5px 0px rgba(0, 0, 0, 0.13);
 
390
  color: #db4437;
391
  }
392
- .simplesocialbuttons-nav.round-btm-border li a.simplesocial-gplus-share:hover{
393
- box-shadow: inset 0px -40px 0px 0px #db4437, 0px 2px 0px 0px #db4437,0px 0px 5px 0px rgba(0, 0, 0, 0.13);
 
394
  color: #fff;
395
  }
396
- .simplesocialbuttons-nav.flat-button-border li a{
 
397
  border-radius: 0;
398
  height: 38px;
399
  line-height: 26px;
@@ -404,31 +762,38 @@ div.inside div.simplesocialbuttons-nav li a{
404
  padding-left: 38px;
405
  position: relative;
406
  color: #fff;
407
- -webkit-transition:all 0.2s ease-in-out;
408
- transition:all 0.2s ease-in-out;
409
  }
410
- .simplesocialbuttons-nav.flat-button-border li a.simplesocial-fb-share{
 
411
  background: #43609c;
412
- box-shadow:inset 0px 0px 0px 0px #354e83, 0px 3px 0px 0px #354e83;
413
  }
414
- .simplesocialbuttons-nav.flat-button-border li a.simplesocial-fb-share:hover{
415
- box-shadow:inset 0px -40px 0px 0px #354e83, 0px 3px 0px 0px #354e83;
 
416
  }
417
- .simplesocialbuttons-nav.flat-button-border li a.simplesocial-twt-share{
 
418
  background: #1da1f2;
419
- box-shadow:inset 0px 0px 0px 0px #1889cf, 0px 3px 0px 0px #1889cf;
420
  }
421
- .simplesocialbuttons-nav.flat-button-border li a.simplesocial-twt-share:hover{
422
- box-shadow:inset 0px -40px 0px 0px #1889cf, 0px 3px 0px 0px #1889cf;
 
423
  }
424
- .simplesocialbuttons-nav.flat-button-border li a.simplesocial-gplus-share{
 
425
  background: #db4437;
426
- box-shadow:inset 0px 0px 0px 0px #bb372b, 0px 3px 0px 0px #bb372b;
427
  }
428
- .simplesocialbuttons-nav.flat-button-border li a.simplesocial-gplus-share:hover{
429
- box-shadow:inset 0px -40px 0px 0px #bb372b, 0px 3px 0px 0px #bb372b;
 
430
  }
431
- .simplesocialbuttons-nav.round-icon li a{
 
432
  height: 38px;
433
  line-height: 38px;
434
  width: 38px;
@@ -440,44 +805,54 @@ div.inside div.simplesocialbuttons-nav li a{
440
  color: #fff;
441
  border-radius: 50%;
442
  }
443
- .simplesocialbuttons-nav.round-icon li a .simplesocial-hidden-text{
 
444
  display: none;
445
  }
446
- .simplesocialbuttons-nav.round-icon li a:after{
 
447
  width: 34px;
448
  height: 34px;
449
  line-height: 34px;
450
  }
451
- .simplesocialbuttons-nav.round-icon li a.simplesocial-fb-share{
 
452
  color: #43609c;
453
  border: 2px solid #354e83;
454
  }
455
- .simplesocialbuttons-nav.round-icon li a.simplesocial-fb-share:hover{
 
456
  color: #fff;
457
  background: #43609c;
458
  }
459
- .simplesocialbuttons-nav.round-icon li a.simplesocial-twt-share{
 
460
  color: #1da1f2;
461
  border: 2px solid #1889cf;
462
  }
463
- .simplesocialbuttons-nav.round-icon li a.simplesocial-twt-share:hover{
 
464
  color: #fff;
465
  background: #1889cf;
466
  }
467
- .simplesocialbuttons-nav.round-icon li a.simplesocial-gplus-share{
 
468
  color: #db4437;
469
  border: 2px solid #bb372b;
470
  }
471
- .simplesocialbuttons-nav.round-icon li a.simplesocial-gplus-share:hover{
 
472
  color: #fff;
473
  background: #bb372b;
474
  }
475
- .simplesocialbuttons-style input[type=radio]{
 
476
  border-radius: 0;
477
  position: relative;
478
  display: none;
479
  }
480
- .simplesocialbuttons-style .radio{
 
481
  border: 1px solid #b4b9be;
482
  background: #fff;
483
  color: #555;
@@ -487,7 +862,7 @@ div.inside div.simplesocialbuttons-nav li a{
487
  line-height: 0;
488
  height: 16px;
489
  outline: 0;
490
- padding: 0!important;
491
  text-align: center;
492
  vertical-align: middle;
493
  width: 16px;
@@ -498,14 +873,16 @@ div.inside div.simplesocialbuttons-nav li a{
498
  position: absolute;
499
  top: 50%;
500
  left: 50%;
501
- -webkit-transform:translate(-50%, -50%);
502
- transform:translate(-50%, -50%);
503
  }
504
- .simplesocialbuttons-style input[type="radio"]:checked + .radio{
 
505
  background: #0085ba;
506
- border:1px solid #0085ba;
507
  }
508
- .simplesocialbuttons-style input[type="radio"]:checked + .radio:before{
 
509
  content: "";
510
  width: 10px;
511
  height: 2px;
@@ -517,7 +894,8 @@ div.inside div.simplesocialbuttons-nav li a{
517
  border: 0;
518
  transform: rotate(-45deg);
519
  }
520
- .simplesocialbuttons-style input[type="radio"]:checked + .radio:after{
 
521
  content: "";
522
  width: 5px;
523
  height: 2px;
@@ -529,7 +907,8 @@ div.inside div.simplesocialbuttons-nav li a{
529
  border: 0;
530
  transform: rotate(45deg);
531
  }
532
- .simplesocialbuttons-style input[type=radio]:checked + .radio .shadow{
 
533
  display: block;
534
  -webkit-animation-name: checkbox-ripple;
535
  animation-name: checkbox-ripple;
@@ -539,53 +918,62 @@ div.inside div.simplesocialbuttons-nav li a{
539
  animation-timing-function: ease-out;
540
 
541
  }
542
- .simplesocial-postion-outer-wrapper{
 
543
  font-size: 0;
544
  margin: 0 -20px;
545
  }
546
- .simplesocial-postion-outer{
 
547
  width: 20%;
548
  display: inline-block;
549
  padding: 0 20px;
550
  }
551
- .simplesocial-postion-outer label{
 
552
  font-weight: 600;
553
  font-size: 14px;
554
  color: #444;
555
  display: block;
556
  text-align: center;
557
- border:1px solid #ccc;
558
  padding: 13px 15% 20px;
559
  position: relative;
560
  margin-bottom: 40px;
561
  }
562
- .simplesocial-postion-outer label.social-active{
563
- border:1px solid #0085ba;
 
564
  }
565
- .simplesocial-postion-outer label.simplesocial-popup{
 
566
  position: relative;
567
  }
568
- .simplesocial-postion-outer label.simplesocial-popup .simplesocial-highlight{
 
569
  position: absolute;
570
  top: 50%;
571
  left: 50%;
572
- -webkit-transform:translate(-50%, -50%);
573
- transform:translate(-50%, -50%);
574
  width: 80%;
575
  height: 50%;
576
  background: #0085ba;
577
  box-shadow: 3px 3px #76c5e5;
578
  }
579
- .simplesocial-fb-sharehd-line{
 
580
  display: block;
581
  margin-bottom: 15px;
582
  }
583
- .simplesocial-blue-box{
 
584
  display: block;
585
  height: 107px;
586
  background: #9de0fb;
587
  }
588
- .simplesocial-sidebar .simplesocial-highlight{
 
589
  position: absolute;
590
  top: 60px;
591
  width: 26px;
@@ -593,87 +981,142 @@ div.inside div.simplesocialbuttons-nav li a{
593
  left: 0;
594
  background: #0085ba;
595
  }
596
- .simplesocial-sidebar.social-active .simplesocial-highlight{
 
597
  -webkit-animation-name: ssb_sidebar; /* Safari 4.0 - 8.0 */
598
- -webkit-animation-duration:1s; /* Safari 4.0 - 8.0 */
599
- animation-name: ssb_sidebar;
600
- animation-duration:1s;
601
  }
 
602
  @-webkit-keyframes ssb_sidebar {
603
- from {width: 0px;}
604
- to {width: 26px;}
 
 
 
 
605
  }
606
 
607
  /* Standard syntax */
608
  @keyframes ssb_sidebar {
609
- from {width: 0px;}
610
- to {width: 26px;}
 
 
 
 
611
  }
612
- .simplesocial-inline.social-active .simplesocial-highlight{
 
613
  -webkit-animation-name: ssb_inline; /* Safari 4.0 - 8.0 */
614
- -webkit-animation-duration: 1.5s; /* Safari 4.0 - 8.0 */
615
- animation-name: ssb_inline;
616
- animation-duration: 1.5s;
617
  }
 
618
  @-webkit-keyframes ssb_inline {
619
- from {opacity: 0;}
620
- to {opacity: 1;}
 
 
 
 
621
  }
622
 
623
  /* Standard syntax */
624
  @keyframes ssb_inline {
625
- from {opacity: 0;}
626
- to {opacity: 1;}
 
 
 
 
627
  }
628
- .simplesocial-media.social-active .simplesocial-highlight{
 
629
  -webkit-animation-name: ssb_media; /* Safari 4.0 - 8.0 */
630
- -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
631
- animation-name: ssb_media;
632
- animation-duration: 1s;
633
  }
 
634
  @-webkit-keyframes ssb_media {
635
- from {opacity: 0;}
636
- to {opacity: 1;}
 
 
 
 
637
  }
638
 
639
  /* Standard syntax */
640
  @keyframes ssb_media {
641
- from {opacity: 0;}
642
- to {opacity: 1;}
 
 
 
 
643
  }
644
- .simplesocial-popup.social-active .simplesocial-highlight{
 
645
  -webkit-animation-name: ssb_popup; /* Safari 4.0 - 8.0 */
646
- -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
647
- animation-name: ssb_popup;
648
- animation-duration: 1s;
649
  }
 
650
  @-webkit-keyframes ssb_popup {
651
- from {transform:translate(-50%, -50%) scale(.7);opacity: 0;}
652
- to {transform:translate(-50%, -50%) scale(1);opacity: 1;}
 
 
 
 
 
 
653
  }
654
 
655
  /* Standard syntax */
656
  @keyframes ssb_popup {
657
- from {transform:translate(-50%, -50%) scale(.7);opacity: 0;}
658
- to {transform:translate(-50%, -50%) scale(1);opacity: 1;}
 
 
 
 
 
 
659
  }
660
- .simplesocial-flyin.social-active .simplesocial-highlight{
 
661
  -webkit-animation-name: ssb_flyin; /* Safari 4.0 - 8.0 */
662
- -webkit-animation-duration:1s; /* Safari 4.0 - 8.0 */
663
- animation-name: ssb_flyin;
664
- animation-duration:1s;
665
  }
 
666
  @-webkit-keyframes ssb_flyin {
667
- from {height: 0px;}
668
- to {height: 54px;}
 
 
 
 
669
  }
670
 
671
  /* Standard syntax */
672
  @keyframes ssb_flyin {
673
- from {height: 0px;}
674
- to {height: 54px;}
 
 
 
 
675
  }
676
- .simplesocial-inline .simplesocial-highlight{
 
677
  width: 100%;
678
  height: 20px;
679
  background: #0085ba;
@@ -683,7 +1126,8 @@ div.inside div.simplesocialbuttons-nav li a{
683
  top: 100%;
684
  left: 0;
685
  }
686
- .simplesocial-media .simplesocial-highlight{
 
687
  position: absolute;
688
  top: 11px;
689
  width: 75px;
@@ -691,18 +1135,22 @@ div.inside div.simplesocialbuttons-nav li a{
691
  left: 11px;
692
  background: #0085ba;
693
  }
694
- .simplesocial-media .simplesocial-blue-box{
 
695
  position: relative;
696
  }
697
- .simplesocial-inline .simplesocial-blue-box{
 
698
  height: 76px;
699
  margin-bottom: 31px;
700
  position: relative;
701
  }
702
- .simplesocial-popup .simplesocial-blue-box{
 
703
  position: relative;
704
  }
705
- .simplesocial-flyin .simplesocial-highlight{
 
706
  width: 54px;
707
  height: 54px;
708
  background: #0085ba;
@@ -710,10 +1158,12 @@ div.inside div.simplesocialbuttons-nav li a{
710
  bottom: 0;
711
  right: 0;
712
  }
713
- .simplesocial-postion-box input[type="checkbox"]{
 
714
  display: none;
715
  }
716
- .simplesocial-postion-box input[type="checkbox"] + .checkbox{
 
717
  position: absolute;
718
  top: 100%;
719
  left: 50%;
@@ -723,13 +1173,15 @@ div.inside div.simplesocialbuttons-nav li a{
723
  border-radius: 0;
724
  width: 16px;
725
  height: 16px;
726
- border:1px solid #b4b9be;
727
  }
728
- .simplesocial-postion-box input[type=checkbox]:checked + .checkbox{
 
729
  background: #0085ba;
730
  border-color: #0085ba;
731
  }
732
- .simplesocial-postion-box input[type=checkbox]:checked + .checkbox:before{
 
733
  content: "";
734
  width: 10px;
735
  height: 2px;
@@ -742,7 +1194,8 @@ div.inside div.simplesocialbuttons-nav li a{
742
  transform: rotate(-45deg);
743
  z-index: 100;
744
  }
745
- .simplesocial-postion-box input[type=checkbox]:checked + .checkbox:after{
 
746
  content: "";
747
  width: 5px;
748
  height: 2px;
@@ -755,7 +1208,8 @@ div.inside div.simplesocialbuttons-nav li a{
755
  transform: rotate(45deg);
756
  z-index: 100;
757
  }
758
- .shadow{
 
759
  height: 16px;
760
  width: 16px;
761
  position: absolute;
@@ -767,7 +1221,8 @@ div.inside div.simplesocialbuttons-nav li a{
767
  background: #03a9f4 !important;
768
 
769
  }
770
- .shadow.animated{
 
771
  display: block;
772
  -webkit-animation-name: checkbox-ripple;
773
  animation-name: checkbox-ripple;
@@ -776,6 +1231,7 @@ div.inside div.simplesocialbuttons-nav li a{
776
  -webkit-animation-timing-function: ease-out;
777
  animation-timing-function: ease-out;
778
  }
 
779
  @-webkit-keyframes checkbox-ripple {
780
  100% {
781
  opacity: 0;
@@ -783,6 +1239,7 @@ div.inside div.simplesocialbuttons-nav li a{
783
  transform: scale(4);
784
  }
785
  }
 
786
  @keyframes checkbox-ripple {
787
  100% {
788
  opacity: 0;
@@ -790,28 +1247,34 @@ div.inside div.simplesocialbuttons-nav li a{
790
  transform: scale(4);
791
  }
792
  }
793
- .simplesocialbuttons-style-outer{
 
794
  width: calc(33.3333% - 13px);
795
  display: inline-block;
796
  margin: 5px;
797
  vertical-align: top;
798
  }
799
- .simplesocialbuttons-nav.round-icon ul{
 
800
  font-size: 0;
801
  height: 48px;
802
  }
803
- .simplesocialbuttons-nav.round-icon ul li{
 
804
  height: 38px;
805
  }
806
- .simplesocial-form-section:after{
 
807
  content: '';
808
  display: table;
809
  clear: both;
810
  }
811
- .simplesocial-form-section{
 
812
  margin: 9px 0;
813
  }
814
- .simplesocial-form-section h5{
 
815
  font-size: 13px;
816
  font-weight: normal;
817
  line-height: 28px;
@@ -820,10 +1283,12 @@ div.inside div.simplesocialbuttons-nav li a{
820
  float: left;
821
  margin: 0;
822
  }
823
- .simplesocial-form-section select{
 
824
  width: 120px;
825
  }
826
- .simplesocial-form-section .simplesocial-switch{
 
827
  width: 33px;
828
  height: 14px;
829
  background: #b0afaf;
@@ -832,18 +1297,22 @@ div.inside div.simplesocialbuttons-nav li a{
832
  position: relative;
833
  margin-left: 10px;
834
  }
835
- .simplesocial-form-section input[type="checkbox"]{
 
836
  display: none;
837
  }
838
- .simplesocial-form-section input[type="checkbox"]:checked + .simplesocial-switch:after{
 
839
  left: 20px;
840
  background: #0085ba;
841
  box-shadow: 0px 1px 3px 0px rgba(40, 175, 229, 0.48);
842
  }
843
- .simplesocial-form-section input[type="checkbox"]:checked + .simplesocial-switch{
 
844
  background: #28afe5;
845
  }
846
- .simplesocial-form-section .simplesocial-switch:after{
 
847
  width: 20px;
848
  height: 20px;
849
  background: #f1f1f1;
@@ -853,25 +1322,30 @@ div.inside div.simplesocialbuttons-nav li a{
853
  position: absolute;
854
  left: -8px;
855
  top: -3px;
856
- -webkit-transition:all 0.3s ease-in-out;
857
- transition:all 0.3s ease-in-out;
858
  }
 
859
  .simplesocial-form-section .simplesocial-switch:active::after {
860
- box-shadow: 0 0.25rem 0.5rem rgba(175,175,175,0.28), 0 0 0 1.25rem rgba(175, 175, 175, 0.28);
861
  z-index: 100;
862
  }
863
- .simplesocial-form-section input[type="checkbox"]:checked + .simplesocial-switch:active:after{
 
864
  box-shadow: 0 0.25rem 0.5rem rgba(40, 175, 229, 0.28), 0 0 0 1.25rem rgba(40, 175, 229, 0.28);
865
  z-index: 100;
866
  }
867
- .simplesocial-inline-form-section label{
 
868
  margin-right: 40px;
869
  }
870
- .simplesocial-inline-form-section input[type="checkbox"]{
 
871
  margin-right: 20px;
872
  display: none;
873
  }
874
- .simplesocial-inline-form-section .checkbox{
 
875
  border: 1px solid #b4b9be;
876
  background: #fff;
877
  color: #555;
@@ -882,7 +1356,7 @@ div.inside div.simplesocialbuttons-nav li a{
882
  height: 16px;
883
  margin: -4px 4px 0 0;
884
  outline: 0;
885
- padding: 0!important;
886
  text-align: center;
887
  vertical-align: middle;
888
  width: 16px;
@@ -893,13 +1367,16 @@ div.inside div.simplesocialbuttons-nav li a{
893
  margin-right: 20px;
894
  position: relative;
895
  }
896
- .simplesocial-inline-form-section input[type="checkbox"]:checked +.checkbox{
 
897
  background: #0085ba;
898
  border-color: #0085ba;
899
  }
900
- .simplesocial-inline-form-section input[type=checkbox]:checked +.checkbox:before{
 
901
  color: #fff;
902
  }
 
903
  .simplesocial-inline-form-section input[type=checkbox]:checked + .checkbox:before {
904
  content: "";
905
  width: 10px;
@@ -913,6 +1390,7 @@ div.inside div.simplesocialbuttons-nav li a{
913
  transform: rotate(-45deg);
914
  z-index: 100;
915
  }
 
916
  .simplesocial-inline-form-section input[type=checkbox]:checked + .checkbox:after {
917
  content: "";
918
  width: 5px;
@@ -926,7 +1404,8 @@ div.inside div.simplesocialbuttons-nav li a{
926
  transform: rotate(45deg);
927
  z-index: 100;
928
  }
929
- .simplesocial-inline-form-section .checkbox .shadow.animated{
 
930
  display: block;
931
  -webkit-animation-name: checkbox-ripple;
932
  animation-name: checkbox-ripple;
@@ -935,57 +1414,66 @@ div.inside div.simplesocialbuttons-nav li a{
935
  -webkit-animation-timing-function: ease-out;
936
  animation-timing-function: ease-out;
937
  }
938
- .simplesocial-form-section .select .s-hidden{
 
939
  display: none;
940
  }
 
941
  /*Code For Select Options*/
942
  .simplesocial-form-section .s-hidden {
943
- visibility:hidden;
944
- padding-right:10px;
945
  }
 
946
  .simplesocial-form-section .select {
947
- cursor:pointer;
948
- display:inline-block;
949
- position:relative;
950
  font-size: 14px;
951
  width: 280px;
952
- color:black;
953
- border-bottom:1px solid #dddddd;
954
  max-width: calc(100% - 250px);
955
  }
 
956
  .simplesocial-form-section .styledSelect {
957
- position:absolute;
958
- top:0;
959
- right:0;
960
- bottom:0;
961
- left:0;
962
- background-color:white;
963
  padding: 2px 16px;
964
- font:400 14px 'Source Sans Pro', Arial, Sans-Serif;
965
  color: #838385;
966
  line-height: 24px;
967
  }
 
968
  .simplesocial-form-section .styledSelect:after {
969
- content:"";
970
- width:0;
971
- height:0;
972
- border:5px solid transparent;
973
- border-color:#b6b9bc transparent transparent transparent;
974
- position:absolute;
975
- top:12px;
976
- right:14px;
977
- }
978
- div.inside .simplesocial-form-section ul.options li{
 
979
  margin-left: 0;
980
  list-style: none;
981
  }
982
- .simplesocial-form-section .styledSelect:active,.simplesocial-form-section .styledSelect.active {
983
- background-color:#eee;
 
984
  }
 
985
  .simplesocial-form-section .left-section .options li {
986
  list-style-type: none;
987
  margin-left: 0;
988
  }
 
989
  .simplesocial-form-section .options {
990
  display: none;
991
  position: absolute;
@@ -1005,38 +1493,45 @@ div.inside .simplesocial-form-section ul.options li{
1005
  width: 277px;
1006
  width: 100%;
1007
  }
 
1008
  .simplesocial-form-section .options li {
1009
- margin:0 0;
1010
- padding:6px 16px;
1011
  font-size: 14px;
1012
  color: rgba(0, 0, 0, 0.87);
1013
  }
 
1014
  .simplesocial-form-section .options li:hover {
1015
- background-color:rgba(0, 0, 0, 0.1);
1016
  }
1017
- .simplesocial-form-section .select{
 
1018
  display: block;
1019
  height: 28px;
1020
  border-radius: 0;
1021
  background: #fff;
1022
  float: left;
1023
  }
1024
- .simplesocial-form-section .styledSelect{
 
1025
  border-radius: 0;
1026
  }
1027
- .simplesocial-input{
 
1028
  width: 500px;
1029
  float: left;
1030
  position: relative;
1031
  max-width: calc(100% - 250px);
1032
  }
1033
- .simplesocial-input textarea:focus{
 
1034
  outline: none;
1035
  box-shadow: none;
1036
  }
1037
- .simplesocial-input textarea{
 
1038
  width: 100%;
1039
- border:0;
1040
  border-bottom: 1px solid #ddd;
1041
  position: relative;
1042
  z-index: 1;
@@ -1045,25 +1540,29 @@ div.inside .simplesocial-form-section ul.options li{
1045
  resize: none;
1046
  height: 80px;
1047
  }
1048
- .simplesocial-input textarea:focus ~ .highlight{
1049
- -webkit-animation:inputHighlighter 0.3s ease;
1050
- -moz-animation:inputHighlighter 0.3s ease;
1051
- animation:inputHighlighter 0.3s ease;
 
1052
  }
1053
- .simplesocial-input textarea:focus{
 
1054
  outline: none;
1055
  box-shadow: none;
1056
  }
1057
- .simplesocial-input input{
 
1058
  width: 100%;
1059
- border:0;
1060
  border-bottom: 1px solid #ddd;
1061
  position: relative;
1062
  z-index: 1;
1063
  background: none;
1064
  box-shadow: none;
1065
  }
1066
- .simplesocial-input .highlight{
 
1067
  width: 120px;
1068
  height: 25px;
1069
  position: absolute;
@@ -1072,17 +1571,20 @@ div.inside .simplesocial-form-section ul.options li{
1072
  background: rgba(40, 175, 229, 0.2);
1073
  background: none;
1074
  }
1075
- .simplesocial-input input:focus ~ .highlight{
1076
- -webkit-animation:inputHighlighter 0.3s ease;
1077
- -moz-animation:inputHighlighter 0.3s ease;
1078
- animation:inputHighlighter 0.3s ease;
 
1079
  }
 
1080
  .simplesocial-input .bar {
1081
  position: relative;
1082
  display: block;
1083
  width: 100%;
1084
  }
1085
- .simplesocial-input .bar:before,.simplesocial-input .bar:after {
 
1086
  content: '';
1087
  height: 2px;
1088
  width: 0;
@@ -1093,69 +1595,87 @@ div.inside .simplesocial-form-section ul.options li{
1093
  -moz-transition: 0.2s ease all;
1094
  -webkit-transition: 0.2s ease all;
1095
  }
 
1096
  .simplesocial-input .bar:before {
1097
  left: 50%;
1098
  }
 
1099
  .simplesocial-input .bar:after {
1100
  right: 50%;
1101
  }
 
1102
  .simplesocial-input input:focus ~ .bar:before, .simplesocial-input input:focus ~ .bar:after {
1103
  width: 50%;
1104
  }
1105
- .simplesocial-input.simplesocial-number{
 
1106
  outline: none;
1107
  width: 200px;
1108
  text-align: center;
1109
  }
1110
- .simplesocial-input.simplesocial-number input[type="number"]{
 
1111
  outline: none;
1112
  margin: 0;
1113
  box-shadow: none !important;
1114
  text-align: center;
1115
  }
1116
- .simplesocial-input input:focus{
 
1117
  outline: none;
1118
  box-shadow: none !important;
1119
  }
 
1120
  .simplesocial-input textarea:focus ~ .bar:before, .simplesocial-input textarea:focus ~ .bar:after {
1121
  width: 50%;
1122
  }
1123
- .simpleshare-acordions{
 
1124
  display: none;
1125
  }
1126
- .simpleshare-acordions h3{
 
1127
  cursor: pointer;
1128
  position: relative;
1129
  }
1130
- .ssb_settings_container .postbox-content{
 
1131
  padding: 12px;
1132
  }
1133
- .ssb_settings_container .postbox-content p{
 
1134
  margin-top: 0;
1135
  }
1136
- .ssb_settings_container .postbox-content h4 ~ h4{
 
1137
  margin-top: 20px;
1138
  }
1139
- .ssb_settings_container .postbox-content h4{
 
1140
  margin-bottom: 5px;
1141
  }
1142
- .ssb_settings_container #poststuff .postbox.simpleshare-acordions{
1143
- border:1px solid #e5e5e5;
 
1144
  }
1145
- .ssb_settings_container #poststuff .postbox.simpleshare-acordions .inside{
 
1146
  padding: 0;
1147
  margin: 0;
1148
  }
1149
- .ssb_settings_container .postbox.simpleshare-acordions .inside h3{
 
1150
  margin: 0;
1151
- border:0;
1152
  padding-right: 26px;
1153
  position: relative;
1154
  }
1155
- .ssb_settings_container .postbox.simpleshare-acordions .inside h3.simpleshare-active{
 
1156
  border-bottom: 1px solid #e5e5e5;
1157
  }
1158
- .ssb_settings_container .postbox.simpleshare-acordions .inside h3:after{
 
1159
  width: 10px;
1160
  height: 2px;
1161
  position: absolute;
@@ -1164,7 +1684,8 @@ div.inside .simplesocial-form-section ul.options li{
1164
  background: #000;
1165
  content: '';
1166
  }
1167
- .ssb_settings_container .postbox.simpleshare-acordions .inside h3:before{
 
1168
  height: 10px;
1169
  width: 2px;
1170
  position: absolute;
@@ -1172,36 +1693,42 @@ div.inside .simplesocial-form-section ul.options li{
1172
  right: 14px;
1173
  background: #000;
1174
  content: '';
1175
- -webkit-transition:all 0.2s ease-in-out;
1176
- -moz-transition:all 0.2s ease-in-out;
1177
- -ms-transition:all 0.2s ease-in-out;
1178
- transition:all 0.2s ease-in-out;
1179
  }
1180
- .ssb_settings_container .postbox.simpleshare-acordions .inside h3.simpleshare-active:before{
 
1181
  -webkit-transform: rotate(-90deg);
1182
  transform: rotate(-90deg);
1183
  }
1184
- .selection-color{
 
1185
  float: left;
1186
  }
1187
- .ssb_settings_container .postbox .inside .selection-color *{
 
1188
  box-sizing: content-box;
1189
  }
1190
- .ssb_goto_pro_section{
 
1191
  background: #dbf5ff;
1192
  padding: 25px 20px;
1193
- border:1px solid #0085ba;
1194
  border-radius: 5px;
1195
  margin: 20px 0;
1196
  }
1197
- .ssb_settings_container .postbox-content .ssb_goto_pro_section h4{
 
1198
  font-size: 17px;
1199
  margin: 0 0 25px;
1200
  }
1201
- .ssb_goto_pro_button{
 
1202
  padding: 7px 12px;
1203
  background: #0085ba;
1204
- border:1px solid #006799;
1205
  border-radius: 5px;
1206
  display: inline-block;
1207
  color: #fff;
@@ -1209,29 +1736,50 @@ div.inside .simplesocial-form-section ul.options li{
1209
  box-shadow: 0px 2px 0px 0px rgba(0, 103, 153, 1);
1210
  position: relative;
1211
  }
1212
- .ssb_goto_pro_button:hover{
 
1213
  top: 2px;
1214
  box-shadow: 0px 0px 0px 0px rgba(0, 103, 153, 1);
1215
  color: #fff;
1216
  background: #006799;
1217
  }
 
1218
  /* ANIMATIONS ================ */
1219
  @-webkit-keyframes inputHighlighter {
1220
- from { background:rgba(40, 175, 229, 0.2); }
1221
- to { width:0; background:transparent; }
 
 
 
 
 
1222
  }
 
1223
  @-moz-keyframes inputHighlighter {
1224
- from { background:rgba(40, 175, 229, 0.2); }
1225
- to { width:0; background:transparent; }
 
 
 
 
 
1226
  }
 
1227
  @keyframes inputHighlighter {
1228
- from { background:rgba(40, 175, 229, 0.2); }
1229
- to { width:0; background:transparent; }
 
 
 
 
 
1230
  }
 
1231
  .simple-social-buttons-help-page h2 {
1232
- padding-top: 15px;
1233
  }
1234
- .simple-social-buttons-log-file{
 
1235
  background: #0085ba !important;
1236
  border-color: #0073aa #006799 #006799 !important;
1237
  -webkit-box-shadow: 0 1px 0 #006799 !important;
@@ -1240,89 +1788,140 @@ div.inside .simplesocial-form-section ul.options li{
1240
  text-decoration: none !important;
1241
  text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
1242
  }
1243
- .ssb-log-file-sniper{
 
1244
  padding: 5px;
1245
  display: none;
1246
  }
1247
- .ssb-log-file-text{
 
1248
  padding: 5px;
1249
  display: none;
1250
  color: #009306;
1251
  }
 
1252
  @media screen and (max-width: 1919px) {
1253
- .simplesocialbuttons-style-outer{
1254
  width: calc(50% - 12px);
1255
  margin-left: 0;
1256
  margin-right: 0;
1257
  }
1258
  }
 
1259
  @media screen and (max-width: 1500px) {
1260
- .simplesocial-postion-outer{
1261
  width: 33.333%;
1262
  }
1263
  }
 
1264
  @media screen and (max-width: 1450px) {
1265
- .simplesocialbuttons-style-outer{
1266
  width: 100%;
1267
  }
1268
  }
 
1269
  @media screen and (max-width: 1100px) {
1270
- .simplesocial-postion-outer{
1271
  width: 50%;
1272
  }
1273
  }
1274
 
 
1275
 
1276
- @media only screen and (max-width: 850px){
1277
-
1278
- .ssb_settings_container{
1279
- width:100%;
1280
  }
1281
- .ssb_right_sidebar{
 
1282
  float: left;
1283
  }
1284
- .ssb_settings_container #poststuff .ssb_settings_box h2{
 
1285
  width: 120px;
1286
  }
1287
- .simplesocial-form-section h5{
 
1288
  width: 200px;
1289
  }
1290
- .simplesocial-form-section .select,.simplesocial-input{
 
1291
  max-width: calc(100% - 200px);
1292
  }
1293
  }
 
1294
  @media screen and (max-width: 480px) {
1295
- .simplesocial-postion-outer{
1296
  width: 100%;
1297
  max-width: 300px;
1298
  }
1299
- .simplesocial-postion-outer-wrapper{
 
1300
  text-align: center;
1301
  }
1302
- .simplesocial-form-section h5{
 
1303
  width: 100%;
1304
  }
1305
- .simplesocial-form-section .select, .simplesocial-input{
 
1306
  width: 100%;
1307
  max-width: 100%;
1308
  }
1309
- .simplesocial-inline-form-section label{
 
1310
  margin-right: 10px;
1311
  }
1312
- .simplesocial-inline-form-section .checkbox{
 
1313
  margin-right: 5px;
1314
  }
1315
  }
1316
 
1317
- .nav-tab .dashicons{
1318
  vertical-align: middle;
1319
  margin-top: -4px;
1320
  margin-right: 4px;
1321
  }
1322
- .nav-tab:not([href^="#"]){
 
1323
  background: #000;
1324
  color: #fff;
1325
  }
1326
- .nav-tab:not([href^="#"]) .dashicons{
 
1327
  color: #FFDF00;
1328
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  @font-face {
2
  font-family: 'ssb-icon';
3
+ src: url('../fonts/ssb-icon.eot?eahqa2');
4
+ src: url('../fonts/ssb-icon.eot?eahqa2#iefix') format('embedded-opentype'),
5
+ url('../fonts/ssb-icon.ttf?eahqa2') format('truetype'),
6
+ url('../fonts/ssb-icon.woff?eahqa2') format('woff'),
7
+ url('../fonts/ssb-icon.svg?eahqa2#ssb-icon') format('svg');
8
  font-weight: normal;
9
  font-style: normal;
10
  }
11
+
12
  .ssb_settings_box .ui-sortable li {
13
  line-height: 16px;
14
  list-style-type: square;
15
  margin-left: 15px;
16
  }
17
+
18
+ .ssb_right_sidebar {
19
  width: 255px;
20
  float: right;
21
  min-width: inherit;
22
  box-sizing: border-box;
23
  }
24
+
25
  .ssb_right_sidebar #poststuff {
26
  width: 255px;
27
  float: right;
30
  max-width: 100%;
31
  min-width: 100%;
32
  }
33
+
34
+ .ssb_right_sidebar .ssb_social_links_wrapper {
35
  padding: 10px;
36
  min-width: 100%;
37
  box-sizing: border-box;
38
  }
39
+
40
+ .ssb_right_sidebar .ssb_social_links li a {
41
  width: 100%;
42
  display: block;
43
  position: relative;
44
  }
45
+
46
+ .ssb_right_sidebar .ssb_social_links .dashicons {
47
  position: absolute;
48
  right: 10px;
49
  margin-top: 3px;
50
  }
51
+
52
+ .ssb_social_links_wrapper .postbox {
53
  min-width: 100%;
54
+ border: 0;
55
  }
56
+
57
+ .ssb_right_sidebar .ssb_social_links li .twitter .dashicons {
58
  color: #45b0e3;
59
  }
60
+
61
+ .ssb_right_sidebar .ssb_social_links li .facebook .dashicons {
62
  color: #3b5998;
63
  }
64
+
65
+ .ssb_right_sidebar .ssb_social_links li .wordpress .dashicons {
66
  color: #21759b;
67
  }
68
+
69
  .ssb_right_sidebar .plugins_lists li {
70
  padding-bottom: 12px;
71
  line-height: 1.4;
72
  }
73
+
74
+ .ssb_right_sidebar #poststuff .stuffbox > h3, .ssb_right_sidebar #poststuff h2, .ssb_right_sidebar #poststuff h3.hndle {
75
  border-bottom: 1px solid #ccc;
76
  font-size: 1.3em;
77
  padding: 10px;
78
  }
79
+
80
  .ssb_settings_container {
81
  float: left;
82
  width: calc(100% - 275px);
83
  max-width: 100%;
84
  }
85
+
86
+ .ssb_settings_container .postbox .inside, .ssb_settings_container .stuffbox .inside {
87
  padding: 12px;
88
  box-sizing: border-box;
89
  }
90
+
91
  #ssb_subscribe_btn {
92
  display: block;
93
  margin: 20px auto 0;
94
  }
95
+
96
+ .ssb_settings_container .postbox .inside h3 {
97
  margin: -12px -12px 10px;
98
  padding: 12px 12px 15px;
99
  border-bottom: 1px solid #ccc;
100
  }
101
+
102
+ .ssb_settings_container #poststuff {
103
  min-width: 100%;
104
  }
105
+
106
+ .ssb_settings_container #poststuff h2 {
107
  border-bottom: 1px solid #ccc;
108
  font-size: 1.3em;
109
  }
110
+
111
+ .ssb_settings_container #poststuff .ssb_settings_box {
112
+ border: 1px solid #ccc;
113
  overflow: hidden;
114
  display: table;
115
  background: #f6f6f6;
116
  }
117
+
118
+ .ssb_settings_container #poststuff .ssb_settings_box + .ssb_settings_box {
119
  border-top: 0;
120
  }
121
+
122
+ .ssb_settings_container #poststuff .ssb_settings_box h2 {
123
  width: 180px;
124
  float: left;
125
  text-align: center;
126
  background: #f6f6f6;
127
+ border: 0;
128
  display: table-cell;
129
  padding: 10px;
130
  }
131
+
132
+ .ssb_settings_container #poststuff .ssb_settings_box ul {
133
  overflow: hidden;
134
+ margin: 0;
135
  padding: 10px 0;
136
  list-style: none;
137
  font-size: 0;
141
  width: 100%;
142
  background: #fff;
143
  }
144
+
145
+ .ssb_settings_container #poststuff .ssb_settings_box ul li {
146
  display: inline-block;
147
  margin-bottom: 0;
148
  list-style: none;
149
  font-size: 16px;
150
  }
151
+
152
+ .ssb_settings_container #poststuff .ssb_settings_box ul li:hover {
153
  cursor: pointer;
154
  }
155
+
156
+ .ssb_settings_container #submit {
157
  height: 38px;
158
  font-size: 14px;
159
  }
160
+
161
+ .ssb-top-bar {
162
  background: #f3fbff;
163
  overflow: hidden;
164
  padding: 12px 20px;
165
 
166
  }
167
+
168
+ .ssb-top-bar img {
169
  float: left;
170
  margin-right: 20px;
171
  width: 100px;
172
  }
173
+
174
+ .ssb-top-bar-content {
175
  overflow: hidden;
176
  }
177
+
178
+ .ssb-top-bar-content h2 {
179
  margin: 10px 0;
180
  }
181
+
182
+ div.inside div.simplesocialbuttons-style {
183
  padding: 5px 0 5px 70px;
184
  list-style: none;
185
  position: relative;
186
+ border: 1px solid #ddd;
187
  }
188
+
189
+ div.inside div.simplesocialbuttons-style.social-active {
190
  border-color: #0085ba;
191
  }
192
+
193
+ div.inside div.simplesocialbuttons-style:after {
194
  content: '';
195
  display: table;
196
  clear: both;
197
  }
198
+
199
+ div.inside div.simplesocialbuttons-style + div.simplesocialbuttons-style {
200
  margin-top: 10px;
201
  }
202
+
203
+ .simplesocialbuttons-style label {
204
  width: 60px;
205
  height: 100%;
206
  position: absolute;
208
  line-height: 60px;
209
  top: 0;
210
  left: 0;
211
+ border-right: 1px solid #ddd;
212
  }
213
+
214
+ div.inside div.simplesocialbuttons-nav li {
215
  list-style: none;
216
  margin: 5px 4px;
217
  display: inline-block;
218
  }
219
+
220
+ div.inside div.simplesocialbuttons-nav li a {
221
  text-transform: capitalize;
222
  }
223
+
224
+ .simplesocialbuttons-nav ul {
225
  list-style: none;
226
  margin: 0;
227
  }
228
+ .simplesocialbuttons-nav.simple-icons a {
229
+ position: relative;
230
+ padding: 2px;
231
+ font-size: 11px;
232
+ line-height: 1.5;
233
+ border-radius: 3px;
234
+ vertical-align: middle;
235
+ text-align: left;
236
+ color: #fff;
237
+ text-decoration: none;
238
+ }
239
+ .simplesocialbuttons-nav.simple-icons a.simplesocial-fb-share{
240
+ background: #4267b2;
241
+ border: 1px solid #4267b2;
242
+ color: #fff;
243
+ cursor: pointer;
244
+ font-weight: bold;
245
+ font-family: Helvetica, Arial, sans-serif;
246
+ -webkit-font-smoothing: antialiased;
247
+ -webkit-user-select: none;
248
+ white-space: nowrap;
249
+ padding: 0;
250
+ line-height: 18px;
251
+ height: 20px;
252
+ display: inline-block;
253
+ }
254
+ .simplesocialbuttons-nav.simple-icons a.simplesocial-fb-share .icon{
255
+ width: 16px;
256
+ height: 16px;
257
+ display: inline-block;
258
+ }
259
+ .simplesocialbuttons-nav.simple-icons li a:after{
260
+ display: none;
261
+ }
262
+ .simplesocialbuttons-nav.simple-icons a.simplesocial-fb-share .simplesocial-hidden-text{
263
+ display: inline-block;
264
+ font-size: 12px;
265
+ line-height: 18px;
266
+ vertical-align: top;
267
+ padding-left: 4px;
268
+ padding-right: 4px;
269
+ }
270
+ .simplesocialbuttons-nav.simple-icons a.simplesocial-twt-share{
271
+ background: #1b95e0;
272
+ color: #fff;
273
+ cursor: pointer;
274
+ font-weight: normal;
275
+ font-size: 11px;
276
+ font-family: Helvetica, Arial, sans-serif;
277
+ -webkit-font-smoothing: antialiased;
278
+ -webkit-user-select: none;
279
+ white-space: nowrap;
280
+ padding: 0;
281
+ line-height: 20px;
282
+ height: 20px;
283
+ display: inline-block;
284
+ padding: 1px 8px 1px 6px;
285
+ }
286
+ .simplesocialbuttons-nav.simple-icons a.simplesocial-twt-share .simplesocial-hidden-text{
287
+ vertical-align: top;
288
+ font-size: 12px;
289
+ line-height: 18px;
290
+ vertical-align: top;
291
+ padding-left: 2px;
292
+ }
293
+ .simplesocialbuttons-nav.simple-icons a.simplesocial-twt-share .icon{
294
+ width: 14px;
295
+ height: 14px;
296
+ display: inline-block;
297
+ vertical-align: top;
298
+ position: relative;
299
+ top: 2px;
300
+ }
301
+ .simplesocialbuttons-nav.simple-icons a.simplesocial-gplus-share .icon{
302
+ border: 1px solid #d5d5d5;
303
+ border: 1px solid rgba(0,0,0,.17);
304
+ -webkit-border-radius: 2px;
305
+ border-radius: 2px;
306
+ -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.05);
307
+ box-shadow: 0 1px 0 rgba(0,0,0,.05);
308
+ -webkit-box-sizing: border-box;
309
+ box-sizing: border-box;
310
+ -webkit-transition: background-color .218s,border-color .218s,box-shadow .218s;
311
+ transition: background-color .218s,border-color .218s,box-shadow .218s;
312
+ -webkit-user-select: none;
313
+ -webkit-appearance: none;
314
+ background-color: #fff;
315
+ background-image: none;
316
+ color: #262626;
317
+ cursor: pointer;
318
+ outline: none;
319
+ overflow: hidden;
320
+ position: relative;
321
+ text-align: center;
322
+ vertical-align: middle;
323
+ white-space: nowrap;
324
+ width: auto;
325
+ height: 20px;
326
+ line-height: 18px;
327
+ padding: 0;
328
+ display: inline-block;
329
+ }
330
+ .simplesocialbuttons-nav.simple-icons a.simplesocial-gplus-share svg {
331
+ fill: #db4437;
332
+ }
333
+ /*.simplesocialbuttons-nav.simple-icons a {
334
+ position: relative;
335
+ padding: 2px;
336
+ font-size: 11px;
337
+ line-height: 1.5;
338
+ border-radius: 3px;
339
+ vertical-align: middle;
340
+ text-align: left;
341
+ color: #fff;
342
+ text-decoration: none;
343
+ }
344
+ .simplesocialbuttons-nav.simple-icons a span{
345
+ display: inline-block;
346
+ padding-left: 4px;
347
+ padding-right: 4px;
348
+ }
349
+ .simplesocialbuttons-nav.simple-icons .simplesocial-fb-share {
350
+ background: #4267b2;
351
+ font-family: 'Helvetica', Arial, sans-serif;
352
+ height: 20px;
353
+ line-height: 20px;
354
+ padding: 0 0 0 2px;
355
+ display: inline-block;
356
+ }
357
+ .simplesocialbuttons-nav.simple-icons li a:before{
358
+ font-family: 'ssb-icon' !important;
359
+ speak: none;
360
+ font-style: normal;
361
+ font-weight: normal;
362
+ font-variant: normal;
363
+ text-transform: none;
364
+ -webkit-font-smoothing: antialiased;
365
+ -moz-osx-font-smoothing: grayscale;
366
+ font-size: 14px;
367
+ width: 16px;
368
+ height: 16px;
369
+ text-align: center;
370
+ line-height: 16px;
371
+ border-radius: 3px;
372
+ }
373
+ .simplesocialbuttons-nav.simple-icons .simplesocial-fb-share:after{
374
+ display: none;
375
+ }
376
+ .simplesocialbuttons-nav.simple-icons .simplesocial-fb-share:before{
377
+ content: "\e908";
378
+ font-family: 'ssb-icon';
379
+ width: 16px;
380
+ height: 16px;
381
+ display: inline-block;
382
+ vertical-align: middle;
383
+ line-height: 16px;
384
+ text-align: center;
385
+ }
386
+
387
+ .simplesocialbuttons-nav.simple-icons .simplesocial-twt-share {
388
+ position: relative;
389
+ height: 20px;
390
+ box-sizing: border-box;
391
+ padding: 1px 8px 1px 6px;
392
+ background-color: #1b95e0;
393
+ color: #fff;
394
+ border-radius: 3px;
395
+ font-weight: 500;
396
+ cursor: pointer;
397
+ display: inline-block;
398
+ }
399
+ .simplesocialbuttons-nav.simple-icons .simplesocial-twt-share:before{
400
+ content: "\e904";
401
+ }
402
+ .simplesocialbuttons-nav.simple-icons .simplesocial-twt-share:after{
403
+ display: none;
404
+ }
405
+ .simplesocialbuttons-nav.simple-icons .simplesocial-twt-share:before{
406
+ position: relative;
407
+ top: 0px;
408
+ display: inline-block;
409
+ width: 14px;
410
+ height: 14px;
411
+ background: transparent 0 0 no-repeat;
412
+ font-size: 9px;
413
+ line-height: 14px;
414
+ }
415
+ .simplesocialbuttons-nav.simple-icons a.simplesocial-twt-share span{
416
+ padding-left: 3px;
417
+ padding-right: 0px;
418
+ white-space: nowrap;
419
+ font: normal normal normal 11px/18px 'Helvetica Neue',Arial,sans-serif;
420
+ line-height: 18px;
421
+ }
422
+ .simplesocialbuttons-nav.simple-icons .simplesocial-gplus-share {
423
+ background: #fff;
424
+ color: #db4437;
425
+ border: 1px solid rgba(0, 0, 0, .17);
426
+ padding: 1px 2px 1px 2px;
427
+ margin-right: 34px;
428
+ position: relative;
429
+ }
430
+
431
+ .simplesocialbuttons-nav.simple-icons .simplesocial-gplus-share:after {
432
+ position: static;
433
+ font-size: 12px;
434
+ vertical-align: top;
435
+ line-height: 18px;
436
+ }
437
+
438
+ .simplesocialbuttons-nav.simple-icons .simplesocial-gplus-share .simplesocial-hidden-text {
439
+ display: none;
440
+ }
441
+
442
+ .simplesocialbuttons-nav.simple-icons .simplesocial-whatsapp-share {
443
+ background: rgb(37, 211, 102);
444
+ }
445
+
446
+ .simplesocialbuttons-nav.simple-icons .simplesocial-pinterest-share {
447
+ background: #bd081c;
448
+ }
449
+
450
+ .simplesocialbuttons-nav.simple-icons .simplesocial-viber-share {
451
+ background: #665cac;
452
+ }
453
+
454
+ .simplesocialbuttons-nav.simple-icons .simplesocial-linkedin-share {
455
+ background: #0077b5;
456
+ margin-right: 34px;
457
+ position: relative;
458
+ }
459
+
460
+ .simplesocialbuttons-nav.simple-icons .simplesocial-linkedin-share .ssb_counter {
461
+ padding: 2px 2px;
462
+ background: #fff;
463
+ border: 1px solid #ccc;
464
+ border-radius: 3px;
465
+ position: absolute;
466
+ top: -1px;
467
+ left: 100%;
468
+ color: #000;
469
+ margin-left: 7px;
470
+ width: 27px;
471
+ text-align: center;
472
+ }
473
+
474
+ .simplesocialbuttons-nav.simple-icons .simplesocial-linkedin-share .ssb_counter:after, .simplesocialbuttons-nav.simple-icons .simplesocial-linkedin-share .ssb_counter:before {
475
+ right: 100%;
476
+ top: 50%;
477
+ border: solid transparent;
478
+ content: " ";
479
+ height: 0;
480
+ width: 0;
481
+ position: absolute;
482
+ pointer-events: none;
483
+ }
484
+
485
+ .simplesocialbuttons-nav.simple-icons .simplesocial-linkedin-share .ssb_counter:after {
486
+ border-color: rgba(255, 255, 255, 0);
487
+ border-right-color: #fff;
488
+ border-width: 5px;
489
+ margin-top: -5px;
490
+ }
491
+
492
+ .simplesocialbuttons-nav.simple-icons .simplesocial-linkedin-share .ssb_counter:before {
493
+ border-color: rgba(204, 204, 204, 0);
494
+ border-right-color: #ccc;
495
+ border-width: 6px;
496
+ margin-top: -6px;
497
+ }
498
+
499
+ .simplesocialbuttons-nav.simple-icons .simplesocial-reddit-share {
500
+ background: #ff4006;
501
+ }*/
502
+
503
+ /*.simplesocialbuttons-nav.simple-icons li a:after{
504
+ display: none;
505
+ }*/
506
+ /*.simplesocialbuttons-nav.simple-icons li a:before {
507
+ width: 24px;
508
+ height: 20px;
509
+ line-height: 20px;
510
+ font-size: 11px;
511
+ position: static;
512
+ }*/
513
+
514
+ .simplesocialbuttons-nav.sm-round li a {
515
  border-style: solid;
516
  border-width: 1px;
517
  border-color: rgb(222, 222, 222);
518
+ background-image: -moz-linear-gradient(-90deg, rgb(255, 255, 255) 0%, rgb(221, 221, 221) 100%);
519
+ background-image: -webkit-linear-gradient(-90deg, rgb(255, 255, 255) 0%, rgb(221, 221, 221) 100%);
520
+ background-image: -ms-linear-gradient(-90deg, rgb(255, 255, 255) 0%, rgb(221, 221, 221) 100%);
521
  border-radius: 4px;
522
  height: 38px;
523
  line-height: 26px;
527
  font-size: 14px;
528
  padding-left: 38px;
529
  position: relative;
530
+ -webkit-transition: all 0.2s ease-in-out;
531
+ transition: all 0.2s ease-in-out;
532
  }
533
+
534
+ .simplesocialbuttons-nav.sm-round li a:hover {
535
+ background-image: -moz-linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(221, 221, 221) 100%);
536
+ background-image: -webkit-linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(221, 221, 221) 100%);
537
+ background-image: -ms-linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(221, 221, 221) 100%);
538
  }
539
+
540
+ .simplesocialbuttons-nav.sm-round li a.simplesocial-fb-share {
541
  color: #43609c;
542
  }
543
+
544
+ .simplesocialbuttons-nav li a.simplesocial-fb-share:after {
545
  content: "\e900";
546
  }
547
+
548
+ .simplesocialbuttons-nav li a.simplesocial-twt-share:after {
549
  content: "\e904";
550
  }
551
+
552
+ .simplesocialbuttons-nav li a.simplesocial-gplus-share:after {
553
  content: "\e901";
554
  }
555
+
556
+ .simplesocialbuttons-nav.sm-round li a.simplesocial-twt-share {
557
  color: #1da1f2;
558
  }
559
+
560
+ .simplesocialbuttons-nav.sm-round li a.simplesocial-gplus-share {
561
  color: #db4437;
562
  }
563
+
564
+ .simplesocialbuttons-nav.simple-round li a {
565
  height: 38px;
566
  line-height: 26px;
567
  padding: 4px 15px 4px 48px;
572
  color: #fff;
573
  border-radius: 3px;
574
  }
575
+
576
+ .simplesocialbuttons-nav.simple-round li a span {
577
  position: relative;
578
  z-index: 1;
579
  }
580
+
581
+ .simplesocialbuttons-nav.simple-round li a.simplesocial-fb-share {
582
  background: #43609c;
583
  }
584
+
585
+ .simplesocialbuttons-nav.simple-round li a.simplesocial-twt-share {
586
  background: #1da1f2;
587
  }
588
+
589
+ .simplesocialbuttons-nav.simple-round li a.simplesocial-gplus-share {
590
  background: #db4437;
591
  }
592
+
593
  .simplesocialbuttons-nav.simple-round li a.simplesocial-fb-share:after,
594
+ .simplesocialbuttons-nav.simple-round li a.simplesocial-fb-share:before {
595
  background: #354e83;
596
  }
597
+
598
  .simplesocialbuttons-nav.simple-round li a.simplesocial-twt-share:after,
599
+ .simplesocialbuttons-nav.simple-round li a.simplesocial-twt-share:before {
600
  background: #1889cf;
601
  }
602
+
603
  .simplesocialbuttons-nav.simple-round li a.simplesocial-gplus-share:after,
604
+ .simplesocialbuttons-nav.simple-round li a.simplesocial-gplus-share:before {
605
  background: #bb372b;
606
  }
607
+
608
+ .simplesocialbuttons-nav.simple-round li a:hover:before {
609
  width: 100%;
610
  }
611
+
612
  .simplesocialbuttons-nav.simple-round li a:before {
613
  content: '';
614
  left: 0;
620
  text-align: center;
621
  line-height: 38px;
622
  border-radius: 3px;
623
+ -webkit-transition: all 0.2s ease-in-out;
624
+ transition: all 0.2s ease-in-out;
625
  }
626
+
627
+ .simplesocialbuttons-nav.round-txt li a {
628
  border-style: solid;
629
  border-width: 1px;
630
  border-color: transparent;
638
  padding-left: 38px;
639
  position: relative;
640
  background: #fff;
641
+ -webkit-transition: all 0.2s ease-in-out;
642
+ transition: all 0.2s ease-in-out;
643
  position: relative;
644
  }
645
+
646
+ .simplesocialbuttons-nav.round-txt li a.simplesocial-fb-share {
647
  color: #43609c;
648
  border-color: #43609c;
649
  }
650
+
651
+ .simplesocialbuttons-nav.round-txt li a.simplesocial-fb-share:hover {
652
  background: #43609c;
653
  color: #fff;
654
  }
655
+
656
+ .simplesocialbuttons-nav.round-txt li a.simplesocial-twt-share {
657
  color: #1da1f2;
658
  border-color: #1da1f2;
659
  }
660
+
661
+ .simplesocialbuttons-nav.round-txt li a.simplesocial-twt-share:hover {
662
  background: #1da1f2;
663
  color: #fff;
664
  }
665
+
666
+ .simplesocialbuttons-nav.round-txt li a.simplesocial-gplus-share {
667
  color: #db4437;
668
  border-color: #db4437;
669
  }
670
+
671
+ .simplesocialbuttons-nav.round-txt li a.simplesocial-gplus-share:hover {
672
  background: #db4437;
673
  color: #fff;
674
  }
675
+
676
  .simplesocialbuttons-nav li a:after {
677
  font-family: 'ssb-icon' !important;
678
  speak: none;
692
  line-height: 38px;
693
  border-radius: 3px;
694
  }
695
+
696
+ .ssb_settings_container .postbox .inside * {
697
  box-sizing: border-box;
698
  }
699
 
700
+ .simplesocialbuttons-nav.round-btm-border li a {
701
  border-radius: 3px;
702
  height: 38px;
703
  line-height: 26px;
708
  padding-left: 38px;
709
  position: relative;
710
  background: #fff;
711
+ -webkit-transition: all 0.2s ease-in-out;
712
+ transition: all 0.2s ease-in-out;
713
  }
714
+
715
+ .simplesocialbuttons-nav.round-btm-border li a:hover {
716
  color: #fff;
717
  }
718
+
719
+ .simplesocialbuttons-nav.round-btm-border li a.simplesocial-fb-share {
720
+ box-shadow: inset 0px 0px 0px 0px #43609c, 0px 2px 0px 0px #43609c, 0px 0px 5px 0px rgba(0, 0, 0, 0.13);
721
  color: #43609c;
722
  }
723
+
724
+ .simplesocialbuttons-nav.round-btm-border li a.simplesocial-fb-share:hover {
725
+ box-shadow: inset 0px -40px 0px 0px #43609c, 0px 2px 0px 0px #43609c, 0px 0px 5px 0px rgba(0, 0, 0, 0.13);
726
  color: #fff;
727
  }
728
+
729
+ .simplesocialbuttons-nav.round-btm-border li a.simplesocial-twt-share {
730
+ box-shadow: inset 0px 0px 0px 0px #1da1f2, 0px 2px 0px 0px #1da1f2, 0px 0px 5px 0px rgba(0, 0, 0, 0.13);
731
  color: #1da1f2;
732
  }
733
+
734
+ .simplesocialbuttons-nav.round-btm-border li a.simplesocial-twt-share:hover {
735
+ box-shadow: inset 0px -40px 0px 0px #1da1f2, 0px 2px 0px 0px #1da1f2, 0px 0px 5px 0px rgba(0, 0, 0, 0.13);
736
  color: #fff;
737
  }
738
+
739
+ .simplesocialbuttons-nav.round-btm-border li a.simplesocial-gplus-share {
740
+ box-shadow: 0px 2px 0px 0px #db4437, 0px 0px 5px 0px rgba(0, 0, 0, 0.13);
741
  color: #db4437;
742
  }
743
+
744
+ .simplesocialbuttons-nav.round-btm-border li a.simplesocial-gplus-share {
745
+ box-shadow: inset 0px 0px 0px 0px #db4437, 0px 2px 0px 0px #db4437, 0px 0px 5px 0px rgba(0, 0, 0, 0.13);
746
  color: #db4437;
747
  }
748
+
749
+ .simplesocialbuttons-nav.round-btm-border li a.simplesocial-gplus-share:hover {
750
+ box-shadow: inset 0px -40px 0px 0px #db4437, 0px 2px 0px 0px #db4437, 0px 0px 5px 0px rgba(0, 0, 0, 0.13);
751
  color: #fff;
752
  }
753
+
754
+ .simplesocialbuttons-nav.flat-button-border li a {
755
  border-radius: 0;
756
  height: 38px;
757
  line-height: 26px;
762
  padding-left: 38px;
763
  position: relative;
764
  color: #fff;
765
+ -webkit-transition: all 0.2s ease-in-out;
766
+ transition: all 0.2s ease-in-out;
767
  }
768
+
769
+ .simplesocialbuttons-nav.flat-button-border li a.simplesocial-fb-share {
770
  background: #43609c;
771
+ box-shadow: inset 0px 0px 0px 0px #354e83, 0px 3px 0px 0px #354e83;
772
  }
773
+
774
+ .simplesocialbuttons-nav.flat-button-border li a.simplesocial-fb-share:hover {
775
+ box-shadow: inset 0px -40px 0px 0px #354e83, 0px 3px 0px 0px #354e83;
776
  }
777
+
778
+ .simplesocialbuttons-nav.flat-button-border li a.simplesocial-twt-share {
779
  background: #1da1f2;
780
+ box-shadow: inset 0px 0px 0px 0px #1889cf, 0px 3px 0px 0px #1889cf;
781
  }
782
+
783
+ .simplesocialbuttons-nav.flat-button-border li a.simplesocial-twt-share:hover {
784
+ box-shadow: inset 0px -40px 0px 0px #1889cf, 0px 3px 0px 0px #1889cf;
785
  }
786
+
787
+ .simplesocialbuttons-nav.flat-button-border li a.simplesocial-gplus-share {
788
  background: #db4437;
789
+ box-shadow: inset 0px 0px 0px 0px #bb372b, 0px 3px 0px 0px #bb372b;
790
  }
791
+
792
+ .simplesocialbuttons-nav.flat-button-border li a.simplesocial-gplus-share:hover {
793
+ box-shadow: inset 0px -40px 0px 0px #bb372b, 0px 3px 0px 0px #bb372b;
794
  }
795
+
796
+ .simplesocialbuttons-nav.round-icon li a {
797
  height: 38px;
798
  line-height: 38px;
799
  width: 38px;
805
  color: #fff;
806
  border-radius: 50%;
807
  }
808
+
809
+ .simplesocialbuttons-nav.round-icon li a .simplesocial-hidden-text {
810
  display: none;
811
  }
812
+
813
+ .simplesocialbuttons-nav.round-icon li a:after {
814
  width: 34px;
815
  height: 34px;
816
  line-height: 34px;
817
  }
818
+
819
+ .simplesocialbuttons-nav.round-icon li a.simplesocial-fb-share {
820
  color: #43609c;
821
  border: 2px solid #354e83;
822
  }
823
+
824
+ .simplesocialbuttons-nav.round-icon li a.simplesocial-fb-share:hover {
825
  color: #fff;
826
  background: #43609c;
827
  }
828
+
829
+ .simplesocialbuttons-nav.round-icon li a.simplesocial-twt-share {
830
  color: #1da1f2;
831
  border: 2px solid #1889cf;
832
  }
833
+
834
+ .simplesocialbuttons-nav.round-icon li a.simplesocial-twt-share:hover {
835
  color: #fff;
836
  background: #1889cf;
837
  }
838
+
839
+ .simplesocialbuttons-nav.round-icon li a.simplesocial-gplus-share {
840
  color: #db4437;
841
  border: 2px solid #bb372b;
842
  }
843
+
844
+ .simplesocialbuttons-nav.round-icon li a.simplesocial-gplus-share:hover {
845
  color: #fff;
846
  background: #bb372b;
847
  }
848
+
849
+ .simplesocialbuttons-style input[type=radio] {
850
  border-radius: 0;
851
  position: relative;
852
  display: none;
853
  }
854
+
855
+ .simplesocialbuttons-style .radio {
856
  border: 1px solid #b4b9be;
857
  background: #fff;
858
  color: #555;
862
  line-height: 0;
863
  height: 16px;
864
  outline: 0;
865
+ padding: 0 !important;
866
  text-align: center;
867
  vertical-align: middle;
868
  width: 16px;
873
  position: absolute;
874
  top: 50%;
875
  left: 50%;
876
+ -webkit-transform: translate(-50%, -50%);
877
+ transform: translate(-50%, -50%);
878
  }
879
+
880
+ .simplesocialbuttons-style input[type="radio"]:checked + .radio {
881
  background: #0085ba;
882
+ border: 1px solid #0085ba;
883
  }
884
+
885
+ .simplesocialbuttons-style input[type="radio"]:checked + .radio:before {
886
  content: "";
887
  width: 10px;
888
  height: 2px;
894
  border: 0;
895
  transform: rotate(-45deg);
896
  }
897
+
898
+ .simplesocialbuttons-style input[type="radio"]:checked + .radio:after {
899
  content: "";
900
  width: 5px;
901
  height: 2px;
907
  border: 0;
908
  transform: rotate(45deg);
909
  }
910
+
911
+ .simplesocialbuttons-style input[type=radio]:checked + .radio .shadow {
912
  display: block;
913
  -webkit-animation-name: checkbox-ripple;
914
  animation-name: checkbox-ripple;
918
  animation-timing-function: ease-out;
919
 
920
  }
921
+
922
+ .simplesocial-postion-outer-wrapper {
923
  font-size: 0;
924
  margin: 0 -20px;
925
  }
926
+
927
+ .simplesocial-postion-outer {
928
  width: 20%;
929
  display: inline-block;
930
  padding: 0 20px;
931
  }
932
+
933
+ .simplesocial-postion-outer label {
934
  font-weight: 600;
935
  font-size: 14px;
936
  color: #444;
937
  display: block;
938
  text-align: center;
939
+ border: 1px solid #ccc;
940
  padding: 13px 15% 20px;
941
  position: relative;
942
  margin-bottom: 40px;
943
  }
944
+
945
+ .simplesocial-postion-outer label.social-active {
946
+ border: 1px solid #0085ba;
947
  }
948
+
949
+ .simplesocial-postion-outer label.simplesocial-popup {
950
  position: relative;
951
  }
952
+
953
+ .simplesocial-postion-outer label.simplesocial-popup .simplesocial-highlight {
954
  position: absolute;
955
  top: 50%;
956
  left: 50%;
957
+ -webkit-transform: translate(-50%, -50%);
958
+ transform: translate(-50%, -50%);
959
  width: 80%;
960
  height: 50%;
961
  background: #0085ba;
962
  box-shadow: 3px 3px #76c5e5;
963
  }
964
+
965
+ .simplesocial-fb-sharehd-line {
966
  display: block;
967
  margin-bottom: 15px;
968
  }
969
+
970
+ .simplesocial-blue-box {
971
  display: block;
972
  height: 107px;
973
  background: #9de0fb;
974
  }
975
+
976
+ .simplesocial-sidebar .simplesocial-highlight {
977
  position: absolute;
978
  top: 60px;
979
  width: 26px;
981
  left: 0;
982
  background: #0085ba;
983
  }
984
+
985
+ .simplesocial-sidebar.social-active .simplesocial-highlight {
986
  -webkit-animation-name: ssb_sidebar; /* Safari 4.0 - 8.0 */
987
+ -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
988
+ animation-name: ssb_sidebar;
989
+ animation-duration: 1s;
990
  }
991
+
992
  @-webkit-keyframes ssb_sidebar {
993
+ from {
994
+ width: 0px;
995
+ }
996
+ to {
997
+ width: 26px;
998
+ }
999
  }
1000
 
1001
  /* Standard syntax */
1002
  @keyframes ssb_sidebar {
1003
+ from {
1004
+ width: 0px;
1005
+ }
1006
+ to {
1007
+ width: 26px;
1008
+ }
1009
  }
1010
+
1011
+ .simplesocial-inline.social-active .simplesocial-highlight {
1012
  -webkit-animation-name: ssb_inline; /* Safari 4.0 - 8.0 */
1013
+ -webkit-animation-duration: 1.5s; /* Safari 4.0 - 8.0 */
1014
+ animation-name: ssb_inline;
1015
+ animation-duration: 1.5s;
1016
  }
1017
+
1018
  @-webkit-keyframes ssb_inline {
1019
+ from {
1020
+ opacity: 0;
1021
+ }
1022
+ to {
1023
+ opacity: 1;
1024
+ }
1025
  }
1026
 
1027
  /* Standard syntax */
1028
  @keyframes ssb_inline {
1029
+ from {
1030
+ opacity: 0;
1031
+ }
1032
+ to {
1033
+ opacity: 1;
1034
+ }
1035
  }
1036
+
1037
+ .simplesocial-media.social-active .simplesocial-highlight {
1038
  -webkit-animation-name: ssb_media; /* Safari 4.0 - 8.0 */
1039
+ -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
1040
+ animation-name: ssb_media;
1041
+ animation-duration: 1s;
1042
  }
1043
+
1044
  @-webkit-keyframes ssb_media {
1045
+ from {
1046
+ opacity: 0;
1047
+ }
1048
+ to {
1049
+ opacity: 1;
1050
+ }
1051
  }
1052
 
1053
  /* Standard syntax */
1054
  @keyframes ssb_media {
1055
+ from {
1056
+ opacity: 0;
1057
+ }
1058
+ to {
1059
+ opacity: 1;
1060
+ }
1061
  }
1062
+
1063
+ .simplesocial-popup.social-active .simplesocial-highlight {
1064
  -webkit-animation-name: ssb_popup; /* Safari 4.0 - 8.0 */
1065
+ -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
1066
+ animation-name: ssb_popup;
1067
+ animation-duration: 1s;
1068
  }
1069
+
1070
  @-webkit-keyframes ssb_popup {
1071
+ from {
1072
+ transform: translate(-50%, -50%) scale(.7);
1073
+ opacity: 0;
1074
+ }
1075
+ to {
1076
+ transform: translate(-50%, -50%) scale(1);
1077
+ opacity: 1;
1078
+ }
1079
  }
1080
 
1081
  /* Standard syntax */
1082
  @keyframes ssb_popup {
1083
+ from {
1084
+ transform: translate(-50%, -50%) scale(.7);
1085
+ opacity: 0;
1086
+ }
1087
+ to {
1088
+ transform: translate(-50%, -50%) scale(1);
1089
+ opacity: 1;
1090
+ }
1091
  }
1092
+
1093
+ .simplesocial-flyin.social-active .simplesocial-highlight {
1094
  -webkit-animation-name: ssb_flyin; /* Safari 4.0 - 8.0 */
1095
+ -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
1096
+ animation-name: ssb_flyin;
1097
+ animation-duration: 1s;
1098
  }
1099
+
1100
  @-webkit-keyframes ssb_flyin {
1101
+ from {
1102
+ height: 0px;
1103
+ }
1104
+ to {
1105
+ height: 54px;
1106
+ }
1107
  }
1108
 
1109
  /* Standard syntax */
1110
  @keyframes ssb_flyin {
1111
+ from {
1112
+ height: 0px;
1113
+ }
1114
+ to {
1115
+ height: 54px;
1116
+ }
1117
  }
1118
+
1119
+ .simplesocial-inline .simplesocial-highlight {
1120
  width: 100%;
1121
  height: 20px;
1122
  background: #0085ba;
1126
  top: 100%;
1127
  left: 0;
1128
  }
1129
+
1130
+ .simplesocial-media .simplesocial-highlight {
1131
  position: absolute;
1132
  top: 11px;
1133
  width: 75px;
1135
  left: 11px;
1136
  background: #0085ba;
1137
  }
1138
+
1139
+ .simplesocial-media .simplesocial-blue-box {
1140
  position: relative;
1141
  }
1142
+
1143
+ .simplesocial-inline .simplesocial-blue-box {
1144
  height: 76px;
1145
  margin-bottom: 31px;
1146
  position: relative;
1147
  }
1148
+
1149
+ .simplesocial-popup .simplesocial-blue-box {
1150
  position: relative;
1151
  }
1152
+
1153
+ .simplesocial-flyin .simplesocial-highlight {
1154
  width: 54px;
1155
  height: 54px;
1156
  background: #0085ba;
1158
  bottom: 0;
1159
  right: 0;
1160
  }
1161
+
1162
+ .simplesocial-postion-box input[type="checkbox"] {
1163
  display: none;
1164
  }
1165
+
1166
+ .simplesocial-postion-box input[type="checkbox"] + .checkbox {
1167
  position: absolute;
1168
  top: 100%;
1169
  left: 50%;
1173
  border-radius: 0;
1174
  width: 16px;
1175
  height: 16px;
1176
+ border: 1px solid #b4b9be;
1177
  }
1178
+
1179
+ .simplesocial-postion-box input[type=checkbox]:checked + .checkbox {
1180
  background: #0085ba;
1181
  border-color: #0085ba;
1182
  }
1183
+
1184
+ .simplesocial-postion-box input[type=checkbox]:checked + .checkbox:before {
1185
  content: "";
1186
  width: 10px;
1187
  height: 2px;
1194
  transform: rotate(-45deg);
1195
  z-index: 100;
1196
  }
1197
+
1198
+ .simplesocial-postion-box input[type=checkbox]:checked + .checkbox:after {
1199
  content: "";
1200
  width: 5px;
1201
  height: 2px;
1208
  transform: rotate(45deg);
1209
  z-index: 100;
1210
  }
1211
+
1212
+ .shadow {
1213
  height: 16px;
1214
  width: 16px;
1215
  position: absolute;
1221
  background: #03a9f4 !important;
1222
 
1223
  }
1224
+
1225
+ .shadow.animated {
1226
  display: block;
1227
  -webkit-animation-name: checkbox-ripple;
1228
  animation-name: checkbox-ripple;
1231
  -webkit-animation-timing-function: ease-out;
1232
  animation-timing-function: ease-out;
1233
  }
1234
+
1235
  @-webkit-keyframes checkbox-ripple {
1236
  100% {
1237
  opacity: 0;
1239
  transform: scale(4);
1240
  }
1241
  }
1242
+
1243
  @keyframes checkbox-ripple {
1244
  100% {
1245
  opacity: 0;
1247
  transform: scale(4);
1248
  }
1249
  }
1250
+
1251
+ .simplesocialbuttons-style-outer {
1252
  width: calc(33.3333% - 13px);
1253
  display: inline-block;
1254
  margin: 5px;
1255
  vertical-align: top;
1256
  }
1257
+
1258
+ .simplesocialbuttons-nav.round-icon ul {
1259
  font-size: 0;
1260
  height: 48px;
1261
  }
1262
+
1263
+ .simplesocialbuttons-nav.round-icon ul li {
1264
  height: 38px;
1265
  }
1266
+
1267
+ .simplesocial-form-section:after {
1268
  content: '';
1269
  display: table;
1270
  clear: both;
1271
  }
1272
+
1273
+ .simplesocial-form-section {
1274
  margin: 9px 0;
1275
  }
1276
+
1277
+ .simplesocial-form-section h5 {
1278
  font-size: 13px;
1279
  font-weight: normal;
1280
  line-height: 28px;
1283
  float: left;
1284
  margin: 0;
1285
  }
1286
+
1287
+ .simplesocial-form-section select {
1288
  width: 120px;
1289
  }
1290
+
1291
+ .simplesocial-form-section .simplesocial-switch {
1292
  width: 33px;
1293
  height: 14px;
1294
  background: #b0afaf;
1297
  position: relative;
1298
  margin-left: 10px;
1299
  }
1300
+
1301
+ .simplesocial-form-section input[type="checkbox"] {
1302
  display: none;
1303
  }
1304
+
1305
+ .simplesocial-form-section input[type="checkbox"]:checked + .simplesocial-switch:after {
1306
  left: 20px;
1307
  background: #0085ba;
1308
  box-shadow: 0px 1px 3px 0px rgba(40, 175, 229, 0.48);
1309
  }
1310
+
1311
+ .simplesocial-form-section input[type="checkbox"]:checked + .simplesocial-switch {
1312
  background: #28afe5;
1313
  }
1314
+
1315
+ .simplesocial-form-section .simplesocial-switch:after {
1316
  width: 20px;
1317
  height: 20px;
1318
  background: #f1f1f1;
1322
  position: absolute;
1323
  left: -8px;
1324
  top: -3px;
1325
+ -webkit-transition: all 0.3s ease-in-out;
1326
+ transition: all 0.3s ease-in-out;
1327
  }
1328
+
1329
  .simplesocial-form-section .simplesocial-switch:active::after {
1330
+ box-shadow: 0 0.25rem 0.5rem rgba(175, 175, 175, 0.28), 0 0 0 1.25rem rgba(175, 175, 175, 0.28);
1331
  z-index: 100;
1332
  }
1333
+
1334
+ .simplesocial-form-section input[type="checkbox"]:checked + .simplesocial-switch:active:after {
1335
  box-shadow: 0 0.25rem 0.5rem rgba(40, 175, 229, 0.28), 0 0 0 1.25rem rgba(40, 175, 229, 0.28);
1336
  z-index: 100;
1337
  }
1338
+
1339
+ .simplesocial-inline-form-section label {
1340
  margin-right: 40px;
1341
  }
1342
+
1343
+ .simplesocial-inline-form-section input[type="checkbox"] {
1344
  margin-right: 20px;
1345
  display: none;
1346
  }
1347
+
1348
+ .simplesocial-inline-form-section .checkbox {
1349
  border: 1px solid #b4b9be;
1350
  background: #fff;
1351
  color: #555;
1356
  height: 16px;
1357
  margin: -4px 4px 0 0;
1358
  outline: 0;
1359
+ padding: 0 !important;
1360
  text-align: center;
1361
  vertical-align: middle;
1362
  width: 16px;
1367
  margin-right: 20px;
1368
  position: relative;
1369
  }
1370
+
1371
+ .simplesocial-inline-form-section input[type="checkbox"]:checked + .checkbox {
1372
  background: #0085ba;
1373
  border-color: #0085ba;
1374
  }
1375
+
1376
+ .simplesocial-inline-form-section input[type=checkbox]:checked + .checkbox:before {
1377
  color: #fff;
1378
  }
1379
+
1380
  .simplesocial-inline-form-section input[type=checkbox]:checked + .checkbox:before {
1381
  content: "";
1382
  width: 10px;
1390
  transform: rotate(-45deg);
1391
  z-index: 100;
1392
  }
1393
+
1394
  .simplesocial-inline-form-section input[type=checkbox]:checked + .checkbox:after {
1395
  content: "";
1396
  width: 5px;
1404
  transform: rotate(45deg);
1405
  z-index: 100;
1406
  }
1407
+
1408
+ .simplesocial-inline-form-section .checkbox .shadow.animated {
1409
  display: block;
1410
  -webkit-animation-name: checkbox-ripple;
1411
  animation-name: checkbox-ripple;
1414
  -webkit-animation-timing-function: ease-out;
1415
  animation-timing-function: ease-out;
1416
  }
1417
+
1418
+ .simplesocial-form-section .select .s-hidden {
1419
  display: none;
1420
  }
1421
+
1422
  /*Code For Select Options*/
1423
  .simplesocial-form-section .s-hidden {
1424
+ visibility: hidden;
1425
+ padding-right: 10px;
1426
  }
1427
+
1428
  .simplesocial-form-section .select {
1429
+ cursor: pointer;
1430
+ display: inline-block;
1431
+ position: relative;
1432
  font-size: 14px;
1433
  width: 280px;
1434
+ color: black;
1435
+ border-bottom: 1px solid #dddddd;
1436
  max-width: calc(100% - 250px);
1437
  }
1438
+
1439
  .simplesocial-form-section .styledSelect {
1440
+ position: absolute;
1441
+ top: 0;
1442
+ right: 0;
1443
+ bottom: 0;
1444
+ left: 0;
1445
+ background-color: white;
1446
  padding: 2px 16px;
1447
+ font: 400 14px 'Source Sans Pro', Arial, Sans-Serif;
1448
  color: #838385;
1449
  line-height: 24px;
1450
  }
1451
+
1452
  .simplesocial-form-section .styledSelect:after {
1453
+ content: "";
1454
+ width: 0;
1455
+ height: 0;
1456
+ border: 5px solid transparent;
1457
+ border-color: #b6b9bc transparent transparent transparent;
1458
+ position: absolute;
1459
+ top: 12px;
1460
+ right: 14px;
1461
+ }
1462
+
1463
+ div.inside .simplesocial-form-section ul.options li {
1464
  margin-left: 0;
1465
  list-style: none;
1466
  }
1467
+
1468
+ .simplesocial-form-section .styledSelect:active, .simplesocial-form-section .styledSelect.active {
1469
+ background-color: #eee;
1470
  }
1471
+
1472
  .simplesocial-form-section .left-section .options li {
1473
  list-style-type: none;
1474
  margin-left: 0;
1475
  }
1476
+
1477
  .simplesocial-form-section .options {
1478
  display: none;
1479
  position: absolute;
1493
  width: 277px;
1494
  width: 100%;
1495
  }
1496
+
1497
  .simplesocial-form-section .options li {
1498
+ margin: 0 0;
1499
+ padding: 6px 16px;
1500
  font-size: 14px;
1501
  color: rgba(0, 0, 0, 0.87);
1502
  }
1503
+
1504
  .simplesocial-form-section .options li:hover {
1505
+ background-color: rgba(0, 0, 0, 0.1);
1506
  }
1507
+
1508
+ .simplesocial-form-section .select {
1509
  display: block;
1510
  height: 28px;
1511
  border-radius: 0;
1512
  background: #fff;
1513
  float: left;
1514
  }
1515
+
1516
+ .simplesocial-form-section .styledSelect {
1517
  border-radius: 0;
1518
  }
1519
+
1520
+ .simplesocial-input {
1521
  width: 500px;
1522
  float: left;
1523
  position: relative;
1524
  max-width: calc(100% - 250px);
1525
  }
1526
+
1527
+ .simplesocial-input textarea:focus {
1528
  outline: none;
1529
  box-shadow: none;
1530
  }
1531
+
1532
+ .simplesocial-input textarea {
1533
  width: 100%;
1534
+ border: 0;
1535
  border-bottom: 1px solid #ddd;
1536
  position: relative;
1537
  z-index: 1;
1540
  resize: none;
1541
  height: 80px;
1542
  }
1543
+
1544
+ .simplesocial-input textarea:focus ~ .highlight {
1545
+ -webkit-animation: inputHighlighter 0.3s ease;
1546
+ -moz-animation: inputHighlighter 0.3s ease;
1547
+ animation: inputHighlighter 0.3s ease;
1548
  }
1549
+
1550
+ .simplesocial-input textarea:focus {
1551
  outline: none;
1552
  box-shadow: none;
1553
  }
1554
+
1555
+ .simplesocial-input input {
1556
  width: 100%;
1557
+ border: 0;
1558
  border-bottom: 1px solid #ddd;
1559
  position: relative;
1560
  z-index: 1;
1561
  background: none;
1562
  box-shadow: none;
1563
  }
1564
+
1565
+ .simplesocial-input .highlight {
1566
  width: 120px;
1567
  height: 25px;
1568
  position: absolute;
1571
  background: rgba(40, 175, 229, 0.2);
1572
  background: none;
1573
  }
1574
+
1575
+ .simplesocial-input input:focus ~ .highlight {
1576
+ -webkit-animation: inputHighlighter 0.3s ease;
1577
+ -moz-animation: inputHighlighter 0.3s ease;
1578
+ animation: inputHighlighter 0.3s ease;
1579
  }
1580
+
1581
  .simplesocial-input .bar {
1582
  position: relative;
1583
  display: block;
1584
  width: 100%;
1585
  }
1586
+
1587
+ .simplesocial-input .bar:before, .simplesocial-input .bar:after {
1588
  content: '';
1589
  height: 2px;
1590
  width: 0;
1595
  -moz-transition: 0.2s ease all;
1596
  -webkit-transition: 0.2s ease all;
1597
  }
1598
+
1599
  .simplesocial-input .bar:before {
1600
  left: 50%;
1601
  }
1602
+
1603
  .simplesocial-input .bar:after {
1604
  right: 50%;
1605
  }
1606
+
1607
  .simplesocial-input input:focus ~ .bar:before, .simplesocial-input input:focus ~ .bar:after {
1608
  width: 50%;
1609
  }
1610
+
1611
+ .simplesocial-input.simplesocial-number {
1612
  outline: none;
1613
  width: 200px;
1614
  text-align: center;
1615
  }
1616
+
1617
+ .simplesocial-input.simplesocial-number input[type="number"] {
1618
  outline: none;
1619
  margin: 0;
1620
  box-shadow: none !important;
1621
  text-align: center;
1622
  }
1623
+
1624
+ .simplesocial-input input:focus {
1625
  outline: none;
1626
  box-shadow: none !important;
1627
  }
1628
+
1629
  .simplesocial-input textarea:focus ~ .bar:before, .simplesocial-input textarea:focus ~ .bar:after {
1630
  width: 50%;
1631
  }
1632
+
1633
+ .simpleshare-acordions {
1634
  display: none;
1635
  }
1636
+
1637
+ .simpleshare-acordions h3 {
1638
  cursor: pointer;
1639
  position: relative;
1640
  }
1641
+
1642
+ .ssb_settings_container .postbox-content {
1643
  padding: 12px;
1644
  }
1645
+
1646
+ .ssb_settings_container .postbox-content p {
1647
  margin-top: 0;
1648
  }
1649
+
1650
+ .ssb_settings_container .postbox-content h4 ~ h4 {
1651
  margin-top: 20px;
1652
  }
1653
+
1654
+ .ssb_settings_container .postbox-content h4 {
1655
  margin-bottom: 5px;
1656
  }
1657
+
1658
+ .ssb_settings_container #poststuff .postbox.simpleshare-acordions {
1659
+ border: 1px solid #e5e5e5;
1660
  }
1661
+
1662
+ .ssb_settings_container #poststuff .postbox.simpleshare-acordions .inside {
1663
  padding: 0;
1664
  margin: 0;
1665
  }
1666
+
1667
+ .ssb_settings_container .postbox.simpleshare-acordions .inside h3 {
1668
  margin: 0;
1669
+ border: 0;
1670
  padding-right: 26px;
1671
  position: relative;
1672
  }
1673
+
1674
+ .ssb_settings_container .postbox.simpleshare-acordions .inside h3.simpleshare-active {
1675
  border-bottom: 1px solid #e5e5e5;
1676
  }
1677
+
1678
+ .ssb_settings_container .postbox.simpleshare-acordions .inside h3:after {
1679
  width: 10px;
1680
  height: 2px;
1681
  position: absolute;
1684
  background: #000;
1685
  content: '';
1686
  }
1687
+
1688
+ .ssb_settings_container .postbox.simpleshare-acordions .inside h3:before {
1689
  height: 10px;
1690
  width: 2px;
1691
  position: absolute;
1693
  right: 14px;
1694
  background: #000;
1695
  content: '';
1696
+ -webkit-transition: all 0.2s ease-in-out;
1697
+ -moz-transition: all 0.2s ease-in-out;
1698
+ -ms-transition: all 0.2s ease-in-out;
1699
+ transition: all 0.2s ease-in-out;
1700
  }
1701
+
1702
+ .ssb_settings_container .postbox.simpleshare-acordions .inside h3.simpleshare-active:before {
1703
  -webkit-transform: rotate(-90deg);
1704
  transform: rotate(-90deg);
1705
  }
1706
+
1707
+ .selection-color {
1708
  float: left;
1709
  }
1710
+
1711
+ .ssb_settings_container .postbox .inside .selection-color * {
1712
  box-sizing: content-box;
1713
  }
1714
+
1715
+ .ssb_goto_pro_section {
1716
  background: #dbf5ff;
1717
  padding: 25px 20px;
1718
+ border: 1px solid #0085ba;
1719
  border-radius: 5px;
1720
  margin: 20px 0;
1721
  }
1722
+
1723
+ .ssb_settings_container .postbox-content .ssb_goto_pro_section h4 {
1724
  font-size: 17px;
1725
  margin: 0 0 25px;
1726
  }
1727
+
1728
+ .ssb_goto_pro_button {
1729
  padding: 7px 12px;
1730
  background: #0085ba;
1731
+ border: 1px solid #006799;
1732
  border-radius: 5px;
1733
  display: inline-block;
1734
  color: #fff;
1736
  box-shadow: 0px 2px 0px 0px rgba(0, 103, 153, 1);
1737
  position: relative;
1738
  }
1739
+
1740
+ .ssb_goto_pro_button:hover {
1741
  top: 2px;
1742
  box-shadow: 0px 0px 0px 0px rgba(0, 103, 153, 1);
1743
  color: #fff;
1744
  background: #006799;
1745
  }
1746
+
1747
  /* ANIMATIONS ================ */
1748
  @-webkit-keyframes inputHighlighter {
1749
+ from {
1750
+ background: rgba(40, 175, 229, 0.2);
1751
+ }
1752
+ to {
1753
+ width: 0;
1754
+ background: transparent;
1755
+ }
1756
  }
1757
+
1758
  @-moz-keyframes inputHighlighter {
1759
+ from {
1760
+ background: rgba(40, 175, 229, 0.2);
1761
+ }
1762
+ to {
1763
+ width: 0;
1764
+ background: transparent;
1765
+ }
1766
  }
1767
+
1768
  @keyframes inputHighlighter {
1769
+ from {
1770
+ background: rgba(40, 175, 229, 0.2);
1771
+ }
1772
+ to {
1773
+ width: 0;
1774
+ background: transparent;
1775
+ }
1776
  }
1777
+
1778
  .simple-social-buttons-help-page h2 {
1779
+ padding-top: 15px;
1780
  }
1781
+
1782
+ .simple-social-buttons-log-file {
1783
  background: #0085ba !important;
1784
  border-color: #0073aa #006799 #006799 !important;
1785
  -webkit-box-shadow: 0 1px 0 #006799 !important;
1788
  text-decoration: none !important;
1789
  text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
1790
  }
1791
+
1792
+ .ssb-log-file-sniper {
1793
  padding: 5px;
1794
  display: none;
1795
  }
1796
+
1797
+ .ssb-log-file-text {
1798
  padding: 5px;
1799
  display: none;
1800
  color: #009306;
1801
  }
1802
+
1803
  @media screen and (max-width: 1919px) {
1804
+ .simplesocialbuttons-style-outer {
1805
  width: calc(50% - 12px);
1806
  margin-left: 0;
1807
  margin-right: 0;
1808
  }
1809
  }
1810
+
1811
  @media screen and (max-width: 1500px) {
1812
+ .simplesocial-postion-outer {
1813
  width: 33.333%;
1814
  }
1815
  }
1816
+
1817
  @media screen and (max-width: 1450px) {
1818
+ .simplesocialbuttons-style-outer {
1819
  width: 100%;
1820
  }
1821
  }
1822
+
1823
  @media screen and (max-width: 1100px) {
1824
+ .simplesocial-postion-outer {
1825
  width: 50%;
1826
  }
1827
  }
1828
 
1829
+ @media only screen and (max-width: 850px) {
1830
 
1831
+ .ssb_settings_container {
1832
+ width: 100%;
 
 
1833
  }
1834
+
1835
+ .ssb_right_sidebar {
1836
  float: left;
1837
  }
1838
+
1839
+ .ssb_settings_container #poststuff .ssb_settings_box h2 {
1840
  width: 120px;
1841
  }
1842
+
1843
+ .simplesocial-form-section h5 {
1844
  width: 200px;
1845
  }
1846
+
1847
+ .simplesocial-form-section .select, .simplesocial-input {
1848
  max-width: calc(100% - 200px);
1849
  }
1850
  }
1851
+
1852
  @media screen and (max-width: 480px) {
1853
+ .simplesocial-postion-outer {
1854
  width: 100%;
1855
  max-width: 300px;
1856
  }
1857
+
1858
+ .simplesocial-postion-outer-wrapper {
1859
  text-align: center;
1860
  }
1861
+
1862
+ .simplesocial-form-section h5 {
1863
  width: 100%;
1864
  }
1865
+
1866
+ .simplesocial-form-section .select, .simplesocial-input {
1867
  width: 100%;
1868
  max-width: 100%;
1869
  }
1870
+
1871
+ .simplesocial-inline-form-section label {
1872
  margin-right: 10px;
1873
  }
1874
+
1875
+ .simplesocial-inline-form-section .checkbox {
1876
  margin-right: 5px;
1877
  }
1878
  }
1879
 
1880
+ .nav-tab .dashicons {
1881
  vertical-align: middle;
1882
  margin-top: -4px;
1883
  margin-right: 4px;
1884
  }
1885
+
1886
+ .nav-tab:not([href^="#"]) {
1887
  background: #000;
1888
  color: #fff;
1889
  }
1890
+
1891
+ .nav-tab:not([href^="#"]) .dashicons {
1892
  color: #FFDF00;
1893
  }
1894
+
1895
+ /*Code For Widget Settings social follow*/
1896
+ .simpleshare-widget-settings h2 {
1897
+ overflow: hidden;
1898
+ position: relative;
1899
+ margin-top: 2em;
1900
+ line-height: 1.5;
1901
+ }
1902
+
1903
+ .simpleshare-widget-settings hr {
1904
+ margin: 2em 0 0;
1905
+ }
1906
+
1907
+ .simpleshare-widget-settings h2:after {
1908
+ content: '';
1909
+ width: 100%;
1910
+ border: .5px solid #e5e5e5;
1911
+ top: 50%;
1912
+ left: 0;
1913
+ position: absolute;
1914
+ }
1915
+
1916
+ .simpleshare-widget-settings h2 span {
1917
+ display: inline-block;
1918
+ background: #fff;
1919
+ padding-right: 10px;
1920
+ position: relative;
1921
+ z-index: 1;
1922
+ }
1923
+
1924
+ /*.simpleshare-checklist label{*/
1925
+ /*font-weight: bold;*/
1926
+ /*}*/
1927
+ /*End Select Settings social follow*/
assets/css/front.css CHANGED
@@ -114,9 +114,659 @@ transition: all 0.3s ease-in-out;
114
  .simplesocialbuttons button.simplesocial-viber-share:after{
115
  content: "\e905";
116
  font-family: 'ssb-icon';
117
- font-family: 'ssb-icon';
118
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  /*=======================================
121
  = Gredient Button =
122
  =======================================*/
@@ -1139,15 +1789,11 @@ div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-round-b
1139
  color: #ffffff;
1140
  background: #db4437;
1141
  }
1142
- div.simplesocialbuttons.simplesocialbuttons-float-right-center button .ssb_counter{
1143
  left: -10px;
1144
  font-size: 10px;
1145
  }
1146
- div.simplesocialbuttons.simplesocialbuttons-float-left-center button .ssb_counter{
1147
- right: -10px;
1148
- font-size: 10px;
1149
- left: auto;
1150
- }
1151
  .simplesocialbuttons-float-right-center button .ssb_counter:after{
1152
  display: none;
1153
  }
@@ -1262,7 +1908,7 @@ div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-flat-bu
1262
  background: #ffffff;
1263
  border-color: #db4437;
1264
  }
1265
- div[class*="simplesocialbuttons-float"] button .ssb_counter,div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-sm-round .ssb_counter{
1266
  width: 15px;
1267
  height: 15px;
1268
  color: #fff;
@@ -1278,29 +1924,35 @@ div[class*="simplesocialbuttons-float"] button .ssb_counter,div[class*="simpleso
1278
 
1279
  div[class*="simplesocialbuttons-float"].simplesocial-round-txt button .ssb_counter{
1280
  border-radius: 50%;
1281
- height: 18px;
1282
- min-width: 18px;
1283
- line-height: 16px;
1284
  top: -8px;
1285
  left: -8px;
 
 
 
 
 
 
1286
  }
1287
  /*=======================================================
1288
  = Code for floating share buttons =
1289
  =======================================================*/
1290
- div[class*="simplesocialbuttons-float"] button{
1291
  height: 36px;
1292
  width: 36px;
1293
  box-sizing: border-box;
1294
  }
1295
- div[class*="simplesocialbuttons-float"] button span.simplesocialtxt{
1296
  display: none;
1297
  }
1298
- div[class*="simplesocialbuttons-float"] button .ssb_counter{
1299
  position: absolute;
1300
  color: #000;
1301
  line-height: 15px;
1302
  }
1303
- div[class*="simplesocialbuttons-float"].simplesocialbuttons button{
1304
  padding-left: 36px;
1305
  padding-right: 0 !important;
1306
  margin: 10px 0;
@@ -1331,6 +1983,9 @@ div[class*="simplesocialbuttons-float"].simplesocialbuttons-fade-in{
1331
  .ssb-fb-like span{
1332
  vertical-align: middle !important;
1333
  }
 
 
 
1334
  div[class*="simplesocialbuttons-float"].simplesocialbuttons .ssb-fb-like{
1335
  margin: 10px 0;
1336
  }
@@ -1550,6 +2205,7 @@ div.simplesocialbuttons.simplesocialbuttons-float-right-center{
1550
  transform: translateY(-50%);
1551
  margin: 0;
1552
  }
 
1553
  div.simplesocialbuttons-float-left-post{
1554
  position: fixed;
1555
  top: 50%;
@@ -1619,3 +2275,193 @@ div[class*="simplesocialbuttons-float"].simplesocial-simple-round button[class*
1619
  display: none !important;
1620
  }
1621
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  .simplesocialbuttons button.simplesocial-viber-share:after{
115
  content: "\e905";
116
  font-family: 'ssb-icon';
 
117
  }
118
+ /*=======================================
119
+ = Simple Style =
120
+ =======================================*/
121
+ .simplesocial-simple-icons button {
122
+ position: relative;
123
+ padding: 2px;
124
+ font-size: 11px;
125
+ line-height: 1.5;
126
+ border-radius: 3px;
127
+ vertical-align: middle;
128
+ text-align: left;
129
+ color: #fff;
130
+ padding-left: 20px;
131
+ }
132
+ .simplesocial-simple-icons.simplesocialbuttons-float-right-center button{
133
+ float: right;
134
+ }
135
+ div[class*="simplesocialbuttons-float"].simplesocial-simple-icons.ssb_counter-activate{
136
+ width: 126px;
137
+ }
138
+ .simplesocial-simple-icons.simplesocialbuttons button:after{
139
+ display: none;
140
+ }
141
+ /*.simplesocial-simple-icons button {
142
+ position: relative;
143
+ padding: 2px;
144
+ font-size: 11px;
145
+ line-height: 1.5;
146
+ border-radius: 3px;
147
+ vertical-align: middle;
148
+ text-align: left;
149
+ color: #fff;
150
+ padding-left: 20px;
151
+ }
152
+ .simplesocial-simple-icons.simplesocialbuttons button:after{
153
+ display: none;
154
+ }
155
+ .simplesocial-simple-icons .simplesocial-fb-share{
156
+ background: #4267b2;
157
+ height: 20px;
158
+ line-height: 20px;
159
+ padding: 0 0 0 2px;
160
+ display: inline-block;
161
+ }
162
+ .simplesocial-simple-icons button.simplesocial-fb-share:after{
163
+ display: none;
164
+ }
165
+ .simplesocial-simple-icons .ssb_fbshare_counter{
166
+ padding-left: 0;
167
+ }
168
+ .simplesocial-simple-icons .simplesocial-twt-share{
169
+ position: relative;
170
+ height: 20px;
171
+ box-sizing: border-box;
172
+ padding: 1px 8px 1px 6px;
173
+ background-color: #1b95e0;
174
+ color: #fff;
175
+ border-radius: 3px;
176
+ font-weight: 500;
177
+ cursor: pointer;
178
+ display: inline-block;
179
+ }
180
+ .simplesocial-simple-icons button span.ssb_twitter_counter{
181
+ padding-left: 0;
182
+ }
183
+ .simplesocial-simple-icons .simplesocial-gplus-share{
184
+ background: #fff;
185
+ color: #db4437;
186
+ border:1px solid rgba(0,0,0,.17);
187
+ padding: 0px 2px 0px 2px;
188
+ position: relative;
189
+ width: 32px;
190
+ height: 20px;
191
+ border-radius: 2px;
192
+ text-align: center;
193
+ }
194
+ .simplesocial-simple-icons.ssb_counter-activate .simplesocial-gplus-share{
195
+ margin-right: 34px;
196
+ }
197
+ .simplesocial-simple-icons .simplesocial-gplus-share:after{
198
+ position: static;
199
+ }
200
+ .simplesocial-simple-icons .simplesocial-gplus-share .simplesocialtxt{
201
+ display: none;
202
+ }
203
+ .simplesocial-simple-icons .simplesocial-whatsapp-share{
204
+ background: rgb(37, 211, 102);
205
+ }
206
+ .simplesocial-simple-icons .simplesocial-pinterest-share{
207
+ background: #bd081c;
208
+ }
209
+ .simplesocial-simple-icons .simplesocial-viber-share{
210
+ background: #665cac;
211
+ }
212
+ .simplesocial-simple-icons .simplesocial-linkedin-share{
213
+ background: #0077b5;
214
+ position: relative;
215
+ }
216
+ .simplesocial-simple-icons .simplesocial-linkedin-share span{
217
+ font-family: 'Arial', Helvetica, sans-serif;
218
+ }
219
+ .simplesocial-simple-icons.ssb_counter-activate .simplesocial-linkedin-share{
220
+ margin-right: 34px;
221
+ }
222
+ .simplesocial-simple-icons .simplesocial-linkedin-share .ssb_counter{
223
+ padding: 2px 2px;
224
+ background: #fff;
225
+ border: 1px solid #ccc;
226
+ border-radius: 3px;
227
+ position: absolute;
228
+ top: -1px;
229
+ left: 100%;
230
+ color: #000;
231
+ margin-left: 7px;
232
+ width: 27px;
233
+ text-align: center;
234
+ }
235
+ .simplesocial-simple-icons .simplesocial-linkedin-share .ssb_counter:after, .simplesocial-simple-icons .simplesocial-linkedin-share .ssb_counter:before {
236
+ right: 100%;
237
+ top: 50%;
238
+ border: solid transparent;
239
+ content: " ";
240
+ height: 0;
241
+ width: 0;
242
+ position: absolute;
243
+ pointer-events: none;
244
+ }
245
+
246
+ .simplesocial-simple-icons .simplesocial-linkedin-share .ssb_counter:after {
247
+ border-color: rgba(255, 255, 255, 0);
248
+ border-right-color: #fff;
249
+ border-width: 5px;
250
+ margin-top: -5px;
251
+ }
252
+ .simplesocial-simple-icons .simplesocial-linkedin-share .ssb_counter:before {
253
+ border-color: rgba(204, 204, 204, 0);
254
+ border-right-color: #ccc;
255
+ border-width: 6px;
256
+ margin-top: -6px;
257
+ }
258
+ .simplesocial-simple-icons .simplesocial-reddit-share{
259
+ background: #ff4006;
260
+ }
261
+ .simplesocial-simple-icons .simplesocial-gplus-share .ssb_counter{
262
+ padding: 2px 2px;
263
+ background: #fff;
264
+ border: 1px solid #ccc;
265
+ border-radius: 3px;
266
+ position: absolute;
267
+ top: -1px;
268
+ left: 100%;
269
+ color: #000;
270
+ margin-left: 7px;
271
+ width: 27px;
272
+ text-align: center;
273
+ }
274
+ .simplesocial-simple-icons .simplesocial-gplus-share
275
+ .simplesocial-simple-icons .simplesocial-gplus-share .ssb_counter:after, .simplesocial-simple-icons .simplesocial-gplus-share .ssb_counter:before {
276
+ right: 100%;
277
+ top: 50%;
278
+ border: solid transparent;
279
+ content: " ";
280
+ height: 0;
281
+ width: 0;
282
+ position: absolute;
283
+ pointer-events: none;
284
+ }
285
+
286
+ .simplesocial-simple-icons .simplesocial-gplus-share .ssb_counter:after {
287
+ border-color: rgba(255, 255, 255, 0);
288
+ border-right-color: #fff;
289
+ border-width: 5px;
290
+ margin-top: -5px;
291
+ }
292
+ .simplesocial-simple-icons .simplesocial-gplus-share .ssb_counter:before {
293
+ border-color: rgba(204, 204, 204, 0);
294
+ border-right-color: #ccc;
295
+ border-width: 6px;
296
+ margin-top: -6px;
297
+ }
298
+ div[class*="simplesocialbuttons-float"].simplesocial-simple-icons.simplesocialbuttons button:after{
299
+ width: 36px;
300
+ height: 36px;
301
+ line-height: 36px;
302
+ font-size: 16px;
303
+ float: left;
304
+ position: absolute;
305
+ top: 0;
306
+ left: 0;
307
+ }
308
+ div[class*="simplesocialbuttons-float"].simplesocial-simple-icons.simplesocialbuttons button .ssb_counter{
309
+ background: #fff;
310
+ margin:0;
311
+ color: #ccc;
312
+ padding: 0;
313
+ width: 22px;
314
+ height: 22px;
315
+ line-height: 22px;
316
+ text-align: center;
317
+ z-index:1;
318
+ border:1px solid #ccc;
319
+ }
320
+ div[class*="simplesocialbuttons-float"].simplesocial-simple-icons.simplesocialbuttons .simplesocial-fb-share .ssb_counter{
321
+ color: #4267b2;
322
+ }
323
+ div[class*="simplesocialbuttons-float"].simplesocial-simple-icons.simplesocialbuttons .simplesocial-twt-share .ssb_counter{
324
+ color: #4267b2;
325
+ }
326
+ div[class*="simplesocialbuttons-float"].simplesocial-simple-icons.simplesocialbuttons .simplesocial-gplus-share .ssb_counter{
327
+ color: #db4437;
328
+ }
329
+ div[class*="simplesocialbuttons-float"].simplesocial-simple-icons.simplesocialbuttons .simplesocial-linkedin-share .ssb_counter{
330
+ color: #4267b2;
331
+ }
332
+ div[class*="simplesocialbuttons-float"].simplesocial-simple-icons.simplesocialbuttons .simplesocial-reddit-share .ssb_counter{
333
+ color: #ff4006;
334
+ }
335
+ div[class*="simplesocialbuttons-float"].simplesocial-simple-icons.simplesocialbuttons .simplesocial-pinterest-share .ssb_counter{
336
+ color: #bd081c;
337
+ }
338
+ div[class*="simplesocialbuttons-float"].simplesocial-simple-icons.simplesocialbuttons button .ssb_counter:after,
339
+ div[class*="simplesocialbuttons-float"].simplesocial-simple-icons.simplesocialbuttons button .ssb_counter:before{
340
+ display: none;
341
+ }*/
342
+ .simplesocial-simple-icons .ssb_fbshare-icon{
343
+ background: #4267b2;
344
+ border: 1px solid #4267b2;
345
+ color: #fff;
346
+ cursor: pointer;
347
+ font-family: Helvetica, Arial, sans-serif;
348
+ -webkit-font-smoothing: antialiased;
349
+ -webkit-user-select: none;
350
+ white-space: nowrap;
351
+ padding: 0;
352
+ line-height: 18px;
353
+ height: 20px;
354
+ }
355
+ .simplesocial-simple-icons .ssb_fbshare-icon:hover {
356
+ background: #365899;
357
+ border: 1px solid #365899;
358
+ }
359
+ .simplesocial-simple-icons .ssb_fbshare-icon .icon{
360
+ width: 16px;
361
+ height: 16px;
362
+ display: inline-block;
363
+ vertical-align: middle;
364
+ position: relative;
365
+ top: -1px;
366
+ left: 2px;
367
+ }
368
+ .simplesocial-simple-icons .ssb_fbshare-icon .simplesocialtxt{
369
+ padding: 0 3px 0 3px;
370
+ font-weight: bold;
371
+ }
372
+ .simplesocial-simple-icons .ssb_fbshare-icon .ssb_counter{
373
+ padding-right: 4px;
374
+ display: inline-block;
375
+ }
376
+ .simplesocial-simple-icons .ssb_tweet-icon{
377
+ position: relative;
378
+ height: 20px;
379
+ box-sizing: border-box;
380
+ padding: 1px 8px 1px 6px;
381
+ background-color: #1b95e0;
382
+ color: #fff;
383
+ border-radius: 3px;
384
+ font-weight: 500;
385
+ cursor: pointer;
386
+ font: normal normal normal 11px/18px 'Helvetica Neue',Arial,sans-serif;
387
+ }
388
+ .simplesocial-simple-icons .ssb_tweet-icon:hover{
389
+ background: #0c7abf;
390
+ }
391
+ .simplesocial-simple-icons .ssb_tweet-icon .icon{
392
+ position: relative;
393
+ top: 2px;
394
+ display: inline-block;
395
+ width: 14px;
396
+ height: 14px;
397
+ line-height: 14px;
398
+ background: transparent 0 0 no-repeat;
399
+ vertical-align: top;
400
+ }
401
+ .simplesocial-simple-icons .ssb_tweet-icon .simplesocialtxt {
402
+ margin-left: 1px;
403
+ white-space: nowrap;
404
+ vertical-align: top;
405
+ }
406
+ .simplesocial-simple-icons .ssb_gplus-icon{
407
+ padding: 0;
408
+ background: none;
409
+ border:0;
410
+ }
411
+ .simplesocial-simple-icons .ssb_gplus-icon .icon{
412
+ border: 1px solid #d5d5d5;
413
+ border: 1px solid rgba(0,0,0,.17);
414
+ -webkit-border-radius: 2px;
415
+ border-radius: 2px;
416
+ -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.05);
417
+ box-shadow: 0 1px 0 rgba(0,0,0,.05);
418
+ -webkit-box-sizing: border-box;
419
+ box-sizing: border-box;
420
+ -webkit-transition: background-color .218s,border-color .218s,box-shadow .218s;
421
+ transition: background-color .218s,border-color .218s,box-shadow .218s;
422
+ -webkit-user-select: none;
423
+ -webkit-appearance: none;
424
+ background-color: #fff;
425
+ background-image: none;
426
+ color: #262626;
427
+ cursor: pointer;
428
+ outline: none;
429
+ overflow: hidden;
430
+ position: relative;
431
+ text-align: center;
432
+ vertical-align: middle;
433
+ white-space: nowrap;
434
+ width: auto;
435
+ height: 20px;
436
+ line-height: 18px;
437
+ padding: 0;
438
+ display: inline-block;
439
+ }
440
+ .simplesocial-simple-icons .ssb_gplus-icon:active .icon{
441
+ background-color: #e5e5e5;
442
+ border: 1px solid #aaa;
443
+ border: 1px solid rgba(0,0,0,.25);
444
+ -webkit-box-shadow: inset 0 1px 0 #ddd;
445
+ box-shadow: inset 0 1px 0 #ddd;
446
+ color: #262626;
447
+ }
448
+ .simplesocial-simple-icons .ssb_gplus-icon:hover .icon{
449
+ border: 1px solid #aaa;
450
+ border: 1px solid rgba(0,0,0,.25);
451
+ -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.1);
452
+ box-shadow: 0 1px 0 rgba(0,0,0,0.1);
453
+ }
454
+ .simplesocial-simple-icons .ssb_gplus-icon .ssb_counter{
455
+ position: relative;
456
+ background: #fff;
457
+ border: 1px solid #ccc;
458
+ -webkit-border-radius: 2px;
459
+ border-radius: 2px;
460
+ display: inline-block;
461
+ margin-left: 5px;
462
+ padding: 0 6px;
463
+ max-width: 53px;
464
+ min-width: 10px;
465
+ font-size: 11px;
466
+ line-height: 18px;
467
+ color: #666;
468
+ font-family: Roboto,arial,sans-serif;
469
+ white-space: nowrap;
470
+ vertical-align: middle;
471
+ }
472
+ .simplesocial-simple-icons .ssb_gplus-icon .ssb_counter:after, .simplesocial-simple-icons .ssb_gplus-icon .ssb_counter:before{
473
+ right: 100%;
474
+ top: 50%;
475
+ border: solid transparent;
476
+ content: " ";
477
+ height: 0;
478
+ width: 0;
479
+ position: absolute;
480
+ pointer-events: none;
481
+ }
482
+ .simplesocial-simple-icons .ssb_gplus-icon .ssb_counter:after{
483
+ border-color: rgba(255,255,255,0);
484
+ border-right-color: #fff;
485
+ border-width: 4px;
486
+ margin-top: -4px;
487
+ }
488
+ .simplesocial-simple-icons .ssb_gplus-icon .ssb_counter:before{
489
+ border-color: rgba(192,192,192,0);
490
+ border-right-color: #ccc;
491
+ border-width: 5px;
492
+ margin-top: -5px;
493
+ }
494
+ .simplesocial-simple-icons .ssb_gplus-icon svg{
495
+ fill: #db4437;
496
+ }
497
+ .simplesocial-simple-icons .ssb_gplus-icon .simplesocialtxt{
498
+ display: none;
499
+ }
500
+ .simplesocial-simple-icons .ssb_linkedin-icon{
501
+ background: none;
502
+ border:0;
503
+ padding: 0;
504
+ height: 20px;
505
+ }
506
+ .simplesocial-simple-icons .ssb_linkedin-icon .icon{
507
+ background-position: 0px -593px;
508
+ background-repeat: no-repeat;
509
+ background-color: #0077b5;
510
+ background-size: initial;
511
+ cursor: pointer;
512
+ border: 0;
513
+ border-right: 1px solid #066094;
514
+ overflow: hidden;
515
+ padding: 0;
516
+ margin: 0;
517
+ position: absolute;
518
+ left: 0px;
519
+ top: 0px;
520
+ display: block;
521
+ width: 20px;
522
+ height: 20px;
523
+ float: right;
524
+ border-radius: 2px;
525
+ -webkit-border-radius: 2px;
526
+ border-top-right-radius: 2px;
527
+ border-bottom-right-radius: 2px;
528
+ -webkit-border-top-right-radius: 2px;
529
+ -webkit-border-bottom-right-radius: 2px;
530
+ text-align: center;
531
+ line-height: 17px;
532
+ }
533
+ .simplesocial-simple-icons .ssb_linkedin-icon .icon svg{
534
+ vertical-align: middle;
535
+ }
536
+ .simplesocial-simple-icons .ssb_linkedin-icon .simplesocialtxt{
537
+ color: #fff;
538
+ cursor: pointer;
539
+ display: block;
540
+ white-space: nowrap;
541
+ float: left;
542
+ margin-left: 1px;
543
+ vertical-align: top;
544
+ overflow: hidden;
545
+ text-align: center;
546
+ height: 20px;
547
+ padding: 0 4px 0 23px;
548
+ border: 1px solid #000;
549
+ border-top-color: #0077b5;
550
+ border-right-color: #0077b5;
551
+ border-bottom-color: #0077b5;
552
+ border-left-color: #0077b5;
553
+ text-shadow: 0 -1px #005887;
554
+ line-height: 20px;
555
+ border-radius: 2px;
556
+ -webkit-border-radius: 2px;
557
+ border-top-right-radius: 2px;
558
+ border-bottom-right-radius: 2px;
559
+ -webkit-border-top-right-radius: 2px;
560
+ -webkit-border-bottom-right-radius: 2px;
561
+ background-color: #0077b5;
562
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0077b5), color-stop(100%,#0077b5));
563
+ background-image: -webkit-linear-gradient(top, #0077b5 0%, #0077b5 100%);
564
+ font: bold 11px Arial, Helvetica, sans-serif;
565
+ line-height: 20px;
566
+ }
567
+ .simplesocial-simple-icons .ssb_linkedin-icon:hover .simplesocialtxt{
568
+ color: #fff;
569
+ border: 1px solid #000;
570
+ border-top-color: #066094;
571
+ border-right-color: #066094;
572
+ border-bottom-color: #066094;
573
+ border-left-color: #066094;
574
+ background-color: #066094;
575
+ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#066094), color-stop(100%,#066094));
576
+ background-image: -webkit-linear-gradient(top, #066094 0%, #066094 100%);
577
+ }
578
+ .simplesocial-simple-icons .ssb_linkedin-icon .ssb_counter{
579
+ display: inline-block;
580
+ font-size: 11px;
581
+ color: #4e4e4e;
582
+ font-weight: bold;
583
+ font-family: Arial, sans-serif;
584
+ line-height: 18px;
585
+ padding: 0 7px 0 7px;
586
+ background: #fff;
587
+ border: 1px solid #caccce;
588
+ margin-left: 8px;
589
+ border-radius: 5px;
590
+ position: relative;
591
+ }
592
+ .simplesocial-simple-icons .ssb_linkedin-icon .ssb_counter:after, .simplesocial-simple-icons .ssb_linkedin-icon .ssb_counter:before {
593
+ right: 100%;
594
+ top: 50%;
595
+ border: solid transparent;
596
+ content: " ";
597
+ height: 0;
598
+ width: 0;
599
+ position: absolute;
600
+ pointer-events: none;
601
+ }
602
 
603
+ .simplesocial-simple-icons .ssb_linkedin-icon .ssb_counter:after {
604
+ border-color: rgba(255, 255, 255, 0);
605
+ border-right-color: #fff;
606
+ border-width: 3px;
607
+ margin-top: -3px;
608
+ }
609
+ .simplesocial-simple-icons .ssb_linkedin-icon .ssb_counter:before {
610
+ border-color: rgba(202, 204, 206, 0);
611
+ border-right-color: #caccce;
612
+ border-width: 4px;
613
+ margin-top: -4px;
614
+ }
615
+ .simplesocial-simple-icons .ssb_pinterest-icon{
616
+ padding: 0;
617
+ background: none;
618
+ position: relative;
619
+ }
620
+ .simplesocial-simple-icons .ssb_pinterest-icon .simplesocialtxt{
621
+ border-radius: 2px;
622
+ text-indent: 20px;
623
+ width: auto;
624
+ padding: 0 4px 0 0;
625
+ text-align: center;
626
+ text-decoration: none;
627
+ font:bold 11px/20px "Helvetica Neue", Helvetica, sans-serif;
628
+ font-weight: bold;
629
+ color: #fff;
630
+ background: #bd081c;
631
+ background-size: 14px 14px;
632
+ display: inline-block;
633
+ -webkit-font-smoothing: antialiased;
634
+ }
635
+ .simplesocial-simple-icons .ssb_pinterest-icon:hover .simplesocialtxt{
636
+ background-color: #aa0719;
637
+ box-shadow: none;
638
+ color: #fff;
639
+ }
640
+ .simplesocial-simple-icons .ssb_pinterest-icon .icon{
641
+ position: absolute;
642
+ top: 3px;
643
+ left: 3px;
644
+ }
645
+ .simplesocial-simple-icons .ssb_pinterest-icon .icon svg{
646
+ width: 14px;
647
+ height: 14px;
648
+ }
649
+ .simplesocial-simple-icons .ssb_pinterest-icon .ssb_counter{
650
+ height: 20px;
651
+ width: 40px;
652
+ font-weight: bold;
653
+ font-family: "Helvetica Neue", Helvetica, sans-serif;
654
+ font-size: 10px;
655
+ line-height: 20px;
656
+ color: #555;
657
+ background: #efefef;
658
+ border-radius: 2px;
659
+ display: inline-block;
660
+ text-align: center;
661
+ vertical-align: top;
662
+ position: relative;
663
+ margin-left: 6px;
664
+ }
665
+ .simplesocial-simple-icons .ssb_pinterest-icon .ssb_counter:before{
666
+ top: 3px;
667
+ left: -4px;
668
+ border-right: 7px solid #efefef;
669
+ border-top: 7px solid transparent;
670
+ border-bottom: 7px solid transparent;
671
+ position: absolute;
672
+ content: '';
673
+ }
674
+ .simplesocial-simple-icons .ssb_viber-icon{
675
+ border-radius: 2px;
676
+ width: auto;
677
+ padding: 0 4px 0 0;
678
+ text-align: center;
679
+ text-decoration: none;
680
+ font:bold 11px/20px "Helvetica Neue", Helvetica, sans-serif;
681
+ font-weight: bold;
682
+ color: #fff;
683
+ background: #665cac;
684
+ background-size: 14px 14px;
685
+ display: inline-block;
686
+ -webkit-font-smoothing: antialiased;
687
+ height: 20px;
688
+ text-indent: 20px;
689
+ }
690
+ .simplesocial-simple-icons .ssb_viber-icon:hover{
691
+ background: #524a8c;
692
+ }
693
+ .simplesocial-simple-icons .ssb_viber-icon .icon{
694
+ text-indent: 0;
695
+ position: absolute;
696
+ top: 3px;
697
+ left: 3px;
698
+ }
699
+ .simplesocial-simple-icons .ssb_viber-icon .icon svg{
700
+ width: 14px;
701
+ fill: #fff;
702
+ }
703
+ .simplesocial-simple-icons .ssb_whatsapp-icon{
704
+ border-radius: 2px;
705
+ width: auto;
706
+ padding: 0 4px 0 0;
707
+ text-align: center;
708
+ text-decoration: none;
709
+ font:bold 11px/20px "Helvetica Neue", Helvetica, sans-serif;
710
+ font-weight: bold;
711
+ color: #fff;
712
+ background: #34AF23;
713
+ background-size: 14px 14px;
714
+ display: inline-block;
715
+ -webkit-font-smoothing: antialiased;
716
+ height: 20px;
717
+ text-indent: 20px;
718
+ }
719
+ .simplesocial-simple-icons .ssb_whatsapp-icon:hover{
720
+ background: #2b8e1e;
721
+ }
722
+ .simplesocial-simple-icons .ssb_whatsapp-icon .icon{
723
+ text-indent: 0;
724
+ position: absolute;
725
+ top: 3px;
726
+ left: 3px;
727
+ }
728
+ .simplesocial-simple-icons .ssb_whatsapp-icon .icon svg{
729
+ width: 14px;
730
+ fill: #fff;
731
+ height: 14px;
732
+ }
733
+ .simplesocial-simple-icons .ssb_reddit-icon{
734
+ border-radius: 2px;
735
+ width: auto;
736
+ padding: 0 4px 0 0;
737
+ text-align: center;
738
+ text-decoration: none;
739
+ font:bold 11px/20px "Helvetica Neue", Helvetica, sans-serif;
740
+ font-weight: bold;
741
+ color: #fff;
742
+ background: #ff4500;
743
+ background-size: 14px 14px;
744
+ display: inline-block;
745
+ -webkit-font-smoothing: antialiased;
746
+ height: 20px;
747
+ text-indent: 20px;
748
+ }
749
+ .simplesocial-simple-icons .ssb_reddit-icon:hover{
750
+ background: #d33c04;
751
+ }
752
+ .simplesocial-simple-icons .ssb_reddit-icon .icon{
753
+ text-indent: 0;
754
+ position: absolute;
755
+ top: 3px;
756
+ left: 3px;
757
+ }
758
+ .simplesocial-simple-icons .ssb_reddit-icon .icon svg{
759
+ width: 14px;
760
+ fill: #fff;
761
+ height: 14px;
762
+ }
763
+ div[class*="simplesocialbuttons-float"].simplesocial-simple-icons{
764
+ width: 82px;
765
+ text-align: left;
766
+ }
767
+ /*========================================
768
+ = Code For Simple Style =
769
+ ========================================*/
770
  /*=======================================
771
  = Gredient Button =
772
  =======================================*/
1789
  color: #ffffff;
1790
  background: #db4437;
1791
  }
1792
+ div.simplesocialbuttons.simplesocialbuttons-float-right-center:not(.simplesocial-simple-icons) button .ssb_counter{
1793
  left: -10px;
1794
  font-size: 10px;
1795
  }
1796
+
 
 
 
 
1797
  .simplesocialbuttons-float-right-center button .ssb_counter:after{
1798
  display: none;
1799
  }
1908
  background: #ffffff;
1909
  border-color: #db4437;
1910
  }
1911
+ div[class*="simplesocialbuttons-float"]:not(.simplesocial-simple-icons) button .ssb_counter,div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-sm-round:not(.simplesocial-simple-icons) .ssb_counter{
1912
  width: 15px;
1913
  height: 15px;
1914
  color: #fff;
1924
 
1925
  div[class*="simplesocialbuttons-float"].simplesocial-round-txt button .ssb_counter{
1926
  border-radius: 50%;
1927
+ height: 22px;
1928
+ min-width: 22px;
1929
+ line-height: 20px;
1930
  top: -8px;
1931
  left: -8px;
1932
+ color: #fff;
1933
+ }
1934
+ div.simplesocialbuttons.simplesocialbuttons-float-left-center:not(.simplesocial-simple-icons) button .ssb_counter{
1935
+ right: -10px;
1936
+ font-size: 10px;
1937
+ left: auto;
1938
  }
1939
  /*=======================================================
1940
  = Code for floating share buttons =
1941
  =======================================================*/
1942
+ div[class*="simplesocialbuttons-float"]:not(.simplesocial-simple-icons) button{
1943
  height: 36px;
1944
  width: 36px;
1945
  box-sizing: border-box;
1946
  }
1947
+ div[class*="simplesocialbuttons-float"]:not(.simplesocial-simple-icons) button span.simplesocialtxt{
1948
  display: none;
1949
  }
1950
+ div[class*="simplesocialbuttons-float"]:not(.simplesocial-simple-icons) button .ssb_counter{
1951
  position: absolute;
1952
  color: #000;
1953
  line-height: 15px;
1954
  }
1955
+ div[class*="simplesocialbuttons-float"].simplesocialbuttons:not(.simplesocial-simple-icons) button{
1956
  padding-left: 36px;
1957
  padding-right: 0 !important;
1958
  margin: 10px 0;
1983
  .ssb-fb-like span{
1984
  vertical-align: middle !important;
1985
  }
1986
+ .ssb-fb-like iframe{
1987
+ visibility: inherit !important;
1988
+ }
1989
  div[class*="simplesocialbuttons-float"].simplesocialbuttons .ssb-fb-like{
1990
  margin: 10px 0;
1991
  }
2205
  transform: translateY(-50%);
2206
  margin: 0;
2207
  }
2208
+
2209
  div.simplesocialbuttons-float-left-post{
2210
  position: fixed;
2211
  top: 50%;
2275
  display: none !important;
2276
  }
2277
  }
2278
+ /*========================================
2279
+ = Code For widget =
2280
+ ========================================*/
2281
+
2282
+ .ssb_followers a.ssb_button{
2283
+ border:0;
2284
+ cursor: pointer;
2285
+ display: inline-block;
2286
+ margin: 2.5px 0;
2287
+ -webkit-box-shadow: none;
2288
+ box-shadow: none;
2289
+ box-sizing: border-box;
2290
+ font-weight: normal;
2291
+ text-transform: capitalize !important;
2292
+ width: 100%;
2293
+ text-decoration: none !important;
2294
+ }
2295
+ .ssb_followers a.ssb_button:focus, .ssb_followers a.ssb_button:hover{
2296
+ outline: none;
2297
+ text-decoration: none !important;
2298
+ }
2299
+ .ssb_followers a.ssb_button.simplesocial-fb-follow:after{
2300
+ content: "\e900";
2301
+ }
2302
+ .ssb_followers a.ssb_button.simplesocial-twt-follow:after{
2303
+ content: "\e904";
2304
+ }
2305
+ .ssb_followers a.ssb_button.simplesocial-gplus-follow:after{
2306
+ content: "\e901";
2307
+ }
2308
+ .ssb_followers a.ssb_button.simplesocial-whatsapp-follow:after{
2309
+ content: "\e906";
2310
+ }
2311
+ .ssb_followers a.ssb_button.simplesocial-viber-follow:after{
2312
+ content: "\e666";
2313
+ }
2314
+ .ssb_followers a.ssb_button.simplesocial-reddit-follow:after{
2315
+ content: "\e903";
2316
+ }
2317
+ .ssb_followers a.ssb_button.simplesocial-linkedin-follow:after{
2318
+ content: "\e907";
2319
+ }
2320
+ .ssb_followers a.ssb_button.simplesocial-pinterest-follow:after{
2321
+ content: "\e902";
2322
+ }
2323
+ .ssb_followers a.ssb_button.simplesocial-yt-follow:after{
2324
+ content: "\e908";
2325
+ }
2326
+ .ssb_followers a.ssb_button:after {
2327
+ font-family: 'ssb-icon' !important;
2328
+ speak: none;
2329
+ font-style: normal;
2330
+ font-weight: normal;
2331
+ font-variant: normal;
2332
+ text-transform: none;
2333
+ /* Better Font Rendering =========== */
2334
+ -webkit-font-smoothing: antialiased;
2335
+ speak: none;
2336
+ font-style: normal;
2337
+ font-weight: normal;
2338
+ font-variant: normal;
2339
+ text-transform: none;
2340
+ /* Better Font Rendering =========== */
2341
+ -webkit-font-smoothing: antialiased;
2342
+ -moz-osx-font-smoothing: grayscale;
2343
+ left: 0;
2344
+ position: absolute;
2345
+ font-size: 17px;
2346
+ top: 0;
2347
+ width: 38px;
2348
+ height: 38px;
2349
+ text-align: center;
2350
+ line-height: 38px;
2351
+ border-radius: 3px;
2352
+ }
2353
+ .ssb_followers a.ssb_button.simplesocial-viber-follow:after{
2354
+ content: "\e905";
2355
+ font-family: 'ssb-icon';
2356
+ }
2357
+ /*========================================
2358
+ = Code For Style 2 =
2359
+ ========================================*/
2360
+
2361
+
2362
+ .ssb_followers.simplesocial-simple-round a.ssb_button {
2363
+ height: 38px;
2364
+ line-height: 30px;
2365
+ padding: 4px 30px 4px 48px;
2366
+ display: inline-block;
2367
+ text-decoration: none;
2368
+ font-size: 14px;
2369
+ position: relative;
2370
+ color: #fff;
2371
+ margin:5px 0;
2372
+ border-radius: 3px;
2373
+ /*width: 38px;*/
2374
+ -webkit-box-shadow: none;
2375
+ box-shadow: none;
2376
+ max-width: 100%;
2377
+ }
2378
+ .ssb_followers.simplesocial-simple-round a.ssb_button:hover{
2379
+ -webkit-box-shadow: none;
2380
+ box-shadow: none;
2381
+ color: #fff;
2382
+ }
2383
+ .ssb_followers.simplesocial-simple-round a.ssb_button:before {
2384
+ content: '';
2385
+ left: 0;
2386
+ position: absolute;
2387
+ font-size: 17px;
2388
+ top: 0;
2389
+ width: 38px;
2390
+ height: 38px;
2391
+ text-align: center;
2392
+ line-height: 38px;
2393
+ border-radius: 3px;
2394
+ -webkit-transition: all 0.2s ease-in-out;
2395
+ transition: all 0.2s ease-in-out;
2396
+ }
2397
+ .ssb_followers.simplesocial-simple-round a.ssb_button span{
2398
+ position: relative;
2399
+ z-index: 1;
2400
+ }
2401
+ .ssb_followers.simplesocial-simple-round a.ssb_button:hover:before{
2402
+ width: 100%;
2403
+ }
2404
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-fb-follow{
2405
+ background: #43609c;
2406
+ }
2407
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-twt-follow{
2408
+ background: #1da1f2;
2409
+ }
2410
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-gplus-follow{
2411
+ background: #db4437;
2412
+ }
2413
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-whatsapp-follow{
2414
+ background: #34AF23;
2415
+ }
2416
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-viber-follow{
2417
+ background: #59267c;
2418
+ }
2419
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-reddit-follow{
2420
+ background: #ff4500;
2421
+ }
2422
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-linkedin-follow{
2423
+ background: #0077B5;
2424
+ }
2425
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-pinterest-follow{
2426
+ background: #C92228;
2427
+ }
2428
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-yt-follow{
2429
+ background: #bb0000;
2430
+ }
2431
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-yt-follow:after, .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-yt-follow:before {
2432
+ background: #790606;
2433
+ }
2434
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-fb-follow:after, .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-fb-follow:before {
2435
+ background: #354e83;
2436
+ }
2437
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-twt-follow:after, .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-twt-follow:before {
2438
+ background: #1889cf;
2439
+ }
2440
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-gplus-follow:after, .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-gplus-follow:before {
2441
+ background: #bb372b;
2442
+ }
2443
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-viber-follow:after, .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-viber-follow:before {
2444
+ background: #3e115d;
2445
+ }
2446
+
2447
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-whatsapp-follow:after, .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-whatsapp-follow:before {
2448
+ background: #176e0b;
2449
+ }
2450
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-reddit-follow:after, .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-reddit-follow:before {
2451
+ background: #ce3b04;
2452
+ }
2453
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-linkedin-follow:after, .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-linkedin-follow:before {
2454
+ background: #044568;
2455
+ }
2456
+ .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-pinterest-follow:after, .ssb_followers.simplesocial-simple-round a.ssb_button.simplesocial-pinterest-follow:before {
2457
+ background: #af040a;
2458
+ }
2459
+ .ssb_followers.simplesocial-simple-round a.ssb_button span.widget_counter{
2460
+ position: absolute;
2461
+ right: 5px;
2462
+ }
2463
+
2464
+ /*===== End of Code For Style 2 ======*/
2465
+ /*========================================
2466
+ = End Code For widget =
2467
+ ========================================*/
assets/fonts/ssb-icon.eot CHANGED
Binary file
assets/fonts/ssb-icon.svg CHANGED
@@ -15,4 +15,5 @@
15
  <glyph unicode="&#xe905;" glyph-name="viber" horiz-adv-x="926" d="M262.144-64c-14.336 0-27.648 0-41.984 0 0 53.248-1.024 107.52 0 161.792 0 19.456-6.144 28.672-23.552 33.792-62.464 17.408-109.568 54.272-140.288 111.616-14.336 25.6-26.624 53.248-32.768 81.92-10.24 43.008-16.384 86.016-23.552 130.048 0 31.744 0 63.488 0 95.232 4.096 30.72 7.168 62.464 12.288 94.208 8.192 60.416 19.456 119.808 57.344 171.008 54.272 72.704 130.048 107.52 215.040 126.976 40.96 9.216 82.944 13.312 123.904 19.456 32.768 0 65.536 0 99.328 0 6.144-1.024 12.288-2.048 18.432-3.072 46.080-7.168 92.16-11.264 137.216-20.48 134.144-28.672 224.256-105.472 247.808-246.784 6.144-33.792 10.24-68.608 16.384-103.424 0-43.008 0-86.016 0-129.024-1.024-7.168-2.048-14.336-3.072-22.528-7.168-41.984-13.312-83.968-23.552-124.928-28.672-106.496-96.256-174.080-204.8-195.584-63.488-12.288-129.024-15.36-194.56-21.504-28.672-3.072-60.416 5.12-84.992-5.12-24.576-11.264-41.984-39.936-61.44-60.416-32.768-32.768-62.464-62.464-93.184-93.184zM264.192 4.608c33.792 32.768 66.56 61.44 95.232 95.232 23.552 28.672 52.224 37.888 88.064 38.912 64.512 1.024 129.024 4.096 193.536 12.288 129.024 15.36 193.536 73.728 223.232 200.704 25.6 111.616 22.528 223.232 2.048 335.872-20.48 110.592-86.016 175.104-192.512 200.704-49.152 12.288-101.376 20.48-151.552 25.6-98.304 9.216-196.608 1.024-290.816-33.792-68.608-25.6-125.952-65.536-151.552-137.216-12.288-32.768-18.432-68.608-23.552-103.424-15.36-100.352-17.408-200.704 9.216-300.032 21.504-79.872 63.488-142.336 147.456-165.888 4.096-1.024 7.168-3.072 10.24-4.096 32.768-13.312 41.984-26.624 41.984-62.464-1.024-33.792-1.024-66.56-1.024-102.4zM604.16 223.744c-9.216 2.048-19.456 3.072-27.648 7.168-163.84 69.632-289.792 180.224-366.592 340.992-11.264 22.528-19.456 46.080-28.672 70.656-22.528 61.44 33.792 114.688 86.016 115.712 10.24 0 24.576-7.168 30.72-14.336 25.6-32.768 50.176-66.56 72.704-101.376 12.288-18.432 8.192-34.816-10.24-48.128-41.984-30.72-46.080-51.2-16.384-103.424s72.704-87.040 126.976-109.568c20.48-9.216 37.888-5.12 50.176 14.336 20.48 33.792 53.248 43.008 94.208 13.312 23.552-16.384 46.080-33.792 68.608-51.2 23.552-18.432 26.624-36.864 13.312-63.488-19.456-39.936-50.176-63.488-93.184-70.656zM488.448 805.376c149.504-1.024 264.192-142.336 233.472-287.744-4.096-18.432-13.312-27.648-27.648-24.576-17.408 4.096-19.456 17.408-16.384 32.768 24.576 139.264-89.088 253.952-228.352 230.4-18.432-3.072-29.696 3.072-32.768 17.408-2.048 14.336 6.144 23.552 25.6 26.624 15.36 2.048 30.72 3.072 46.080 5.12zM486.4 737.792c108.544-3.072 187.392-96.256 172.032-198.656-2.048-15.36-8.192-25.6-25.6-23.552-16.384 2.048-20.48 13.312-18.432 29.696 9.216 90.112-56.32 156.672-146.432 147.456-15.36-1.024-26.624 3.072-28.672 19.456s9.216 23.552 23.552 25.6c10.24-2.048 19.456-1.024 23.552 0zM593.92 563.712c1.024-13.312-3.072-24.576-19.456-26.624-16.384-1.024-22.528 9.216-24.576 24.576-4.096 38.912-25.6 59.392-64.512 63.488-15.36 1.024-24.576 9.216-23.552 23.552 1.024 16.384 12.288 21.504 28.672 20.48 54.272-1.024 103.424-50.176 103.424-105.472z" />
16
  <glyph unicode="&#xe906;" glyph-name="whatsapp" horiz-adv-x="1022" d="M454.656 960c38.912 0 77.824 0 116.736 0 4.096-1.024 8.192-4.096 12.288-4.096 206.848-30.72 370.688-179.2 420.864-381.952 7.168-29.696 11.264-60.416 16.384-92.16 0-18.432 0-37.888 0-56.32-2.048-13.312-4.096-27.648-6.144-40.96-48.128-345.088-423.936-545.792-728.064-381.952-9.216 5.12-23.552 5.12-34.816 3.072-45.056-11.264-90.112-24.576-135.168-37.888-37.888-11.264-75.776-21.504-116.736-32.768 26.624 74.752 51.2 145.408 77.824 216.064 7.168 19.456 5.12 33.792-5.12 51.2-169.984 292.864-9.216 664.576 320.512 743.424 20.48 6.144 40.96 10.24 61.44 14.336zM124.928 52.736c46.080 12.288 88.064 23.552 129.024 36.864 14.336 4.096 25.6 3.072 38.912-5.12 84.992-50.176 176.128-69.632 274.432-56.32 241.664 30.72 409.6 258.048 368.64 498.688-40.96 242.688-278.528 401.408-517.12 348.16-301.056-68.608-435.2-415.744-257.024-667.648 9.216-12.288 11.264-22.528 5.12-37.888-15.36-38.912-26.624-75.776-41.984-116.736zM237.568 592.384c1.024 45.056 17.408 83.968 48.128 116.736 30.72 33.792 79.872 24.576 96.256-17.408 11.264-27.648 19.456-57.344 32.768-84.992 11.264-24.576 6.144-43.008-8.192-62.464-33.792-46.080-32.768-46.080-1.024-95.232 38.912-58.368 91.136-101.376 155.648-131.072 16.384-7.168 27.648-5.12 37.888 10.24 11.264 16.384 23.552 30.72 34.816 47.104 8.192 12.288 17.408 16.384 31.744 10.24 35.84-18.432 72.704-35.84 107.52-55.296 6.144-4.096 12.288-14.336 12.288-22.528 3.072-58.368-41.984-115.712-100.352-121.856-29.696-4.096-62.464 0-92.16 8.192-116.736 33.792-203.776 110.592-274.432 207.872-32.768 46.080-65.536 94.208-76.8 150.528-2.048 11.264-2.048 25.6-4.096 39.936z" />
17
  <glyph unicode="&#xe907;" glyph-name="linkedin" horiz-adv-x="1071" d="M841.728-62.976c0 5.12 0 8.192 0 12.288 0 123.904 0 246.784-1.024 370.688 0 29.696-5.12 58.368-18.432 84.992-19.456 40.96-57.344 59.392-103.424 56.32-58.368-4.096-95.232-36.864-113.664-90.112-6.144-17.408-5.12-36.864-6.144-55.296 0-122.88 0-244.736 0-367.616 0-11.264 0-11.264-11.264-11.264-68.608 0-138.24 0-206.848 0-3.072 0-7.168 0-10.24 0 0 230.4 0 459.776 0 690.176 3.072 0 6.144 0 9.216 0 69.632 0 140.288 0 209.92 0 8.192 0 10.24-2.048 10.24-10.24-1.024-27.648 0-56.32 0-86.016 8.192 10.24 14.336 18.432 20.48 26.624 38.912 49.152 90.112 76.8 153.6 83.968 54.272 5.12 106.496-1.024 156.672-25.6 43.008-21.504 75.776-53.248 98.304-95.232 31.744-58.368 41.984-121.856 41.984-187.392 0-130.048 0-259.072 0-389.12 0-2.048 0-5.12 0-7.168-76.8 0-152.576 0-229.376 0zM14.336-64c0 5.12 0 8.192 0 11.264 0 222.208 0 445.44 0 667.648 0 11.264 0 11.264 11.264 11.264 68.608 0 138.24 0 206.848 0 8.192 0 11.264-2.048 11.264-10.24 0-223.232 0-446.464 0-670.72 0-8.192-2.048-10.24-10.24-10.24-69.632 0-139.264 0-208.896 0-3.072 1.024-6.144 1.024-10.24 1.024zM129.024 720.384c-45.056 1.024-83.968 15.36-109.568 55.296-38.912 59.392-18.432 151.552 64.512 176.128 44.032 13.312 87.040 10.24 125.952-16.384 38.912-27.648 53.248-66.56 47.104-112.64s-31.744-76.8-75.776-93.184c-16.384-6.144-34.816-8.192-52.224-11.264 0 1.024 0 2.048 0 2.048z" />
 
18
  </font></defs></svg>
15
  <glyph unicode="&#xe905;" glyph-name="viber" horiz-adv-x="926" d="M262.144-64c-14.336 0-27.648 0-41.984 0 0 53.248-1.024 107.52 0 161.792 0 19.456-6.144 28.672-23.552 33.792-62.464 17.408-109.568 54.272-140.288 111.616-14.336 25.6-26.624 53.248-32.768 81.92-10.24 43.008-16.384 86.016-23.552 130.048 0 31.744 0 63.488 0 95.232 4.096 30.72 7.168 62.464 12.288 94.208 8.192 60.416 19.456 119.808 57.344 171.008 54.272 72.704 130.048 107.52 215.040 126.976 40.96 9.216 82.944 13.312 123.904 19.456 32.768 0 65.536 0 99.328 0 6.144-1.024 12.288-2.048 18.432-3.072 46.080-7.168 92.16-11.264 137.216-20.48 134.144-28.672 224.256-105.472 247.808-246.784 6.144-33.792 10.24-68.608 16.384-103.424 0-43.008 0-86.016 0-129.024-1.024-7.168-2.048-14.336-3.072-22.528-7.168-41.984-13.312-83.968-23.552-124.928-28.672-106.496-96.256-174.080-204.8-195.584-63.488-12.288-129.024-15.36-194.56-21.504-28.672-3.072-60.416 5.12-84.992-5.12-24.576-11.264-41.984-39.936-61.44-60.416-32.768-32.768-62.464-62.464-93.184-93.184zM264.192 4.608c33.792 32.768 66.56 61.44 95.232 95.232 23.552 28.672 52.224 37.888 88.064 38.912 64.512 1.024 129.024 4.096 193.536 12.288 129.024 15.36 193.536 73.728 223.232 200.704 25.6 111.616 22.528 223.232 2.048 335.872-20.48 110.592-86.016 175.104-192.512 200.704-49.152 12.288-101.376 20.48-151.552 25.6-98.304 9.216-196.608 1.024-290.816-33.792-68.608-25.6-125.952-65.536-151.552-137.216-12.288-32.768-18.432-68.608-23.552-103.424-15.36-100.352-17.408-200.704 9.216-300.032 21.504-79.872 63.488-142.336 147.456-165.888 4.096-1.024 7.168-3.072 10.24-4.096 32.768-13.312 41.984-26.624 41.984-62.464-1.024-33.792-1.024-66.56-1.024-102.4zM604.16 223.744c-9.216 2.048-19.456 3.072-27.648 7.168-163.84 69.632-289.792 180.224-366.592 340.992-11.264 22.528-19.456 46.080-28.672 70.656-22.528 61.44 33.792 114.688 86.016 115.712 10.24 0 24.576-7.168 30.72-14.336 25.6-32.768 50.176-66.56 72.704-101.376 12.288-18.432 8.192-34.816-10.24-48.128-41.984-30.72-46.080-51.2-16.384-103.424s72.704-87.040 126.976-109.568c20.48-9.216 37.888-5.12 50.176 14.336 20.48 33.792 53.248 43.008 94.208 13.312 23.552-16.384 46.080-33.792 68.608-51.2 23.552-18.432 26.624-36.864 13.312-63.488-19.456-39.936-50.176-63.488-93.184-70.656zM488.448 805.376c149.504-1.024 264.192-142.336 233.472-287.744-4.096-18.432-13.312-27.648-27.648-24.576-17.408 4.096-19.456 17.408-16.384 32.768 24.576 139.264-89.088 253.952-228.352 230.4-18.432-3.072-29.696 3.072-32.768 17.408-2.048 14.336 6.144 23.552 25.6 26.624 15.36 2.048 30.72 3.072 46.080 5.12zM486.4 737.792c108.544-3.072 187.392-96.256 172.032-198.656-2.048-15.36-8.192-25.6-25.6-23.552-16.384 2.048-20.48 13.312-18.432 29.696 9.216 90.112-56.32 156.672-146.432 147.456-15.36-1.024-26.624 3.072-28.672 19.456s9.216 23.552 23.552 25.6c10.24-2.048 19.456-1.024 23.552 0zM593.92 563.712c1.024-13.312-3.072-24.576-19.456-26.624-16.384-1.024-22.528 9.216-24.576 24.576-4.096 38.912-25.6 59.392-64.512 63.488-15.36 1.024-24.576 9.216-23.552 23.552 1.024 16.384 12.288 21.504 28.672 20.48 54.272-1.024 103.424-50.176 103.424-105.472z" />
16
  <glyph unicode="&#xe906;" glyph-name="whatsapp" horiz-adv-x="1022" d="M454.656 960c38.912 0 77.824 0 116.736 0 4.096-1.024 8.192-4.096 12.288-4.096 206.848-30.72 370.688-179.2 420.864-381.952 7.168-29.696 11.264-60.416 16.384-92.16 0-18.432 0-37.888 0-56.32-2.048-13.312-4.096-27.648-6.144-40.96-48.128-345.088-423.936-545.792-728.064-381.952-9.216 5.12-23.552 5.12-34.816 3.072-45.056-11.264-90.112-24.576-135.168-37.888-37.888-11.264-75.776-21.504-116.736-32.768 26.624 74.752 51.2 145.408 77.824 216.064 7.168 19.456 5.12 33.792-5.12 51.2-169.984 292.864-9.216 664.576 320.512 743.424 20.48 6.144 40.96 10.24 61.44 14.336zM124.928 52.736c46.080 12.288 88.064 23.552 129.024 36.864 14.336 4.096 25.6 3.072 38.912-5.12 84.992-50.176 176.128-69.632 274.432-56.32 241.664 30.72 409.6 258.048 368.64 498.688-40.96 242.688-278.528 401.408-517.12 348.16-301.056-68.608-435.2-415.744-257.024-667.648 9.216-12.288 11.264-22.528 5.12-37.888-15.36-38.912-26.624-75.776-41.984-116.736zM237.568 592.384c1.024 45.056 17.408 83.968 48.128 116.736 30.72 33.792 79.872 24.576 96.256-17.408 11.264-27.648 19.456-57.344 32.768-84.992 11.264-24.576 6.144-43.008-8.192-62.464-33.792-46.080-32.768-46.080-1.024-95.232 38.912-58.368 91.136-101.376 155.648-131.072 16.384-7.168 27.648-5.12 37.888 10.24 11.264 16.384 23.552 30.72 34.816 47.104 8.192 12.288 17.408 16.384 31.744 10.24 35.84-18.432 72.704-35.84 107.52-55.296 6.144-4.096 12.288-14.336 12.288-22.528 3.072-58.368-41.984-115.712-100.352-121.856-29.696-4.096-62.464 0-92.16 8.192-116.736 33.792-203.776 110.592-274.432 207.872-32.768 46.080-65.536 94.208-76.8 150.528-2.048 11.264-2.048 25.6-4.096 39.936z" />
17
  <glyph unicode="&#xe907;" glyph-name="linkedin" horiz-adv-x="1071" d="M841.728-62.976c0 5.12 0 8.192 0 12.288 0 123.904 0 246.784-1.024 370.688 0 29.696-5.12 58.368-18.432 84.992-19.456 40.96-57.344 59.392-103.424 56.32-58.368-4.096-95.232-36.864-113.664-90.112-6.144-17.408-5.12-36.864-6.144-55.296 0-122.88 0-244.736 0-367.616 0-11.264 0-11.264-11.264-11.264-68.608 0-138.24 0-206.848 0-3.072 0-7.168 0-10.24 0 0 230.4 0 459.776 0 690.176 3.072 0 6.144 0 9.216 0 69.632 0 140.288 0 209.92 0 8.192 0 10.24-2.048 10.24-10.24-1.024-27.648 0-56.32 0-86.016 8.192 10.24 14.336 18.432 20.48 26.624 38.912 49.152 90.112 76.8 153.6 83.968 54.272 5.12 106.496-1.024 156.672-25.6 43.008-21.504 75.776-53.248 98.304-95.232 31.744-58.368 41.984-121.856 41.984-187.392 0-130.048 0-259.072 0-389.12 0-2.048 0-5.12 0-7.168-76.8 0-152.576 0-229.376 0zM14.336-64c0 5.12 0 8.192 0 11.264 0 222.208 0 445.44 0 667.648 0 11.264 0 11.264 11.264 11.264 68.608 0 138.24 0 206.848 0 8.192 0 11.264-2.048 11.264-10.24 0-223.232 0-446.464 0-670.72 0-8.192-2.048-10.24-10.24-10.24-69.632 0-139.264 0-208.896 0-3.072 1.024-6.144 1.024-10.24 1.024zM129.024 720.384c-45.056 1.024-83.968 15.36-109.568 55.296-38.912 59.392-18.432 151.552 64.512 176.128 44.032 13.312 87.040 10.24 125.952-16.384 38.912-27.648 53.248-66.56 47.104-112.64s-31.744-76.8-75.776-93.184c-16.384-6.144-34.816-8.192-52.224-11.264 0 1.024 0 2.048 0 2.048z" />
18
+ <glyph unicode="&#xe908;" glyph-name="yt_icon" d="M1017.2 662.4c0 90-66.2 162.4-148 162.4-110.8 5.2-223.8 7.2-339.2 7.2-6 0-12 0-18 0s-12 0-18 0c-115.2 0-228.4-2-339.2-7.2-81.6 0-147.8-72.8-147.8-162.8-5-71.2-7.2-142.4-7-213.6-0.2-71.2 2-142.4 6.8-213.8 0-90 66.2-163 147.8-163 116.4-5.4 235.8-7.8 357.2-7.6 121.6-0.4 240.6 2 357.2 7.6 81.8 0 148 73 148 163 4.8 71.4 7 142.6 6.8 214 0.4 71.2-1.8 142.4-6.6 213.8zM414 252.2v393l290-196.4-290-196.6z" />
19
  </font></defs></svg>
assets/fonts/ssb-icon.ttf CHANGED
Binary file
assets/fonts/ssb-icon.woff CHANGED
Binary file
assets/images/fblike.png CHANGED
Binary file
assets/images/fblike.svg ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="62.3px" height="28px" viewBox="0 0 62.3 28" style="enable-background:new 0 0 62.3 28;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#44609C;}
7
+ .st1{fill:#FFFFFF;}
8
+ </style>
9
+ <g id="XMLID_88_">
10
+ <path id="XMLID_352_" class="st0" d="M3.2,0h55.8c1.8,0,3.2,1.3,3.2,3v22c0,1.7-1.5,3-3.2,3H3.2C1.5,28,0,26.7,0,25V3
11
+ C0,1.3,1.5,0,3.2,0z"/>
12
+ <g id="XMLID_358_">
13
+ <path id="XMLID_365_" class="st1" d="M11.5,12.3c0.1-0.2,0.2-0.4,0.4-0.7c0.3-0.5,0.6-1,0.9-1.5c0,0,0.1,0,0.1-0.1
14
+ c0.2-0.2,0.3-0.5,0.4-0.7c0.1-0.2,0.2-0.5,0.2-0.7c0-0.5,0-1,0-1.4c0-0.3,0-0.6,0-0.9c0-0.1,0-0.1,0-0.2c0.1-0.1,0.2-0.1,0.3-0.2
15
+ c0.2,0,0.4,0,0.6,0c0.1,0,0.2,0.1,0.3,0.1c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0.1,0c0.3,0.1,0.5,0.2,0.6,0.5
16
+ c0,0,0,0,0,0c0,0,0.1,0,0.1,0c0.1,0.1,0.2,0.3,0.3,0.5c0.1,0.2,0.2,0.4,0.2,0.5c0.1,0.1,0.1,0.3,0.1,0.4c0,0.2,0.1,0.3,0.1,0.5
17
+ c0,0.3,0,0.6,0,1c0,0.3,0,0.5-0.1,0.8c0,0.1,0,0.2,0,0.3c0,0.2,0,0.2,0.2,0.2c0,0,0,0,0.1,0c1.3,0,2.6,0,3.8,0
18
+ c0.3,0,0.6,0.1,0.9,0.2c0.1,0,0.2,0.1,0.3,0.2c0.1,0.1,0.2,0.2,0.2,0.3c0.1,0.2,0.1,0.3,0.2,0.5c0,0.2,0,0.4,0,0.6
19
+ c0,0.1-0.1,0.2-0.1,0.4c-0.1,0.2-0.2,0.3-0.3,0.4c-0.1,0.1-0.1,0.1,0,0.2c0.2,0.2,0.4,0.4,0.6,0.6c0.4,0.7,0,1.4-0.5,1.7
20
+ c-0.1,0.1-0.3,0.2-0.4,0.2c-0.1,0-0.1,0,0,0.1c0.1,0.2,0.3,0.4,0.3,0.6c0.1,0.3,0,0.6-0.1,0.9c-0.2,0.4-0.6,0.6-1,0.8
21
+ c-0.1,0-0.1,0.1-0.1,0.2c0.1,0.1,0.1,0.3,0.2,0.4c0.1,0.3,0,0.5-0.1,0.7c-0.1,0.3-0.3,0.6-0.6,0.8c-0.1,0-0.1,0-0.2,0
22
+ c-0.1,0.1-0.3,0.2-0.5,0.2c-2.5,0-5,0-7.4,0c-0.2,0-0.2,0-0.2-0.2c0-2.5,0-5,0-7.5c0-0.2,0-0.4,0.2-0.5
23
+ C11.5,12.5,11.5,12.4,11.5,12.3z"/>
24
+ <path id="XMLID_362_" class="st1" d="M10.3,17.2c0,1.6,0,3.2,0,4.7c0,0.1,0,0.1-0.1,0.1c-1,0-2,0-3,0C7,22,7,22,7,21.9
25
+ c0-3.1,0-6.2,0-9.4c0-0.2,0-0.2,0.2-0.2c1,0,2,0,2.9,0c0.1,0,0.1,0,0.1,0.1C10.3,14,10.3,15.6,10.3,17.2
26
+ C10.3,17.2,10.3,17.2,10.3,17.2z M7,17.2c0,1.6,0,3.1,0,4.7c0,0.1,0,0.1,0.1,0.1c1,0,2,0,2.9,0c0.1,0,0.1,0,0.1-0.1
27
+ c0-3.1,0-6.2,0-9.3c0-0.2,0-0.2-0.2-0.2c-0.9,0-1.9,0-2.8,0c0,0-0.1,0-0.1,0c-0.1,0-0.1,0-0.1,0.2C7,14,7,15.6,7,17.2z"/>
28
+ <path id="XMLID_361_" class="st1" d="M21.6,13c0-0.1,0.1-0.2,0.1-0.4c0-0.2,0.1-0.4,0-0.6c0-0.2-0.1-0.4-0.2-0.5
29
+ c-0.1-0.1-0.1-0.2-0.2-0.3c-0.1-0.1-0.2-0.1-0.3-0.2c-0.3-0.1-0.6-0.2-0.9-0.2c-1.3,0-2.6,0-3.8,0c0,0,0,0-0.1,0
30
+ c-0.2,0-0.2,0-0.2-0.2c0-0.1,0-0.2,0-0.3c0-0.3,0.1-0.5,0.1-0.8c0-0.3,0-0.6,0-1c0-0.2,0-0.3-0.1-0.5c0-0.1,0-0.3-0.1-0.4
31
+ c-0.1-0.2-0.1-0.4-0.2-0.5c-0.1-0.2-0.2-0.3-0.3-0.5c0,0,0-0.1-0.1,0c0,0,0,0,0,0c-0.1-0.3-0.4-0.4-0.6-0.5c0,0,0,0-0.1,0
32
+ c0,0,0,0,0,0c0,0,0,0,0,0c0,0,0,0,0,0c-0.1,0-0.2-0.1-0.3-0.1c-0.2,0-0.4,0-0.6,0c-0.1,0-0.2,0.1-0.3,0.2c0,0,0,0.1,0,0.2
33
+ c0,0.3,0,0.6,0,0.9c0,0.5,0,1,0,1.4c0,0.3-0.1,0.5-0.2,0.7c-0.1,0.2-0.3,0.5-0.4,0.7c0,0,0,0.1-0.1,0.1c0.2-0.3,0.3-0.5,0.5-0.8
34
+ c0.1-0.2,0.2-0.4,0.2-0.7c0-0.6,0-1.1,0-1.7c0-0.3,0-0.5,0-0.8c0-0.1,0.1-0.1,0.1-0.1C13.7,6,14,6,14.3,6c0.6,0,1,0.3,1.4,0.8
35
+ c0.3,0.4,0.5,0.9,0.6,1.5c0.1,0.6,0,1.1,0,1.7c0,0.3-0.1,0.5-0.1,0.8c0,0.1,0,0.1,0.1,0.1c0.5,0,0.9,0,1.4,0c0.9,0,1.8,0,2.6,0
36
+ c0.6,0,1.1,0.2,1.4,0.9C21.9,12.1,21.9,12.6,21.6,13C21.6,13,21.6,13,21.6,13z"/>
37
+ <path id="XMLID_360_" class="st1" d="M11.5,12.3c0,0.1,0,0.2-0.1,0.2c-0.1,0.2-0.2,0.3-0.2,0.5c0,2.5,0,5,0,7.5
38
+ c0,0.2,0,0.2,0.2,0.2c2.5,0,5,0,7.4,0c0.2,0,0.4-0.1,0.5-0.2c0,0,0.1,0,0.2,0c-0.2,0.2-0.4,0.3-0.7,0.3c-2.1,0-4.2,0-6.3,0
39
+ c-0.4,0-0.8,0-1.2,0c-0.1,0-0.1,0-0.1-0.1c0-1.4,0-2.7,0-4.1c0-1.2,0-2.3,0-3.5C11.2,12.8,11.4,12.6,11.5,12.3z"/>
40
+ <path id="XMLID_359_" class="st1" d="M7,17.2c0-1.6,0-3.1,0-4.7c0-0.1,0-0.1,0.1-0.2c0,0,0.1,0,0.1,0c0.9,0,1.9,0,2.8,0
41
+ c0.2,0,0.2,0,0.2,0.2c0,3.1,0,6.2,0,9.3c0,0.1,0,0.1-0.1,0.1c-1,0-2,0-2.9,0c-0.1,0-0.1,0-0.1-0.1C7,20.3,7,18.7,7,17.2z"/>
42
+ </g>
43
+ <g id="XMLID_91_">
44
+ <path id="XMLID_92_" class="st1" d="M30,19.3v-10h1.2v8.9h4.4v1.1H30z"/>
45
+ <path id="XMLID_95_" class="st1" d="M37,9.7c0-0.3,0.1-0.5,0.2-0.6C37.3,9,37.5,9,37.7,9C37.9,9,38,9,38.1,9.2s0.2,0.3,0.2,0.6
46
+ c0,0.3-0.1,0.4-0.2,0.6c-0.1,0.1-0.3,0.2-0.5,0.2c-0.2,0-0.4-0.1-0.5-0.2C37.1,10.2,37,10,37,9.7z M38.2,19.3h-1.1v-7.5h1.1V19.3z
47
+ "/>
48
+ <path id="XMLID_217_" class="st1" d="M41.8,15.4c0.2-0.3,0.5-0.6,0.9-1.1l2.4-2.6h1.3l-3,3.2l3.2,4.3h-1.4l-2.6-3.5l-0.9,0.7v2.8
49
+ h-1.1V8.6h1.1v5.6C41.8,14.5,41.7,14.9,41.8,15.4L41.8,15.4z"/>
50
+ <path id="XMLID_234_" class="st1" d="M51.2,19.4c-1.1,0-2-0.3-2.6-1c-0.6-0.7-1-1.6-1-2.8c0-1.2,0.3-2.2,0.9-2.9
51
+ c0.6-0.7,1.4-1.1,2.4-1.1c0.9,0,1.7,0.3,2.2,0.9c0.5,0.6,0.8,1.4,0.8,2.4v0.7h-5.2c0,0.9,0.2,1.5,0.7,2c0.4,0.5,1,0.7,1.8,0.7
52
+ c0.8,0,1.6-0.2,2.4-0.5v1c-0.4,0.2-0.8,0.3-1.1,0.4C52.1,19.3,51.7,19.4,51.2,19.4z M50.8,12.6c-0.6,0-1.1,0.2-1.4,0.6
53
+ c-0.4,0.4-0.6,0.9-0.6,1.6h3.9c0-0.7-0.2-1.3-0.5-1.6C51.9,12.8,51.4,12.6,50.8,12.6z"/>
54
+ </g>
55
+ </g>
56
+ </svg>
assets/images/fbshare.svg ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="103px" height="28px" viewBox="0 0 103 28" style="enable-background:new 0 0 103 28;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#43609C;}
7
+ .st1{fill:#FFFFFF;}
8
+ .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#263A7D;}
9
+ </style>
10
+ <g id="XMLID_1_">
11
+ <path id="XMLID_4_" class="st0" d="M3,0h97c1.7,0,3,1.3,3,3v22c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3V3C0,1.3,1.3,0,3,0z"/>
12
+ <g id="XMLID_3_">
13
+ <path id="XMLID_24_" class="st1" d="M35.3,19.3h-1.2v-10h5.6v1h-4.4v3.7h4.1v1h-4.1V19.3z"/>
14
+ <path id="XMLID_28_" class="st1" d="M45.8,19.3l-0.2-1.1h-0.1c-0.4,0.5-0.7,0.8-1.1,1c-0.4,0.2-0.8,0.3-1.4,0.3
15
+ c-0.7,0-1.3-0.2-1.7-0.6s-0.6-0.9-0.6-1.6c0-1.5,1.2-2.3,3.6-2.4l1.3,0v-0.5c0-0.6-0.1-1-0.4-1.3c-0.3-0.3-0.7-0.4-1.2-0.4
16
+ c-0.6,0-1.3,0.2-2.1,0.6l-0.3-0.9c0.4-0.2,0.8-0.4,1.2-0.5s0.9-0.2,1.3-0.2c0.9,0,1.6,0.2,2,0.6s0.6,1,0.6,1.9v5.1H45.8z
17
+ M43.2,18.5c0.7,0,1.3-0.2,1.7-0.6s0.6-0.9,0.6-1.6v-0.7l-1.1,0c-0.9,0-1.6,0.2-2,0.4c-0.4,0.2-0.6,0.6-0.6,1.2
18
+ c0,0.4,0.1,0.7,0.4,0.9S42.8,18.5,43.2,18.5z"/>
19
+ <path id="XMLID_109_" class="st1" d="M51.9,19.4c-1.1,0-1.9-0.3-2.5-1c-0.6-0.7-0.9-1.6-0.9-2.8c0-1.3,0.3-2.2,0.9-2.9
20
+ s1.5-1,2.6-1c0.4,0,0.7,0,1.1,0.1s0.6,0.2,0.8,0.3l-0.3,1c-0.3-0.1-0.5-0.2-0.8-0.3c-0.3-0.1-0.6-0.1-0.8-0.1
21
+ c-1.5,0-2.3,1-2.3,2.9c0,0.9,0.2,1.6,0.6,2.1s0.9,0.7,1.7,0.7c0.6,0,1.3-0.1,1.9-0.4v1C53.3,19.3,52.7,19.4,51.9,19.4z"/>
22
+ <path id="XMLID_137_" class="st1" d="M58.8,19.4c-1.1,0-2-0.3-2.6-1s-1-1.6-1-2.8c0-1.2,0.3-2.2,0.9-2.9s1.4-1.1,2.4-1.1
23
+ c0.9,0,1.7,0.3,2.2,0.9c0.5,0.6,0.8,1.4,0.8,2.4v0.7h-5.2c0,0.9,0.2,1.5,0.7,2s1,0.7,1.8,0.7c0.8,0,1.6-0.2,2.4-0.5v1
24
+ c-0.4,0.2-0.8,0.3-1.1,0.4C59.7,19.3,59.3,19.4,58.8,19.4z M58.5,12.6c-0.6,0-1.1,0.2-1.4,0.6s-0.6,0.9-0.6,1.6h3.9
25
+ c0-0.7-0.2-1.3-0.5-1.6C59.5,12.8,59.1,12.6,58.5,12.6z"/>
26
+ <path id="XMLID_140_" class="st1" d="M67,11.6c1,0,1.7,0.3,2.3,1c0.5,0.7,0.8,1.6,0.8,2.9s-0.3,2.2-0.8,2.9c-0.5,0.7-1.3,1-2.3,1
27
+ c-0.5,0-0.9-0.1-1.3-0.3c-0.4-0.2-0.7-0.5-1-0.8h-0.1l-0.2,1h-0.8V8.6h1.1v2.6c0,0.6,0,1.1-0.1,1.6h0.1C65.1,12,65.9,11.6,67,11.6
28
+ z M66.8,12.6c-0.8,0-1.3,0.2-1.7,0.7c-0.3,0.4-0.5,1.2-0.5,2.2s0.2,1.8,0.5,2.3c0.4,0.5,0.9,0.7,1.7,0.7c0.7,0,1.2-0.3,1.6-0.8
29
+ c0.3-0.5,0.5-1.2,0.5-2.2c0-1-0.2-1.7-0.5-2.2S67.5,12.6,66.8,12.6z"/>
30
+ <path id="XMLID_143_" class="st1" d="M78.5,15.5c0,1.2-0.3,2.2-0.9,2.9c-0.6,0.7-1.5,1-2.5,1c-0.7,0-1.3-0.2-1.8-0.5
31
+ s-0.9-0.8-1.2-1.4s-0.4-1.3-0.4-2.1c0-1.2,0.3-2.2,0.9-2.9c0.6-0.7,1.5-1,2.5-1c1,0,1.9,0.3,2.5,1S78.5,14.3,78.5,15.5z
32
+ M72.8,15.5c0,1,0.2,1.7,0.6,2.2s0.9,0.8,1.7,0.8s1.3-0.2,1.7-0.7c0.4-0.5,0.6-1.2,0.6-2.2c0-1-0.2-1.7-0.6-2.2
33
+ c-0.4-0.5-1-0.7-1.7-0.7c-0.7,0-1.3,0.2-1.7,0.7S72.8,14.5,72.8,15.5z"/>
34
+ <path id="XMLID_147_" class="st1" d="M87,15.5c0,1.2-0.3,2.2-0.9,2.9c-0.6,0.7-1.5,1-2.5,1c-0.7,0-1.3-0.2-1.8-0.5
35
+ s-0.9-0.8-1.2-1.4s-0.4-1.3-0.4-2.1c0-1.2,0.3-2.2,0.9-2.9c0.6-0.7,1.5-1,2.5-1c1,0,1.9,0.3,2.5,1S87,14.3,87,15.5z M81.3,15.5
36
+ c0,1,0.2,1.7,0.6,2.2s0.9,0.8,1.7,0.8s1.3-0.2,1.7-0.7c0.4-0.5,0.6-1.2,0.6-2.2c0-1-0.2-1.7-0.6-2.2c-0.4-0.5-1-0.7-1.7-0.7
37
+ c-0.7,0-1.3,0.2-1.7,0.7S81.3,14.5,81.3,15.5z"/>
38
+ <path id="XMLID_153_" class="st1" d="M90.1,15.4c0.2-0.3,0.5-0.6,0.9-1.1l2.4-2.6h1.3l-3,3.2l3.2,4.3h-1.4l-2.6-3.5l-0.9,0.7v2.8
39
+ H89V8.6h1.1v5.6C90.1,14.5,90.1,14.9,90.1,15.4L90.1,15.4z"/>
40
+ </g>
41
+ <g id="XMLID_34_">
42
+ <path id="XMLID_35_" class="st1" d="M13.6,14c0,2.5,0,5,0,7.5c-1,0-2.1,0-3.1,0c0-2.5,0-5,0-7.5c-0.5,0-1,0-1.5,0
43
+ c0-0.9,0-1.8,0-2.7c0.5,0,1,0,1.5,0c0-0.1,0-0.2,0-0.2c0-0.6,0-1.2,0-1.9c0.1-1,0.5-1.9,1.4-2.4c0.5-0.3,1-0.4,1.5-0.4
44
+ c0.8,0,1.6,0,2.4,0c0,0,0,0,0.1,0c0,0.9,0,1.7,0,2.6c-0.1,0-0.2,0-0.3,0c-0.4,0-0.9,0-1.3,0c-0.4,0-0.7,0.2-0.7,0.6
45
+ c0,0.6,0,1.1,0,1.7c0.8,0,1.6,0,2.4,0c-0.1,0.9-0.2,1.8-0.3,2.7C15,14,14.3,14,13.6,14z"/>
46
+ </g>
47
+ <rect id="XMLID_2_" x="25" class="st2" width="1" height="28"/>
48
+ </g>
49
+ </svg>
assets/images/googleplus.svg ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="96px" height="28px" viewBox="0 0 96 28" style="enable-background:new 0 0 96 28;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#DB4536;}
7
+ .st1{fill:#FFFFFF;}
8
+ .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#C02026;}
9
+ </style>
10
+ <g id="XMLID_1_">
11
+ <path id="XMLID_103_" class="st0" d="M3,0h90c1.7,0,3,1.3,3,3v22c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3V3C0,1.3,1.3,0,3,0z"/>
12
+ <g id="XMLID_104_">
13
+ <path id="XMLID_65_" class="st1" d="M47.9,12.4h3.4v4.9c-0.5,0.2-1.1,0.3-1.6,0.4s-1.2,0.1-1.9,0.1c-1.5,0-2.7-0.5-3.5-1.4
14
+ c-0.8-0.9-1.3-2.2-1.3-3.8c0-1,0.2-1.9,0.6-2.7c0.4-0.8,1-1.4,1.8-1.8c0.8-0.4,1.7-0.6,2.8-0.6c1.1,0,2.1,0.2,3,0.6l-0.5,1
15
+ c-0.9-0.4-1.8-0.6-2.6-0.6c-1.2,0-2.2,0.4-2.9,1.1s-1,1.7-1,3c0,1.3,0.3,2.4,1,3.1c0.7,0.7,1.6,1,2.9,1c0.7,0,1.4-0.1,2-0.2v-3.1
16
+ h-2.2V12.4z"/>
17
+ <path id="XMLID_168_" class="st1" d="M60,13.9c0,1.2-0.3,2.2-0.9,2.9c-0.6,0.7-1.5,1-2.5,1c-0.7,0-1.3-0.2-1.8-0.5
18
+ s-0.9-0.8-1.2-1.4s-0.4-1.3-0.4-2.1c0-1.2,0.3-2.2,0.9-2.9c0.6-0.7,1.5-1,2.5-1c1,0,1.9,0.3,2.5,1C59.7,11.8,60,12.7,60,13.9z
19
+ M54.3,13.9c0,1,0.2,1.7,0.6,2.2c0.4,0.5,0.9,0.8,1.7,0.8s1.3-0.3,1.7-0.7c0.4-0.5,0.6-1.2,0.6-2.2c0-1-0.2-1.7-0.6-2.2
20
+ c-0.4-0.5-1-0.7-1.7-0.7c-0.7,0-1.3,0.2-1.7,0.7C54.5,12.2,54.3,12.9,54.3,13.9z"/>
21
+ <path id="XMLID_174_" class="st1" d="M68.5,13.9c0,1.2-0.3,2.2-0.9,2.9c-0.6,0.7-1.5,1-2.5,1c-0.7,0-1.3-0.2-1.8-0.5
22
+ s-0.9-0.8-1.2-1.4s-0.4-1.3-0.4-2.1c0-1.2,0.3-2.2,0.9-2.9c0.6-0.7,1.5-1,2.5-1c1,0,1.9,0.3,2.5,1C68.2,11.8,68.5,12.7,68.5,13.9z
23
+ M62.8,13.9c0,1,0.2,1.7,0.6,2.2c0.4,0.5,0.9,0.8,1.7,0.8s1.3-0.3,1.7-0.7c0.4-0.5,0.6-1.2,0.6-2.2c0-1-0.2-1.7-0.6-2.2
24
+ c-0.4-0.5-1-0.7-1.7-0.7c-0.7,0-1.3,0.2-1.7,0.7C62.9,12.2,62.8,12.9,62.8,13.9z"/>
25
+ <path id="XMLID_177_" class="st1" d="M76.6,10.1v0.7L75.2,11c0.1,0.2,0.2,0.4,0.3,0.6c0.1,0.3,0.2,0.5,0.2,0.9
26
+ c0,0.7-0.3,1.3-0.8,1.8s-1.2,0.7-2.1,0.7c-0.2,0-0.4,0-0.6-0.1c-0.5,0.3-0.7,0.6-0.7,1c0,0.2,0.1,0.4,0.3,0.5
27
+ c0.2,0.1,0.5,0.1,0.9,0.1H74c0.8,0,1.4,0.2,1.9,0.5c0.4,0.3,0.7,0.8,0.7,1.5c0,0.8-0.3,1.5-1,1.9c-0.7,0.4-1.6,0.7-2.9,0.7
28
+ c-1,0-1.7-0.2-2.3-0.5c-0.5-0.4-0.8-0.9-0.8-1.5c0-0.5,0.1-0.8,0.4-1.2s0.7-0.6,1.2-0.7c-0.2-0.1-0.4-0.2-0.5-0.4
29
+ c-0.1-0.2-0.2-0.4-0.2-0.6c0-0.3,0.1-0.5,0.2-0.7s0.4-0.4,0.7-0.6c-0.4-0.2-0.7-0.4-0.9-0.8c-0.2-0.4-0.4-0.8-0.4-1.3
30
+ c0-0.8,0.2-1.5,0.7-1.9S72,10,72.9,10c0.4,0,0.7,0,1.1,0.1H76.6z M70.6,18.9c0,0.4,0.2,0.7,0.5,0.9s0.8,0.3,1.5,0.3
31
+ c1,0,1.7-0.1,2.1-0.4c0.5-0.3,0.7-0.7,0.7-1.2c0-0.4-0.1-0.7-0.4-0.8c-0.3-0.2-0.7-0.2-1.4-0.2h-1.4c-0.5,0-0.9,0.1-1.2,0.4
32
+ S70.6,18.4,70.6,18.9z M71.2,12.5c0,0.5,0.1,0.9,0.4,1.2c0.3,0.3,0.7,0.4,1.2,0.4c1.1,0,1.7-0.5,1.7-1.6c0-1.1-0.6-1.7-1.7-1.7
33
+ c-0.5,0-0.9,0.1-1.2,0.4S71.2,12,71.2,12.5z"/>
34
+ <path id="XMLID_181_" class="st1" d="M79.3,17.6h-1.1V7h1.1V17.6z"/>
35
+ <path id="XMLID_184_" class="st1" d="M84.8,17.8c-1.1,0-2-0.3-2.6-1c-0.6-0.7-1-1.6-1-2.8c0-1.2,0.3-2.2,0.9-2.9
36
+ c0.6-0.7,1.4-1.1,2.4-1.1c0.9,0,1.7,0.3,2.2,0.9c0.5,0.6,0.8,1.4,0.8,2.4v0.7h-5.2c0,0.9,0.2,1.5,0.7,2c0.4,0.5,1,0.7,1.8,0.7
37
+ c0.8,0,1.6-0.2,2.4-0.5v1c-0.4,0.2-0.8,0.3-1.1,0.4C85.8,17.7,85.3,17.8,84.8,17.8z M84.5,11c-0.6,0-1.1,0.2-1.4,0.6
38
+ c-0.4,0.4-0.6,0.9-0.6,1.6h3.9c0-0.7-0.2-1.3-0.5-1.6C85.6,11.1,85.1,11,84.5,11z"/>
39
+ </g>
40
+ <g id="XMLID_107_">
41
+ <g id="XMLID_105_">
42
+ <path id="XMLID_106_" class="st1" d="M7,13.3c0.2-0.9,0.4-1.7,0.9-2.5c1.8-2.8,5.7-3.6,8.4-1.6c0.2,0.1,0.3,0.2,0.4,0.3
43
+ c-0.5,0.5-0.9,1.1-1.4,1.6c-0.8-0.7-1.8-1-2.8-0.9c-0.8,0.1-1.5,0.4-2,1c-1.2,1.1-1.4,2.9-0.7,4.3c0.7,1.4,2.3,2.2,3.9,1.9
44
+ c1.4-0.2,2.4-1.2,2.6-2.4c-1.1,0-2.1,0-3.2,0c0-0.7,0-1.3,0-2c1.8,0,3.6,0,5.4,0c0.8,2.7-1.2,5.8-4,6.5c-3.7,0.9-6.9-1.7-7.3-4.8
45
+ c0-0.1,0-0.1-0.1-0.1C7,14.2,7,13.8,7,13.3z"/>
46
+ </g>
47
+ <g id="XMLID_101_">
48
+ <path id="XMLID_64_" class="st1" d="M27,14.8c-0.8,0-1.6,0-2.5,0c0,0.8,0,1.6,0,2.5c-0.6,0-1.1,0-1.7,0c0-0.8,0-1.6,0-2.5
49
+ c-0.9,0-1.7,0-2.5,0c0-0.6,0-1.1,0-1.7c0.8,0,1.6,0,2.5,0c0-0.9,0-1.7,0-2.5c0.6,0,1.1,0,1.7,0c0,0.8,0,1.6,0,2.5
50
+ c0.9,0,1.7,0,2.5,0C27,13.7,27,14.3,27,14.8z"/>
51
+ </g>
52
+ </g>
53
+ <rect id="XMLID_2_" x="34" y="0" class="st2" width="1" height="28"/>
54
+ </g>
55
+ </svg>
assets/images/linkedin.svg ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="98.3px" height="28px" viewBox="0 0 98.3 28" style="enable-background:new 0 0 98.3 28;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#0177B7;}
7
+ .st1{fill:#FFFFFF;}
8
+ .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#00679E;}
9
+ </style>
10
+ <g id="XMLID_69_">
11
+ <path id="XMLID_318_" class="st0" d="M3.2,0h91.8c1.8,0,3.2,1.3,3.2,3v22c0,1.7-1.5,3-3.2,3H3.2C1.5,28,0,26.7,0,25V3
12
+ C0,1.3,1.5,0,3.2,0z"/>
13
+ <g id="XMLID_324_">
14
+ <path id="XMLID_332_" class="st1" d="M11.8,20.7c0-3,0-6,0-9c0,0,0.1,0,0.1,0c0.9,0,1.8,0,2.7,0c0.1,0,0.1,0,0.1,0.1
15
+ c0,0.4,0,0.7,0,1.1c0.1-0.1,0.2-0.3,0.3-0.4c0.5-0.6,1.2-1,2-1.1c0.7-0.1,1.4,0,2.1,0.3c0.6,0.3,1,0.7,1.3,1.3
16
+ c0.4,0.8,0.5,1.6,0.5,2.4c0,1.7,0,3.4,0,5.1c0,0,0,0.1,0,0.1c-1,0-2,0-3,0c0-0.1,0-0.1,0-0.1c0-1.5,0-3.1,0-4.6
17
+ c0-0.4,0-0.8-0.2-1.2c-0.2-0.6-0.8-1-1.5-0.9c-0.8,0.1-1.2,0.5-1.5,1.2c-0.1,0.2-0.1,0.5-0.1,0.7c0,1.6,0,3.2,0,4.8
18
+ c0,0.1,0,0.1-0.1,0.1c-0.9,0-1.8,0-2.7,0C11.9,20.7,11.9,20.7,11.8,20.7z"/>
19
+ <path id="XMLID_326_" class="st1" d="M10.2,20.7c0,0-0.1,0-0.1,0c-0.9,0-1.8,0-2.7,0c-0.1,0-0.1,0-0.1-0.1c0-2.9,0-5.8,0-8.8
20
+ c0-0.1,0-0.1,0.1-0.1c0.9,0,1.8,0,2.7,0c0,0,0.1,0,0.1,0C10.2,14.7,10.2,17.7,10.2,20.7z"/>
21
+ <path id="XMLID_325_" class="st1" d="M8.7,10.4c-0.6,0-1.1-0.2-1.4-0.7C6.7,8.9,7,7.7,8.1,7.4c0.6-0.2,1.1-0.1,1.6,0.2
22
+ c0.5,0.4,0.7,0.9,0.6,1.5c-0.1,0.6-0.4,1-1,1.2C9.2,10.4,8.9,10.4,8.7,10.4C8.7,10.5,8.7,10.4,8.7,10.4z"/>
23
+ </g>
24
+ <g id="XMLID_278_">
25
+ <path id="XMLID_279_" class="st1" d="M37,19.3v-10h1.2v8.9h4.4v1.1H37z"/>
26
+ <path id="XMLID_285_" class="st1" d="M44,9.7c0-0.3,0.1-0.5,0.2-0.6C44.3,9,44.5,9,44.7,9C44.9,9,45,9,45.1,9.2s0.2,0.3,0.2,0.6
27
+ c0,0.3-0.1,0.4-0.2,0.6c-0.1,0.1-0.3,0.2-0.5,0.2c-0.2,0-0.4-0.1-0.5-0.2C44.1,10.2,44,10,44,9.7z M45.2,19.3h-1.1v-7.5h1.1V19.3z
28
+ "/>
29
+ <path id="XMLID_288_" class="st1" d="M52.8,19.3v-4.8c0-0.6-0.1-1.1-0.4-1.4s-0.7-0.5-1.3-0.5c-0.8,0-1.4,0.2-1.7,0.6
30
+ s-0.5,1.1-0.5,2.1v3.9h-1.1v-7.5h0.9l0.2,1h0.1c0.2-0.4,0.6-0.7,1-0.9c0.4-0.2,0.9-0.3,1.4-0.3c0.9,0,1.6,0.2,2,0.7
31
+ c0.5,0.4,0.7,1.1,0.7,2.1v4.9H52.8z"/>
32
+ <path id="XMLID_290_" class="st1" d="M57.3,15.4c0.2-0.3,0.5-0.6,0.9-1.1l2.4-2.6H62L59,15l3.2,4.3h-1.4l-2.6-3.5l-0.9,0.7v2.8
33
+ h-1.1V8.6h1.1v5.6C57.3,14.5,57.3,14.9,57.3,15.4L57.3,15.4z"/>
34
+ <path id="XMLID_292_" class="st1" d="M66.7,19.4c-1.1,0-2-0.3-2.6-1c-0.6-0.7-1-1.6-1-2.8c0-1.2,0.3-2.2,0.9-2.9
35
+ c0.6-0.7,1.4-1.1,2.4-1.1c0.9,0,1.7,0.3,2.2,0.9c0.5,0.6,0.8,1.4,0.8,2.4v0.7h-5.2c0,0.9,0.2,1.5,0.7,2c0.4,0.5,1,0.7,1.8,0.7
36
+ c0.8,0,1.6-0.2,2.4-0.5v1c-0.4,0.2-0.8,0.3-1.1,0.4C67.7,19.3,67.2,19.4,66.7,19.4z M66.4,12.6c-0.6,0-1.1,0.2-1.4,0.6
37
+ c-0.4,0.4-0.6,0.9-0.6,1.6h3.9c0-0.7-0.2-1.3-0.5-1.6C67.5,12.8,67,12.6,66.4,12.6z"/>
38
+ <path id="XMLID_295_" class="st1" d="M76.5,18.2L76.5,18.2c-0.6,0.8-1.4,1.1-2.4,1.1c-1,0-1.7-0.3-2.3-1c-0.5-0.7-0.8-1.6-0.8-2.9
39
+ c0-1.2,0.3-2.2,0.8-2.9s1.3-1,2.3-1c1,0,1.8,0.4,2.3,1.1h0.1l0-0.5l0-0.5v-3h1.1v10.6h-0.9L76.5,18.2z M74.3,18.4
40
+ c0.8,0,1.3-0.2,1.7-0.6c0.3-0.4,0.5-1.1,0.5-2v-0.2c0-1.1-0.2-1.8-0.5-2.3c-0.4-0.5-0.9-0.7-1.7-0.7c-0.7,0-1.2,0.3-1.5,0.8
41
+ c-0.4,0.5-0.5,1.2-0.5,2.2c0,1,0.2,1.7,0.5,2.2C73.1,18.2,73.6,18.4,74.3,18.4z"/>
42
+ <path id="XMLID_303_" class="st1" d="M79.9,9.7c0-0.3,0.1-0.5,0.2-0.6C80.2,9,80.4,9,80.6,9c0.2,0,0.3,0.1,0.5,0.2
43
+ s0.2,0.3,0.2,0.6c0,0.3-0.1,0.4-0.2,0.6c-0.1,0.1-0.3,0.2-0.5,0.2c-0.2,0-0.4-0.1-0.5-0.2C80,10.2,79.9,10,79.9,9.7z M81.1,19.3
44
+ H80v-7.5h1.1V19.3z"/>
45
+ <path id="XMLID_309_" class="st1" d="M88.7,19.3v-4.8c0-0.6-0.1-1.1-0.4-1.4s-0.7-0.5-1.3-0.5c-0.8,0-1.4,0.2-1.7,0.6
46
+ s-0.5,1.1-0.5,2.1v3.9h-1.1v-7.5h0.9l0.2,1h0.1c0.2-0.4,0.6-0.7,1-0.9c0.4-0.2,0.9-0.3,1.4-0.3c0.9,0,1.6,0.2,2,0.7
47
+ c0.5,0.4,0.7,1.1,0.7,2.1v4.9H88.7z"/>
48
+ </g>
49
+ <rect id="XMLID_70_" x="28" y="0" class="st2" width="1" height="28"/>
50
+ </g>
51
+ </svg>
assets/images/pinterest.svg ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="98px" height="28px" viewBox="0 0 98 28" style="enable-background:new 0 0 98 28;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#BD2026;}
7
+ .st1{fill:#FFFFFF;}
8
+ .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#A31E22;}
9
+ </style>
10
+ <g id="XMLID_2_">
11
+ <path id="XMLID_4_" class="st0" d="M3,0h92c1.7,0,3,1.3,3,3v22c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3V3C0,1.3,1.3,0,3,0z"/>
12
+ <path id="XMLID_19_" class="st1" d="M11.2,16c-0.1,0.5-0.3,1-0.4,1.4c-0.2,1.1-0.7,2-1.4,2.8c-0.1,0.1-0.1,0.2-0.2,0.2
13
+ c-0.1,0-0.1-0.1-0.1-0.2c-0.1-0.4-0.1-0.8-0.1-1.3c0-0.7,0.1-1.3,0.3-2c0.3-1.1,0.5-2.2,0.8-3.3c0-0.1,0-0.2,0-0.3
14
+ c-0.2-0.5-0.2-1.1-0.1-1.6c0.1-0.5,0.3-0.8,0.7-1.1c0.4-0.3,0.9-0.3,1.3,0c0.3,0.3,0.4,0.7,0.4,1.1c-0.1,0.7-0.3,1.3-0.5,2
15
+ c-0.1,0.2-0.1,0.4-0.2,0.6c-0.1,0.6,0.4,1.2,1,1.3c0.7,0.1,1.2-0.3,1.6-0.8c0.5-0.6,0.7-1.3,0.8-2c0.1-0.5,0.1-1.1,0.1-1.6
16
+ c-0.1-0.9-0.5-1.5-1.3-2c-1.1-0.7-3.1-0.6-4.3,0.6c-0.6,0.6-0.9,1.3-1,2.1c-0.1,0.4-0.1,0.8,0.1,1.3c0.1,0.2,0.2,0.4,0.3,0.6
17
+ c0.1,0.2,0.2,0.3,0.1,0.6C9,14.5,9,14.7,8.9,14.8c-0.1,0.3-0.2,0.3-0.5,0.2c-0.5-0.3-0.9-0.7-1.2-1.3c-0.4-1.2-0.4-2.4,0.3-3.6
18
+ C8.3,8.8,9.5,8,11,7.7c0.9-0.2,1.8-0.2,2.6,0.1c1.5,0.4,2.6,1.3,3.1,2.8c0.2,0.6,0.2,1.2,0.2,1.8c0,0.8-0.2,1.5-0.5,2.2
19
+ c-0.4,1-1.1,1.8-2.1,2.2c-0.6,0.2-1.2,0.3-1.9,0.2c-0.4-0.1-0.8-0.3-1.1-0.6C11.3,16.1,11.3,16.1,11.2,16C11.2,16,11.2,16,11.2,16z
20
+ "/>
21
+ <g id="XMLID_1_">
22
+ <path id="XMLID_110_" class="st1" d="M39.3,12c0,1-0.3,1.8-1,2.3c-0.7,0.5-1.7,0.8-3,0.8h-1.2v3.9H33v-10h2.6
23
+ C38.1,9.1,39.3,10,39.3,12z M34.2,14.1h1c1,0,1.8-0.2,2.2-0.5s0.7-0.9,0.7-1.6c0-0.7-0.2-1.2-0.6-1.5s-1.1-0.5-2-0.5h-1.3V14.1z"
24
+ />
25
+ <path id="XMLID_113_" class="st1" d="M41.2,9.5c0-0.3,0.1-0.5,0.2-0.6c0.1-0.1,0.3-0.2,0.5-0.2c0.2,0,0.3,0.1,0.5,0.2
26
+ s0.2,0.3,0.2,0.6s-0.1,0.4-0.2,0.6c-0.1,0.1-0.3,0.2-0.5,0.2c-0.2,0-0.4-0.1-0.5-0.2C41.2,10,41.2,9.8,41.2,9.5z M42.4,19.1h-1.1
27
+ v-7.5h1.1V19.1z"/>
28
+ <path id="XMLID_116_" class="st1" d="M49.9,19.1v-4.8c0-0.6-0.1-1.1-0.4-1.4s-0.7-0.5-1.3-0.5c-0.8,0-1.4,0.2-1.7,0.6
29
+ s-0.5,1.1-0.5,2.1v3.9h-1.1v-7.5h0.9l0.2,1H46c0.2-0.4,0.6-0.7,1-0.9c0.4-0.2,0.9-0.3,1.4-0.3c0.9,0,1.6,0.2,2,0.7
30
+ c0.5,0.4,0.7,1.1,0.7,2.1v4.9H49.9z"/>
31
+ <path id="XMLID_118_" class="st1" d="M55.8,18.3c0.2,0,0.4,0,0.6,0c0.2,0,0.3-0.1,0.4-0.1V19c-0.1,0.1-0.3,0.1-0.5,0.1
32
+ c-0.2,0-0.5,0.1-0.6,0.1c-1.4,0-2.2-0.8-2.2-2.3v-4.5h-1.1v-0.5l1.1-0.5L54,9.8h0.7v1.7h2.2v0.9h-2.2v4.4c0,0.5,0.1,0.8,0.3,1
33
+ S55.4,18.3,55.8,18.3z"/>
34
+ <path id="XMLID_120_" class="st1" d="M61.5,19.2c-1.1,0-2-0.3-2.6-1s-1-1.6-1-2.8c0-1.2,0.3-2.2,0.9-2.9s1.4-1.1,2.4-1.1
35
+ c0.9,0,1.7,0.3,2.2,0.9c0.5,0.6,0.8,1.4,0.8,2.4v0.7h-5.2c0,0.9,0.2,1.5,0.7,2s1,0.7,1.8,0.7c0.8,0,1.6-0.2,2.4-0.5v1
36
+ c-0.4,0.2-0.8,0.3-1.1,0.4C62.4,19.2,62,19.2,61.5,19.2z M61.2,12.4c-0.6,0-1.1,0.2-1.4,0.6s-0.6,0.9-0.6,1.6H63
37
+ c0-0.7-0.2-1.3-0.5-1.6C62.2,12.6,61.8,12.4,61.2,12.4z"/>
38
+ <path id="XMLID_123_" class="st1" d="M69.6,11.4c0.3,0,0.6,0,0.9,0.1l-0.2,1.1c-0.3-0.1-0.6-0.1-0.8-0.1c-0.6,0-1.1,0.2-1.6,0.7
39
+ s-0.6,1.1-0.6,1.8v4h-1.1v-7.5h0.9l0.1,1.4h0.1c0.3-0.5,0.6-0.9,1-1.1S69.1,11.4,69.6,11.4z"/>
40
+ <path id="XMLID_126_" class="st1" d="M75.1,19.2c-1.1,0-2-0.3-2.6-1s-1-1.6-1-2.8c0-1.2,0.3-2.2,0.9-2.9s1.4-1.1,2.4-1.1
41
+ c0.9,0,1.7,0.3,2.2,0.9c0.5,0.6,0.8,1.4,0.8,2.4v0.7h-5.2c0,0.9,0.2,1.5,0.7,2s1,0.7,1.8,0.7c0.8,0,1.6-0.2,2.4-0.5v1
42
+ c-0.4,0.2-0.8,0.3-1.1,0.4C76,19.2,75.6,19.2,75.1,19.2z M74.8,12.4c-0.6,0-1.1,0.2-1.4,0.6s-0.6,0.9-0.6,1.6h3.9
43
+ c0-0.7-0.2-1.3-0.5-1.6C75.8,12.6,75.4,12.4,74.8,12.4z"/>
44
+ <path id="XMLID_132_" class="st1" d="M84.6,17c0,0.7-0.3,1.2-0.8,1.6s-1.2,0.6-2.2,0.6c-1,0-1.8-0.2-2.3-0.5v-1.1
45
+ c0.4,0.2,0.7,0.3,1.2,0.4c0.4,0.1,0.8,0.2,1.2,0.2c0.6,0,1-0.1,1.4-0.3c0.3-0.2,0.5-0.5,0.5-0.9c0-0.3-0.1-0.5-0.4-0.7
46
+ c-0.3-0.2-0.7-0.5-1.5-0.7c-0.7-0.3-1.2-0.5-1.5-0.7c-0.3-0.2-0.5-0.4-0.7-0.7c-0.1-0.2-0.2-0.5-0.2-0.9c0-0.6,0.2-1.1,0.7-1.4
47
+ c0.5-0.4,1.2-0.5,2-0.5c0.8,0,1.6,0.2,2.4,0.5L84,12.9c-0.8-0.3-1.4-0.5-2-0.5c-0.5,0-0.9,0.1-1.2,0.3s-0.4,0.4-0.4,0.7
48
+ c0,0.2,0.1,0.4,0.2,0.5c0.1,0.1,0.3,0.3,0.5,0.4s0.7,0.3,1.3,0.6c0.9,0.3,1.5,0.6,1.8,1C84.4,16.1,84.6,16.5,84.6,17z"/>
49
+ <path id="XMLID_134_" class="st1" d="M88.9,18.3c0.2,0,0.4,0,0.6,0c0.2,0,0.3-0.1,0.4-0.1V19c-0.1,0.1-0.3,0.1-0.5,0.1
50
+ c-0.2,0-0.5,0.1-0.6,0.1c-1.4,0-2.2-0.8-2.2-2.3v-4.5h-1.1v-0.5l1.1-0.5L87,9.8h0.7v1.7h2.2v0.9h-2.2v4.4c0,0.5,0.1,0.8,0.3,1
51
+ S88.5,18.3,88.9,18.3z"/>
52
+ </g>
53
+ <rect id="XMLID_306_" x="24" y="0" class="st2" width="1" height="28"/>
54
+ </g>
55
+ </svg>
assets/images/reddit.svg ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="89px" height="28px" viewBox="0 0 89 28" style="enable-background:new 0 0 89 28;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#EF4823;}
7
+ .st1{fill:#FFFFFF;}
8
+ .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#D42F27;}
9
+ </style>
10
+ <g id="XMLID_69_">
11
+ <path id="XMLID_245_" class="st0" d="M3,0h83c1.7,0,3,1.3,3,3v22c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3V3C0,1.3,1.3,0,3,0z"/>
12
+ <g id="XMLID_253_">
13
+ <path id="XMLID_258_" class="st1" d="M41.2,15.1v4.2H40v-10h2.7c1.2,0,2.1,0.2,2.7,0.7c0.6,0.5,0.9,1.2,0.9,2.1
14
+ c0,1.3-0.7,2.2-2,2.7l2.7,4.5h-1.4l-2.4-4.2H41.2z M41.2,14.1h1.6c0.8,0,1.4-0.2,1.8-0.5c0.4-0.3,0.6-0.8,0.6-1.5
15
+ c0-0.7-0.2-1.1-0.6-1.4c-0.4-0.3-1-0.4-1.9-0.4h-1.5V14.1z"/>
16
+ <path id="XMLID_262_" class="st1" d="M51.7,19.4c-1.1,0-2-0.3-2.6-1c-0.6-0.7-1-1.6-1-2.8c0-1.2,0.3-2.2,0.9-2.9
17
+ c0.6-0.7,1.4-1.1,2.4-1.1c0.9,0,1.7,0.3,2.2,0.9c0.5,0.6,0.8,1.4,0.8,2.4v0.7h-5.2c0,0.9,0.2,1.5,0.7,2c0.4,0.5,1,0.7,1.8,0.7
18
+ c0.8,0,1.6-0.2,2.4-0.5v1c-0.4,0.2-0.8,0.3-1.1,0.4C52.6,19.3,52.2,19.4,51.7,19.4z M51.3,12.6c-0.6,0-1.1,0.2-1.4,0.6
19
+ c-0.4,0.4-0.6,0.9-0.6,1.6h3.9c0-0.7-0.2-1.3-0.5-1.6C52.4,12.8,51.9,12.6,51.3,12.6z"/>
20
+ <path id="XMLID_265_" class="st1" d="M61.4,18.2L61.4,18.2c-0.6,0.8-1.4,1.1-2.4,1.1c-1,0-1.7-0.3-2.3-1c-0.5-0.7-0.8-1.6-0.8-2.9
21
+ s0.3-2.2,0.8-2.9s1.3-1,2.3-1c1,0,1.8,0.4,2.3,1.1h0.1l0-0.5l0-0.5v-3h1.1v10.6h-0.9L61.4,18.2z M59.2,18.4c0.8,0,1.3-0.2,1.7-0.6
22
+ c0.3-0.4,0.5-1.1,0.5-2v-0.2c0-1.1-0.2-1.8-0.5-2.3c-0.4-0.5-0.9-0.7-1.7-0.7c-0.7,0-1.2,0.3-1.5,0.8c-0.4,0.5-0.5,1.2-0.5,2.2
23
+ c0,1,0.2,1.7,0.5,2.2S58.5,18.4,59.2,18.4z"/>
24
+ <path id="XMLID_269_" class="st1" d="M70,18.2L70,18.2c-0.6,0.8-1.4,1.1-2.4,1.1c-1,0-1.7-0.3-2.3-1c-0.5-0.7-0.8-1.6-0.8-2.9
25
+ s0.3-2.2,0.8-2.9s1.3-1,2.3-1c1,0,1.8,0.4,2.3,1.1H70l0-0.5l0-0.5v-3h1.1v10.6h-0.9L70,18.2z M67.8,18.4c0.8,0,1.3-0.2,1.7-0.6
26
+ c0.3-0.4,0.5-1.1,0.5-2v-0.2c0-1.1-0.2-1.8-0.5-2.3c-0.4-0.5-0.9-0.7-1.7-0.7c-0.7,0-1.2,0.3-1.5,0.8c-0.4,0.5-0.5,1.2-0.5,2.2
27
+ c0,1,0.2,1.7,0.5,2.2S67.1,18.4,67.8,18.4z"/>
28
+ <path id="XMLID_276_" class="st1" d="M73.4,9.7c0-0.3,0.1-0.5,0.2-0.6C73.7,9,73.9,9,74.1,9c0.2,0,0.3,0.1,0.5,0.2
29
+ s0.2,0.3,0.2,0.6s-0.1,0.4-0.2,0.6c-0.1,0.1-0.3,0.2-0.5,0.2c-0.2,0-0.4-0.1-0.5-0.2C73.5,10.2,73.4,10,73.4,9.7z M74.6,19.3h-1.1
30
+ v-7.5h1.1V19.3z"/>
31
+ <path id="XMLID_282_" class="st1" d="M79.5,18.5c0.2,0,0.4,0,0.6,0c0.2,0,0.3-0.1,0.4-0.1v0.9c-0.1,0.1-0.3,0.1-0.5,0.1
32
+ c-0.2,0-0.5,0.1-0.6,0.1c-1.4,0-2.2-0.8-2.2-2.3v-4.5h-1.1v-0.5l1.1-0.5l0.5-1.6h0.7v1.7h2.2v0.9h-2.2V17c0,0.5,0.1,0.8,0.3,1
33
+ S79.1,18.5,79.5,18.5z"/>
34
+ </g>
35
+ <g id="XMLID_243_">
36
+ <path id="XMLID_327_" class="st1" d="M7,13.6c0-0.1,0-0.2,0-0.3c0,0,0,0,0-0.1c0-0.2,0.1-0.4,0.1-0.6c0.1-0.4,0.3-0.7,0.6-1
37
+ c0.4-0.3,0.8-0.4,1.2-0.5c0.5,0,1,0.1,1.5,0.3c0,0,0.1,0,0.1,0c0.4-0.3,0.9-0.5,1.4-0.8c0.6-0.2,1.2-0.4,1.8-0.5
38
+ c0.3-0.1,0.6-0.1,0.9-0.1c0.1,0,0.2,0,0.3,0c0,0,0,0,0-0.1c0-0.4,0-0.7,0-1.1c0-0.2,0-0.4,0.1-0.6c0.2-0.9,0.8-1.5,1.7-1.7
39
+ c0.1,0,0.2,0,0.3,0c0.1,0,0.2,0,0.3,0c0.1,0,0.2,0,0.3,0.1c0.3,0.1,0.6,0.2,1,0.4c0.5,0.3,1.1,0.5,1.7,0.6c0.1,0,0.2,0,0.3,0
40
+ c0,0,0,0,0,0c0-0.5,0.4-0.9,0.8-1c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.2,0c0,0,0.1,0,0.1,0c0.6,0.1,1,0.7,0.9,1.3
41
+ c-0.1,0.5-0.6,0.9-1.1,0.9c-0.3,0-0.6,0-0.8,0c-0.3,0-0.6,0-0.9-0.1c-0.4-0.1-0.9-0.2-1.3-0.4c-0.3-0.2-0.7-0.3-1-0.5
42
+ c-0.2-0.1-0.5-0.2-0.7-0.2c-0.3,0-0.6,0.2-0.7,0.4c-0.1,0.2-0.2,0.4-0.2,0.7c0,0.4,0,0.8,0,1.2c0,0,0,0,0,0c0.2,0,0.4,0,0.5,0.1
43
+ c0.5,0,0.9,0.1,1.3,0.2c0.9,0.2,1.7,0.6,2.5,1.1c0,0,0,0,0.1,0c0.5-0.3,1.1-0.4,1.6-0.3c0.4,0.1,0.7,0.2,1,0.4
44
+ c0.5,0.3,0.7,0.8,0.8,1.4c0,0.1,0,0.2,0,0.3c0,0.1,0,0.2,0,0.3c0,0.1,0,0.2,0,0.2c-0.1,0.4-0.2,0.8-0.5,1.2
45
+ c-0.2,0.2-0.3,0.4-0.5,0.5c0,0,0,0,0,0.1c0,0.4,0,0.8-0.2,1.2c-0.2,0.8-0.6,1.4-1.1,2c-0.6,0.6-1.3,1.2-2,1.5
46
+ c-0.6,0.3-1.2,0.5-1.9,0.7c-0.5,0.1-1,0.2-1.5,0.2c-0.1,0-0.2,0-0.3,0c-0.2,0-0.4,0-0.6,0c-0.1,0-0.2,0-0.3,0
47
+ c-0.4,0-0.8-0.1-1.2-0.2c-0.8-0.2-1.6-0.4-2.3-0.8c-0.8-0.4-1.5-1-2.1-1.6c-0.4-0.5-0.8-1.1-1-1.8c-0.1-0.4-0.2-0.8-0.2-1.3
48
+ c0-0.1,0-0.1-0.1-0.1c-0.2-0.2-0.4-0.3-0.6-0.6c-0.3-0.3-0.4-0.7-0.5-1.1C7,13.8,7,13.7,7,13.6z M15.5,20.3c0.3,0,0.6,0,0.9-0.1
49
+ c0.5,0,0.9-0.1,1.4-0.3c0.9-0.2,1.7-0.6,2.4-1.2c0.5-0.4,0.9-0.9,1.2-1.5c0.4-0.7,0.5-1.5,0.3-2.3c-0.2-0.7-0.5-1.2-1-1.7
50
+ c-0.5-0.5-1-0.9-1.6-1.2c-1-0.5-2-0.7-3.1-0.8c-0.5,0-1,0-1.5,0.1c-0.4,0.1-0.9,0.1-1.3,0.3c-0.7,0.2-1.4,0.5-2,1
51
+ c-0.6,0.4-1.1,0.9-1.5,1.6c-0.3,0.6-0.5,1.3-0.4,2.1c0.1,0.6,0.3,1.1,0.6,1.5c0.4,0.7,1,1.2,1.7,1.6c0.8,0.5,1.7,0.8,2.7,0.9
52
+ C14.7,20.2,15.1,20.2,15.5,20.3z M21.5,12.4c0.5,0.6,0.9,1.2,1.2,1.9c0,0,0-0.1,0-0.1c0.2-0.4,0.2-0.8,0.1-1.2
53
+ c-0.1-0.2-0.1-0.3-0.2-0.4C22.2,12.3,21.9,12.2,21.5,12.4z M8.4,14.3c0.2-0.7,0.6-1.4,1.2-1.9c-0.3-0.1-0.5-0.1-0.8,0
54
+ c-0.2,0.1-0.4,0.2-0.5,0.4c-0.2,0.3-0.2,0.7-0.1,1.1C8.2,14,8.3,14.1,8.4,14.3z"/>
55
+ <path id="XMLID_314_" class="st1" d="M12.7,16.8c0.8,0.7,1.8,1.1,2.8,1.1c1.1,0,2-0.4,2.8-1.1c-0.1,0.1-0.1,0.3-0.2,0.4
56
+ c-0.4,0.7-0.9,1.2-1.6,1.6c-0.3,0.2-0.7,0.3-1.1,0.3c-0.4,0-0.7-0.1-1-0.3C13.6,18.4,13,17.8,12.7,16.8
57
+ C12.7,16.9,12.7,16.9,12.7,16.8z"/>
58
+ <path id="XMLID_313_" class="st1" d="M12.7,15.7c-0.6,0-1.1-0.5-1.1-1.1c0-0.6,0.5-1.1,1.1-1.1c0.6,0,1.1,0.5,1.1,1.1
59
+ C13.8,15.2,13.3,15.7,12.7,15.7z"/>
60
+ <path id="XMLID_312_" class="st1" d="M18.3,15.7c-0.6,0-1.1-0.5-1.1-1.1c0-0.6,0.5-1.1,1.1-1.1c0.6,0,1.1,0.5,1.1,1.1
61
+ C19.5,15.2,19,15.7,18.3,15.7z"/>
62
+ </g>
63
+ <rect id="XMLID_70_" x="31" y="0" class="st2" width="1" height="28"/>
64
+ </g>
65
+ </svg>
assets/images/twitter.svg ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="90px" height="28px" viewBox="0 0 90 28" style="enable-background:new 0 0 90 28;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#429CD6;}
7
+ .st1{fill:#FFFFFF;}
8
+ .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#0A77BD;}
9
+ </style>
10
+ <g id="XMLID_1_">
11
+ <path id="XMLID_24_" class="st0" d="M3,0h84c1.7,0,3,1.3,3,3v22c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3V3C0,1.3,1.3,0,3,0z"/>
12
+ <g id="XMLID_18_">
13
+ <path id="XMLID_39_" class="st1" d="M40.3,19.1h-1.2v-9H36v-1h7.5v1h-3.2V19.1z"/>
14
+ <path id="XMLID_53_" class="st1" d="M50.9,19.1l-1.4-4.4c-0.1-0.3-0.2-0.9-0.5-1.8H49c-0.2,0.8-0.3,1.4-0.5,1.8l-1.4,4.4h-1.3
15
+ l-2-7.5H45c0.5,1.9,0.9,3.3,1.1,4.3c0.3,1,0.4,1.6,0.4,2h0.1c0-0.3,0.1-0.6,0.2-1c0.1-0.4,0.2-0.7,0.3-1l1.4-4.3h1.2l1.3,4.3
16
+ c0.3,0.8,0.4,1.4,0.5,2h0.1c0-0.2,0.1-0.4,0.1-0.8c0.1-0.3,0.6-2.2,1.4-5.5h1.2l-2.1,7.5H50.9z"/>
17
+ <path id="XMLID_155_" class="st1" d="M55.6,9.5c0-0.3,0.1-0.5,0.2-0.6c0.1-0.1,0.3-0.2,0.5-0.2c0.2,0,0.3,0.1,0.5,0.2
18
+ S57,9.3,57,9.5s-0.1,0.4-0.2,0.6c-0.1,0.1-0.3,0.2-0.5,0.2c-0.2,0-0.4-0.1-0.5-0.2C55.7,10,55.6,9.8,55.6,9.5z M56.8,19.1h-1.1
19
+ v-7.5h1.1V19.1z"/>
20
+ <path id="XMLID_158_" class="st1" d="M61.7,18.3c0.2,0,0.4,0,0.6,0c0.2,0,0.3-0.1,0.4-0.1V19c-0.1,0.1-0.3,0.1-0.5,0.1
21
+ c-0.2,0-0.5,0.1-0.6,0.1c-1.4,0-2.2-0.8-2.2-2.3v-4.5h-1.1v-0.5l1.1-0.5l0.5-1.6h0.7v1.7h2.2v0.9h-2.2v4.4c0,0.5,0.1,0.8,0.3,1
22
+ S61.3,18.3,61.7,18.3z"/>
23
+ <path id="XMLID_160_" class="st1" d="M66.6,18.3c0.2,0,0.4,0,0.6,0c0.2,0,0.3-0.1,0.4-0.1V19c-0.1,0.1-0.3,0.1-0.5,0.1
24
+ c-0.2,0-0.5,0.1-0.6,0.1c-1.4,0-2.2-0.8-2.2-2.3v-4.5h-1.1v-0.5l1.1-0.5l0.5-1.6h0.7v1.7h2.2v0.9h-2.2v4.4c0,0.5,0.1,0.8,0.3,1
25
+ S66.2,18.3,66.6,18.3z"/>
26
+ <path id="XMLID_162_" class="st1" d="M72.3,19.2c-1.1,0-2-0.3-2.6-1c-0.6-0.7-1-1.6-1-2.8c0-1.2,0.3-2.2,0.9-2.9
27
+ c0.6-0.7,1.4-1.1,2.4-1.1c0.9,0,1.7,0.3,2.2,0.9c0.5,0.6,0.8,1.4,0.8,2.4v0.7h-5.2c0,0.9,0.2,1.5,0.7,2c0.4,0.5,1,0.7,1.8,0.7
28
+ c0.8,0,1.6-0.2,2.4-0.5v1c-0.4,0.2-0.8,0.3-1.1,0.4C73.2,19.2,72.8,19.2,72.3,19.2z M72,12.4c-0.6,0-1.1,0.2-1.4,0.6
29
+ c-0.4,0.4-0.6,0.9-0.6,1.6h3.9c0-0.7-0.2-1.3-0.5-1.6C73,12.6,72.6,12.4,72,12.4z"/>
30
+ <path id="XMLID_165_" class="st1" d="M80.4,11.4c0.3,0,0.6,0,0.9,0.1l-0.2,1.1c-0.3-0.1-0.6-0.1-0.8-0.1c-0.6,0-1.1,0.2-1.6,0.7
31
+ c-0.4,0.5-0.6,1.1-0.6,1.8v4H77v-7.5h0.9l0.1,1.4h0.1c0.3-0.5,0.6-0.9,1-1.1S79.9,11.4,80.4,11.4z"/>
32
+ </g>
33
+ <g id="XMLID_3_">
34
+ <path id="XMLID_4_" class="st1" d="M7,18.1c1.4,0.1,2.7-0.2,3.9-1.1c-1.2-0.1-2-0.7-2.5-1.9c0.4,0.1,0.8,0.1,1.2-0.1
35
+ c-0.6-0.1-1.1-0.5-1.5-1c-0.4-0.5-0.6-1.1-0.6-1.7c0.4,0.2,0.8,0.3,1.2,0.3c-0.6-0.4-1-1-1.1-1.6c-0.2-0.7-0.1-1.3,0.3-1.9
36
+ c1.4,1.7,3.3,2.6,5.5,2.8c0-0.2,0-0.3,0-0.5c0-0.6,0.1-1.2,0.4-1.6c0.6-0.9,1.5-1.3,2.6-1.2c0.6,0.1,1.1,0.3,1.5,0.7
37
+ c0.1,0.1,0.1,0.1,0.2,0.1c0.5-0.1,1-0.3,1.4-0.5c0,0,0.1,0,0.1-0.1c-0.1,0.3-0.2,0.6-0.4,0.8c-0.2,0.2-0.4,0.4-0.7,0.6
38
+ c0.5,0,1-0.2,1.4-0.4c0,0,0,0,0,0c-0.2,0.3-0.4,0.5-0.7,0.8c-0.2,0.2-0.4,0.4-0.6,0.5c0,0-0.1,0.1-0.1,0.1c0,1.4-0.3,2.7-0.9,3.9
39
+ c-0.8,1.5-2,2.7-3.6,3.4c-1.1,0.5-2.2,0.6-3.4,0.6c-1,0-1.9-0.3-2.8-0.7C7.6,18.5,7.3,18.3,7,18.1C7,18.1,7,18.1,7,18.1z"/>
40
+ </g>
41
+ <rect id="XMLID_2_" x="27" y="0" class="st2" width="1" height="28"/>
42
+ </g>
43
+ </svg>
assets/images/viber.svg ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="80px" height="28px" viewBox="0 0 80 28" style="enable-background:new 0 0 80 28;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#675CA8;}
7
+ .st1{fill:#FFFFFF;}
8
+ .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#504B93;}
9
+ </style>
10
+ <g id="XMLID_55_">
11
+ <path id="XMLID_214_" class="st0" d="M3,0h74c1.7,0,3,1.3,3,3v22c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3V3C0,1.3,1.3,0,3,0z"/>
12
+ <path id="XMLID_229_" class="st1" d="M14.3,5.8c-0.5,0-1,0-1.5,0.1C11.9,6,11,6.2,10.1,6.6C8.6,7.3,7.6,8.4,7.3,10
13
+ C7.2,10.7,7.1,11.3,7,12c-0.1,1.3,0,2.7,0.3,4c0.3,1,0.9,2,1.8,2.6c0.4,0.3,1,0.4,1.2,0.5v0c0.1,0,0.1,0.1,0.1,0.1c0,0,0,0,0,0.1
14
+ c0,0.9,0,2.5,0,2.5l0,0.4h0.4h0.3l0.1-0.1c0,0,1.6-1.6,2.2-2.2c0.1-0.1,0.2-0.2,0.2-0.2c0,0,0,0,0.1,0c0.8,0,1.5,0,2.3-0.1
15
+ c1-0.1,2-0.2,3-0.6c0.9-0.4,1.6-1,2-1.8c0.4-0.9,0.7-1.9,0.8-2.9c0.1-1.7,0.1-3.3-0.4-5c-0.3-1-0.8-1.8-1.6-2.3
16
+ c-1-0.7-2.1-0.9-3.2-1.1c-0.6-0.1-1.3-0.2-1.9-0.2C14.6,5.8,14.5,5.8,14.3,5.8z M14.8,6.5c0.6,0,1.2,0.1,1.8,0.2
17
+ c1.1,0.2,2.1,0.4,2.9,1c0.7,0.5,1.1,1.1,1.4,1.9c0.4,1.5,0.5,3.1,0.3,4.7v0c-0.1,0.9-0.3,1.8-0.7,2.6h0c-0.4,0.7-0.9,1.2-1.7,1.5
18
+ c-0.9,0.4-1.8,0.5-2.8,0.5c-0.8,0-1.5,0.1-2.3,0.1c-0.2,0-0.4,0.1-0.5,0.2c-0.1,0.1-0.2,0.2-0.3,0.3h0c-0.4,0.5-1.3,1.3-1.7,1.7
19
+ c0-0.5,0-1.2,0-1.8c0-0.2,0-0.4-0.1-0.5c-0.1-0.1-0.2-0.2-0.4-0.3l0,0c-0.4-0.2-0.9-0.3-1.2-0.5c-0.8-0.5-1.3-1.3-1.5-2.2
20
+ c-0.4-1.2-0.4-2.5-0.3-3.8c0.1-0.7,0.2-1.3,0.3-2c0.3-1.4,1.1-2.3,2.3-2.9c0.8-0.4,1.7-0.5,2.6-0.7C13.5,6.5,14.1,6.5,14.8,6.5z
21
+ M14.9,8.3c-0.3,0-0.6,0-0.9,0.1c-0.2,0-0.3,0.2-0.3,0.4c0,0.2,0.2,0.3,0.4,0.3C14.4,9,14.7,9,14.9,9c1.7,0,3.1,1.4,3.1,3.1
22
+ c0,0.2,0,0.5-0.1,0.7c0,0.2,0.1,0.4,0.3,0.4c0.2,0,0.4-0.1,0.4-0.3c0.1-0.3,0.1-0.6,0.1-0.9C18.8,10,17,8.3,14.9,8.3z M11.4,9
23
+ c-0.1,0-0.1,0-0.2,0c-0.6,0.1-1.3,0.6-1.3,1.5c0,0.1,0,0.2,0.1,0.3c0.2,0.5,0.4,1.1,0.7,1.5c1.3,2.4,3.2,4,5.7,5.1
24
+ c0.3,0.1,0.6,0.2,0.9,0c0.4-0.2,0.8-0.4,1-0.8c0.3-0.5,0.3-0.9-0.2-1.3c-0.3-0.3-0.7-0.5-1-0.8c-0.5-0.4-1.1-0.4-1.5,0.2
25
+ c0,0-0.1,0.1-0.1,0.1c-0.2,0.2-0.5,0.3-0.7,0.2c-1-0.4-1.8-1.1-2.3-2.1c-0.3-0.6-0.2-0.9,0.3-1.3c0.1,0,0.1-0.1,0.1-0.1
26
+ c0.2-0.2,0.3-0.5,0.2-0.7c-0.3-0.6-0.7-1.2-1.2-1.7C11.7,9.1,11.5,9,11.4,9z M14.9,9.4c-0.2,0-0.3,0-0.5,0c-0.2,0-0.3,0.2-0.3,0.4
27
+ c0,0.2,0.2,0.3,0.4,0.3c0,0,0,0,0,0c0.1,0,0.2,0,0.3,0c1.2,0,2.1,0.9,2.1,2.1c0,0.1,0,0.2,0,0.3c0,0.2,0.1,0.4,0.3,0.4
28
+ s0.4-0.1,0.4-0.3c0,0,0,0,0,0c0-0.2,0-0.3,0-0.5C17.7,10.6,16.5,9.4,14.9,9.4z M14.9,10.4c-0.2,0-0.4,0.2-0.4,0.4
29
+ c0,0.2,0.2,0.4,0.4,0.4c0,0,0,0,0,0c0.6,0,1.1,0.5,1.1,1.1c0,0.2,0.2,0.4,0.4,0.4s0.4-0.2,0.4-0.4c0,0,0,0,0,0
30
+ C16.6,11.2,15.8,10.4,14.9,10.4z"/>
31
+ <g id="XMLID_230_">
32
+ <path id="XMLID_231_" class="st1" d="M45.1,9.3h1.3l-3.6,10h-1.1L38,9.3h1.2l2.3,6.5c0.3,0.7,0.5,1.5,0.6,2.2
33
+ c0.2-0.7,0.4-1.5,0.6-2.2L45.1,9.3z"/>
34
+ <path id="XMLID_233_" class="st1" d="M47.4,9.7c0-0.3,0.1-0.5,0.2-0.6C47.8,9,47.9,9,48.1,9c0.2,0,0.3,0.1,0.5,0.2
35
+ s0.2,0.3,0.2,0.6s-0.1,0.4-0.2,0.6c-0.1,0.1-0.3,0.2-0.5,0.2c-0.2,0-0.4-0.1-0.5-0.2C47.5,10.2,47.4,10,47.4,9.7z M48.7,19.3h-1.1
36
+ v-7.5h1.1V19.3z"/>
37
+ <path id="XMLID_241_" class="st1" d="M54.6,11.6c1,0,1.7,0.3,2.3,1c0.5,0.7,0.8,1.6,0.8,2.9s-0.3,2.2-0.8,2.9
38
+ c-0.5,0.7-1.3,1-2.3,1c-0.5,0-0.9-0.1-1.3-0.3c-0.4-0.2-0.7-0.5-1-0.8h-0.1l-0.2,1h-0.8V8.6h1.1v2.6c0,0.6,0,1.1-0.1,1.6h0.1
39
+ C52.7,12,53.5,11.6,54.6,11.6z M54.4,12.6c-0.8,0-1.3,0.2-1.7,0.7c-0.3,0.4-0.5,1.2-0.5,2.2s0.2,1.8,0.5,2.3
40
+ c0.4,0.5,0.9,0.7,1.7,0.7c0.7,0,1.2-0.3,1.6-0.8c0.3-0.5,0.5-1.2,0.5-2.2c0-1-0.2-1.7-0.5-2.2S55.1,12.6,54.4,12.6z"/>
41
+ <path id="XMLID_248_" class="st1" d="M62.8,19.4c-1.1,0-2-0.3-2.6-1c-0.6-0.7-1-1.6-1-2.8c0-1.2,0.3-2.2,0.9-2.9
42
+ c0.6-0.7,1.4-1.1,2.4-1.1c0.9,0,1.7,0.3,2.2,0.9c0.5,0.6,0.8,1.4,0.8,2.4v0.7h-5.2c0,0.9,0.2,1.5,0.7,2c0.4,0.5,1,0.7,1.8,0.7
43
+ c0.8,0,1.6-0.2,2.4-0.5v1c-0.4,0.2-0.8,0.3-1.1,0.4C63.8,19.3,63.3,19.4,62.8,19.4z M62.5,12.6c-0.6,0-1.1,0.2-1.4,0.6
44
+ c-0.4,0.4-0.6,0.9-0.6,1.6h3.9c0-0.7-0.2-1.3-0.5-1.6C63.6,12.8,63.1,12.6,62.5,12.6z"/>
45
+ <path id="XMLID_251_" class="st1" d="M70.9,11.6c0.3,0,0.6,0,0.9,0.1l-0.2,1.1c-0.3-0.1-0.6-0.1-0.8-0.1c-0.6,0-1.1,0.2-1.6,0.7
46
+ c-0.4,0.5-0.6,1.1-0.6,1.8v4h-1.1v-7.5h0.9l0.1,1.4h0.1c0.3-0.5,0.6-0.9,1-1.1S70.5,11.6,70.9,11.6z"/>
47
+ </g>
48
+ <rect id="XMLID_56_" x="29" class="st2" width="1" height="28"/>
49
+ </g>
50
+ </svg>
assets/images/whatsapp.svg ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="111px" height="28px" viewBox="0 0 111 28" style="enable-background:new 0 0 111 28;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#39B54A;}
7
+ .st1{fill:#FFFFFF;}
8
+ .st2{fill-rule:evenodd;clip-rule:evenodd;fill:#129C49;}
9
+ </style>
10
+ <g id="XMLID_96_">
11
+ <path id="XMLID_131_" class="st0" d="M3,0h105c1.7,0,3,1.3,3,3v22c0,1.7-1.3,3-3,3H3c-1.7,0-3-1.3-3-3V3C0,1.3,1.3,0,3,0z"/>
12
+ <g id="XMLID_129_">
13
+ <path id="XMLID_254_" class="st1" d="M7,21C7,21,7,21,7,21C7,21,7,21,7,21c0.4-1.1,0.8-2.2,1.2-3.3c0,0,0,0,0-0.1
14
+ c-0.1-0.1-0.1-0.2-0.2-0.3c-0.6-0.9-0.9-2-1-3c0-0.5,0-1,0.1-1.6c0.1-0.7,0.4-1.4,0.7-2.1c0.6-1.1,1.4-2,2.4-2.6
15
+ c1-0.6,2.1-1,3.3-1.1c0.1,0,0.2,0,0.2,0c0.2,0,0.3,0,0.5,0c0,0,0,0,0,0c0.1,0,0.3,0,0.4,0c0.4,0,0.8,0.1,1.2,0.2
16
+ c1,0.3,1.9,0.8,2.6,1.5c0.7,0.6,1.2,1.3,1.6,2.1c0.4,0.8,0.7,1.7,0.7,2.6c0,0.1,0,0.2,0,0.2c0,0.2,0,0.3,0,0.5c0,0,0,0,0,0.1
17
+ c0,0.4-0.1,0.7-0.1,1.1c-0.1,0.7-0.4,1.4-0.8,2c-0.5,0.9-1.1,1.6-1.9,2.2c-0.6,0.5-1.3,0.8-2,1c-0.5,0.2-1,0.3-1.6,0.3
18
+ c-0.4,0-0.8,0-1.2,0c-0.4,0-0.8-0.1-1.2-0.2c-0.5-0.2-1-0.4-1.5-0.6c0,0-0.1,0-0.1,0c-0.4,0.1-0.7,0.2-1.1,0.3
19
+ c-0.8,0.2-1.5,0.4-2.3,0.6C7.2,21,7.1,21,7,21z M8.7,19.4C8.7,19.4,8.8,19.4,8.7,19.4c0.7-0.2,1.3-0.4,2-0.6c0.1,0,0.1,0,0.1,0
20
+ c0.4,0.3,0.9,0.5,1.4,0.6c0.5,0.2,0.9,0.2,1.4,0.3c0.4,0,0.7,0,1.1,0c0.5-0.1,0.9-0.2,1.3-0.3c1-0.4,1.9-1,2.6-1.9
21
+ c1-1.2,1.4-2.6,1.3-4.1c0-0.5-0.1-1-0.3-1.4c-0.4-1.1-1.1-2.1-2-2.8c-0.9-0.7-1.9-1.1-3.1-1.2c-0.4,0-0.8,0-1.2,0
22
+ c-0.4,0-0.7,0.1-1.1,0.2c-1.1,0.4-2,1-2.8,1.9c-0.8,0.9-1.2,2-1.3,3.2c0,0.5,0,0.9,0,1.4c0.1,0.5,0.2,1,0.4,1.4
23
+ c0.2,0.5,0.5,0.9,0.8,1.3c0,0,0,0.1,0,0.1c-0.2,0.5-0.4,1-0.6,1.5C8.8,19.2,8.8,19.3,8.7,19.4z"/>
24
+ <path id="XMLID_247_" class="st1" d="M11.6,10.2c0.1,0,0.1,0,0.2,0c0.1,0,0.2,0,0.2,0.1c0,0.1,0.1,0.2,0.1,0.2
25
+ c0.2,0.5,0.4,1,0.6,1.5c0,0.1,0,0.2,0,0.3c-0.1,0.3-0.3,0.5-0.5,0.7c0,0,0,0,0,0.1c-0.1,0.1-0.1,0.2,0,0.3
26
+ c0.1,0.1,0.1,0.3,0.2,0.4c0.3,0.4,0.6,0.8,1,1.2c0.4,0.3,0.8,0.6,1.2,0.8c0.1,0,0.1,0.1,0.2,0.1c0.1,0.1,0.2,0,0.3-0.1
27
+ c0.2-0.2,0.4-0.5,0.6-0.7c0,0,0-0.1,0.1-0.1c0.1-0.1,0.2-0.1,0.3-0.1c0.2,0.1,0.3,0.1,0.5,0.2c0.4,0.2,0.7,0.4,1.1,0.6
28
+ c0.2,0.1,0.2,0.2,0.2,0.4c0,0.3-0.1,0.5-0.2,0.8c-0.1,0.2-0.2,0.3-0.3,0.4c-0.2,0.2-0.5,0.4-0.8,0.4c-0.2,0.1-0.5,0.1-0.7,0.1
29
+ c-0.3,0-0.6-0.1-0.9-0.2c-0.4-0.1-0.7-0.3-1.1-0.5c-0.4-0.2-0.8-0.5-1.2-0.9c-0.6-0.6-1.1-1.2-1.6-1.9c-0.2-0.4-0.5-0.8-0.6-1.2
30
+ c-0.1-0.3-0.2-0.6-0.2-0.9c0-0.6,0.2-1.1,0.6-1.6c0.1-0.1,0.2-0.2,0.3-0.3c0.1,0,0.1,0,0.2,0C11.5,10.2,11.6,10.2,11.6,10.2
31
+ C11.6,10.2,11.6,10.2,11.6,10.2z"/>
32
+ </g>
33
+ <rect id="XMLID_97_" x="28" y="0" class="st2" width="1" height="28"/>
34
+ <g id="XMLID_307_">
35
+ <path id="XMLID_308_" class="st1" d="M46.9,17.6h-1.1l-2-6.7c-0.1-0.3-0.2-0.7-0.3-1.1S43.2,9.1,43.2,9c-0.1,0.6-0.3,1.3-0.5,2
36
+ l-2,6.7h-1.1L37,7.6h1.2l1.6,6.2c0.2,0.9,0.4,1.7,0.5,2.4c0.1-0.8,0.3-1.6,0.5-2.4l1.8-6.1h1.2l1.9,6.1c0.2,0.7,0.4,1.5,0.6,2.4
37
+ c0.1-0.6,0.3-1.4,0.5-2.4l1.6-6.2h1.2L46.9,17.6z"/>
38
+ <path id="XMLID_315_" class="st1" d="M56.1,17.6v-4.8c0-0.6-0.1-1.1-0.4-1.4S55,11,54.4,11c-0.8,0-1.4,0.2-1.7,0.6
39
+ c-0.4,0.4-0.5,1.1-0.5,2.1v3.9H51V7h1.1v3.2c0,0.4,0,0.7-0.1,1h0.1c0.2-0.4,0.5-0.6,1-0.9c0.4-0.2,0.9-0.3,1.4-0.3
40
+ c0.9,0,1.6,0.2,2.1,0.7c0.5,0.4,0.7,1.1,0.7,2.1v4.9H56.1z"/>
41
+ <path id="XMLID_317_" class="st1" d="M64.2,17.6L64,16.6h-0.1c-0.4,0.5-0.7,0.8-1.1,1c-0.4,0.2-0.8,0.2-1.4,0.2
42
+ c-0.7,0-1.3-0.2-1.7-0.6c-0.4-0.4-0.6-0.9-0.6-1.6c0-1.5,1.2-2.3,3.6-2.4l1.3,0v-0.5c0-0.6-0.1-1-0.4-1.3
43
+ c-0.3-0.3-0.7-0.4-1.2-0.4c-0.6,0-1.3,0.2-2.1,0.6l-0.3-0.9c0.4-0.2,0.8-0.4,1.2-0.5c0.4-0.1,0.9-0.2,1.3-0.2c0.9,0,1.6,0.2,2,0.6
44
+ c0.4,0.4,0.6,1,0.6,1.9v5.1H64.2z M61.6,16.8c0.7,0,1.3-0.2,1.7-0.6c0.4-0.4,0.6-0.9,0.6-1.6V14l-1.1,0c-0.9,0-1.6,0.2-2,0.4
45
+ c-0.4,0.2-0.6,0.6-0.6,1.2c0,0.4,0.1,0.7,0.4,0.9C60.8,16.7,61.2,16.8,61.6,16.8z"/>
46
+ <path id="XMLID_321_" class="st1" d="M69.8,16.8c0.2,0,0.4,0,0.6,0c0.2,0,0.3-0.1,0.4-0.1v0.9c-0.1,0.1-0.3,0.1-0.5,0.1
47
+ c-0.2,0-0.5,0.1-0.6,0.1c-1.4,0-2.2-0.8-2.2-2.3V11h-1.1v-0.5l1.1-0.5l0.5-1.6h0.7v1.7h2.2V11h-2.2v4.4c0,0.5,0.1,0.8,0.3,1
48
+ C69.1,16.7,69.4,16.8,69.8,16.8z"/>
49
+ <path id="XMLID_333_" class="st1" d="M77.1,15.6c0,0.7-0.3,1.2-0.8,1.6c-0.5,0.4-1.2,0.6-2.2,0.6c-1,0-1.8-0.2-2.3-0.5v-1.1
50
+ c0.4,0.2,0.7,0.3,1.2,0.4c0.4,0.1,0.8,0.2,1.2,0.2c0.6,0,1-0.1,1.4-0.3c0.3-0.2,0.5-0.5,0.5-0.9c0-0.3-0.1-0.5-0.4-0.7
51
+ c-0.3-0.2-0.7-0.5-1.5-0.7c-0.7-0.3-1.2-0.5-1.5-0.7c-0.3-0.2-0.5-0.4-0.7-0.7c-0.1-0.2-0.2-0.5-0.2-0.9c0-0.6,0.2-1.1,0.7-1.4
52
+ c0.5-0.4,1.2-0.5,2-0.5c0.8,0,1.6,0.2,2.4,0.5l-0.4,0.9c-0.8-0.3-1.4-0.5-2-0.5c-0.5,0-0.9,0.1-1.2,0.3c-0.3,0.2-0.4,0.4-0.4,0.7
53
+ c0,0.2,0.1,0.4,0.2,0.5c0.1,0.1,0.3,0.3,0.5,0.4c0.2,0.1,0.7,0.3,1.3,0.6c0.9,0.3,1.5,0.6,1.8,1C77,14.7,77.1,15.1,77.1,15.6z"/>
54
+ <path id="XMLID_335_" class="st1" d="M85.4,17.6l-1.2-3.2h-4L79,17.6h-1.2l4-10h1l3.9,10H85.4z M83.8,13.4l-1.2-3.1
55
+ c-0.2-0.4-0.3-0.9-0.5-1.4c-0.1,0.4-0.2,0.9-0.4,1.4l-1.2,3.1H83.8z"/>
56
+ <path id="XMLID_338_" class="st1" d="M91.3,17.8c-0.5,0-0.9-0.1-1.3-0.3c-0.4-0.2-0.7-0.5-1-0.8h-0.1c0.1,0.4,0.1,0.9,0.1,1.2V21
57
+ h-1.1V10.1h0.9l0.2,1H89c0.3-0.4,0.6-0.7,1-0.9c0.4-0.2,0.8-0.3,1.3-0.3c1,0,1.8,0.3,2.3,1c0.5,0.7,0.8,1.6,0.8,2.9
58
+ c0,1.2-0.3,2.2-0.8,2.9C93.1,17.4,92.3,17.8,91.3,17.8z M91.2,11c-0.8,0-1.3,0.2-1.7,0.6s-0.5,1.1-0.5,2v0.3
59
+ c0,1.1,0.2,1.8,0.5,2.3c0.4,0.5,0.9,0.7,1.7,0.7c0.6,0,1.2-0.3,1.5-0.8c0.4-0.5,0.5-1.2,0.5-2.2c0-0.9-0.2-1.7-0.5-2.1
60
+ C92.3,11.2,91.8,11,91.2,11z"/>
61
+ <path id="XMLID_341_" class="st1" d="M99.9,17.8c-0.5,0-0.9-0.1-1.3-0.3c-0.4-0.2-0.7-0.5-1-0.8h-0.1c0.1,0.4,0.1,0.9,0.1,1.2V21
62
+ h-1.1V10.1h0.9l0.2,1h0.1c0.3-0.4,0.6-0.7,1-0.9c0.4-0.2,0.8-0.3,1.3-0.3c1,0,1.8,0.3,2.3,1c0.5,0.7,0.8,1.6,0.8,2.9
63
+ c0,1.2-0.3,2.2-0.8,2.9C101.6,17.4,100.9,17.8,99.9,17.8z M99.7,11c-0.8,0-1.3,0.2-1.7,0.6s-0.5,1.1-0.5,2v0.3
64
+ c0,1.1,0.2,1.8,0.5,2.3c0.4,0.5,0.9,0.7,1.7,0.7c0.6,0,1.2-0.3,1.5-0.8c0.4-0.5,0.5-1.2,0.5-2.2c0-0.9-0.2-1.7-0.5-2.1
65
+ C100.9,11.2,100.4,11,99.7,11z"/>
66
+ </g>
67
+ </g>
68
+ </svg>
assets/js/admin.js CHANGED
@@ -116,7 +116,7 @@
116
  "href" : 'data:text/plain;charset=utf-8,' + encodeURIComponent( response ),
117
  }).appendTo( "body" )
118
  .click(function() {
119
- $(this).remove()
120
  })[0].click()
121
  } else {
122
  var blobObject = new Blob( [response] );
@@ -131,6 +131,134 @@
131
 
132
  });
133
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  });
135
 
136
  // The rest of the code goes here!
116
  "href" : 'data:text/plain;charset=utf-8,' + encodeURIComponent( response ),
117
  }).appendTo( "body" )
118
  .click(function() {
119
+ $(this).remove()
120
  })[0].click()
121
  } else {
122
  var blobObject = new Blob( [response] );
131
 
132
  });
133
 
134
+
135
+ //widget js
136
+ $(document).on('click', '.get_fb_token', function () {
137
+ var fb_content = $(this).parent().parent().parent().parent();
138
+ console.log(fb_content);
139
+ var client_id = $(fb_content).find('.fb_app_id').val().trim();
140
+ var secret_key = $(fb_content).find('.fb_secret_key').val().trim();
141
+
142
+ if ( 0 == client_id.length ) {
143
+ $(fb_content).find('.fb-error').text('Fb App id : required');
144
+ return false;
145
+ }
146
+ if ( 0 == secret_key.length ) {
147
+ $(fb_content).find('.fb-error').text('Fb Security key : required');
148
+ return false;
149
+ }
150
+
151
+ $(fb_content).find('#token_loader').show();
152
+ $.ajax({
153
+ url: 'https://graph.facebook.com/oauth/access_token',
154
+ data: {
155
+ client_id: client_id,
156
+ client_secret: secret_key,
157
+ grant_type: 'client_credentials'
158
+ },
159
+ dataType: 'json',
160
+
161
+ }).done(function (data, textStatus, jqXHR) {
162
+ //facebook_access_token.val( data.replace( 'access_token=' , '' ) );
163
+ $(fb_content).find('.fb_access_token').val(data.access_token);
164
+ $(fb_content).find('.fb-error').text('');
165
+ }).fail(function (jqXHR, textStatus, errorThrown) {
166
+ $(fb_content).find('.fb-error').text('Incorrect data, please check each field.' + '\n\n' + 'Info Message: ' + jqXHR.responseJSON.error.message);
167
+ }).always(function (jqXHR, textStatus, errorThrown) {
168
+ $(fb_content).find('#token_loader').hide();
169
+ });
170
+
171
+ });
172
+
173
+ $(document).on('click', '.fb_count_check', function () {
174
+ var fb_content = $(this).parent().parent();
175
+
176
+ if ($(this).is(':checked')) {
177
+ $(fb_content).find('.fb_api_key').css('display', 'block');
178
+ // $('.fb_api_key').css('display', 'block');
179
+ } else {
180
+ $(fb_content).find('.fb_api_key').css('display', 'none');
181
+ }
182
+ });
183
+ $(document).on('click', '.show_fb_check', function () {
184
+ var widget_content = $(this).parent().parent();
185
+
186
+ if ($(this).is(':checked')) {
187
+ $(widget_content).find('.show_fb').css('display', 'block');
188
+ } else {
189
+ $(widget_content).find('.show_fb').css('display', 'none');
190
+ }
191
+
192
+ });
193
+
194
+ $(document).on('click', '.show_twitter_check', function () {
195
+ var widget_content = $(this).parent().parent();
196
+ if ($(this).is(':checked')) {
197
+ $(widget_content).find('.show_twitter').css('display', 'block');
198
+ } else {
199
+ $(widget_content).find('.show_twitter').css('display', 'none');
200
+ }
201
+
202
+ });
203
+ $(document).on('click', '.twitter_count_check', function () {
204
+
205
+ var twitter_content = $(this).parent().parent();
206
+ if ($(this).is(':checked')) {
207
+ $(twitter_content).find('.twitter_api_key').css('display', 'block');
208
+
209
+ // $('.twitter_api_key').css('display', 'block');
210
+ } else {
211
+ $(twitter_content).find('.twitter_api_key').css('display', 'none');
212
+ }
213
+ });
214
+
215
+ $(document).on('click', '.show_google_check', function () {
216
+ var widget_content = $(this).parent().parent();
217
+ if ($(this).is(':checked')) {
218
+ // $('.show_google_plus').css('display', 'block');
219
+ $(widget_content).find('.show_google_plus').css('display', 'block');
220
+ } else {
221
+ $(widget_content).find('.show_google_plus').css('display', 'none');
222
+ }
223
+
224
+ });
225
+
226
+
227
+ $(document).on('click', '.show_youtube_check', function () {
228
+ var widget_content = $(this).parent().parent();
229
+ if ($(this).is(':checked')) {
230
+ // $('.show_youtube').css('display', 'block');
231
+ $(widget_content).find('.show_youtube').css('display', 'block');
232
+ } else {
233
+ $(widget_content).find('.show_youtube').css('display', 'none');
234
+ }
235
+
236
+ });
237
+
238
+ $(document).on('click', '.show_pinterest_check', function () {
239
+ var widget_content = $(this).parent().parent();
240
+ if ($(this).is(':checked')) {
241
+ // $('.show_youtube').css('display', 'block');
242
+ $(widget_content).find('.show_pinterest').css('display', 'block');
243
+ } else {
244
+ $(widget_content).find('.show_pinterest').css('display', 'none');
245
+ }
246
+
247
+ });
248
+
249
+ $(document).on('click', '.pinterest_count_check', function () {
250
+
251
+ var pinterest_content = $(this).parent().parent();
252
+ if ($(this).is(':checked')) {
253
+ $(pinterest_content).find('.pinterest_api_key').css('display', 'block');
254
+ } else {
255
+ $(pinterest_content).find('.pinterest_api_key').css('display', 'none');
256
+ }
257
+ });
258
+
259
+ //end widget js;
260
+
261
+
262
  });
263
 
264
  // The rest of the code goes here!
classes/ssb-admin.php CHANGED
@@ -50,7 +50,7 @@ if ( ! class_exists( 'SimpleSocialButtonsPR_Admin' ) ) :
50
 
51
  function admin_enqueue_scripts( $page ) {
52
 
53
- if ( 'toplevel_page_simple-social-buttons' == $page || 'social-buttons_page_ssb-help' == $page ) {
54
  wp_enqueue_style( 'ssb-admin-cs', plugins_url( 'assets/css/admin.css',plugin_dir_path( __FILE__ ) ), false, SSB_VERSION );
55
  wp_enqueue_script( 'ssb-admin-js', plugins_url( 'assets/js/admin.js',plugin_dir_path( __FILE__ ) ), array( 'jquery', 'jquery-ui-sortable' ), SSB_VERSION );
56
  }
@@ -116,7 +116,7 @@ if ( ! class_exists( 'SimpleSocialButtonsPR_Admin' ) ) :
116
  if ( ! isset( $_POST['ssb_noncename'] ) ) {
117
  return;
118
  }
119
-
120
  // Verify this came from the our screen and with proper authorization
121
  if ( ! wp_verify_nonce( $_POST['ssb_noncename'], plugin_basename( __FILE__ ) ) ) {
122
  return;
50
 
51
  function admin_enqueue_scripts( $page ) {
52
 
53
+ if ( 'toplevel_page_simple-social-buttons' == $page || 'social-buttons_page_ssb-help' == $page || 'widgets.php' == $page ) {
54
  wp_enqueue_style( 'ssb-admin-cs', plugins_url( 'assets/css/admin.css',plugin_dir_path( __FILE__ ) ), false, SSB_VERSION );
55
  wp_enqueue_script( 'ssb-admin-js', plugins_url( 'assets/js/admin.js',plugin_dir_path( __FILE__ ) ), array( 'jquery', 'jquery-ui-sortable' ), SSB_VERSION );
56
  }
116
  if ( ! isset( $_POST['ssb_noncename'] ) ) {
117
  return;
118
  }
119
+
120
  // Verify this came from the our screen and with proper authorization
121
  if ( ! wp_verify_nonce( $_POST['ssb_noncename'], plugin_basename( __FILE__ ) ) ) {
122
  return;
classes/ssb-settings-strucutre.php CHANGED
@@ -188,11 +188,20 @@ if ( ! class_exists( 'Ssb_Settings_Structure' ) ) :
188
  <span class="radio"><span class="shadow"></span></span>
189
  </label>
190
  <div class="simplesocialbuttons-nav <?php echo $key ?>">
 
 
 
 
 
 
 
 
191
  <ul>
192
  <li><a href="#" class="simplesocial-fb-share"><span class="simplesocial-hidden-text">Facebook</span></a></li>
193
  <li><a href="#" class="simplesocial-twt-share"><span class="simplesocial-hidden-text">Twitter</span></a></li>
194
  <li><a href="#" class="simplesocial-gplus-share"><span class="simplesocial-hidden-text">Google</span></a></li>
195
  </ul>
 
196
  </div> <!-- .simplesocialbuttons-nav -->
197
  </div> <!-- .simplesocialbuttons-style -->
198
  </div> <!-- .simplesocialbuttons-style-outer -->
@@ -367,7 +376,7 @@ if ( ! class_exists( 'Ssb_Settings_Structure' ) ) :
367
  ?>
368
  <?php foreach ($ssb_icons_order as $key => $value): ?>
369
  <?php if ( $value != 0): ?>
370
- <li data-id="<?php echo $key ?>" class="list"><img src="<?php echo plugins_url( 'assets/images/'.$key.'.png', plugin_dir_path( __FILE__ ) ) ?>" /></li>
371
  <?php endif; ?>
372
  <?php endforeach; ?>
373
  </ul>
@@ -378,7 +387,7 @@ if ( ! class_exists( 'Ssb_Settings_Structure' ) ) :
378
  <ul id="ssb_inactive_icons" class="items" style="min-height:35px">
379
  <?php foreach ( $ssb_icons_order as $key => $value): ?>
380
  <?php if ( $value == 0): ?>
381
- <li data-id="<?php echo $key ?>" class="list" ><img src="<?php echo plugins_url( 'assets/images/'.$key.'.png', plugin_dir_path( __FILE__ ) ) ?>" /></li>
382
  <?php endif; ?>
383
  <?php endforeach; ?>
384
  </ul>
188
  <span class="radio"><span class="shadow"></span></span>
189
  </label>
190
  <div class="simplesocialbuttons-nav <?php echo $key ?>">
191
+ <?php if ( 'simple-icons' == $key ) :?>
192
+ <ul>
193
+ <li><a href="#" class="simplesocial-fb-share"><span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="_1pbq" color="#ffffff"><path fill="#ffffff" fill-rule="evenodd" class="icon" d="M8 14H3.667C2.733 13.9 2 13.167 2 12.233V3.667A1.65 1.65 0 0 1 3.667 2h8.666A1.65 1.65 0 0 1 14 3.667v8.566c0 .934-.733 1.667-1.667 1.767H10v-3.967h1.3l.7-2.066h-2V6.933c0-.466.167-.9.867-.9H12v-1.8c.033 0-.933-.266-1.533-.266-1.267 0-2.434.7-2.467 2.133v1.867H6v2.066h2V14z"></path></svg></span><span class="simplesocial-hidden-text">Share</span></a></li>
194
+ <li><a href="#" class="simplesocial-twt-share"><span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 72 72"><path fill="none" d="M0 0h72v72H0z"></path><path class="icon" fill="#fff" d="M68.812 15.14c-2.348 1.04-4.87 1.744-7.52 2.06 2.704-1.62 4.78-4.186 5.757-7.243-2.53 1.5-5.33 2.592-8.314 3.176C56.35 10.59 52.948 9 49.182 9c-7.23 0-13.092 5.86-13.092 13.093 0 1.026.118 2.02.338 2.98C25.543 24.527 15.9 19.318 9.44 11.396c-1.125 1.936-1.77 4.184-1.77 6.58 0 4.543 2.312 8.552 5.824 10.9-2.146-.07-4.165-.658-5.93-1.64-.002.056-.002.11-.002.163 0 6.345 4.513 11.638 10.504 12.84-1.1.298-2.256.457-3.45.457-.845 0-1.666-.078-2.464-.23 1.667 5.2 6.5 8.985 12.23 9.09-4.482 3.51-10.13 5.605-16.26 5.605-1.055 0-2.096-.06-3.122-.184 5.794 3.717 12.676 5.882 20.067 5.882 24.083 0 37.25-19.95 37.25-37.25 0-.565-.013-1.133-.038-1.693 2.558-1.847 4.778-4.15 6.532-6.774z"></path></svg></span><span class="simplesocial-hidden-text">Tweet</span></a></li>
195
+ <li><a href="#" class="simplesocial-gplus-share"><span class="icon"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet" width="30px" height="18px" viewBox="-10 -6 60 36" class="ozWidgetRioButtonSvg_ ozWidgetRioButtonPlusOne_"><path d="M30 7h-3v4h-4v3h4v4h3v-4h4v-3h-4V7z"></path><path d="M11 9.9v4h5.4C16 16.3 14 18 11 18c-3.3 0-5.9-2.8-5.9-6S7.7 6 11 6c1.5 0 2.8.5 3.8 1.5l2.9-2.9C15.9 3 13.7 2 11 2 5.5 2 1 6.5 1 12s4.5 10 10 10c5.8 0 9.6-4.1 9.6-9.8 0-.7-.1-1.5-.2-2.2H11z"></path></svg></span></a></li>
196
+ <li><span style="line-height: 20px; vertical-align: top; font-weight: bold;display: inline-block;">Official Buttons</span></li>
197
+ </ul>
198
+ <?php else: ?>
199
  <ul>
200
  <li><a href="#" class="simplesocial-fb-share"><span class="simplesocial-hidden-text">Facebook</span></a></li>
201
  <li><a href="#" class="simplesocial-twt-share"><span class="simplesocial-hidden-text">Twitter</span></a></li>
202
  <li><a href="#" class="simplesocial-gplus-share"><span class="simplesocial-hidden-text">Google</span></a></li>
203
  </ul>
204
+ <?php endif; ?>
205
  </div> <!-- .simplesocialbuttons-nav -->
206
  </div> <!-- .simplesocialbuttons-style -->
207
  </div> <!-- .simplesocialbuttons-style-outer -->
376
  ?>
377
  <?php foreach ($ssb_icons_order as $key => $value): ?>
378
  <?php if ( $value != 0): ?>
379
+ <li data-id="<?php echo $key ?>" class="list"><img src="<?php echo plugins_url( 'assets/images/'.$key.'.svg', plugin_dir_path( __FILE__ ) ) ?>" /></li>
380
  <?php endif; ?>
381
  <?php endforeach; ?>
382
  </ul>
387
  <ul id="ssb_inactive_icons" class="items" style="min-height:35px">
388
  <?php foreach ( $ssb_icons_order as $key => $value): ?>
389
  <?php if ( $value == 0): ?>
390
+ <li data-id="<?php echo $key ?>" class="list" ><img src="<?php echo plugins_url( 'assets/images/'.$key.'.svg', plugin_dir_path( __FILE__ ) ) ?>" /></li>
391
  <?php endif; ?>
392
  <?php endforeach; ?>
393
  </ul>
classes/ssb-settings.php CHANGED
@@ -14,6 +14,8 @@ class Ssb_Settings {
14
  add_action( 'admin_init', array( $this, 'admin_init' ) );
15
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
16
  add_action( 'wp_ajax_ssb_help', array( $this, 'download_help' ) );
 
 
17
 
18
  }
19
 
@@ -26,6 +28,9 @@ class Ssb_Settings {
26
  do_action( 'ssb_add_pro_submenu' );
27
 
28
  add_submenu_page( 'simple-social-buttons', __( 'Help', 'simple-social-buttons' ), __( 'Help', 'simple-social-buttons' ), 'manage_options', 'ssb-help', array( $this, 'help_page' ) );
 
 
 
29
  }
30
 
31
  }
@@ -82,7 +87,7 @@ class Ssb_Settings {
82
  $setting_section = apply_filters( 'ssb_settings_panel', $sections );
83
 
84
  usort( $setting_section, array( $this, 'sort_array' ) );
85
-
86
  return $setting_section;
87
  }
88
 
@@ -333,6 +338,7 @@ class Ssb_Settings {
333
  'round-btm-border' => 'round-btm-border',
334
  'flat-button-border' => 'flat-button-border',
335
  'round-icon' => 'round-icon',
 
336
  ),
337
  ),
338
  ),
@@ -456,6 +462,55 @@ class Ssb_Settings {
456
  wp_die();
457
  }
458
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
459
 
460
  }
461
 
14
  add_action( 'admin_init', array( $this, 'admin_init' ) );
15
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
16
  add_action( 'wp_ajax_ssb_help', array( $this, 'download_help' ) );
17
+ add_action( 'wp_ajax_ssb_export', array( $this, 'export' ) );
18
+ add_action( 'wp_ajax_ssb_import', array( $this, 'import' ) );
19
 
20
  }
21
 
28
  do_action( 'ssb_add_pro_submenu' );
29
 
30
  add_submenu_page( 'simple-social-buttons', __( 'Help', 'simple-social-buttons' ), __( 'Help', 'simple-social-buttons' ), 'manage_options', 'ssb-help', array( $this, 'help_page' ) );
31
+
32
+ add_submenu_page( 'simple-social-buttons', __( 'Import and export settings', 'simple-social-buttons' ), __( 'Import / Export', 'simple-social-buttons' ), 'manage_options', 'ssb-import-export', array( $this, 'import_export_page' ) );
33
+
34
  }
35
 
36
  }
87
  $setting_section = apply_filters( 'ssb_settings_panel', $sections );
88
 
89
  usort( $setting_section, array( $this, 'sort_array' ) );
90
+
91
  return $setting_section;
92
  }
93
 
338
  'round-btm-border' => 'round-btm-border',
339
  'flat-button-border' => 'flat-button-border',
340
  'round-icon' => 'round-icon',
341
+ 'simple-icons' => 'simple-icons',
342
  ),
343
  ),
344
  ),
462
  wp_die();
463
  }
464
 
465
+ /**
466
+ * Include Import/Export Page.
467
+ *
468
+ * @since 2.0.4
469
+ */
470
+ public function import_export_page() {
471
+ include_once SSB_PLUGIN_DIR . '/inc/ssb-import-export.php';
472
+ }
473
+
474
+ /**
475
+ * Export Settings
476
+ *
477
+ * @since 2.0.4
478
+ */
479
+ public function export() {
480
+
481
+ $sections = $this->get_settings_sections();
482
+ $settings = array();
483
+
484
+ foreach ( $sections as $section ) {
485
+ $result = get_option( $section ['id'] );
486
+ $settings [ $section ['id'] ] = $result;
487
+ }
488
+
489
+ echo json_encode( $settings );
490
+ wp_die();
491
+ }
492
+
493
+ /**
494
+ * Import Settings.
495
+ *
496
+ * @since 2.0.4
497
+ */
498
+ public function import(){
499
+
500
+ $ssb_imp_tmp_name = $_FILES['file']['tmp_name'];
501
+ $ssb_file_content = file_get_contents( $ssb_imp_tmp_name );
502
+ $ssb_json = json_decode( $ssb_file_content, true );
503
+
504
+ if ( json_last_error() == JSON_ERROR_NONE ) {
505
+ foreach ( $ssb_json as $id => $array ) {
506
+ update_option( $id, $array );
507
+ }
508
+ } else {
509
+ echo "error";
510
+ }
511
+ wp_die();
512
+ }
513
+
514
 
515
  }
516
 
classes/ssb-widget.php ADDED
@@ -0,0 +1,482 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Widget class for social share follower widget
5
+ *
6
+ * @sicne 2.0.2
7
+ *
8
+ * Class Ssb_Follower_Widget
9
+ */
10
+ class Ssb_Follower_Widget extends WP_Widget {
11
+
12
+ /**
13
+ * Google console api key for google+ and youtube api for getting follower and subscriber
14
+ * @var string
15
+ */
16
+ private $api_key = 'AIzaSyBkQDWiRWxWKUoavuajUSAs28ld0Pdx8a4';
17
+
18
+ /**
19
+ * Transient Time
20
+ *
21
+ * 43200 = 12 Hours
22
+ */
23
+ private $cache_time = 43200;
24
+
25
+ /**
26
+ * Register ssb widget with WordPress.
27
+ *
28
+ * @since 2.0.2
29
+ */
30
+ function __construct() {
31
+ $widget_ops = array(
32
+ 'description' => 'Display Follow Button For your site',
33
+ );
34
+ parent::__construct( 'ssb_widget', 'Social Follow Widget', $widget_ops );
35
+
36
+ }
37
+
38
+ /**
39
+ * Front-end display of widget.
40
+ *
41
+ * @see WP_Widget::widget()
42
+ *
43
+ * @param array $args Widget arguments.
44
+ * @param array $instance Saved values from database.
45
+ */
46
+ function widget( $args, $instance ) {
47
+ extract( $args );
48
+ $display = '1';
49
+
50
+ $widget_title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance );
51
+
52
+ $show_facebook = $instance['show_facebook'];
53
+ $show_twitter = $instance['show_twitter'];
54
+ $show_google_plus = $instance['show_google_plus'];
55
+ $show_youtube = $instance['show_youtube'];
56
+ $show_pinterest = $instance['show_pinterest'];
57
+
58
+ $facebook_id = $instance['facebook_id'];
59
+ $facebook_show_counter = $instance['facebook_show_counter'];
60
+ $facebook_text = $instance['facebook_text'];
61
+ $facebook_access_token = $instance['facebook_access_token'];
62
+
63
+ $twitter_id = $instance['twitter'];
64
+ $twitter_show_counter = $instance['twitter_show_counter'];
65
+ $twitter_text = $instance['twitter_text'];
66
+ $twitter_api_key = $instance['twitter_api_key'];
67
+ $twitter_secret_key = $instance['twitter_secret_key'];
68
+
69
+ $google_id = $instance['google'];
70
+ $google_show_counter = $instance['google_show_counter'];
71
+ $google_text = $instance['google_text'];
72
+
73
+ $youtube_id = $instance['youtube'];
74
+ $youtube_show_counter = $instance['youtube_show_counter'];
75
+ $youtube_text = $instance['youtube_text'];
76
+ $youtube_type = $instance['youtube_type'];
77
+
78
+ $pinterest_id = $instance['pinterest'];
79
+ $pinterest_show_counter = $instance['pinterest_show_counter'];
80
+ $pinterest_api_key = $instance['pinterest_api_key'];
81
+ $pinterest_text = $instance['pinterest_text'];
82
+
83
+ $fb_likes = $this->get_facebook_likes_count( $facebook_id, $facebook_access_token, $facebook_show_counter );
84
+ $twitter_follower = $this->get_twitter_followers( $twitter_id, $twitter_api_key, $twitter_secret_key, $twitter_show_counter );
85
+ $google_follower = $this->get_google_plus_follower( $google_id, $google_show_counter );
86
+ $youtube_subscriber = $this->get_youtube_subscriber( $youtube_id, $youtube_show_counter, $youtube_type );
87
+ $pinterest_follower = $this->get_pinterest_followers( $pinterest_api_key, $pinterest_show_counter );
88
+
89
+ include SSB_PLUGIN_DIR . '/inc/ssb-widget-front.php';
90
+ }
91
+
92
+ /**
93
+ * Back-end widget form.
94
+ *
95
+ * @see WP_Widget::form()
96
+ *
97
+ * @param array $instance Previously saved values from database.
98
+ */
99
+ public function form( $instance ) {
100
+ $display = '1';
101
+
102
+ //first time run when instance create
103
+ if ( 0 == count( $instance ) ) {
104
+ $instance['facebook_text'] = __( 'Follow us on Facebook', 'simple-social-buttons' );
105
+ $instance['google_text'] = __( 'Follow us on Google+', 'simple-social-buttons' );
106
+ $instance['youtube_text'] = __( 'Subscribe us on Youtube', 'simple-social-buttons' );
107
+ $instance['twitter_text'] = __( 'Follow us on Twitter', 'simple-social-buttons' );
108
+ $instance['pinterest_text'] = __( 'Pin us on Pinterest', 'simple-social-buttons' );
109
+
110
+ }
111
+
112
+
113
+ $title = ! empty( $instance['title'] ) ? $instance['title'] : esc_html__( 'Follow Us', 'simple-social-buttons' );
114
+
115
+ $show_facebook = ! empty( $instance['show_facebook'] ) ? $instance['show_facebook'] : '';
116
+ $show_twitter = ! empty( $instance['show_twitter'] ) ? $instance['show_twitter'] : '';
117
+ $show_google_plus = ! empty( $instance['show_google_plus'] ) ? $instance['show_google_plus'] : '';
118
+ $show_youtube = ! empty( $instance['show_youtube'] ) ? $instance['show_youtube'] : '';
119
+ $show_pinterest = ! empty( $instance['show_pinterest'] ) ? $instance['show_pinterest'] : '';
120
+
121
+ $facebook_id = ! empty( $instance['facebook_id'] ) ? $instance['facebook_id'] : '';
122
+ $facebook_show_counter = ! empty( $instance['facebook_show_counter'] ) ? $instance['facebook_show_counter'] : '';
123
+ $facebook_text = ! empty( $instance['facebook_text'] ) ? $instance['facebook_text'] : '';
124
+ $facebook_app_id = ! empty( $instance['facebook_app_id'] ) ? $instance['facebook_app_id'] : '';
125
+ $facebook_security_key = ! empty( $instance['facebook_security_key'] ) ? $instance['facebook_security_key'] : '';
126
+ $facebook_access_token = ! empty( $instance['facebook_access_token'] ) ? $instance['facebook_access_token'] : '';
127
+
128
+ $twitter = ! empty( $instance['twitter'] ) ? $instance['twitter'] : '';
129
+ $twitter_api_key = ! empty( $instance['twitter_api_key'] ) ? $instance['twitter_api_key'] : '';
130
+ $twitter_show_counter = ! empty( $instance['twitter_show_counter'] ) ? $instance['twitter_show_counter'] : '';
131
+ $twitter_text = ! empty( $instance['twitter_text'] ) ? $instance['twitter_text'] : '';
132
+ $twitter_secret_key = ! empty( $instance['twitter_secret_key'] ) ? $instance['twitter_secret_key'] : '';
133
+
134
+ $google = ! empty( $instance['google'] ) ? $instance['google'] : '';
135
+ $google_show_counter = ! empty( $instance['google_show_counter'] ) ? $instance['google_show_counter'] : '';
136
+ $google_text = ! empty( $instance['google_text'] ) ? $instance['google_text'] : '';
137
+
138
+ $youtube = ! empty( $instance['youtube'] ) ? $instance['youtube'] : '';
139
+ $youtube_text = ! empty( $instance['youtube_text'] ) ? $instance['youtube_text'] : '';
140
+ $youtube_type = ! empty( $instance['youtube_type'] ) ? $instance['youtube_type'] : '';
141
+ $youtube_show_counter = ! empty( $instance['youtube_show_counter'] ) ? $instance['youtube_show_counter'] : '';
142
+
143
+ $pinterest = ! empty( $instance['pinterest'] ) ? $instance['pinterest'] : '';
144
+ $pinterest_text = ! empty( $instance['pinterest_text'] ) ? $instance['pinterest_text'] : '';
145
+ $pinterest_show_counter = ! empty( $instance['pinterest_show_counter'] ) ? $instance['pinterest_show_counter'] : '';
146
+ $pinterest_api_key = ! empty( $instance['pinterest_api_key'] ) ? $instance['pinterest_api_key'] : '';
147
+
148
+ include SSB_PLUGIN_DIR . '/inc/ssb-widget-fields.php';
149
+
150
+ }
151
+
152
+ /**
153
+ * Sanitize widget form values as they are saved.
154
+ *
155
+ * @see WP_Widget::update()
156
+ *
157
+ * @param array $new_instance Values just sent to be saved.
158
+ * @param array $old_instance Previously saved values from database.
159
+ *
160
+ * @return array Updated safe values to be saved.
161
+ */
162
+ public function update( $new_instance, $old_instance ) {
163
+
164
+ // delete transiant wheb user update widget settings.
165
+ delete_transient( 'ssb_follow_facebook_counter' );
166
+ delete_transient( 'ssb_follow_twitter_counter' );
167
+ delete_transient( 'ssb_follow_google_counter' );
168
+ delete_transient( 'ssb_follow_youtube_counter' );
169
+ delete_transient( 'ssb_follow_pinterest_counter' );
170
+
171
+ $instance = array();
172
+ $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? strip_tags( $new_instance['title'] ) : '';
173
+
174
+ $instance['show_facebook'] = ! empty( $new_instance['show_facebook'] ) ? strip_tags( $new_instance['show_facebook'] ) : '0';
175
+ $instance['show_twitter'] = ! empty( $new_instance['show_twitter'] ) ? strip_tags( $new_instance['show_twitter'] ) : '0';
176
+ $instance['show_google_plus'] = ! empty( $new_instance['show_google_plus'] ) ? strip_tags( $new_instance['show_google_plus'] ) : '0';
177
+ $instance['show_youtube'] = ! empty( $new_instance['show_youtube'] ) ? strip_tags( $new_instance['show_youtube'] ) : '0';
178
+ $instance['show_pinterest'] = ! empty( $new_instance['show_pinterest'] ) ? strip_tags( $new_instance['show_pinterest'] ) : '0';
179
+
180
+ $instance['facebook_id'] = sanitize_text_field( wp_unslash( $new_instance['facebook_id'] ) );
181
+ $instance['facebook_app_id'] = sanitize_text_field( wp_unslash( $new_instance['facebook_app_id'] ) );
182
+ $instance['facebook_security_key'] = sanitize_text_field( wp_unslash( $new_instance['facebook_security_key'] ) );
183
+ $instance['facebook_access_token'] = sanitize_text_field( wp_unslash( $new_instance['facebook_access_token'] ) );
184
+ $instance['facebook_show_counter'] = ( ! empty( $new_instance['facebook_show_counter'] ) ) ? strip_tags( $new_instance['facebook_show_counter'] ) : '0';
185
+ $instance['facebook_text'] = sanitize_text_field( wp_unslash( $new_instance['facebook_text'] ) );
186
+
187
+ $instance['twitter'] = sanitize_text_field( wp_unslash( $new_instance['twitter'] ) );
188
+ $instance['twitter_api_key'] = sanitize_text_field( wp_unslash( $new_instance['twitter_api_key'] ) );
189
+ $instance['twitter_secret_key'] = sanitize_text_field( wp_unslash( $new_instance['twitter_secret_key'] ) );
190
+ $instance['twitter_show_counter'] = ( ! empty( $new_instance['twitter_show_counter'] ) ) ? strip_tags( $new_instance['twitter_show_counter'] ) : '0';
191
+ $instance['twitter_text'] = sanitize_text_field( wp_unslash( $new_instance['twitter_text'] ) );
192
+
193
+ $instance['google'] = sanitize_text_field( wp_unslash( $new_instance['google'] ) );
194
+ $instance['google_show_counter'] = ( ! empty( $new_instance['google_show_counter'] ) ) ? strip_tags( $new_instance['google_show_counter'] ) : '0';
195
+ $instance['google_text'] = sanitize_text_field( wp_unslash( $new_instance['google_text'] ) );
196
+
197
+ $instance['youtube'] = sanitize_text_field( wp_unslash( $new_instance['youtube'] ) );
198
+ $instance['youtube_show_counter'] = ( ! empty( $new_instance['youtube_show_counter'] ) ) ? strip_tags( $new_instance['youtube_show_counter'] ) : '0';
199
+ $instance['youtube_text'] = sanitize_text_field( wp_unslash( $new_instance['youtube_text'] ) );
200
+ $instance['youtube_type'] = sanitize_text_field( wp_unslash( $new_instance['youtube_type'] ) );
201
+
202
+ $instance['pinterest'] = sanitize_text_field( wp_unslash( $new_instance['pinterest'] ) );
203
+ $instance['pinterest_show_counter'] = ( ! empty( $new_instance['pinterest_show_counter'] ) ) ? strip_tags( $new_instance['pinterest_show_counter'] ) : '0';
204
+ $instance['pinterest_text'] = sanitize_text_field( wp_unslash( $new_instance['pinterest_text'] ) );
205
+ $instance['pinterest_api_key'] = sanitize_text_field( wp_unslash( $new_instance['pinterest_api_key'] ) );
206
+
207
+ return $instance;
208
+ }
209
+
210
+ /**
211
+ * passing facebook and access token return facebook like counter
212
+ *
213
+ * @since 2.0.2
214
+ *
215
+ * @param $facebook_id
216
+ * @param $access_token
217
+ *
218
+ * @return int
219
+ */
220
+ function get_facebook_likes_count( $facebook_id, $access_token, $show_counter ) {
221
+
222
+ if ( $show_counter ) {
223
+
224
+ if ( false === get_transient( 'ssb_follow_facebook_counter' ) ) {
225
+ $json_feed_url = "https://graph.facebook.com/$facebook_id/?fields=likes,fan_count&access_token=$access_token";
226
+
227
+ $args = array( 'httpversion' => '1.1' );
228
+ $json_feed = wp_remote_get( $json_feed_url, $args );
229
+
230
+ if ( is_wp_error( $json_feed ) || 200 !== wp_remote_retrieve_response_code( $json_feed ) ) {
231
+ return 0;
232
+ }
233
+ $result = json_decode( wp_remote_retrieve_body( $json_feed ) );
234
+ $counter = ( isset( $result->fan_count ) ? $result->fan_count : 0 );
235
+ $counter = $this->format_number( $counter );
236
+
237
+ if ( ! empty( $counter ) ) {
238
+ set_transient( 'ssb_follow_facebook_counter', $counter, $this->cache_time );
239
+ }
240
+
241
+ return $counter;
242
+ } else {
243
+ return get_transient( 'ssb_follow_facebook_counter' );
244
+ }
245
+ }
246
+ }
247
+
248
+ /**
249
+ * Pass twitter user name and api key return twitter follower
250
+ *
251
+ * @since 2.0.2
252
+ *
253
+ * @param $twitter_handle
254
+ * @param $api_key
255
+ * @param $secret_key
256
+ *
257
+ * @return mixed|void
258
+ */
259
+ function get_twitter_followers( $twitter_handle, $api_key, $secret_key, $show_count ) {
260
+ // some variables
261
+ $consumerKey = $api_key;
262
+ $consumerSecret = $secret_key;
263
+ $token = get_option( 'ssb_follow_twitter_token' );
264
+
265
+ // get follower count from cache
266
+ $numberOfFollowers = get_transient( 'ssb_follow_twitter_counter' );
267
+
268
+ if ( $show_count ) {
269
+
270
+ // cache version does not exist or expired
271
+ if ( false == get_transient( 'ssb_follow_twitter_counter' ) ) {
272
+
273
+ // getting new auth bearer only if we don't have one
274
+ if ( ! $token ) {
275
+ // preparing credentials
276
+ $credentials = $consumerKey . ':' . $consumerSecret;
277
+ $toSend = base64_encode( $credentials );
278
+
279
+ $args = array(
280
+ 'method' => 'POST',
281
+ 'httpversion' => '1.1',
282
+ 'blocking' => true,
283
+ 'headers' => array(
284
+ 'Authorization' => 'Basic ' . $toSend,
285
+ 'Content-Type' => 'application/x-www-form-urlencoded;charset=UTF-8',
286
+ ),
287
+ 'body' => array( 'grant_type' => 'client_credentials' ),
288
+ );
289
+
290
+ add_filter( 'https_ssl_verify', '__return_false' );
291
+ $response = wp_remote_post( 'https://api.twitter.com/oauth2/token', $args );
292
+
293
+ $keys = json_decode( wp_remote_retrieve_body( $response ) );
294
+
295
+ if ( $keys && isset( $keys->access_token ) ) {
296
+ // saving token to wp_options table.
297
+ update_option( 'ssb_follow_twitter_token', $keys->access_token );
298
+ $token = $keys->access_token;
299
+ }
300
+ }
301
+
302
+ // we have bearer token wether we obtained it from API or from options.
303
+ $args = array(
304
+ 'httpversion' => '1.1',
305
+ 'blocking' => true,
306
+ 'headers' => array(
307
+ 'Authorization' => "Bearer $token",
308
+ ),
309
+ );
310
+
311
+ add_filter( 'https_ssl_verify', '__return_false' );
312
+ $api_url = "https://api.twitter.com/1.1/users/show.json?screen_name=$twitter_handle";
313
+ $response = wp_remote_get( $api_url, $args );
314
+ if ( is_wp_error( $response ) || 200 !== wp_remote_retrieve_response_code( $response ) ) {
315
+ return 0;
316
+ }
317
+
318
+ $followers = json_decode( wp_remote_retrieve_body( $response ) );
319
+ $counter = isset( $followers->followers_count ) ? $followers->followers_count : 0;
320
+ $counter = $this->format_number( $counter );
321
+ // cache for an hour
322
+ if ( ! empty( $counter ) ) {
323
+ set_transient( 'ssb_follow_twitter_counter', $counter, $this->cache_time );
324
+ }
325
+
326
+ return $counter;
327
+ }
328
+
329
+ return get_transient( 'ssb_follow_twitter_counter' );
330
+
331
+ }
332
+ }
333
+
334
+ /**
335
+ * passing the google plus username return google+ follower
336
+ *
337
+ * @since 2.0.2
338
+ *
339
+ * @param $google_iD
340
+ *
341
+ * @return int
342
+ */
343
+ function get_google_plus_follower( $google_id, $show_counter ) {
344
+
345
+ if ( $show_counter ) {
346
+
347
+ if ( false === get_transient( 'ssb_follow_google_counter' ) ) {
348
+ $json_feed_url = 'https://www.googleapis.com/plus/v1/people/' . $google_id . '?fields=circledByCount%2CplusOneCount&key=' . $this->api_key;
349
+ $args = array( 'httpversion' => '1.1' );
350
+ $json_feed = wp_remote_get( $json_feed_url, $args );
351
+ if ( is_wp_error( $json_feed ) || 200 !== wp_remote_retrieve_response_code( $json_feed ) ) {
352
+ return 0;
353
+ }
354
+ $result = json_decode( wp_remote_retrieve_body( $json_feed ) );
355
+
356
+ $counter = isset( $result->circledByCount ) ? $result->circledByCount : 0;
357
+
358
+ $counter = $this->format_number( $counter );
359
+ if ( ! empty( $counter ) ) {
360
+
361
+ set_transient( 'ssb_follow_google_counter', $counter, $this->cache_time );
362
+ }
363
+
364
+ return $counter;
365
+ } else {
366
+
367
+ return get_transient( 'ssb_follow_google_counter' );
368
+ }
369
+ }
370
+ }
371
+
372
+ /**
373
+ * passing youtube channel id and access token return the channel subscriber counter
374
+ * @since 2.0.2
375
+ *
376
+ * @param $channel_id
377
+ * @param $access_token
378
+ *
379
+ * @return int
380
+ */
381
+ function get_youtube_subscriber( $channel_id, $show_counter, $youtube_type ) {
382
+
383
+ if ( $show_counter ) {
384
+
385
+ if ( false === get_transient( 'ssb_follow_youtube_counter' ) ) {
386
+
387
+ // Check if username of channel id.
388
+ $_type = $youtube_type == 'username' ? 'forUsername' : 'id';
389
+
390
+ $json_feed_url = 'https://www.googleapis.com/youtube/v3/channels?key=' . $this->api_key . '&part=contentDetails,statistics&'. $_type . '=' . $channel_id;
391
+ $args = array(
392
+ 'httpversion' => '1.1',
393
+ 'timeout' => 15
394
+ );
395
+ $json_feed = wp_remote_get( $json_feed_url, $args );
396
+ if ( is_wp_error( $json_feed ) || 200 !== wp_remote_retrieve_response_code( $json_feed ) ) {
397
+ return 0;
398
+ }
399
+ $result = json_decode( wp_remote_retrieve_body( $json_feed ) );
400
+ $counter = isset( $result->items[0]->statistics->subscriberCount ) ? $result->items[0]->statistics->subscriberCount : 0;
401
+ $counter = $this->format_number( $counter );
402
+
403
+ if ( ! empty( $counter ) ) {
404
+
405
+ set_transient( 'ssb_follow_youtube_counter', $counter, $this->cache_time );
406
+ }
407
+
408
+ return $counter;
409
+ } else {
410
+
411
+ return get_transient( 'ssb_follow_youtube_counter' );
412
+ }
413
+ }
414
+
415
+ }
416
+
417
+ /**
418
+ * passing pinterest access_token for getting pinterest follower counter
419
+ * @since 2.0.2
420
+ * @param $access_token
421
+ * @param $show_counter
422
+ *
423
+ * @return int|string
424
+ */
425
+ function get_pinterest_followers( $access_token, $show_counter ) {
426
+
427
+ if ( $show_counter ) {
428
+
429
+ if ( false === get_transient( 'ssb_follow_pinterest_counter' ) ) {
430
+ $json_feed_url = 'https://api.pinterest.com/v1/me/followers/?access_token=' . $access_token;
431
+ $args = array( 'httpversion' => '1.1' );
432
+ $json_feed = wp_remote_get( $json_feed_url, $args );
433
+ //$result = json_decode( $json_feed['body'] );
434
+ if ( is_wp_error( $json_feed ) || 200 !== wp_remote_retrieve_response_code( $json_feed ) ) {
435
+ return 0;
436
+ }
437
+ $result = json_decode( wp_remote_retrieve_body( $json_feed ),true );
438
+ $counter = count($result['data'] );
439
+ $counter = $this->format_number( $counter );
440
+
441
+ if ( ! empty( $counter ) ) {
442
+
443
+ set_transient( 'ssb_follow_pinterest_counter', $counter, $this->cache_time );
444
+ }
445
+
446
+ return $counter;
447
+ } else {
448
+
449
+ return get_transient( 'ssb_follow_pinterest_counter' );
450
+ }
451
+ }
452
+
453
+ }
454
+
455
+ /**
456
+ * Format the (int)number into easy readable format like 1K, 1M
457
+ * @since 2.0.2
458
+ *
459
+ * @param $value
460
+ *
461
+ * @return string
462
+ */
463
+ function format_number( $value ) {
464
+ if ( $value > 999 && $value <= 999999 ) {
465
+ return $result = floor( $value / 1000 ) . 'K';
466
+ } elseif ( $value > 999999 ) {
467
+ return $result = floor( $value / 1000000 ) . ' M';
468
+ } else {
469
+ return $result = $value;
470
+ }
471
+ }
472
+
473
+ } // end class Ssb_Follower_Widget
474
+
475
+ /**
476
+ * Register plugin widget.
477
+ */
478
+ function ssb_register_widget() {
479
+ register_widget( 'Ssb_Follower_Widget' );
480
+ }
481
+
482
+ add_action( 'widgets_init', 'ssb_register_widget' );
inc/custom-css.php CHANGED
@@ -1,68 +1,82 @@
1
- <style media="screen">
2
- <?php if ( 'sm-round' == $this->selected_theme && isset( $this->selected_position['inline'] ) ): ?>
3
- .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-sm-round a{
4
- margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
5
- }
6
- <?php endif ?>
 
7
 
8
- <?php if ( 'simple-round' == $this->selected_theme && isset( $this->selected_position['inline'] ) ) : ?>
9
- .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-simple-round a{
10
- margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
11
- }
12
- <?php endif ?>
13
 
14
- <?php if ( 'round-txt' == $this->selected_theme && isset( $this->selected_position['inline'] ) ) : ?>
15
- .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-round-txt a{
16
- margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
17
- }
18
- <?php endif ?>
19
 
20
- <?php if ( 'round-btm-border' == $this->selected_theme && isset( $this->selected_position['inline'] ) ) : ?>
21
- .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-round-btm-border a{
22
- margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
23
- }
24
- <?php endif ?>
25
 
26
- <?php if ( 'flat-button-border' == $this->selected_theme && isset( $this->selected_position['inline'] ) ) : ?>
27
- .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-flat-button-border a{
28
- margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
29
- }
30
- <?php endif ?>
31
 
32
- <?php if ( 'round-icon' == $this->selected_theme && isset( $this->selected_position['inline'] ) ) : ?>
33
- .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-round-icon a{
34
- margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
35
- }
36
- <?php endif ?>
37
 
 
38
 
39
- <?php if ( 'sm-round' == $this->selected_theme && isset( $this->selected_position['sidebar'] ) ) : ?>
40
- div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-sm-round a{
41
- margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px ' : ''; ?>;
42
  }
43
- <?php endif ?>
44
 
45
- <?php if ( 'simple-round' == $this->selected_theme && isset( $this->selected_position['sidebar'] ) ) : ?>
46
- div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-simple-round a{
47
- margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px 0' : ''; ?>;
48
- }
49
- <?php endif ?>
50
 
51
- <?php if ( 'round-txt' == $this->selected_theme && isset( $this->selected_position['sidebar'] ) ) : ?>
52
- div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-round-txt a{
53
- margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px 0' : ''; ?>;
54
- }
55
- <?php endif ?>
56
 
57
- <?php if ( 'round-btm-border' == $this->selected_theme && isset( $this->selected_position['sidebar'] ) ) : ?>
58
- div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-round-btm-border a{
59
- margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px 0' : ''; ?>;
60
- }
61
- <?php endif ?>
 
 
 
 
 
 
62
 
63
- <?php if ( 'round-icon' == $this->selected_theme && isset( $this->selected_position['sidebar'] ) ) : ?>
64
- div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-round-icon a{
65
  margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px 0' : ''; ?>;
66
  }
67
  <?php endif ?>
68
- </style>
 
 
 
 
 
 
 
 
 
 
 
1
+ <style media="screen">
2
+ /*inline margin*/
3
+ <?php if ( 'sm-round' == $this->selected_theme && isset( $this->selected_position['inline'] ) ): ?>
4
+ .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-sm-round a{
5
+ margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
6
+ }
7
+ <?php endif ?>
8
 
9
+ <?php if ( 'simple-round' == $this->selected_theme && isset( $this->selected_position['inline'] ) ) : ?>
10
+ .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-simple-round a{
11
+ margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
12
+ }
13
+ <?php endif ?>
14
 
15
+ <?php if ( 'round-txt' == $this->selected_theme && isset( $this->selected_position['inline'] ) ) : ?>
16
+ .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-round-txt a{
17
+ margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
18
+ }
19
+ <?php endif ?>
20
 
21
+ <?php if ( 'round-btm-border' == $this->selected_theme && isset( $this->selected_position['inline'] ) ) : ?>
22
+ .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-round-btm-border a{
23
+ margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
24
+ }
25
+ <?php endif ?>
26
 
27
+ <?php if ( 'flat-button-border' == $this->selected_theme && isset( $this->selected_position['inline'] ) ) : ?>
28
+ .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-flat-button-border a{
29
+ margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
30
+ }
31
+ <?php endif ?>
32
 
33
+ <?php if ( 'round-icon' == $this->selected_theme && isset( $this->selected_position['inline'] ) ) : ?>
34
+ .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-round-icon a{
35
+ margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
36
+ }
 
37
 
38
+ <?php endif ?>
39
 
40
+ <?php if ( 'simple-icons' == $this->selected_theme && isset( $this->selected_position['inline'] ) ) : ?>
41
+ .simplesocialbuttons.simplesocialbuttons_inline.simplesocial-simple-icons a{
42
+ margin: <?php echo $this->inline_option['icon_space'] == '1' && $this->inline_option['icon_space_value'] != '' ? $this->inline_option['icon_space_value'] . 'px' : ''; ?>;
43
  }
 
44
 
45
+ <?php endif ?>
46
+ /*margin-digbar*/
 
 
 
47
 
48
+ <?php if ( 'sm-round' == $this->selected_theme && isset( $this->selected_position['sidebar'] ) ) : ?>
49
+ div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-sm-round a{
50
+ margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px ' : ''; ?>;
51
+ }
52
+ <?php endif ?>
53
 
54
+ <?php if ( 'simple-round' == $this->selected_theme && isset( $this->selected_position['sidebar'] ) ) : ?>
55
+ div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-simple-round a{
56
+ margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px 0' : ''; ?>;
57
+ }
58
+ <?php endif ?>
59
+
60
+ <?php if ( 'round-txt' == $this->selected_theme && isset( $this->selected_position['sidebar'] ) ) : ?>
61
+ div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-round-txt a{
62
+ margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px 0' : ''; ?>;
63
+ }
64
+ <?php endif ?>
65
 
66
+ <?php if ( 'round-btm-border' == $this->selected_theme && isset( $this->selected_position['sidebar'] ) ) : ?>
67
+ div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-round-btm-border a{
68
  margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px 0' : ''; ?>;
69
  }
70
  <?php endif ?>
71
+
72
+ <?php if ( 'round-icon' == $this->selected_theme && isset( $this->selected_position['sidebar'] ) ) : ?>
73
+ div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-round-icon a{
74
+ margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px 0' : ''; ?>;
75
+ }
76
+ <?php endif ?>
77
+ <?php if ( 'simple-icons' == $this->selected_theme && isset( $this->selected_position['sidebar'] ) ) : ?>
78
+ div[class*="simplesocialbuttons-float"].simplesocialbuttons.simplesocial-simple-icons a{
79
+ margin: <?php echo $this->sidebar_option['icon_space'] == '1' && $this->sidebar_option['icon_space_value'] != '' ? $this->sidebar_option['icon_space_value'] . 'px 0' : ''; ?>;
80
+ }
81
+ <?php endif ?>
82
+ </style>
inc/ssb-import-export.php ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * SSB Import Export Page Content.
4
+ *
5
+ * @since 2.0.4
6
+ */
7
+ ?>
8
+ <div class="ssb-import-export-page">
9
+ <h2><?php esc_html_e( 'Import/Export Simple Social Share Buttons Settings', 'simple-social-buttons' ); ?></h2>
10
+ <div class=""><?php esc_html_e( "Import/Export your Social share button Settings for/from other sites.", 'simple-social-buttons' ); ?></div>
11
+ <table class="form-table">
12
+ <tbody>
13
+ <tr class="import_setting">
14
+ <th scope="row">
15
+ <label for="ssb_press_import"><?php esc_html_e( 'Import Settings:', 'simple-social-buttons' ); ?></label>
16
+ </th>
17
+ <td>
18
+ <input type="file" name="ssb_press_import" id="ssb_press_import">
19
+ <input type="button" class="button ssb-import" value="<?php esc_html_e( 'Import', 'simple-social-buttons' ); ?>" disabled="disabled">
20
+ <span class="import-sniper">
21
+ <img src="<?php echo admin_url( 'images/wpspin_light.gif' ); ?>">
22
+ </span>
23
+ <span class="import-text"><?php esc_html_e( 'Simple Social Buttons Share Settings Imported Successfully.', 'simple-social-buttons' ); ?></span>
24
+ <span class="wrong-import"></span>
25
+ <p class="description"><?php esc_html_e( 'Select a file and click on Import to start processing.', 'simple-social-buttons' ); ?></p>
26
+ </td>
27
+ </tr>
28
+ <tr class="export_setting">
29
+ <th scope="row">
30
+ <label for="ssb_configure[export_setting]"><?php esc_html_e( 'Export Settings:', 'simple-social-buttons' ); ?></label>
31
+ </th>
32
+ <td>
33
+ <input type="button" class="button ssb-export" value="<?php esc_html_e( 'Export', 'simple-social-buttons' ); ?>">
34
+ <span class="export-sniper">
35
+ <img src="<?php echo admin_url( 'images/wpspin_light.gif' ); ?>">
36
+ </span>
37
+ <span class="export-text"><?php esc_html_e( 'Simple Social Button Settings Exported Successfully!', 'simple-social-buttons' ); ?></span>
38
+ <p class="description"><?php esc_html_e( 'Export Simple Social Button Settings.', 'simple-social-buttons' ) ?></p>
39
+ </td>
40
+ </tr>
41
+ </tbody>
42
+ </table>
43
+ </div>
44
+
45
+
46
+ <script>
47
+ (function($) {
48
+ 'use strict';
49
+ $(".import-sniper").hide();
50
+ $(".import-text").hide();
51
+ $(".export-sniper").hide();
52
+ $(".export-text").hide();
53
+ // Remove Disabled attribute from Import Button.
54
+ $( '#ssb_press_import' ).on( 'change', function( event ) {
55
+
56
+ event.preventDefault();
57
+
58
+ var ssbFileImp = $( '#ssb_press_import' ).val();
59
+ var ssbpressFileExt = ssbFileImp.substr( ssbFileImp.lastIndexOf('.') + 1 );
60
+
61
+ $( '.ssb-import' ).attr( "disabled", "disabled" );
62
+
63
+ if ( 'json' == ssbpressFileExt ) {
64
+ $(".import_setting .wrong-import").html("");
65
+ $( '.ssb-import' ).removeAttr( "disabled" );
66
+ } else {
67
+ $(".import_setting .wrong-import").html("Invalid File.");
68
+ }
69
+ });
70
+ $('.ssb-export').on('click', function(event) {
71
+
72
+ event.preventDefault();
73
+
74
+ var dateObj = new Date();
75
+ var month = dateObj.getUTCMonth() + 1; //months from 1-12
76
+ var day = dateObj.getUTCDate();
77
+ var year = dateObj.getUTCFullYear();
78
+ var newdate = year + "-" + month + "-" + day;
79
+
80
+ $.ajax({
81
+
82
+ url: ajaxurl,
83
+ type: 'POST',
84
+ data: {
85
+ action : 'ssb_export',
86
+ },
87
+ beforeSend: function() {
88
+ $(".export_setting .export-sniper").show();
89
+ },
90
+ success: function( response ) {
91
+
92
+ $(".export_setting .export-sniper").hide();
93
+ $(".export_setting .export-text").show();
94
+
95
+ if ( ! window.navigator.msSaveOrOpenBlob ) { // If msSaveOrOpenBlob() is supported, then so is msSaveBlob().
96
+ $("<a />", {
97
+ "download" : "ssb-export-"+newdate+".json",
98
+ "href" : "data:application/json;charset=utf-8," + encodeURIComponent( response ),
99
+ }).appendTo( "body" )
100
+ .click(function() {
101
+ $(this).remove()
102
+ })[0].click()
103
+ } else {
104
+ var blobObject = new Blob( [response] );
105
+ window.navigator.msSaveBlob( blobObject, "ssb-export-"+newdate+".json" );
106
+ }
107
+
108
+ setTimeout(function() {
109
+ $(".export_setting .export-text").fadeOut()
110
+ }, 3000 );
111
+ }
112
+ });
113
+ });
114
+
115
+ $('.ssb-import').on( 'click', function(event) {
116
+ event.preventDefault();
117
+
118
+ var file = $('#ssb_press_import');
119
+ var fileObj = new FormData();
120
+ var content = file[0].files[0];
121
+
122
+ fileObj.append( 'file', content );
123
+ fileObj.append( 'action', 'ssb_import' );
124
+
125
+ $.ajax({
126
+
127
+ processData: false,
128
+ contentType: false,
129
+ url: ajaxurl,
130
+ type: 'POST',
131
+ data: fileObj, // file and action append into variable fileObj.
132
+ beforeSend: function() {
133
+ $(".import_setting .import-sniper").show();
134
+ $(".import_setting .wrong-import").html("");
135
+ $( '.ssb-import' ).attr( "disabled", "disabled" );
136
+ },
137
+ success: function(response) {
138
+
139
+ $(".import_setting .import-sniper").hide();
140
+ // $(".import_setting .import-text").fadeIn();
141
+ if ( 'error' == response ) {
142
+ $(".import_setting .wrong-import").html("JSON File is not Valid.");
143
+ } else {
144
+ $(".import_setting .import-text").show();
145
+ setTimeout( function() {
146
+ $(".import_setting .import-text").fadeOut();
147
+ // $(".import_setting .wrong-import").html("");
148
+ file.val('');
149
+ }, 3000 );
150
+ }
151
+
152
+ }
153
+ }); //!ajax.
154
+ });
155
+ })(jQuery); // This invokes the function above and allows us to use '$' in place of 'jQuery' in our code.
156
+
157
+
158
+ </script>
inc/ssb-widget-fields.php ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <p>
3
+ <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php esc_attr_e( 'Title:', 'simple-social-buttons' ); ?></label>
4
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>">
5
+
6
+ </p>
7
+ <div class="simpleshare-checklist">
8
+ <input type="checkbox" value="1" class="show_fb_check" name="<?php echo esc_attr( $this->get_field_name( 'show_facebook' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'show_facebook' ) ); ?>" <?php checked( $show_facebook , 1);?>> <label for="<?php echo esc_attr( $this->get_field_id( 'show_facebook' ) ); ?>">Facebook</label>
9
+ <br/>
10
+ <input type="checkbox" value="1" class="show_twitter_check" name="<?php echo esc_attr( $this->get_field_name( 'show_twitter' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'show_twitter' ) ); ?>" <?php checked( $show_twitter);?>> <label for="<?php echo esc_attr( $this->get_field_id( 'show_twitter' ) ); ?>">Twitter</label>
11
+ <br/>
12
+ <input type="checkbox" value="1" class="show_google_check" name="<?php echo esc_attr( $this->get_field_name( 'show_google_plus' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'show_google_plus' ) );?>" <?php checked( $show_google_plus, 1);?> > <label for="<?php echo esc_attr( $this->get_field_id( 'show_google_plus' ) ); ?>">Google+</label>
13
+ <br/>
14
+ <input type="checkbox" value="1" class="show_youtube_check" name="<?php echo esc_attr( $this->get_field_name( 'show_youtube' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'show_youtube' ) ); ?>" <?php checked($show_youtube ,1);?> > <label for="<?php echo esc_attr( $this->get_field_id( 'show_youtube' ) ); ?>">YouTube</label>
15
+ <br/>
16
+ <input type="checkbox" value="1" class="show_pinterest_check" name="<?php echo esc_attr( $this->get_field_name( 'show_pinterest' ) ); ?>" id="<?php echo esc_attr( $this->get_field_id( 'show_pinterest' ) ); ?>" <?php checked($show_pinterest ,1);?> > <label for="<?php echo esc_attr( $this->get_field_id( 'show_pinterest' ) ); ?>">Pinterest</label>
17
+ </div>
18
+ <!--facebook-->
19
+ <div class="show_fb simpleshare-widget-settings" style="display: <?php echo ( $display == $show_facebook )? 'block' : 'none' ?>">
20
+ <h2><span>Facebook</span></h2>
21
+ <p class="facebook_text" style="display: block ">
22
+ <label for="<?php echo esc_attr( $this->get_field_id( 'facebook_text' ) ); ?> "><?php esc_attr_e( 'Facebook Button Text', 'simple-social-buttons' ); ?></label>
23
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'facebook_text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'facebook_text' ) ); ?>" type="text" value="<?php echo esc_attr( $facebook_text ); ?>" placeholder="Like us on Facebook">
24
+ </p>
25
+
26
+ <p>
27
+ <label for="<?php echo esc_attr( $this->get_field_id( 'facebook_id' ) ); ?>">Facebook User ID:</label>
28
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'facebook_id' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'facebook_id' ) ); ?>" type="text" value="<?php echo esc_attr( $facebook_id ); ?>">
29
+ </p>
30
+ <p>
31
+ <input type="checkbox" name="<?php echo esc_attr( $this->get_field_name( 'facebook_show_counter' ) ) ?>"
32
+ id="<?php echo esc_attr( $this->get_field_id( 'facebook_show_counter' ) ) ?>"
33
+ value="1" <?php checked( $facebook_show_counter, 1 ) ?> class="fb_count_check" ><label for="<?php echo esc_attr( $this->get_field_id( 'facebook_show_counter' ) ) ?>"> Display Facebook like counter</label>
34
+ </p>
35
+ <p class="fb-error" style="color: red"></p>
36
+ <div class="fb_api_key" style="display: <?php echo ( $display == $facebook_show_counter )? 'block' : 'none' ?>">
37
+ <p>
38
+ <label for="<?php echo esc_attr( $this->get_field_id( 'facebook_app_id' ) ); ?>"><?php esc_attr_e( 'Facebook App Id:', 'simple-social-buttons' ); ?>
39
+ <input class="widefat fb_app_id" id="<?php echo esc_attr( $this->get_field_id( 'facebook_app_id' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'facebook_app_id' ) ); ?>" type="text" value="<?php echo esc_attr( $facebook_app_id ); ?>">
40
+ </p>
41
+ <p>
42
+
43
+ <label for="<?php echo esc_attr( $this->get_field_id( 'facebook_security_key' ) ); ?>"><?php esc_attr_e( 'Facebook Security Key:', 'simple-social-buttons' ); ?></label>
44
+ <input class="widefat fb_secret_key" id="<?php echo esc_attr( $this->get_field_id( 'facebook_security_key' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'facebook_security_key' ) ); ?>" type="text" value="<?php echo esc_attr( $facebook_security_key ); ?>">
45
+ </p>
46
+ <p>
47
+ <label for="<?php echo esc_attr( $this->get_field_id( 'facebook_access_token' ) ); ?>"><?php esc_attr_e( 'Facebook Access Token: ', 'simple-social-buttons' ); ?><a href="javascript:void(0)" class="get_fb_token" target="_blank">get access token</a> <img src="<?php echo admin_url( 'images/wpspin_light.gif' ); ?>" id="token_loader" style="display: none"></label>
48
+ <input class="widefat fb_access_token" id="<?php echo esc_attr( $this->get_field_id( 'facebook_access_token' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'facebook_access_token' ) ); ?>" type="text" value="<?php echo esc_attr( $facebook_access_token ); ?>">
49
+ </p>
50
+ </div>
51
+ <hr/>
52
+ </div>
53
+ <!--twitter-->
54
+ <div class="show_twitter simpleshare-widget-settings" style="display: <?php echo ( $display == $show_twitter )? 'block' : 'none' ?>">
55
+ <h2><span>Twitter</span></h2>
56
+ <p class="twitter_text" style="display: block ">
57
+ <label for="<?php echo esc_attr( $this->get_field_id( 'twitter_text' ) ); ?> "><?php esc_attr_e( 'Twitter Button Text:', 'simple-social-buttons' ); ?></label>
58
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'twitter_text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'twitter_text' ) ); ?>" type="text" value="<?php echo esc_attr( $twitter_text ); ?>" placeholder="Follow us on Twitter">
59
+ </p>
60
+ <p>
61
+ <label for="<?php echo esc_attr( $this->get_field_id( 'twitter' ) ); ?>"><?php esc_attr_e( 'Twitter Handle:', 'simple-social-buttons' ); ?></label>
62
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'twitter' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'twitter' ) ); ?>" type="text" value="<?php echo esc_attr( $twitter ); ?>" placeholder="Handle">
63
+
64
+ </p>
65
+ <p>
66
+ <input type="checkbox" name="<?php echo esc_attr( $this->get_field_name( 'twitter_show_counter' ) ) ?>" id="<?php echo esc_attr( $this->get_field_id( 'twitter_show_counter' ) ) ?>"
67
+ value="1" <?php checked( $twitter_show_counter, 1 ) ?> class="twitter_count_check" ><label for="<?php echo esc_attr( $this->get_field_id( 'twitter_show_counter' ) ) ?>"> Display Twitter follower counter</label>
68
+ </p>
69
+
70
+
71
+ <div class="twitter_api_key" style="display: <?php echo ( $display == $twitter_show_counter )? 'block' : 'none' ?>">
72
+ <p>
73
+ <label for="<?php echo esc_attr( $this->get_field_id( 'twitter_api_key' ) ); ?>"><?php esc_attr_e( 'Twitter Api Key: ', 'simple-social-buttons' ); ?><a href="https://apps.twitter.com/" target="_blank">How to get the Twitter security and api key</a>
74
+ </label>
75
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'twitter_api_key' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'twitter_api_key' ) ); ?>" type="text" value="<?php echo esc_attr( $twitter_api_key ); ?>">
76
+ </p>
77
+ <p>
78
+ <label for="<?php echo esc_attr( $this->get_field_id( 'twitter_secret_key' ) ); ?>"><?php esc_attr_e( 'Twitter Secret Key:', 'simple-social-buttons' ); ?></label>
79
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'twitter_secret_key' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'twitter_secret_key' ) ); ?>" type="text" value="<?php echo esc_attr( $twitter_secret_key ); ?>">
80
+ </p>
81
+
82
+ </div>
83
+ <hr/>
84
+ </div>
85
+ <!--google-->
86
+ <div class="show_google_plus simpleshare-widget-settings" style="display: <?php echo ( $display == $show_google_plus )? 'block' : 'none' ?>">
87
+ <h2><span>Google Plus</span></h2>
88
+ <p>
89
+
90
+ <label for="<?php echo esc_attr( $this->get_field_id( 'google_text' ) ); ?> "><?php esc_attr_e( 'Google+ Button Text:', 'simple-social-buttons' ); ?></label>
91
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'google_text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'google_text' ) ); ?>" type="text" value="<?php echo esc_attr( $google_text ); ?>" placeholder="Follow us on Google Plus">
92
+
93
+ </p>
94
+ <p class="google_text" style="display: block ">
95
+ <label for="<?php echo esc_attr( $this->get_field_id( 'google' ) ); ?>"><?php esc_attr_e( 'Google+ User ID:', 'simple-social-buttons' ); ?></label>
96
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'google' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'google' ) ); ?>" type="text" value="<?php echo esc_attr( $google ); ?>" placeholder="+username">
97
+ <input type="checkbox" name="<?php echo esc_attr( $this->get_field_name( 'google_show_counter' ) ) ?>" id="<?php echo esc_attr( $this->get_field_id( 'google_show_counter' ) ) ?>" value="1" <?php checked( $google_show_counter, 1 ) ?> class="google_count_check" ><label for="<?php echo esc_attr( $this->get_field_id( 'google_show_counter' ) ) ?>"><label for="<?php echo esc_attr( $this->get_field_id( 'google_show_counter' ) ) ?>"> Display Google Plus follower counter</label>
98
+ </p>
99
+ <hr/>
100
+
101
+ </div>
102
+ <!--youtube-->
103
+ <div class="show_youtube simpleshare-widget-settings" style="display: <?php echo ( $display == $show_youtube )? 'block' : 'none' ?>">
104
+ <h2><span>YouTube</span></h2>
105
+ <p>
106
+ <label for="<?php echo esc_attr( $this->get_field_id( 'youtube_text' ) ); ?> "><?php esc_attr_e( 'YouTube Button Text:', 'simple-social-buttons' ); ?></label>
107
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'youtube_text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'youtube_text' ) ); ?>" type="text" value="<?php echo esc_attr( $youtube_text ); ?>" placeholder="Subscribe us on YouTube">
108
+ </p>
109
+
110
+ <p>
111
+ <label for="<?php echo esc_attr( $this->get_field_id( 'youtube_type' ) ); ?> "><?php esc_attr_e( 'Type :', 'simple-social-buttons' ); ?></label>
112
+ <select class="widefat" name="<?php echo esc_attr( $this->get_field_name( 'youtube_type' ) ); ?>">
113
+ <option <?php selected( $youtube_type, 'channel'); ?> value="channel">Channel</option>
114
+ <option <?php selected( $youtube_type, 'username'); ?> value="username">Username</option>
115
+ </select>
116
+ </p>
117
+
118
+ <p class="youtube_text" style="display: block">
119
+ <label for="<?php echo esc_attr( $this->get_field_id( 'youtube' ) ); ?>"><?php esc_attr_e( 'YouTube Channel ID:', 'simple-social-buttons' ); ?></label>
120
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'youtube' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'youtube' ) ); ?>" type="text" value="<?php echo esc_attr( $youtube ); ?>" >
121
+ <input type="checkbox" name="<?php echo esc_attr( $this->get_field_name( 'youtube_show_counter' ) ) ?>" id="<?php echo esc_attr( $this->get_field_id( 'youtube_show_counter' ) ) ?>" value="1" <?php checked( $youtube_show_counter, 1 ) ?> class="youtube_count_check" >
122
+ <label for="<?php echo esc_attr( $this->get_field_id( 'youtube_show_counter' ) ) ?>"> Display YouTube subscriber counter</label>
123
+ </p>
124
+ <hr/>
125
+
126
+ </div>
127
+ <!--pinterest-->
128
+ <div class="show_pinterest simpleshare-widget-settings" style="display: <?php echo ( $display == $show_pinterest )? 'block' : 'none' ?>">
129
+ <h2><span>Pinterest</span></h2>
130
+ <p>
131
+ <label for="<?php echo esc_attr( $this->get_field_id( 'pinterest_text' ) ); ?> "><?php esc_attr_e( 'Pinterest Button Text:', 'simple-social-buttons' ); ?></label>
132
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'pinterest_text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'pinterest_text' ) ); ?>" type="text" value="<?php echo esc_attr( $pinterest_text ); ?>" placeholder="Follow us on Pinterest">
133
+ </p>
134
+ <p class="pinterest_text" style="display: block">
135
+ <label for="<?php echo esc_attr( $this->get_field_id( 'pinterest' ) ); ?>"><?php esc_attr_e( 'Pinterest User ID:', 'simple-social-buttons' ); ?></label>
136
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'pinterest' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'pinterest' ) ); ?>" type="text" value="<?php echo esc_attr( $pinterest ); ?>" placeholder="Username" >
137
+ <input type="checkbox" name="<?php echo esc_attr( $this->get_field_name( 'pinterest_show_counter' ) ) ?>" id="<?php echo esc_attr( $this->get_field_id( 'pinterest_show_counter' ) ) ?>" value="1" <?php checked( $pinterest_show_counter, 1 ) ?> class="pinterest_count_check" >
138
+ <label for="<?php echo esc_attr( $this->get_field_id( 'pinterest_show_counter' ) ) ?>">Display Pinterest follower counter</label>
139
+ </p>
140
+ <div class="pinterest_api_key" style="display: <?php echo ( $display == $pinterest_show_counter )? 'block' : 'none' ?>">
141
+ <p>
142
+ <label for="<?php echo esc_attr( $this->get_field_id( 'pinterest_api_key' ) ); ?>"><?php esc_attr_e( 'Printerest Access Token: ', 'simple-social-buttons' ); ?><a href="https://developers.pinterest.com/tools/access_token/" target="_blank">How to get the Pinterest access token</a>
143
+ </label>
144
+ <input class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'pinterest_api_key' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'pinterest_api_key' ) ); ?>" type="text" value="<?php echo esc_attr( $pinterest_api_key ); ?>">
145
+ </p>
146
+
147
+ </div>
148
+ <hr/>
149
+ </div>
inc/ssb-widget-front.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ echo $before_widget;
3
+ if( !empty( $widget_title ) ){
4
+
5
+ echo $before_title . $widget_title . $after_title;
6
+ }
7
+ ?>
8
+
9
+ <section class="ssb_followers simplesocial-simple-round">
10
+
11
+
12
+ <?php if( $display == $show_facebook ):?>
13
+ <a class="ssb_button simplesocial-fb-follow" rel="nofollow" href="https://www.facebook.com/<?php echo $facebook_id;?>" target="_blank"><span class="simplesocialtxt"><?php echo $facebook_text;?> </span><span class="widget_counter"> <?php echo ( $display == $facebook_show_counter)? $fb_likes: '' ;?> </span></a>
14
+ <?php endif;
15
+ if( $display == $show_twitter ): ?>
16
+ <a class="ssb_button simplesocial-twt-follow" rel="nofollow" href="https://www.twitter.com/<?php echo $twitter_id;?>" target="_blank"><span class="simplesocialtxt"><?php echo $twitter_text;?> </span><span class="widget_counter"> <?php echo ( $display == $twitter_show_counter)? $twitter_follower: '';?> </span></a>
17
+ <?php endif;
18
+ if ( $display == $show_google_plus ):?>
19
+ <a class="ssb_button simplesocial-gplus-follow" rel="nofollow" href="https://www.plus.google.com/<?php echo $google_id;?>" target="_blank"><span class="simplesocialtxt"><?php echo $google_text;?> </span><span class="widget_counter"> <?php echo ( $display == $google_show_counter )? $google_follower: '';?> </span></a>
20
+ <?php endif;
21
+ if( $display == $show_youtube):
22
+ ?>
23
+ <a class="ssb_button simplesocial-yt-follow" rel="nofollow" href="https://www.youtube.com/user/<?php echo $youtube_id ?>" target="_blank"><span class="simplesocialtxt"><?php echo $youtube_text?> </span><span class="widget_counter"> <?php echo ( $display == $youtube_show_counter)?$youtube_subscriber:" ";?> </span></a>
24
+ <?php endif;?>
25
+ <?php if ( $display == $show_pinterest ):?>
26
+ <a class="ssb_button simplesocial-pinterest-follow" rel="nofollow" href="https://pinterest.com/<?php echo $pinterest_id;?>/" target="_blank"><span class="simplesocialtxt"><?php echo $pinterest_text;?> </span><span class="widget_counter"> <?php echo ( $display == $pinterest_show_counter )? $pinterest_follower: '';?> </span></a>
27
+ <?php endif;?>
28
+
29
+
30
+ </section>
31
+ <?php echo $after_widget;?>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpbrigade.com/
4
  Tags: Social share, Social buttons, Whatsapp, Viber, LinkedIn, facebook, google, twitter, pinterest, plus one
5
  Requires at least: 4.0
6
  Tested up to: 4.9
7
- Stable tag: 2.0.4
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -115,10 +115,22 @@ Premium version includes Priority support, premium featuers like access to custo
115
 
116
  Check the more details [here](https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-faqs&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.")
117
 
118
- = Is there a template tag for custom install? =
119
 
120
- Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation section). Default instalation don't require that.
121
 
 
 
 
 
 
 
 
 
 
 
 
 
122
 
123
  == Screenshots ==
124
 
@@ -134,12 +146,22 @@ Yes, you can use `<?php get_ssb(); ?>` in your template file (see installation s
134
 
135
  == Upgrade Notice ==
136
 
137
- = 2.0.4 =
138
  * Relaunched with a whole set of NEW FEATURES and Improvement. Please upgrade immediately and provide your feedback. highly recommended. Aplogies in advance, if anything breaks!
139
 
140
 
141
  == Changelog ==
142
 
 
 
 
 
 
 
 
 
 
 
143
  = 2.0.4 - 2017-11-17 =
144
  * Bug Fix: Undefined index error when creating new post or page.
145
  * Enhancement: Facebook likes button is back.
4
  Tags: Social share, Social buttons, Whatsapp, Viber, LinkedIn, facebook, google, twitter, pinterest, plus one
5
  Requires at least: 4.0
6
  Tested up to: 4.9
7
+ Stable tag: 2.0.5
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
115
 
116
  Check the more details [here](https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-faqs&utm_campaign=pro-upgrade "This plugin makes Social Sharing easy for EVERYONE.")
117
 
118
+ = Is there a shortcode for custom install? =
119
 
120
+ Yes, you can use ShortCode [SSB] to use in your Templates/Themes.
121
 
122
+ = What are the attributes of Shortcode =
123
+
124
+ [SSB] to call with plugin settings values.
125
+
126
+ [SSB theme="Official" aign="right" counter="true" order="googleplus,twitter,pinterest,fbshare,linkedin" ]
127
+
128
+ Attributes with all the possible values.
129
+
130
+ counter = true or false
131
+ align = left or right or centered
132
+ order = googleplus,twitter,pinterest,fbshare,linkedin,reddit,whatsapp,viber,fblike
133
+ theme = theme1 or theme2 or theme3 or theme4 or Flat or Circle or Official
134
 
135
  == Screenshots ==
136
 
146
 
147
  == Upgrade Notice ==
148
 
149
+ = 2.0.5 =
150
  * Relaunched with a whole set of NEW FEATURES and Improvement. Please upgrade immediately and provide your feedback. highly recommended. Aplogies in advance, if anything breaks!
151
 
152
 
153
  == Changelog ==
154
 
155
+ = 2.0.5 - 2017-12-27 =
156
+ * New Feature: Social Follow Widget.
157
+ * New Feature: Social Media Sharing Buttons ShortCode to use in tempalates.
158
+ * Bug Fix: Hide Social Media Sharing Buttons on single posts/pages or custom post types.
159
+ * New Feature: Added Official Social Media Sharing Buttons for Facebook, Twitter, Google+, LinkedIn and Pinterest.
160
+ * Enhancement: Improved Social Media Images Quality for Retina machines
161
+ * Bug Fix: Changed the facebook like button in plugin settings.
162
+ * Enhancement: Improved Speed and code optimization.
163
+ * Compatibility: Compatible with WordPress 4.9
164
+
165
  = 2.0.4 - 2017-11-17 =
166
  * Bug Fix: Undefined index error when creating new post or page.
167
  * Enhancement: Facebook likes button is back.
simple-social-buttons.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Simple Social Buttons
4
  * Plugin URI: http://www.WPBrigade.com/wordpress/plugins/simple-social-buttons/
5
  * Description: Simple Social Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Google +1, Facebook, WhatsApp, Viber, Twitter, Reddit, LinkedIn and Pinterest. This makes it the most <code>Flexible Social Sharing Plugin ever for Everyone.</code>
6
- * Version: 2.0.4
7
  * Author: WPBrigade
8
  * Author URI: http://www.WPBrigade.com/
9
  * Text Domain: simple-social-buttons
@@ -13,42 +13,42 @@
13
  /*
14
  Copyright 2011, Muhammad Adnan (WPBrigade) (email : captain@wpbrigade.com)
15
 
16
- This program is free software; you can redistribute it and/or modify
17
- it under the terms of the GNU General Public License, version 2, as
18
- published by the Free Software Foundation.
19
 
20
- This program is distributed in the hope that it will be useful,
21
- but WITHOUT ANY WARRANTY; without even the implied warranty of
22
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
- GNU General Public License for more details.
24
 
25
- You should have received a copy of the GNU General Public License
26
- along with this program; if not, write to the Free Software
27
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28
  */
29
 
30
 
31
  class SimpleSocialButtonsPR {
32
- public $pluginName = 'Simple Social Buttons';
33
- public $pluginVersion = '2.0.4';
34
- public $pluginPrefix = 'ssb_pr_';
35
  public $hideCustomMetaKey = '_ssb_hide';
36
 
37
  // plugin default settings
38
  public $pluginDefaultSettings = array(
39
- 'googleplus' => '1',
40
- 'twitter' => '3',
41
- 'pinterest' => '0',
42
- 'beforepost' => '1',
43
- 'afterpost' => '0',
44
- 'beforepage' => '1',
45
- 'afterpage' => '0',
46
  'beforearchive' => '0',
47
- 'afterarchive' => '0',
48
- 'fbshare' => '0',
49
- 'fblike' => '0',
50
- 'linkedin' => '0',
51
- 'cache' => 'on',
52
  );
53
 
54
  // defined buttons
@@ -58,11 +58,11 @@ class SimpleSocialButtonsPR {
58
  public $settings = array();
59
 
60
  public $selected_networks = array();
61
- public $selected_theme = '';
62
  public $selected_position = '';
63
- public $inline_option = '';
64
- public $sidebar_option = '';
65
- public $extra_option = '';
66
 
67
  /**
68
  * Constructor
@@ -83,7 +83,6 @@ class SimpleSocialButtonsPR {
83
  $this->set_sidebar_option();
84
  $this->set_extra_option();
85
 
86
-
87
  add_action( 'plugins_loaded', array( $this, 'load_plugin_domain' ) );
88
 
89
  /**
@@ -97,7 +96,7 @@ class SimpleSocialButtonsPR {
97
  add_action( 'wp_enqueue_scripts', array( $this, 'front_enqueue_scripts' ) );
98
 
99
  // Queue up our hook function
100
- add_action( 'wp_footer' , array( $this, 'ssb_footer_functions' ), 99 );
101
 
102
  add_filter( 'ssb_footer_scripts', array( $this, 'ssb_output_cache_trigger' ) );
103
 
@@ -110,22 +109,24 @@ class SimpleSocialButtonsPR {
110
  add_action( 'admin_notices', array( $this, 'update_notice' ) );
111
  add_action( 'admin_init', array( $this, 'review_update_notice' ) );
112
  add_action( 'wp_footer', array( $this, 'fblike_script' ) );
 
 
113
  }
114
 
115
  function set_selected_networks() {
116
- $networks = get_option( 'ssb_networks' );
117
  $this->selected_networks = array_flip( array_merge( array( 0 ), explode( ',', $networks['icon_selection'] ) ) );
118
 
119
  }
120
 
121
  function set_selected_theme() {
122
- $theme = get_option( 'ssb_themes' );
123
  $this->selected_theme = $theme['icon_style'];
124
 
125
  }
126
 
127
  function set_selected_position() {
128
- $theme = get_option( 'ssb_positions' );
129
  $this->selected_position = $theme['position'];
130
  }
131
 
@@ -144,7 +145,7 @@ class SimpleSocialButtonsPR {
144
 
145
  function ajax_fetch_fresh_data() {
146
 
147
- $order = array();
148
  $post_id = $_POST['postID'];
149
  foreach ( $this->arrKnownButtons as $button_name ) {
150
 
@@ -172,9 +173,9 @@ class SimpleSocialButtonsPR {
172
  // 'reddit' => ssb_reddit_generate_link( 'http://stackoverflow.com/q/811074/1288' )
173
  // )
174
  // );
175
- $share_counts = ssb_fetch_fresh_counts( $result , $post_id );
176
 
177
- update_post_meta( $post_id, 'ssb_cache_timestamp',floor( ( ( date( 'U' ) / 60) / 60 ) ) );
178
  echo json_encode( $share_counts );
179
  wp_die();
180
  }
@@ -183,7 +184,7 @@ class SimpleSocialButtonsPR {
183
 
184
  // Return early if we're not on a single page or we have fresh cache.
185
  // if ( ( ! is_singular() || ssb_is_cache_fresh( $info['postID'], true )) && empty( $_GET['ssb_cache'] ) ) {
186
- if ( ( ssb_is_cache_fresh( $info['postID'], true )) && empty( $_GET['ssb_cache'] ) ) {
187
  return $info;
188
  }
189
 
@@ -194,9 +195,8 @@ class SimpleSocialButtonsPR {
194
 
195
  // Return if caching is off.
196
  // if ( 'on' != $this->settings['cache'] ) {
197
- // return $info;
198
  // }
199
-
200
  ob_start();
201
 
202
  ?>
@@ -235,11 +235,11 @@ class SimpleSocialButtonsPR {
235
  function ssb_footer_functions() {
236
 
237
  // Fetch a few variables.
238
- $info['postID'] = get_the_ID();
239
- $info['footer_output'] = '';
240
 
241
  // Pass the array through our custom filters.
242
- $info = apply_filters( 'ssb_footer_scripts' , $info );
243
 
244
  // If we have output, output it.
245
  if ( $info['footer_output'] ) {
@@ -293,14 +293,14 @@ class SimpleSocialButtonsPR {
293
 
294
  if ( ! get_option( 'ssb_networks' ) ) {
295
  $_default = array(
296
- 'icon_selection' => 'fbshare,twitter,googleplus,linkedin',
297
  );
298
  update_option( 'ssb_networks', $_default );
299
  }
300
 
301
  if ( ! get_option( 'ssb_themes' ) ) {
302
  $_default = array(
303
- 'icon_style' => 'sm-round',
304
  );
305
  update_option( 'ssb_themes', $_default );
306
  }
@@ -317,7 +317,7 @@ class SimpleSocialButtonsPR {
317
  if ( ! get_option( 'ssb_inline' ) ) {
318
  $_default = array(
319
  'location' => 'below',
320
- 'posts' => array(
321
  'post' => 'post',
322
  ),
323
  );
@@ -344,8 +344,8 @@ class SimpleSocialButtonsPR {
344
 
345
  function _get_settings( $section, $value, $default = false ) {
346
  $section = $section . '_option';
347
- $_arr = $this->$section;
348
- return isset( $_arr[ $value ] ) && ! empty( $_arr[ $value ] ) ? $_arr[ $value ] : $default;
349
  }
350
 
351
  /**
@@ -356,7 +356,7 @@ class SimpleSocialButtonsPR {
356
  $return = false;
357
 
358
  // Single Page/Post
359
- if ( isset( $this->selected_position['inline'] ) && 'false' == get_post_meta( get_the_ID(), $this->hideCustomMetaKey , true ) ) {
360
  $return = true;
361
  }
362
 
@@ -401,10 +401,10 @@ class SimpleSocialButtonsPR {
401
  }
402
 
403
  /**
404
- * Return class
405
- *
406
- * @since 2.0.4
407
- */
408
  function add_post_class( $post_id = null ) {
409
  $post = get_post( $post_id );
410
 
@@ -428,6 +428,11 @@ class SimpleSocialButtonsPR {
428
  */
429
  function insert_buttons( $content ) {
430
 
 
 
 
 
 
431
  if ( is_archive() && ! $this->inline_option['show_on_category'] ) {
432
  return $content; }
433
  if ( is_category() && ! $this->inline_option['show_on_archive'] ) {
@@ -444,12 +449,11 @@ class SimpleSocialButtonsPR {
444
  $show_total = false;
445
  }
446
 
447
- $extra_class = 'simplesocialbuttons_inline simplesocialbuttons-align-' . $this->_get_settings( 'inline', 'icon_alignment', 'left' ) . ' '. $this->add_post_class();
448
-
449
 
450
  // if ( $this->inline['share_counts'] ) {
451
  if ( $this->_get_settings( 'inline', 'share_counts' ) ) {
452
- $show_count = true;
453
  $extra_class .= ' ssb_counter-activate';
454
  } else {
455
  $show_count = false;
@@ -457,10 +461,10 @@ class SimpleSocialButtonsPR {
457
 
458
  if ( $this->_get_settings( 'inline', 'hide_mobile' ) ) {
459
  $extra_class .= ' simplesocialbuttons-mobile-hidden'; }
460
- $extra_class .= ' simplesocialbuttons-inline-' . $this->_get_settings( 'inline', 'animation', 'no-animation' );
461
 
462
  $_selected_network = apply_filters( 'ssb_inline_social_networks', $this->selected_networks );
463
- $ssb_buttonscode = $this->generate_buttons_code( $_selected_network, $show_count, $show_total, $extra_class );
464
 
465
  if ( in_array( $this->get_post_type(), $this->inline_option['posts'] ) ) {
466
  if ( $this->inline_option['location'] == 'above' || $this->inline_option['location'] == 'above_below' ) {
@@ -474,7 +478,7 @@ class SimpleSocialButtonsPR {
474
 
475
  return $content;
476
 
477
- }
478
 
479
 
480
  /**
@@ -489,7 +493,7 @@ class SimpleSocialButtonsPR {
489
 
490
  // get post permalink and title
491
  $permalink = get_permalink();
492
- $title = get_the_title();
493
 
494
  // Sorting the buttons
495
  $arrButtons = array();
@@ -512,12 +516,13 @@ class SimpleSocialButtonsPR {
512
 
513
  $_share_links = array();
514
  foreach ( $arrButtons as $social_name => $priority ) {
515
- if ( 'totalshare' == $social_name || 'viber' == $social_name || 'fblike' == $social_name || 'whatsapp' == $social_name ) {
516
  continue; }
517
  $_share_links[ $social_name ] = call_user_func( 'ssb_' . $social_name . '_generate_link', get_permalink() );
518
  }
519
 
520
  $result = ssb_fetch_shares_via_curl_multi( array_filter( $_share_links ) );
 
521
  // $result = ssb_fetch_shares_via_curl_multi(
522
  // array(
523
  // 'linkedin' => ssb_linkedin_generate_link( 'https://wpbrigade.com/first-wordcamp-talk/' ),
@@ -528,7 +533,7 @@ class SimpleSocialButtonsPR {
528
  // 'reddit' => ssb_reddit_generate_link( 'http://stackoverflow.com/q/811074/1288' )
529
  // )
530
  // );
531
- $share_counts = ssb_fetch_fresh_counts( $result , $post_id );
532
  // update_post_meta( $post_id,'ssb_cache_timestamp',floor( ( ( date( 'U' ) / 60) / 60 ) ) );
533
  } else {
534
  $share_counts = ssb_fetch_cached_counts( array_flip( $arrButtons ), $post_id );
@@ -540,11 +545,22 @@ class SimpleSocialButtonsPR {
540
  case 'googleplus':
541
  $googleplus_share = $share_counts['googleplus'] ? $share_counts['googleplus'] : 0;
542
 
543
- $_html = '<button class="simplesocial-gplus-share" data-href="https://plus.google.com/share?url=' . $permalink . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">Google+</span>';
544
- if ( $show_count ) {
545
- $_html .= '<span class="ssb_counter ssb_googleplus_counter">' . $googleplus_share . '</span>';
 
 
 
 
 
 
 
 
 
 
 
 
546
  }
547
- $_html .= '</button>';
548
 
549
  $arrButtonsCode[] = $_html;
550
 
@@ -552,25 +568,58 @@ class SimpleSocialButtonsPR {
552
 
553
  case 'fbshare':
554
  $fbshare_share = $share_counts['fbshare'] ? $share_counts['fbshare'] : 0;
555
- $_html = '<button class="simplesocial-fb-share" target="_blank" data-href="https://www.facebook.com/sharer/sharer.php?u=' . $permalink . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">Facebook </span> ';
556
 
557
- if ( $show_count ) {
558
- $_html .= '<span class="ssb_counter ssb_fbshare_counter">' . $fbshare_share . '</span>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
559
  }
560
- $_html .= '</button>';
561
 
562
  $arrButtonsCode[] = $_html;
563
 
564
  break;
565
  case 'twitter':
566
  $twitter_share = $share_counts['twitter'] ? $share_counts['twitter'] : 0;
567
- $via = ! empty( $this->extra_option['twitter_handle'] ) ? '&via=' . $this->extra_option['twitter_handle'] : '' ;
568
- $_html = '<button class="simplesocial-twt-share" data-href="https://twitter.com/share?text=' . $title . '&url=' . $permalink . '' . $via . '" rel="nofollow" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">Twitter</span> ';
 
 
 
 
 
 
 
 
 
 
 
 
 
569
 
570
- if ( $show_count ) {
571
- $_html .= '<span class="ssb_counter ssb_twitter_counter">' . $twitter_share . '</span>';
 
 
 
 
 
 
 
572
  }
573
- $_html .= '</button>';
574
 
575
  $arrButtonsCode[] = $_html;
576
 
@@ -578,56 +627,111 @@ class SimpleSocialButtonsPR {
578
  case 'linkedin':
579
  $linkedin_share = $share_counts['linkedin'] ? $share_counts['linkedin'] : 0;
580
 
581
- $_html = '<button target="popup" class="simplesocial-linkedin-share" data-href="https://www.linkedin.com/cws/share?url=' . get_permalink() . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">LinkedIn</span>';
 
 
 
 
582
 
583
- if ( $show_count ) {
584
- $_html .= '<span class="ssb_counter ssb_linkedin_counter">' . $linkedin_share . '</span>';
 
 
 
 
 
 
 
 
 
 
585
  }
586
- $_html .= '</button>';
587
 
588
  $arrButtonsCode[] = $_html;
589
 
590
  break;
591
  case 'pinterest':
592
- $pinterest_share = $share_counts['pinterest'] ? $share_counts['pinterest'] : 0;
 
 
593
 
594
- $_html = '<button rel="nofollow" class="simplesocial-pinterest-share" onclick="var e=document.createElement(\'script\');e.setAttribute(\'type\',\'text/javascript\');e.setAttribute(\'charset\',\'UTF-8\');e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e);return false;" ><span class="simplesocialtxt">Pinterest</span>';
 
 
 
 
 
 
 
595
 
596
- if ( $show_count ) {
597
- $_html .= '<span class="ssb_counter ssb_pinterest_counter">' . $pinterest_share . '</span>';
 
 
 
 
598
  }
599
- $_html .= '</button>';
600
 
601
  $arrButtonsCode[] = $_html;
602
 
603
  break;
604
  case 'totalshare':
605
- $total_share = $share_counts['total'] ? $share_counts['total'] : 0;
606
  $arrButtonsCode[] = "<span class='ssb_total_counter'>" . $total_share . '<span>Shares</span></span>';
607
  break;
608
 
609
  case 'reddit':
610
  $reddit_score = $share_counts['reddit'] ? $share_counts['reddit'] : 0;
611
- $_html = '<button class="simplesocial-reddit-share" data-href="https://reddit.com/submit?url=' . $permalink . '&title=' . $title . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;" ><span class="simplesocialtxt">Reddit</span> ';
612
 
613
- if ( $show_count ) {
614
- $_html .= '<span class="ssb_counter ssb_reddit_counter">' . $reddit_score . '</span>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
615
  }
616
- $_html .= '</button>';
617
 
618
  $arrButtonsCode[] = $_html;
619
  break;
620
  case 'whatsapp':
621
- $arrButtonsCode[] = '<button onclick="javascript:window.open(this.dataset.href, \'_self\' );return false;" class="simplesocial-whatsapp-share" data-href="whatsapp://send?text=' . $permalink . '"><span class="simplesocialtxt">Share on WhatsApp</span></button>';
 
 
 
 
 
 
 
 
622
  break;
623
 
624
  case 'viber':
 
 
 
 
 
 
 
625
  $arrButtonsCode[] = '<button onclick="javascript:window.open(this.dataset.href, \'_self\' );return false;" class="simplesocial-viber-share" data-href="viber://forward?text=' . $permalink . '"><span class="simplesocialtxt">Share on Viber</span></button>';
 
626
  break;
627
 
628
  case 'fblike':
629
-
630
- $_html = '<div class="fb-like ssb-fb-like" data-href="'. $permalink .'" data-layout="button_count" data-action="like" data-size="large" data-show-faces="false" data-share="false"></div>';
631
 
632
  $arrButtonsCode[] = $_html;
633
 
@@ -656,13 +760,13 @@ class SimpleSocialButtonsPR {
656
  */
657
  function get_option( $option, $default = false ) {
658
  if ( isset( $this->settings[ $option ] ) ) {
659
- return $this->settings[ $option ];
660
  } else {
661
  return $default;
662
  }
663
  }
664
 
665
- function get_post_type(){
666
 
667
  if ( is_home() || is_front_page() ) {
668
  return 'home';
@@ -678,7 +782,13 @@ class SimpleSocialButtonsPR {
678
  * @since 2.0
679
  */
680
  function include_sidebar() {
681
- if ( isset( $this->selected_position['sidebar'] ) && in_array( $this->get_post_type(), $this->_get_settings( 'sidebar', 'posts', array() ) ) ) {
 
 
 
 
 
 
682
  $show_total = false;
683
  $show_count = false;
684
  // Show Total at the end.
@@ -689,26 +799,26 @@ class SimpleSocialButtonsPR {
689
  $show_count = true;
690
  }
691
  if ( in_array( $this->get_post_type(), $this->sidebar_option['posts'] ) ) {
692
- $class = 'simplesocialbuttons-float-' . $this->sidebar_option['orientation'] . '-center' . ' '. $this->add_post_class();
693
  // $class = 'simplesocialbuttons-float-left-post';
694
  if ( $this->sidebar_option['hide_mobile'] ) {
695
  $class .= ' simplesocialbuttons-mobile-hidden'; }
696
- $class .= ' simplesocialbuttons-slide-' . $this->_get_settings( 'sidebar', 'animation', 'no-animation' );
697
  $_selected_network = apply_filters( 'ssb_sidebar_social_networks', $this->selected_networks );
698
  echo $this->generate_buttons_code( $_selected_network, $show_count, $show_total, $class );
699
- }
700
  }
701
  }
702
 
703
  function css_file() {
704
- include_once dirname( __FILE__ ) . '/inc/custom-css.php';
705
  }
706
 
707
  /**
708
- * Update option when user click on dismiss button.
709
- *
710
- * @since 2.0.0
711
- */
712
  function review_update_notice() {
713
 
714
  if ( ! is_admin() ||
@@ -732,8 +842,9 @@ class SimpleSocialButtonsPR {
732
  * @since 2.0.0
733
  */
734
  function update_notice() {
735
- //delete_option( 'ssb_update_2_0_dismiss' );
736
- if ( get_option( 'ssb_update_2_0_dismiss' ) ) { return; }
 
737
 
738
  $scheme = ( parse_url( $_SERVER['REQUEST_URI'], PHP_URL_QUERY ) ) ? '&' : '?';
739
  $url = admin_url( 'admin.php?page=simple-social-buttons' ) . '&ssb_update_2_0_dismiss=yes';
@@ -758,7 +869,7 @@ class SimpleSocialButtonsPR {
758
  <div class="ssb-update-text">
759
  <h3><?php _e( 'Simple Social Buttons 2.0 (Relaunched)', 'simple-social-buttons' ); ?></h3>
760
  <p><?php _e( 'Simple Social Buttons had 50,000 Active installs and It was abondoned and rarely updated since last 5 years.<br /> We at <a href="https://WPBrigade.com/?utm_source=simple-social-buttons-lite&utm_medium=link-notice-2-0" target="_blank">WPBrigade</a> adopted this plugin and rewrote it completely from scratch.<br /> <a href="https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-notice-2-0&utm_campaign=pro-upgrade" target="_blank">Check out</a> What\'s new in 2.0 version.<br /> Pardon me, If there is anything broken. Please <a href="https://WPBrigade.com/contact/?utm_source=simple-social-buttons-lite" target="_blank">report</a> us any issue you see in the plugin.', 'simple-social-buttons' ); ?></p>
761
- <a href="<?php echo $dismiss_url ?>" class="ssb_update_dismiss_button">Dismiss</a>
762
  <a href="https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-learn-more&utm_campaign=pro-upgrade" target="_blank" class="ssb_update_dismiss_button">Learn more</a>
763
  </div>
764
  </div>
@@ -770,9 +881,9 @@ class SimpleSocialButtonsPR {
770
  *
771
  * @since 2.0.4
772
  */
773
- function fblike_script(){
774
 
775
- if ( ! array_key_exists( "fblike", array_filter( $this->selected_networks ) ) ) {
776
  return;
777
  }
778
  ?>
@@ -787,19 +898,398 @@ class SimpleSocialButtonsPR {
787
  <?php
788
  }
789
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
790
  } // end class
791
 
792
 
793
  global $_ssb_pr;
794
  if ( is_admin() ) {
795
- include_once dirname( __FILE__ ) . '/classes/ssb-admin.php';
 
 
796
  $_ssb_pr = new SimpleSocialButtonsPR_Admin();
797
  } else {
 
 
798
  $_ssb_pr = new SimpleSocialButtonsPR();
799
  }
800
 
801
  function get_ssb( $order = null ) {
802
- return '<!-- Shortcode Removed -->';
803
  }
804
 
805
  ?>
3
  * Plugin Name: Simple Social Buttons
4
  * Plugin URI: http://www.WPBrigade.com/wordpress/plugins/simple-social-buttons/
5
  * Description: Simple Social Buttons adds an advanced set of social media sharing buttons to your WordPress sites, such as: Google +1, Facebook, WhatsApp, Viber, Twitter, Reddit, LinkedIn and Pinterest. This makes it the most <code>Flexible Social Sharing Plugin ever for Everyone.</code>
6
+ * Version: 2.0.5
7
  * Author: WPBrigade
8
  * Author URI: http://www.WPBrigade.com/
9
  * Text Domain: simple-social-buttons
13
  /*
14
  Copyright 2011, Muhammad Adnan (WPBrigade) (email : captain@wpbrigade.com)
15
 
16
+ This program is free software; you can redistribute it and/or modify
17
+ it under the terms of the GNU General Public License, version 2, as
18
+ published by the Free Software Foundation.
19
 
20
+ This program is distributed in the hope that it will be useful,
21
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
22
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
+ GNU General Public License for more details.
24
 
25
+ You should have received a copy of the GNU General Public License
26
+ along with this program; if not, write to the Free Software
27
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28
  */
29
 
30
 
31
  class SimpleSocialButtonsPR {
32
+ public $pluginName = 'Simple Social Buttons';
33
+ public $pluginVersion = '2.0.5';
34
+ public $pluginPrefix = 'ssb_pr_';
35
  public $hideCustomMetaKey = '_ssb_hide';
36
 
37
  // plugin default settings
38
  public $pluginDefaultSettings = array(
39
+ 'googleplus' => '1',
40
+ 'twitter' => '3',
41
+ 'pinterest' => '0',
42
+ 'beforepost' => '1',
43
+ 'afterpost' => '0',
44
+ 'beforepage' => '1',
45
+ 'afterpage' => '0',
46
  'beforearchive' => '0',
47
+ 'afterarchive' => '0',
48
+ 'fbshare' => '0',
49
+ 'fblike' => '0',
50
+ 'linkedin' => '0',
51
+ 'cache' => 'on',
52
  );
53
 
54
  // defined buttons
58
  public $settings = array();
59
 
60
  public $selected_networks = array();
61
+ public $selected_theme = '';
62
  public $selected_position = '';
63
+ public $inline_option = '';
64
+ public $sidebar_option = '';
65
+ public $extra_option = '';
66
 
67
  /**
68
  * Constructor
83
  $this->set_sidebar_option();
84
  $this->set_extra_option();
85
 
 
86
  add_action( 'plugins_loaded', array( $this, 'load_plugin_domain' ) );
87
 
88
  /**
96
  add_action( 'wp_enqueue_scripts', array( $this, 'front_enqueue_scripts' ) );
97
 
98
  // Queue up our hook function
99
+ add_action( 'wp_footer', array( $this, 'ssb_footer_functions' ), 99 );
100
 
101
  add_filter( 'ssb_footer_scripts', array( $this, 'ssb_output_cache_trigger' ) );
102
 
109
  add_action( 'admin_notices', array( $this, 'update_notice' ) );
110
  add_action( 'admin_init', array( $this, 'review_update_notice' ) );
111
  add_action( 'wp_footer', array( $this, 'fblike_script' ) );
112
+
113
+ add_shortcode( 'SSB', array( $this, 'short_code_content' ) );
114
  }
115
 
116
  function set_selected_networks() {
117
+ $networks = get_option( 'ssb_networks' );
118
  $this->selected_networks = array_flip( array_merge( array( 0 ), explode( ',', $networks['icon_selection'] ) ) );
119
 
120
  }
121
 
122
  function set_selected_theme() {
123
+ $theme = get_option( 'ssb_themes' );
124
  $this->selected_theme = $theme['icon_style'];
125
 
126
  }
127
 
128
  function set_selected_position() {
129
+ $theme = get_option( 'ssb_positions' );
130
  $this->selected_position = $theme['position'];
131
  }
132
 
145
 
146
  function ajax_fetch_fresh_data() {
147
 
148
+ $order = array();
149
  $post_id = $_POST['postID'];
150
  foreach ( $this->arrKnownButtons as $button_name ) {
151
 
173
  // 'reddit' => ssb_reddit_generate_link( 'http://stackoverflow.com/q/811074/1288' )
174
  // )
175
  // );
176
+ $share_counts = ssb_fetch_fresh_counts( $result, $post_id );
177
 
178
+ update_post_meta( $post_id, 'ssb_cache_timestamp', floor( ( ( date( 'U' ) / 60 ) / 60 ) ) );
179
  echo json_encode( $share_counts );
180
  wp_die();
181
  }
184
 
185
  // Return early if we're not on a single page or we have fresh cache.
186
  // if ( ( ! is_singular() || ssb_is_cache_fresh( $info['postID'], true )) && empty( $_GET['ssb_cache'] ) ) {
187
+ if ( ( ssb_is_cache_fresh( $info['postID'], true ) ) && empty( $_GET['ssb_cache'] ) ) {
188
  return $info;
189
  }
190
 
195
 
196
  // Return if caching is off.
197
  // if ( 'on' != $this->settings['cache'] ) {
198
+ // return $info;
199
  // }
 
200
  ob_start();
201
 
202
  ?>
235
  function ssb_footer_functions() {
236
 
237
  // Fetch a few variables.
238
+ $info['postID'] = get_the_ID();
239
+ $info['footer_output'] = '';
240
 
241
  // Pass the array through our custom filters.
242
+ $info = apply_filters( 'ssb_footer_scripts', $info );
243
 
244
  // If we have output, output it.
245
  if ( $info['footer_output'] ) {
293
 
294
  if ( ! get_option( 'ssb_networks' ) ) {
295
  $_default = array(
296
+ 'icon_selection' => 'fbshare,twitter,googleplus,linkedin,fblike',
297
  );
298
  update_option( 'ssb_networks', $_default );
299
  }
300
 
301
  if ( ! get_option( 'ssb_themes' ) ) {
302
  $_default = array(
303
+ 'icon_style' => 'simple-icons',
304
  );
305
  update_option( 'ssb_themes', $_default );
306
  }
317
  if ( ! get_option( 'ssb_inline' ) ) {
318
  $_default = array(
319
  'location' => 'below',
320
+ 'posts' => array(
321
  'post' => 'post',
322
  ),
323
  );
344
 
345
  function _get_settings( $section, $value, $default = false ) {
346
  $section = $section . '_option';
347
+ $_arr = $this->$section;
348
+ return isset( $_arr[ $value ] ) && ! empty( $_arr[ $value ] ) ? $_arr[ $value ] : $default;
349
  }
350
 
351
  /**
356
  $return = false;
357
 
358
  // Single Page/Post
359
+ if ( isset( $this->selected_position['inline'] ) && 'false' == get_post_meta( get_the_ID(), $this->hideCustomMetaKey, true ) ) {
360
  $return = true;
361
  }
362
 
401
  }
402
 
403
  /**
404
+ * Return class
405
+ *
406
+ * @since 2.0.4
407
+ */
408
  function add_post_class( $post_id = null ) {
409
  $post = get_post( $post_id );
410
 
428
  */
429
  function insert_buttons( $content ) {
430
 
431
+ // Return Content if hide ssb.
432
+ if ( get_post_meta( get_the_id(), $this->hideCustomMetaKey, true ) == 'true' ) {
433
+ return $content;
434
+ }
435
+
436
  if ( is_archive() && ! $this->inline_option['show_on_category'] ) {
437
  return $content; }
438
  if ( is_category() && ! $this->inline_option['show_on_archive'] ) {
449
  $show_total = false;
450
  }
451
 
452
+ $extra_class = 'simplesocialbuttons_inline simplesocialbuttons-align-' . $this->_get_settings( 'inline', 'icon_alignment', 'left' ) . ' ' . $this->add_post_class();
 
453
 
454
  // if ( $this->inline['share_counts'] ) {
455
  if ( $this->_get_settings( 'inline', 'share_counts' ) ) {
456
+ $show_count = true;
457
  $extra_class .= ' ssb_counter-activate';
458
  } else {
459
  $show_count = false;
461
 
462
  if ( $this->_get_settings( 'inline', 'hide_mobile' ) ) {
463
  $extra_class .= ' simplesocialbuttons-mobile-hidden'; }
464
+ $extra_class .= ' simplesocialbuttons-inline-' . $this->_get_settings( 'inline', 'animation', 'no-animation' );
465
 
466
  $_selected_network = apply_filters( 'ssb_inline_social_networks', $this->selected_networks );
467
+ $ssb_buttonscode = $this->generate_buttons_code( $_selected_network, $show_count, $show_total, $extra_class );
468
 
469
  if ( in_array( $this->get_post_type(), $this->inline_option['posts'] ) ) {
470
  if ( $this->inline_option['location'] == 'above' || $this->inline_option['location'] == 'above_below' ) {
478
 
479
  return $content;
480
 
481
+ }
482
 
483
 
484
  /**
493
 
494
  // get post permalink and title
495
  $permalink = get_permalink();
496
+ $title = get_the_title();
497
 
498
  // Sorting the buttons
499
  $arrButtons = array();
516
 
517
  $_share_links = array();
518
  foreach ( $arrButtons as $social_name => $priority ) {
519
+ if ( 'totalshare' == $social_name || 'viber' == $social_name || 'fblike' == $social_name || 'whatsapp' == $social_name ) {
520
  continue; }
521
  $_share_links[ $social_name ] = call_user_func( 'ssb_' . $social_name . '_generate_link', get_permalink() );
522
  }
523
 
524
  $result = ssb_fetch_shares_via_curl_multi( array_filter( $_share_links ) );
525
+
526
  // $result = ssb_fetch_shares_via_curl_multi(
527
  // array(
528
  // 'linkedin' => ssb_linkedin_generate_link( 'https://wpbrigade.com/first-wordcamp-talk/' ),
533
  // 'reddit' => ssb_reddit_generate_link( 'http://stackoverflow.com/q/811074/1288' )
534
  // )
535
  // );
536
+ $share_counts = ssb_fetch_fresh_counts( $result, $post_id );
537
  // update_post_meta( $post_id,'ssb_cache_timestamp',floor( ( ( date( 'U' ) / 60) / 60 ) ) );
538
  } else {
539
  $share_counts = ssb_fetch_cached_counts( array_flip( $arrButtons ), $post_id );
545
  case 'googleplus':
546
  $googleplus_share = $share_counts['googleplus'] ? $share_counts['googleplus'] : 0;
547
 
548
+ if ( $this->selected_theme == 'simple-icons' ) {
549
+ $_html = '<button class="ssb_gplus-icon" data-href="https://plus.google.com/share?url=' . $permalink . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;">
550
+ <span class="icon"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet" width="30px" height="18px" viewBox="-10 -6 60 36" class="ozWidgetRioButtonSvg_ ozWidgetRioButtonPlusOne_"><path d="M30 7h-3v4h-4v3h4v4h3v-4h4v-3h-4V7z"></path><path d="M11 9.9v4h5.4C16 16.3 14 18 11 18c-3.3 0-5.9-2.8-5.9-6S7.7 6 11 6c1.5 0 2.8.5 3.8 1.5l2.9-2.9C15.9 3 13.7 2 11 2 5.5 2 1 6.5 1 12s4.5 10 10 10c5.8 0 9.6-4.1 9.6-9.8 0-.7-.1-1.5-.2-2.2H11z"></path></svg></span>
551
+ <span class="simplesocialtxt">Google Plus </span>';
552
+ if ( $show_count ) {
553
+ $_html .= '<span class="ssb_counter">'. $googleplus_share .'</span>';
554
+ }
555
+ $_html .= '</button>';
556
+ } else {
557
+
558
+ $_html = '<button class="simplesocial-gplus-share" data-href="https://plus.google.com/share?url=' . $permalink . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">Google+</span>';
559
+ if ( $show_count ) {
560
+ $_html .= '<span class="ssb_counter ssb_googleplus_counter">' . $googleplus_share . '</span>';
561
+ }
562
+ $_html .= '</button>';
563
  }
 
564
 
565
  $arrButtonsCode[] = $_html;
566
 
568
 
569
  case 'fbshare':
570
  $fbshare_share = $share_counts['fbshare'] ? $share_counts['fbshare'] : 0;
 
571
 
572
+ if ( $this->selected_theme == 'simple-icons' ) {
573
+ $_html = ' <button class="ssb_fbshare-icon" target="_blank" data-href="https://www.facebook.com/sharer/sharer.php?u=' . $permalink . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;">
574
+ <span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="_1pbq" color="#ffffff"><path fill="#ffffff" fill-rule="evenodd" class="icon" d="M8 14H3.667C2.733 13.9 2 13.167 2 12.233V3.667A1.65 1.65 0 0 1 3.667 2h8.666A1.65 1.65 0 0 1 14 3.667v8.566c0 .934-.733 1.667-1.667 1.767H10v-3.967h1.3l.7-2.066h-2V6.933c0-.466.167-.9.867-.9H12v-1.8c.033 0-.933-.266-1.533-.266-1.267 0-2.434.7-2.467 2.133v1.867H6v2.066h2V14z"></path></svg></span>
575
+ <span class="simplesocialtxt">Share </span>';
576
+
577
+ if ( $show_count ) {
578
+ $_html .= ' <span class="ssb_counter">'. $fbshare_share .'</span>';;
579
+ }
580
+
581
+ $_html .= ' </button>';
582
+ } else{
583
+
584
+ $_html = '<button class="simplesocial-fb-share" target="_blank" data-href="https://www.facebook.com/sharer/sharer.php?u=' . $permalink . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">Facebook </span> ';
585
+
586
+ if ( $show_count ) {
587
+ $_html .= '<span class="ssb_counter ssb_fbshare_counter">' . $fbshare_share . '</span>';
588
+ }
589
+ $_html .= '</button>';
590
  }
 
591
 
592
  $arrButtonsCode[] = $_html;
593
 
594
  break;
595
  case 'twitter':
596
  $twitter_share = $share_counts['twitter'] ? $share_counts['twitter'] : 0;
597
+ $via = ! empty( $this->extra_option['twitter_handle'] ) ? '&via=' . $this->extra_option['twitter_handle'] : '';
598
+
599
+ if ( $this->selected_theme == 'simple-icons' ) {
600
+
601
+ $_html = '<button class="ssb_tweet-icon" data-href="https://twitter.com/share?text=' . $title . '&url=' . $permalink . '' . $via . '" rel="nofollow" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;">
602
+ <span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 72 72"><path fill="none" d="M0 0h72v72H0z"/><path class="icon" fill="#fff" d="M68.812 15.14c-2.348 1.04-4.87 1.744-7.52 2.06 2.704-1.62 4.78-4.186 5.757-7.243-2.53 1.5-5.33 2.592-8.314 3.176C56.35 10.59 52.948 9 49.182 9c-7.23 0-13.092 5.86-13.092 13.093 0 1.026.118 2.02.338 2.98C25.543 24.527 15.9 19.318 9.44 11.396c-1.125 1.936-1.77 4.184-1.77 6.58 0 4.543 2.312 8.552 5.824 10.9-2.146-.07-4.165-.658-5.93-1.64-.002.056-.002.11-.002.163 0 6.345 4.513 11.638 10.504 12.84-1.1.298-2.256.457-3.45.457-.845 0-1.666-.078-2.464-.23 1.667 5.2 6.5 8.985 12.23 9.09-4.482 3.51-10.13 5.605-16.26 5.605-1.055 0-2.096-.06-3.122-.184 5.794 3.717 12.676 5.882 20.067 5.882 24.083 0 37.25-19.95 37.25-37.25 0-.565-.013-1.133-.038-1.693 2.558-1.847 4.778-4.15 6.532-6.774z"/></svg></span>';
603
+
604
+ if ( $show_count ) {
605
+ $_html .= '<span class="simplesocialtxt">Tweet '. $twitter_share .'</span>';
606
+ } else{
607
+ $_html .= '<span class="simplesocialtxt">Tweet </span>';
608
+
609
+ }
610
+
611
+ $_html .= '</button>';
612
 
613
+
614
+ } else {
615
+
616
+ $_html = '<button class="simplesocial-twt-share" data-href="https://twitter.com/share?text=' . $title . '&url=' . $permalink . '' . $via . '" rel="nofollow" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">Twitter</span> ';
617
+
618
+ if ( $show_count ) {
619
+ $_html .= '<span class="ssb_counter ssb_twitter_counter">' . $twitter_share . '</span>';
620
+ }
621
+ $_html .= '</button>';
622
  }
 
623
 
624
  $arrButtonsCode[] = $_html;
625
 
627
  case 'linkedin':
628
  $linkedin_share = $share_counts['linkedin'] ? $share_counts['linkedin'] : 0;
629
 
630
+ if ( $this->selected_theme == 'simple-icons' ) {
631
+
632
+ $_html = '<button class="ssb_linkedin-icon" data-href="https://www.linkedin.com/cws/share?url=' . get_permalink() . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;" >
633
+ <span class="icon"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="15px" height="14.1px" viewBox="-301.4 387.5 15 14.1" enable-background="new -301.4 387.5 15 14.1" xml:space="preserve"> <g id="XMLID_398_"> <path id="XMLID_399_" fill="#FFFFFF" d="M-296.2,401.6c0-3.2,0-6.3,0-9.5h0.1c1,0,2,0,2.9,0c0.1,0,0.1,0,0.1,0.1c0,0.4,0,0.8,0,1.2 c0.1-0.1,0.2-0.3,0.3-0.4c0.5-0.7,1.2-1,2.1-1.1c0.8-0.1,1.5,0,2.2,0.3c0.7,0.4,1.2,0.8,1.5,1.4c0.4,0.8,0.6,1.7,0.6,2.5 c0,1.8,0,3.6,0,5.4v0.1c-1.1,0-2.1,0-3.2,0c0-0.1,0-0.1,0-0.2c0-1.6,0-3.2,0-4.8c0-0.4,0-0.8-0.2-1.2c-0.2-0.7-0.8-1-1.6-1 c-0.8,0.1-1.3,0.5-1.6,1.2c-0.1,0.2-0.1,0.5-0.1,0.8c0,1.7,0,3.4,0,5.1c0,0.2,0,0.2-0.2,0.2c-1,0-1.9,0-2.9,0 C-296.1,401.6-296.2,401.6-296.2,401.6z"/> <path id="XMLID_400_" fill="#FFFFFF" d="M-298,401.6L-298,401.6c-1.1,0-2.1,0-3,0c-0.1,0-0.1,0-0.1-0.1c0-3.1,0-6.1,0-9.2 c0-0.1,0-0.1,0.1-0.1c1,0,2,0,2.9,0h0.1C-298,395.3-298,398.5-298,401.6z"/> <path id="XMLID_401_" fill="#FFFFFF" d="M-299.6,390.9c-0.7-0.1-1.2-0.3-1.6-0.8c-0.5-0.8-0.2-2.1,1-2.4c0.6-0.2,1.2-0.1,1.8,0.2 c0.5,0.4,0.7,0.9,0.6,1.5c-0.1,0.7-0.5,1.1-1.1,1.3C-299.1,390.8-299.4,390.8-299.6,390.9L-299.6,390.9z"/> </g> </svg> </span>
634
+ <span class="simplesocialtxt">Share</span>';
635
 
636
+ if ( $show_count ) {
637
+ $_html .= ' <span class="ssb_counter">'. $linkedin_share .'</span>';
638
+ }
639
+ $_html .= ' </button>';
640
+ } else {
641
+
642
+ $_html = '<button target="popup" class="simplesocial-linkedin-share" data-href="https://www.linkedin.com/cws/share?url=' . get_permalink() . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">LinkedIn</span>';
643
+
644
+ if ( $show_count ) {
645
+ $_html .= '<span class="ssb_counter ssb_linkedin_counter">' . $linkedin_share . '</span>';
646
+ }
647
+ $_html .= '</button>';
648
  }
 
649
 
650
  $arrButtonsCode[] = $_html;
651
 
652
  break;
653
  case 'pinterest':
654
+ $pinterest_share = $share_counts['pinterest'] ? $share_counts['pinterest'] : 0;
655
+
656
+ if ( $this->selected_theme == 'simple-icons' ) {
657
 
658
+ $_html = ' <button class="ssb_pinterest-icon" onclick="var e=document.createElement(\'script\');e.setAttribute(\'type\',\'text/javascript\');e.setAttribute(\'charset\',\'UTF-8\');e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e);return false;">
659
+ <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" height="30px" width="30px" viewBox="-1 -1 31 31"><g><path d="M29.449,14.662 C29.449,22.722 22.868,29.256 14.75,29.256 C6.632,29.256 0.051,22.722 0.051,14.662 C0.051,6.601 6.632,0.067 14.75,0.067 C22.868,0.067 29.449,6.601 29.449,14.662" fill="#fff" stroke="#fff" stroke-width="1"></path><path d="M14.733,1.686 C7.516,1.686 1.665,7.495 1.665,14.662 C1.665,20.159 5.109,24.854 9.97,26.744 C9.856,25.718 9.753,24.143 10.016,23.022 C10.253,22.01 11.548,16.572 11.548,16.572 C11.548,16.572 11.157,15.795 11.157,14.646 C11.157,12.842 12.211,11.495 13.522,11.495 C14.637,11.495 15.175,12.326 15.175,13.323 C15.175,14.436 14.462,16.1 14.093,17.643 C13.785,18.935 14.745,19.988 16.028,19.988 C18.351,19.988 20.136,17.556 20.136,14.046 C20.136,10.939 17.888,8.767 14.678,8.767 C10.959,8.767 8.777,11.536 8.777,14.398 C8.777,15.513 9.21,16.709 9.749,17.359 C9.856,17.488 9.872,17.6 9.84,17.731 C9.741,18.141 9.52,19.023 9.477,19.203 C9.42,19.44 9.288,19.491 9.04,19.376 C7.408,18.622 6.387,16.252 6.387,14.349 C6.387,10.256 9.383,6.497 15.022,6.497 C19.555,6.497 23.078,9.705 23.078,13.991 C23.078,18.463 20.239,22.062 16.297,22.062 C14.973,22.062 13.728,21.379 13.302,20.572 C13.302,20.572 12.647,23.05 12.488,23.657 C12.193,24.784 11.396,26.196 10.863,27.058 C12.086,27.434 13.386,27.637 14.733,27.637 C21.95,27.637 27.801,21.828 27.801,14.662 C27.801,7.495 21.95,1.686 14.733,1.686" fill="#bd081c"></path></g></svg> </span>
660
+ <span class="simplesocialtxt">Save</span>';
661
+ if ( $show_count ) {
662
+ $_html .= '<span class="ssb_counter">'. $pinterest_share .'</span>';
663
+ }
664
+ $_html .= ' </button>';
665
+ } else {
666
 
667
+ $_html = '<button rel="nofollow" class="simplesocial-pinterest-share" onclick="var e=document.createElement(\'script\');e.setAttribute(\'type\',\'text/javascript\');e.setAttribute(\'charset\',\'UTF-8\');e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e);return false;" ><span class="simplesocialtxt">Pinterest</span>';
668
+
669
+ if ( $show_count ) {
670
+ $_html .= '<span class="ssb_counter ssb_pinterest_counter">' . $pinterest_share . '</span>';
671
+ }
672
+ $_html .= '</button>';
673
  }
 
674
 
675
  $arrButtonsCode[] = $_html;
676
 
677
  break;
678
  case 'totalshare':
679
+ $total_share = $share_counts['total'] ? $share_counts['total'] : 0;
680
  $arrButtonsCode[] = "<span class='ssb_total_counter'>" . $total_share . '<span>Shares</span></span>';
681
  break;
682
 
683
  case 'reddit':
684
  $reddit_score = $share_counts['reddit'] ? $share_counts['reddit'] : 0;
 
685
 
686
+ if ( $this->selected_theme == 'simple-icons' ) {
687
+ $_html = ' <button class="ssb_reddit-icon" data-href="https://reddit.com/submit?url=' . $permalink . '&title=' . $title . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;">
688
+ <span class="icon"> <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
689
+ width="430.117px" height="430.117px" viewBox="0 0 430.117 430.117" style="enable-background:new 0 0 430.117 430.117;"
690
+ xml:space="preserve"> <g> <path id="reddit" d="M307.523,231.062c1.11,2.838,1.614,5.769,1.614,8.681c0,5.862-2.025,11.556-5.423,16.204 c-3.36,4.593-8.121,8.158-13.722,9.727h0.01c-0.047,0.019-0.094,0.019-0.117,0.037c-0.023,0-0.061,0.019-0.079,0.019 c-2.623,0.896-5.312,1.316-7.98,1.316c-6.254,0-12.396-2.254-17.306-6.096c-4.872-3.826-8.56-9.324-9.717-15.845h-0.01 c0-0.019,0-0.042-0.009-0.069c0-0.019,0-0.038-0.019-0.065h0.019c-0.364-1.681-0.551-3.36-0.551-5.021 c0-5.647,1.923-11.07,5.097-15.551c3.164-4.453,7.626-7.99,12.848-9.811c0.019,0,0.038-0.01,0.038-0.01 c0.027,0,0.027-0.027,0.051-0.027c2.954-1.092,6.072-1.639,9.157-1.639c5.619,0,11.154,1.704,15.821,4.821 c4.611,3.066,8.354,7.561,10.23,13.143c0.019,0.037,0.019,0.07,0.037,0.103c0,0.037,0.019,0.057,0.037,0.084H307.523z M290.329,300.349c-2.202-1.428-4.751-2.291-7.448-2.291c-2.175,0-4.434,0.621-6.445,1.955l0,0 c-19.004,11.342-41.355,17.558-63.547,17.558c-16.65,0-33.199-3.514-48.192-10.879l-0.077-0.037l-0.075-0.028 c-2.261-0.924-4.837-2.889-7.647-4.76c-1.428-0.925-2.919-1.844-4.574-2.521c-1.633-0.695-3.447-1.181-5.386-1.181 c-1.605,0-3.292,0.359-4.957,1.115c-0.086,0.033-0.168,0.065-0.252,0.098h0.009c-2.616,0.999-4.66,2.829-5.974,4.994 c-1.372,2.23-2.046,4.826-2.046,7.411c0,2.334,0.551,4.667,1.691,6.786c1.085,2.007,2.754,3.762,4.938,4.938 c21.429,14.454,46.662,21.002,71.992,20.979c22.838,0,45.814-5.287,66.27-14.911l0.107-0.065l0.103-0.056 c2.697-1.597,6.282-3.029,9.661-5.115c1.671-1.064,3.304-2.296,4.704-3.897c1.4-1.591,2.525-3.551,3.16-5.875v-0.01 c0.266-1.026,0.392-2.025,0.392-3.024c0-1.899-0.467-3.701-1.241-5.32C294.361,303.775,292.504,301.778,290.329,300.349z M139.875,265.589c0.037,0,0.086,0.014,0.128,0.037c2.735,0.999,5.554,1.493,8.345,1.493c6.963,0,13.73-2.852,18.853-7.5 c5.115-4.662,8.618-11.257,8.618-18.775c0-0.196,0-0.392-0.009-0.625c0.019-0.336,0.028-0.705,0.028-1.083 c0-7.458-3.456-14.08-8.522-18.762c-5.085-4.686-11.836-7.551-18.825-7.551c-1.867,0-3.769,0.219-5.628,0.653 c-0.028,0-0.049,0.009-0.077,0.009c0,0-0.019,0-0.028,0c-9.252,1.937-17.373,8.803-20.37,18.248l0,0v0.01 c0,0.019-0.009,0.037-0.009,0.037c-0.861,2.586-1.262,5.255-1.262,7.896c0,5.787,1.913,11.426,5.211,16.064 c3.269,4.56,7.894,8.145,13.448,9.819C139.816,265.561,139.835,265.571,139.875,265.589z M430.033,198.094v0.038 c0.066,0.94,0.084,1.878,0.084,2.81c0,10.447-3.351,20.493-8.941,29.016c-5.218,7.976-12.414,14.649-20.703,19.177 c0.532,4.158,0.84,8.349,0.84,12.526c-0.01,22.495-7.766,44.607-21.272,62.329v0.009h-0.028 c-24.969,33.216-63.313,52.804-102.031,62.684h-0.01l-0.027,0.023c-20.647,5.013-41.938,7.574-63.223,7.574 c-31.729,0-63.433-5.722-93.018-17.585l-0.009-0.028h-0.028c-30.672-12.643-59.897-32.739-77.819-62.184 c-9.642-15.71-14.935-34.141-14.935-52.659c0-4.19,0.283-8.387,0.843-12.536c-8.072-4.545-15.063-10.99-20.255-18.687 c-5.542-8.266-9.056-17.95-9.5-28.187v-0.04v-0.037v-0.082c0.009-14.337,6.237-27.918,15.915-37.932 c9.677-10.011,22.896-16.554,37.075-16.554c0.196,0,0.392,0,0.588,0c1.487-0.101,2.987-0.159,4.488-0.159 c7.122,0,14.26,1.153,21.039,3.752l0.037,0.028l0.038,0.012c5.787,2.437,11.537,5.377,16.662,9.449 c1.661-0.871,3.472-1.851,5.504-2.625c31.064-18.395,67.171-25.491,102.358-27.538c0.306-17.431,2.448-35.68,10.949-51.65 c7.08-13.269,19.369-23.599,34-27.179l0.061-0.03l0.079-0.009c5.573-1.078,11.192-1.575,16.774-1.575 c14.869,0,29.561,3.521,43.31,9.017c6.086-9.185,14.776-16.354,24.97-20.375l0.098-0.056l0.098-0.037 c5.983-1.864,12.303-2.954,18.646-2.954c6.692,0,13.437,1.223,19.756,4.046v-0.023c0.009,0.023,0.019,0.023,0.019,0.023 c0.047,0.016,0.084,0.044,0.116,0.044c9.059,3.489,16.727,9.937,22.164,17.95c5.442,8.048,8.644,17.688,8.644,27.599 c0,1.827-0.103,3.657-0.317,5.489l-0.019,0.037c0,0.028,0,0.068-0.01,0.096c-1.063,12.809-7.551,24.047-16.736,32.063 c-9.24,8.048-21.207,12.909-33.49,12.909c-1.97,0-3.958-0.11-5.937-0.374c-12.182-0.931-23.541-6.826-31.886-15.595 c-8.373-8.755-13.768-20.453-13.768-33.08c0-0.611,0.056-1.237,0.074-1.843c-11.435-5.092-23.578-9.316-35.646-9.306 c-1.746,0-3.491,0.096-5.237,0.273h-0.019c-9.035,0.871-17.436,6.566-21.506,14.757v0.009v0.028 c-6.179,12.034-7.411,26.101-7.598,40.064c34.639,2.259,69.483,10.571,100.043,28.138h0.047l0.438,0.259 c0.579,0.343,1.652,0.931,2.623,1.449c2.101-1.704,4.322-3.456,6.856-4.966c9.264-6.17,20.241-9.238,31.223-9.238 c4.872,0,9.749,0.621,14.481,1.834h0.019l0.196,0.058c0.07,0.01,0.121,0.033,0.178,0.033v0.009 c11.183,2.845,21.3,9.267,28.917,17.927c7.612,8.674,12.731,19.648,13.73,31.561v0.025H430.033z M328.002,84.733 c0,0.469,0.01,0.95,0.057,1.44v0.028v0.056c0.224,6.018,3.065,11.619,7.383,15.756c4.34,4.14,10.1,6.702,15.942,6.725h0.08h0.079 c0.42,0.033,0.85,0.033,1.26,0.033c5.899,0.009,11.752-2.532,16.148-6.655c4.405-4.144,7.309-9.78,7.542-15.849l0.009-0.028v-0.037 c0.038-0.464,0.057-0.903,0.057-1.377c0-6.247-2.922-12.202-7.496-16.612c-4.555-4.406-10.688-7.136-16.735-7.12 c-1.951,0-3.884,0.266-5.778,0.854l-0.065,0.005l-0.056,0.023c-4.984,1.295-9.656,4.368-13.012,8.449 C330.046,74.486,328.002,79.508,328.002,84.733z M72.312,177.578c-4.63-2.156-9.418-3.696-14.15-3.676 c-0.794,0-1.597,0.047-2.39,0.133h-0.11l-0.11,0.014c-6.795,0.187-13.653,3.15-18.801,7.899 c-5.152,4.732-8.559,11.122-8.821,18.167v0.065l-0.012,0.058c-0.046,0.57-0.065,1.137-0.065,1.683 c0,4.345,1.333,8.545,3.593,12.368c1.673,2.847,3.867,5.441,6.348,7.701C45.735,204.602,58.142,189.845,72.312,177.578z M374.066,262.635c0-15.5-5.592-31.069-14.646-43.604c-18.053-25.119-46.055-41.502-75.187-50.636l-0.205-0.072 c-5.592-1.715-11.238-3.234-16.933-4.534c-17.025-3.876-34.48-5.806-51.917-5.806c-23.414,0-46.827,3.465-69.245,10.379 c-29.125,9.243-57.221,25.51-75.233,50.71v0.019c-9.129,12.587-14.475,28.208-14.475,43.763c0,5.727,0.716,11.453,2.23,17.025 l0.019,0.01c3.278,12.508,9.689,23.671,17.989,33.393c8.295,9.745,18.472,18.058,29.176,24.839c2.371,1.47,4.751,2.87,7.187,4.237 c31.094,17.356,66.898,24.964,102.445,24.964c6.012,0,12.06-0.214,18.033-0.644c35.797-2.959,71.742-13.525,100.8-35.115 l0.01-0.023c9.25-6.837,17.818-15.112,24.595-24.525c6.805-9.418,11.789-19.947,14.002-31.382V275.6l0.009-0.01 C373.627,271.32,374.066,266.985,374.066,262.635z M402.32,200.95c-0.009-3.762-0.868-7.507-2.753-11l-0.047-0.044l-0.019-0.056 c-2.521-5.19-6.479-9.11-11.248-11.782c-4.77-2.69-10.352-4.056-15.952-4.056c-5.063,0-10.1,1.132-14.57,3.379 c14.216,12.344,26.687,27.179,34.746,44.636c2.595-2.259,4.808-5.018,6.464-8.084C401.098,209.92,402.32,205.405,402.32,200.95z"/></svg></span>
691
+ <span class="simplesocialtxt">reddit </span>';
692
+ if ( $show_count ) {
693
+ $_html .= '<span class="ssb_counter">'. $reddit_score .'</span>';
694
+ }
695
+
696
+ $_html .= '</button>';
697
+ } else {
698
+ $_html = '<button class="simplesocial-reddit-share" data-href="https://reddit.com/submit?url=' . $permalink . '&title=' . $title . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;" ><span class="simplesocialtxt">Reddit</span> ';
699
+
700
+ if ( $show_count ) {
701
+ $_html .= '<span class="ssb_counter ssb_reddit_counter">' . $reddit_score . '</span>';
702
+ }
703
+ $_html .= '</button>';
704
+
705
  }
 
706
 
707
  $arrButtonsCode[] = $_html;
708
  break;
709
  case 'whatsapp':
710
+ if ( $this->selected_theme == 'simple-icons' ) {
711
+ $arrButtonsCode[] = ' <button class="ssb_whatsapp-icon" onclick="javascript:window.open(this.dataset.href, \'_blank\' );return false;" class="simplesocial-whatsapp-share" data-href="https://api.whatsapp.com/send?text=' . $permalink . '"><span class="simplesocialtxt">
712
+ <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="512px" height="512px" viewBox="0 0 90 90" style="enable-background:new 0 0 90 90;" xml:space="preserve" class=""><g><g> <path id="WhatsApp" d="M90,43.841c0,24.213-19.779,43.841-44.182,43.841c-7.747,0-15.025-1.98-21.357-5.455L0,90l7.975-23.522 c-4.023-6.606-6.34-14.354-6.34-22.637C1.635,19.628,21.416,0,45.818,0C70.223,0,90,19.628,90,43.841z M45.818,6.982 c-20.484,0-37.146,16.535-37.146,36.859c0,8.065,2.629,15.534,7.076,21.61L11.107,79.14l14.275-4.537 c5.865,3.851,12.891,6.097,20.437,6.097c20.481,0,37.146-16.533,37.146-36.857S66.301,6.982,45.818,6.982z M68.129,53.938 c-0.273-0.447-0.994-0.717-2.076-1.254c-1.084-0.537-6.41-3.138-7.4-3.495c-0.993-0.358-1.717-0.538-2.438,0.537 c-0.721,1.076-2.797,3.495-3.43,4.212c-0.632,0.719-1.263,0.809-2.347,0.271c-1.082-0.537-4.571-1.673-8.708-5.333 c-3.219-2.848-5.393-6.364-6.025-7.441c-0.631-1.075-0.066-1.656,0.475-2.191c0.488-0.482,1.084-1.255,1.625-1.882 c0.543-0.628,0.723-1.075,1.082-1.793c0.363-0.717,0.182-1.344-0.09-1.883c-0.27-0.537-2.438-5.825-3.34-7.977 c-0.902-2.15-1.803-1.792-2.436-1.792c-0.631,0-1.354-0.09-2.076-0.09c-0.722,0-1.896,0.269-2.889,1.344 c-0.992,1.076-3.789,3.676-3.789,8.963c0,5.288,3.879,10.397,4.422,11.113c0.541,0.716,7.49,11.92,18.5,16.223 C58.2,65.771,58.2,64.336,60.186,64.156c1.984-0.179,6.406-2.599,7.312-5.107C68.398,56.537,68.398,54.386,68.129,53.938z"/> </g></g> </svg> </span>
713
+ <span class="simplesocialtxt">Whatsapp</span>
714
+ </button>';
715
+ } else {
716
+
717
+ $arrButtonsCode[] = '<button onclick="javascript:window.open(this.dataset.href, \'_blank\' );return false;" class="simplesocial-whatsapp-share" data-href="https://api.whatsapp.com/send?text=' . $permalink . '"><span class="simplesocialtxt">Share on WhatsApp</span></button>';
718
+ }
719
  break;
720
 
721
  case 'viber':
722
+ if ( $this->selected_theme == 'simple-icons' ) {
723
+ $arrButtonsCode[] = '<button class="ssb_viber-icon" onclick="javascript:window.open(this.dataset.href, \'_self\' );return false;" class="simplesocial-viber-share" data-href="viber://forward?text=' . $permalink . '">
724
+ <span class="icon"> <svg aria-labelledby="simpleicons-viber-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="simpleicons-viber-icon">Viber icon</title><path d="M20.812 2.343c-.596-.549-3.006-2.3-8.376-2.325 0 0-6.331-.38-9.415 2.451C1.302 4.189.698 6.698.634 9.82.569 12.934.487 18.774 6.12 20.36h.005l-.005 2.416s-.034.979.609 1.178c.779.24 1.236-.504 1.98-1.303.409-.439.972-1.088 1.397-1.582 3.851.322 6.813-.416 7.149-.525.777-.254 5.176-.816 5.893-6.658.738-6.021-.357-9.83-2.338-11.547v.004zm.652 11.112c-.615 4.876-4.184 5.187-4.83 5.396-.285.092-2.895.738-6.164.525 0 0-2.445 2.941-3.195 3.705-.121.121-.271.166-.361.145-.135-.029-.164-.18-.164-.404l.015-4.006c-.015 0 0 0 0 0-4.771-1.336-4.485-6.301-4.425-8.91.044-2.596.538-4.726 1.994-6.167 2.611-2.371 7.997-2.012 7.997-2.012 4.543.016 6.721 1.385 7.223 1.846 1.674 1.432 2.529 4.865 1.904 9.893l.006-.011zM7.741 4.983c.242 0 .459.109.629.311.004.002.58.695.83 1.034.235.32.551.83.711 1.115.285.51.104 1.032-.172 1.248l-.566.45c-.285.229-.25.653-.25.653s.84 3.157 3.959 3.953c0 0 .426.039.654-.246l.451-.569c.213-.285.734-.465 1.244-.181.285.15.795.466 1.116.704.339.24 1.032.826 1.036.826.33.271.404.689.18 1.109v.016c-.23.405-.541.78-.934 1.141h-.008c-.314.27-.629.42-.944.449-.03 0-.075.016-.136 0-.135 0-.27-.029-.404-.061v-.014c-.48-.135-1.275-.48-2.596-1.216-.855-.479-1.574-.96-2.189-1.455-.315-.255-.645-.54-.976-.87l-.076-.028-.03-.03-.029-.029c-.331-.33-.615-.66-.871-.98-.48-.609-.96-1.327-1.439-2.189-.735-1.32-1.08-2.115-1.215-2.596H5.7c-.045-.134-.075-.269-.06-.404-.015-.061 0-.105 0-.141.03-.299.189-.614.458-.944h.005c.355-.39.738-.704 1.146-.933.164-.091.329-.135.479-.135h.016l-.003.012zm4.095-.683h.116l.076.002h.02l.089.005h.511l.135.015h.074l.15.016h.03l.104.015h.016l.074.015c.046 0 .076.016.105.016h.091l.075.029.06.016.06.015.03.015h.045l.046.016h.029l.074.016.045.014.046.016.06.016.03.014c.03 0 .06.016.091.016l.044.015.046.016.119.044.061.031.135.06.045.015.045.016.09.045.061.015.029.015.076.031.029.014.061.031.045.014.045.03.059.03.046.029.03.016.061.03.044.03.075.045.045.016.074.044.016.015.045.031.09.074.046.03.044.03.031.014.045.031.074.074.061.045.045.03.016.015.029.016.074.061.046.044.03.03.045.029.045.031.029.015.12.12.06.061.135.135.031.029c.016.016.045.045.061.075l.029.03.166.194.045.06c.014.016.014.031.029.031l.09.135.045.045.09.12.076.12.045.09.059.105.045.09.016.029.029.061.076.15.074.149.031.075c.059.135.104.27.164.42.074.195.135.404.18.63.045.165.076.315.105.48l.029.27.045.3c.016.121.031.256.031.375.014.121.014.24.014.359v.256c0 .016-.006.029-.014.045-.016.03-.031.045-.061.075-.021.015-.049.046-.08.046-.029.014-.059.014-.09.014h-.045c-.029 0-.059-.014-.09-.029-.029-.016-.061-.03-.074-.061-.016-.029-.045-.061-.061-.09s-.031-.06-.031-.09v-.359c-.014-.209-.029-.425-.059-.639-.016-.146-.045-.284-.061-.42 0-.074-.016-.146-.029-.209l-.029-.15-.038-.141-.016-.09-.045-.15c-.029-.12-.074-.24-.119-.36-.029-.091-.061-.165-.105-.239l-.029-.076-.135-.27-.031-.045c-.061-.135-.135-.27-.225-.391l-.045-.074h-.201l-.064-.091c-.055-.089-.114-.165-.18-.239l-.125-.15-.015-.016-.046-.057-.035-.045-.075-.074-.015-.03-.07-.06-.045-.046-.083-.075-.04-.037-.046-.045-.015-.016c-.016-.015-.045-.045-.075-.06l-.076-.062-.03-.015-.061-.046-.074-.06-.045-.036-.03-.016-.06-.053c0-.016-.016-.016-.031-.016l-.029-.029-.015-.016v-.013l-.03-.014-.061-.037-.044-.031-.075-.045-.06-.045-.029-.016-.032-.013h-.09l-.019-.016-.065-.035-.009-.014-.03-.016-.045-.021h-.012l-.045-.016-.025-.015-.045-.015-.01-.011-.03-.016-.053-.029-.03-.015-.09-.03-.074-.029-.137-.016-.044-.029c-.015-.01-.03-.016-.046-.016l-.029-.015c-.029-.011-.045-.016-.075-.03l-.03-.016h-.029l-.061-.029-.029-.016-.045-.015h-.092c-.008 0-.019-.005-.03-.007h-.09l-.045-.016h-.015l-.045-.016h-.041c-.025-.014-.045-.014-.07-.014l-.01-.016-.06-.015c-.03-.016-.056-.016-.084-.016l-.045-.015-.05-.016-.045-.014-.061-.016h-.061l-.179-.022h-.09l-.116-.015h-.076l-.068-.008h-.03l-.054-.016h-.285l-.01-.015h-.061c-.03 0-.064-.015-.09-.03-.03-.016-.061-.029-.081-.06l-.03-.046c-.029-.029-.029-.06-.045-.09-.014-.028-.014-.059-.014-.089s0-.06.015-.09c.016-.029.029-.06.061-.075.015-.03.044-.044.074-.06.029-.016.061-.03.09-.03h.061l.015.066zm.554 1.574l.037.003.061.006c.008 0 .018 0 .029.003.022 0 .045.004.075.006l.06.008.024.016.045.015.048.015.045.016h.03l.042.015.07.015.056.016.026.014h.073l.119.028.046.015.045.015.045.016s.015 0 .015.015l.046.015.044.016.045.016c.015 0 .03.014.046.014.007 0 .014.016.025.016l.064.03h.029l.09.03.05.029.046.03.108.045.06.015.031.031c.045.014.09.044.135.059l.048.03.048.03.049.029c.045.03.082.046.121.076l.029.014.041.031.022.015.075.045.037.03.065.043.029.015.03.015.046.03.06.046c.015.014.022.014.034.029.01.015.016.015.025.03l.033.03.036.029.03.03.046.046.029.03.016.016.09.089.016.016c0 .015.015.03.029.03l.016.013.045.046.029.045.03.03.045.06.046.046.09.119.014.029.061.076.016.029.015.031.015.029.016.03c.016.015.016.03.029.06l.043.076.016.015.029.061.031.044c.014.015.014.029.029.045l.03.045.03.061.029.059.016.046c.015.044.045.075.06.12 0 .015.015.029.015.045l.045.119.061.195c0 .016.015.045.015.061l.046.135.044.18.046.24c.014.074.014.135.029.211.016.119.03.238.03.359l.015.21v.165c0 .016 0 .029-.015.045l-.044.043c-.029.023-.045.045-.074.061-.03.015-.061.029-.09.04-.031.016-.075.016-.105.016-.029 0-.061-.016-.09-.03-.016 0-.03-.016-.045-.021-.031-.014-.061-.039-.075-.065-.03-.03-.046-.06-.046-.091l-.014-.044v-.313c0-.133-.016-.256-.031-.385-.015-.135-.044-.285-.074-.42-.029-.09-.045-.18-.075-.26l-.03-.091-.029-.075-.016-.03-.045-.12-.045-.09-.075-.149-.069-.12v-.019l-.029-.047-.03-.038-.045-.075-.046-.061-.089-.119c-.046-.061-.09-.12-.142-.178-.014-.015-.029-.029-.029-.045l-.03-.029-.017-.016-.03-.014-.03-.027v-.146l-.119-.113-.075-.068v-.014l-.03-.031-.038-.029-.015-.016c0-.015-.016-.015-.029-.015l-.046-.016-.015-.015-.061-.045-.014-.016-.016-.015c-.012-.015-.023-.015-.03-.015l-.06-.045-.016-.016-.06-.029-.011-.016-.045-.029-.03-.016-.03-.029-.029-.031h-.016c-.029-.029-.06-.044-.105-.06l-.044-.03-.03-.014-.016-.016-.045-.03-.044-.015-.06-.03-.046-.015-.015-.016-.056-.014v-.012l-.091-.03-.06-.03-.03-.015h-.06c-.03-.015-.045-.015-.075-.03H13.2l-.045-.016h-.044l-.046-.014-.029-.016h-.061l-.061-.015-.029-.016h-.165l-.069-.015H12.3l-.046-.016c-.029-.014-.06-.029-.09-.06-.014-.03-.045-.06-.06-.089-.015-.031-.03-.061-.03-.091v-.09c.006-.046.016-.075.03-.105.008-.015.015-.03.03-.045.018-.03.045-.06.075-.075.015-.015.03-.015.044-.029.031-.016.061-.016.091-.016h.06l-.014.055zm.454 1.629c.015 0 .03 0 .044.004.016 0 .031 0 .046.002l.052.005c.104.009.213.024.318.046l.104.023.026.008.114.029.059.02.046.016c.045.014.091.045.135.06l.016.015.06.03.09.046.029.014c.016.016.031.016.046.03.015.016.045.03.06.045.061.03.105.075.15.105l.105.09.09.091.061.074.029.029.03.031.044.06.091.135.075.135.06.12.046.105c.044.104.06.195.09.299.029.091.045.196.06.285l.015.15.016.136V9.8c0 .045-.016.075-.03.105-.015.029-.046.074-.075.09-.03.029-.061.045-.105.061-.029.014-.06.014-.09.014-.029 0-.06 0-.09-.014l-.104-.046c-.03-.03-.06-.045-.091-.091-.015-.029-.029-.06-.045-.104v-.166l-.015-.105-.015-.119-.016-.105-.016-.06c0-.015-.014-.045-.014-.06-.03-.121-.09-.24-.15-.36l-.061-.06-.047-.06-.045-.045-.015-.03-.075-.06-.061-.061-.059-.045c-.016-.015-.03-.015-.061-.029l-.09-.061-.061-.03-.029-.015h-.016l-.076-.031-.09-.03-.09-.015h-.075l-.044-.015-.035-.007h-.045l-.06-.016h-.255l-.015-.075h-.039c-.03-.004-.055-.015-.08-.029-.035-.021-.064-.045-.09-.08-.018-.029-.034-.061-.045-.09-.008-.029-.012-.06-.012-.09 0-.037 0-.075.015-.113.015-.039.03-.07.06-.1l.061-.045c.029-.016.061-.03.09-.03l.062-.075h.032z"/></svg> </span>
725
+ <span class="simplesocialtxt">Viber</span>
726
+ </button>';
727
+ } else {
728
+
729
  $arrButtonsCode[] = '<button onclick="javascript:window.open(this.dataset.href, \'_self\' );return false;" class="simplesocial-viber-share" data-href="viber://forward?text=' . $permalink . '"><span class="simplesocialtxt">Share on Viber</span></button>';
730
+ }
731
  break;
732
 
733
  case 'fblike':
734
+ $_html = '<div class="fb-like ssb-fb-like" data-href="' . $permalink . '" data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="false"></div>';
 
735
 
736
  $arrButtonsCode[] = $_html;
737
 
760
  */
761
  function get_option( $option, $default = false ) {
762
  if ( isset( $this->settings[ $option ] ) ) {
763
+ return $this->settings[ $option ];
764
  } else {
765
  return $default;
766
  }
767
  }
768
 
769
+ function get_post_type() {
770
 
771
  if ( is_home() || is_front_page() ) {
772
  return 'home';
782
  * @since 2.0
783
  */
784
  function include_sidebar() {
785
+
786
+ // Return Content if hide ssb.
787
+ if ( get_post_meta( get_the_id(), $this->hideCustomMetaKey, true ) == 'true' ) {
788
+ return;
789
+ }
790
+
791
+ if ( isset( $this->selected_position['sidebar'] ) && in_array( $this->get_post_type(), $this->_get_settings( 'sidebar', 'posts', array() ) ) ) {
792
  $show_total = false;
793
  $show_count = false;
794
  // Show Total at the end.
799
  $show_count = true;
800
  }
801
  if ( in_array( $this->get_post_type(), $this->sidebar_option['posts'] ) ) {
802
+ $class = 'simplesocialbuttons-float-' . $this->sidebar_option['orientation'] . '-center' . ' ' . $this->add_post_class();
803
  // $class = 'simplesocialbuttons-float-left-post';
804
  if ( $this->sidebar_option['hide_mobile'] ) {
805
  $class .= ' simplesocialbuttons-mobile-hidden'; }
806
+ $class .= ' simplesocialbuttons-slide-' . $this->_get_settings( 'sidebar', 'animation', 'no-animation' );
807
  $_selected_network = apply_filters( 'ssb_sidebar_social_networks', $this->selected_networks );
808
  echo $this->generate_buttons_code( $_selected_network, $show_count, $show_total, $class );
809
+ }
810
  }
811
  }
812
 
813
  function css_file() {
814
+ include_once dirname( __FILE__ ) . '/inc/custom-css.php';
815
  }
816
 
817
  /**
818
+ * Update option when user click on dismiss button.
819
+ *
820
+ * @since 2.0.0
821
+ */
822
  function review_update_notice() {
823
 
824
  if ( ! is_admin() ||
842
  * @since 2.0.0
843
  */
844
  function update_notice() {
845
+ // delete_option( 'ssb_update_2_0_dismiss' );
846
+ if ( get_option( 'ssb_update_2_0_dismiss' ) ) {
847
+ return; }
848
 
849
  $scheme = ( parse_url( $_SERVER['REQUEST_URI'], PHP_URL_QUERY ) ) ? '&' : '?';
850
  $url = admin_url( 'admin.php?page=simple-social-buttons' ) . '&ssb_update_2_0_dismiss=yes';
869
  <div class="ssb-update-text">
870
  <h3><?php _e( 'Simple Social Buttons 2.0 (Relaunched)', 'simple-social-buttons' ); ?></h3>
871
  <p><?php _e( 'Simple Social Buttons had 50,000 Active installs and It was abondoned and rarely updated since last 5 years.<br /> We at <a href="https://WPBrigade.com/?utm_source=simple-social-buttons-lite&utm_medium=link-notice-2-0" target="_blank">WPBrigade</a> adopted this plugin and rewrote it completely from scratch.<br /> <a href="https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-notice-2-0&utm_campaign=pro-upgrade" target="_blank">Check out</a> What\'s new in 2.0 version.<br /> Pardon me, If there is anything broken. Please <a href="https://WPBrigade.com/contact/?utm_source=simple-social-buttons-lite" target="_blank">report</a> us any issue you see in the plugin.', 'simple-social-buttons' ); ?></p>
872
+ <a href="<?php echo $dismiss_url; ?>" class="ssb_update_dismiss_button">Dismiss</a>
873
  <a href="https://wpbrigade.com/wordpress/plugins/simple-social-buttons-pro/?utm_source=simple-social-buttons-lite&utm_medium=link-learn-more&utm_campaign=pro-upgrade" target="_blank" class="ssb_update_dismiss_button">Learn more</a>
874
  </div>
875
  </div>
881
  *
882
  * @since 2.0.4
883
  */
884
+ function fblike_script() {
885
 
886
+ if ( ! array_key_exists( 'fblike', array_filter( $this->selected_networks ) ) ) {
887
  return;
888
  }
889
  ?>
898
  <?php
899
  }
900
 
901
+
902
+ /**
903
+ * short code content
904
+ *
905
+ * @param $atts
906
+ *
907
+ * @since 2.0.2
908
+ * @return string
909
+ */
910
+ function short_code_content( $atts ) {
911
+
912
+ /*
913
+
914
+ counter = true,false
915
+ align = left ,right,centered,
916
+ order = googleplus,twitter,pinterest,fbshare,linkedin,reddit,whatsapp,viber,fblike
917
+
918
+ theme
919
+ theme1 = sm-round
920
+ theme2 = simple-round
921
+ theme3 = round-txt
922
+ theme4 = round-btm-border
923
+ Flat = flat-button-border
924
+ Circle = round-icon
925
+ Official = simple-icons
926
+ */
927
+
928
+ $selected_theme = shortcode_atts( array(
929
+ 'theme' => '',
930
+ 'order' => null,
931
+ 'align' => '',
932
+ 'counter' => 'false',
933
+ ), $atts );
934
+
935
+ $themes = array(
936
+ 'theme1' => 'sm-round',
937
+ 'theme2' => 'simple-round',
938
+ 'theme3' => 'round-txt',
939
+ 'theme4' => 'round-btm-border',
940
+ 'Flat' => 'flat-button-border',
941
+ 'Circle' => 'round-icon',
942
+ 'Official' => 'simple-icons',
943
+ );
944
+
945
+
946
+ if ( key_exists( $selected_theme['theme'], $themes ) ) {
947
+ foreach ( $themes as $key => $value ) {
948
+
949
+ if ( $selected_theme['theme'] == $key ) {
950
+
951
+ $theme = $themes[ $key ];
952
+ }
953
+ }
954
+ } else {
955
+ $theme = $this->selected_theme;
956
+ }
957
+ if ( null !== $selected_theme['order'] ) {
958
+ $selected_theme['order'] = array_flip( array_merge( array( 0 ), explode( ',', $selected_theme['order'] ) ) );
959
+
960
+ }
961
+
962
+ if ( isset( $this->selected_position['inline'] ) ) {
963
+ // Show Total at the end.
964
+ if ( $this->_get_settings( 'inline', 'total_share' ) ) {
965
+ $show_total = true;
966
+ } else {
967
+ $show_total = false;
968
+ }
969
+
970
+ if ( empty( $selected_theme['align'] ) ) {
971
+ $align_class = $this->_get_settings( 'inline', 'icon_alignment', 'left' );
972
+ } else {
973
+ $align_class = $selected_theme['align'];
974
+ }
975
+
976
+ $extra_class = 'simplesocialbuttons_inline simplesocialbuttons-align-' . $align_class;
977
+
978
+ // if ( $this->inline['share_counts'] ) {
979
+ if ( $selected_theme['counter'] == 'true' ) {
980
+ $show_count = true;
981
+ $extra_class .= ' ssb_counter-activate';
982
+ } else {
983
+ $show_count = false;
984
+ }
985
+
986
+
987
+ $extra_class .= ' simplesocialbuttons-inline-' . $this->_get_settings( 'inline', 'animation', 'no-animation' );
988
+
989
+ $ssb_buttons_code = $this->generate_buttons_short_code( $theme, $selected_theme['order'], $this->selected_networks, $show_count, $show_total, $extra_class );
990
+
991
+
992
+ }
993
+
994
+ return $ssb_buttons_code;
995
+
996
+ }
997
+
998
+ /**
999
+ * Generate buttons html code with specified order for short code
1000
+ * @since 2.0.2
1001
+ *
1002
+ * @param mixed $order - order of social buttons
1003
+ */
1004
+ function generate_buttons_short_code( $short_code_theme, $short_code_order, $order = null, $show_count = false, $show_total = false, $extra_class = '' ) {
1005
+
1006
+ //googleplus,fbshare,twitter,pinterest,whatsapp,viber,reddit,linkedin
1007
+
1008
+ // define empty buttons code to use
1009
+ $ssb_buttonscode = '';
1010
+
1011
+ // get post permalink and title
1012
+ $permalink = get_permalink();
1013
+ $title = get_the_title();
1014
+
1015
+ // Sorting the buttons
1016
+ $arrButtons = array();
1017
+ if ( $short_code_order == null ) {
1018
+
1019
+ foreach ( $this->arrKnownButtons as $button_name ) {
1020
+ if ( ! empty( $order[ $button_name ] ) && (int) $order[ $button_name ] != 0 ) {
1021
+
1022
+ $arrButtons[ $button_name ] = $order[ $button_name ];
1023
+ }
1024
+ }
1025
+
1026
+ } else {
1027
+
1028
+ foreach ( $this->arrKnownButtons as $button_name ) {
1029
+ if ( ! empty( $short_code_order[ $button_name ] ) && (int) $short_code_order[ $button_name ] != 0 ) {
1030
+ $arrButtons[ $button_name ] = $short_code_order[ $button_name ];
1031
+ }
1032
+ }
1033
+
1034
+ }
1035
+ // echo '<pre>'; print_r( $arrButtons ); echo '</pre>';
1036
+ @asort( $arrButtons );
1037
+
1038
+ // add total share index in array.
1039
+ if ( $show_total ) {
1040
+ $arrButtons['totalshare'] = '100';
1041
+ }
1042
+ $post_id = get_the_id();
1043
+
1044
+ // // Reset the cache timestamp if needed
1045
+ // // if false fetch the new share counts.
1046
+ if ( isset( $this->settings['cache'] ) && $this->settings['cache'] == 'off' ) {
1047
+
1048
+ $_share_links = array();
1049
+ foreach ( $arrButtons as $social_name => $priority ) {
1050
+ if ( 'totalshare' == $social_name || 'viber' == $social_name ) {
1051
+ continue;
1052
+ }
1053
+ $_share_links[ $social_name ] = call_user_func( 'ssb_' . $social_name . '_generate_link', get_permalink() );
1054
+ }
1055
+
1056
+ $result = ssb_fetch_shares_via_curl_multi( array_filter( $_share_links ) );
1057
+
1058
+ $share_counts = ssb_fetch_fresh_counts( $result, $post_id );
1059
+ // update_post_meta( $post_id,'ssb_cache_timestamp',floor( ( ( date( 'U' ) / 60) / 60 ) ) );
1060
+ } else {
1061
+ $share_counts = ssb_fetch_cached_counts( array_flip( $arrButtons ), $post_id );
1062
+ }
1063
+
1064
+ $arrButtonsCode = array();
1065
+ foreach ( $arrButtons as $button_name => $button_sort ) {
1066
+ switch ( $button_name ) {
1067
+ case 'googleplus':
1068
+ $googleplus_share = $share_counts['googleplus'] ? $share_counts['googleplus'] : 0;
1069
+
1070
+ if ( $this->selected_theme == 'simple-icons' ) {
1071
+ $_html = '<button class="ssb_gplus-icon" data-href="https://plus.google.com/share?url=' . $permalink . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;">
1072
+ <span class="icon"><svg version="1.1" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid meet" width="30px" height="18px" viewBox="-10 -6 60 36" class="ozWidgetRioButtonSvg_ ozWidgetRioButtonPlusOne_"><path d="M30 7h-3v4h-4v3h4v4h3v-4h4v-3h-4V7z"></path><path d="M11 9.9v4h5.4C16 16.3 14 18 11 18c-3.3 0-5.9-2.8-5.9-6S7.7 6 11 6c1.5 0 2.8.5 3.8 1.5l2.9-2.9C15.9 3 13.7 2 11 2 5.5 2 1 6.5 1 12s4.5 10 10 10c5.8 0 9.6-4.1 9.6-9.8 0-.7-.1-1.5-.2-2.2H11z"></path></svg></span>
1073
+ <span class="simplesocialtxt">Google Plus </span>';
1074
+ if ( $show_count ) {
1075
+ $_html .= '<span class="ssb_counter">'. $googleplus_share .'</span>';
1076
+ }
1077
+ $_html .= '</button>';
1078
+ } else {
1079
+
1080
+ $_html = '<button class="simplesocial-gplus-share" data-href="https://plus.google.com/share?url=' . $permalink . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">Google+</span>';
1081
+ if ( $show_count ) {
1082
+ $_html .= '<span class="ssb_counter ssb_googleplus_counter">' . $googleplus_share . '</span>';
1083
+ }
1084
+ $_html .= '</button>';
1085
+ }
1086
+
1087
+ $arrButtonsCode[] = $_html;
1088
+
1089
+ break;
1090
+
1091
+ case 'fbshare':
1092
+ $fbshare_share = $share_counts['fbshare'] ? $share_counts['fbshare'] : 0;
1093
+
1094
+ if ( $this->selected_theme == 'simple-icons' ) {
1095
+ $_html = ' <button class="ssb_fbshare-icon" target="_blank" data-href="https://www.facebook.com/sharer/sharer.php?u=' . $permalink . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;">
1096
+ <span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="_1pbq" color="#ffffff"><path fill="#ffffff" fill-rule="evenodd" class="icon" d="M8 14H3.667C2.733 13.9 2 13.167 2 12.233V3.667A1.65 1.65 0 0 1 3.667 2h8.666A1.65 1.65 0 0 1 14 3.667v8.566c0 .934-.733 1.667-1.667 1.767H10v-3.967h1.3l.7-2.066h-2V6.933c0-.466.167-.9.867-.9H12v-1.8c.033 0-.933-.266-1.533-.266-1.267 0-2.434.7-2.467 2.133v1.867H6v2.066h2V14z"></path></svg></span>
1097
+ <span class="simplesocialtxt">Share </span>';
1098
+
1099
+ if ( $show_count ) {
1100
+ $_html .= ' <span class="ssb_counter">'. $fbshare_share .'</span>';;
1101
+ }
1102
+
1103
+ $_html .= ' </button>';
1104
+ } else{
1105
+
1106
+ $_html = '<button class="simplesocial-fb-share" target="_blank" data-href="https://www.facebook.com/sharer/sharer.php?u=' . $permalink . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">Facebook </span> ';
1107
+
1108
+ if ( $show_count ) {
1109
+ $_html .= '<span class="ssb_counter ssb_fbshare_counter">' . $fbshare_share . '</span>';
1110
+ }
1111
+ $_html .= '</button>';
1112
+ }
1113
+
1114
+ $arrButtonsCode[] = $_html;
1115
+
1116
+ break;
1117
+ case 'twitter':
1118
+ $twitter_share = $share_counts['twitter'] ? $share_counts['twitter'] : 0;
1119
+ $via = ! empty( $this->extra_option['twitter_handle'] ) ? '&via=' . $this->extra_option['twitter_handle'] : '';
1120
+
1121
+ if ( $this->selected_theme == 'simple-icons' ) {
1122
+
1123
+ $_html = '<button class="ssb_tweet-icon" data-href="https://twitter.com/share?text=' . $title . '&url=' . $permalink . '' . $via . '" rel="nofollow" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;">
1124
+ <span class="icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 72 72"><path fill="none" d="M0 0h72v72H0z"/><path class="icon" fill="#fff" d="M68.812 15.14c-2.348 1.04-4.87 1.744-7.52 2.06 2.704-1.62 4.78-4.186 5.757-7.243-2.53 1.5-5.33 2.592-8.314 3.176C56.35 10.59 52.948 9 49.182 9c-7.23 0-13.092 5.86-13.092 13.093 0 1.026.118 2.02.338 2.98C25.543 24.527 15.9 19.318 9.44 11.396c-1.125 1.936-1.77 4.184-1.77 6.58 0 4.543 2.312 8.552 5.824 10.9-2.146-.07-4.165-.658-5.93-1.64-.002.056-.002.11-.002.163 0 6.345 4.513 11.638 10.504 12.84-1.1.298-2.256.457-3.45.457-.845 0-1.666-.078-2.464-.23 1.667 5.2 6.5 8.985 12.23 9.09-4.482 3.51-10.13 5.605-16.26 5.605-1.055 0-2.096-.06-3.122-.184 5.794 3.717 12.676 5.882 20.067 5.882 24.083 0 37.25-19.95 37.25-37.25 0-.565-.013-1.133-.038-1.693 2.558-1.847 4.778-4.15 6.532-6.774z"/></svg></span>';
1125
+
1126
+ if ( $show_count ) {
1127
+ $_html .= '<span class="simplesocialtxt">Tweet '. $twitter_share .'</span>';
1128
+ } else{
1129
+ $_html .= '<span class="simplesocialtxt">Tweet </span>';
1130
+
1131
+ }
1132
+
1133
+ $_html .= '</button>';
1134
+
1135
+
1136
+ } else {
1137
+
1138
+ $_html = '<button class="simplesocial-twt-share" data-href="https://twitter.com/share?text=' . $title . '&url=' . $permalink . '' . $via . '" rel="nofollow" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">Twitter</span> ';
1139
+
1140
+ if ( $show_count ) {
1141
+ $_html .= '<span class="ssb_counter ssb_twitter_counter">' . $twitter_share . '</span>';
1142
+ }
1143
+ $_html .= '</button>';
1144
+ }
1145
+
1146
+ $arrButtonsCode[] = $_html;
1147
+
1148
+ break;
1149
+ case 'linkedin':
1150
+ $linkedin_share = $share_counts['linkedin'] ? $share_counts['linkedin'] : 0;
1151
+
1152
+ if ( $this->selected_theme == 'simple-icons' ) {
1153
+
1154
+ $_html = '<button class="ssb_linkedin-icon" data-href="https://www.linkedin.com/cws/share?url=' . get_permalink() . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;" >
1155
+ <span class="icon">
1156
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="15px" height="14.1px" viewBox="-301.4 387.5 15 14.1" enable-background="new -301.4 387.5 15 14.1" xml:space="preserve"> <g id="XMLID_398_"> <path id="XMLID_399_" fill="#FFFFFF" d="M-296.2,401.6c0-3.2,0-6.3,0-9.5h0.1c1,0,2,0,2.9,0c0.1,0,0.1,0,0.1,0.1c0,0.4,0,0.8,0,1.2 c0.1-0.1,0.2-0.3,0.3-0.4c0.5-0.7,1.2-1,2.1-1.1c0.8-0.1,1.5,0,2.2,0.3c0.7,0.4,1.2,0.8,1.5,1.4c0.4,0.8,0.6,1.7,0.6,2.5 c0,1.8,0,3.6,0,5.4v0.1c-1.1,0-2.1,0-3.2,0c0-0.1,0-0.1,0-0.2c0-1.6,0-3.2,0-4.8c0-0.4,0-0.8-0.2-1.2c-0.2-0.7-0.8-1-1.6-1 c-0.8,0.1-1.3,0.5-1.6,1.2c-0.1,0.2-0.1,0.5-0.1,0.8c0,1.7,0,3.4,0,5.1c0,0.2,0,0.2-0.2,0.2c-1,0-1.9,0-2.9,0 C-296.1,401.6-296.2,401.6-296.2,401.6z"/> <path id="XMLID_400_" fill="#FFFFFF" d="M-298,401.6L-298,401.6c-1.1,0-2.1,0-3,0c-0.1,0-0.1,0-0.1-0.1c0-3.1,0-6.1,0-9.2 c0-0.1,0-0.1,0.1-0.1c1,0,2,0,2.9,0h0.1C-298,395.3-298,398.5-298,401.6z"/> <path id="XMLID_401_" fill="#FFFFFF" d="M-299.6,390.9c-0.7-0.1-1.2-0.3-1.6-0.8c-0.5-0.8-0.2-2.1,1-2.4c0.6-0.2,1.2-0.1,1.8,0.2 c0.5,0.4,0.7,0.9,0.6,1.5c-0.1,0.7-0.5,1.1-1.1,1.3C-299.1,390.8-299.4,390.8-299.6,390.9L-299.6,390.9z"/></g></svg> </span>
1157
+ <span class="simplesocialtxt">Share</span>';
1158
+
1159
+ if ( $show_count ) {
1160
+ $_html .= ' <span class="ssb_counter">'. $linkedin_share .'</span>';
1161
+ }
1162
+ $_html .= ' </button>';
1163
+ } else {
1164
+
1165
+ $_html = '<button target="popup" class="simplesocial-linkedin-share" data-href="https://www.linkedin.com/cws/share?url=' . get_permalink() . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;"><span class="simplesocialtxt">LinkedIn</span>';
1166
+
1167
+ if ( $show_count ) {
1168
+ $_html .= '<span class="ssb_counter ssb_linkedin_counter">' . $linkedin_share . '</span>';
1169
+ }
1170
+ $_html .= '</button>';
1171
+ }
1172
+
1173
+ $arrButtonsCode[] = $_html;
1174
+
1175
+ break;
1176
+ case 'pinterest':
1177
+ $pinterest_share = $share_counts['pinterest'] ? $share_counts['pinterest'] : 0;
1178
+
1179
+ if ( $this->selected_theme == 'simple-icons' ) {
1180
+
1181
+ $_html = ' <button class="ssb_pinterest-icon" onclick="var e=document.createElement(\'script\');e.setAttribute(\'type\',\'text/javascript\');e.setAttribute(\'charset\',\'UTF-8\');e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e);return false;">
1182
+ <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" height="30px" width="30px" viewBox="-1 -1 31 31"><g><path d="M29.449,14.662 C29.449,22.722 22.868,29.256 14.75,29.256 C6.632,29.256 0.051,22.722 0.051,14.662 C0.051,6.601 6.632,0.067 14.75,0.067 C22.868,0.067 29.449,6.601 29.449,14.662" fill="#fff" stroke="#fff" stroke-width="1"></path><path d="M14.733,1.686 C7.516,1.686 1.665,7.495 1.665,14.662 C1.665,20.159 5.109,24.854 9.97,26.744 C9.856,25.718 9.753,24.143 10.016,23.022 C10.253,22.01 11.548,16.572 11.548,16.572 C11.548,16.572 11.157,15.795 11.157,14.646 C11.157,12.842 12.211,11.495 13.522,11.495 C14.637,11.495 15.175,12.326 15.175,13.323 C15.175,14.436 14.462,16.1 14.093,17.643 C13.785,18.935 14.745,19.988 16.028,19.988 C18.351,19.988 20.136,17.556 20.136,14.046 C20.136,10.939 17.888,8.767 14.678,8.767 C10.959,8.767 8.777,11.536 8.777,14.398 C8.777,15.513 9.21,16.709 9.749,17.359 C9.856,17.488 9.872,17.6 9.84,17.731 C9.741,18.141 9.52,19.023 9.477,19.203 C9.42,19.44 9.288,19.491 9.04,19.376 C7.408,18.622 6.387,16.252 6.387,14.349 C6.387,10.256 9.383,6.497 15.022,6.497 C19.555,6.497 23.078,9.705 23.078,13.991 C23.078,18.463 20.239,22.062 16.297,22.062 C14.973,22.062 13.728,21.379 13.302,20.572 C13.302,20.572 12.647,23.05 12.488,23.657 C12.193,24.784 11.396,26.196 10.863,27.058 C12.086,27.434 13.386,27.637 14.733,27.637 C21.95,27.637 27.801,21.828 27.801,14.662 C27.801,7.495 21.95,1.686 14.733,1.686" fill="#bd081c"></path></g></svg> </span>
1183
+ <span class="simplesocialtxt">Save</span>';
1184
+ if ( $show_count ) {
1185
+ $_html .= '<span class="ssb_counter">'. $pinterest_share .'</span>';
1186
+ }
1187
+ $_html .= ' </button>';
1188
+ } else {
1189
+
1190
+ $_html = '<button rel="nofollow" class="simplesocial-pinterest-share" onclick="var e=document.createElement(\'script\');e.setAttribute(\'type\',\'text/javascript\');e.setAttribute(\'charset\',\'UTF-8\');e.setAttribute(\'src\',\'//assets.pinterest.com/js/pinmarklet.js?r=\'+Math.random()*99999999);document.body.appendChild(e);return false;" ><span class="simplesocialtxt">Pinterest</span>';
1191
+
1192
+ if ( $show_count ) {
1193
+ $_html .= '<span class="ssb_counter ssb_pinterest_counter">' . $pinterest_share . '</span>';
1194
+ }
1195
+ $_html .= '</button>';
1196
+ }
1197
+
1198
+ $arrButtonsCode[] = $_html;
1199
+
1200
+ break;
1201
+ case 'totalshare':
1202
+ $total_share = $share_counts['total'] ? $share_counts['total'] : 0;
1203
+ $arrButtonsCode[] = "<span class='ssb_total_counter'>" . $total_share . '<span>Shares</span></span>';
1204
+ break;
1205
+
1206
+ case 'reddit':
1207
+ $reddit_score = $share_counts['reddit'] ? $share_counts['reddit'] : 0;
1208
+
1209
+ if ( $this->selected_theme == 'simple-icons' ) {
1210
+ $_html = ' <button class="ssb_reddit-icon" data-href="https://reddit.com/submit?url=' . $permalink . '&title=' . $title . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;">
1211
+ <span class="icon"> <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
1212
+ width="430.117px" height="430.117px" viewBox="0 0 430.117 430.117" style="enable-background:new 0 0 430.117 430.117;"
1213
+ xml:space="preserve"> <g> <path id="reddit" d="M307.523,231.062c1.11,2.838,1.614,5.769,1.614,8.681c0,5.862-2.025,11.556-5.423,16.204 c-3.36,4.593-8.121,8.158-13.722,9.727h0.01c-0.047,0.019-0.094,0.019-0.117,0.037c-0.023,0-0.061,0.019-0.079,0.019 c-2.623,0.896-5.312,1.316-7.98,1.316c-6.254,0-12.396-2.254-17.306-6.096c-4.872-3.826-8.56-9.324-9.717-15.845h-0.01 c0-0.019,0-0.042-0.009-0.069c0-0.019,0-0.038-0.019-0.065h0.019c-0.364-1.681-0.551-3.36-0.551-5.021 c0-5.647,1.923-11.07,5.097-15.551c3.164-4.453,7.626-7.99,12.848-9.811c0.019,0,0.038-0.01,0.038-0.01 c0.027,0,0.027-0.027,0.051-0.027c2.954-1.092,6.072-1.639,9.157-1.639c5.619,0,11.154,1.704,15.821,4.821 c4.611,3.066,8.354,7.561,10.23,13.143c0.019,0.037,0.019,0.07,0.037,0.103c0,0.037,0.019,0.057,0.037,0.084H307.523z M290.329,300.349c-2.202-1.428-4.751-2.291-7.448-2.291c-2.175,0-4.434,0.621-6.445,1.955l0,0 c-19.004,11.342-41.355,17.558-63.547,17.558c-16.65,0-33.199-3.514-48.192-10.879l-0.077-0.037l-0.075-0.028 c-2.261-0.924-4.837-2.889-7.647-4.76c-1.428-0.925-2.919-1.844-4.574-2.521c-1.633-0.695-3.447-1.181-5.386-1.181 c-1.605,0-3.292,0.359-4.957,1.115c-0.086,0.033-0.168,0.065-0.252,0.098h0.009c-2.616,0.999-4.66,2.829-5.974,4.994 c-1.372,2.23-2.046,4.826-2.046,7.411c0,2.334,0.551,4.667,1.691,6.786c1.085,2.007,2.754,3.762,4.938,4.938 c21.429,14.454,46.662,21.002,71.992,20.979c22.838,0,45.814-5.287,66.27-14.911l0.107-0.065l0.103-0.056 c2.697-1.597,6.282-3.029,9.661-5.115c1.671-1.064,3.304-2.296,4.704-3.897c1.4-1.591,2.525-3.551,3.16-5.875v-0.01 c0.266-1.026,0.392-2.025,0.392-3.024c0-1.899-0.467-3.701-1.241-5.32C294.361,303.775,292.504,301.778,290.329,300.349z M139.875,265.589c0.037,0,0.086,0.014,0.128,0.037c2.735,0.999,5.554,1.493,8.345,1.493c6.963,0,13.73-2.852,18.853-7.5 c5.115-4.662,8.618-11.257,8.618-18.775c0-0.196,0-0.392-0.009-0.625c0.019-0.336,0.028-0.705,0.028-1.083 c0-7.458-3.456-14.08-8.522-18.762c-5.085-4.686-11.836-7.551-18.825-7.551c-1.867,0-3.769,0.219-5.628,0.653 c-0.028,0-0.049,0.009-0.077,0.009c0,0-0.019,0-0.028,0c-9.252,1.937-17.373,8.803-20.37,18.248l0,0v0.01 c0,0.019-0.009,0.037-0.009,0.037c-0.861,2.586-1.262,5.255-1.262,7.896c0,5.787,1.913,11.426,5.211,16.064 c3.269,4.56,7.894,8.145,13.448,9.819C139.816,265.561,139.835,265.571,139.875,265.589z M430.033,198.094v0.038 c0.066,0.94,0.084,1.878,0.084,2.81c0,10.447-3.351,20.493-8.941,29.016c-5.218,7.976-12.414,14.649-20.703,19.177 c0.532,4.158,0.84,8.349,0.84,12.526c-0.01,22.495-7.766,44.607-21.272,62.329v0.009h-0.028 c-24.969,33.216-63.313,52.804-102.031,62.684h-0.01l-0.027,0.023c-20.647,5.013-41.938,7.574-63.223,7.574 c-31.729,0-63.433-5.722-93.018-17.585l-0.009-0.028h-0.028c-30.672-12.643-59.897-32.739-77.819-62.184 c-9.642-15.71-14.935-34.141-14.935-52.659c0-4.19,0.283-8.387,0.843-12.536c-8.072-4.545-15.063-10.99-20.255-18.687 c-5.542-8.266-9.056-17.95-9.5-28.187v-0.04v-0.037v-0.082c0.009-14.337,6.237-27.918,15.915-37.932 c9.677-10.011,22.896-16.554,37.075-16.554c0.196,0,0.392,0,0.588,0c1.487-0.101,2.987-0.159,4.488-0.159 c7.122,0,14.26,1.153,21.039,3.752l0.037,0.028l0.038,0.012c5.787,2.437,11.537,5.377,16.662,9.449 c1.661-0.871,3.472-1.851,5.504-2.625c31.064-18.395,67.171-25.491,102.358-27.538c0.306-17.431,2.448-35.68,10.949-51.65 c7.08-13.269,19.369-23.599,34-27.179l0.061-0.03l0.079-0.009c5.573-1.078,11.192-1.575,16.774-1.575 c14.869,0,29.561,3.521,43.31,9.017c6.086-9.185,14.776-16.354,24.97-20.375l0.098-0.056l0.098-0.037 c5.983-1.864,12.303-2.954,18.646-2.954c6.692,0,13.437,1.223,19.756,4.046v-0.023c0.009,0.023,0.019,0.023,0.019,0.023 c0.047,0.016,0.084,0.044,0.116,0.044c9.059,3.489,16.727,9.937,22.164,17.95c5.442,8.048,8.644,17.688,8.644,27.599 c0,1.827-0.103,3.657-0.317,5.489l-0.019,0.037c0,0.028,0,0.068-0.01,0.096c-1.063,12.809-7.551,24.047-16.736,32.063 c-9.24,8.048-21.207,12.909-33.49,12.909c-1.97,0-3.958-0.11-5.937-0.374c-12.182-0.931-23.541-6.826-31.886-15.595 c-8.373-8.755-13.768-20.453-13.768-33.08c0-0.611,0.056-1.237,0.074-1.843c-11.435-5.092-23.578-9.316-35.646-9.306 c-1.746,0-3.491,0.096-5.237,0.273h-0.019c-9.035,0.871-17.436,6.566-21.506,14.757v0.009v0.028 c-6.179,12.034-7.411,26.101-7.598,40.064c34.639,2.259,69.483,10.571,100.043,28.138h0.047l0.438,0.259 c0.579,0.343,1.652,0.931,2.623,1.449c2.101-1.704,4.322-3.456,6.856-4.966c9.264-6.17,20.241-9.238,31.223-9.238 c4.872,0,9.749,0.621,14.481,1.834h0.019l0.196,0.058c0.07,0.01,0.121,0.033,0.178,0.033v0.009 c11.183,2.845,21.3,9.267,28.917,17.927c7.612,8.674,12.731,19.648,13.73,31.561v0.025H430.033z M328.002,84.733 c0,0.469,0.01,0.95,0.057,1.44v0.028v0.056c0.224,6.018,3.065,11.619,7.383,15.756c4.34,4.14,10.1,6.702,15.942,6.725h0.08h0.079 c0.42,0.033,0.85,0.033,1.26,0.033c5.899,0.009,11.752-2.532,16.148-6.655c4.405-4.144,7.309-9.78,7.542-15.849l0.009-0.028v-0.037 c0.038-0.464,0.057-0.903,0.057-1.377c0-6.247-2.922-12.202-7.496-16.612c-4.555-4.406-10.688-7.136-16.735-7.12 c-1.951,0-3.884,0.266-5.778,0.854l-0.065,0.005l-0.056,0.023c-4.984,1.295-9.656,4.368-13.012,8.449 C330.046,74.486,328.002,79.508,328.002,84.733z M72.312,177.578c-4.63-2.156-9.418-3.696-14.15-3.676 c-0.794,0-1.597,0.047-2.39,0.133h-0.11l-0.11,0.014c-6.795,0.187-13.653,3.15-18.801,7.899 c-5.152,4.732-8.559,11.122-8.821,18.167v0.065l-0.012,0.058c-0.046,0.57-0.065,1.137-0.065,1.683 c0,4.345,1.333,8.545,3.593,12.368c1.673,2.847,3.867,5.441,6.348,7.701C45.735,204.602,58.142,189.845,72.312,177.578z M374.066,262.635c0-15.5-5.592-31.069-14.646-43.604c-18.053-25.119-46.055-41.502-75.187-50.636l-0.205-0.072 c-5.592-1.715-11.238-3.234-16.933-4.534c-17.025-3.876-34.48-5.806-51.917-5.806c-23.414,0-46.827,3.465-69.245,10.379 c-29.125,9.243-57.221,25.51-75.233,50.71v0.019c-9.129,12.587-14.475,28.208-14.475,43.763c0,5.727,0.716,11.453,2.23,17.025 l0.019,0.01c3.278,12.508,9.689,23.671,17.989,33.393c8.295,9.745,18.472,18.058,29.176,24.839c2.371,1.47,4.751,2.87,7.187,4.237 c31.094,17.356,66.898,24.964,102.445,24.964c6.012,0,12.06-0.214,18.033-0.644c35.797-2.959,71.742-13.525,100.8-35.115 l0.01-0.023c9.25-6.837,17.818-15.112,24.595-24.525c6.805-9.418,11.789-19.947,14.002-31.382V275.6l0.009-0.01 C373.627,271.32,374.066,266.985,374.066,262.635z M402.32,200.95c-0.009-3.762-0.868-7.507-2.753-11l-0.047-0.044l-0.019-0.056 c-2.521-5.19-6.479-9.11-11.248-11.782c-4.77-2.69-10.352-4.056-15.952-4.056c-5.063,0-10.1,1.132-14.57,3.379 c14.216,12.344,26.687,27.179,34.746,44.636c2.595-2.259,4.808-5.018,6.464-8.084C401.098,209.92,402.32,205.405,402.32,200.95z"/></svg></span>
1214
+ <span class="simplesocialtxt">reddit </span>';
1215
+ if ( $show_count ) {
1216
+ $_html .= '<span class="ssb_counter">'. $reddit_score .'</span>';
1217
+ }
1218
+
1219
+ $_html .= '</button>';
1220
+ } else {
1221
+ $_html = '<button class="simplesocial-reddit-share" data-href="https://reddit.com/submit?url=' . $permalink . '&title=' . $title . '" onclick="javascript:window.open(this.dataset.href, \'\', \'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600\');return false;" ><span class="simplesocialtxt">Reddit</span> ';
1222
+
1223
+ if ( $show_count ) {
1224
+ $_html .= '<span class="ssb_counter ssb_reddit_counter">' . $reddit_score . '</span>';
1225
+ }
1226
+ $_html .= '</button>';
1227
+
1228
+ }
1229
+
1230
+ $arrButtonsCode[] = $_html;
1231
+ break;
1232
+ case 'whatsapp':
1233
+ if ( $this->selected_theme == 'simple-icons' ) {
1234
+ $arrButtonsCode[] = ' <button class="ssb_whatsapp-icon" onclick="javascript:window.open(this.dataset.href, \'_blank\' );return false;" class="simplesocial-whatsapp-share" data-href="https://api.whatsapp.com/send?text=' . $permalink . '"><span class="simplesocialtxt">
1235
+ <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" width="512px" height="512px" viewBox="0 0 90 90" style="enable-background:new 0 0 90 90;" xml:space="preserve" class=""><g><g> <path id="WhatsApp" d="M90,43.841c0,24.213-19.779,43.841-44.182,43.841c-7.747,0-15.025-1.98-21.357-5.455L0,90l7.975-23.522 c-4.023-6.606-6.34-14.354-6.34-22.637C1.635,19.628,21.416,0,45.818,0C70.223,0,90,19.628,90,43.841z M45.818,6.982 c-20.484,0-37.146,16.535-37.146,36.859c0,8.065,2.629,15.534,7.076,21.61L11.107,79.14l14.275-4.537 c5.865,3.851,12.891,6.097,20.437,6.097c20.481,0,37.146-16.533,37.146-36.857S66.301,6.982,45.818,6.982z M68.129,53.938 c-0.273-0.447-0.994-0.717-2.076-1.254c-1.084-0.537-6.41-3.138-7.4-3.495c-0.993-0.358-1.717-0.538-2.438,0.537 c-0.721,1.076-2.797,3.495-3.43,4.212c-0.632,0.719-1.263,0.809-2.347,0.271c-1.082-0.537-4.571-1.673-8.708-5.333 c-3.219-2.848-5.393-6.364-6.025-7.441c-0.631-1.075-0.066-1.656,0.475-2.191c0.488-0.482,1.084-1.255,1.625-1.882 c0.543-0.628,0.723-1.075,1.082-1.793c0.363-0.717,0.182-1.344-0.09-1.883c-0.27-0.537-2.438-5.825-3.34-7.977 c-0.902-2.15-1.803-1.792-2.436-1.792c-0.631,0-1.354-0.09-2.076-0.09c-0.722,0-1.896,0.269-2.889,1.344 c-0.992,1.076-3.789,3.676-3.789,8.963c0,5.288,3.879,10.397,4.422,11.113c0.541,0.716,7.49,11.92,18.5,16.223 C58.2,65.771,58.2,64.336,60.186,64.156c1.984-0.179,6.406-2.599,7.312-5.107C68.398,56.537,68.398,54.386,68.129,53.938z"/> </g></g> </svg> </span>
1236
+ <span class="simplesocialtxt">Whatsapp</span>
1237
+ </button>';
1238
+ } else {
1239
+
1240
+ $arrButtonsCode[] = '<button onclick="javascript:window.open(this.dataset.href, \'_blank\' );return false;" class="simplesocial-whatsapp-share" data-href="https://api.whatsapp.com/send?text=' . $permalink . '"><span class="simplesocialtxt">Share on WhatsApp</span></button>';
1241
+ }
1242
+ break;
1243
+
1244
+ case 'viber':
1245
+ if ( $this->selected_theme == 'simple-icons' ) {
1246
+ $arrButtonsCode[] = '<button class="ssb_viber-icon" onclick="javascript:window.open(this.dataset.href, \'_self\' );return false;" class="simplesocial-viber-share" data-href="viber://forward?text=' . $permalink . '">
1247
+ <span class="icon"> <svg aria-labelledby="simpleicons-viber-icon" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title id="simpleicons-viber-icon">Viber icon</title><path d="M20.812 2.343c-.596-.549-3.006-2.3-8.376-2.325 0 0-6.331-.38-9.415 2.451C1.302 4.189.698 6.698.634 9.82.569 12.934.487 18.774 6.12 20.36h.005l-.005 2.416s-.034.979.609 1.178c.779.24 1.236-.504 1.98-1.303.409-.439.972-1.088 1.397-1.582 3.851.322 6.813-.416 7.149-.525.777-.254 5.176-.816 5.893-6.658.738-6.021-.357-9.83-2.338-11.547v.004zm.652 11.112c-.615 4.876-4.184 5.187-4.83 5.396-.285.092-2.895.738-6.164.525 0 0-2.445 2.941-3.195 3.705-.121.121-.271.166-.361.145-.135-.029-.164-.18-.164-.404l.015-4.006c-.015 0 0 0 0 0-4.771-1.336-4.485-6.301-4.425-8.91.044-2.596.538-4.726 1.994-6.167 2.611-2.371 7.997-2.012 7.997-2.012 4.543.016 6.721 1.385 7.223 1.846 1.674 1.432 2.529 4.865 1.904 9.893l.006-.011zM7.741 4.983c.242 0 .459.109.629.311.004.002.58.695.83 1.034.235.32.551.83.711 1.115.285.51.104 1.032-.172 1.248l-.566.45c-.285.229-.25.653-.25.653s.84 3.157 3.959 3.953c0 0 .426.039.654-.246l.451-.569c.213-.285.734-.465 1.244-.181.285.15.795.466 1.116.704.339.24 1.032.826 1.036.826.33.271.404.689.18 1.109v.016c-.23.405-.541.78-.934 1.141h-.008c-.314.27-.629.42-.944.449-.03 0-.075.016-.136 0-.135 0-.27-.029-.404-.061v-.014c-.48-.135-1.275-.48-2.596-1.216-.855-.479-1.574-.96-2.189-1.455-.315-.255-.645-.54-.976-.87l-.076-.028-.03-.03-.029-.029c-.331-.33-.615-.66-.871-.98-.48-.609-.96-1.327-1.439-2.189-.735-1.32-1.08-2.115-1.215-2.596H5.7c-.045-.134-.075-.269-.06-.404-.015-.061 0-.105 0-.141.03-.299.189-.614.458-.944h.005c.355-.39.738-.704 1.146-.933.164-.091.329-.135.479-.135h.016l-.003.012zm4.095-.683h.116l.076.002h.02l.089.005h.511l.135.015h.074l.15.016h.03l.104.015h.016l.074.015c.046 0 .076.016.105.016h.091l.075.029.06.016.06.015.03.015h.045l.046.016h.029l.074.016.045.014.046.016.06.016.03.014c.03 0 .06.016.091.016l.044.015.046.016.119.044.061.031.135.06.045.015.045.016.09.045.061.015.029.015.076.031.029.014.061.031.045.014.045.03.059.03.046.029.03.016.061.03.044.03.075.045.045.016.074.044.016.015.045.031.09.074.046.03.044.03.031.014.045.031.074.074.061.045.045.03.016.015.029.016.074.061.046.044.03.03.045.029.045.031.029.015.12.12.06.061.135.135.031.029c.016.016.045.045.061.075l.029.03.166.194.045.06c.014.016.014.031.029.031l.09.135.045.045.09.12.076.12.045.09.059.105.045.09.016.029.029.061.076.15.074.149.031.075c.059.135.104.27.164.42.074.195.135.404.18.63.045.165.076.315.105.48l.029.27.045.3c.016.121.031.256.031.375.014.121.014.24.014.359v.256c0 .016-.006.029-.014.045-.016.03-.031.045-.061.075-.021.015-.049.046-.08.046-.029.014-.059.014-.09.014h-.045c-.029 0-.059-.014-.09-.029-.029-.016-.061-.03-.074-.061-.016-.029-.045-.061-.061-.09s-.031-.06-.031-.09v-.359c-.014-.209-.029-.425-.059-.639-.016-.146-.045-.284-.061-.42 0-.074-.016-.146-.029-.209l-.029-.15-.038-.141-.016-.09-.045-.15c-.029-.12-.074-.24-.119-.36-.029-.091-.061-.165-.105-.239l-.029-.076-.135-.27-.031-.045c-.061-.135-.135-.27-.225-.391l-.045-.074h-.201l-.064-.091c-.055-.089-.114-.165-.18-.239l-.125-.15-.015-.016-.046-.057-.035-.045-.075-.074-.015-.03-.07-.06-.045-.046-.083-.075-.04-.037-.046-.045-.015-.016c-.016-.015-.045-.045-.075-.06l-.076-.062-.03-.015-.061-.046-.074-.06-.045-.036-.03-.016-.06-.053c0-.016-.016-.016-.031-.016l-.029-.029-.015-.016v-.013l-.03-.014-.061-.037-.044-.031-.075-.045-.06-.045-.029-.016-.032-.013h-.09l-.019-.016-.065-.035-.009-.014-.03-.016-.045-.021h-.012l-.045-.016-.025-.015-.045-.015-.01-.011-.03-.016-.053-.029-.03-.015-.09-.03-.074-.029-.137-.016-.044-.029c-.015-.01-.03-.016-.046-.016l-.029-.015c-.029-.011-.045-.016-.075-.03l-.03-.016h-.029l-.061-.029-.029-.016-.045-.015h-.092c-.008 0-.019-.005-.03-.007h-.09l-.045-.016h-.015l-.045-.016h-.041c-.025-.014-.045-.014-.07-.014l-.01-.016-.06-.015c-.03-.016-.056-.016-.084-.016l-.045-.015-.05-.016-.045-.014-.061-.016h-.061l-.179-.022h-.09l-.116-.015h-.076l-.068-.008h-.03l-.054-.016h-.285l-.01-.015h-.061c-.03 0-.064-.015-.09-.03-.03-.016-.061-.029-.081-.06l-.03-.046c-.029-.029-.029-.06-.045-.09-.014-.028-.014-.059-.014-.089s0-.06.015-.09c.016-.029.029-.06.061-.075.015-.03.044-.044.074-.06.029-.016.061-.03.09-.03h.061l.015.066zm.554 1.574l.037.003.061.006c.008 0 .018 0 .029.003.022 0 .045.004.075.006l.06.008.024.016.045.015.048.015.045.016h.03l.042.015.07.015.056.016.026.014h.073l.119.028.046.015.045.015.045.016s.015 0 .015.015l.046.015.044.016.045.016c.015 0 .03.014.046.014.007 0 .014.016.025.016l.064.03h.029l.09.03.05.029.046.03.108.045.06.015.031.031c.045.014.09.044.135.059l.048.03.048.03.049.029c.045.03.082.046.121.076l.029.014.041.031.022.015.075.045.037.03.065.043.029.015.03.015.046.03.06.046c.015.014.022.014.034.029.01.015.016.015.025.03l.033.03.036.029.03.03.046.046.029.03.016.016.09.089.016.016c0 .015.015.03.029.03l.016.013.045.046.029.045.03.03.045.06.046.046.09.119.014.029.061.076.016.029.015.031.015.029.016.03c.016.015.016.03.029.06l.043.076.016.015.029.061.031.044c.014.015.014.029.029.045l.03.045.03.061.029.059.016.046c.015.044.045.075.06.12 0 .015.015.029.015.045l.045.119.061.195c0 .016.015.045.015.061l.046.135.044.18.046.24c.014.074.014.135.029.211.016.119.03.238.03.359l.015.21v.165c0 .016 0 .029-.015.045l-.044.043c-.029.023-.045.045-.074.061-.03.015-.061.029-.09.04-.031.016-.075.016-.105.016-.029 0-.061-.016-.09-.03-.016 0-.03-.016-.045-.021-.031-.014-.061-.039-.075-.065-.03-.03-.046-.06-.046-.091l-.014-.044v-.313c0-.133-.016-.256-.031-.385-.015-.135-.044-.285-.074-.42-.029-.09-.045-.18-.075-.26l-.03-.091-.029-.075-.016-.03-.045-.12-.045-.09-.075-.149-.069-.12v-.019l-.029-.047-.03-.038-.045-.075-.046-.061-.089-.119c-.046-.061-.09-.12-.142-.178-.014-.015-.029-.029-.029-.045l-.03-.029-.017-.016-.03-.014-.03-.027v-.146l-.119-.113-.075-.068v-.014l-.03-.031-.038-.029-.015-.016c0-.015-.016-.015-.029-.015l-.046-.016-.015-.015-.061-.045-.014-.016-.016-.015c-.012-.015-.023-.015-.03-.015l-.06-.045-.016-.016-.06-.029-.011-.016-.045-.029-.03-.016-.03-.029-.029-.031h-.016c-.029-.029-.06-.044-.105-.06l-.044-.03-.03-.014-.016-.016-.045-.03-.044-.015-.06-.03-.046-.015-.015-.016-.056-.014v-.012l-.091-.03-.06-.03-.03-.015h-.06c-.03-.015-.045-.015-.075-.03H13.2l-.045-.016h-.044l-.046-.014-.029-.016h-.061l-.061-.015-.029-.016h-.165l-.069-.015H12.3l-.046-.016c-.029-.014-.06-.029-.09-.06-.014-.03-.045-.06-.06-.089-.015-.031-.03-.061-.03-.091v-.09c.006-.046.016-.075.03-.105.008-.015.015-.03.03-.045.018-.03.045-.06.075-.075.015-.015.03-.015.044-.029.031-.016.061-.016.091-.016h.06l-.014.055zm.454 1.629c.015 0 .03 0 .044.004.016 0 .031 0 .046.002l.052.005c.104.009.213.024.318.046l.104.023.026.008.114.029.059.02.046.016c.045.014.091.045.135.06l.016.015.06.03.09.046.029.014c.016.016.031.016.046.03.015.016.045.03.06.045.061.03.105.075.15.105l.105.09.09.091.061.074.029.029.03.031.044.06.091.135.075.135.06.12.046.105c.044.104.06.195.09.299.029.091.045.196.06.285l.015.15.016.136V9.8c0 .045-.016.075-.03.105-.015.029-.046.074-.075.09-.03.029-.061.045-.105.061-.029.014-.06.014-.09.014-.029 0-.06 0-.09-.014l-.104-.046c-.03-.03-.06-.045-.091-.091-.015-.029-.029-.06-.045-.104v-.166l-.015-.105-.015-.119-.016-.105-.016-.06c0-.015-.014-.045-.014-.06-.03-.121-.09-.24-.15-.36l-.061-.06-.047-.06-.045-.045-.015-.03-.075-.06-.061-.061-.059-.045c-.016-.015-.03-.015-.061-.029l-.09-.061-.061-.03-.029-.015h-.016l-.076-.031-.09-.03-.09-.015h-.075l-.044-.015-.035-.007h-.045l-.06-.016h-.255l-.015-.075h-.039c-.03-.004-.055-.015-.08-.029-.035-.021-.064-.045-.09-.08-.018-.029-.034-.061-.045-.09-.008-.029-.012-.06-.012-.09 0-.037 0-.075.015-.113.015-.039.03-.07.06-.1l.061-.045c.029-.016.061-.03.09-.03l.062-.075h.032z"/></svg> </span>
1248
+ <span class="simplesocialtxt">Viber</span>
1249
+ </button>';
1250
+ } else {
1251
+
1252
+ $arrButtonsCode[] = '<button onclick="javascript:window.open(this.dataset.href, \'_self\' );return false;" class="simplesocial-viber-share" data-href="viber://forward?text=' . $permalink . '"><span class="simplesocialtxt">Share on Viber</span></button>';
1253
+ }
1254
+ break;
1255
+
1256
+ case 'fblike':
1257
+ $_html = '<div class="fb-like ssb-fb-like" data-href="' . $permalink . '" data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="false"></div>';
1258
+
1259
+ $arrButtonsCode[] = $_html;
1260
+
1261
+ break;
1262
+ }
1263
+ }
1264
+
1265
+ if ( count( $arrButtonsCode ) > 0 ) {
1266
+
1267
+ $ssb_buttonscode .= '<div class="simplesocialbuttons simplesocial-' . $short_code_theme . ' ' . $extra_class . '">' . "\n";
1268
+ $ssb_buttonscode .= implode( "\n", $arrButtonsCode ) . "\n";
1269
+ $ssb_buttonscode .= '</div>' . "\n";
1270
+
1271
+ }
1272
+
1273
+ return $ssb_buttonscode;
1274
+ }
1275
+
1276
  } // end class
1277
 
1278
 
1279
  global $_ssb_pr;
1280
  if ( is_admin() ) {
1281
+ include_once dirname( __FILE__ ) . '/classes/ssb-admin.php';
1282
+ include_once dirname( __FILE__ ) . '/classes/ssb-widget.php';
1283
+
1284
  $_ssb_pr = new SimpleSocialButtonsPR_Admin();
1285
  } else {
1286
+ include_once dirname( __FILE__ ) . '/classes/ssb-widget.php';
1287
+
1288
  $_ssb_pr = new SimpleSocialButtonsPR();
1289
  }
1290
 
1291
  function get_ssb( $order = null ) {
1292
+ return '<!-- use shortcode instead of this function call - [SSB theme="theme1" aign="right" counter="true" order="googleplus,twitter,pinterest,fbshare,linkedin" ] -->';
1293
  }
1294
 
1295
  ?>