Version Description
Download this release
Release Info
Developer | vaakash |
Plugin | WP Socializer |
Version | 7.4 |
Comparing to | |
See all releases |
Code changes from version 7.3.1 to 7.4
- admin/pages/floating-sharebar.php +8 -0
- admin/post-settings.php +2 -2
- core/options.php +7 -0
- core/templates/floating-sharebar.php +7 -0
- core/templates/share-icons.php +3 -0
- public/css/wp-socializer.css +22 -2
- public/css/wp-socializer.min.css +1 -1
- public/css/wpsr.min.css +3 -3
- public/js/wp-socializer.js +3 -3
- public/js/wp-socializer.min.js +1 -1
- readme.txt +9 -2
- wpsr.php +2 -2
admin/pages/floating-sharebar.php
CHANGED
@@ -306,6 +306,14 @@ class WPSR_Admin_Floating_Sharebar{
|
|
306 |
));
|
307 |
$form->end();
|
308 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
309 |
$form->build();
|
310 |
|
311 |
echo '</div>';
|
306 |
));
|
307 |
$form->end();
|
308 |
|
309 |
+
$form->label( __( 'Simplify sharebar on small screen', 'wp-socializer' ) );
|
310 |
+
$form->field( 'select', array(
|
311 |
+
'name' => 'sm_simple',
|
312 |
+
'value' => $form->values[ 'sm_simple' ],
|
313 |
+
'list' => $form->options[ 'sm_simple' ],
|
314 |
+
));
|
315 |
+
$form->end();
|
316 |
+
|
317 |
$form->build();
|
318 |
|
319 |
echo '</div>';
|
admin/post-settings.php
CHANGED
@@ -112,7 +112,7 @@ class WPSR_Post_Settings{
|
|
112 |
));
|
113 |
$form->end();
|
114 |
|
115 |
-
$form->build( '
|
116 |
|
117 |
echo '</div>';
|
118 |
|
@@ -175,7 +175,7 @@ class WPSR_Post_Settings{
|
|
175 |
));
|
176 |
$form->end();
|
177 |
|
178 |
-
$form->build( '
|
179 |
|
180 |
echo '</div>';
|
181 |
|
112 |
));
|
113 |
$form->end();
|
114 |
|
115 |
+
$form->build( 'wpsr' );
|
116 |
|
117 |
echo '</div>';
|
118 |
|
175 |
));
|
176 |
$form->end();
|
177 |
|
178 |
+
$form->build( 'wpsr' );
|
179 |
|
180 |
echo '</div>';
|
181 |
|
core/options.php
CHANGED
@@ -347,6 +347,13 @@ class WPSR_Options{
|
|
347 |
'hide' => __( 'Hide', 'wp-socializer' )
|
348 |
)
|
349 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
350 |
|
351 |
'more_icons' => array(
|
352 |
'default' => '0',
|
347 |
'hide' => __( 'Hide', 'wp-socializer' )
|
348 |
)
|
349 |
),
|
350 |
+
'sm_simple' => array(
|
351 |
+
'default' => 'yes',
|
352 |
+
'options' => array(
|
353 |
+
'yes' => __( 'Yes', 'wp-socializer' ),
|
354 |
+
'no' => __( 'No', 'wp-socializer' )
|
355 |
+
)
|
356 |
+
),
|
357 |
|
358 |
'more_icons' => array(
|
359 |
'default' => '0',
|
core/templates/floating-sharebar.php
CHANGED
@@ -55,6 +55,9 @@ class WPSR_Template_Floating_Sharebar{
|
|
55 |
$icon_styles = array();
|
56 |
if ( $o[ 'icon_bg_color' ] != '' ){
|
57 |
$icon_styles[ 'background-color' ] = $o[ 'icon_bg_color' ];
|
|
|
|
|
|
|
58 |
}
|
59 |
|
60 |
if ( $o[ 'icon_color' ] != '' ){
|
@@ -224,6 +227,10 @@ class WPSR_Template_Floating_Sharebar{
|
|
224 |
$wrap_tag->add_class( 'wpsr-sb-simple' );
|
225 |
}
|
226 |
|
|
|
|
|
|
|
|
|
227 |
// Wrap styles
|
228 |
$pos_style = ( $o[ 'sb_position' ] == 'wleft' ) ? 'left' : ( ( $o[ 'sb_position' ] == 'scontent' ) ? 'margin-left' : 'right' );
|
229 |
$wrap_tag->add_style( $pos_style, $o[ 'offset' ] );
|
55 |
$icon_styles = array();
|
56 |
if ( $o[ 'icon_bg_color' ] != '' ){
|
57 |
$icon_styles[ 'background-color' ] = $o[ 'icon_bg_color' ];
|
58 |
+
if( $o[ 'icon_shape' ] == 'ribbon' ){
|
59 |
+
$icon_styles[ 'border-color' ] = $o[ 'icon_bg_color' ];
|
60 |
+
}
|
61 |
}
|
62 |
|
63 |
if ( $o[ 'icon_color' ] != '' ){
|
227 |
$wrap_tag->add_class( 'wpsr-sb-simple' );
|
228 |
}
|
229 |
|
230 |
+
if( $o[ 'sm_simple' ] == 'yes' ){
|
231 |
+
$wrap_tag->add_class( 'wpsr-sb-sm-simple' );
|
232 |
+
}
|
233 |
+
|
234 |
// Wrap styles
|
235 |
$pos_style = ( $o[ 'sb_position' ] == 'wleft' ) ? 'left' : ( ( $o[ 'sb_position' ] == 'scontent' ) ? 'margin-left' : 'right' );
|
236 |
$wrap_tag->add_style( $pos_style, $o[ 'offset' ] );
|
core/templates/share-icons.php
CHANGED
@@ -78,6 +78,9 @@ class WPSR_Template_Share_Icons{
|
|
78 |
$icon_styles = array();
|
79 |
if ( $tmpl[ 'icon_bg_color' ] != '' ){
|
80 |
$icon_styles[ 'background-color' ] = $tmpl[ 'icon_bg_color' ];
|
|
|
|
|
|
|
81 |
}
|
82 |
|
83 |
if ( $tmpl[ 'icon_color' ] != '' ){
|
78 |
$icon_styles = array();
|
79 |
if ( $tmpl[ 'icon_bg_color' ] != '' ){
|
80 |
$icon_styles[ 'background-color' ] = $tmpl[ 'icon_bg_color' ];
|
81 |
+
if( $tmpl[ 'icon_shape' ] == 'ribbon' ){
|
82 |
+
$icon_styles[ 'border-color' ] = $tmpl[ 'icon_bg_color' ];
|
83 |
+
}
|
84 |
}
|
85 |
|
86 |
if ( $tmpl[ 'icon_color' ] != '' ){
|
public/css/wp-socializer.css
CHANGED
@@ -71,6 +71,25 @@
|
|
71 |
padding: 0 1em;
|
72 |
}
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
/* Sharebar themes */
|
75 |
.wpsr-sb-simple{
|
76 |
padding: 10px;
|
@@ -505,11 +524,11 @@
|
|
505 |
}
|
506 |
.wpsr-sm-link {
|
507 |
display: flex;
|
508 |
-
color: #fff;
|
509 |
border-radius: 5px;
|
510 |
padding: 5px;
|
511 |
font-size: 15px;
|
512 |
-
text-decoration: none;
|
513 |
border-bottom: 2px solid rgb(0 0 0 / 10%);
|
514 |
text-shadow: 0 1px 1px rgb(0 0 0 / 30%);
|
515 |
background: linear-gradient(rgb(0 0 0 / 1%), rgb(0 0 0 / 5%));
|
@@ -580,6 +599,7 @@
|
|
580 |
/* Share menu button */
|
581 |
.socializer .sr-share-menu>a, .socializer .sr-share-menu>a:visited{
|
582 |
background-color: #ff6500;
|
|
|
583 |
color: #fff;
|
584 |
}
|
585 |
.sr-share-menu a i {
|
71 |
padding: 0 1em;
|
72 |
}
|
73 |
|
74 |
+
/* Simplified floating share bar in horizontal mode */
|
75 |
+
.wpsr-sb-sm-simple.wpsr-sb-hl{
|
76 |
+
padding: 0;
|
77 |
+
border: 0;
|
78 |
+
}
|
79 |
+
.wpsr-sb-sm-simple.wpsr-sb-hl span a{
|
80 |
+
border-radius: 0 !important;
|
81 |
+
transform: none !important;
|
82 |
+
}
|
83 |
+
.wpsr-sb-sm-simple.wpsr-sb-hl span a > *{
|
84 |
+
transform: none !important;
|
85 |
+
}
|
86 |
+
.wpsr-sb-sm-simple.wpsr-sb-hl span a:after{
|
87 |
+
display: none;
|
88 |
+
}
|
89 |
+
.wpsr-sb-sm-simple.wpsr-sb-hl span{
|
90 |
+
margin-right: 0;
|
91 |
+
}
|
92 |
+
|
93 |
/* Sharebar themes */
|
94 |
.wpsr-sb-simple{
|
95 |
padding: 10px;
|
524 |
}
|
525 |
.wpsr-sm-link {
|
526 |
display: flex;
|
527 |
+
color: #fff !important;
|
528 |
border-radius: 5px;
|
529 |
padding: 5px;
|
530 |
font-size: 15px;
|
531 |
+
text-decoration: none !important;
|
532 |
border-bottom: 2px solid rgb(0 0 0 / 10%);
|
533 |
text-shadow: 0 1px 1px rgb(0 0 0 / 30%);
|
534 |
background: linear-gradient(rgb(0 0 0 / 1%), rgb(0 0 0 / 5%));
|
599 |
/* Share menu button */
|
600 |
.socializer .sr-share-menu>a, .socializer .sr-share-menu>a:visited{
|
601 |
background-color: #ff6500;
|
602 |
+
border-color: #ff6500;
|
603 |
color: #fff;
|
604 |
}
|
605 |
.sr-share-menu a i {
|
public/css/wp-socializer.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wp-socializer:after{clear:both;content:'';display:block}.wp-socializer.wpsr-share-icons{margin:1em 0}.wpsr-share-icons .wpsr-si-inner{display:flex}.wpsr-share-icons .wpsr-si-inner > *:first-child{margin-left:0}.wpsr-share-icons .wpsr-si-inner > *:last-child{margin-right:0}.wpsr-share-icons .socializer{margin:0 1em}.wpsr-share-icons.wpsr-flex-center{text-align:center}.wpsr-share-icons.wpsr-flex-center .wpsr-si-inner{justify-content:center}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:99999}.wpsr-sharebar .socializer{line-height:0}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:99999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-counter{margin-bottom:1.5em}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{bottom:0;left:0!important;right:0!important;margin:0!important;position:fixed;background:#fff;box-shadow:0 -2px 4px -2px rgba(0,0,0,0.5)}.wpsr-sb-hl .wpsr-sb-inner{display:flex}.wpsr-sb-hl .wpsr-counter{padding:0 1em}.wpsr-sb-simple{padding:10px;text-align:center;border-radius:10px;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple.wpsr-sb-hl{border-radius:0}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sb-close{position:absolute;cursor:pointer;display:none;padding:10px}.wpsr-sb-close .wpsr-bar-icon{opacity:0.2}.wpsr-sb-close:hover .wpsr-bar-icon{opacity:0.8}.wpsr-sb-vl .wpsr-sb-close{bottom:0;transform:translate(-50%,100%);left:50%}.wpsr-sb-hl .wpsr-sb-close{display:none}.wpsr-sharebar.wpsr-closed{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-sharebar.wpsr-closed .wpsr-sb-inner{display:none}.wpsr-sharebar.wpsr-closed .wpsr-sb-close{top:0;margin-top:0;transform:none;right:0;left:0;bottom:0;line-height:48px;display:block;padding:0}.wpsr-counter{line-height:2em;text-align:center;font-size:10px;color:#000;display:flex;flex-direction:column;justify-content:center;flex-shrink:0}.wpsr-counter .scount{font-size:2em;font-weight:bold;margin-bottom:0.25em}.wpsr-counter .scount .fa{font-size:.7em;opacity:0.7}.wpsr-counter .stext{display:block;line-height:1em;color:inherit;text-transform:uppercase;font-size:1em;margin-top:-0.15em;opacity:0.5}.wpsr-counter.wpsrc-sz-40px{font-size:12.5px}.wpsr-counter.wpsrc-sz-48px{font-size:15px}.wpsr-counter.wpsrc-sz-64px{font-size:20px}.wpsr-sharebar .wpsr-counter{font-size:8.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-40px{font-size:9.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-48px{font-size:11.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-64px{font-size:15.2px}.socializer span a img{background:none!important;border:none!important;max-width:100%!important}.wpsr-follow-icons{position:fixed;z-index:999999;line-height:0}.sr-fb-tl{top:20px;left:20px}.sr-fb-tm{top:20px;left:50%;transform:translateX( -50% )}.sr-fb-tr{top:20px;right:20px}.sr-fb-rm{top:50%;right:20px;transform:translateY( -50% )}.sr-fb-br{bottom:20px;right:20px}.sr-fb-bm{bottom:20px;left:50%;transform:translateX( -50% )}.sr-fb-bl{bottom:20px;left:20px}.sr-fb-lm{left:20px;top:50%;transform:translateY( -50% )}.wpsr-follow-icons div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-follow-icons.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-follow-icons.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-follow-icons.sr-fb-vl .sr-fb-title{width:5em;text-align:center;line-height:1.5}.wpsr-fb-close{position:absolute;right:0;cursor:pointer;display:none;line-height:0;padding:1em;opacity:0.2}.wpsr-fb-close:hover{opacity:0.8}.wpsr-follow-icons:hover .wpsr-fb-close{display:block}.wpsr-closed.wpsr-follow-icons .sr-fb-title{display:none}.wpsr-closed.wpsr-follow-icons .sr-followbar{display:none}.wpsr-closed.wpsr-follow-icons .wpsr-fb-close{display:block}.sr-fb-bm .wpsr-fb-close,.sr-fb-bl .wpsr-fb-close{right:0;transform:translate(100%,-100%);padding-bottom:0}.sr-fb-vl.sr-fb-br .wpsr-fb-close{left:0;bottom:0;transform:translateX(-100%);padding-bottom:0}.sr-fb-hl.sr-fb-br .wpsr-fb-close{top:0;right:0;transform:translateY(-100%)}.sr-fb-hl.sr-fb-tr .wpsr-fb-close{padding-right:0}.wpsr-closed.sr-fb-tl .wpsr-fb-close,.wpsr-closed.sr-fb-lm .wpsr-fb-close{right:-24px;transform:translateY(0%)}.wpsr-text-sb{background:#fff;margin:0;padding:0 10px;border-radius:5px;display:inline-block;position:absolute;transform:translate( -50%,-150% );margin-top:-10px;transition:margin-top 0.5s;display:none;animation:wpsr-fadeout 1s;box-shadow:0 3px 6px -3px #000;background-image:linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0));z-index:999}.wpsr-text-sb:before{position:absolute;content:'';display:block;background-color:inherit;width:10px;height:10px;bottom:-5px;transform:rotate(45deg) translateX(-50%);left:50%;z-index:-1;transform-origin:left;box-shadow:2px 2px 4px -2px #000}.wpsr-text-sb li{list-style:none;float:left;line-height:0}.wpsr-text-sb li a{text-align:center;display:inline-block}.wpsr-text-sb li a:hover{background-image:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0))}.wpsr-tsb-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.wpsr-tsb-40px a{width:40px;height:40px;line-height:40px;font-size:20px}.wpsr-tsb-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.wpsr-tsb-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.wpsr-text-sb.wpsr-tsb-active{margin-top:0;transition:margin-top 0.5s;display:block;animation:wpsr-fadein 1s}.wpsr-bar-icon{line-height:0;background:#000;display:inline-block;padding:3px;border-radius:50%;vertical-align:middle;fill:#fff}.wpsr-bar-icon .i-open{display:none}.wpsr-closed .wpsr-bar-icon .i-close{display:none}.wpsr-closed .wpsr-bar-icon .i-open{display:block}.wpsr-closed .wpsr-bar-icon{padding:5px}.wpsr-bg{display:none;position:fixed;z-index:999999;top:0;left:0;right:0;bottom:0;background:rgb(0 0 0 / 20%);padding:0}.wpsr-bg.wpsr-pp-opened{display:block}.wpsr-bg.wpsr-pp-closed{display:none}.wpsr-bg.wpsr-pp-slide-down .wpsr-popup{transform:translateY(0);opacity:1}.wpsr-bg.wpsr-pp-slide-up .wpsr-popup{transform:translateY(-50px);opacity:0.8}.wpsr-pp-inner{margin:0 auto;display:flex;flex-direction:column;justify-content:center;height:100%}.wpsr-popup{display:none;background:#fff;display:flex;flex-wrap:nowrap;flex-direction:column;box-shadow:0 3px 6px rgb(0 0 0 / 16%),0 3px 6px rgb(0 0 0 / 23%);border-radius:10px;max-height:100%;transform:translateY(-50px);opacity:0.8;transition:all 0.25s}.wpsr-pp-head{text-align:center;padding:10px 0;position:relative;border-bottom:1px solid #dfdfdf}.wpsr-pp-head h3{margin:0!important;font-size:20px}.wpsr-pp-content{overflow-y:auto;padding:20px}.wpsr-pp-close{position:absolute;top:50%;right:10px;color:#333;transform:translateY(-50%);padding:10px}.wpsr-pp-close:hover{opacity:0.8}.wpsr-pp-foot{text-align:center;padding:10px 0;font-size:12px;color:#777;border-top:1px solid #dfdfdf}.wpsr-pp-foot a{color:#ff8226;text-decoration:none}.wpsr-pp-foot a:hover{color:#333;text-decoration:underline}#wpsr-share-menu .wpsr-pp-inner{max-width:700px}.wpsr-sm-links{display:flex;flex-wrap:wrap}.wpsr-sm-links > div{width:33.33%;padding:5px;box-sizing:border-box}.wpsr-sm-link{display:flex;color:#fff;border-radius:5px;padding:5px;font-size:15px;text-decoration:none;border-bottom:2px solid rgb(0 0 0 / 10%);text-shadow:0 1px 1px rgb(0 0 0 / 30%);background:linear-gradient(rgb(0 0 0 / 1%),rgb(0 0 0 / 5%))}.wpsr-sm-link:hover,.wpsr-sm-link:focus,.wpsr-sm-link:active{text-decoration:none;color:#fff;opacity:0.8}.wpsr-sm-icon{width:24px;margin:0 5px;display:flex;flex-direction:column;align-items:center;justify-content:center}.wpsr-sm-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#wpsr-short-link .wpsr-pp-inner{max-width:500px}#wpsr-short-link .wpsr-pp-content{display:flex;font-size:15px}#wpsr-short-link-url{flex:1;text-align:center}#wpsr-sl-copy-btn{background:#000;text-align:center;display:flex;flex-direction:column;justify-content:center;align-content:center;padding:5px 15px;color:#fff;border-radius:5px;margin-left:10px;text-decoration:none}#wpsr-sl-copy-btn:hover{text-decoration:none}@media screen and (max-width:700px){#wpsr-share-menu .wpsr-pp-inner,#wpsr-short-link .wpsr-pp-inner{max-width:100%}.wpsr-popup{border-radius:0}.wpsr-sm-links > div{width:50%}.wpsr-sm-link{padding:10px}}.socializer .sr-share-menu>a,.socializer .sr-share-menu>a:visited{background-color:#ff6500;color:#fff}.sr-share-menu a i{font-size:0.7em}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-hide{display:none}.wpsr-close{background:red}.sr-custom-html{line-height:1}.socializer .ctext:empty{display:none!important}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}
|
1 |
+
.wp-socializer:after{clear:both;content:'';display:block}.wp-socializer.wpsr-share-icons{margin:1em 0}.wpsr-share-icons .wpsr-si-inner{display:flex}.wpsr-share-icons .wpsr-si-inner > *:first-child{margin-left:0}.wpsr-share-icons .wpsr-si-inner > *:last-child{margin-right:0}.wpsr-share-icons .socializer{margin:0 1em}.wpsr-share-icons.wpsr-flex-center{text-align:center}.wpsr-share-icons.wpsr-flex-center .wpsr-si-inner{justify-content:center}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:99999}.wpsr-sharebar .socializer{line-height:0}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:99999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-counter{margin-bottom:1.5em}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{bottom:0;left:0!important;right:0!important;margin:0!important;position:fixed;background:#fff;box-shadow:0 -2px 4px -2px rgba(0,0,0,0.5)}.wpsr-sb-hl .wpsr-sb-inner{display:flex}.wpsr-sb-hl .wpsr-counter{padding:0 1em}.wpsr-sb-sm-simple.wpsr-sb-hl{padding:0;border:0}.wpsr-sb-sm-simple.wpsr-sb-hl span a{border-radius:0!important;transform:none!important}.wpsr-sb-sm-simple.wpsr-sb-hl span a > *{transform:none!important}.wpsr-sb-sm-simple.wpsr-sb-hl span a:after{display:none}.wpsr-sb-sm-simple.wpsr-sb-hl span{margin-right:0}.wpsr-sb-simple{padding:10px;text-align:center;border-radius:10px;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple.wpsr-sb-hl{border-radius:0}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sb-close{position:absolute;cursor:pointer;display:none;padding:10px}.wpsr-sb-close .wpsr-bar-icon{opacity:0.2}.wpsr-sb-close:hover .wpsr-bar-icon{opacity:0.8}.wpsr-sb-vl .wpsr-sb-close{bottom:0;transform:translate(-50%,100%);left:50%}.wpsr-sb-hl .wpsr-sb-close{display:none}.wpsr-sharebar.wpsr-closed{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-sharebar.wpsr-closed .wpsr-sb-inner{display:none}.wpsr-sharebar.wpsr-closed .wpsr-sb-close{top:0;margin-top:0;transform:none;right:0;left:0;bottom:0;line-height:48px;display:block;padding:0}.wpsr-counter{line-height:2em;text-align:center;font-size:10px;color:#000;display:flex;flex-direction:column;justify-content:center;flex-shrink:0}.wpsr-counter .scount{font-size:2em;font-weight:bold;margin-bottom:0.25em}.wpsr-counter .scount .fa{font-size:.7em;opacity:0.7}.wpsr-counter .stext{display:block;line-height:1em;color:inherit;text-transform:uppercase;font-size:1em;margin-top:-0.15em;opacity:0.5}.wpsr-counter.wpsrc-sz-40px{font-size:12.5px}.wpsr-counter.wpsrc-sz-48px{font-size:15px}.wpsr-counter.wpsrc-sz-64px{font-size:20px}.wpsr-sharebar .wpsr-counter{font-size:8.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-40px{font-size:9.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-48px{font-size:11.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-64px{font-size:15.2px}.socializer span a img{background:none!important;border:none!important;max-width:100%!important}.wpsr-follow-icons{position:fixed;z-index:999999;line-height:0}.sr-fb-tl{top:20px;left:20px}.sr-fb-tm{top:20px;left:50%;transform:translateX( -50% )}.sr-fb-tr{top:20px;right:20px}.sr-fb-rm{top:50%;right:20px;transform:translateY( -50% )}.sr-fb-br{bottom:20px;right:20px}.sr-fb-bm{bottom:20px;left:50%;transform:translateX( -50% )}.sr-fb-bl{bottom:20px;left:20px}.sr-fb-lm{left:20px;top:50%;transform:translateY( -50% )}.wpsr-follow-icons div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-follow-icons.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-follow-icons.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-follow-icons.sr-fb-vl .sr-fb-title{width:5em;text-align:center;line-height:1.5}.wpsr-fb-close{position:absolute;right:0;cursor:pointer;display:none;line-height:0;padding:1em;opacity:0.2}.wpsr-fb-close:hover{opacity:0.8}.wpsr-follow-icons:hover .wpsr-fb-close{display:block}.wpsr-closed.wpsr-follow-icons .sr-fb-title{display:none}.wpsr-closed.wpsr-follow-icons .sr-followbar{display:none}.wpsr-closed.wpsr-follow-icons .wpsr-fb-close{display:block}.sr-fb-bm .wpsr-fb-close,.sr-fb-bl .wpsr-fb-close{right:0;transform:translate(100%,-100%);padding-bottom:0}.sr-fb-vl.sr-fb-br .wpsr-fb-close{left:0;bottom:0;transform:translateX(-100%);padding-bottom:0}.sr-fb-hl.sr-fb-br .wpsr-fb-close{top:0;right:0;transform:translateY(-100%)}.sr-fb-hl.sr-fb-tr .wpsr-fb-close{padding-right:0}.wpsr-closed.sr-fb-tl .wpsr-fb-close,.wpsr-closed.sr-fb-lm .wpsr-fb-close{right:-24px;transform:translateY(0%)}.wpsr-text-sb{background:#fff;margin:0;padding:0 10px;border-radius:5px;display:inline-block;position:absolute;transform:translate( -50%,-150% );margin-top:-10px;transition:margin-top 0.5s;display:none;animation:wpsr-fadeout 1s;box-shadow:0 3px 6px -3px #000;background-image:linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0));z-index:999}.wpsr-text-sb:before{position:absolute;content:'';display:block;background-color:inherit;width:10px;height:10px;bottom:-5px;transform:rotate(45deg) translateX(-50%);left:50%;z-index:-1;transform-origin:left;box-shadow:2px 2px 4px -2px #000}.wpsr-text-sb li{list-style:none;float:left;line-height:0}.wpsr-text-sb li a{text-align:center;display:inline-block}.wpsr-text-sb li a:hover{background-image:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0))}.wpsr-tsb-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.wpsr-tsb-40px a{width:40px;height:40px;line-height:40px;font-size:20px}.wpsr-tsb-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.wpsr-tsb-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.wpsr-text-sb.wpsr-tsb-active{margin-top:0;transition:margin-top 0.5s;display:block;animation:wpsr-fadein 1s}.wpsr-bar-icon{line-height:0;background:#000;display:inline-block;padding:3px;border-radius:50%;vertical-align:middle;fill:#fff}.wpsr-bar-icon .i-open{display:none}.wpsr-closed .wpsr-bar-icon .i-close{display:none}.wpsr-closed .wpsr-bar-icon .i-open{display:block}.wpsr-closed .wpsr-bar-icon{padding:5px}.wpsr-bg{display:none;position:fixed;z-index:999999;top:0;left:0;right:0;bottom:0;background:rgb(0 0 0 / 20%);padding:0}.wpsr-bg.wpsr-pp-opened{display:block}.wpsr-bg.wpsr-pp-closed{display:none}.wpsr-bg.wpsr-pp-slide-down .wpsr-popup{transform:translateY(0);opacity:1}.wpsr-bg.wpsr-pp-slide-up .wpsr-popup{transform:translateY(-50px);opacity:0.8}.wpsr-pp-inner{margin:0 auto;display:flex;flex-direction:column;justify-content:center;height:100%}.wpsr-popup{display:none;background:#fff;display:flex;flex-wrap:nowrap;flex-direction:column;box-shadow:0 3px 6px rgb(0 0 0 / 16%),0 3px 6px rgb(0 0 0 / 23%);border-radius:10px;max-height:100%;transform:translateY(-50px);opacity:0.8;transition:all 0.25s}.wpsr-pp-head{text-align:center;padding:10px 0;position:relative;border-bottom:1px solid #dfdfdf}.wpsr-pp-head h3{margin:0!important;font-size:20px}.wpsr-pp-content{overflow-y:auto;padding:20px}.wpsr-pp-close{position:absolute;top:50%;right:10px;color:#333;transform:translateY(-50%);padding:10px}.wpsr-pp-close:hover{opacity:0.8}.wpsr-pp-foot{text-align:center;padding:10px 0;font-size:12px;color:#777;border-top:1px solid #dfdfdf}.wpsr-pp-foot a{color:#ff8226;text-decoration:none}.wpsr-pp-foot a:hover{color:#333;text-decoration:underline}#wpsr-share-menu .wpsr-pp-inner{max-width:700px}.wpsr-sm-links{display:flex;flex-wrap:wrap}.wpsr-sm-links > div{width:33.33%;padding:5px;box-sizing:border-box}.wpsr-sm-link{display:flex;color:#fff!important;border-radius:5px;padding:5px;font-size:15px;text-decoration:none!important;border-bottom:2px solid rgb(0 0 0 / 10%);text-shadow:0 1px 1px rgb(0 0 0 / 30%);background:linear-gradient(rgb(0 0 0 / 1%),rgb(0 0 0 / 5%))}.wpsr-sm-link:hover,.wpsr-sm-link:focus,.wpsr-sm-link:active{text-decoration:none;color:#fff;opacity:0.8}.wpsr-sm-icon{width:24px;margin:0 5px;display:flex;flex-direction:column;align-items:center;justify-content:center}.wpsr-sm-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#wpsr-short-link .wpsr-pp-inner{max-width:500px}#wpsr-short-link .wpsr-pp-content{display:flex;font-size:15px}#wpsr-short-link-url{flex:1;text-align:center}#wpsr-sl-copy-btn{background:#000;text-align:center;display:flex;flex-direction:column;justify-content:center;align-content:center;padding:5px 15px;color:#fff;border-radius:5px;margin-left:10px;text-decoration:none}#wpsr-sl-copy-btn:hover{text-decoration:none}@media screen and (max-width:700px){#wpsr-share-menu .wpsr-pp-inner,#wpsr-short-link .wpsr-pp-inner{max-width:100%}.wpsr-popup{border-radius:0}.wpsr-sm-links > div{width:50%}.wpsr-sm-link{padding:10px}}.socializer .sr-share-menu>a,.socializer .sr-share-menu>a:visited{background-color:#ff6500;border-color:#ff6500;color:#fff}.sr-share-menu a i{font-size:0.7em}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-hide{display:none}.wpsr-close{background:red}.sr-custom-html{line-height:1}.socializer .ctext:empty{display:none!important}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}
|
public/css/wpsr.min.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
.wp-socializer:after{clear:both;content:'';display:block}.wp-socializer.wpsr-share-icons{margin:1em 0}.wpsr-share-icons .wpsr-si-inner{display:flex}.wpsr-share-icons .wpsr-si-inner > *:first-child{margin-left:0}.wpsr-share-icons .wpsr-si-inner > *:last-child{margin-right:0}.wpsr-share-icons .socializer{margin:0 1em}.wpsr-share-icons.wpsr-flex-center{text-align:center}.wpsr-share-icons.wpsr-flex-center .wpsr-si-inner{justify-content:center}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:99999}.wpsr-sharebar .socializer{line-height:0}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:99999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-counter{margin-bottom:1.5em}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{bottom:0;left:0!important;right:0!important;margin:0!important;position:fixed;background:#fff;box-shadow:0 -2px 4px -2px rgba(0,0,0,0.5)}.wpsr-sb-hl .wpsr-sb-inner{display:flex}.wpsr-sb-hl .wpsr-counter{padding:0 1em}.wpsr-sb-simple{padding:10px;text-align:center;border-radius:10px;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple.wpsr-sb-hl{border-radius:0}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sb-close{position:absolute;cursor:pointer;display:none;padding:10px}.wpsr-sb-close .wpsr-bar-icon{opacity:0.2}.wpsr-sb-close:hover .wpsr-bar-icon{opacity:0.8}.wpsr-sb-vl .wpsr-sb-close{bottom:0;transform:translate(-50%,100%);left:50%}.wpsr-sb-hl .wpsr-sb-close{display:none}.wpsr-sharebar.wpsr-closed{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-sharebar.wpsr-closed .wpsr-sb-inner{display:none}.wpsr-sharebar.wpsr-closed .wpsr-sb-close{top:0;margin-top:0;transform:none;right:0;left:0;bottom:0;line-height:48px;display:block;padding:0}.wpsr-counter{line-height:2em;text-align:center;font-size:10px;color:#000;display:flex;flex-direction:column;justify-content:center;flex-shrink:0}.wpsr-counter .scount{font-size:2em;font-weight:bold;margin-bottom:0.25em}.wpsr-counter .scount .fa{font-size:.7em;opacity:0.7}.wpsr-counter .stext{display:block;line-height:1em;color:inherit;text-transform:uppercase;font-size:1em;margin-top:-0.15em;opacity:0.5}.wpsr-counter.wpsrc-sz-40px{font-size:12.5px}.wpsr-counter.wpsrc-sz-48px{font-size:15px}.wpsr-counter.wpsrc-sz-64px{font-size:20px}.wpsr-sharebar .wpsr-counter{font-size:8.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-40px{font-size:9.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-48px{font-size:11.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-64px{font-size:15.2px}.socializer span a img{background:none!important;border:none!important;max-width:100%!important}.wpsr-follow-icons{position:fixed;z-index:999999;line-height:0}.sr-fb-tl{top:20px;left:20px}.sr-fb-tm{top:20px;left:50%;transform:translateX( -50% )}.sr-fb-tr{top:20px;right:20px}.sr-fb-rm{top:50%;right:20px;transform:translateY( -50% )}.sr-fb-br{bottom:20px;right:20px}.sr-fb-bm{bottom:20px;left:50%;transform:translateX( -50% )}.sr-fb-bl{bottom:20px;left:20px}.sr-fb-lm{left:20px;top:50%;transform:translateY( -50% )}.wpsr-follow-icons div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-follow-icons.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-follow-icons.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-follow-icons.sr-fb-vl .sr-fb-title{width:5em;text-align:center;line-height:1.5}.wpsr-fb-close{position:absolute;right:0;cursor:pointer;display:none;line-height:0;padding:1em;opacity:0.2}.wpsr-fb-close:hover{opacity:0.8}.wpsr-follow-icons:hover .wpsr-fb-close{display:block}.wpsr-closed.wpsr-follow-icons .sr-fb-title{display:none}.wpsr-closed.wpsr-follow-icons .sr-followbar{display:none}.wpsr-closed.wpsr-follow-icons .wpsr-fb-close{display:block}.sr-fb-bm .wpsr-fb-close,.sr-fb-bl .wpsr-fb-close{right:0;transform:translate(100%,-100%);padding-bottom:0}.sr-fb-vl.sr-fb-br .wpsr-fb-close{left:0;bottom:0;transform:translateX(-100%);padding-bottom:0}.sr-fb-hl.sr-fb-br .wpsr-fb-close{top:0;right:0;transform:translateY(-100%)}.sr-fb-hl.sr-fb-tr .wpsr-fb-close{padding-right:0}.wpsr-closed.sr-fb-tl .wpsr-fb-close,.wpsr-closed.sr-fb-lm .wpsr-fb-close{right:-24px;transform:translateY(0%)}.wpsr-text-sb{background:#fff;margin:0;padding:0 10px;border-radius:5px;display:inline-block;position:absolute;transform:translate( -50%,-150% );margin-top:-10px;transition:margin-top 0.5s;display:none;animation:wpsr-fadeout 1s;box-shadow:0 3px 6px -3px #000;background-image:linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0));z-index:999}.wpsr-text-sb:before{position:absolute;content:'';display:block;background-color:inherit;width:10px;height:10px;bottom:-5px;transform:rotate(45deg) translateX(-50%);left:50%;z-index:-1;transform-origin:left;box-shadow:2px 2px 4px -2px #000}.wpsr-text-sb li{list-style:none;float:left;line-height:0}.wpsr-text-sb li a{text-align:center;display:inline-block}.wpsr-text-sb li a:hover{background-image:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0))}.wpsr-tsb-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.wpsr-tsb-40px a{width:40px;height:40px;line-height:40px;font-size:20px}.wpsr-tsb-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.wpsr-tsb-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.wpsr-text-sb.wpsr-tsb-active{margin-top:0;transition:margin-top 0.5s;display:block;animation:wpsr-fadein 1s}.wpsr-bar-icon{line-height:0;background:#000;display:inline-block;padding:3px;border-radius:50%;vertical-align:middle;fill:#fff}.wpsr-bar-icon .i-open{display:none}.wpsr-closed .wpsr-bar-icon .i-close{display:none}.wpsr-closed .wpsr-bar-icon .i-open{display:block}.wpsr-closed .wpsr-bar-icon{padding:5px}.wpsr-bg{display:none;position:fixed;z-index:999999;top:0;left:0;right:0;bottom:0;background:rgb(0 0 0 / 20%);padding:0}.wpsr-bg.wpsr-pp-opened{display:block}.wpsr-bg.wpsr-pp-closed{display:none}.wpsr-bg.wpsr-pp-slide-down .wpsr-popup{transform:translateY(0);opacity:1}.wpsr-bg.wpsr-pp-slide-up .wpsr-popup{transform:translateY(-50px);opacity:0.8}.wpsr-pp-inner{margin:0 auto;display:flex;flex-direction:column;justify-content:center;height:100%}.wpsr-popup{display:none;background:#fff;display:flex;flex-wrap:nowrap;flex-direction:column;box-shadow:0 3px 6px rgb(0 0 0 / 16%),0 3px 6px rgb(0 0 0 / 23%);border-radius:10px;max-height:100%;transform:translateY(-50px);opacity:0.8;transition:all 0.25s}.wpsr-pp-head{text-align:center;padding:10px 0;position:relative;border-bottom:1px solid #dfdfdf}.wpsr-pp-head h3{margin:0!important;font-size:20px}.wpsr-pp-content{overflow-y:auto;padding:20px}.wpsr-pp-close{position:absolute;top:50%;right:10px;color:#333;transform:translateY(-50%);padding:10px}.wpsr-pp-close:hover{opacity:0.8}.wpsr-pp-foot{text-align:center;padding:10px 0;font-size:12px;color:#777;border-top:1px solid #dfdfdf}.wpsr-pp-foot a{color:#ff8226;text-decoration:none}.wpsr-pp-foot a:hover{color:#333;text-decoration:underline}#wpsr-share-menu .wpsr-pp-inner{max-width:700px}.wpsr-sm-links{display:flex;flex-wrap:wrap}.wpsr-sm-links > div{width:33.33%;padding:5px;box-sizing:border-box}.wpsr-sm-link{display:flex;color:#fff;border-radius:5px;padding:5px;font-size:15px;text-decoration:none;border-bottom:2px solid rgb(0 0 0 / 10%);text-shadow:0 1px 1px rgb(0 0 0 / 30%);background:linear-gradient(rgb(0 0 0 / 1%),rgb(0 0 0 / 5%))}.wpsr-sm-link:hover,.wpsr-sm-link:focus,.wpsr-sm-link:active{text-decoration:none;color:#fff;opacity:0.8}.wpsr-sm-icon{width:24px;margin:0 5px;display:flex;flex-direction:column;align-items:center;justify-content:center}.wpsr-sm-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#wpsr-short-link .wpsr-pp-inner{max-width:500px}#wpsr-short-link .wpsr-pp-content{display:flex;font-size:15px}#wpsr-short-link-url{flex:1;text-align:center}#wpsr-sl-copy-btn{background:#000;text-align:center;display:flex;flex-direction:column;justify-content:center;align-content:center;padding:5px 15px;color:#fff;border-radius:5px;margin-left:10px;text-decoration:none}#wpsr-sl-copy-btn:hover{text-decoration:none}@media screen and (max-width:700px){#wpsr-share-menu .wpsr-pp-inner,#wpsr-short-link .wpsr-pp-inner{max-width:100%}.wpsr-popup{border-radius:0}.wpsr-sm-links > div{width:50%}.wpsr-sm-link{padding:10px}}.socializer .sr-share-menu>a,.socializer .sr-share-menu>a:visited{background-color:#ff6500;color:#fff}.sr-share-menu a i{font-size:0.7em}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-hide{display:none}.wpsr-close{background:red}.sr-custom-html{line-height:1}.socializer .ctext:empty{display:none!important}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}
|
2 |
/*!
|
3 |
* Socializer - CSS library for social media buttons
|
4 |
-
* Copyright (c)
|
5 |
* MIT license
|
6 |
-
*/.socializer{padding:0;margin:0;display:inline-flex;flex-wrap:wrap}.socializer>*{list-style:none;padding:0;margin:0;display:inline-block;position:relative;line-height:0}.socializer a{font-family:sans-serif!important;display:inline-block;border:0;text-align:center;text-decoration:none;width:16px;height:16px;line-height:18px;font-size:8px;border-style:solid;box-sizing:content-box;transition:all .5s;-webkit-transition:all .2s;transition-timing-function:ease-out;-webkit-transition-timing-function:ease-out}.socializer a>*{display:inline-block;vertical-align:middle;padding:0;margin:0}.socializer:after{content:'';clear:both;display:block}.sr-32px{min-height:32px}.sr-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.sr-32px.sr-font-sm a{font-size:10.6666666667px}.sr-32px.sr-font-lg a{font-size:21.3333333333px}.sr-40px{min-height:40px}.sr-40px a{width:40px;height:40px;line-height:40px;font-size:20px}.sr-40px.sr-font-sm a{font-size:13.3333333333px}.sr-40px.sr-font-lg a{font-size:26.6666666667px}.sr-48px{min-height:48px}.sr-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.sr-48px.sr-font-sm a{font-size:16px}.sr-48px.sr-font-lg a{font-size:32px}.sr-64px{min-height:64px}.sr-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.sr-64px.sr-font-sm a{font-size:21.3333333333px}.sr-64px.sr-font-lg a{font-size:42.6666666667px}.socializer .sr-addtofavorites a,.socializer .sr-addtofavorites a:visited{color:#f9a600;border-color:#f9a600;background-color:#f9a600}.socializer .sr-behance a,.socializer .sr-behance a:visited{color:#1769ff;border-color:#1769ff;background-color:#1769ff}.socializer .sr-bitbucket a,.socializer .sr-bitbucket a:visited{color:#205081;border-color:#205081;background-color:#205081}.socializer .sr-blogger a,.socializer .sr-blogger a:visited{color:#ff6501;border-color:#ff6501;background-color:#ff6501}.socializer .sr-codepen a,.socializer .sr-codepen a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-comments a,.socializer .sr-comments a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-delicious a,.socializer .sr-delicious a:visited{color:#3274d1;border-color:#3274d1;background-color:#3274d1}.socializer .sr-deviantart a,.socializer .sr-deviantart a:visited{color:#475c4d;border-color:#475c4d;background-color:#475c4d}.socializer .sr-digg a,.socializer .sr-digg a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-discord a,.socializer .sr-discord a:visited{color:#7289da;border-color:#7289da;background-color:#7289da}.socializer .sr-dribbble a,.socializer .sr-dribbble a:visited{color:#ea4c89;border-color:#ea4c89;background-color:#ea4c89}.socializer .sr-email a,.socializer .sr-email a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-etsy a,.socializer .sr-etsy a:visited{color:#f1641e;border-color:#f1641e;background-color:#f1641e}.socializer .sr-facebook a,.socializer .sr-facebook a:visited{color:#1977f3;border-color:#1977f3;background-color:#1977f3}.socializer .sr-fbmessenger a,.socializer .sr-fbmessenger a:visited{color:#2998ff;border-color:#2998ff;background-color:#2998ff}.socializer .sr-flickr a,.socializer .sr-flickr a:visited{color:#1c9be9;border-color:#1c9be9;background-color:#1c9be9}.socializer .sr-github a,.socializer .sr-github a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-google a,.socializer .sr-google a:visited{color:#3a7cec;border-color:#3a7cec;background-color:#3a7cec}.socializer .sr-googleplus a,.socializer .sr-googleplus a:visited{color:#db483b;border-color:#db483b;background-color:#db483b}.socializer .sr-hackernews a,.socializer .sr-hackernews a:visited{color:#ff6500;border-color:#ff6500;background-color:#ff6500}.socializer .sr-houzz a,.socializer .sr-houzz a:visited{color:#4dbc15;border-color:#4dbc15;background-color:#4dbc15}.socializer .sr-instagram a,.socializer .sr-instagram a:visited{color:#e23367;border-color:#e23367;background-color:#e23367}.socializer .sr-line a,.socializer .sr-line a:visited{color:#00c300;border-color:#00c300;background-color:#00c300}.socializer .sr-linkedin a,.socializer .sr-linkedin a:visited{color:#0274b3;border-color:#0274b3;background-color:#0274b3}.socializer .sr-medium a,.socializer .sr-medium a:visited{color:#02b875;border-color:#02b875;background-color:#02b875}.socializer .sr-mix a,.socializer .sr-mix a:visited{color:#ff8226;border-color:#ff8226;background-color:#ff8226}.socializer .sr-odnoklassniki a,.socializer .sr-odnoklassniki a:visited{color:#f2720c;border-color:#f2720c;background-color:#f2720c}.socializer .sr-patreon a,.socializer .sr-patreon a:visited{color:#e85b46;border-color:#e85b46;background-color:#e85b46}.socializer .sr-paypal a,.socializer .sr-paypal a:visited{color:#0070ba;border-color:#0070ba;background-color:#0070ba}.socializer .sr-pdf a,.socializer .sr-pdf a:visited{color:#e61b2e;border-color:#e61b2e;background-color:#e61b2e}.socializer .sr-phone a,.socializer .sr-phone a:visited{color:#1a73e8;border-color:#1a73e8;background-color:#1a73e8}.socializer .sr-pinterest a,.socializer .sr-pinterest a:visited{color:#cb2027;border-color:#cb2027;background-color:#cb2027}.socializer .sr-pocket a,.socializer .sr-pocket a:visited{color:#ef4056;border-color:#ef4056;background-color:#ef4056}.socializer .sr-print a,.socializer .sr-print a:visited{color:#6d9f00;border-color:#6d9f00;background-color:#6d9f00}.socializer .sr-reddit a,.socializer .sr-reddit a:visited{color:#ff5600;border-color:#ff5600;background-color:#ff5600}.socializer .sr-renren a,.socializer .sr-renren a:visited{color:#005eac;border-color:#005eac;background-color:#005eac}.socializer .sr-rss a,.socializer .sr-rss a:visited{color:#ff7b0a;border-color:#ff7b0a;background-color:#ff7b0a}.socializer .sr-shortlink a,.socializer .sr-shortlink a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-skype a,.socializer .sr-skype a:visited{color:#00aff0;border-color:#00aff0;background-color:#00aff0}.socializer .sr-sms a,.socializer .sr-sms a:visited{color:#35d54f;border-color:#35d54f;background-color:#35d54f}.socializer .sr-snapchat a,.socializer .sr-snapchat a:visited{color:#fffc00;border-color:#fffc00;background-color:#fffc00}.socializer .sr-soundcloud a,.socializer .sr-soundcloud a:visited{color:#f50;border-color:#f50;background-color:#f50}.socializer .sr-stackoverflow a,.socializer .sr-stackoverflow a:visited{color:#f48024;border-color:#f48024;background-color:#f48024}.socializer .sr-stumbleupon a,.socializer .sr-stumbleupon a:visited{color:#eb4823;border-color:#eb4823;background-color:#eb4823}.socializer .sr-quora a,.socializer .sr-quora a:visited{color:#b92b27;border-color:#b92b27;background-color:#b92b27}.socializer .sr-telegram a,.socializer .sr-telegram a:visited{color:#179cde;border-color:#179cde;background-color:#179cde}.socializer .sr-tiktok a,.socializer .sr-tiktok a:visited{color:#010101;border-color:#010101;background-color:#010101}.socializer .sr-tumblr a,.socializer .sr-tumblr a:visited{color:#314358;border-color:#314358;background-color:#314358}.socializer .sr-twitch a,.socializer .sr-twitch a:visited{color:#4b367c;border-color:#4b367c;background-color:#4b367c}.socializer .sr-twitter a,.socializer .sr-twitter a:visited{color:#1da1f2;border-color:#1da1f2;background-color:#1da1f2}.socializer .sr-viber a,.socializer .sr-viber a:visited{color:#574e92;border-color:#574e92;background-color:#574e92}.socializer .sr-vimeo a,.socializer .sr-vimeo a:visited{color:#00adef;border-color:#00adef;background-color:#00adef}.socializer .sr-vkontakte a,.socializer .sr-vkontakte a:visited{color:#4c75a3;border-color:#4c75a3;background-color:#4c75a3}.socializer .sr-wechat a,.socializer .sr-wechat a:visited{color:#7bb32e;border-color:#7bb32e;background-color:#7bb32e}.socializer .sr-weibo a,.socializer .sr-weibo a:visited{color:#e6162d;border-color:#e6162d;background-color:#e6162d}.socializer .sr-whatsapp a,.socializer .sr-whatsapp a:visited{color:#60b82d;border-color:#60b82d;background-color:#60b82d}.socializer .sr-xing a,.socializer .sr-xing a:visited{color:#006567;border-color:#006567;background-color:#006567}.socializer .sr-yahoomail a,.socializer .sr-yahoomail a:visited{color:#4a00a1;border-color:#4a00a1;background-color:#4a00a1}.socializer .sr-youtube a,.socializer .sr-youtube a:visited{color:red;border-color:red;background-color:red}.socializer .sr-more>a,.socializer .sr-more>a:visited{color:green;border-color:green;background-color:green}.sr-text-in a{width:auto;padding:0 1em;overflow:hidden}.sr-text-in a>*{padding-right:.5em}.sr-text-in a>:last-child{padding-right:0}.sr-text-in .text{font-size:.8em}.sr-text-out a{vertical-align:middle}.sr-text-out .text{font-size:.8em;margin-left:.5em;vertical-align:middle}.sr-text-below{text-align:center}.sr-text-below .text{display:block;font-size:.8em;margin-top:.5em}.sr-text-hover .text{display:none;position:absolute;background:#000;color:#fff;font-size:12px;width:100px;top:-3em;border-radius:5px;text-align:center;line-height:2em;margin-left:-25%;z-index:9999}.sr-text-hover .text:before{position:absolute;content:'';border:.5em solid red;bottom:-1em;left:1em;width:0;height:0;border-color:#000 transparent transparent transparent}.sr-text-hover:hover>.text{display:block}.sr-bdr-sm.socializer a{border-width:1px}.sr-bdr-md.socializer a{border-width:2px}.sr-bdr-lg.socializer a{border-width:3px}.sr-bdr-none.socializer a{border-width:0}.sr-bdr-white.socializer a,.sr-bdr-white.socializer a:visited{border-color:#fff}.sr-bdr-dark.socializer a,.sr-bdr-dark.socializer a:visited{border-color:#000}.sr-bdr-grey.socializer a,.sr-bdr-grey.socializer a:visited{border-color:#ccc}.sr-bg-white.socializer a,.sr-bg-white.socializer a:visited{background-color:#fff}.sr-bg-dark.socializer a,.sr-bg-dark.socializer a:visited{background-color:#333}.sr-bg-grey.socializer a,.sr-bg-grey.socializer a:visited{background-color:#ccc}.sr-bg-none.socializer a,.sr-bg-none.socializer a:visited{background-color:transparent}.sr-icon-white.socializer a,.sr-icon-white.socializer a:visited{color:#fff}.sr-icon-dark.socializer a,.sr-icon-dark.socializer a:visited{color:#333}.sr-icon-grey.socializer a,.sr-icon-grey.socializer a:visited{color:#ccc}.sr-sw-1.socializer a{box-shadow:0 0 .2em rgba(0,0,0,.3)}.sr-sw-2.socializer a{box-shadow:inset 0 -.1em .1em rgba(0,0,0,.3)}.sr-sw-3.socializer a{box-shadow:0 -.1em .1em rgba(0,0,0,.3)}.sr-sw-icon-1.socializer a i{text-shadow:0 1px 1px rgba(0,0,0,.5)}.sr-count-1 span.ctext{background:#ff5722;position:absolute;top:-.6em;right:-.6em;border-radius:1em;font-size:.6em;line-height:1;padding:.3em .5em;z-index:99;color:#fff;box-shadow:0 1px 3px -1px #000}.sr-count-2 span.ctext{font-size:.8em;margin:0;padding:.5em;font-weight:700;line-height:.8em;background:rgba(0,0,0,.3);border-radius:1em}.sr-count-3 span.ctext{font-size:.8em;margin:0;font-weight:700;line-height:.8em;border-left:1px solid;padding:0 0 0 .8em}.sr-vertical.sr-count-2 a{height:auto}.sr-vertical.sr-count-2 span.ctext{display:block;font-size:.6em;border-radius:0;padding:.5em}.sr-vertical.sr-count-3 a{height:auto}.sr-vertical.sr-count-3 span.ctext{display:block;font-size:.6em;border-radius:0;border-top:1px solid;padding:.5em;border-left:0}.sr-bb-1 .sr-text-in{margin-right:3.5em}.sr-bb-1 a{position:relative;overflow:visible}.sr-bb-1 span.ctext{font-size:.8em;font-weight:700;background:#fff;border-radius:3px;color:#333;position:absolute;width:3em;top:0;bottom:0;padding:0;right:-3.5em;border:1px solid #dfdfdf}.sr-vertical.sr-bb-1 span.ctext{display:block;position:static;width:100%;margin:0;font-size:.7em;line-height:1;padding:.3em 0;margin-top:-.3em}.sr-circle a{border-radius:50%}.sr-circle .sr-text-in a,.sr-circle.sr-text-in a{border-radius:1em}.sr-squircle .sr-text-in a,.sr-squircle a,.sr-squircle.sr-text-in a{border-radius:.5em}.sr-squircle-2 .sr-text-in a,.sr-squircle-2 a,.sr-squircle-2.sr-text-in a{border-radius:0 .5em 0 .5em}.sr-diamond a{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.sr-diamond a>*{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.sr-drop a{border-radius:50% 50% 0 50%}.sr-ribbon a:after{content:'';display:block;position:absolute;left:0;right:0;border-style:solid;border-color:inherit;border-bottom-color:transparent;border-width:0 1em .5em 1em}.sr-fluid{display:flex;width:100%;flex-wrap:nowrap}.sr-fluid>*{float:none;width:100%}.sr-fluid a{width:100%;box-sizing:border-box;overflow:hidden;padding:0 .5em}.sr-fluid.sr-pad{border-spacing:.25em}.sr-fluid .sr-text-in a>*,.sr-fluid.sr-text-in a>*{margin-right:.5em}.sr-fluid .sr-text-in a>:last-child,.sr-fluid.sr-text-in a>:last-child{margin-right:0}.sr-fluid .sr-text-in a:last-child,.sr-fluid.sr-text-in a:last-child{margin:0}.sr-fluid.sr-squircle a{border-radius:.5em}.sr-fluid.sr-squircle-2 a{border-radius:0 .5em 0 .5em}.sr-fluid .sr-more li{display:block;width:100%}.sr-vertical{width:16px;flex-direction:column}.sr-vertical.sr-32px{width:32px}.sr-vertical.sr-32px>*{width:32px}.sr-vertical.sr-40px{width:40px}.sr-vertical.sr-40px>*{width:40px}.sr-vertical.sr-48px{width:48px}.sr-vertical.sr-48px>*{width:48px}.sr-vertical.sr-64px{width:64px}.sr-vertical.sr-64px>*{width:64px}.sr-vertical.sr-pad>*{margin:0 0 .5em 0}.sr-vertical .sr-text-in{line-height:1}.sr-vertical .sr-text-in a{padding:0;width:inherit}.sr-vertical .sr-text-in a>*{padding:0}.sr-vertical .sr-text-in .text{display:none}.sr-opacity a:hover{opacity:.5}.sr-opacity a:active{opacity:.8}.sr-rotate a:hover{-webkit-transform:rotate(15deg);transform:rotate(15deg)}.sr-rotate a:active{-webkit-transform:rotate(0);transform:rotate(0)}.sr-zoom a:hover{-webkit-transform:scale(1.1);transform:scale(1.1);z-index:9999}.sr-zoom a:active{-webkit-transform:scale(.9);transform:scale(.9)}.sr-shrink a:hover{-webkit-transform:scale(.9);transform:scale(.9)}.sr-shrink a:active{-webkit-transform:scale(.7);transform:scale(.7)}.sr-float a:hover{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.sr-float a:active{-webkit-transform:translateY(0);transform:translateY(0)}.sr-sink a:hover{-webkit-transform:translateY(5px);transform:translateY(5px)}.sr-sink a:active{-webkit-transform:translateY(0);transform:translateY(0)}.sr-fade-white a:hover{color:#000;background-color:#fff}.sr-fade-white a:active{opacity:.2}.sr-fade-black a:hover{color:#fff;background-color:#000}.sr-fade-black a:active{opacity:.2}.sr-fade-dark a:hover{filter:brightness(.8)}.sr-fade-dark a:active{filter:brightness(.5)}.sr-pad>*{margin-right:.5em}.sr-multiline>*{margin-bottom:.5em}.sr-no-icon i{display:none}.socializer.sr-pad>:last-child{margin:0}.sr-more .socializer{background:#fff;padding:.5em;position:absolute;display:none;box-shadow:0 2px 6px -2px;z-index:9999}.sr-more .socializer:before{content:'';display:inline-block;position:absolute;border:.25em solid;border-color:transparent transparent #fff transparent;top:-.5em;left:.5em}.sr-more .socializer:after{content:'';clear:both;display:block}.sr-more .socializer>*{margin:0 0 .5em 0}.sr-more .socializer>:last-child{margin-bottom:0}.sr-more:hover .socializer{display:block}.sr-sharebar{position:fixed;z-index:9999}.sr-sb-vl{top:50%;transform:translateY(-50%)}.sr-sb-left{left:30px}.sr-sb-right{right:30px}.sr-sb-hl{left:50%;transform:translateX(-50%)}.sr-sb-top{top:30px}.sr-sb-bottom{bottom:30px}.sr-sb-white{background:#fff;box-shadow:0 1px 4px -2px;padding:10px}.sr-sb-dark{background:#333;box-shadow:0 1px 4px -2px;padding:10px}.sr-sb-dark .text{color:#fff}
|
1 |
+
.wp-socializer:after{clear:both;content:'';display:block}.wp-socializer.wpsr-share-icons{margin:1em 0}.wpsr-share-icons .wpsr-si-inner{display:flex}.wpsr-share-icons .wpsr-si-inner > *:first-child{margin-left:0}.wpsr-share-icons .wpsr-si-inner > *:last-child{margin-right:0}.wpsr-share-icons .socializer{margin:0 1em}.wpsr-share-icons.wpsr-flex-center{text-align:center}.wpsr-share-icons.wpsr-flex-center .wpsr-si-inner{justify-content:center}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:99999}.wpsr-sharebar .socializer{line-height:0}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:99999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-counter{margin-bottom:1.5em}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{bottom:0;left:0!important;right:0!important;margin:0!important;position:fixed;background:#fff;box-shadow:0 -2px 4px -2px rgba(0,0,0,0.5)}.wpsr-sb-hl .wpsr-sb-inner{display:flex}.wpsr-sb-hl .wpsr-counter{padding:0 1em}.wpsr-sb-sm-simple.wpsr-sb-hl{padding:0;border:0}.wpsr-sb-sm-simple.wpsr-sb-hl span a{border-radius:0!important;transform:none!important}.wpsr-sb-sm-simple.wpsr-sb-hl span a > *{transform:none!important}.wpsr-sb-sm-simple.wpsr-sb-hl span a:after{display:none}.wpsr-sb-sm-simple.wpsr-sb-hl span{margin-right:0}.wpsr-sb-simple{padding:10px;text-align:center;border-radius:10px;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple.wpsr-sb-hl{border-radius:0}.wpsr-sharebar:hover .wpsr-sb-close{display:block}.wpsr-sb-close{position:absolute;cursor:pointer;display:none;padding:10px}.wpsr-sb-close .wpsr-bar-icon{opacity:0.2}.wpsr-sb-close:hover .wpsr-bar-icon{opacity:0.8}.wpsr-sb-vl .wpsr-sb-close{bottom:0;transform:translate(-50%,100%);left:50%}.wpsr-sb-hl .wpsr-sb-close{display:none}.wpsr-sharebar.wpsr-closed{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-sharebar.wpsr-closed .wpsr-sb-inner{display:none}.wpsr-sharebar.wpsr-closed .wpsr-sb-close{top:0;margin-top:0;transform:none;right:0;left:0;bottom:0;line-height:48px;display:block;padding:0}.wpsr-counter{line-height:2em;text-align:center;font-size:10px;color:#000;display:flex;flex-direction:column;justify-content:center;flex-shrink:0}.wpsr-counter .scount{font-size:2em;font-weight:bold;margin-bottom:0.25em}.wpsr-counter .scount .fa{font-size:.7em;opacity:0.7}.wpsr-counter .stext{display:block;line-height:1em;color:inherit;text-transform:uppercase;font-size:1em;margin-top:-0.15em;opacity:0.5}.wpsr-counter.wpsrc-sz-40px{font-size:12.5px}.wpsr-counter.wpsrc-sz-48px{font-size:15px}.wpsr-counter.wpsrc-sz-64px{font-size:20px}.wpsr-sharebar .wpsr-counter{font-size:8.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-40px{font-size:9.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-48px{font-size:11.5px}.wpsr-sharebar .wpsr-counter.wpsrc-sz-64px{font-size:15.2px}.socializer span a img{background:none!important;border:none!important;max-width:100%!important}.wpsr-follow-icons{position:fixed;z-index:999999;line-height:0}.sr-fb-tl{top:20px;left:20px}.sr-fb-tm{top:20px;left:50%;transform:translateX( -50% )}.sr-fb-tr{top:20px;right:20px}.sr-fb-rm{top:50%;right:20px;transform:translateY( -50% )}.sr-fb-br{bottom:20px;right:20px}.sr-fb-bm{bottom:20px;left:50%;transform:translateX( -50% )}.sr-fb-bl{bottom:20px;left:20px}.sr-fb-lm{left:20px;top:50%;transform:translateY( -50% )}.wpsr-follow-icons div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-follow-icons.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-follow-icons.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-follow-icons.sr-fb-vl .sr-fb-title{width:5em;text-align:center;line-height:1.5}.wpsr-fb-close{position:absolute;right:0;cursor:pointer;display:none;line-height:0;padding:1em;opacity:0.2}.wpsr-fb-close:hover{opacity:0.8}.wpsr-follow-icons:hover .wpsr-fb-close{display:block}.wpsr-closed.wpsr-follow-icons .sr-fb-title{display:none}.wpsr-closed.wpsr-follow-icons .sr-followbar{display:none}.wpsr-closed.wpsr-follow-icons .wpsr-fb-close{display:block}.sr-fb-bm .wpsr-fb-close,.sr-fb-bl .wpsr-fb-close{right:0;transform:translate(100%,-100%);padding-bottom:0}.sr-fb-vl.sr-fb-br .wpsr-fb-close{left:0;bottom:0;transform:translateX(-100%);padding-bottom:0}.sr-fb-hl.sr-fb-br .wpsr-fb-close{top:0;right:0;transform:translateY(-100%)}.sr-fb-hl.sr-fb-tr .wpsr-fb-close{padding-right:0}.wpsr-closed.sr-fb-tl .wpsr-fb-close,.wpsr-closed.sr-fb-lm .wpsr-fb-close{right:-24px;transform:translateY(0%)}.wpsr-text-sb{background:#fff;margin:0;padding:0 10px;border-radius:5px;display:inline-block;position:absolute;transform:translate( -50%,-150% );margin-top:-10px;transition:margin-top 0.5s;display:none;animation:wpsr-fadeout 1s;box-shadow:0 3px 6px -3px #000;background-image:linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0));z-index:999}.wpsr-text-sb:before{position:absolute;content:'';display:block;background-color:inherit;width:10px;height:10px;bottom:-5px;transform:rotate(45deg) translateX(-50%);left:50%;z-index:-1;transform-origin:left;box-shadow:2px 2px 4px -2px #000}.wpsr-text-sb li{list-style:none;float:left;line-height:0}.wpsr-text-sb li a{text-align:center;display:inline-block}.wpsr-text-sb li a:hover{background-image:linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0))}.wpsr-tsb-32px a{width:32px;height:32px;line-height:32px;font-size:16px}.wpsr-tsb-40px a{width:40px;height:40px;line-height:40px;font-size:20px}.wpsr-tsb-48px a{width:48px;height:48px;line-height:48px;font-size:24px}.wpsr-tsb-64px a{width:64px;height:64px;line-height:64px;font-size:32px}.wpsr-text-sb.wpsr-tsb-active{margin-top:0;transition:margin-top 0.5s;display:block;animation:wpsr-fadein 1s}.wpsr-bar-icon{line-height:0;background:#000;display:inline-block;padding:3px;border-radius:50%;vertical-align:middle;fill:#fff}.wpsr-bar-icon .i-open{display:none}.wpsr-closed .wpsr-bar-icon .i-close{display:none}.wpsr-closed .wpsr-bar-icon .i-open{display:block}.wpsr-closed .wpsr-bar-icon{padding:5px}.wpsr-bg{display:none;position:fixed;z-index:999999;top:0;left:0;right:0;bottom:0;background:rgb(0 0 0 / 20%);padding:0}.wpsr-bg.wpsr-pp-opened{display:block}.wpsr-bg.wpsr-pp-closed{display:none}.wpsr-bg.wpsr-pp-slide-down .wpsr-popup{transform:translateY(0);opacity:1}.wpsr-bg.wpsr-pp-slide-up .wpsr-popup{transform:translateY(-50px);opacity:0.8}.wpsr-pp-inner{margin:0 auto;display:flex;flex-direction:column;justify-content:center;height:100%}.wpsr-popup{display:none;background:#fff;display:flex;flex-wrap:nowrap;flex-direction:column;box-shadow:0 3px 6px rgb(0 0 0 / 16%),0 3px 6px rgb(0 0 0 / 23%);border-radius:10px;max-height:100%;transform:translateY(-50px);opacity:0.8;transition:all 0.25s}.wpsr-pp-head{text-align:center;padding:10px 0;position:relative;border-bottom:1px solid #dfdfdf}.wpsr-pp-head h3{margin:0!important;font-size:20px}.wpsr-pp-content{overflow-y:auto;padding:20px}.wpsr-pp-close{position:absolute;top:50%;right:10px;color:#333;transform:translateY(-50%);padding:10px}.wpsr-pp-close:hover{opacity:0.8}.wpsr-pp-foot{text-align:center;padding:10px 0;font-size:12px;color:#777;border-top:1px solid #dfdfdf}.wpsr-pp-foot a{color:#ff8226;text-decoration:none}.wpsr-pp-foot a:hover{color:#333;text-decoration:underline}#wpsr-share-menu .wpsr-pp-inner{max-width:700px}.wpsr-sm-links{display:flex;flex-wrap:wrap}.wpsr-sm-links > div{width:33.33%;padding:5px;box-sizing:border-box}.wpsr-sm-link{display:flex;color:#fff!important;border-radius:5px;padding:5px;font-size:15px;text-decoration:none!important;border-bottom:2px solid rgb(0 0 0 / 10%);text-shadow:0 1px 1px rgb(0 0 0 / 30%);background:linear-gradient(rgb(0 0 0 / 1%),rgb(0 0 0 / 5%))}.wpsr-sm-link:hover,.wpsr-sm-link:focus,.wpsr-sm-link:active{text-decoration:none;color:#fff;opacity:0.8}.wpsr-sm-icon{width:24px;margin:0 5px;display:flex;flex-direction:column;align-items:center;justify-content:center}.wpsr-sm-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#wpsr-short-link .wpsr-pp-inner{max-width:500px}#wpsr-short-link .wpsr-pp-content{display:flex;font-size:15px}#wpsr-short-link-url{flex:1;text-align:center}#wpsr-sl-copy-btn{background:#000;text-align:center;display:flex;flex-direction:column;justify-content:center;align-content:center;padding:5px 15px;color:#fff;border-radius:5px;margin-left:10px;text-decoration:none}#wpsr-sl-copy-btn:hover{text-decoration:none}@media screen and (max-width:700px){#wpsr-share-menu .wpsr-pp-inner,#wpsr-short-link .wpsr-pp-inner{max-width:100%}.wpsr-popup{border-radius:0}.wpsr-sm-links > div{width:50%}.wpsr-sm-link{padding:10px}}.socializer .sr-share-menu>a,.socializer .sr-share-menu>a:visited{background-color:#ff6500;border-color:#ff6500;color:#fff}.sr-share-menu a i{font-size:0.7em}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-hide{display:none}.wpsr-close{background:red}.sr-custom-html{line-height:1}.socializer .ctext:empty{display:none!important}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}
|
2 |
/*!
|
3 |
* Socializer - CSS library for social media buttons
|
4 |
+
* Copyright (c) 2022 Aakash Chakravarthy - www.aakashweb.com
|
5 |
* MIT license
|
6 |
+
*/.socializer{padding:0;margin:0;display:inline-flex;flex-wrap:wrap}.socializer>*{list-style:none;padding:0;margin:0;display:inline-block;position:relative;line-height:0}.socializer a{font-family:sans-serif!important;display:inline-flex;border:0;text-align:center;text-decoration:none;width:16px;height:16px;font-size:8px;border-style:solid;box-sizing:content-box;align-items:center;justify-content:center;transition:all .5s;transition-timing-function:ease-out}.socializer a>*{display:inline-block;vertical-align:middle;padding:0;margin:0}.socializer:after{content:'';clear:both;display:block}.sr-32px{min-height:32px}.sr-32px a{width:32px;height:32px;font-size:16px}.sr-32px.sr-font-sm a{font-size:10.6666666667px}.sr-32px.sr-font-lg a{font-size:21.3333333333px}.sr-40px{min-height:40px}.sr-40px a{width:40px;height:40px;font-size:20px}.sr-40px.sr-font-sm a{font-size:13.3333333333px}.sr-40px.sr-font-lg a{font-size:26.6666666667px}.sr-48px{min-height:48px}.sr-48px a{width:48px;height:48px;font-size:24px}.sr-48px.sr-font-sm a{font-size:16px}.sr-48px.sr-font-lg a{font-size:32px}.sr-64px{min-height:64px}.sr-64px a{width:64px;height:64px;font-size:32px}.sr-64px.sr-font-sm a{font-size:21.3333333333px}.sr-64px.sr-font-lg a{font-size:42.6666666667px}.socializer .sr-addtofavorites a,.socializer .sr-addtofavorites a:visited{color:#f9a600;border-color:#f9a600;background-color:#f9a600}.socializer .sr-behance a,.socializer .sr-behance a:visited{color:#1769ff;border-color:#1769ff;background-color:#1769ff}.socializer .sr-bitbucket a,.socializer .sr-bitbucket a:visited{color:#205081;border-color:#205081;background-color:#205081}.socializer .sr-blogger a,.socializer .sr-blogger a:visited{color:#ff6501;border-color:#ff6501;background-color:#ff6501}.socializer .sr-codepen a,.socializer .sr-codepen a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-comments a,.socializer .sr-comments a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-delicious a,.socializer .sr-delicious a:visited{color:#3274d1;border-color:#3274d1;background-color:#3274d1}.socializer .sr-deviantart a,.socializer .sr-deviantart a:visited{color:#475c4d;border-color:#475c4d;background-color:#475c4d}.socializer .sr-digg a,.socializer .sr-digg a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-discord a,.socializer .sr-discord a:visited{color:#7289da;border-color:#7289da;background-color:#7289da}.socializer .sr-dribbble a,.socializer .sr-dribbble a:visited{color:#ea4c89;border-color:#ea4c89;background-color:#ea4c89}.socializer .sr-email a,.socializer .sr-email a:visited{color:#000;border-color:#000;background-color:#000}.socializer .sr-etsy a,.socializer .sr-etsy a:visited{color:#f1641e;border-color:#f1641e;background-color:#f1641e}.socializer .sr-facebook a,.socializer .sr-facebook a:visited{color:#1977f3;border-color:#1977f3;background-color:#1977f3}.socializer .sr-fbmessenger a,.socializer .sr-fbmessenger a:visited{color:#2998ff;border-color:#2998ff;background-color:#2998ff}.socializer .sr-flickr a,.socializer .sr-flickr a:visited{color:#1c9be9;border-color:#1c9be9;background-color:#1c9be9}.socializer .sr-github a,.socializer .sr-github a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-google a,.socializer .sr-google a:visited{color:#3a7cec;border-color:#3a7cec;background-color:#3a7cec}.socializer .sr-googleplus a,.socializer .sr-googleplus a:visited{color:#db483b;border-color:#db483b;background-color:#db483b}.socializer .sr-hackernews a,.socializer .sr-hackernews a:visited{color:#ff6500;border-color:#ff6500;background-color:#ff6500}.socializer .sr-houzz a,.socializer .sr-houzz a:visited{color:#4dbc15;border-color:#4dbc15;background-color:#4dbc15}.socializer .sr-instagram a,.socializer .sr-instagram a:visited{color:#e23367;border-color:#e23367;background-color:#e23367}.socializer .sr-line a,.socializer .sr-line a:visited{color:#00c300;border-color:#00c300;background-color:#00c300}.socializer .sr-linkedin a,.socializer .sr-linkedin a:visited{color:#0274b3;border-color:#0274b3;background-color:#0274b3}.socializer .sr-medium a,.socializer .sr-medium a:visited{color:#02b875;border-color:#02b875;background-color:#02b875}.socializer .sr-mix a,.socializer .sr-mix a:visited{color:#ff8226;border-color:#ff8226;background-color:#ff8226}.socializer .sr-odnoklassniki a,.socializer .sr-odnoklassniki a:visited{color:#f2720c;border-color:#f2720c;background-color:#f2720c}.socializer .sr-patreon a,.socializer .sr-patreon a:visited{color:#e85b46;border-color:#e85b46;background-color:#e85b46}.socializer .sr-paypal a,.socializer .sr-paypal a:visited{color:#0070ba;border-color:#0070ba;background-color:#0070ba}.socializer .sr-pdf a,.socializer .sr-pdf a:visited{color:#e61b2e;border-color:#e61b2e;background-color:#e61b2e}.socializer .sr-phone a,.socializer .sr-phone a:visited{color:#1a73e8;border-color:#1a73e8;background-color:#1a73e8}.socializer .sr-pinterest a,.socializer .sr-pinterest a:visited{color:#cb2027;border-color:#cb2027;background-color:#cb2027}.socializer .sr-pocket a,.socializer .sr-pocket a:visited{color:#ef4056;border-color:#ef4056;background-color:#ef4056}.socializer .sr-print a,.socializer .sr-print a:visited{color:#6d9f00;border-color:#6d9f00;background-color:#6d9f00}.socializer .sr-reddit a,.socializer .sr-reddit a:visited{color:#ff5600;border-color:#ff5600;background-color:#ff5600}.socializer .sr-renren a,.socializer .sr-renren a:visited{color:#005eac;border-color:#005eac;background-color:#005eac}.socializer .sr-rss a,.socializer .sr-rss a:visited{color:#ff7b0a;border-color:#ff7b0a;background-color:#ff7b0a}.socializer .sr-shortlink a,.socializer .sr-shortlink a:visited{color:#333;border-color:#333;background-color:#333}.socializer .sr-skype a,.socializer .sr-skype a:visited{color:#00aff0;border-color:#00aff0;background-color:#00aff0}.socializer .sr-sms a,.socializer .sr-sms a:visited{color:#35d54f;border-color:#35d54f;background-color:#35d54f}.socializer .sr-snapchat a,.socializer .sr-snapchat a:visited{color:#fffc00;border-color:#fffc00;background-color:#fffc00}.socializer .sr-soundcloud a,.socializer .sr-soundcloud a:visited{color:#f50;border-color:#f50;background-color:#f50}.socializer .sr-stackoverflow a,.socializer .sr-stackoverflow a:visited{color:#f48024;border-color:#f48024;background-color:#f48024}.socializer .sr-stumbleupon a,.socializer .sr-stumbleupon a:visited{color:#eb4823;border-color:#eb4823;background-color:#eb4823}.socializer .sr-quora a,.socializer .sr-quora a:visited{color:#b92b27;border-color:#b92b27;background-color:#b92b27}.socializer .sr-telegram a,.socializer .sr-telegram a:visited{color:#179cde;border-color:#179cde;background-color:#179cde}.socializer .sr-tiktok a,.socializer .sr-tiktok a:visited{color:#010101;border-color:#010101;background-color:#010101}.socializer .sr-tumblr a,.socializer .sr-tumblr a:visited{color:#314358;border-color:#314358;background-color:#314358}.socializer .sr-twitch a,.socializer .sr-twitch a:visited{color:#4b367c;border-color:#4b367c;background-color:#4b367c}.socializer .sr-twitter a,.socializer .sr-twitter a:visited{color:#1da1f2;border-color:#1da1f2;background-color:#1da1f2}.socializer .sr-viber a,.socializer .sr-viber a:visited{color:#574e92;border-color:#574e92;background-color:#574e92}.socializer .sr-vimeo a,.socializer .sr-vimeo a:visited{color:#00adef;border-color:#00adef;background-color:#00adef}.socializer .sr-vkontakte a,.socializer .sr-vkontakte a:visited{color:#4c75a3;border-color:#4c75a3;background-color:#4c75a3}.socializer .sr-wechat a,.socializer .sr-wechat a:visited{color:#7bb32e;border-color:#7bb32e;background-color:#7bb32e}.socializer .sr-weibo a,.socializer .sr-weibo a:visited{color:#e6162d;border-color:#e6162d;background-color:#e6162d}.socializer .sr-whatsapp a,.socializer .sr-whatsapp a:visited{color:#60b82d;border-color:#60b82d;background-color:#60b82d}.socializer .sr-xing a,.socializer .sr-xing a:visited{color:#006567;border-color:#006567;background-color:#006567}.socializer .sr-yahoomail a,.socializer .sr-yahoomail a:visited{color:#4a00a1;border-color:#4a00a1;background-color:#4a00a1}.socializer .sr-youtube a,.socializer .sr-youtube a:visited{color:red;border-color:red;background-color:red}.socializer .sr-more>a,.socializer .sr-more>a:visited{color:green;border-color:green;background-color:green}.sr-text-in a{width:auto;padding:0 1em;overflow:hidden}.sr-text-in a>*{padding-right:.5em}.sr-text-in a>:last-child{padding-right:0}.sr-text-in .text{font-size:.8em}.sr-text-out a{vertical-align:middle}.sr-text-out .text{font-size:.8em;margin-left:.5em;vertical-align:middle}.sr-text-below{text-align:center}.sr-text-below .text{display:block;font-size:.8em;margin-top:.5em}.sr-text-hover .text{display:none;position:absolute;background:#000;color:#fff;font-size:12px;width:100px;top:-3em;border-radius:5px;text-align:center;line-height:2em;margin-left:-25%;z-index:9999}.sr-text-hover .text:before{position:absolute;content:'';border:.5em solid red;bottom:-1em;left:1em;width:0;height:0;border-color:#000 transparent transparent transparent}.sr-text-hover:hover>.text{display:block}.sr-bdr-sm.socializer a{border-width:1px}.sr-bdr-md.socializer a{border-width:2px}.sr-bdr-lg.socializer a{border-width:3px}.sr-bdr-none.socializer a{border-width:0}.sr-bdr-white.socializer a,.sr-bdr-white.socializer a:visited{border-color:#fff}.sr-bdr-dark.socializer a,.sr-bdr-dark.socializer a:visited{border-color:#000}.sr-bdr-grey.socializer a,.sr-bdr-grey.socializer a:visited{border-color:#ccc}.sr-bg-white.socializer a,.sr-bg-white.socializer a:visited{background-color:#fff}.sr-bg-dark.socializer a,.sr-bg-dark.socializer a:visited{background-color:#333}.sr-bg-grey.socializer a,.sr-bg-grey.socializer a:visited{background-color:#ccc}.sr-bg-none.socializer a,.sr-bg-none.socializer a:visited{background-color:transparent}.sr-icon-white.socializer a,.sr-icon-white.socializer a:visited{color:#fff}.sr-icon-dark.socializer a,.sr-icon-dark.socializer a:visited{color:#333}.sr-icon-grey.socializer a,.sr-icon-grey.socializer a:visited{color:#ccc}.sr-sw-1.socializer a{box-shadow:0 0 .2em rgba(0,0,0,.3)}.sr-sw-2.socializer a{box-shadow:inset 0 -.1em .1em rgba(0,0,0,.3)}.sr-sw-3.socializer a{box-shadow:0 -.1em .1em rgba(0,0,0,.3)}.sr-sw-icon-1.socializer a i{text-shadow:0 1px 1px rgba(0,0,0,.5)}.sr-count-1 span.ctext{background:#ff5722;position:absolute;top:-.6em;right:-.6em;border-radius:1em;font-size:.6em;line-height:1;padding:.3em .5em!important;z-index:99;color:#fff;box-shadow:0 1px 3px -1px #000}.sr-count-2 span.ctext{font-size:.8em;margin:0;padding:.5em;font-weight:700;line-height:.8em;background:rgba(0,0,0,.3);border-radius:1em}.sr-count-3 span.ctext{font-size:.8em;margin:0;font-weight:700;line-height:.8em;border-left:1px solid;padding:0 0 0 .8em}.sr-vertical.sr-count-2 span.ctext{font-size:.6em;border-radius:0;padding:.5em;width:100%}.sr-vertical.sr-count-3 span.ctext{font-size:.6em;border-radius:0;border-top:1px solid;padding:.5em;border-left:0;width:100%}.sr-vertical.sr-count-2 .sr-text-in a,.sr-vertical.sr-count-3 .sr-text-in a{height:auto}.sr-vertical.sr-count-2 .sr-text-in a i,.sr-vertical.sr-count-3 .sr-text-in a i{margin:.5em 0}.sr-bb-1 .sr-text-in{margin-right:3.5em}.sr-bb-1 a{position:relative;overflow:visible}.sr-bb-1 span.ctext{font-size:.8em;font-weight:700;background:#fff;border-radius:3px;color:#333;position:absolute;width:3em;top:0;bottom:0;padding:0;right:-3.5em;border:1px solid #dfdfdf}.sr-vertical.sr-bb-1 span.ctext{display:block;position:static;width:100%;margin:0;font-size:.7em;line-height:1;padding:.3em 0;margin-top:-.3em}.sr-circle a{border-radius:50%}.sr-circle .sr-text-in a,.sr-circle.sr-text-in a{border-radius:1em}.sr-squircle .sr-text-in a,.sr-squircle a,.sr-squircle.sr-text-in a{border-radius:.5em}.sr-squircle-2 .sr-text-in a,.sr-squircle-2 a,.sr-squircle-2.sr-text-in a{border-radius:0 .5em 0 .5em}.sr-diamond a{transform:rotate(45deg)}.sr-diamond a>*{transform:rotate(-45deg)}.sr-drop a{border-radius:50% 50% 0 50%}.sr-drop .sr-text-in a{border-radius:1em 1em 0 1em}.sr-ribbon a:after{content:'';display:block;position:absolute;left:0;right:0;top:calc(100% - .25em / 2);border-style:solid;border-color:inherit;border-bottom-color:transparent;border-width:0 1em .5em 1em}.sr-ribbon.sr-vertical>*{margin-bottom:1em!important}.sr-fluid{display:flex;width:100%;flex-wrap:nowrap}.sr-fluid>*{float:none;width:100%}.sr-fluid a{width:100%;box-sizing:border-box;overflow:hidden;padding:0 .5em}.sr-fluid.sr-pad{border-spacing:.25em}.sr-fluid .sr-text-in a>*,.sr-fluid.sr-text-in a>*{margin-right:.5em}.sr-fluid .sr-text-in a>:last-child,.sr-fluid.sr-text-in a>:last-child{margin-right:0}.sr-fluid .sr-text-in a:last-child,.sr-fluid.sr-text-in a:last-child{margin:0}.sr-fluid.sr-squircle a{border-radius:.5em}.sr-fluid.sr-squircle-2 a{border-radius:0 .5em 0 .5em}.sr-fluid .sr-more li{display:block;width:100%}.sr-vertical{width:16px;flex-direction:column}.sr-vertical.sr-32px{width:32px}.sr-vertical.sr-32px>*{width:32px}.sr-vertical.sr-40px{width:40px}.sr-vertical.sr-40px>*{width:40px}.sr-vertical.sr-48px{width:48px}.sr-vertical.sr-48px>*{width:48px}.sr-vertical.sr-64px{width:64px}.sr-vertical.sr-64px>*{width:64px}.sr-vertical.sr-pad>*{margin:0 0 .5em 0}.sr-vertical a{flex-direction:column}.sr-vertical .sr-text-in{line-height:1}.sr-vertical .sr-text-in a{padding:0;width:inherit}.sr-vertical .sr-text-in a>*{padding:0}.sr-vertical .sr-text-in .text{display:none}.sr-opacity a:hover{opacity:.5}.sr-opacity a:active{opacity:.8}.sr-rotate a:hover{transform:rotate(15deg)}.sr-rotate a:active{transform:rotate(0)}.sr-zoom a:hover{transform:scale(1.1);z-index:9999}.sr-zoom a:active{transform:scale(.9)}.sr-shrink a:hover{transform:scale(.9)}.sr-shrink a:active{transform:scale(.7)}.sr-float a:hover{transform:translateY(-5px)}.sr-float a:active{transform:translateY(0)}.sr-sink a:hover{transform:translateY(5px)}.sr-sink a:active{transform:translateY(0)}.sr-fade-white a:hover{color:#000;background-color:#fff}.sr-fade-white a:active{opacity:.2}.sr-fade-black a:hover{color:#fff;background-color:#000}.sr-fade-black a:active{opacity:.2}.sr-fade-dark a:hover{filter:brightness(.8)}.sr-fade-dark a:active{filter:brightness(.5)}.sr-pad>*{margin-right:.5em}.sr-multiline>*{margin-bottom:.5em}.sr-no-icon i{display:none}.socializer.sr-pad>:last-child{margin:0!important}.sr-more .socializer{background:#fff;padding:.5em;position:absolute;display:none;box-shadow:0 2px 6px -2px;z-index:9999}.sr-more .socializer:before{content:'';display:inline-block;position:absolute;border:.25em solid;border-color:transparent transparent #fff transparent;top:-.5em;left:.5em}.sr-more .socializer:after{content:'';clear:both;display:block}.sr-more .socializer>*{margin:0 0 .5em 0}.sr-more .socializer>:last-child{margin-bottom:0}.sr-more:hover .socializer{display:block}.sr-sharebar{position:fixed;z-index:9999}.sr-sb-vl{top:50%;transform:translateY(-50%)}.sr-sb-left{left:30px}.sr-sb-right{right:30px}.sr-sb-hl{left:50%;transform:translateX(-50%)}.sr-sb-top{top:30px}.sr-sb-bottom{bottom:30px}.sr-sb-white{background:#fff;box-shadow:0 1px 4px -2px;padding:10px}.sr-sb-dark{background:#333;box-shadow:0 1px 4px -2px;padding:10px}.sr-sb-dark .text{color:#fff}
|
public/js/wp-socializer.js
CHANGED
@@ -134,7 +134,7 @@ document.addEventListener( 'DOMContentLoaded', function(){
|
|
134 |
return;
|
135 |
}
|
136 |
if( !( href == '#' || this.hasAttribute( 'onclick' ) || href == null ) ){
|
137 |
-
wpsr_helpers.popup_window( href, '_blank',
|
138 |
}
|
139 |
e.preventDefault();
|
140 |
});
|
@@ -329,7 +329,7 @@ document.addEventListener( 'DOMContentLoaded', function(){
|
|
329 |
|
330 |
if( alink != '#' ){
|
331 |
rep_link = replace_link( alink );
|
332 |
-
wpsr_helpers.popup_window( rep_link, '_blank',
|
333 |
}
|
334 |
|
335 |
e.preventDefault();
|
@@ -537,7 +537,7 @@ document.addEventListener( 'DOMContentLoaded', function(){
|
|
537 |
}
|
538 |
|
539 |
if(link.indexOf('http') == 0){
|
540 |
-
wpsr_helpers.popup_window(link, '_blank',
|
541 |
}else{
|
542 |
window.location.href = link;
|
543 |
}
|
134 |
return;
|
135 |
}
|
136 |
if( !( href == '#' || this.hasAttribute( 'onclick' ) || href == null ) ){
|
137 |
+
wpsr_helpers.popup_window( href, '_blank', 1024, 576 );
|
138 |
}
|
139 |
e.preventDefault();
|
140 |
});
|
329 |
|
330 |
if( alink != '#' ){
|
331 |
rep_link = replace_link( alink );
|
332 |
+
wpsr_helpers.popup_window( rep_link, '_blank', 1024, 576 );
|
333 |
}
|
334 |
|
335 |
e.preventDefault();
|
537 |
}
|
538 |
|
539 |
if(link.indexOf('http') == 0){
|
540 |
+
wpsr_helpers.popup_window(link, '_blank', 1024, 576);
|
541 |
}else{
|
542 |
window.location.href = link;
|
543 |
}
|
public/js/wp-socializer.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function socializer_addbookmark(t){var e=navigator.userAgent.toLowerCase(),s=-1!=e.indexOf("mac"),r="";t.preventDefault(),r=(s?"Command/Cmd":"CTRL")+" + D",alert("Press "+r+" to bookmark this page")}function socializer_shortlink(t,e,s){"function"==typeof t.preventDefault&&t.preventDefault();var r=e?e.getAttribute("href"):s;wpsr_helpers.open_popup("wpsr-short-link"),document.getElementById("wpsr-short-link-url").value=r}window.wpsr_helpers={addClass:function(t,e){t.classList?t.classList.add(e):t.className+=" "+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")},popup_window:function(t,e,s,r){var n=screen.width/2-s/2,a=screen.height/2-r/2;return window.open(t,e,"toolbar=no,location=no,menubar=no,scrollbars=yes,width="+s+",height="+r+",top="+a+",left="+n)},offset:function(t){var e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},ajax:function(t,e,s,r,n){var a=new XMLHttpRequest;a.props=n,a.open(e,t,!0),"POST"==e&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),a.onreadystatechange=function(){if(4==a.readyState&&200==a.status)return r(a)},a.send(s)},format_num:function(t){if(t<1e3)return t;for(var e=["k","m","b","t"],s=t,r=0;r<e.length;r++)if(!((t/=1e3)>1e3)){s=Math.round(100*t)/100+e[r];break}return s},is_mobile:function(){return/Mobi|Android/i.test(navigator.userAgent)},open_popup:function(t){var e=document.getElementById(t);if(e){var s=this;this.removeClass(e,"wpsr-pp-closed"),this.addClass(e,"wpsr-pp-opened"),this.removeClass(e,"wpsr-pp-slide-up"),setTimeout(function(){s.addClass(e,"wpsr-pp-slide-down")},10)}},close_popup:function(t){var e=document.getElementById(t);if(e){var s=this;this.removeClass(e,"wpsr-pp-slide-down"),this.addClass(e,"wpsr-pp-slide-up"),setTimeout(function(){s.removeClass(e,"wpsr-pp-opened"),s.addClass(e,"wpsr-pp-closed")},250)}},copy:function(t){var e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e)}},document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".socializer.sr-popup a");for(f=0;f<t.length;f++){var e=t[f];e.addEventListener("click",function(t){var e=this.getAttribute("href");if("comments"==this.getAttribute("data-id"))return void this.setAttribute("target","_self");"#"==e||this.hasAttribute("onclick")||null==e||wpsr_helpers.popup_window(e,"_blank",
|
1 |
+
function socializer_addbookmark(t){var e=navigator.userAgent.toLowerCase(),s=-1!=e.indexOf("mac"),r="";t.preventDefault(),r=(s?"Command/Cmd":"CTRL")+" + D",alert("Press "+r+" to bookmark this page")}function socializer_shortlink(t,e,s){"function"==typeof t.preventDefault&&t.preventDefault();var r=e?e.getAttribute("href"):s;wpsr_helpers.open_popup("wpsr-short-link"),document.getElementById("wpsr-short-link-url").value=r}window.wpsr_helpers={addClass:function(t,e){t.classList?t.classList.add(e):t.className+=" "+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")},popup_window:function(t,e,s,r){var n=screen.width/2-s/2,a=screen.height/2-r/2;return window.open(t,e,"toolbar=no,location=no,menubar=no,scrollbars=yes,width="+s+",height="+r+",top="+a+",left="+n)},offset:function(t){var e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},ajax:function(t,e,s,r,n){var a=new XMLHttpRequest;a.props=n,a.open(e,t,!0),"POST"==e&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),a.onreadystatechange=function(){if(4==a.readyState&&200==a.status)return r(a)},a.send(s)},format_num:function(t){if(t<1e3)return t;for(var e=["k","m","b","t"],s=t,r=0;r<e.length;r++)if(!((t/=1e3)>1e3)){s=Math.round(100*t)/100+e[r];break}return s},is_mobile:function(){return/Mobi|Android/i.test(navigator.userAgent)},open_popup:function(t){var e=document.getElementById(t);if(e){var s=this;this.removeClass(e,"wpsr-pp-closed"),this.addClass(e,"wpsr-pp-opened"),this.removeClass(e,"wpsr-pp-slide-up"),setTimeout(function(){s.addClass(e,"wpsr-pp-slide-down")},10)}},close_popup:function(t){var e=document.getElementById(t);if(e){var s=this;this.removeClass(e,"wpsr-pp-slide-down"),this.addClass(e,"wpsr-pp-slide-up"),setTimeout(function(){s.removeClass(e,"wpsr-pp-opened"),s.addClass(e,"wpsr-pp-closed")},250)}},copy:function(t){var e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e)}},document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".socializer.sr-popup a");for(f=0;f<t.length;f++){var e=t[f];e.addEventListener("click",function(t){var e=this.getAttribute("href");if("comments"==this.getAttribute("data-id"))return void this.setAttribute("target","_self");"#"==e||this.hasAttribute("onclick")||null==e||wpsr_helpers.popup_window(e,"_blank",1024,576),t.preventDefault()})}if(wpsr_helpers.is_mobile()){var s=document.querySelectorAll(".socializer a[data-mobile]");for(f=0;f<s.length;f++){var e=s[f],r=e.getAttribute("data-mobile");e.setAttribute("href",r)}}var n=document.querySelector(".wpsr-sharebar");if(n){var a=n.querySelector(".socializer");n.sm_action_call=function(t){wpsr_helpers.removeClass(this,"wpsr-sb-vl"),wpsr_helpers.addClass(this,"wpsr-sb-hl"),wpsr_helpers.removeClass(a,"sr-vertical"),wpsr_helpers.addClass(a,"sr-horizontal"),wpsr_helpers.addClass(a,"sr-fluid")},n.lg_action_call=function(){wpsr_helpers.addClass(this,"wpsr-sb-vl"),wpsr_helpers.removeClass(this,"wpsr-sb-hl"),wpsr_helpers.addClass(a,"sr-vertical"),wpsr_helpers.removeClass(a,"sr-horizontal"),wpsr_helpers.removeClass(a,"sr-fluid")};var o=function(){stick_sb=document.querySelector(".wpsr-sb-vl-scontent"),stick_sb&&(stick=stick_sb.getAttribute("data-stick-to"),stick_ele=document.querySelector(stick),stick_ele&&(stick_offset=wpsr_helpers.offset(stick_ele),stick_sb.style.left=stick_offset.left+"px"))};o(),window.addEventListener("resize",o)}if(tsb=document.querySelector(".wpsr-text-sb"),tsb){window.wpsr_tsb={stext:"",startx:0,starty:0};var i={ptitle:tsb.getAttribute("data-title"),purl:tsb.getAttribute("data-url"),psurl:tsb.getAttribute("data-surl"),ptuname:tsb.getAttribute("data-tuname"),cnt_sel:tsb.getAttribute("data-content"),word_count:tsb.getAttribute("data-tcount"),comments_section:tsb.getAttribute("data-comments-section"),raw_url:tsb.getAttribute("data-url")},l=function(){var t="";return window.getSelection?t=window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&(t=document.selection.createRange().text),t},p=function(t,e){tsb.style.left=t+"px",tsb.style.top=e+"px",wpsr_helpers.addClass(tsb,"wpsr-tsb-active")},c=function(){wpsr_helpers.removeClass(tsb,"wpsr-tsb-active")},d=function(){var t=wpsr_tsb.stext,e=parseInt(i.word_count);return t=t.replace(/[^\x00-\x7F]/g,""),0==e?t:t.split(" ").slice(0,e).join(" ")},u=function(t){var e={"{title}":escape(i.ptitle),"{url}":i.purl,"{s-url}":i.psurl,"{twitter-username}":i.ptuname,"{excerpt}":escape(d()),"{comments-section}":i.comments_section,"{raw-url}":i.raw_url};for(var s in e)e.hasOwnProperty(s)&&(t=t.replace(RegExp(s,"g"),e[s]));return t};if(""!=i.cnt_sel)for(var h=i.cnt_sel.replace(/[\[\]<>"'\/\\=&%]/g,""),w=document.querySelectorAll(h),f=0;f<w.length;f++){var m=w[f];m.addEventListener("mousedown",function(t){wpsr_tsb.startx=t.pageX,wpsr_tsb.starty=t.pageY}),m.addEventListener("mouseup",function(t){var e=l();""!=e?(tsb_x=(t.pageX+parseInt(wpsr_tsb.startx))/2,tsb_y=Math.min(wpsr_tsb.starty,t.pageY),e!=wpsr_tsb.stext?(p(tsb_x,tsb_y),wpsr_tsb.stext=e):c()):c()})}document.body.addEventListener("mousedown",function(t){c()}),tsb.addEventListener("mousedown",function(t){t.stopPropagation()});for(var _=tsb.querySelectorAll("a"),f=0;f<_.length;f++){_[f].addEventListener("click",function(t){var e=this.getAttribute("data-link");if("comments"==this.getAttribute("data-id"))return this.setAttribute("target","_self"),void this.setAttribute("href",u(e));"#"!=e&&(rep_link=u(e),wpsr_helpers.popup_window(rep_link,"_blank",1024,576)),t.preventDefault()})}}var v=document.querySelectorAll(".wp-socializer");v.length>0&&["resize","load"].forEach(function(t){window.addEventListener(t,function(){for(var t=0;t<v.length;t++){var e=v[t],s=e.getAttribute("data-lg-action"),r=e.getAttribute("data-sm-action"),n=e.getAttribute("data-sm-width"),a=window.innerWidth<=n?r:s;"close"==a?wpsr_helpers.addClass(e,"wpsr-closed"):wpsr_helpers.removeClass(e,"wpsr-closed"),"hide"==a?wpsr_helpers.addClass(e,"wpsr-hide"):wpsr_helpers.removeClass(e,"wpsr-hide"),"function"==typeof e.sm_action_call&&a==r&&e.sm_action_call(),"function"==typeof e.lg_action_call&&a==s&&e.lg_action_call()}})});var b=document.querySelectorAll(".wpsr-close-btn");if(b.length>0)for(f=0;f<b.length;f++){var g=b[f];g.addEventListener("click",function(){var t=this.parentNode;t.classList.contains("wpsr-closed")?wpsr_helpers.removeClass(t,"wpsr-closed"):wpsr_helpers.addClass(t,"wpsr-closed")})}if("undefined"!=typeof wp_socializer){var y=document.querySelectorAll("[data-wpsrs]");if(y.length>0){var A={},k=wp_socializer.ajax_url+"?action=wpsr_share_count";for(f=0;f<y.length;f++){var C=y[f],x=C.getAttribute("data-wpsrs"),L=C.getAttribute("data-wpsrs-svcs").split(",");x in A||(A[x]=[]);for(j=0;j<L.length;j++)-1===A[x].indexOf(L[j])&&A[x].push(L[j])}var S=function(t){var e=JSON.parse(t.responseText),s=document.querySelectorAll('[data-wpsrs="'+t.props.forURL+'"]');for(f=0;f<s.length;f++){var r=s[f],n=r.getAttribute("data-wpsrs-svcs").split(","),a=0;for(j=0;j<n.length;j++){var o=n[j];o in e&&(a+=parseInt(e[o])||0)}a>0&&(r.innerHTML=wpsr_helpers.format_num(a))}};for(var x in A)A.hasOwnProperty(x)&&(send_data={url:x,services:A[x]},to_send="data="+JSON.stringify(send_data),wpsr_helpers.ajax(k,"POST",to_send,S,{forURL:x}))}}var E=document.querySelectorAll(".wpsr-pp-close");if(E.length>0)for(f=0;f<E.length;f++){var q=E[f];q.addEventListener("click",function(t){t.preventDefault();var e=this.getAttribute("data-id");wpsr_helpers.close_popup(e)})}window.wpsr_share_menu={set_data:function(t){try{this.data=JSON.parse(t)}catch(t){this.data={},console.log(t)}},get_param:function(t){var e={url:document.location.href,title:document.title,"short-url":document.location.href};return this.data=void 0===this.data?e:this.data,t in this.data?this.data[t]:t in e?e[t]:""},process_link:function(t){for(var e,s=/\{(.+?)\}/g;e=s.exec(t);){var r=this.get_param(e[1]);t=t.replaceAll("{"+e[1]+"}",encodeURI(r))}return t}};var z=document.querySelectorAll(".sr-share-menu a");if(z.length>0)for(f=0;f<z.length;f++){var T=z[f];T.addEventListener("click",function(){var t=this.getAttribute("data-metadata");wpsr_share_menu.set_data(t),wpsr_helpers.open_popup("wpsr-share-menu")})}var O=document.querySelectorAll(".wpsr-sm-link");if(O.length>0)for(f=0;f<O.length;f++){var D=O[f];D.addEventListener("click",function(t){t.preventDefault();var e=wpsr_helpers.is_mobile()&&this.getAttribute("data-m")?this.getAttribute("data-m"):this.getAttribute("data-d"),s=wpsr_share_menu.process_link(atob(e));if(this.classList.contains("wpsr-sml-shortlink"))return void socializer_shortlink(t,!1,s);0==s.indexOf("http")?wpsr_helpers.popup_window(s,"_blank",1024,576):window.location.href=s})}var R=document.getElementById("wpsr-sl-copy-btn");R&&R.addEventListener("click",function(t){t.preventDefault(),wpsr_helpers.copy(document.getElementById("wpsr-short-link-url").value),this.innerText=this.getAttribute("data-d");var e=this;setTimeout(function(){e.innerText=e.getAttribute("data-c")},3e3)})});
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: vaakash
|
|
3 |
Donate link: https://www.paypal.me/vaakash/6
|
4 |
Tags: social media, share, buttons, social sharing, share buttons, social profile, social widget, icons, sharing icons, sharing buttons, social share, sharing, shortcode, widget, twitter tweets, facebook page, share count, whatsapp icon, whatsapp button, instagram icon, sticky share, floating share bar
|
5 |
Requires at least: 5.0
|
6 |
-
Tested up to: 6.
|
7 |
-
Stable tag: 7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Requires PHP: 5.3
|
@@ -217,6 +217,13 @@ Please refer [this page](https://www.aakashweb.com/docs/wp-socializer/) for the
|
|
217 |
|
218 |
## Changelog
|
219 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
### 7.3.1
|
221 |
* Fix: Floating sharebar was not honoring position.
|
222 |
|
3 |
Donate link: https://www.paypal.me/vaakash/6
|
4 |
Tags: social media, share, buttons, social sharing, share buttons, social profile, social widget, icons, sharing icons, sharing buttons, social share, sharing, shortcode, widget, twitter tweets, facebook page, share count, whatsapp icon, whatsapp button, instagram icon, sticky share, floating share bar
|
5 |
Requires at least: 5.0
|
6 |
+
Tested up to: 6.1.1
|
7 |
+
Stable tag: 7.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Requires PHP: 5.3
|
217 |
|
218 |
## Changelog
|
219 |
|
220 |
+
### 7.4
|
221 |
+
* New: Option to simplify floating sharebar in small screen.
|
222 |
+
* Fix: Icons are now centered correctly.
|
223 |
+
* Fix: Share menu link color is overridden sometimes.
|
224 |
+
* Fix: Share link popup window size is increased.
|
225 |
+
* Fix: Styling issues with ribbon and drop icon shapes.
|
226 |
+
|
227 |
### 7.3.1
|
228 |
* Fix: Floating sharebar was not honoring position.
|
229 |
|
wpsr.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
* Plugin Name: WP Socializer
|
4 |
* Plugin URI: https://www.aakashweb.com/wordpress-plugins/wp-socializer/
|
5 |
* Description: Add various social media sharing features to posts/pages/widgets like social media share icons, floating/sticky share bar, follow my profile icons and more.
|
6 |
-
* Version: 7.
|
7 |
* Author: Aakash Chakravarthy
|
8 |
* Author URI: https://www.aakashweb.com
|
9 |
* Text Domain: wp-socializer
|
10 |
* Domain Path: /languages
|
11 |
*/
|
12 |
|
13 |
-
define( 'WPSR_VERSION', '7.
|
14 |
define( 'WPSR_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash
|
15 |
define( 'WPSR_URL', plugin_dir_url( __FILE__ ) );
|
16 |
define( 'WPSR_ADMIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) . 'admin' ) );
|
3 |
* Plugin Name: WP Socializer
|
4 |
* Plugin URI: https://www.aakashweb.com/wordpress-plugins/wp-socializer/
|
5 |
* Description: Add various social media sharing features to posts/pages/widgets like social media share icons, floating/sticky share bar, follow my profile icons and more.
|
6 |
+
* Version: 7.4
|
7 |
* Author: Aakash Chakravarthy
|
8 |
* Author URI: https://www.aakashweb.com
|
9 |
* Text Domain: wp-socializer
|
10 |
* Domain Path: /languages
|
11 |
*/
|
12 |
|
13 |
+
define( 'WPSR_VERSION', '7.4' );
|
14 |
define( 'WPSR_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash
|
15 |
define( 'WPSR_URL', plugin_dir_url( __FILE__ ) );
|
16 |
define( 'WPSR_ADMIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) . 'admin' ) );
|