Version Description
- Fix: Mobile sharebar some link parameters not being resolved.
- Fix: Text sharebar sometimes goes behind main content.
- Fix: Title with special characters are not escaped correctly for text sharebar.
- Fix: Quotes text is not passed correctly to certain social icons in text sharebar.
- Fix: Admin page style issues with WordPress 5.3.
- Fix: Added widgets link to admin navigation menu.
- New: Added WhatsApp to text sharebar.
Download this release
Release Info
Developer | vaakash |
Plugin | WP Socializer |
Version | 4.1.9 |
Comparing to | |
See all releases |
Code changes from version 4.1.8 to 4.1.9
- admin/admin.php +3 -3
- admin/css/style.css +43 -8
- admin/css/style_widgets.css +5 -0
- admin/images/banners/ufw.png +0 -0
- admin/setup.php +1 -0
- admin/widgets.php +4 -2
- core/lists.php +5 -2
- core/templates.php +7 -1
- public/css/wp-socializer.css +1 -0
- public/css/wp-socializer.min.css +1 -1
- public/css/wpsr.min.css +1 -1
- public/js/wp-socializer.js +2 -2
- public/js/wp-socializer.min.js +1 -1
- readme.txt +11 -2
- wpsr.php +2 -2
admin/admin.php
CHANGED
@@ -49,7 +49,7 @@ class WPSR_Admin{
|
|
49 |
add_submenu_page( 'wp_socializer', 'WP Socializer - Admin page', 'Home', 'manage_options', 'wp_socializer', array( __CLASS__, 'admin_page' ) );
|
50 |
|
51 |
foreach( $pages as $id=>$config ){
|
52 |
-
if( !isset( $config[ '
|
53 |
add_submenu_page( 'wp_socializer', 'WP Socializer - ' . $config[ 'name' ], $config[ 'name' ], 'manage_options', 'wp_socializer&tab="' . $id . '"', array( __CLASS__, 'admin_page' ) );
|
54 |
}
|
55 |
}
|
@@ -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"
|
737 |
-
<img src="' . WPSR_ADMIN_URL . '/images/icons/ufw.png"><span>Ultimate floating widgets</span></a>
|
738 |
</div>';
|
739 |
|
740 |
}
|
49 |
add_submenu_page( 'wp_socializer', 'WP Socializer - Admin page', 'Home', 'manage_options', 'wp_socializer', array( __CLASS__, 'admin_page' ) );
|
50 |
|
51 |
foreach( $pages as $id=>$config ){
|
52 |
+
if( !isset( $config[ 'hide_in_nav' ] ) ){
|
53 |
add_submenu_page( 'wp_socializer', 'WP Socializer - ' . $config[ 'name' ], $config[ 'name' ], 'manage_options', 'wp_socializer&tab="' . $id . '"', array( __CLASS__, 'admin_page' ) );
|
54 |
}
|
55 |
}
|
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" class="icon"><span>Ultimate floating widgets</span><div class="banner"><img src="' . WPSR_ADMIN_URL . '/images/banners/ufw.png"/><em>A plugin to float your sidebar widgets. Check it out <i class="fas fa-arrow-right"></i></em></div></a>
|
738 |
</div>';
|
739 |
|
740 |
}
|
admin/css/style.css
CHANGED
@@ -1191,6 +1191,7 @@ select[name="ft_status"]{
|
|
1191 |
font-size: 20px;
|
1192 |
height: 40px !important;
|
1193 |
padding: 5px !important;
|
|
|
1194 |
}
|
1195 |
.ssb_add{
|
1196 |
height: 38px !important;
|
@@ -1346,11 +1347,11 @@ select[name="ft_status"]{
|
|
1346 |
.admin_links a{
|
1347 |
background: #fff;
|
1348 |
border-radius: 5px;
|
1349 |
-
padding: 10px
|
1350 |
margin: 0 0 0 10px;
|
1351 |
text-decoration: none;
|
1352 |
-
|
1353 |
-
|
1354 |
}
|
1355 |
.admin_links a:hover{
|
1356 |
background: #dfdfdf;
|
@@ -1516,12 +1517,13 @@ select[name="ft_status"]{
|
|
1516 |
.coffee_box{
|
1517 |
padding: 25px;
|
1518 |
border: 1px solid #4CAF50;
|
1519 |
-
padding-left:
|
1520 |
background: url(../images/icons/coffee.svg) no-repeat;
|
1521 |
border-radius: 5px;
|
1522 |
background-position: 30px center;
|
1523 |
margin-bottom: 15px;
|
1524 |
-
background-size:
|
|
|
1525 |
}
|
1526 |
.coffee_box h2{
|
1527 |
font-size: 22px;
|
@@ -1548,15 +1550,15 @@ select[name="ft_status"]{
|
|
1548 |
text-align: center;
|
1549 |
transform: translateY(-50%);
|
1550 |
}
|
1551 |
-
.ufw
|
1552 |
width: 48px;
|
1553 |
height: 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
|
1560 |
transform: scale(1.1) translateY(-10px);
|
1561 |
box-shadow: 0 2px 5px -1px #000;
|
1562 |
}
|
@@ -1566,6 +1568,39 @@ select[name="ft_status"]{
|
|
1566 |
.ufw a:hover{
|
1567 |
text-decoration: underline;
|
1568 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1569 |
|
1570 |
/** Misc **/
|
1571 |
|
1191 |
font-size: 20px;
|
1192 |
height: 40px !important;
|
1193 |
padding: 5px !important;
|
1194 |
+
max-width: 100% !important;
|
1195 |
}
|
1196 |
.ssb_add{
|
1197 |
height: 38px !important;
|
1347 |
.admin_links a{
|
1348 |
background: #fff;
|
1349 |
border-radius: 5px;
|
1350 |
+
padding: 7px 10px;
|
1351 |
margin: 0 0 0 10px;
|
1352 |
text-decoration: none;
|
1353 |
+
font-size: 13px;
|
1354 |
+
border: 1px solid #dfdfdf;
|
1355 |
}
|
1356 |
.admin_links a:hover{
|
1357 |
background: #dfdfdf;
|
1517 |
.coffee_box{
|
1518 |
padding: 25px;
|
1519 |
border: 1px solid #4CAF50;
|
1520 |
+
padding-left: 17%;
|
1521 |
background: url(../images/icons/coffee.svg) no-repeat;
|
1522 |
border-radius: 5px;
|
1523 |
background-position: 30px center;
|
1524 |
margin-bottom: 15px;
|
1525 |
+
background-size: 95px;
|
1526 |
+
background-color: #fff;
|
1527 |
}
|
1528 |
.coffee_box h2{
|
1529 |
font-size: 22px;
|
1550 |
text-align: center;
|
1551 |
transform: translateY(-50%);
|
1552 |
}
|
1553 |
+
.ufw .icon{
|
1554 |
width: 48px;
|
1555 |
height: 48px;
|
1556 |
+
box-shadow: 0 0 2px 0px #000;
|
1557 |
border-radius: 50%;
|
1558 |
border: 2px solid #fff;
|
1559 |
transition: all 0.2s;
|
1560 |
}
|
1561 |
+
.ufw:hover .icon{
|
1562 |
transform: scale(1.1) translateY(-10px);
|
1563 |
box-shadow: 0 2px 5px -1px #000;
|
1564 |
}
|
1568 |
.ufw a:hover{
|
1569 |
text-decoration: underline;
|
1570 |
}
|
1571 |
+
.ufw .banner{
|
1572 |
+
display: none;
|
1573 |
+
position: fixed;
|
1574 |
+
right: 85px;
|
1575 |
+
width: 320px;
|
1576 |
+
top: -100%;
|
1577 |
+
border-radius: 10px;
|
1578 |
+
box-shadow: 0 0 2px 0px #000;
|
1579 |
+
background: #000;
|
1580 |
+
padding: 5px;
|
1581 |
+
color: #fff;
|
1582 |
+
}
|
1583 |
+
.ufw .banner img {
|
1584 |
+
width: 100%;
|
1585 |
+
border-radius: 5px;
|
1586 |
+
}
|
1587 |
+
.ufw:hover .banner{
|
1588 |
+
display: block;
|
1589 |
+
}
|
1590 |
+
.ufw .banner:after {
|
1591 |
+
position: absolute;
|
1592 |
+
border: 10px solid #000;
|
1593 |
+
content: '';
|
1594 |
+
right: -20px;
|
1595 |
+
border-color: transparent transparent transparent #000;
|
1596 |
+
top: 50%;
|
1597 |
+
margin-top: -10px;
|
1598 |
+
}
|
1599 |
+
.ufw .banner em{
|
1600 |
+
padding: 5px;
|
1601 |
+
display: inline-block;
|
1602 |
+
font-style: normal;
|
1603 |
+
}
|
1604 |
|
1605 |
/** Misc **/
|
1606 |
|
admin/css/style_widgets.css
CHANGED
@@ -20,6 +20,11 @@
|
|
20 |
float: right;
|
21 |
}
|
22 |
|
|
|
|
|
|
|
|
|
|
|
23 |
#available-widgets .wpsr_widget_highlight{
|
24 |
box-shadow: 0 5px 20px 0px;
|
25 |
}
|
20 |
float: right;
|
21 |
}
|
22 |
|
23 |
+
.wpsr_widget_selector {
|
24 |
+
display: block;
|
25 |
+
min-width: 100%;
|
26 |
+
}
|
27 |
+
|
28 |
#available-widgets .wpsr_widget_highlight{
|
29 |
box-shadow: 0 5px 20px 0px;
|
30 |
}
|
admin/images/banners/ufw.png
ADDED
Binary file
|
admin/setup.php
CHANGED
@@ -32,6 +32,7 @@ class WPSR_Admin_Setup{
|
|
32 |
'feature' => true,
|
33 |
'banner' => WPSR_ADMIN_URL . '/images/banners/setup.png',
|
34 |
'link' => admin_url( 'admin.php?page=wp_socializer_setup' ),
|
|
|
35 |
'form' => array(
|
36 |
'id' => '',
|
37 |
'name' => '',
|
32 |
'feature' => true,
|
33 |
'banner' => WPSR_ADMIN_URL . '/images/banners/setup.png',
|
34 |
'link' => admin_url( 'admin.php?page=wp_socializer_setup' ),
|
35 |
+
'hide_in_nav' => true,
|
36 |
'form' => array(
|
37 |
'id' => '',
|
38 |
'name' => '',
|
admin/widgets.php
CHANGED
@@ -15,7 +15,7 @@ class wpsr_admin_widgets{
|
|
15 |
function register( $pages ){
|
16 |
|
17 |
$pages[ 'widgets' ] = array(
|
18 |
-
'name' => __( '
|
19 |
'page_callback' => array( $this, 'page' ),
|
20 |
'banner' => WPSR_ADMIN_URL . '/images/banners/widgets.svg',
|
21 |
'link' => admin_url('widgets.php#wp-socializer'),
|
@@ -35,7 +35,9 @@ class wpsr_admin_widgets{
|
|
35 |
|
36 |
$widgets = WPSR_Widgets::list_all();
|
37 |
$link = 'widgets.php#wp-socializer';
|
38 |
-
|
|
|
|
|
39 |
echo '<div class="widgets_page">';
|
40 |
|
41 |
echo '<h1>' . __( 'Social media widgets', 'wpsr' ) .'</h1>';
|
15 |
function register( $pages ){
|
16 |
|
17 |
$pages[ 'widgets' ] = array(
|
18 |
+
'name' => __( 'Sidebar widgets', 'wpsr' ),
|
19 |
'page_callback' => array( $this, 'page' ),
|
20 |
'banner' => WPSR_ADMIN_URL . '/images/banners/widgets.svg',
|
21 |
'link' => admin_url('widgets.php#wp-socializer'),
|
35 |
|
36 |
$widgets = WPSR_Widgets::list_all();
|
37 |
$link = 'widgets.php#wp-socializer';
|
38 |
+
|
39 |
+
wp_safe_redirect( admin_url('widgets.php#wp-socializer') );
|
40 |
+
|
41 |
echo '<div class="widgets_page">';
|
42 |
|
43 |
echo '<h1>' . __( 'Social media widgets', 'wpsr' ) .'</h1>';
|
core/lists.php
CHANGED
@@ -221,6 +221,7 @@ class WPSR_Lists{
|
|
221 |
'title' => __('Email this ', 'wpsr') . '',
|
222 |
'icon' => array('fa4'=> 'fa fa-envelope', 'fa5' => 'fa fa-envelope'),
|
223 |
'link' => 'mailto:?to=&subject={title-plain}&body={excerpt-plain}%20-%20{url}',
|
|
|
224 |
'options' => array(),
|
225 |
'features' => array( 'for_share', 'for_tsb' ),
|
226 |
'colors' => array( '#000' ),
|
@@ -543,7 +544,7 @@ class WPSR_Lists{
|
|
543 |
'title' => __('Tweet this !', 'wpsr') . '',
|
544 |
'icon' => array('fa4'=> 'fa fa-twitter', 'fa5' => 'fab fa-twitter'),
|
545 |
'link' => 'https://twitter.com/intent/tweet?text={title}%20-%20{url}%20{twitter-username}',
|
546 |
-
'link_tsb' => 'https://twitter.com/intent/tweet?text={
|
547 |
'options' => array(),
|
548 |
'features' => array( 'for_share', 'for_profile', 'for_tsb' ),
|
549 |
'colors' => array( '#4da7de' ),
|
@@ -584,6 +585,7 @@ class WPSR_Lists{
|
|
584 |
'title' => __('', 'wpsr') . 'Weibo',
|
585 |
'icon' => array('fa4'=> 'fa fa-weibo', 'fa5' => 'fab fa-weibo'),
|
586 |
'link' => 'https://service.weibo.com/share/share.php?url={url}&title={title}',
|
|
|
587 |
'options' => array(),
|
588 |
'features' => array( 'for_share', 'for_tsb' ),
|
589 |
'colors' => array( '#E6162D' ),
|
@@ -594,8 +596,9 @@ class WPSR_Lists{
|
|
594 |
'title' => __('', 'wpsr') . 'WhatsApp',
|
595 |
'icon' => array('fa4'=> 'fa fa-whatsapp', 'fa5' => 'fab fa-whatsapp'),
|
596 |
'link' => 'https://api.whatsapp.com/send?text={title}%20{url}',
|
|
|
597 |
'options' => array(),
|
598 |
-
'features' => array( 'for_share' ),
|
599 |
'colors' => array( '#60b82d' ),
|
600 |
),
|
601 |
|
221 |
'title' => __('Email this ', 'wpsr') . '',
|
222 |
'icon' => array('fa4'=> 'fa fa-envelope', 'fa5' => 'fa fa-envelope'),
|
223 |
'link' => 'mailto:?to=&subject={title-plain}&body={excerpt-plain}%20-%20{url}',
|
224 |
+
'link_tsb' => 'mailto:?to=&subject={title}&body={excerpt}%20-%20{url}',
|
225 |
'options' => array(),
|
226 |
'features' => array( 'for_share', 'for_tsb' ),
|
227 |
'colors' => array( '#000' ),
|
544 |
'title' => __('Tweet this !', 'wpsr') . '',
|
545 |
'icon' => array('fa4'=> 'fa fa-twitter', 'fa5' => 'fab fa-twitter'),
|
546 |
'link' => 'https://twitter.com/intent/tweet?text={title}%20-%20{url}%20{twitter-username}',
|
547 |
+
'link_tsb' => 'https://twitter.com/intent/tweet?text={excerpt}%20-%20{url}%20{twitter-username}',
|
548 |
'options' => array(),
|
549 |
'features' => array( 'for_share', 'for_profile', 'for_tsb' ),
|
550 |
'colors' => array( '#4da7de' ),
|
585 |
'title' => __('', 'wpsr') . 'Weibo',
|
586 |
'icon' => array('fa4'=> 'fa fa-weibo', 'fa5' => 'fab fa-weibo'),
|
587 |
'link' => 'https://service.weibo.com/share/share.php?url={url}&title={title}',
|
588 |
+
'link_tsb' => 'https://service.weibo.com/share/share.php?url={url}&title={excerpt}',
|
589 |
'options' => array(),
|
590 |
'features' => array( 'for_share', 'for_tsb' ),
|
591 |
'colors' => array( '#E6162D' ),
|
596 |
'title' => __('', 'wpsr') . 'WhatsApp',
|
597 |
'icon' => array('fa4'=> 'fa fa-whatsapp', 'fa5' => 'fab fa-whatsapp'),
|
598 |
'link' => 'https://api.whatsapp.com/send?text={title}%20{url}',
|
599 |
+
'link_tsb' => 'https://api.whatsapp.com/send?text={excerpt}%20{url}',
|
600 |
'options' => array(),
|
601 |
+
'features' => array( 'for_share', 'for_tsb' ),
|
602 |
'colors' => array( '#60b82d' ),
|
603 |
),
|
604 |
|
core/templates.php
CHANGED
@@ -532,7 +532,10 @@ class WPSR_Template_Mobile_Sharebar{
|
|
532 |
'{excerpt}',
|
533 |
'{s-url}',
|
534 |
'{rss-url}',
|
|
|
535 |
'{twitter-username}',
|
|
|
|
|
536 |
);
|
537 |
|
538 |
$replace = array(
|
@@ -541,7 +544,10 @@ class WPSR_Template_Mobile_Sharebar{
|
|
541 |
$pinfo[ 'excerpt' ],
|
542 |
$pinfo[ 'short_url' ],
|
543 |
$pinfo[ 'rss_url' ],
|
544 |
-
$
|
|
|
|
|
|
|
545 |
);
|
546 |
|
547 |
return str_replace( $search, $replace, $url );
|
532 |
'{excerpt}',
|
533 |
'{s-url}',
|
534 |
'{rss-url}',
|
535 |
+
'{image}',
|
536 |
'{twitter-username}',
|
537 |
+
'{title-plain}',
|
538 |
+
'{excerpt-plain}'
|
539 |
);
|
540 |
|
541 |
$replace = array(
|
544 |
$pinfo[ 'excerpt' ],
|
545 |
$pinfo[ 'short_url' ],
|
546 |
$pinfo[ 'rss_url' ],
|
547 |
+
$pinfo[ 'post_image' ],
|
548 |
+
$t_username,
|
549 |
+
$pinfo[ 'title' ],
|
550 |
+
$pinfo[ 'excerpt' ]
|
551 |
);
|
552 |
|
553 |
return str_replace( $search, $replace, $url );
|
public/css/wp-socializer.css
CHANGED
@@ -318,6 +318,7 @@
|
|
318 |
animation: wpsr-fadeout 1s;
|
319 |
box-shadow: 0 3px 6px -3px #000;
|
320 |
background-image: linear-gradient(rgba(0, 0, 0, 0.1),rgba(0, 0, 0, 0));
|
|
|
321 |
}
|
322 |
.wpsr-text-sb:before {
|
323 |
position: absolute;
|
318 |
animation: wpsr-fadeout 1s;
|
319 |
box-shadow: 0 3px 6px -3px #000;
|
320 |
background-image: linear-gradient(rgba(0, 0, 0, 0.1),rgba(0, 0, 0, 0));
|
321 |
+
z-index: 999;
|
322 |
}
|
323 |
.wpsr-text-sb:before {
|
324 |
position: absolute;
|
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-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%)}}
|
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));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-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-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
|
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));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-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
|
public/js/wp-socializer.js
CHANGED
@@ -167,11 +167,11 @@ document.addEventListener( 'DOMContentLoaded', function(){
|
|
167 |
|
168 |
var replace_link = function( link ){
|
169 |
var to_replace = {
|
170 |
-
'{title}': tsb_attr.ptitle,
|
171 |
'{url}': tsb_attr.purl,
|
172 |
'{s-url}': tsb_attr.psurl,
|
173 |
'{twitter-username}': tsb_attr.ptuname,
|
174 |
-
'{excerpt}': sel_link_text()
|
175 |
};
|
176 |
|
177 |
for( var key in to_replace ){
|
167 |
|
168 |
var replace_link = function( link ){
|
169 |
var to_replace = {
|
170 |
+
'{title}': escape(tsb_attr.ptitle),
|
171 |
'{url}': tsb_attr.purl,
|
172 |
'{s-url}': tsb_attr.psurl,
|
173 |
'{twitter-username}': tsb_attr.ptuname,
|
174 |
+
'{excerpt}': escape(sel_link_text())
|
175 |
};
|
176 |
|
177 |
for( var key in to_replace ){
|
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){t.preventDefault(),link=e.getAttribute("href"),"#"!=link&&prompt("Short link",link)}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:function(t,e,s,r){var n=screen.width/2-s/2,
|
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){t.preventDefault(),link=e.getAttribute("href"),"#"!=link&&prompt("Short link",link)}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: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)},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}},document.addEventListener("DOMContentLoaded",function(){for(scr_links=document.querySelectorAll(".socializer.sr-popup a"),u=0;u<scr_links.length;u++){var t=scr_links[u];t.addEventListener("click",function(t){var e=this.getAttribute("href");"#"==e||this.hasAttribute("onclick")||wpsr_helpers.popup(e,"_blank",800,500),t.preventDefault()})}var e=document.querySelector(".wpsr-sharebar");if(e){var s=function(){vlsb=document.querySelector(".wpsr-sb-vl-scontent"),vlsb&&(stick=vlsb.getAttribute("data-stickto"),stick_ele=document.querySelector(stick),stick_ele&&(vlsb.style.left=stick_ele.offsetLeft+"px")),e&&window.innerWidth<=800&&wpsr_helpers.addClass(e,"wpsr-mow")};s(),window.addEventListener("resize",s),sb_close_btn=e.querySelector(".wpsr-sb-close"),sb_close_btn.addEventListener("click",function(){e.classList.contains("wpsr-mow")?wpsr_helpers.removeClass(e,"wpsr-mow"):wpsr_helpers.addClass(e,"wpsr-mow")})}if(tsb=document.querySelector(".wpsr-text-sb"),tsb){window.wpsr_tsb={stext:"",startx:0,starty:0};var r={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")},n=function(){var t="";return window.getSelection?t=window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&(t=document.selection.createRange().text),t},a=function(t,e){tsb.style.left=t+"px",tsb.style.top=e+"px",wpsr_helpers.addClass(tsb,"wpsr-tsb-active")},o=function(){wpsr_helpers.removeClass(tsb,"wpsr-tsb-active")},i=function(){var t=wpsr_tsb.stext,e=parseInt(r.word_count);return 0==e?t:t.split(" ").slice(0,e).join(" ")},l=function(t){var e={"{title}":escape(r.ptitle),"{url}":r.purl,"{s-url}":r.psurl,"{twitter-username}":r.ptuname,"{excerpt}":escape(i())};for(var s in e)e.hasOwnProperty(s)&&(t=t.replace(RegExp(s,"g"),e[s]));return t};if(""!=r.cnt_sel)for(var p=r.cnt_sel.replace(/[\[\]<>"'\/\\=&%]/g,""),c=document.querySelectorAll(p),u=0;u<c.length;u++){var d=c[u];d.addEventListener("mousedown",function(t){wpsr_tsb.startx=t.pageX,wpsr_tsb.starty=t.pageY}),d.addEventListener("mouseup",function(t){var e=n();""!=e?(tsb_x=(t.pageX+parseInt(wpsr_tsb.startx))/2,tsb_y=Math.min(wpsr_tsb.starty,t.pageY),e!=wpsr_tsb.stext?(a(tsb_x,tsb_y),wpsr_tsb.stext=e):o()):o()})}document.body.addEventListener("mousedown",function(t){o()}),tsb.addEventListener("mousedown",function(t){t.stopPropagation()});for(var w=tsb.querySelectorAll("a"),u=0;u<w.length;u++){var t=w[u];t.addEventListener("click",function(t){var e=this.getAttribute("data-link");"#"!=e&&(rep_link=l(e),wpsr_helpers.popup(rep_link,800,500)),t.preventDefault()})}}if(msb=document.querySelector(".wpsr-mobile-sb"),msb&&msb.classList.contains("wpsr-mobile-hos")){var b=0;window.addEventListener("scroll",function(){var t=window.pageYOffset||document.documentElement.scrollTop;t>b?wpsr_helpers.addClass(msb,"wpsr-msb-hide"):wpsr_helpers.removeClass(msb,"wpsr-msb-hide"),b=t},!1)}var m=document.querySelector(".wpsr-followbar");m&&(fb_close_btn=m.querySelector(".wpsr-fb-close"),fb_close_btn.addEventListener("click",function(){m.classList.contains("wpsr-mow")?wpsr_helpers.removeClass(m,"wpsr-mow"):wpsr_helpers.addClass(m,"wpsr-mow")})),mow=document.querySelectorAll("[data-minonwidth]");var f=function(t,e){var s=t.getAttribute("data-minonwidth");s>0&&(e<=s?wpsr_helpers.addClass(t,"wpsr-mow"):wpsr_helpers.removeClass(t,"wpsr-mow"))};if(mow.length>0&&["resize","load"].forEach(function(t){window.addEventListener(t,function(){for(u=0;u<mow.length;u++){var t=mow[u];f(t,window.innerWidth)}})}),wpsr_ajax_url){var v=document.querySelectorAll("[data-wpsrs]");if(v.length>0){var _={},h=wpsr_ajax_url+"?action=wpsr_share_count";for(u=0;u<v.length;u++){var g=v[u],y=g.getAttribute("data-wpsrs"),k=g.getAttribute("data-wpsrs-svcs").split(",");y in _||(_[y]=[]);for(j=0;j<k.length;j++)-1===_[y].indexOf(k[j])&&_[y].push(k[j])}var L=function(t){var e=JSON.parse(t.responseText),s=document.querySelectorAll('[data-wpsrs="'+t.props.forURL+'"]');for(u=0;u<s.length;u++){var r=s[u],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)}r.innerHTML=wpsr_helpers.format_num(a)}};for(var y in _)_.hasOwnProperty(y)&&(send_data={url:y,services:_[y]},to_send="data="+JSON.stringify(send_data),wpsr_helpers.ajax(h,"POST",to_send,L,{forURL:y}))}}});
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: vaakash
|
|
3 |
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.
|
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,15 @@ Please refer [this page](https://goo.gl/Ge7riC) for the full list of FAQs.
|
|
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.
|
3 |
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.3
|
7 |
+
Stable tag: 4.1.9
|
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.9 =
|
227 |
+
* Fix: Mobile sharebar some link parameters not being resolved.
|
228 |
+
* Fix: Text sharebar sometimes goes behind main content.
|
229 |
+
* Fix: Title with special characters are not escaped correctly for text sharebar.
|
230 |
+
* Fix: Quotes text is not passed correctly to certain social icons in text sharebar.
|
231 |
+
* Fix: Admin page style issues with WordPress 5.3.
|
232 |
+
* Fix: Added widgets link to admin navigation menu.
|
233 |
+
* New: Added WhatsApp to text sharebar.
|
234 |
+
|
235 |
= 4.1.8 =
|
236 |
* Fix: Improved the look of "floating sharebar" editor based on the sharebar type.
|
237 |
* New: Added option to select floating sharebar position when in mobile mode.
|
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.9
|
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.9' );
|
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' ) );
|