Version Description
Download this release
Release Info
Developer | giucu91 |
Plugin | Simple Author Box |
Version | 2.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.3.0 to 2.3.1
- assets/js/sab_gutenberg_editor_script.js +30 -5
- assets/src/js/utils/social-icon.js +32 -0
- assets/src/scss/sab_gutenberg_editor_style.scss +1 -1
- changelog.txt +10 -0
- inc/class-simple-author-box-helper.php +2 -2
- inc/class-simple-author-box-previewer.php +2 -2
- inc/class-simple-author-box-social.php +2 -4
- inc/class-simple-author-box-widget.php +1 -1
- inc/class-simple-author-box.php +4 -2
- readme.txt +2 -2
- simple-author-box.php +2 -2
- template/template-sab.php +7 -7
assets/js/sab_gutenberg_editor_script.js
CHANGED
@@ -909,13 +909,20 @@ var SAB_Social_Icon = function () {
|
|
909 |
React.createElement('path', { fill: 'currentColor', d: 'M502.9 266v69.7c0 62.1-50.3 112.4-112.4 112.4-61.8 0-112.4-49.8-112.4-111.3v-70.2l34.3 16 51.1-15.2V338c0 14.7 12 26.5 26.7 26.5S417 352.7 417 338v-72h85.9zm-224.7-58.2l34.3 16 51.1-15.2V173c0-60.5-51.1-109-112.1-109-60.8 0-112.1 48.2-112.1 108.2v162.4c0 14.9-12 26.7-26.7 26.7S86 349.5 86 334.6V266H0v69.7C0 397.7 50.3 448 112.4 448c61.6 0 112.4-49.5 112.4-110.8V176.9c0-14.7 12-26.7 26.7-26.7s26.7 12 26.7 26.7v30.9z' })
|
910 |
);
|
911 |
break;
|
912 |
-
case '
|
913 |
return React.createElement(
|
914 |
'svg',
|
915 |
-
{ 'aria-hidden': 'true', 'class': 'sab-' + icon, role: 'img', xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0
|
916 |
-
React.createElement('path', { fill: 'currentColor', d: '
|
917 |
);
|
918 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
919 |
case 'twitter':
|
920 |
return React.createElement(
|
921 |
'svg',
|
@@ -1280,6 +1287,15 @@ var SAB_Social_Icon = function () {
|
|
1280 |
React.createElement('path', { 'class': 'st2', d: 'm402.7 256.4v42.2c0 37.6-30.4 68-68 68-37.4 0-68-30.1-68-67.4v-42.5l20.8 9.7 30.9-9.2v42.8c0 8.9 7.3 16 16.2 16s16.2-7.1 16.2-16v-43.6h51.9zm-136-35.2l20.8 9.7 30.9-9.2v-21.5c0-36.6-30.9-66-67.8-66-36.8 0-67.8 29.2-67.8 65.5v98.3c0 9-7.3 16.2-16.2 16.2s-16.2-7.1-16.2-16.2v-41.5h-52v42.2c0 37.5 30.4 68 68 68 37.3 0 68-30 68-67.1v-97c0-8.9 7.3-16.2 16.2-16.2s16.2 7.3 16.2 16.2v18.6h-0.1z' })
|
1281 |
);
|
1282 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1283 |
case 'tumblr':
|
1284 |
return React.createElement(
|
1285 |
'svg',
|
@@ -1294,8 +1310,8 @@ var SAB_Social_Icon = function () {
|
|
1294 |
'svg',
|
1295 |
{ version: '1.1', 'class': 'sab-' + icon, viewBox: '0 0 500 500.7', xmlns: 'http://www.w3.org/2000/svg' },
|
1296 |
React.createElement('rect', { 'class': 'st0', x: '.5', y: '.2', width: '500', height: '500', fill: '#1da1f2' }),
|
1297 |
-
React.createElement('polygon', { 'class': 'st1', points: '
|
1298 |
-
React.createElement('path', { 'class': 'st2', d: '
|
1299 |
);
|
1300 |
break;
|
1301 |
case 'vimeo':
|
@@ -1687,6 +1703,15 @@ var SAB_Social_Icon = function () {
|
|
1687 |
React.createElement('path', { 'class': 'st2', d: 'm405.2 245.1v42.2c0 37.6-30.4 68-68 68-37.4 0-68-30.1-68-67.4v-42.5l20.8 9.7 30.9-9.2v42.7c0 8.9 7.3 16 16.2 16s16.2-7.1 16.2-16v-43.6h51.9zm-136-35.2l20.8 9.7 30.9-9.2v-21.5c0-36.6-30.9-66-67.8-66-36.8 0-67.8 29.2-67.8 65.5v98.3c0 9-7.3 16.2-16.2 16.2s-16.2-7.1-16.2-16.2v-41.5h-52v42.2c0 37.5 30.4 68 68 68 37.3 0 68-30 68-67.1v-97c0-8.9 7.3-16.2 16.2-16.2s16.2 7.3 16.2 16.2v18.6h-0.1z' })
|
1688 |
);
|
1689 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1690 |
case 'tumblr':
|
1691 |
return React.createElement(
|
1692 |
'svg',
|
909 |
React.createElement('path', { fill: 'currentColor', d: 'M502.9 266v69.7c0 62.1-50.3 112.4-112.4 112.4-61.8 0-112.4-49.8-112.4-111.3v-70.2l34.3 16 51.1-15.2V338c0 14.7 12 26.5 26.7 26.5S417 352.7 417 338v-72h85.9zm-224.7-58.2l34.3 16 51.1-15.2V173c0-60.5-51.1-109-112.1-109-60.8 0-112.1 48.2-112.1 108.2v162.4c0 14.9-12 26.7-26.7 26.7S86 349.5 86 334.6V266H0v69.7C0 397.7 50.3 448 112.4 448c61.6 0 112.4-49.5 112.4-110.8V176.9c0-14.7 12-26.7 26.7-26.7s26.7 12 26.7 26.7v30.9z' })
|
910 |
);
|
911 |
break;
|
912 |
+
case 'telegram':
|
913 |
return React.createElement(
|
914 |
'svg',
|
915 |
+
{ 'aria-hidden': 'true', 'class': 'sab-' + icon, role: 'img', xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 417 512' },
|
916 |
+
React.createElement('path', { fill: 'currentColor', d: 'M 471.230469 156.445312 C 483.554688 185.835938 490.191406 216.179688 490.191406 248.414062 C 490.191406 280.652344 483.554688 310.992188 471.230469 340.386719 C 458.902344 369.777344 441.835938 394.429688 420.976562 416.238281 C 400.117188 437.097656 374.519531 454.164062 345.125 466.488281 C 315.734375 478.816406 285.394531 485.453125 253.15625 485.453125 C 220.917969 485.453125 190.578125 478.816406 161.183594 466.488281 C 131.792969 454.164062 107.140625 437.097656 85.332031 416.238281 C 64.472656 395.378906 47.40625 369.777344 35.082031 340.386719 C 22.753906 310.992188 16.117188 280.652344 16.117188 248.414062 C 16.117188 216.179688 22.753906 185.835938 35.082031 156.445312 C 47.40625 127.050781 64.472656 102.398438 85.332031 80.59375 C 106.191406 59.734375 131.792969 42.667969 161.183594 30.339844 C 190.578125 18.015625 220.917969 11.378906 253.15625 11.378906 C 285.394531 11.378906 315.734375 18.015625 345.125 30.339844 C 374.519531 42.667969 399.171875 59.734375 420.976562 80.59375 C 441.835938 102.398438 457.957031 128 471.230469 156.445312 Z M 329.957031 357.453125 L 368.828125 174.460938 C 370.726562 166.875 369.777344 161.183594 365.984375 157.394531 C 362.191406 153.601562 358.398438 153.601562 352.710938 155.496094 L 124.207031 243.675781 C 119.464844 245.570312 115.675781 247.464844 113.777344 250.3125 C 111.882812 253.15625 111.882812 255.050781 112.828125 256.949219 C 113.777344 258.84375 116.621094 260.742188 121.363281 261.6875 L 180.148438 279.703125 L 315.734375 194.371094 C 319.527344 191.527344 322.371094 191.527344 324.265625 192.472656 C 325.214844 193.421875 325.214844 194.371094 323.320312 196.265625 L 213.332031 296.769531 L 208.59375 357.453125 C 212.386719 357.453125 216.179688 355.554688 220.917969 351.761719 L 249.363281 324.265625 L 308.148438 367.882812 C 320.472656 374.519531 327.109375 370.726562 329.957031 357.453125 Z M 329.957031 357.453125' })
|
917 |
);
|
918 |
break;
|
919 |
+
case 'tumblr':
|
920 |
+
return React.createElement(
|
921 |
+
'svg',
|
922 |
+
{ 'aria-hidden': 'true', 'class': 'sab-' + icon, role: 'img', xmlns: 'http://www.w3.org/2000/svg', viewBox: '0 0 320 512' },
|
923 |
+
React.createElement('path', { fill: 'currentColor', d: 'M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z' })
|
924 |
+
);
|
925 |
+
break;
|
926 |
case 'twitter':
|
927 |
return React.createElement(
|
928 |
'svg',
|
1287 |
React.createElement('path', { 'class': 'st2', d: 'm402.7 256.4v42.2c0 37.6-30.4 68-68 68-37.4 0-68-30.1-68-67.4v-42.5l20.8 9.7 30.9-9.2v42.8c0 8.9 7.3 16 16.2 16s16.2-7.1 16.2-16v-43.6h51.9zm-136-35.2l20.8 9.7 30.9-9.2v-21.5c0-36.6-30.9-66-67.8-66-36.8 0-67.8 29.2-67.8 65.5v98.3c0 9-7.3 16.2-16.2 16.2s-16.2-7.1-16.2-16.2v-41.5h-52v42.2c0 37.5 30.4 68 68 68 37.3 0 68-30 68-67.1v-97c0-8.9 7.3-16.2 16.2-16.2s16.2 7.3 16.2 16.2v18.6h-0.1z' })
|
1288 |
);
|
1289 |
break;
|
1290 |
+
case 'telegram':
|
1291 |
+
return React.createElement(
|
1292 |
+
'svg',
|
1293 |
+
{ version: '1.1', 'class': 'sab-' + icon, viewBox: '0 0 500 500.7', xmlns: 'http://www.w3.org/2000/svg' },
|
1294 |
+
React.createElement('rect', { 'class': 'st0', x: '-0.9', y: '0.2', width: '500', height: '500', fill: '#0088cc' }),
|
1295 |
+
React.createElement('polygon', { 'class': 'st1', points: '500.5 342.9 500.5 500.4 351.4 500.4 222 369.3 210 272.3 173.4 234.9 272.5 116.9' }),
|
1296 |
+
React.createElement('path', { 'class': 'st2', d: 'm331.8 372.1c-7.4 7.9-27.1 17.2-52.9 17.2-65.6 0-79.8-48.2-79.8-76.3v-78.2h-25.8c-3 0-5.4-2.4-5.4-5.4v-36.9c0-3.9 2.4-7.4 6.1-8.7 33.7-11.8 44.2-41.3 45.8-63.6 0.4-6 3.5-8.8 8.7-8.8h38.5c3 0 5.4 2.4 5.4 5.4v62.5h45c3 0 5.4 2.4 5.4 5.4v44.3c0 3-2.4 5.4-5.4 5.4h-45.3v72.3c0 18.6 12.9 29.1 36.9 19.4 2.6-1 4.9-1.7 6.9-1.2 1.9 0.5 3.1 1.8 4 4.3l11.9 34.9c1.2 2.9 2 5.9 0 8z' })
|
1297 |
+
);
|
1298 |
+
break;
|
1299 |
case 'tumblr':
|
1300 |
return React.createElement(
|
1301 |
'svg',
|
1310 |
'svg',
|
1311 |
{ version: '1.1', 'class': 'sab-' + icon, viewBox: '0 0 500 500.7', xmlns: 'http://www.w3.org/2000/svg' },
|
1312 |
React.createElement('rect', { 'class': 'st0', x: '.5', y: '.2', width: '500', height: '500', fill: '#1da1f2' }),
|
1313 |
+
React.createElement('polygon', { 'class': 'st1', points: '499.1,249.6 499.1,500.2 298.1,500.2 106.9,258.9 104,255.2 392.5,146.2 392.5,146.2 ' }),
|
1314 |
+
React.createElement('path', { 'class': 'st2', d: 'M393.8,162.6l-43.9,207.1c-3.3,14.6-12,18.3-24.2,11.4l-66.9-49.3l-32.3,31.1c-3.6,3.6-6.6,6.6-13.5,6.6 l4.8-68.2l124-112.1c5.4-4.8-1.2-7.5-8.4-2.7l-153.3,96.6l-66-20.7c-14.4-4.5-14.6-14.4,3-21.2l258.2-99.5 C387.2,137.2,397.7,144.4,393.8,162.6z' })
|
1315 |
);
|
1316 |
break;
|
1317 |
case 'vimeo':
|
1703 |
React.createElement('path', { 'class': 'st2', d: 'm405.2 245.1v42.2c0 37.6-30.4 68-68 68-37.4 0-68-30.1-68-67.4v-42.5l20.8 9.7 30.9-9.2v42.7c0 8.9 7.3 16 16.2 16s16.2-7.1 16.2-16v-43.6h51.9zm-136-35.2l20.8 9.7 30.9-9.2v-21.5c0-36.6-30.9-66-67.8-66-36.8 0-67.8 29.2-67.8 65.5v98.3c0 9-7.3 16.2-16.2 16.2s-16.2-7.1-16.2-16.2v-41.5h-52v42.2c0 37.5 30.4 68 68 68 37.3 0 68-30 68-67.1v-97c0-8.9 7.3-16.2 16.2-16.2s16.2 7.3 16.2 16.2v18.6h-0.1z' })
|
1704 |
);
|
1705 |
break;
|
1706 |
+
case 'telegram':
|
1707 |
+
return React.createElement(
|
1708 |
+
'svg',
|
1709 |
+
{ version: '1.1', 'class': 'sab-' + icon, viewBox: '0 0 500 500.7', xmlns: 'http://www.w3.org/2000/svg' },
|
1710 |
+
React.createElement('path', { 'class': 'st0', d: 'M499.4,250.9c0,2.2,0,4.4-0.1,6.6v0.4c-0.1,2.2-0.2,4.4-0.3,6.5c-0.1,1.3-0.1,2.6-0.2,4\n\tc-0.1,1.5-0.2,2.9-0.3,4.3c0,0.2,0,0.5-0.1,0.7c-0.2,2.2-0.4,4.5-0.7,6.7c-0.1,0.6-0.1,1.1-0.2,1.7c-0.6,4-1.2,7.9-1.8,11.9\n\tc-0.1,0.4-0.1,0.9-0.2,1.3c0,0.4-0.1,0.7-0.2,1v0.3c-0.2,1-0.4,2-0.5,3c0,0.1,0,0.2-0.1,0.3v0.1c0,0.2-0.1,0.4-0.1,0.6\n\tc-0.1,0.5-0.2,1-0.3,1.6c0,0.2-0.1,0.3-0.1,0.5c-1,4.4-2,8.8-3.1,13.2c-0.2,0.9-0.5,1.9-0.8,2.8c-0.2,0.6-0.3,1.1-0.5,1.7\n\tc-0.8,2.7-1.6,5.3-2.5,8c-1.4,4.2-2.8,8.5-4.4,12.5c-0.1,0.4-0.3,0.7-0.4,1.1c-0.9,2.3-1.8,4.6-2.8,6.8\n\tc-28.1,66.2-84.2,117.8-153.5,140c-0.5,0.2-0.9,0.3-1.3,0.4c-1.1,0.4-2.2,0.7-3.3,1c-2.9,0.9-5.9,1.6-8.8,2.4\n\tc-0.1,0-0.2,0.1-0.3,0.1c-1.4,0.4-2.8,0.8-4.2,1.1c-1.1,0.3-2.2,0.5-3.4,0.7c-1.3,0.3-2.6,0.6-3.9,0.9c-0.2,0.1-0.5,0.1-0.7,0.2\n\tc-1.5,0.3-2.9,0.5-4.3,0.8c-0.6,0.1-1.3,0.2-1.9,0.4c-0.2,0-0.3,0.1-0.5,0.1c-1.1,0.2-2.2,0.4-3.3,0.6c-1.9,0.3-3.8,0.6-5.7,0.8\n\tc-0.3,0-0.5,0.1-0.8,0.1c-2.7,0.4-5.5,0.7-8.2,1c-0.4,0-0.8,0.1-1.2,0.1c-0.3,0-0.6,0-0.9,0.1c-0.8,0.1-1.5,0.1-2.3,0.2\n\tc-0.1,0-0.1,0-0.2,0c-1,0.1-2.1,0.2-3.2,0.2c-0.8,0.1-1.6,0.1-2.4,0.1c-1.4,0.1-2.9,0.2-4.4,0.2c-3.6,0.1-7.2,0.2-10.8,0.2\n\tc-11,0-21.9-0.7-32.6-2.1C95.2,482.2,0.7,377.6,0.7,250.9C0.7,113.2,112.3,1.5,250.1,1.5c133.8,0,242.7,105.2,249,237.2\n\tc0.1,1.5,0.1,3,0.2,4.6C499.4,245.8,499.4,248.4,499.4,250.9z', fill: '#0088cc' }),
|
1711 |
+
React.createElement('path', { 'class': 'st1', d: 'M498.5,272.7c0,0.2,0,0.5-0.1,0.7c-0.2,2.2-0.4,4.5-0.7,6.7c-0.1,0.6-0.1,1.1-0.2,1.7c-0.6,4-1.2,7.9-1.8,11.9\n\tc-0.1,0.4-0.1,0.9-0.2,1.3c0,0.4-0.1,0.7-0.2,1v0.3c-0.2,1-0.4,2-0.5,3c0,0.1,0,0.2-0.1,0.3v0.1c0,0.2-0.1,0.4-0.1,0.6\n\tc-0.1,0.5-0.2,1-0.3,1.6c0,0.2-0.1,0.3-0.1,0.5c-1,4.4-2,8.8-3.1,13.2c-0.2,0.9-0.5,1.9-0.8,2.8c-0.2,0.6-0.3,1.1-0.5,1.7\n\tc-0.8,2.7-1.6,5.3-2.5,8c-1.4,4.2-2.8,8.5-4.4,12.5c-0.1,0.4-0.3,0.7-0.4,1.1c-0.9,2.3-1.8,4.6-2.8,6.8\n\tc-28.1,66.2-84.2,117.8-153.5,140c-0.5,0.2-0.9,0.3-1.3,0.4c-1.1,0.4-2.2,0.7-3.3,1c-2.9,0.9-5.9,1.6-8.8,2.4\n\tc-0.1,0-0.2,0.1-0.3,0.1c-1.4,0.4-2.8,0.8-4.2,1.1c-1.1,0.3-2.2,0.5-3.4,0.7c-1.3,0.3-2.6,0.6-3.9,0.9c-0.2,0.1-0.5,0.1-0.7,0.2\n\tc-1.5,0.3-2.9,0.5-4.3,0.8c-0.6,0.1-1.3,0.2-1.9,0.4c-0.2,0-0.3,0.1-0.5,0.1c-1.1,0.2-2.2,0.4-3.3,0.6c-1.9,0.3-3.8,0.6-5.7,0.8\n\tc-0.3,0-0.5,0.1-0.8,0.1c-2.7,0.4-5.5,0.7-8.2,1c-0.4,0-0.8,0.1-1.2,0.1c-0.3,0-0.6,0-0.9,0.1L85.5,261.9l-2.9-3.7l288.5-109l0,0\n\tL498.5,272.7z' }),
|
1712 |
+
React.createElement('path', { 'class': 'st2', d: 'M372.4,165.6l-43.9,207.1c-3.3,14.6-12,18.3-24.2,11.4l-66.9-49.3L205,365.9c-3.6,3.6-6.6,6.6-13.5,6.6\n\tl4.8-68.2l124-112.1c5.4-4.8-1.2-7.5-8.4-2.7l-153.3,96.6l-66-20.7c-14.4-4.5-14.6-14.4,3-21.2l258.2-99.5\n\tC365.8,140.2,376.3,147.4,372.4,165.6z' })
|
1713 |
+
);
|
1714 |
+
break;
|
1715 |
case 'tumblr':
|
1716 |
return React.createElement(
|
1717 |
'svg',
|
assets/src/js/utils/social-icon.js
CHANGED
@@ -94,6 +94,9 @@ export default class SAB_Social_Icon {
|
|
94 |
case 'stumbleUpon' :
|
95 |
return <svg aria-hidden="true" class={ 'sab-' + icon } role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.9 266v69.7c0 62.1-50.3 112.4-112.4 112.4-61.8 0-112.4-49.8-112.4-111.3v-70.2l34.3 16 51.1-15.2V338c0 14.7 12 26.5 26.7 26.5S417 352.7 417 338v-72h85.9zm-224.7-58.2l34.3 16 51.1-15.2V173c0-60.5-51.1-109-112.1-109-60.8 0-112.1 48.2-112.1 108.2v162.4c0 14.9-12 26.7-26.7 26.7S86 349.5 86 334.6V266H0v69.7C0 397.7 50.3 448 112.4 448c61.6 0 112.4-49.5 112.4-110.8V176.9c0-14.7 12-26.7 26.7-26.7s26.7 12 26.7 26.7v30.9z"></path></svg>
|
96 |
break;
|
|
|
|
|
|
|
97 |
case 'tumblr' :
|
98 |
return <svg aria-hidden="true" class={ 'sab-' + icon } role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"></path></svg>
|
99 |
break;
|
@@ -232,6 +235,11 @@ export default class SAB_Social_Icon {
|
|
232 |
case 'stumbleUpon' :
|
233 |
return <svg version="1.1" class={ 'sab-' + icon } viewBox="0 0 500 500.7" xmlns="http://www.w3.org/2000/svg"><rect class="st0" x=".5" y=".4" width="500" height="500" fill="#eb4924"/><polygon class="st1" points="500.5 355.2 500.5 500.4 272.1 500.4 115 343.3 119.7 284.6 150.4 256.4 189 295.9 208.3 299.9 208.3 183.3 294.5 150.1"/><path class="st2" d="m402.7 256.4v42.2c0 37.6-30.4 68-68 68-37.4 0-68-30.1-68-67.4v-42.5l20.8 9.7 30.9-9.2v42.8c0 8.9 7.3 16 16.2 16s16.2-7.1 16.2-16v-43.6h51.9zm-136-35.2l20.8 9.7 30.9-9.2v-21.5c0-36.6-30.9-66-67.8-66-36.8 0-67.8 29.2-67.8 65.5v98.3c0 9-7.3 16.2-16.2 16.2s-16.2-7.1-16.2-16.2v-41.5h-52v42.2c0 37.5 30.4 68 68 68 37.3 0 68-30 68-67.1v-97c0-8.9 7.3-16.2 16.2-16.2s16.2 7.3 16.2 16.2v18.6h-0.1z"/></svg>
|
234 |
break;
|
|
|
|
|
|
|
|
|
|
|
235 |
case 'tumblr' :
|
236 |
return <svg version="1.1" class={ 'sab-' + icon } viewBox="0 0 500 500.7" xmlns="http://www.w3.org/2000/svg"><rect class="st0" x=".5" y=".4" width="500" height="500" fill="#35465c"/><polygon class="st1" points="500.5 342.9 500.5 500.4 351.4 500.4 222 369.3 210 272.3 173.4 234.9 272.5 116.9"/><path class="st2" d="m331.8 372.1c-7.4 7.9-27.1 17.2-52.9 17.2-65.6 0-79.8-48.2-79.8-76.3v-78.2h-25.8c-3 0-5.4-2.4-5.4-5.4v-36.9c0-3.9 2.4-7.4 6.1-8.7 33.7-11.8 44.2-41.3 45.8-63.6 0.4-6 3.5-8.8 8.7-8.8h38.5c3 0 5.4 2.4 5.4 5.4v62.5h45c3 0 5.4 2.4 5.4 5.4v44.3c0 3-2.4 5.4-5.4 5.4h-45.3v72.3c0 18.6 12.9 29.1 36.9 19.4 2.6-1 4.9-1.7 6.9-1.2 1.9 0.5 3.1 1.8 4 4.3l11.9 34.9c1.2 2.9 2 5.9 0 8z"/></svg>
|
237 |
break;
|
@@ -370,6 +378,30 @@ export default class SAB_Social_Icon {
|
|
370 |
case 'stumbleUpon' :
|
371 |
return <svg version="1.1" class={ 'sab-' + icon } viewBox="0 0 500 500.7" xmlns="http://www.w3.org/2000/svg"><path class="st0" d="m499.4 250.9c0 7.6-0.4 15.2-1 22.5-0.2 2.2-0.4 4.5-0.7 6.7-0.1 0.6-0.1 1.1-0.2 1.7-0.7 4.8-1.4 9.5-2.2 14.2l-0.6 3.3c0 0.1 0 0.2-0.1 0.3 0 0.2-0.1 0.5-0.1 0.7-1.1 5.1-2.3 10.2-3.6 15.3-0.2 0.9-0.5 1.9-0.8 2.8-0.2 0.6-0.3 1.1-0.5 1.7-0.8 2.7-1.6 5.3-2.5 8-1.5 4.6-3.1 9.2-4.8 13.6-0.9 2.3-1.8 4.6-2.8 6.8-28.8 67.7-86.7 120.1-158.1 141.4-6.8 2-13.6 3.8-20.6 5.2-0.2 0.1-0.5 0.1-0.7 0.2-1.5 0.3-2.9 0.5-4.3 0.8-0.6 0.1-1.3 0.2-1.9 0.4-3.1 0.6-6.3 1.1-9.5 1.5-0.3 0-0.5 0.1-0.8 0.1-2.7 0.4-5.5 0.7-8.2 1-0.4 0-0.8 0.1-1.2 0.1-2.2 0.2-4.4 0.4-6.6 0.5-0.8 0.1-1.6 0.1-2.4 0.1-5 0.3-10.1 0.4-15.2 0.4-137.7 0-249.3-111.6-249.3-249.3s111.6-249.4 249.4-249.4 249.3 111.7 249.3 249.4z" fill="#eb4924"/><path class="st1" d="m487.1 328.1c-1.5 4.6-3.1 9.2-4.8 13.6-0.9 2.3-1.8 4.6-2.8 6.8-28.8 67.7-86.7 120.1-158.1 141.4-6.8 2-13.6 3.8-20.6 5.2-0.2 0.1-0.5 0.1-0.7 0.2-1.5 0.3-2.9 0.5-4.3 0.8-0.6 0.1-1.3 0.2-1.9 0.4-3.1 0.6-6.3 1.1-9.5 1.5-0.3 0-0.5 0.1-0.8 0.1l-166.1-166.1 4.7-58.7 30.7-28.2 38.6 39.5 19.3 4v-116.6l86.2-33.2 190.1 189.3z"/><path class="st2" d="m405.2 245.1v42.2c0 37.6-30.4 68-68 68-37.4 0-68-30.1-68-67.4v-42.5l20.8 9.7 30.9-9.2v42.7c0 8.9 7.3 16 16.2 16s16.2-7.1 16.2-16v-43.6h51.9zm-136-35.2l20.8 9.7 30.9-9.2v-21.5c0-36.6-30.9-66-67.8-66-36.8 0-67.8 29.2-67.8 65.5v98.3c0 9-7.3 16.2-16.2 16.2s-16.2-7.1-16.2-16.2v-41.5h-52v42.2c0 37.5 30.4 68 68 68 37.3 0 68-30 68-67.1v-97c0-8.9 7.3-16.2 16.2-16.2s16.2 7.3 16.2 16.2v18.6h-0.1z"/></svg>
|
372 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
373 |
case 'tumblr' :
|
374 |
return <svg version="1.1" class={ 'sab-' + icon } viewBox="0 0 500 500.7" xmlns="http://www.w3.org/2000/svg"><path class="st0" d="m499.4 250.9c0 7.6-0.4 15.2-1 22.5-0.2 2.2-0.4 4.5-0.7 6.7-0.1 0.6-0.1 1.1-0.2 1.7-0.7 4.8-1.4 9.5-2.2 14.2l-0.6 3.3c0 0.1 0 0.2-0.1 0.3 0 0.2-0.1 0.5-0.1 0.7-1.1 5.1-2.3 10.2-3.6 15.3-0.2 0.9-0.5 1.9-0.8 2.8-0.2 0.6-0.3 1.1-0.5 1.7-0.8 2.7-1.6 5.3-2.5 8-1.4 4.2-2.8 8.5-4.4 12.5-0.1 0.4-0.3 0.7-0.4 1.1-0.9 2.3-1.8 4.6-2.8 6.8-28.3 66.6-84.9 118.5-154.8 140.4-1.1 0.4-2.2 0.7-3.3 1-6.8 2-13.6 3.8-20.6 5.2-0.2 0.1-0.5 0.1-0.7 0.2-1.5 0.3-2.9 0.5-4.3 0.8-0.6 0.1-1.3 0.2-1.9 0.4-3.1 0.6-6.3 1.1-9.5 1.5-0.3 0-0.5 0.1-0.8 0.1-2.7 0.4-5.5 0.7-8.2 1-0.4 0-0.8 0.1-1.2 0.1-2.2 0.2-4.4 0.4-6.6 0.5-0.8 0.1-1.6 0.1-2.4 0.1-5 0.3-10.1 0.4-15.2 0.4-137.7 0-249.3-111.6-249.3-249.3s111.6-249.4 249.4-249.4 249.3 111.7 249.3 249.4z" fill="#35465c"/><path class="st1" d="m482.7 340.6c-0.1 0.4-0.3 0.7-0.4 1.1-0.9 2.3-1.8 4.6-2.8 6.8-28.3 66.6-84.9 118.5-154.8 140.4l-106.7-108.2-12-97-36.6-37.4 99.1-118 214.2 212.3z"/><path class="st2" d="m327.8 383.6c-7.4 7.9-27.1 17.2-52.9 17.2-65.6 0-79.8-48.2-79.8-76.3v-78.2h-25.8c-3 0-5.4-2.4-5.4-5.4v-36.9c0-3.9 2.4-7.4 6.1-8.7 33.7-11.8 44.2-41.3 45.8-63.6 0.4-6 3.5-8.8 8.7-8.8h38.5c3 0 5.4 2.4 5.4 5.4v62.5h45c3 0 5.4 2.4 5.4 5.4v44.3c0 3-2.4 5.4-5.4 5.4h-45.3v72.3c0 18.6 12.9 29.1 36.9 19.4 2.6-1 4.9-1.7 6.9-1.2 1.9 0.5 3.1 1.8 4 4.3l11.9 34.9c1.2 2.8 2 5.9 0 8z"/></svg>
|
375 |
break;
|
94 |
case 'stumbleUpon' :
|
95 |
return <svg aria-hidden="true" class={ 'sab-' + icon } role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.9 266v69.7c0 62.1-50.3 112.4-112.4 112.4-61.8 0-112.4-49.8-112.4-111.3v-70.2l34.3 16 51.1-15.2V338c0 14.7 12 26.5 26.7 26.5S417 352.7 417 338v-72h85.9zm-224.7-58.2l34.3 16 51.1-15.2V173c0-60.5-51.1-109-112.1-109-60.8 0-112.1 48.2-112.1 108.2v162.4c0 14.9-12 26.7-26.7 26.7S86 349.5 86 334.6V266H0v69.7C0 397.7 50.3 448 112.4 448c61.6 0 112.4-49.5 112.4-110.8V176.9c0-14.7 12-26.7 26.7-26.7s26.7 12 26.7 26.7v30.9z"></path></svg>
|
96 |
break;
|
97 |
+
case 'telegram' :
|
98 |
+
return <svg aria-hidden="true" class={ 'sab-' + icon } role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M 471.230469 156.445312 C 483.554688 185.835938 490.191406 216.179688 490.191406 248.414062 C 490.191406 280.652344 483.554688 310.992188 471.230469 340.386719 C 458.902344 369.777344 441.835938 394.429688 420.976562 416.238281 C 400.117188 437.097656 374.519531 454.164062 345.125 466.488281 C 315.734375 478.816406 285.394531 485.453125 253.15625 485.453125 C 220.917969 485.453125 190.578125 478.816406 161.183594 466.488281 C 131.792969 454.164062 107.140625 437.097656 85.332031 416.238281 C 64.472656 395.378906 47.40625 369.777344 35.082031 340.386719 C 22.753906 310.992188 16.117188 280.652344 16.117188 248.414062 C 16.117188 216.179688 22.753906 185.835938 35.082031 156.445312 C 47.40625 127.050781 64.472656 102.398438 85.332031 80.59375 C 106.191406 59.734375 131.792969 42.667969 161.183594 30.339844 C 190.578125 18.015625 220.917969 11.378906 253.15625 11.378906 C 285.394531 11.378906 315.734375 18.015625 345.125 30.339844 C 374.519531 42.667969 399.171875 59.734375 420.976562 80.59375 C 441.835938 102.398438 457.957031 128 471.230469 156.445312 Z M 329.957031 357.453125 L 368.828125 174.460938 C 370.726562 166.875 369.777344 161.183594 365.984375 157.394531 C 362.191406 153.601562 358.398438 153.601562 352.710938 155.496094 L 124.207031 243.675781 C 119.464844 245.570312 115.675781 247.464844 113.777344 250.3125 C 111.882812 253.15625 111.882812 255.050781 112.828125 256.949219 C 113.777344 258.84375 116.621094 260.742188 121.363281 261.6875 L 180.148438 279.703125 L 315.734375 194.371094 C 319.527344 191.527344 322.371094 191.527344 324.265625 192.472656 C 325.214844 193.421875 325.214844 194.371094 323.320312 196.265625 L 213.332031 296.769531 L 208.59375 357.453125 C 212.386719 357.453125 216.179688 355.554688 220.917969 351.761719 L 249.363281 324.265625 L 308.148438 367.882812 C 320.472656 374.519531 327.109375 370.726562 329.957031 357.453125 Z M 329.957031 357.453125 "/></svg>;
|
99 |
+
break;
|
100 |
case 'tumblr' :
|
101 |
return <svg aria-hidden="true" class={ 'sab-' + icon } role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"></path></svg>
|
102 |
break;
|
235 |
case 'stumbleUpon' :
|
236 |
return <svg version="1.1" class={ 'sab-' + icon } viewBox="0 0 500 500.7" xmlns="http://www.w3.org/2000/svg"><rect class="st0" x=".5" y=".4" width="500" height="500" fill="#eb4924"/><polygon class="st1" points="500.5 355.2 500.5 500.4 272.1 500.4 115 343.3 119.7 284.6 150.4 256.4 189 295.9 208.3 299.9 208.3 183.3 294.5 150.1"/><path class="st2" d="m402.7 256.4v42.2c0 37.6-30.4 68-68 68-37.4 0-68-30.1-68-67.4v-42.5l20.8 9.7 30.9-9.2v42.8c0 8.9 7.3 16 16.2 16s16.2-7.1 16.2-16v-43.6h51.9zm-136-35.2l20.8 9.7 30.9-9.2v-21.5c0-36.6-30.9-66-67.8-66-36.8 0-67.8 29.2-67.8 65.5v98.3c0 9-7.3 16.2-16.2 16.2s-16.2-7.1-16.2-16.2v-41.5h-52v42.2c0 37.5 30.4 68 68 68 37.3 0 68-30 68-67.1v-97c0-8.9 7.3-16.2 16.2-16.2s16.2 7.3 16.2 16.2v18.6h-0.1z"/></svg>
|
237 |
break;
|
238 |
+
case 'telegram' :
|
239 |
+
return <svg version="1.1" class={ 'sab-' + icon } xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500.7"><rect fill="#0088cc" x="-0.9" y="0.2" class="st0" width="500" height="500"/><polygon fill="#8EC136" class="st1" points="499.1,249.6 499.1,500.2 298.1,500.2 106.9,258.9 104,255.2 392.5,146.2 392.5,146.2 "/><path class="st2" fill="#FFFFFF" d="M393.8,162.6l-43.9,207.1c-3.3,14.6-12,18.3-24.2,11.4l-66.9-49.3l-32.3,31.1c-3.6,3.6-6.6,6.6-13.5,6.6
|
240 |
+
l4.8-68.2l124-112.1c5.4-4.8-1.2-7.5-8.4-2.7l-153.3,96.6l-66-20.7c-14.4-4.5-14.6-14.4,3-21.2l258.2-99.5
|
241 |
+
C387.2,137.2,397.7,144.4,393.8,162.6z"/></svg>
|
242 |
+
break;
|
243 |
case 'tumblr' :
|
244 |
return <svg version="1.1" class={ 'sab-' + icon } viewBox="0 0 500 500.7" xmlns="http://www.w3.org/2000/svg"><rect class="st0" x=".5" y=".4" width="500" height="500" fill="#35465c"/><polygon class="st1" points="500.5 342.9 500.5 500.4 351.4 500.4 222 369.3 210 272.3 173.4 234.9 272.5 116.9"/><path class="st2" d="m331.8 372.1c-7.4 7.9-27.1 17.2-52.9 17.2-65.6 0-79.8-48.2-79.8-76.3v-78.2h-25.8c-3 0-5.4-2.4-5.4-5.4v-36.9c0-3.9 2.4-7.4 6.1-8.7 33.7-11.8 44.2-41.3 45.8-63.6 0.4-6 3.5-8.8 8.7-8.8h38.5c3 0 5.4 2.4 5.4 5.4v62.5h45c3 0 5.4 2.4 5.4 5.4v44.3c0 3-2.4 5.4-5.4 5.4h-45.3v72.3c0 18.6 12.9 29.1 36.9 19.4 2.6-1 4.9-1.7 6.9-1.2 1.9 0.5 3.1 1.8 4 4.3l11.9 34.9c1.2 2.9 2 5.9 0 8z"/></svg>
|
245 |
break;
|
378 |
case 'stumbleUpon' :
|
379 |
return <svg version="1.1" class={ 'sab-' + icon } viewBox="0 0 500 500.7" xmlns="http://www.w3.org/2000/svg"><path class="st0" d="m499.4 250.9c0 7.6-0.4 15.2-1 22.5-0.2 2.2-0.4 4.5-0.7 6.7-0.1 0.6-0.1 1.1-0.2 1.7-0.7 4.8-1.4 9.5-2.2 14.2l-0.6 3.3c0 0.1 0 0.2-0.1 0.3 0 0.2-0.1 0.5-0.1 0.7-1.1 5.1-2.3 10.2-3.6 15.3-0.2 0.9-0.5 1.9-0.8 2.8-0.2 0.6-0.3 1.1-0.5 1.7-0.8 2.7-1.6 5.3-2.5 8-1.5 4.6-3.1 9.2-4.8 13.6-0.9 2.3-1.8 4.6-2.8 6.8-28.8 67.7-86.7 120.1-158.1 141.4-6.8 2-13.6 3.8-20.6 5.2-0.2 0.1-0.5 0.1-0.7 0.2-1.5 0.3-2.9 0.5-4.3 0.8-0.6 0.1-1.3 0.2-1.9 0.4-3.1 0.6-6.3 1.1-9.5 1.5-0.3 0-0.5 0.1-0.8 0.1-2.7 0.4-5.5 0.7-8.2 1-0.4 0-0.8 0.1-1.2 0.1-2.2 0.2-4.4 0.4-6.6 0.5-0.8 0.1-1.6 0.1-2.4 0.1-5 0.3-10.1 0.4-15.2 0.4-137.7 0-249.3-111.6-249.3-249.3s111.6-249.4 249.4-249.4 249.3 111.7 249.3 249.4z" fill="#eb4924"/><path class="st1" d="m487.1 328.1c-1.5 4.6-3.1 9.2-4.8 13.6-0.9 2.3-1.8 4.6-2.8 6.8-28.8 67.7-86.7 120.1-158.1 141.4-6.8 2-13.6 3.8-20.6 5.2-0.2 0.1-0.5 0.1-0.7 0.2-1.5 0.3-2.9 0.5-4.3 0.8-0.6 0.1-1.3 0.2-1.9 0.4-3.1 0.6-6.3 1.1-9.5 1.5-0.3 0-0.5 0.1-0.8 0.1l-166.1-166.1 4.7-58.7 30.7-28.2 38.6 39.5 19.3 4v-116.6l86.2-33.2 190.1 189.3z"/><path class="st2" d="m405.2 245.1v42.2c0 37.6-30.4 68-68 68-37.4 0-68-30.1-68-67.4v-42.5l20.8 9.7 30.9-9.2v42.7c0 8.9 7.3 16 16.2 16s16.2-7.1 16.2-16v-43.6h51.9zm-136-35.2l20.8 9.7 30.9-9.2v-21.5c0-36.6-30.9-66-67.8-66-36.8 0-67.8 29.2-67.8 65.5v98.3c0 9-7.3 16.2-16.2 16.2s-16.2-7.1-16.2-16.2v-41.5h-52v42.2c0 37.5 30.4 68 68 68 37.3 0 68-30 68-67.1v-97c0-8.9 7.3-16.2 16.2-16.2s16.2 7.3 16.2 16.2v18.6h-0.1z"/></svg>
|
380 |
break;
|
381 |
+
case 'telegram' :
|
382 |
+
return <svg version="1.1" class={ 'sab-' + icon } xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500.7"><path fill="#0088cc" class="st0" d="M499.4,250.9c0,2.2,0,4.4-0.1,6.6v0.4c-0.1,2.2-0.2,4.4-0.3,6.5c-0.1,1.3-0.1,2.6-0.2,4
|
383 |
+
c-0.1,1.5-0.2,2.9-0.3,4.3c0,0.2,0,0.5-0.1,0.7c-0.2,2.2-0.4,4.5-0.7,6.7c-0.1,0.6-0.1,1.1-0.2,1.7c-0.6,4-1.2,7.9-1.8,11.9
|
384 |
+
c-0.1,0.4-0.1,0.9-0.2,1.3c0,0.4-0.1,0.7-0.2,1v0.3c-0.2,1-0.4,2-0.5,3c0,0.1,0,0.2-0.1,0.3v0.1c0,0.2-0.1,0.4-0.1,0.6
|
385 |
+
c-0.1,0.5-0.2,1-0.3,1.6c0,0.2-0.1,0.3-0.1,0.5c-1,4.4-2,8.8-3.1,13.2c-0.2,0.9-0.5,1.9-0.8,2.8c-0.2,0.6-0.3,1.1-0.5,1.7
|
386 |
+
c-0.8,2.7-1.6,5.3-2.5,8c-1.4,4.2-2.8,8.5-4.4,12.5c-0.1,0.4-0.3,0.7-0.4,1.1c-0.9,2.3-1.8,4.6-2.8,6.8
|
387 |
+
c-28.1,66.2-84.2,117.8-153.5,140c-0.5,0.2-0.9,0.3-1.3,0.4c-1.1,0.4-2.2,0.7-3.3,1c-2.9,0.9-5.9,1.6-8.8,2.4
|
388 |
+
c-0.1,0-0.2,0.1-0.3,0.1c-1.4,0.4-2.8,0.8-4.2,1.1c-1.1,0.3-2.2,0.5-3.4,0.7c-1.3,0.3-2.6,0.6-3.9,0.9c-0.2,0.1-0.5,0.1-0.7,0.2
|
389 |
+
c-1.5,0.3-2.9,0.5-4.3,0.8c-0.6,0.1-1.3,0.2-1.9,0.4c-0.2,0-0.3,0.1-0.5,0.1c-1.1,0.2-2.2,0.4-3.3,0.6c-1.9,0.3-3.8,0.6-5.7,0.8
|
390 |
+
c-0.3,0-0.5,0.1-0.8,0.1c-2.7,0.4-5.5,0.7-8.2,1c-0.4,0-0.8,0.1-1.2,0.1c-0.3,0-0.6,0-0.9,0.1c-0.8,0.1-1.5,0.1-2.3,0.2
|
391 |
+
c-0.1,0-0.1,0-0.2,0c-1,0.1-2.1,0.2-3.2,0.2c-0.8,0.1-1.6,0.1-2.4,0.1c-1.4,0.1-2.9,0.2-4.4,0.2c-3.6,0.1-7.2,0.2-10.8,0.2
|
392 |
+
c-11,0-21.9-0.7-32.6-2.1C95.2,482.2,0.7,377.6,0.7,250.9C0.7,113.2,112.3,1.5,250.1,1.5c133.8,0,242.7,105.2,249,237.2
|
393 |
+
c0.1,1.5,0.1,3,0.2,4.6C499.4,245.8,499.4,248.4,499.4,250.9z"/><path class="st1" fill="#8EC136" d="M498.5,272.7c0,0.2,0,0.5-0.1,0.7c-0.2,2.2-0.4,4.5-0.7,6.7c-0.1,0.6-0.1,1.1-0.2,1.7c-0.6,4-1.2,7.9-1.8,11.9
|
394 |
+
c-0.1,0.4-0.1,0.9-0.2,1.3c0,0.4-0.1,0.7-0.2,1v0.3c-0.2,1-0.4,2-0.5,3c0,0.1,0,0.2-0.1,0.3v0.1c0,0.2-0.1,0.4-0.1,0.6
|
395 |
+
c-0.1,0.5-0.2,1-0.3,1.6c0,0.2-0.1,0.3-0.1,0.5c-1,4.4-2,8.8-3.1,13.2c-0.2,0.9-0.5,1.9-0.8,2.8c-0.2,0.6-0.3,1.1-0.5,1.7
|
396 |
+
c-0.8,2.7-1.6,5.3-2.5,8c-1.4,4.2-2.8,8.5-4.4,12.5c-0.1,0.4-0.3,0.7-0.4,1.1c-0.9,2.3-1.8,4.6-2.8,6.8
|
397 |
+
c-28.1,66.2-84.2,117.8-153.5,140c-0.5,0.2-0.9,0.3-1.3,0.4c-1.1,0.4-2.2,0.7-3.3,1c-2.9,0.9-5.9,1.6-8.8,2.4
|
398 |
+
c-0.1,0-0.2,0.1-0.3,0.1c-1.4,0.4-2.8,0.8-4.2,1.1c-1.1,0.3-2.2,0.5-3.4,0.7c-1.3,0.3-2.6,0.6-3.9,0.9c-0.2,0.1-0.5,0.1-0.7,0.2
|
399 |
+
c-1.5,0.3-2.9,0.5-4.3,0.8c-0.6,0.1-1.3,0.2-1.9,0.4c-0.2,0-0.3,0.1-0.5,0.1c-1.1,0.2-2.2,0.4-3.3,0.6c-1.9,0.3-3.8,0.6-5.7,0.8
|
400 |
+
c-0.3,0-0.5,0.1-0.8,0.1c-2.7,0.4-5.5,0.7-8.2,1c-0.4,0-0.8,0.1-1.2,0.1c-0.3,0-0.6,0-0.9,0.1L85.5,261.9l-2.9-3.7l288.5-109l0,0
|
401 |
+
L498.5,272.7z"/><path class="st2" fill="#FFFFFF" d="M372.4,165.6l-43.9,207.1c-3.3,14.6-12,18.3-24.2,11.4l-66.9-49.3L205,365.9c-3.6,3.6-6.6,6.6-13.5,6.6
|
402 |
+
l4.8-68.2l124-112.1c5.4-4.8-1.2-7.5-8.4-2.7l-153.3,96.6l-66-20.7c-14.4-4.5-14.6-14.4,3-21.2l258.2-99.5
|
403 |
+
C365.8,140.2,376.3,147.4,372.4,165.6z"/></svg>;
|
404 |
+
break;
|
405 |
case 'tumblr' :
|
406 |
return <svg version="1.1" class={ 'sab-' + icon } viewBox="0 0 500 500.7" xmlns="http://www.w3.org/2000/svg"><path class="st0" d="m499.4 250.9c0 7.6-0.4 15.2-1 22.5-0.2 2.2-0.4 4.5-0.7 6.7-0.1 0.6-0.1 1.1-0.2 1.7-0.7 4.8-1.4 9.5-2.2 14.2l-0.6 3.3c0 0.1 0 0.2-0.1 0.3 0 0.2-0.1 0.5-0.1 0.7-1.1 5.1-2.3 10.2-3.6 15.3-0.2 0.9-0.5 1.9-0.8 2.8-0.2 0.6-0.3 1.1-0.5 1.7-0.8 2.7-1.6 5.3-2.5 8-1.4 4.2-2.8 8.5-4.4 12.5-0.1 0.4-0.3 0.7-0.4 1.1-0.9 2.3-1.8 4.6-2.8 6.8-28.3 66.6-84.9 118.5-154.8 140.4-1.1 0.4-2.2 0.7-3.3 1-6.8 2-13.6 3.8-20.6 5.2-0.2 0.1-0.5 0.1-0.7 0.2-1.5 0.3-2.9 0.5-4.3 0.8-0.6 0.1-1.3 0.2-1.9 0.4-3.1 0.6-6.3 1.1-9.5 1.5-0.3 0-0.5 0.1-0.8 0.1-2.7 0.4-5.5 0.7-8.2 1-0.4 0-0.8 0.1-1.2 0.1-2.2 0.2-4.4 0.4-6.6 0.5-0.8 0.1-1.6 0.1-2.4 0.1-5 0.3-10.1 0.4-15.2 0.4-137.7 0-249.3-111.6-249.3-249.3s111.6-249.4 249.4-249.4 249.3 111.7 249.3 249.4z" fill="#35465c"/><path class="st1" d="m482.7 340.6c-0.1 0.4-0.3 0.7-0.4 1.1-0.9 2.3-1.8 4.6-2.8 6.8-28.3 66.6-84.9 118.5-154.8 140.4l-106.7-108.2-12-97-36.6-37.4 99.1-118 214.2 212.3z"/><path class="st2" d="m327.8 383.6c-7.4 7.9-27.1 17.2-52.9 17.2-65.6 0-79.8-48.2-79.8-76.3v-78.2h-25.8c-3 0-5.4-2.4-5.4-5.4v-36.9c0-3.9 2.4-7.4 6.1-8.7 33.7-11.8 44.2-41.3 45.8-63.6 0.4-6 3.5-8.8 8.7-8.8h38.5c3 0 5.4 2.4 5.4 5.4v62.5h45c3 0 5.4 2.4 5.4 5.4v44.3c0 3-2.4 5.4-5.4 5.4h-45.3v72.3c0 18.6 12.9 29.1 36.9 19.4 2.6-1 4.9-1.7 6.9-1.2 1.9 0.5 3.1 1.8 4 4.3l11.9 34.9c1.2 2.8 2 5.9 0 8z"/></svg>
|
407 |
break;
|
assets/src/scss/sab_gutenberg_editor_style.scss
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
}
|
18 |
.saboxplugin-wrap .saboxplugin-gravatar img{
|
19 |
max-width:100px;
|
20 |
-
height:auto
|
21 |
}
|
22 |
.saboxplugin-wrap .saboxplugin-authorname{
|
23 |
font-size:18px;
|
17 |
}
|
18 |
.saboxplugin-wrap .saboxplugin-gravatar img{
|
19 |
max-width:100px;
|
20 |
+
height:auto;
|
21 |
}
|
22 |
.saboxplugin-wrap .saboxplugin-authorname{
|
23 |
font-size:18px;
|
changelog.txt
CHANGED
@@ -1,3 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
= 2.3.0 =
|
2 |
* Added Elementor widget
|
3 |
* Added Gutenberg block
|
1 |
+
= 2.3.1 =
|
2 |
+
* Improved widget - added display name alongside username
|
3 |
+
* Fixed telegram symbol color changing
|
4 |
+
* Fixed telegram display in Gutenberg block
|
5 |
+
* Fixed avatar/gravatar circle/square functionality
|
6 |
+
* Fix for author name color change when link set to none
|
7 |
+
* Fix for plugin settings link
|
8 |
+
* Fix for author description display
|
9 |
+
|
10 |
+
|
11 |
= 2.3.0 =
|
12 |
* Added Elementor widget
|
13 |
* Added Gutenberg block
|
inc/class-simple-author-box-helper.php
CHANGED
@@ -937,7 +937,7 @@ class Simple_Author_Box_Helper {
|
|
937 |
$sabox_options = self::get_option( 'saboxplugin_options' );
|
938 |
$sabox_web_size = self::get_option( 'sab_box_web_size' );
|
939 |
|
940 |
-
$style = '.saboxplugin-wrap{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;border:1px solid #eee;width:100%;clear:both;display:block;overflow:hidden;word-wrap:break-word;position:relative}.saboxplugin-wrap .saboxplugin-gravatar{float:left;padding:20px}.saboxplugin-wrap .saboxplugin-gravatar img{max-width:100px;height:auto}.saboxplugin-wrap .saboxplugin-authorname{font-size:18px;line-height:1;margin:20px 0 0 20px;display:block}.saboxplugin-wrap .saboxplugin-authorname a{text-decoration:none}.saboxplugin-wrap .saboxplugin-authorname a:focus{outline:0}.saboxplugin-wrap .saboxplugin-desc{display:block;margin:5px 20px}.saboxplugin-wrap .saboxplugin-desc a{text-decoration:underline}.saboxplugin-wrap .saboxplugin-desc p{margin:5px 0 12px}.saboxplugin-wrap .saboxplugin-web{margin:0 20px 15px;text-align:left}.saboxplugin-wrap .sab-web-position{text-align:right}.saboxplugin-wrap .saboxplugin-web a{color:#ccc;text-decoration:none}.saboxplugin-wrap .saboxplugin-socials{position:relative;display:block;background:#fcfcfc;padding:5px;border-top:1px solid #eee}.saboxplugin-wrap .saboxplugin-socials a svg{width:20px;height:20px}.saboxplugin-wrap .saboxplugin-socials a svg .st2{fill:#fff}.saboxplugin-wrap .saboxplugin-socials a svg .st1{fill:rgba(0,0,0,.3)}.saboxplugin-wrap .saboxplugin-socials a:hover{opacity:.8;-webkit-transition:opacity .4s;-moz-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s;box-shadow:none!important;-webkit-box-shadow:none!important}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color{box-shadow:none;padding:0;border:0;-webkit-transition:opacity .4s;-moz-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s;display:inline-block;color:#fff;font-size:0;text-decoration:inherit;margin:5px;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0;overflow:hidden}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey{text-decoration:inherit;box-shadow:none;position:relative;display:-moz-inline-stack;display:inline-block;vertical-align:middle;zoom:1;margin:10px 5px;color:#444}.clearfix:after,.clearfix:before{content:\' \';display:table;line-height:0;clear:both}.ie7 .clearfix{zoom:1}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-twitch{border-color:#38245c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-addthis{border-color:#e91c00}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-behance{border-color:#003eb0}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-delicious{border-color:#06c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-deviantart{border-color:#036824}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-digg{border-color:#00327c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-dribbble{border-color:#ba1655}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-facebook{border-color:#1e2e4f}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-flickr{border-color:#003576}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-github{border-color:#264874}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-google{border-color:#0b51c5}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-googleplus{border-color:#96271a}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-html5{border-color:#902e13}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-instagram{border-color:#1630aa}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-linkedin{border-color:#00344f}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-pinterest{border-color:#5b040e}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-reddit{border-color:#992900}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-rss{border-color:#a43b0a}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-sharethis{border-color:#5d8420}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-skype{border-color:#00658a}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-soundcloud{border-color:#995200}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-spotify{border-color:#0f612c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-stackoverflow{border-color:#a95009}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-steam{border-color:#006388}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-user_email{border-color:#b84e05}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-stumbleUpon{border-color:#9b280e}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-tumblr{border-color:#10151b}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-twitter{border-color:#0967a0}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-vimeo{border-color:#0d7091}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-windows{border-color:#003f71}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-wordpress{border-color:#0f3647}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-yahoo{border-color:#14002d}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-youtube{border-color:#900}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-xing{border-color:#000202}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-mixcloud{border-color:#2475a0}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-vk{border-color:#243549}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-medium{border-color:#00452c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-quora{border-color:#420e00}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-meetup{border-color:#9b181c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-goodreads{border-color:#000}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-snapchat{border-color:#999700}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-500px{border-color:#00557f}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-mastodont{border-color:#185886}.sabox-plus-item{margin-bottom:20px}@media screen and (max-width:480px){.saboxplugin-wrap{text-align:center}.saboxplugin-wrap .saboxplugin-gravatar{float:none;padding:20px 0;text-align:center;margin:0 auto;display:block}.saboxplugin-wrap .saboxplugin-gravatar img{float:none;display:inline-block;display:-moz-inline-stack;vertical-align:middle;zoom:1}.saboxplugin-wrap .saboxplugin-desc{margin:0 10px 20px;text-align:center}.saboxplugin-wrap .saboxplugin-authorname{text-align:center;margin:10px 0 20px}}body .saboxplugin-authorname a,body .saboxplugin-authorname a:hover{box-shadow:none;-webkit-box-shadow:none}a.sab-profile-edit{font-size:16px!important;line-height:1!important}.sab-edit-settings a,a.sab-profile-edit{color:#0073aa!important;box-shadow:none!important;-webkit-box-shadow:none!important}.sab-edit-settings{margin-right:15px;position:absolute;right:0;z-index:2;bottom:10px;line-height:20px}.sab-edit-settings i{margin-left:5px}.saboxplugin-socials{line-height:1!important}.rtl .saboxplugin-wrap .saboxplugin-gravatar{float:right}.rtl .saboxplugin-wrap .saboxplugin-authorname{display:flex;align-items:center}.rtl .saboxplugin-wrap .saboxplugin-authorname .sab-profile-edit{margin-right:10px}.rtl .sab-edit-settings{right:auto;left:0}img.sab-custom-avatar{max-width:75px;}';
|
941 |
|
942 |
// Border color of Simple Author Box
|
943 |
if ( '' != $sabox_options['sab_box_border'] ) {
|
@@ -999,7 +999,7 @@ class Simple_Author_Box_Helper {
|
|
999 |
}
|
1000 |
// Author name color
|
1001 |
if ( '' != $sabox_options['sab_box_author_color'] ) {
|
1002 |
-
$style .= '.saboxplugin-wrap .saboxplugin-authorname a {color:' . esc_html( $sabox_options['sab_box_author_color'] ) . ';}';
|
1003 |
}
|
1004 |
|
1005 |
// Author web color
|
937 |
$sabox_options = self::get_option( 'saboxplugin_options' );
|
938 |
$sabox_web_size = self::get_option( 'sab_box_web_size' );
|
939 |
|
940 |
+
$style = '.saboxplugin-wrap{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;border:1px solid #eee;width:100%;clear:both;display:block;overflow:hidden;word-wrap:break-word;position:relative}.saboxplugin-wrap .saboxplugin-gravatar{float:left;padding:20px}.saboxplugin-wrap .saboxplugin-gravatar img{max-width:100px;height:auto;border-radius:0;}.saboxplugin-wrap .saboxplugin-authorname{font-size:18px;line-height:1;margin:20px 0 0 20px;display:block}.saboxplugin-wrap .saboxplugin-authorname a{text-decoration:none}.saboxplugin-wrap .saboxplugin-authorname a:focus{outline:0}.saboxplugin-wrap .saboxplugin-desc{display:block;margin:5px 20px}.saboxplugin-wrap .saboxplugin-desc a{text-decoration:underline}.saboxplugin-wrap .saboxplugin-desc p{margin:5px 0 12px}.saboxplugin-wrap .saboxplugin-web{margin:0 20px 15px;text-align:left}.saboxplugin-wrap .sab-web-position{text-align:right}.saboxplugin-wrap .saboxplugin-web a{color:#ccc;text-decoration:none}.saboxplugin-wrap .saboxplugin-socials{position:relative;display:block;background:#fcfcfc;padding:5px;border-top:1px solid #eee}.saboxplugin-wrap .saboxplugin-socials a svg{width:20px;height:20px}.saboxplugin-wrap .saboxplugin-socials a svg .st2{fill:#fff}.saboxplugin-wrap .saboxplugin-socials a svg .st1{fill:rgba(0,0,0,.3)}.saboxplugin-wrap .saboxplugin-socials a:hover{opacity:.8;-webkit-transition:opacity .4s;-moz-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s;box-shadow:none!important;-webkit-box-shadow:none!important}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color{box-shadow:none;padding:0;border:0;-webkit-transition:opacity .4s;-moz-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s;display:inline-block;color:#fff;font-size:0;text-decoration:inherit;margin:5px;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0;overflow:hidden}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey{text-decoration:inherit;box-shadow:none;position:relative;display:-moz-inline-stack;display:inline-block;vertical-align:middle;zoom:1;margin:10px 5px;color:#444}.clearfix:after,.clearfix:before{content:\' \';display:table;line-height:0;clear:both}.ie7 .clearfix{zoom:1}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-twitch{border-color:#38245c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-addthis{border-color:#e91c00}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-behance{border-color:#003eb0}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-delicious{border-color:#06c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-deviantart{border-color:#036824}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-digg{border-color:#00327c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-dribbble{border-color:#ba1655}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-facebook{border-color:#1e2e4f}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-flickr{border-color:#003576}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-github{border-color:#264874}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-google{border-color:#0b51c5}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-googleplus{border-color:#96271a}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-html5{border-color:#902e13}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-instagram{border-color:#1630aa}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-linkedin{border-color:#00344f}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-pinterest{border-color:#5b040e}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-reddit{border-color:#992900}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-rss{border-color:#a43b0a}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-sharethis{border-color:#5d8420}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-skype{border-color:#00658a}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-soundcloud{border-color:#995200}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-spotify{border-color:#0f612c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-stackoverflow{border-color:#a95009}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-steam{border-color:#006388}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-user_email{border-color:#b84e05}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-stumbleUpon{border-color:#9b280e}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-tumblr{border-color:#10151b}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-twitter{border-color:#0967a0}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-vimeo{border-color:#0d7091}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-windows{border-color:#003f71}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-wordpress{border-color:#0f3647}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-yahoo{border-color:#14002d}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-youtube{border-color:#900}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-xing{border-color:#000202}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-mixcloud{border-color:#2475a0}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-vk{border-color:#243549}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-medium{border-color:#00452c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-quora{border-color:#420e00}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-meetup{border-color:#9b181c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-goodreads{border-color:#000}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-snapchat{border-color:#999700}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-500px{border-color:#00557f}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-mastodont{border-color:#185886}.sabox-plus-item{margin-bottom:20px}@media screen and (max-width:480px){.saboxplugin-wrap{text-align:center}.saboxplugin-wrap .saboxplugin-gravatar{float:none;padding:20px 0;text-align:center;margin:0 auto;display:block}.saboxplugin-wrap .saboxplugin-gravatar img{float:none;display:inline-block;display:-moz-inline-stack;vertical-align:middle;zoom:1}.saboxplugin-wrap .saboxplugin-desc{margin:0 10px 20px;text-align:center}.saboxplugin-wrap .saboxplugin-authorname{text-align:center;margin:10px 0 20px}}body .saboxplugin-authorname a,body .saboxplugin-authorname a:hover{box-shadow:none;-webkit-box-shadow:none}a.sab-profile-edit{font-size:16px!important;line-height:1!important}.sab-edit-settings a,a.sab-profile-edit{color:#0073aa!important;box-shadow:none!important;-webkit-box-shadow:none!important}.sab-edit-settings{margin-right:15px;position:absolute;right:0;z-index:2;bottom:10px;line-height:20px}.sab-edit-settings i{margin-left:5px}.saboxplugin-socials{line-height:1!important}.rtl .saboxplugin-wrap .saboxplugin-gravatar{float:right}.rtl .saboxplugin-wrap .saboxplugin-authorname{display:flex;align-items:center}.rtl .saboxplugin-wrap .saboxplugin-authorname .sab-profile-edit{margin-right:10px}.rtl .sab-edit-settings{right:auto;left:0}img.sab-custom-avatar{max-width:75px;}';
|
941 |
|
942 |
// Border color of Simple Author Box
|
943 |
if ( '' != $sabox_options['sab_box_border'] ) {
|
999 |
}
|
1000 |
// Author name color
|
1001 |
if ( '' != $sabox_options['sab_box_author_color'] ) {
|
1002 |
+
$style .= '.saboxplugin-wrap .saboxplugin-authorname a,.saboxplugin-wrap .saboxplugin-authorname span {color:' . esc_html( $sabox_options['sab_box_author_color'] ) . ';}';
|
1003 |
}
|
1004 |
|
1005 |
// Author web color
|
inc/class-simple-author-box-previewer.php
CHANGED
@@ -168,7 +168,7 @@ class Simple_Author_Box_Previewer {
|
|
168 |
$sabox_options = Simple_Author_Box_Helper::get_option( 'saboxplugin_options' );
|
169 |
$sabox_web_size = Simple_Author_Box_Helper::get_option( 'sab_box_web_size' );
|
170 |
|
171 |
-
$style = '.saboxplugin-wrap{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;border:1px solid #eee;width:100%;clear:both;display:block;overflow:hidden;word-wrap:break-word;position:relative}.saboxplugin-wrap .saboxplugin-gravatar{float:left;padding:20px}.saboxplugin-wrap .saboxplugin-gravatar img{max-width:100px;height:auto}.saboxplugin-wrap .saboxplugin-authorname{font-size:18px;line-height:1;margin:20px 0 0 20px;display:block}.saboxplugin-wrap .saboxplugin-authorname a{text-decoration:none}.saboxplugin-wrap .saboxplugin-authorname a:focus{outline:0}.saboxplugin-wrap .saboxplugin-desc{display:block;margin:5px 20px}.saboxplugin-wrap .saboxplugin-desc a{text-decoration:underline}.saboxplugin-wrap .saboxplugin-desc p{margin:5px 0 12px}.saboxplugin-wrap .saboxplugin-web{margin:0 20px 15px;text-align:left}.saboxplugin-wrap .sab-web-position{text-align:right}.saboxplugin-wrap .saboxplugin-web a{color:#ccc;text-decoration:none}.saboxplugin-wrap .saboxplugin-socials{position:relative;display:block;background:#fcfcfc;padding:5px;border-top:1px solid #eee}.saboxplugin-wrap .saboxplugin-socials a svg{width:20px;height:20px}.saboxplugin-wrap .saboxplugin-socials a svg .st2{fill:#fff}.saboxplugin-wrap .saboxplugin-socials a svg .st1{fill:rgba(0,0,0,.3)}.saboxplugin-wrap .saboxplugin-socials a:hover{opacity:.8;-webkit-transition:opacity .4s;-moz-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s;box-shadow:none!important;-webkit-box-shadow:none!important}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color{box-shadow:none;padding:0;border:0;-webkit-transition:opacity .4s;-moz-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s;display:inline-block;color:#fff;font-size:0;text-decoration:inherit;margin:5px;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0;overflow:hidden}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey{text-decoration:inherit;box-shadow:none;position:relative;display:-moz-inline-stack;display:inline-block;vertical-align:middle;zoom:1;margin:10px 5px;color:#444}.clearfix:after,.clearfix:before{content:\' \';display:table;line-height:0;clear:both}.ie7 .clearfix{zoom:1}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-twitch{border-color:#38245c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-addthis{border-color:#e91c00}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-behance{border-color:#003eb0}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-delicious{border-color:#06c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-deviantart{border-color:#036824}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-digg{border-color:#00327c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-dribbble{border-color:#ba1655}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-facebook{border-color:#1e2e4f}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-flickr{border-color:#003576}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-github{border-color:#264874}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-google{border-color:#0b51c5}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-googleplus{border-color:#96271a}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-html5{border-color:#902e13}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-instagram{border-color:#1630aa}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-linkedin{border-color:#00344f}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-pinterest{border-color:#5b040e}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-reddit{border-color:#992900}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-rss{border-color:#a43b0a}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-sharethis{border-color:#5d8420}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-skype{border-color:#00658a}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-soundcloud{border-color:#995200}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-spotify{border-color:#0f612c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-stackoverflow{border-color:#a95009}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-steam{border-color:#006388}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-user_email{border-color:#b84e05}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-stumbleUpon{border-color:#9b280e}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-tumblr{border-color:#10151b}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-twitter{border-color:#0967a0}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-vimeo{border-color:#0d7091}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-windows{border-color:#003f71}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-wordpress{border-color:#0f3647}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-yahoo{border-color:#14002d}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-youtube{border-color:#900}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-xing{border-color:#000202}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-mixcloud{border-color:#2475a0}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-vk{border-color:#243549}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-medium{border-color:#00452c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-quora{border-color:#420e00}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-meetup{border-color:#9b181c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-goodreads{border-color:#000}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-snapchat{border-color:#999700}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-500px{border-color:#00557f}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-mastodont{border-color:#185886}.sabox-plus-item{margin-bottom:20px}@media screen and (max-width:480px){.saboxplugin-wrap{text-align:center}.saboxplugin-wrap .saboxplugin-gravatar{float:none;padding:20px 0;text-align:center;margin:0 auto;display:block}.saboxplugin-wrap .saboxplugin-gravatar img{float:none;display:inline-block;display:-moz-inline-stack;vertical-align:middle;zoom:1}.saboxplugin-wrap .saboxplugin-desc{margin:0 10px 20px;text-align:center}.saboxplugin-wrap .saboxplugin-authorname{text-align:center;margin:10px 0 20px}}body .saboxplugin-authorname a,body .saboxplugin-authorname a:hover{box-shadow:none;-webkit-box-shadow:none}a.sab-profile-edit{font-size:16px!important;line-height:1!important}.sab-edit-settings a,a.sab-profile-edit{color:#0073aa!important;box-shadow:none!important;-webkit-box-shadow:none!important}.sab-edit-settings{margin-right:15px;position:absolute;right:0;z-index:2;bottom:10px;line-height:20px}.sab-edit-settings i{margin-left:5px}.saboxplugin-socials{line-height:1!important}.rtl .saboxplugin-wrap .saboxplugin-gravatar{float:right}.rtl .saboxplugin-wrap .saboxplugin-authorname{display:flex;align-items:center}.rtl .saboxplugin-wrap .saboxplugin-authorname .sab-profile-edit{margin-right:10px}.rtl .sab-edit-settings{right:auto;left:0}img.sab-custom-avatar{max-width:75px;}';
|
172 |
|
173 |
// Border color of Simple Author Box
|
174 |
if ( '' != $sabox_options['sab_box_border'] ) {
|
@@ -205,7 +205,7 @@ class Simple_Author_Box_Previewer {
|
|
205 |
|
206 |
// Author name color
|
207 |
if ( '' != $sabox_options['sab_box_author_color'] ) {
|
208 |
-
$style .= '.saboxplugin-wrap .saboxplugin-authorname a {color:' . esc_html( $sabox_options['sab_box_author_color'] ) . ';}';
|
209 |
}
|
210 |
|
211 |
// Author web color
|
168 |
$sabox_options = Simple_Author_Box_Helper::get_option( 'saboxplugin_options' );
|
169 |
$sabox_web_size = Simple_Author_Box_Helper::get_option( 'sab_box_web_size' );
|
170 |
|
171 |
+
$style = '.saboxplugin-wrap{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;border:1px solid #eee;width:100%;clear:both;display:block;overflow:hidden;word-wrap:break-word;position:relative}.saboxplugin-wrap .saboxplugin-gravatar{float:left;padding:20px}.saboxplugin-wrap .saboxplugin-gravatar img{max-width:100px;height:auto;}.saboxplugin-wrap .saboxplugin-authorname{font-size:18px;line-height:1;margin:20px 0 0 20px;display:block}.saboxplugin-wrap .saboxplugin-authorname a{text-decoration:none}.saboxplugin-wrap .saboxplugin-authorname a:focus{outline:0}.saboxplugin-wrap .saboxplugin-desc{display:block;margin:5px 20px}.saboxplugin-wrap .saboxplugin-desc a{text-decoration:underline}.saboxplugin-wrap .saboxplugin-desc p{margin:5px 0 12px}.saboxplugin-wrap .saboxplugin-web{margin:0 20px 15px;text-align:left}.saboxplugin-wrap .sab-web-position{text-align:right}.saboxplugin-wrap .saboxplugin-web a{color:#ccc;text-decoration:none}.saboxplugin-wrap .saboxplugin-socials{position:relative;display:block;background:#fcfcfc;padding:5px;border-top:1px solid #eee}.saboxplugin-wrap .saboxplugin-socials a svg{width:20px;height:20px}.saboxplugin-wrap .saboxplugin-socials a svg .st2{fill:#fff}.saboxplugin-wrap .saboxplugin-socials a svg .st1{fill:rgba(0,0,0,.3)}.saboxplugin-wrap .saboxplugin-socials a:hover{opacity:.8;-webkit-transition:opacity .4s;-moz-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s;box-shadow:none!important;-webkit-box-shadow:none!important}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color{box-shadow:none;padding:0;border:0;-webkit-transition:opacity .4s;-moz-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s;display:inline-block;color:#fff;font-size:0;text-decoration:inherit;margin:5px;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0;overflow:hidden}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey{text-decoration:inherit;box-shadow:none;position:relative;display:-moz-inline-stack;display:inline-block;vertical-align:middle;zoom:1;margin:10px 5px;color:#444}.clearfix:after,.clearfix:before{content:\' \';display:table;line-height:0;clear:both}.ie7 .clearfix{zoom:1}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-twitch{border-color:#38245c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-addthis{border-color:#e91c00}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-behance{border-color:#003eb0}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-delicious{border-color:#06c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-deviantart{border-color:#036824}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-digg{border-color:#00327c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-dribbble{border-color:#ba1655}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-facebook{border-color:#1e2e4f}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-flickr{border-color:#003576}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-github{border-color:#264874}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-google{border-color:#0b51c5}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-googleplus{border-color:#96271a}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-html5{border-color:#902e13}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-instagram{border-color:#1630aa}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-linkedin{border-color:#00344f}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-pinterest{border-color:#5b040e}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-reddit{border-color:#992900}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-rss{border-color:#a43b0a}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-sharethis{border-color:#5d8420}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-skype{border-color:#00658a}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-soundcloud{border-color:#995200}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-spotify{border-color:#0f612c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-stackoverflow{border-color:#a95009}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-steam{border-color:#006388}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-user_email{border-color:#b84e05}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-stumbleUpon{border-color:#9b280e}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-tumblr{border-color:#10151b}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-twitter{border-color:#0967a0}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-vimeo{border-color:#0d7091}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-windows{border-color:#003f71}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-wordpress{border-color:#0f3647}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-yahoo{border-color:#14002d}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-youtube{border-color:#900}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-xing{border-color:#000202}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-mixcloud{border-color:#2475a0}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-vk{border-color:#243549}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-medium{border-color:#00452c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-quora{border-color:#420e00}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-meetup{border-color:#9b181c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-goodreads{border-color:#000}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-snapchat{border-color:#999700}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-500px{border-color:#00557f}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color .sab-mastodont{border-color:#185886}.sabox-plus-item{margin-bottom:20px}@media screen and (max-width:480px){.saboxplugin-wrap{text-align:center}.saboxplugin-wrap .saboxplugin-gravatar{float:none;padding:20px 0;text-align:center;margin:0 auto;display:block}.saboxplugin-wrap .saboxplugin-gravatar img{float:none;display:inline-block;display:-moz-inline-stack;vertical-align:middle;zoom:1}.saboxplugin-wrap .saboxplugin-desc{margin:0 10px 20px;text-align:center}.saboxplugin-wrap .saboxplugin-authorname{text-align:center;margin:10px 0 20px}}body .saboxplugin-authorname a,body .saboxplugin-authorname a:hover{box-shadow:none;-webkit-box-shadow:none}a.sab-profile-edit{font-size:16px!important;line-height:1!important}.sab-edit-settings a,a.sab-profile-edit{color:#0073aa!important;box-shadow:none!important;-webkit-box-shadow:none!important}.sab-edit-settings{margin-right:15px;position:absolute;right:0;z-index:2;bottom:10px;line-height:20px}.sab-edit-settings i{margin-left:5px}.saboxplugin-socials{line-height:1!important}.rtl .saboxplugin-wrap .saboxplugin-gravatar{float:right}.rtl .saboxplugin-wrap .saboxplugin-authorname{display:flex;align-items:center}.rtl .saboxplugin-wrap .saboxplugin-authorname .sab-profile-edit{margin-right:10px}.rtl .sab-edit-settings{right:auto;left:0}img.sab-custom-avatar{max-width:75px;}';
|
172 |
|
173 |
// Border color of Simple Author Box
|
174 |
if ( '' != $sabox_options['sab_box_border'] ) {
|
205 |
|
206 |
// Author name color
|
207 |
if ( '' != $sabox_options['sab_box_author_color'] ) {
|
208 |
+
$style .= '.saboxplugin-wrap .saboxplugin-authorname a,.saboxplugin-wrap .saboxplugin-authorname span {color:' . esc_html( $sabox_options['sab_box_author_color'] ) . ';}';
|
209 |
}
|
210 |
|
211 |
// Author web color
|
inc/class-simple-author-box-social.php
CHANGED
@@ -158,7 +158,7 @@ class Simple_Author_Box_Social {
|
|
158 |
case 'mastodont' :
|
159 |
return '<svg aria-hidden="true" class="sab-' . $icon . '" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 417 512"><path fill="currentColor" d="M417.8 179.1c0-97.2-63.7-125.7-63.7-125.7-62.5-28.7-228.5-28.4-290.4 0 0 0-63.7 28.5-63.7 125.7 0 115.7-6.6 259.4 105.6 289.1 40.5 10.7 75.3 13 103.3 11.4 50.8-2.8 79.3-18.1 79.3-18.1l-1.7-36.9s-36.3 11.4-77.1 10.1c-40.4-1.4-83-4.4-89.6-54-.6-4.4-.9-9-.9-13.9 85.6 20.9 158.6 9.1 178.7 6.7 56.1-6.7 105-41.3 111.2-72.9 9.8-49.8 9-121.5 9-121.5zm-75.1 125.2h-46.6V190.1c0-49.7-64-51.6-64 6.9v62.5h-46.3V197c0-58.5-64-56.6-64-6.9v114.2H75.1c0-122.1-5.2-147.9 18.4-175 25.9-28.9 79.8-30.8 103.8 6.1l11.6 19.5 11.6-19.5c24.1-37.1 78.1-34.8 103.8-6.1 23.7 27.3 18.4 53 18.4 175z"></path></svg>';
|
160 |
case 'telegram' :
|
161 |
-
return '<svg aria-hidden="true" class="sab-' . $icon . '" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M 471.230469 156.445312 C 483.554688 185.835938 490.191406 216.179688 490.191406 248.414062 C 490.191406 280.652344 483.554688 310.992188 471.230469 340.386719 C 458.902344 369.777344 441.835938 394.429688 420.976562 416.238281 C 400.117188 437.097656 374.519531 454.164062 345.125 466.488281 C 315.734375 478.816406 285.394531 485.453125 253.15625 485.453125 C 220.917969 485.453125 190.578125 478.816406 161.183594 466.488281 C 131.792969 454.164062 107.140625 437.097656 85.332031 416.238281 C 64.472656 395.378906 47.40625 369.777344 35.082031 340.386719 C 22.753906 310.992188 16.117188 280.652344 16.117188 248.414062 C 16.117188 216.179688 22.753906 185.835938 35.082031 156.445312 C 47.40625 127.050781 64.472656 102.398438 85.332031 80.59375 C 106.191406 59.734375 131.792969 42.667969 161.183594 30.339844 C 190.578125 18.015625 220.917969 11.378906 253.15625 11.378906 C 285.394531 11.378906 315.734375 18.015625 345.125 30.339844 C 374.519531 42.667969 399.171875 59.734375 420.976562 80.59375 C 441.835938 102.398438 457.957031 128 471.230469 156.445312 Z M 329.957031 357.453125 L 368.828125 174.460938 C 370.726562 166.875 369.777344 161.183594 365.984375 157.394531 C 362.191406 153.601562 358.398438 153.601562 352.710938 155.496094 L 124.207031 243.675781 C 119.464844 245.570312 115.675781 247.464844 113.777344 250.3125 C 111.882812 253.15625 111.882812 255.050781 112.828125 256.949219 C 113.777344 258.84375 116.621094 260.742188 121.363281 261.6875 L 180.148438 279.703125 L 315.734375 194.371094 C 319.527344 191.527344 322.371094 191.527344 324.265625 192.472656 C 325.214844 193.421875 325.214844 194.371094 323.320312 196.265625 L 213.332031 296.769531 L 208.59375 357.453125 C 212.386719 357.453125 216.179688 355.554688 220.917969 351.761719 L 249.363281 324.265625 L 308.148438 367.882812 C 320.472656 374.519531 327.109375 370.726562 329.957031 357.453125 Z M 329.957031 357.453125 "/></svg>';
|
162 |
default :
|
163 |
return '';
|
164 |
break;
|
@@ -465,9 +465,7 @@ class Simple_Author_Box_Social {
|
|
465 |
case 'mastodont' :
|
466 |
return '<svg class="sab-' . $icon . '" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500.7"><rect x="0.1" y="0.1" class="st0" width="500" height="500" fill="#2b90d9"/><path class="st1" d="M500.1 296.7v203.4h-195L162 355.3l-13-59c0 0-2-103 0-109s20-38 20-38l100-15 73.1 5.1L500.1 296.7z"/><path class="st2" d="M370.1 205.9c0-55.8-36.6-72.2-36.6-72.2 -35.9-16.5-131.2-16.3-166.7 0 0 0-36.6 16.4-36.6 72.2 0 66.4-3.8 148.9 60.6 165.9 23.2 6.1 43.2 7.5 59.3 6.5 29.2-1.6 45.5-10.4 45.5-10.4l-1-21.2c0 0-20.8 6.5-44.3 5.8 -23.2-0.8-47.6-2.5-51.4-31 -0.3-2.5-0.5-5.2-0.5-8 49.1 12 91 5.2 102.6 3.8 32.2-3.8 60.3-23.7 63.8-41.8C370.5 247.1 370.1 205.9 370.1 205.9L370.1 205.9zM327 277.8h-26.7v-65.6c0-28.5-36.7-29.6-36.7 4v35.9h-26.6v-35.9c0-33.6-36.7-32.5-36.7-4v65.6h-26.8c0-70.1-3-84.9 10.6-100.5 14.9-16.6 45.8-17.7 59.6 3.5l6.7 11.2 6.7-11.2c13.8-21.3 44.8-20 59.6-3.5C330 193 327 207.8 327 277.8L327 277.8z"/></svg>';
|
467 |
case 'telegram' :
|
468 |
-
return '<svg class="sab-' . $icon . '" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500.7"><rect fill="#0088cc" x="-0.9" y="0.2" class="st0" width="500" height="500"/><polygon fill="#8EC136" class="st1" points="499.1,249.6 499.1,500.2 298.1,500.2 106.9,258.9 104,255.2 392.5,146.2 392.5,146.2 "/><path class="st2" fill="#FFFFFF" d="M393.8,162.6l-43.9,207.1c-3.3,14.6-12,18.3-24.2,11.4l-66.9-49.3l-32.3,31.1c-3.6,3.6-6.6,6.6-13.5,6.6
|
469 |
-
l4.8-68.2l124-112.1c5.4-4.8-1.2-7.5-8.4-2.7l-153.3,96.6l-66-20.7c-14.4-4.5-14.6-14.4,3-21.2l258.2-99.5
|
470 |
-
C387.2,137.2,397.7,144.4,393.8,162.6z"/></svg>';
|
471 |
default :
|
472 |
return '';
|
473 |
break;
|
158 |
case 'mastodont' :
|
159 |
return '<svg aria-hidden="true" class="sab-' . $icon . '" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 417 512"><path fill="currentColor" d="M417.8 179.1c0-97.2-63.7-125.7-63.7-125.7-62.5-28.7-228.5-28.4-290.4 0 0 0-63.7 28.5-63.7 125.7 0 115.7-6.6 259.4 105.6 289.1 40.5 10.7 75.3 13 103.3 11.4 50.8-2.8 79.3-18.1 79.3-18.1l-1.7-36.9s-36.3 11.4-77.1 10.1c-40.4-1.4-83-4.4-89.6-54-.6-4.4-.9-9-.9-13.9 85.6 20.9 158.6 9.1 178.7 6.7 56.1-6.7 105-41.3 111.2-72.9 9.8-49.8 9-121.5 9-121.5zm-75.1 125.2h-46.6V190.1c0-49.7-64-51.6-64 6.9v62.5h-46.3V197c0-58.5-64-56.6-64-6.9v114.2H75.1c0-122.1-5.2-147.9 18.4-175 25.9-28.9 79.8-30.8 103.8 6.1l11.6 19.5 11.6-19.5c24.1-37.1 78.1-34.8 103.8-6.1 23.7 27.3 18.4 53 18.4 175z"></path></svg>';
|
160 |
case 'telegram' :
|
161 |
+
return '<svg aria-hidden="true" class="sab-' . $icon . '" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M 471.230469 156.445312 C 483.554688 185.835938 490.191406 216.179688 490.191406 248.414062 C 490.191406 280.652344 483.554688 310.992188 471.230469 340.386719 C 458.902344 369.777344 441.835938 394.429688 420.976562 416.238281 C 400.117188 437.097656 374.519531 454.164062 345.125 466.488281 C 315.734375 478.816406 285.394531 485.453125 253.15625 485.453125 C 220.917969 485.453125 190.578125 478.816406 161.183594 466.488281 C 131.792969 454.164062 107.140625 437.097656 85.332031 416.238281 C 64.472656 395.378906 47.40625 369.777344 35.082031 340.386719 C 22.753906 310.992188 16.117188 280.652344 16.117188 248.414062 C 16.117188 216.179688 22.753906 185.835938 35.082031 156.445312 C 47.40625 127.050781 64.472656 102.398438 85.332031 80.59375 C 106.191406 59.734375 131.792969 42.667969 161.183594 30.339844 C 190.578125 18.015625 220.917969 11.378906 253.15625 11.378906 C 285.394531 11.378906 315.734375 18.015625 345.125 30.339844 C 374.519531 42.667969 399.171875 59.734375 420.976562 80.59375 C 441.835938 102.398438 457.957031 128 471.230469 156.445312 Z M 329.957031 357.453125 L 368.828125 174.460938 C 370.726562 166.875 369.777344 161.183594 365.984375 157.394531 C 362.191406 153.601562 358.398438 153.601562 352.710938 155.496094 L 124.207031 243.675781 C 119.464844 245.570312 115.675781 247.464844 113.777344 250.3125 C 111.882812 253.15625 111.882812 255.050781 112.828125 256.949219 C 113.777344 258.84375 116.621094 260.742188 121.363281 261.6875 L 180.148438 279.703125 L 315.734375 194.371094 C 319.527344 191.527344 322.371094 191.527344 324.265625 192.472656 C 325.214844 193.421875 325.214844 194.371094 323.320312 196.265625 L 213.332031 296.769531 L 208.59375 357.453125 C 212.386719 357.453125 216.179688 355.554688 220.917969 351.761719 L 249.363281 324.265625 L 308.148438 367.882812 C 320.472656 374.519531 327.109375 370.726562 329.957031 357.453125 Z M 329.957031 357.453125 "/></svg>';
|
162 |
default :
|
163 |
return '';
|
164 |
break;
|
465 |
case 'mastodont' :
|
466 |
return '<svg class="sab-' . $icon . '" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500.7"><rect x="0.1" y="0.1" class="st0" width="500" height="500" fill="#2b90d9"/><path class="st1" d="M500.1 296.7v203.4h-195L162 355.3l-13-59c0 0-2-103 0-109s20-38 20-38l100-15 73.1 5.1L500.1 296.7z"/><path class="st2" d="M370.1 205.9c0-55.8-36.6-72.2-36.6-72.2 -35.9-16.5-131.2-16.3-166.7 0 0 0-36.6 16.4-36.6 72.2 0 66.4-3.8 148.9 60.6 165.9 23.2 6.1 43.2 7.5 59.3 6.5 29.2-1.6 45.5-10.4 45.5-10.4l-1-21.2c0 0-20.8 6.5-44.3 5.8 -23.2-0.8-47.6-2.5-51.4-31 -0.3-2.5-0.5-5.2-0.5-8 49.1 12 91 5.2 102.6 3.8 32.2-3.8 60.3-23.7 63.8-41.8C370.5 247.1 370.1 205.9 370.1 205.9L370.1 205.9zM327 277.8h-26.7v-65.6c0-28.5-36.7-29.6-36.7 4v35.9h-26.6v-35.9c0-33.6-36.7-32.5-36.7-4v65.6h-26.8c0-70.1-3-84.9 10.6-100.5 14.9-16.6 45.8-17.7 59.6 3.5l6.7 11.2 6.7-11.2c13.8-21.3 44.8-20 59.6-3.5C330 193 327 207.8 327 277.8L327 277.8z"/></svg>';
|
467 |
case 'telegram' :
|
468 |
+
return '<svg class="sab-' . $icon . '" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500.7"><rect fill="#0088cc" x="-0.9" y="0.2" class="st0" width="500" height="500"/><polygon fill="#8EC136" class="st1" points="499.1,249.6 499.1,500.2 298.1,500.2 106.9,258.9 104,255.2 392.5,146.2 392.5,146.2 "/><path class="st2" fill="#FFFFFF" d="M393.8,162.6l-43.9,207.1c-3.3,14.6-12,18.3-24.2,11.4l-66.9-49.3l-32.3,31.1c-3.6,3.6-6.6,6.6-13.5,6.6 l4.8-68.2l124-112.1c5.4-4.8-1.2-7.5-8.4-2.7l-153.3,96.6l-66-20.7c-14.4-4.5-14.6-14.4,3-21.2l258.2-99.5 C387.2,137.2,397.7,144.4,393.8,162.6z"/></svg>';
|
|
|
|
|
469 |
default :
|
470 |
return '';
|
471 |
break;
|
inc/class-simple-author-box-widget.php
CHANGED
@@ -69,7 +69,7 @@ class Simple_Author_Box_Widget_LITE extends WP_Widget {
|
|
69 |
id="<?php echo esc_attr($this->get_field_id('authors')); ?>" class="widefat">
|
70 |
<option value="auto" ><?php esc_html_e('Autodetect', 'saboxplugin'); ?></option>
|
71 |
<?php foreach ($authors as $author) : ?>
|
72 |
-
<option value="<?php echo absint($author->ID); ?>" <?php selected($author->ID, $instance['authors']); ?>><?php echo esc_html($author->data->user_login); ?></option>
|
73 |
<?php endforeach; ?>
|
74 |
</select>
|
75 |
</p>
|
69 |
id="<?php echo esc_attr($this->get_field_id('authors')); ?>" class="widefat">
|
70 |
<option value="auto" ><?php esc_html_e('Autodetect', 'saboxplugin'); ?></option>
|
71 |
<?php foreach ($authors as $author) : ?>
|
72 |
+
<option value="<?php echo absint($author->ID); ?>" <?php selected($author->ID, $instance['authors']); ?>><?php echo esc_html($author->data->display_name) . ' ('. esc_html($author->data->user_login) .')'; ?></option>
|
73 |
<?php endforeach; ?>
|
74 |
</select>
|
75 |
</p>
|
inc/class-simple-author-box.php
CHANGED
@@ -198,8 +198,10 @@ class Simple_Author_Box {
|
|
198 |
|
199 |
}
|
200 |
|
201 |
-
public function settings_link(
|
202 |
-
|
|
|
|
|
203 |
|
204 |
return $links;
|
205 |
}
|
198 |
|
199 |
}
|
200 |
|
201 |
+
public function settings_link( $links ) {
|
202 |
+
if(is_array($links)) {
|
203 |
+
$links['sab'] = sprintf('<a href="%s">%s</a>', admin_url('admin.php?page=simple-author-box-options'), __('Settings', 'saboxplugin'));
|
204 |
+
}
|
205 |
|
206 |
return $links;
|
207 |
}
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Simple Author Box ===
|
2 |
-
Contributors: machothemes, silkalns
|
3 |
Tags: author box, responsive author box, author profile fields, author social icons, profile fields, author bio, author description, author profile, post author, rtl author box, amp, accelerated mobile pages
|
4 |
Requires at least: 4.6
|
5 |
Requires PHP: 5.6
|
6 |
-
Stable tag: 2.3.
|
7 |
Tested up to: 5.1
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
1 |
=== Simple Author Box ===
|
2 |
+
Contributors: machothemes, silkalns
|
3 |
Tags: author box, responsive author box, author profile fields, author social icons, profile fields, author bio, author description, author profile, post author, rtl author box, amp, accelerated mobile pages
|
4 |
Requires at least: 4.6
|
5 |
Requires PHP: 5.6
|
6 |
+
Stable tag: 2.3.1
|
7 |
Tested up to: 5.1
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
simple-author-box.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Simple Author Box
|
4 |
* Description: Adds a responsive author box with social icons on your posts.
|
5 |
-
* Version: 2.3.
|
6 |
* Author: MachoThemes
|
7 |
* Author URI: https://www.machothemes.com/
|
8 |
* Requires: 4.6 or higher
|
@@ -39,7 +39,7 @@
|
|
39 |
define( 'SIMPLE_AUTHOR_BOX_PATH', plugin_dir_path( __FILE__ ) );
|
40 |
define( 'SIMPLE_AUTHOR_BOX_ASSETS', plugins_url( '/assets/', __FILE__ ) );
|
41 |
define( 'SIMPLE_AUTHOR_BOX_SLUG', plugin_basename( __FILE__ ) );
|
42 |
-
define( 'SIMPLE_AUTHOR_BOX_VERSION', '2.3.
|
43 |
define( 'SIMPLE_AUTHOR_SCRIPT_DEBUG', false );
|
44 |
|
45 |
require_once SIMPLE_AUTHOR_BOX_PATH . 'inc/class-simple-author-box.php';
|
2 |
/**
|
3 |
* Plugin Name: Simple Author Box
|
4 |
* Description: Adds a responsive author box with social icons on your posts.
|
5 |
+
* Version: 2.3.1
|
6 |
* Author: MachoThemes
|
7 |
* Author URI: https://www.machothemes.com/
|
8 |
* Requires: 4.6 or higher
|
39 |
define( 'SIMPLE_AUTHOR_BOX_PATH', plugin_dir_path( __FILE__ ) );
|
40 |
define( 'SIMPLE_AUTHOR_BOX_ASSETS', plugins_url( '/assets/', __FILE__ ) );
|
41 |
define( 'SIMPLE_AUTHOR_BOX_SLUG', plugin_basename( __FILE__ ) );
|
42 |
+
define( 'SIMPLE_AUTHOR_BOX_VERSION', '2.3.1' );
|
43 |
define( 'SIMPLE_AUTHOR_SCRIPT_DEBUG', false );
|
44 |
|
45 |
require_once SIMPLE_AUTHOR_BOX_PATH . 'inc/class-simple-author-box.php';
|
template/template-sab.php
CHANGED
@@ -1,23 +1,23 @@
|
|
1 |
<?php
|
2 |
-
if ( '1' == $sabox_options['sab_colored'] ) {
|
3 |
$sabox_color = 'sabox-colored';
|
4 |
} else {
|
5 |
$sabox_color = '';
|
6 |
}
|
7 |
|
8 |
-
if ( '0' != $sabox_options['sab_web_position'] ) {
|
9 |
$sab_web_align = 'sab-web-position';
|
10 |
} else {
|
11 |
$sab_web_align = '';
|
12 |
}
|
13 |
|
14 |
-
if ( '1' == $sabox_options['sab_web_target'] ) {
|
15 |
$sab_web_target = '_blank';
|
16 |
} else {
|
17 |
$sab_web_target = '_self';
|
18 |
}
|
19 |
|
20 |
-
if ( '1' == $sabox_options['sab_web_rel'] ) {
|
21 |
$sab_web_rel = 'rel="nofollow"';
|
22 |
} else {
|
23 |
$sab_web_rel = '';
|
@@ -25,9 +25,9 @@ if ( '1' == $sabox_options['sab_web_rel'] ) {
|
|
25 |
|
26 |
$sab_author_link = sprintf( '<a href="%s" class="vcard author" rel="author" itemprop="url"><span class="fn" itemprop="name">%s</span></a>', esc_url( get_author_posts_url( $sabox_author_id ) ), esc_html( get_the_author_meta( 'display_name', $sabox_author_id ) ) );
|
27 |
|
28 |
-
$author_description = apply_filters( 'sab_user_description', get_the_author_meta( 'description' ), $sabox_author_id );
|
29 |
|
30 |
-
if ( '' != $author_description || '0' == $sabox_options['sab_no_description'] ) { // hide the author box if no description is provided
|
31 |
|
32 |
$show_guest_only = ( get_post_meta( get_the_ID(), '_disable_sab_author_here', true ) ) ? get_post_meta( get_the_ID(), '_disable_sab_author_here', true ) : "false";
|
33 |
|
@@ -100,7 +100,7 @@ if ( '' != $author_description || '0' == $sabox_options['sab_no_description'] )
|
|
100 |
echo '</div>';
|
101 |
}
|
102 |
|
103 |
-
$show_email = '0' == $sabox_options['sab_email'] ? false : true;
|
104 |
$social_links = Simple_Author_Box_Helper::get_user_social_links( $sabox_author_id, $show_email );
|
105 |
|
106 |
if ( empty( $social_links ) && is_user_logged_in() && $sabox_author_id == get_current_user_id() ) {
|
1 |
<?php
|
2 |
+
if ( isset($sabox_options['sab_colored']) && '1' == $sabox_options['sab_colored'] ) {
|
3 |
$sabox_color = 'sabox-colored';
|
4 |
} else {
|
5 |
$sabox_color = '';
|
6 |
}
|
7 |
|
8 |
+
if ( isset($sabox_options['sab_web_position'] ) && '0' != $sabox_options['sab_web_position'] ) {
|
9 |
$sab_web_align = 'sab-web-position';
|
10 |
} else {
|
11 |
$sab_web_align = '';
|
12 |
}
|
13 |
|
14 |
+
if ( isset($sabox_options['sab_web_target']) && '1' == $sabox_options['sab_web_target'] ) {
|
15 |
$sab_web_target = '_blank';
|
16 |
} else {
|
17 |
$sab_web_target = '_self';
|
18 |
}
|
19 |
|
20 |
+
if ( isset($sabox_options['sab_web_rel'] ) && '1' == $sabox_options['sab_web_rel'] ) {
|
21 |
$sab_web_rel = 'rel="nofollow"';
|
22 |
} else {
|
23 |
$sab_web_rel = '';
|
25 |
|
26 |
$sab_author_link = sprintf( '<a href="%s" class="vcard author" rel="author" itemprop="url"><span class="fn" itemprop="name">%s</span></a>', esc_url( get_author_posts_url( $sabox_author_id ) ), esc_html( get_the_author_meta( 'display_name', $sabox_author_id ) ) );
|
27 |
|
28 |
+
$author_description = apply_filters( 'sab_user_description', get_the_author_meta( 'description' ,$sabox_author_id), $sabox_author_id );
|
29 |
|
30 |
+
if ( '' != $author_description || isset($sabox_options['sab_no_description'] ) && '0' == $sabox_options['sab_no_description'] ) { // hide the author box if no description is provided
|
31 |
|
32 |
$show_guest_only = ( get_post_meta( get_the_ID(), '_disable_sab_author_here', true ) ) ? get_post_meta( get_the_ID(), '_disable_sab_author_here', true ) : "false";
|
33 |
|
100 |
echo '</div>';
|
101 |
}
|
102 |
|
103 |
+
$show_email = isset($sabox_options['sab_email'] ) && '0' == $sabox_options['sab_email'] ? false : true;
|
104 |
$social_links = Simple_Author_Box_Helper::get_user_social_links( $sabox_author_id, $show_email );
|
105 |
|
106 |
if ( empty( $social_links ) && is_user_logged_in() && $sabox_author_id == get_current_user_id() ) {
|