Version Description
- Fix: Improved the look of "floating sharebar" editor based on the sharebar type.
- New: Added option to select floating sharebar position when in mobile mode.
- New: Added support to execute shortcodes in "Custom HTML" button.
Download this release
Release Info
Developer | vaakash |
Plugin | WP Socializer |
Version | 4.1.8 |
Comparing to | |
See all releases |
Code changes from version 4.1.7 to 4.1.8
- admin/admin.php +2 -2
- admin/css/style.css +36 -12
- admin/js/script.js +19 -0
- admin/sharebar.php +9 -0
- core/lists.php +1 -0
- core/templates.php +2 -0
- public/css/wp-socializer.css +4 -0
- public/css/wp-socializer.min.css +1 -1
- public/css/wpsr.min.css +1 -1
- readme.txt +6 -1
- services/html.php +4 -2
- wpsr.php +2 -2
admin/admin.php
CHANGED
@@ -733,8 +733,8 @@ class WPSR_Admin{
|
|
733 |
<p><img src="' . WPSR_ADMIN_URL . '/images/icons/aakash-web.png" /> Created by <a href="https://goo.gl/aHKnsM" target="_blank">Aakash Chakravarthy</a> - Follow me on <a href="https://twitter.com/vaakash", target="_blank">Twitter</a>, <a href="https://fb.com/aakashweb" target="_blank">Facebook</a>, <a href="https://www.linkedin.com/in/vaakash/" target="_blank">LinkedIn</a>. Check out <a href="https://goo.gl/OAxx4l" target="_blank">my other works</a>.</p>
|
734 |
</div>';
|
735 |
|
736 |
-
echo '<div class="ufw"><a href="https://www.aakashweb.com/wordpress-plugins/ultimate-floating-widgets/" target="_blank"
|
737 |
-
<img src="' . WPSR_ADMIN_URL . '/images/icons/ufw.png"></a>
|
738 |
</div>';
|
739 |
|
740 |
}
|
733 |
<p><img src="' . WPSR_ADMIN_URL . '/images/icons/aakash-web.png" /> Created by <a href="https://goo.gl/aHKnsM" target="_blank">Aakash Chakravarthy</a> - Follow me on <a href="https://twitter.com/vaakash", target="_blank">Twitter</a>, <a href="https://fb.com/aakashweb" target="_blank">Facebook</a>, <a href="https://www.linkedin.com/in/vaakash/" target="_blank">LinkedIn</a>. Check out <a href="https://goo.gl/OAxx4l" target="_blank">my other works</a>.</p>
|
734 |
</div>';
|
735 |
|
736 |
+
echo '<div class="ufw" data-htip="A plugin to float your WordPress widgets"><a href="https://www.aakashweb.com/wordpress-plugins/ultimate-floating-widgets/" target="_blank">
|
737 |
+
<img src="' . WPSR_ADMIN_URL . '/images/icons/ufw.png"><span>Ultimate floating widgets</span></a>
|
738 |
</div>';
|
739 |
|
740 |
}
|
admin/css/style.css
CHANGED
@@ -524,6 +524,18 @@ h1.wpsr_title a i{
|
|
524 |
.vedit_wrap{
|
525 |
margin: 0;
|
526 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
527 |
.vedit_menu{
|
528 |
margin: 15px 0 0 0;
|
529 |
}
|
@@ -531,12 +543,12 @@ h1.wpsr_title a i{
|
|
531 |
margin: 0 15px 0 0;
|
532 |
}
|
533 |
|
534 |
-
|
535 |
.veditor{
|
536 |
-
border:
|
537 |
padding: 0;
|
538 |
background: #fff;
|
539 |
clear: both;
|
|
|
540 |
-webkit-user-select: none;
|
541 |
-moz-user-select: none;
|
542 |
user-select: none;
|
@@ -565,7 +577,8 @@ h1.wpsr_title a i{
|
|
565 |
opacity: 0.2;
|
566 |
position: absolute;
|
567 |
left: 50%;
|
568 |
-
top:
|
|
|
569 |
}
|
570 |
.veditor > *{
|
571 |
position: relative;
|
@@ -1301,11 +1314,6 @@ select[name="ft_status"]{
|
|
1301 |
margin-left: 10px;
|
1302 |
}
|
1303 |
|
1304 |
-
.custom_html_editor{
|
1305 |
-
width: 100%;
|
1306 |
-
}
|
1307 |
-
|
1308 |
-
|
1309 |
.template_tab{
|
1310 |
display: flex;
|
1311 |
margin-bottom: 30px;
|
@@ -1476,7 +1484,9 @@ select[name="ft_status"]{
|
|
1476 |
}
|
1477 |
|
1478 |
.custom_html_editor{
|
|
|
1479 |
padding: 10px;
|
|
|
1480 |
}
|
1481 |
.toggle_html_editor_btn{
|
1482 |
float: right;
|
@@ -1532,8 +1542,11 @@ select[name="ft_status"]{
|
|
1532 |
|
1533 |
.ufw{
|
1534 |
position: fixed;
|
1535 |
-
right:
|
1536 |
-
|
|
|
|
|
|
|
1537 |
}
|
1538 |
.ufw img{
|
1539 |
width: 48px;
|
@@ -1541,9 +1554,17 @@ select[name="ft_status"]{
|
|
1541 |
box-shadow: 0 0 2px 0px;
|
1542 |
border-radius: 50%;
|
1543 |
border: 2px solid #fff;
|
|
|
|
|
|
|
|
|
|
|
1544 |
}
|
1545 |
-
.ufw
|
1546 |
-
|
|
|
|
|
|
|
1547 |
}
|
1548 |
|
1549 |
/** Misc **/
|
@@ -1606,4 +1627,7 @@ select[name="ft_status"]{
|
|
1606 |
.coffee_box{
|
1607 |
background: #fff;
|
1608 |
}
|
|
|
|
|
|
|
1609 |
}
|
524 |
.vedit_wrap{
|
525 |
margin: 0;
|
526 |
}
|
527 |
+
.vedit_wrap.vertical .veditor{
|
528 |
+
width: 250px;
|
529 |
+
margin: 0 auto;
|
530 |
+
border-radius: 10px;
|
531 |
+
}
|
532 |
+
.vedit_wrap.vertical .veditor ul{
|
533 |
+
min-height: 200px;
|
534 |
+
}
|
535 |
+
.vedit_wrap.vertical .veditor ul li{
|
536 |
+
float: none !important;
|
537 |
+
margin: 15px auto;
|
538 |
+
}
|
539 |
.vedit_menu{
|
540 |
margin: 15px 0 0 0;
|
541 |
}
|
543 |
margin: 0 15px 0 0;
|
544 |
}
|
545 |
|
|
|
546 |
.veditor{
|
547 |
+
border: 2px dashed #DEDEDE;
|
548 |
padding: 0;
|
549 |
background: #fff;
|
550 |
clear: both;
|
551 |
+
margin: 30px 0;
|
552 |
-webkit-user-select: none;
|
553 |
-moz-user-select: none;
|
554 |
user-select: none;
|
577 |
opacity: 0.2;
|
578 |
position: absolute;
|
579 |
left: 50%;
|
580 |
+
top: 50%;
|
581 |
+
transform: translate(-50%, -56%);
|
582 |
}
|
583 |
.veditor > *{
|
584 |
position: relative;
|
1314 |
margin-left: 10px;
|
1315 |
}
|
1316 |
|
|
|
|
|
|
|
|
|
|
|
1317 |
.template_tab{
|
1318 |
display: flex;
|
1319 |
margin-bottom: 30px;
|
1484 |
}
|
1485 |
|
1486 |
.custom_html_editor{
|
1487 |
+
font-family: monospace;
|
1488 |
padding: 10px;
|
1489 |
+
width: 100%;
|
1490 |
}
|
1491 |
.toggle_html_editor_btn{
|
1492 |
float: right;
|
1542 |
|
1543 |
.ufw{
|
1544 |
position: fixed;
|
1545 |
+
right: 50px;
|
1546 |
+
top: 50%;
|
1547 |
+
width: 55px;
|
1548 |
+
text-align: center;
|
1549 |
+
transform: translateY(-50%);
|
1550 |
}
|
1551 |
.ufw img{
|
1552 |
width: 48px;
|
1554 |
box-shadow: 0 0 2px 0px;
|
1555 |
border-radius: 50%;
|
1556 |
border: 2px solid #fff;
|
1557 |
+
transition: all 0.2s;
|
1558 |
+
}
|
1559 |
+
.ufw:hover img{
|
1560 |
+
transform: scale(1.1) translateY(-10px);
|
1561 |
+
box-shadow: 0 2px 5px -1px #000;
|
1562 |
}
|
1563 |
+
.ufw a{
|
1564 |
+
text-decoration: none;
|
1565 |
+
}
|
1566 |
+
.ufw a:hover{
|
1567 |
+
text-decoration: underline;
|
1568 |
}
|
1569 |
|
1570 |
/** Misc **/
|
1627 |
.coffee_box{
|
1628 |
background: #fff;
|
1629 |
}
|
1630 |
+
.ufw{
|
1631 |
+
display: none;
|
1632 |
+
}
|
1633 |
}
|
admin/js/script.js
CHANGED
@@ -64,6 +64,8 @@ jQuery(document).ready(function(){
|
|
64 |
|
65 |
wpsr_init_image_selects();
|
66 |
|
|
|
|
|
67 |
}
|
68 |
|
69 |
var loc_generate_rules = function(){
|
@@ -451,6 +453,19 @@ jQuery(document).ready(function(){
|
|
451 |
window.wpsr_bp = false;
|
452 |
}
|
453 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
454 |
// Attach the events
|
455 |
|
456 |
$(document).on( 'click', '.btn_selector .sbox_action', function(){
|
@@ -734,6 +749,10 @@ jQuery(document).ready(function(){
|
|
734 |
wpsr_sharebar_preview_close();
|
735 |
});
|
736 |
|
|
|
|
|
|
|
|
|
737 |
//social icons item properties
|
738 |
$current_item = '';
|
739 |
|
64 |
|
65 |
wpsr_init_image_selects();
|
66 |
|
67 |
+
set_sharebar_preview();
|
68 |
+
|
69 |
}
|
70 |
|
71 |
var loc_generate_rules = function(){
|
453 |
window.wpsr_bp = false;
|
454 |
}
|
455 |
|
456 |
+
var set_sharebar_preview = function(){
|
457 |
+
var $type = $('#sharebar_settings select[name="type"]');
|
458 |
+
var $vedit = $('.vedit_wrap');
|
459 |
+
if( $type.length == 0 ){
|
460 |
+
return false;
|
461 |
+
}
|
462 |
+
if( $type.val() == 'vertical' ){
|
463 |
+
$vedit.addClass('vertical');
|
464 |
+
}else{
|
465 |
+
$vedit.removeClass('vertical');
|
466 |
+
}
|
467 |
+
}
|
468 |
+
|
469 |
// Attach the events
|
470 |
|
471 |
$(document).on( 'click', '.btn_selector .sbox_action', function(){
|
749 |
wpsr_sharebar_preview_close();
|
750 |
});
|
751 |
|
752 |
+
$(document).on('change', '#sharebar_settings select[name="type"]', function(){
|
753 |
+
set_sharebar_preview();
|
754 |
+
});
|
755 |
+
|
756 |
//social icons item properties
|
757 |
$current_item = '';
|
758 |
|
admin/sharebar.php
CHANGED
@@ -179,6 +179,15 @@ class wpsr_admin_sharebar{
|
|
179 |
'placeholder' => __( 'Enter CSS class name separated by comma', 'wpsr' ),
|
180 |
))),
|
181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
array( __( 'Minimize when screen width is less than', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
183 |
'name' => 'min_on_width',
|
184 |
'value' => $values['min_on_width'],
|
179 |
'placeholder' => __( 'Enter CSS class name separated by comma', 'wpsr' ),
|
180 |
))),
|
181 |
|
182 |
+
array( __( 'Open/close button when in mobile mode', 'wpsr' ), WPSR_Admin::field( 'select', array(
|
183 |
+
'name' => 'vl_mob_mode_pos',
|
184 |
+
'value' => $values['vl_mob_mode_pos'],
|
185 |
+
'list' => array(
|
186 |
+
'left' => __( 'Left side', 'wpsr'),
|
187 |
+
'right' => __( 'Right side', 'wpsr')
|
188 |
+
),
|
189 |
+
)), 'data-conditioner data-condr-input="[name=type]" data-condr-value="vertical" data-condr-action="simple?show:hide" data-condr-events="change" '),
|
190 |
+
|
191 |
array( __( 'Minimize when screen width is less than', 'wpsr' ), WPSR_Admin::field( 'text', array(
|
192 |
'name' => 'min_on_width',
|
193 |
'value' => $values['min_on_width'],
|
core/lists.php
CHANGED
@@ -694,6 +694,7 @@ class WPSR_Lists{
|
|
694 |
'bg_color' => '#ffffff',
|
695 |
'border_color' => '#cccccc',
|
696 |
'init_state' => 'open',
|
|
|
697 |
'min_on_width' => '0',
|
698 |
'loc_rules' => array(
|
699 |
'type' => 'show_all',
|
694 |
'bg_color' => '#ffffff',
|
695 |
'border_color' => '#cccccc',
|
696 |
'init_state' => 'open',
|
697 |
+
'vl_mob_mode_pos' => 'left',
|
698 |
'min_on_width' => '0',
|
699 |
'loc_rules' => array(
|
700 |
'type' => 'show_all',
|
core/templates.php
CHANGED
@@ -168,11 +168,13 @@ class WPSR_Template_Sharebar{
|
|
168 |
}else{
|
169 |
array_push( $classes, 'wpsr-sb-vl-' . $opts[ 'vl_position' ] );
|
170 |
array_push( $classes, 'wpsr-sb-vl-' . $opts[ 'vl_movement' ] );
|
|
|
171 |
array_push( $styles, ( $opts[ 'vl_position' ] == 'wleft' ? 'left' : ( $opts[ 'vl_position' ] == 'scontent' ) ? 'margin-left' : 'right' ) . ':' . $opts[ 'offset' ] );
|
172 |
}
|
173 |
|
174 |
array_push( $classes, 'wpsr-sb-' . ( $opts[ 'type' ] == 'horizontal' ? 'hl' : 'vl' ) );
|
175 |
array_push( $classes, 'wpsr-sb-' . $opts[ 'theme' ] );
|
|
|
176 |
$classes = array_merge( $classes, explode( ',', $opts[ 'css_class' ] ) );
|
177 |
|
178 |
if( $opts[ 'bg_color' ] != '' )
|
168 |
}else{
|
169 |
array_push( $classes, 'wpsr-sb-vl-' . $opts[ 'vl_position' ] );
|
170 |
array_push( $classes, 'wpsr-sb-vl-' . $opts[ 'vl_movement' ] );
|
171 |
+
array_push( $classes, 'wpsr-sb-mobmode-' . $opts[ 'vl_mob_mode_pos' ]);
|
172 |
array_push( $styles, ( $opts[ 'vl_position' ] == 'wleft' ? 'left' : ( $opts[ 'vl_position' ] == 'scontent' ) ? 'margin-left' : 'right' ) . ':' . $opts[ 'offset' ] );
|
173 |
}
|
174 |
|
175 |
array_push( $classes, 'wpsr-sb-' . ( $opts[ 'type' ] == 'horizontal' ? 'hl' : 'vl' ) );
|
176 |
array_push( $classes, 'wpsr-sb-' . $opts[ 'theme' ] );
|
177 |
+
|
178 |
$classes = array_merge( $classes, explode( ',', $opts[ 'css_class' ] ) );
|
179 |
|
180 |
if( $opts[ 'bg_color' ] != '' )
|
public/css/wp-socializer.css
CHANGED
@@ -486,6 +486,10 @@
|
|
486 |
height: 50px;
|
487 |
padding: 0;
|
488 |
}
|
|
|
|
|
|
|
|
|
489 |
.wpsr-sb-simple-ns{
|
490 |
background: #fff;
|
491 |
border: 1px solid #dfdfdf;
|
486 |
height: 50px;
|
487 |
padding: 0;
|
488 |
}
|
489 |
+
.wpsr-sb-vl.wpsr-sb-mobmode-right{
|
490 |
+
right: 0 !important;
|
491 |
+
left: auto !important;
|
492 |
+
}
|
493 |
.wpsr-sb-simple-ns{
|
494 |
background: #fff;
|
495 |
border: 1px solid #dfdfdf;
|
public/css/wp-socializer.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wp-socializer:after{clear:both;content:'';display:block}.wpsr-buttons{display:block;margin:0 0 1.5em 0}.wpsr-buttons .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-buttons .wpsr-btn:last-child{margin-right:0}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:9999}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:9999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-btn{margin-bottom:1em;display:block}.wpsr-sb-vl .wpsr-btn:last-child{margin:0}.wpsr-sb-vl-wleft{left:0}.wpsr-sb-vl-wright{right:0}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{left:50%;transform:translateX(-50%);position:fixed}.wpsr-sb-hl .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-sb-hl .wpsr-btn:last-child{margin:0}.wpsr-sb-hl-wtop{top:0}.wpsr-sb-hl-wbottom{bottom: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-sq{padding:10px;text-align:center;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple-ns{text-align:center;border:1px solid transparent}.wpsr-sharebar::-webkit-scrollbar{width:5px;height:5px}.wpsr-sharebar::-webkit-scrollbar-thumb{background:#aaa;border-radius:10px}.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{right:0;transform:translate(100%,-50%);top:50%}.wpsr-mow.wpsr-sharebar{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-mow.wpsr-sharebar .wpsr-sb-inner{display:none}.wpsr-mow.wpsr-sharebar .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}.wpsr-counter .scount{font-size:2em;font-weight:bold}.wpsr-counter .stext{display:block;line-height:1em;color:#888;text-transform:uppercase;font-size:1em;margin-top:-0.15em}.wpsr-counter.wpsrc-hl{line-height:1em;font-size:18px}.wpsr-counter.wpsrc-hl .scount{font-size:1em;margin-right:0.25em}.wpsr-counter.wpsrc-hl .stext{display:inline-block;font-size:0.8em}.socializer span.sr-cicon a{background:none;border:none}.wpsr-followbar{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-followbar div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-followbar.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-followbar.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-followbar.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-followbar:hover .wpsr-fb-close{display:block}.wpsr-mow.wpsr-followbar .sr-fb-title{display:none}.wpsr-mow.wpsr-followbar .sr-followbar{display:none}.wpsr-mow.wpsr-followbar .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-mow.sr-fb-tl .wpsr-fb-close,.wpsr-mow.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))}.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-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-mobile-sb{position:fixed;bottom:0;left:0;right:0;line-height:0;background:#fff;box-shadow:0 3px 5px 3px #000;transition:margin 1s ease-out;margin-bottom:0;z-index:9999}.wpsr-mobile-sb.wpsr-msb-hide{transition:margin 2s ease-out;margin-bottom:-68px}.wpsr-mow.wpsr-buttons{display:none}.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-mow .wpsr-bar-icon .i-close{display:none}.wpsr-mow .wpsr-bar-icon .i-open{display:block}.wpsr-mow .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-btn .fb_iframe_widget{margin-bottom:0}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}@media only screen and (max-width:800px){.wpsr-sb-hl{bottom:0!important;top:auto!important;left:-1px!important;right:-1px!important;border-radius:0;overflow:auto;transform:none;padding-left:60px;max-height:84px}.wpsr-sb-hl .wpsr-sb-inner{width:100%;padding:10px}.wpsr-sb-hl .wpsr-sb-close{display:block;position:absolute;left:0;top:0;bottom:0;width:50px;transform:none;padding:0}.wpsr-sb-vl{bottom:0!important;top:0!important;left:-1px!important;right:auto!important;margin-left:0!important;border-radius:0;overflow:auto;transform:none;padding-top:60px}.wpsr-sb-vl .wpsr-sb-close{display:block;position:absolute;left:0!important;top:0;right:0;margin:0!important;transform:none;height:50px;padding:0}.wpsr-sb-simple-ns{background:#fff;border:1px solid #dfdfdf}.wpsr-mow.wpsr-sharebar{width:50px;height:50px;padding:0;overflow:hidden;border-radius:0}.wpsr-sharebar .wpsr-bar-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}
|
1 |
+
.wp-socializer:after{clear:both;content:'';display:block}.wpsr-buttons{display:block;margin:0 0 1.5em 0}.wpsr-buttons .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-buttons .wpsr-btn:last-child{margin-right:0}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:9999}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:9999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-btn{margin-bottom:1em;display:block}.wpsr-sb-vl .wpsr-btn:last-child{margin:0}.wpsr-sb-vl-wleft{left:0}.wpsr-sb-vl-wright{right:0}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{left:50%;transform:translateX(-50%);position:fixed}.wpsr-sb-hl .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-sb-hl .wpsr-btn:last-child{margin:0}.wpsr-sb-hl-wtop{top:0}.wpsr-sb-hl-wbottom{bottom: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-sq{padding:10px;text-align:center;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple-ns{text-align:center;border:1px solid transparent}.wpsr-sharebar::-webkit-scrollbar{width:5px;height:5px}.wpsr-sharebar::-webkit-scrollbar-thumb{background:#aaa;border-radius:10px}.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{right:0;transform:translate(100%,-50%);top:50%}.wpsr-mow.wpsr-sharebar{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-mow.wpsr-sharebar .wpsr-sb-inner{display:none}.wpsr-mow.wpsr-sharebar .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}.wpsr-counter .scount{font-size:2em;font-weight:bold}.wpsr-counter .stext{display:block;line-height:1em;color:#888;text-transform:uppercase;font-size:1em;margin-top:-0.15em}.wpsr-counter.wpsrc-hl{line-height:1em;font-size:18px}.wpsr-counter.wpsrc-hl .scount{font-size:1em;margin-right:0.25em}.wpsr-counter.wpsrc-hl .stext{display:inline-block;font-size:0.8em}.socializer span.sr-cicon a{background:none;border:none}.wpsr-followbar{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-followbar div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-followbar.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-followbar.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-followbar.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-followbar:hover .wpsr-fb-close{display:block}.wpsr-mow.wpsr-followbar .sr-fb-title{display:none}.wpsr-mow.wpsr-followbar .sr-followbar{display:none}.wpsr-mow.wpsr-followbar .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-mow.sr-fb-tl .wpsr-fb-close,.wpsr-mow.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))}.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-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-mobile-sb{position:fixed;bottom:0;left:0;right:0;line-height:0;background:#fff;box-shadow:0 3px 5px 3px #000;transition:margin 1s ease-out;margin-bottom:0;z-index:9999}.wpsr-mobile-sb.wpsr-msb-hide{transition:margin 2s ease-out;margin-bottom:-68px}.wpsr-mow.wpsr-buttons{display:none}.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-mow .wpsr-bar-icon .i-close{display:none}.wpsr-mow .wpsr-bar-icon .i-open{display:block}.wpsr-mow .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-btn .fb_iframe_widget{margin-bottom:0}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}@media only screen and (max-width:800px){.wpsr-sb-hl{bottom:0!important;top:auto!important;left:-1px!important;right:-1px!important;border-radius:0;overflow:auto;transform:none;padding-left:60px;max-height:84px}.wpsr-sb-hl .wpsr-sb-inner{width:100%;padding:10px}.wpsr-sb-hl .wpsr-sb-close{display:block;position:absolute;left:0;top:0;bottom:0;width:50px;transform:none;padding:0}.wpsr-sb-vl{bottom:0!important;top:0!important;left:-1px!important;right:auto!important;margin-left:0!important;border-radius:0;overflow:auto;transform:none;padding-top:60px}.wpsr-sb-vl .wpsr-sb-close{display:block;position:absolute;left:0!important;top:0;right:0;margin:0!important;transform:none;height:50px;padding:0}.wpsr-sb-vl.wpsr-sb-mobmode-right{right:0!important;left:auto!important}.wpsr-sb-simple-ns{background:#fff;border:1px solid #dfdfdf}.wpsr-mow.wpsr-sharebar{width:50px;height:50px;padding:0;overflow:hidden;border-radius:0}.wpsr-sharebar .wpsr-bar-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}
|
public/css/wpsr.min.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
.wp-socializer:after{clear:both;content:'';display:block}.wpsr-buttons{display:block;margin:0 0 1.5em 0}.wpsr-buttons .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-buttons .wpsr-btn:last-child{margin-right:0}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:9999}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:9999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-btn{margin-bottom:1em;display:block}.wpsr-sb-vl .wpsr-btn:last-child{margin:0}.wpsr-sb-vl-wleft{left:0}.wpsr-sb-vl-wright{right:0}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{left:50%;transform:translateX(-50%);position:fixed}.wpsr-sb-hl .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-sb-hl .wpsr-btn:last-child{margin:0}.wpsr-sb-hl-wtop{top:0}.wpsr-sb-hl-wbottom{bottom: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-sq{padding:10px;text-align:center;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple-ns{text-align:center;border:1px solid transparent}.wpsr-sharebar::-webkit-scrollbar{width:5px;height:5px}.wpsr-sharebar::-webkit-scrollbar-thumb{background:#aaa;border-radius:10px}.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{right:0;transform:translate(100%,-50%);top:50%}.wpsr-mow.wpsr-sharebar{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-mow.wpsr-sharebar .wpsr-sb-inner{display:none}.wpsr-mow.wpsr-sharebar .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}.wpsr-counter .scount{font-size:2em;font-weight:bold}.wpsr-counter .stext{display:block;line-height:1em;color:#888;text-transform:uppercase;font-size:1em;margin-top:-0.15em}.wpsr-counter.wpsrc-hl{line-height:1em;font-size:18px}.wpsr-counter.wpsrc-hl .scount{font-size:1em;margin-right:0.25em}.wpsr-counter.wpsrc-hl .stext{display:inline-block;font-size:0.8em}.socializer span.sr-cicon a{background:none;border:none}.wpsr-followbar{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-followbar div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-followbar.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-followbar.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-followbar.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-followbar:hover .wpsr-fb-close{display:block}.wpsr-mow.wpsr-followbar .sr-fb-title{display:none}.wpsr-mow.wpsr-followbar .sr-followbar{display:none}.wpsr-mow.wpsr-followbar .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-mow.sr-fb-tl .wpsr-fb-close,.wpsr-mow.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))}.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-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-mobile-sb{position:fixed;bottom:0;left:0;right:0;line-height:0;background:#fff;box-shadow:0 3px 5px 3px #000;transition:margin 1s ease-out;margin-bottom:0;z-index:9999}.wpsr-mobile-sb.wpsr-msb-hide{transition:margin 2s ease-out;margin-bottom:-68px}.wpsr-mow.wpsr-buttons{display:none}.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-mow .wpsr-bar-icon .i-close{display:none}.wpsr-mow .wpsr-bar-icon .i-open{display:block}.wpsr-mow .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-btn .fb_iframe_widget{margin-bottom:0}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}@media only screen and (max-width:800px){.wpsr-sb-hl{bottom:0!important;top:auto!important;left:-1px!important;right:-1px!important;border-radius:0;overflow:auto;transform:none;padding-left:60px;max-height:84px}.wpsr-sb-hl .wpsr-sb-inner{width:100%;padding:10px}.wpsr-sb-hl .wpsr-sb-close{display:block;position:absolute;left:0;top:0;bottom:0;width:50px;transform:none;padding:0}.wpsr-sb-vl{bottom:0!important;top:0!important;left:-1px!important;right:auto!important;margin-left:0!important;border-radius:0;overflow:auto;transform:none;padding-top:60px}.wpsr-sb-vl .wpsr-sb-close{display:block;position:absolute;left:0!important;top:0;right:0;margin:0!important;transform:none;height:50px;padding:0}.wpsr-sb-simple-ns{background:#fff;border:1px solid #dfdfdf}.wpsr-mow.wpsr-sharebar{width:50px;height:50px;padding:0;overflow:hidden;border-radius:0}.wpsr-sharebar .wpsr-bar-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}
|
2 |
/*!
|
3 |
* Socializer - CSS library for social media buttons
|
4 |
* Copyright (c) 2016 Aakash Chakravarthy - www.aakashweb.com
|
1 |
+
.wp-socializer:after{clear:both;content:'';display:block}.wpsr-buttons{display:block;margin:0 0 1.5em 0}.wpsr-buttons .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-buttons .wpsr-btn:last-child{margin-right:0}.wpsr-sharebar{transition:all 0.5s;box-sizing:border-box;z-index:9999}.wpsr-sb-inner:after{content:'';display:block;clear:both}.wpsr-sb-vl{z-index:9999;max-width:82px;top:50%;transform:translateY(-50%);position:fixed}.wpsr-sb-vl .wpsr-btn{margin-bottom:1em;display:block}.wpsr-sb-vl .wpsr-btn:last-child{margin:0}.wpsr-sb-vl-wleft{left:0}.wpsr-sb-vl-wright{right:0}.wpsr-sb-vl-static{position:absolute}.wpsr-sb-hl{left:50%;transform:translateX(-50%);position:fixed}.wpsr-sb-hl .wpsr-btn{float:left;margin:0 1em 0 0;padding:0;line-height:0;display:inline-block}.wpsr-sb-hl .wpsr-btn:last-child{margin:0}.wpsr-sb-hl-wtop{top:0}.wpsr-sb-hl-wbottom{bottom: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-sq{padding:10px;text-align:center;box-shadow:0 0 5px 0 rgba(0,0,0,0.2);border:1px solid transparent}.wpsr-sb-simple-ns{text-align:center;border:1px solid transparent}.wpsr-sharebar::-webkit-scrollbar{width:5px;height:5px}.wpsr-sharebar::-webkit-scrollbar-thumb{background:#aaa;border-radius:10px}.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{right:0;transform:translate(100%,-50%);top:50%}.wpsr-mow.wpsr-sharebar{width:48px;height:48px;border-radius:50%;background:none!important;border:none!important;box-shadow:none!important}.wpsr-mow.wpsr-sharebar .wpsr-sb-inner{display:none}.wpsr-mow.wpsr-sharebar .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}.wpsr-counter .scount{font-size:2em;font-weight:bold}.wpsr-counter .stext{display:block;line-height:1em;color:#888;text-transform:uppercase;font-size:1em;margin-top:-0.15em}.wpsr-counter.wpsrc-hl{line-height:1em;font-size:18px}.wpsr-counter.wpsrc-hl .scount{font-size:1em;margin-right:0.25em}.wpsr-counter.wpsrc-hl .stext{display:inline-block;font-size:0.8em}.socializer span.sr-cicon a{background:none;border:none}.wpsr-followbar{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-followbar div.sr-fb-title{font-size:0.8em;margin:0 0 0.8em 0}.wpsr-followbar.sr-fb-hl .sr-fb-title{position:absolute;bottom:0;transform:translateX(-100%);left:-1em;top:50%;margin:0}.wpsr-followbar.sr-fb-vl{text-align:center;line-height:1.5q}.wpsr-followbar.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-followbar:hover .wpsr-fb-close{display:block}.wpsr-mow.wpsr-followbar .sr-fb-title{display:none}.wpsr-mow.wpsr-followbar .sr-followbar{display:none}.wpsr-mow.wpsr-followbar .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-mow.sr-fb-tl .wpsr-fb-close,.wpsr-mow.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))}.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-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-mobile-sb{position:fixed;bottom:0;left:0;right:0;line-height:0;background:#fff;box-shadow:0 3px 5px 3px #000;transition:margin 1s ease-out;margin-bottom:0;z-index:9999}.wpsr-mobile-sb.wpsr-msb-hide{transition:margin 2s ease-out;margin-bottom:-68px}.wpsr-mow.wpsr-buttons{display:none}.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-mow .wpsr-bar-icon .i-close{display:none}.wpsr-mow .wpsr-bar-icon .i-open{display:block}.wpsr-mow .wpsr-bar-icon{padding:5px}.wpsr-clearfix:after{display:block;clear:both;content:''}.wpsr-btn .fb_iframe_widget{margin-bottom:0}@keyframes wpsr-fadein{0%{opacity:0}100%{opacity:1}}@keyframes wpsr-fadeout{0%{opacity:1}100%{opacity:0}}@media only screen and (max-width:800px){.wpsr-sb-hl{bottom:0!important;top:auto!important;left:-1px!important;right:-1px!important;border-radius:0;overflow:auto;transform:none;padding-left:60px;max-height:84px}.wpsr-sb-hl .wpsr-sb-inner{width:100%;padding:10px}.wpsr-sb-hl .wpsr-sb-close{display:block;position:absolute;left:0;top:0;bottom:0;width:50px;transform:none;padding:0}.wpsr-sb-vl{bottom:0!important;top:0!important;left:-1px!important;right:auto!important;margin-left:0!important;border-radius:0;overflow:auto;transform:none;padding-top:60px}.wpsr-sb-vl .wpsr-sb-close{display:block;position:absolute;left:0!important;top:0;right:0;margin:0!important;transform:none;height:50px;padding:0}.wpsr-sb-vl.wpsr-sb-mobmode-right{right:0!important;left:auto!important}.wpsr-sb-simple-ns{background:#fff;border:1px solid #dfdfdf}.wpsr-mow.wpsr-sharebar{width:50px;height:50px;padding:0;overflow:hidden;border-radius:0}.wpsr-sharebar .wpsr-bar-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}
|
2 |
/*!
|
3 |
* Socializer - CSS library for social media buttons
|
4 |
* Copyright (c) 2016 Aakash Chakravarthy - www.aakashweb.com
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/vaakash/6
|
|
4 |
Tags: sharing, social media icons, share icons, share buttons, follow buttons, widgets, floating share buttons, profile buttons, mobile sharebar, profile icons, social bar, share counter, excerpt, shortcode, linkedin, pinterest, pocket, reddit, sharethis, addthis, whatsapp, tweet, vkontakte, socializer, wp socializer, weibo, line, mix, odnoklassniki, renren, skype
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 5.2.2
|
7 |
-
Stable tag: 4.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -223,6 +223,11 @@ Please refer [this page](https://goo.gl/Ge7riC) for the full list of FAQs.
|
|
223 |
|
224 |
== Changelog ==
|
225 |
|
|
|
|
|
|
|
|
|
|
|
226 |
= 4.1.7 =
|
227 |
* Fix: Setup templates with transparent background were not retained after button settings were saved.
|
228 |
* Fix: Page title with hashtag was not forwarded properly to share sites.
|
4 |
Tags: sharing, social media icons, share icons, share buttons, follow buttons, widgets, floating share buttons, profile buttons, mobile sharebar, profile icons, social bar, share counter, excerpt, shortcode, linkedin, pinterest, pocket, reddit, sharethis, addthis, whatsapp, tweet, vkontakte, socializer, wp socializer, weibo, line, mix, odnoklassniki, renren, skype
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 5.2.2
|
7 |
+
Stable tag: 4.1.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
223 |
|
224 |
== Changelog ==
|
225 |
|
226 |
+
= 4.1.8 =
|
227 |
+
* Fix: Improved the look of "floating sharebar" editor based on the sharebar type.
|
228 |
+
* New: Added option to select floating sharebar position when in mobile mode.
|
229 |
+
* New: Added support to execute shortcodes in "Custom HTML" button.
|
230 |
+
|
231 |
= 4.1.7 =
|
232 |
* Fix: Setup templates with transparent background were not retained after button settings were saved.
|
233 |
* Fix: Page title with hashtag was not forwarded properly to share sites.
|
services/html.php
CHANGED
@@ -50,7 +50,8 @@ class wpsr_service_html{
|
|
50 |
array_push( $tags, '{' . $id . '}' );
|
51 |
array_push( $replace_with, $val );
|
52 |
}
|
53 |
-
$
|
|
|
54 |
|
55 |
$out['html'] = balanceTags( $final_html );
|
56 |
$out['includes'] = array();
|
@@ -118,7 +119,8 @@ wpsr_load_js( "wpsr_tbg_js", "' . WPSR_ADMIN_URL . 'js/trumbowyg/trumbowyg.min.j
|
|
118 |
';
|
119 |
|
120 |
echo '<h4>' . __( 'Note', 'wpsr' ) . ':</h4>';
|
121 |
-
echo __( 'Placeholders <code>{url}</code> and <code>{title}</code> can be used in the HTML to replace them with post URL and title respectively', 'wpsr' );
|
|
|
122 |
|
123 |
}
|
124 |
|
50 |
array_push( $tags, '{' . $id . '}' );
|
51 |
array_push( $replace_with, $val );
|
52 |
}
|
53 |
+
$html = do_shortcode( $settings[ 'html' ] );
|
54 |
+
$final_html = str_replace( $tags, $replace_with, $html );
|
55 |
|
56 |
$out['html'] = balanceTags( $final_html );
|
57 |
$out['includes'] = array();
|
119 |
';
|
120 |
|
121 |
echo '<h4>' . __( 'Note', 'wpsr' ) . ':</h4>';
|
122 |
+
echo '<p>' . __( 'Placeholders <code>{url}</code> and <code>{title}</code> can be used in the HTML to replace them with post URL and title respectively', 'wpsr' ) . '</p>';
|
123 |
+
echo '<p>' . __( 'Supports shortcodes.', 'wpsr' ) . '</p>';
|
124 |
|
125 |
}
|
126 |
|
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: WP Socializer is an all in one complete social media plugin to add native social media buttons, icons, floating sharebar, follow us buttons, profile icons, mobile sharebar and selected text share popups easily with complete control and customization.
|
6 |
-
* Version: 4.1.
|
7 |
* Author: Aakash Chakravarthy
|
8 |
* Author URI: https://www.aakashweb.com
|
9 |
* Text Domain: wpsr
|
10 |
* Domain Path: /languages
|
11 |
*/
|
12 |
|
13 |
-
define( 'WPSR_VERSION', '4.1.
|
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: WP Socializer is an all in one complete social media plugin to add native social media buttons, icons, floating sharebar, follow us buttons, profile icons, mobile sharebar and selected text share popups easily with complete control and customization.
|
6 |
+
* Version: 4.1.8
|
7 |
* Author: Aakash Chakravarthy
|
8 |
* Author URI: https://www.aakashweb.com
|
9 |
* Text Domain: wpsr
|
10 |
* Domain Path: /languages
|
11 |
*/
|
12 |
|
13 |
+
define( 'WPSR_VERSION', '4.1.8' );
|
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' ) );
|