Version Description
- Added AMP compatibility
- Fixed some CSS isues & cleaned up the code
Download this release
Release Info
Developer | machothemes |
Plugin | Simple Author Box |
Version | 2.0.7 |
Comparing to | |
See all releases |
Code changes from version 2.0.6 to 2.0.7
- assets/css/sabox-admin-style.css +1 -1
- assets/css/sabox-admin-style.min.css +1 -1
- assets/css/simple-author-box.css +59 -275
- assets/css/simple-author-box.min.css +1 -1
- inc/class-simple-author-box-helper.php +934 -935
- inc/class-simple-author-box.php +495 -336
- inc/feedback/class-epsilon-feedback-sab.php +286 -283
- readme.txt +9 -1
- simple-author-box.php +3 -3
assets/css/sabox-admin-style.css
CHANGED
@@ -471,7 +471,7 @@ body.toplevel_page_simple-author-box-options #wpcontent {
|
|
471 |
|
472 |
.sabox-multicheckbox > div {
|
473 |
display: inline-block;
|
474 |
-
margin
|
475 |
}
|
476 |
|
477 |
/* Upsell */
|
471 |
|
472 |
.sabox-multicheckbox > div {
|
473 |
display: inline-block;
|
474 |
+
margin: 0 0 10px 10px;
|
475 |
}
|
476 |
|
477 |
/* Upsell */
|
assets/css/sabox-admin-style.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.sabox-table.form-table th{width:400px;padding:10px 15px;vertical-align:middle}.sabox-table.form-table{margin-bottom:30px}.sabox-table .epfw-tooltip{color:#b8cad7;margin-right:10px}.sabox-table .wp-picker-container{text-align:right}.sabox-table .wp-picker-holder{position:absolute}.sabox-table select{float:right}.sabox-table.form-table tr{background-color:#fff;border-bottom:1px solid #eee;vertical-align:middle!important}.sabox-table tbody{border:1px solid #ddd}.sabox-table.form-table tr:last-of-type{border-bottom:0}.sabox-wrap{max-width:860px;padding-left:20px;margin:0 auto}.hide{display:none}.sabox-slider-container{max-width:390px;padding-bottom:5px;box-sizing:border-box}.sabox-slider-container .ui-slider .ui-slider-handle{width:auto;text-align:center;min-width:1.2em}.sabox-table p.description{font-weight:400}.wp-admin .checkbox_switch{display:inline-block;width:100%;text-align:right}.customize-control-title.onoffswitch_label{width:71%}.sabox-table .onoffswitch_label{display:inline-block;vertical-align:top;margin-right:21px;margin-top:-1px}.sabox-table .onoffswitch{position:relative;width:52px;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.sabox-table .onoffswitch-checkbox{display:none!important}.sabox-table .onoffswitch-label{display:block;overflow:hidden;cursor:pointer;height:22px;padding:0;line-height:19px;transition:background-color .2s ease-in;-webkit-border-radius:11px;-moz-border-radius:11px;border-radius:30px;background-color:#c4c4c4;-webkit-box-shadow:inset 0 2px 1px rgba(0,0,0,.11);-moz-box-shadow:inset 0 2px 1px rgba(0,0,0,.11);box-shadow:inset 0 2px 1px rgba(0,0,0,.11)}.sabox-table .onoffswitch-label:before{content:"";display:block;width:18px;height:18px;margin:0;position:absolute;top:2px;bottom:0;right:32px;background-color:#fff;-webkit-box-shadow:0 0 3px rgba(0,0,0,.1);-moz-box-shadow:0 0 3px rgba(0,0,0,.1);box-shadow:0 0 3px rgba(0,0,0,.1);-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;transition:all .2s ease-in 0s}.sabox-table .onoffswitch-checkbox:checked+.onoffswitch-label:after,.sabox-table .onoffswitch-label:after{display:block;color:#fff;position:absolute;bottom:2px;font-size:11px;font-family:Arial;top:2px}.sabox-table .onoffswitch-label:after{content:"OFF";right:6px}.sabox-table .onoffswitch-checkbox:checked+.onoffswitch-label{background-color:#3caf0e}.sabox-table .onoffswitch-checkbox:checked+.onoffswitch-label,.sabox-table .onoffswitch-checkbox:checked+.onoffswitch-label:before{border-color:#3caf0e}.sabox-table .onoffswitch-checkbox:checked+.onoffswitch-label:before{right:2px}.sabox-table .onoffswitch-checkbox:checked+.onoffswitch-label:after{content:"ON";right:27px}.sabox-table .slider-container{position:relative;padding-left:50px}.sabox-table .slider-container input[type=text]{border:none;text-align:center;padding:2px;margin:0;font-size:12px;color:#333;border-radius:10px;background-color:#f8f8f8;-webkit-box-shadow:inset 0 2px 5px 0 rgba(0,0,0,.1);-moz-box-shadow:inset 0 2px 5px 0 rgba(0,0,0,.1);box-shadow:inset 0 2px 5px 0 rgba(0,0,0,.1);width:42px;height:22px;position:absolute;left:0;top:2px}.sabox-table .slider-container .ui-slider{position:relative;text-align:left;height:2px;border-radius:3px;border:none;margin-top:10px;margin-left:22px;display:inline-block;width:97%;background:#d6d6d6}.sabox-table .slider-container .ui-slider .ui-slider-handle{position:absolute;z-index:2;top:-10px;cursor:default;-ms-touch-action:none;touch-action:none;width:18px;height:18px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px;background-color:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1);-moz-box-shadow:0 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px rgba(0,0,0,.1);border:1px solid #d7d7d7;transform:translateX(-50%)}.sabox-table .slider-container .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background:#e04d43;top:0;bottom:0}.sabox-add-social-link{text-align:center;padding:10px 0;max-width:570px}.sabox-add-social-link:hover{border-color:#000}#sabox-social-table .dashicons-trash{vertical-align:middle;cursor:pointer;color:#a00}#sabox-social-table .dashicons-trash:hover{color:#dc3232}#sab-current-image img{max-width:130px;height:auto}.checkbox-label{text-transform:capitalize}.epfw-tab-wrapper.nav-tab-wrapper{background:#fff;padding:0;border:1px solid #ddd;text-align:center;margin-bottom:40px}.epfw-tab.nav-tab{background:#fff;border:0;display:inline-block;margin-right:20px;margin-left:0;padding:10px;border-bottom:2px solid transparent;color:#0073aa;font-weight:400}.epfw-tab.nav-tab.nav-tab-active{border-bottom:2px solid #2e4453;color:#2e4453}.masthead{background-color:#fff;text-align:center;box-shadow:0 1px 0 rgba(200,215,225,.5),0 1px 2px #ddd;margin-bottom:40px;padding:20px}.masthead h1{margin:0;padding:0;display:inline-block;font-size:20px;color:#000;font-weight:500}.masthead a{display:inline-block;margin:0 10px;text-decoration:none}.sabox-version{margin:20px auto;padding:20px 0;display:block;text-align:center;border-bottom:1px solid #ddd;border-top:1px solid #ddd}body.toplevel_page_simple-author-box-options{background-color:#f3f6f8}body.toplevel_page_simple-author-box-options #wpcontent{padding-left:0}.sabox-masthead-left,.sabox-masthead-right{display:inline-block}.sabox-masthead-left{float:left}.sabox-masthead-right{float:right}.epfw-tooltip{position:relative;display:inline;margin-right:10px}.epfw-tooltip:after
|
1 |
+
.sabox-table.form-table th{width:400px;padding:10px 15px;vertical-align:middle}.sabox-table.form-table{margin-bottom:30px}.sabox-table .epfw-tooltip{color:#b8cad7;margin-right:10px}.sabox-table .wp-picker-container{text-align:right}.sabox-table .wp-picker-holder{position:absolute}.sabox-table select{float:right}.sabox-table.form-table tr{background-color:#fff;border-bottom:1px solid #eee;vertical-align:middle!important}.sabox-table tbody{border:1px solid #ddd}.sabox-table.form-table tr:last-of-type{border-bottom:0}.sabox-wrap{max-width:860px;padding-left:20px;margin:0 auto}.hide{display:none}.sabox-slider-container{max-width:390px;padding-bottom:5px;box-sizing:border-box}.sabox-slider-container .ui-slider .ui-slider-handle{width:auto;text-align:center;min-width:1.2em}.sabox-table p.description{font-weight:400}.wp-admin .checkbox_switch{display:inline-block;width:100%;text-align:right}.customize-control-title.onoffswitch_label{width:71%}.sabox-table .onoffswitch_label{display:inline-block;vertical-align:top;margin-right:21px;margin-top:-1px}.sabox-table .onoffswitch{position:relative;width:52px;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.sabox-table .onoffswitch-checkbox{display:none!important}.sabox-table .onoffswitch-label{display:block;overflow:hidden;cursor:pointer;height:22px;padding:0;line-height:19px;transition:background-color .2s ease-in;-webkit-border-radius:11px;-moz-border-radius:11px;border-radius:30px;background-color:#c4c4c4;-webkit-box-shadow:inset 0 2px 1px rgba(0,0,0,.11);-moz-box-shadow:inset 0 2px 1px rgba(0,0,0,.11);box-shadow:inset 0 2px 1px rgba(0,0,0,.11)}.sabox-table .onoffswitch-label:before{content:"";display:block;width:18px;height:18px;margin:0;position:absolute;top:2px;bottom:0;right:32px;background-color:#fff;-webkit-box-shadow:0 0 3px rgba(0,0,0,.1);-moz-box-shadow:0 0 3px rgba(0,0,0,.1);box-shadow:0 0 3px rgba(0,0,0,.1);-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;transition:all .2s ease-in 0s}.sabox-table .onoffswitch-checkbox:checked+.onoffswitch-label:after,.sabox-table .onoffswitch-label:after{display:block;color:#fff;position:absolute;bottom:2px;font-size:11px;font-family:Arial;top:2px}.sabox-table .onoffswitch-label:after{content:"OFF";right:6px}.sabox-table .onoffswitch-checkbox:checked+.onoffswitch-label{background-color:#3caf0e}.sabox-table .onoffswitch-checkbox:checked+.onoffswitch-label,.sabox-table .onoffswitch-checkbox:checked+.onoffswitch-label:before{border-color:#3caf0e}.sabox-table .onoffswitch-checkbox:checked+.onoffswitch-label:before{right:2px}.sabox-table .onoffswitch-checkbox:checked+.onoffswitch-label:after{content:"ON";right:27px}.sabox-table .slider-container{position:relative;padding-left:50px}.sabox-table .slider-container input[type=text]{border:none;text-align:center;padding:2px;margin:0;font-size:12px;color:#333;border-radius:10px;background-color:#f8f8f8;-webkit-box-shadow:inset 0 2px 5px 0 rgba(0,0,0,.1);-moz-box-shadow:inset 0 2px 5px 0 rgba(0,0,0,.1);box-shadow:inset 0 2px 5px 0 rgba(0,0,0,.1);width:42px;height:22px;position:absolute;left:0;top:2px}.sabox-table .slider-container .ui-slider{position:relative;text-align:left;height:2px;border-radius:3px;border:none;margin-top:10px;margin-left:22px;display:inline-block;width:97%;background:#d6d6d6}.sabox-table .slider-container .ui-slider .ui-slider-handle{position:absolute;z-index:2;top:-10px;cursor:default;-ms-touch-action:none;touch-action:none;width:18px;height:18px;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px;background-color:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1);-moz-box-shadow:0 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px rgba(0,0,0,.1);border:1px solid #d7d7d7;transform:translateX(-50%)}.sabox-table .slider-container .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background:#e04d43;top:0;bottom:0}.sabox-add-social-link{text-align:center;padding:10px 0;max-width:570px}.sabox-add-social-link:hover{border-color:#000}#sabox-social-table .dashicons-trash{vertical-align:middle;cursor:pointer;color:#a00}#sabox-social-table .dashicons-trash:hover{color:#dc3232}#sab-current-image img{max-width:130px;height:auto}.checkbox-label{text-transform:capitalize}.epfw-tab-wrapper.nav-tab-wrapper{background:#fff;padding:0;border:1px solid #ddd;text-align:center;margin-bottom:40px}.epfw-tab.nav-tab{background:#fff;border:0;display:inline-block;margin-right:20px;margin-left:0;padding:10px;border-bottom:2px solid transparent;color:#0073aa;font-weight:400}.epfw-tab.nav-tab.nav-tab-active{border-bottom:2px solid #2e4453;color:#2e4453}.masthead{background-color:#fff;text-align:center;box-shadow:0 1px 0 rgba(200,215,225,.5),0 1px 2px #ddd;margin-bottom:40px;padding:20px}.masthead h1{margin:0;padding:0;display:inline-block;font-size:20px;color:#000;font-weight:500}.masthead a{display:inline-block;margin:0 10px;text-decoration:none}.sabox-version{margin:20px auto;padding:20px 0;display:block;text-align:center;border-bottom:1px solid #ddd;border-top:1px solid #ddd}body.toplevel_page_simple-author-box-options{background-color:#f3f6f8}body.toplevel_page_simple-author-box-options #wpcontent{padding-left:0}.sabox-masthead-left,.sabox-masthead-right{display:inline-block}.sabox-masthead-left{float:left}.sabox-masthead-right{float:right}.epfw-tooltip{position:relative;display:inline;margin-right:10px}.epfw-tooltip:after{font-weight:400;display:block;visibility:hidden;position:absolute;bottom:0;left:20%;opacity:0;content:attr(data-tooltip);height:auto;min-width:300px;z-index:999;text-decoration:none;text-align:center;border:1px solid #c8d7e1;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 56px rgba(0,0,0,.075);background:#fff;color:#4f748e;font-size:13px;padding:16px}.epfw-tooltip:before{position:absolute;visibility:hidden;width:0;height:0;left:50%;bottom:0;opacity:0;content:"";border-style:solid;border-width:6px 6px 0;border-color:rgba(255,255,255,.85) transparent transparent}.epfw-tooltip:hover:after{visibility:visible;opacity:1;bottom:20px}.epfw-tooltip:hover:before{visibility:visible;opacity:1;bottom:14px}.sabox-table input[type=radio]{display:none;margin:10px}.sabox-table input[type=radio]+label{margin:.25em 0 .5em!important;min-width:100px;display:inline-block;padding:4px 12px;font-size:14px;line-height:20px;color:#333;text-align:center;text-shadow:0 1px 1px rgba(255,255,255,.75);vertical-align:middle;cursor:pointer;background-color:#f5f5f5;background-image:-moz-linear-gradient(top,#fff,#e6e6e6);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));background-image:-webkit-linear-gradient(top,#fff,#e6e6e6);background-image:-o-linear-gradient(top,#fff,#e6e6e6);background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;border:1px solid #ccc;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);border-bottom-color:#b3b3b3;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.wp-has-submenu a[href*="admin.php?page=sab-upgrade"],a.upgrade-pro{color:red!important}.sabox-table input[type=radio]:checked+label{background-image:none;outline:0;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);-moz-box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05);background-color:#e0e0e0}.sabox-multicheckbox,.sabox-radio-group{text-align:right}.sabox-multicheckbox>div{display:inline-block;margin:0 0 10px 10px}.wp-has-submenu a[href*="admin.php?page=sab-upgrade"]:after,a.upgrade-pro:after{font-family:dashicons;content:'\f155';margin-left:7px;vertical-align:middle}a.upgrade-pro{float:right;margin-right:0!important;text-decoration:none;font-size:14px;padding:12px}.featured-section.features .row{display:inline-block;width:97%;padding:15px;border-bottom:1px solid rgba(0,0,0,.06)}.featured-section.features .row .dashicons-yes{color:#2cbe4e}.featured-section.features .row .dashicons-no-alt{color:#FF3D2E}.featured-section.features .row>div{display:inline-block;float:left;width:15%;text-align:center}.featured-section.features .row>.feature{width:70%;text-align:left}.featured-section .free-pro-table{border-spacing:0;width:100%;margin-top:40px}.featured-section .free-pro-table th{padding-bottom:20px}.featured-section .free-pro-table td{border-top:1px solid #ccc;padding:20px 0 25px}.featured-section .free-pro-table h3,.featured-section .free-pro-table td p{margin:0}.featured-section .free-pro-table .sab-feature,.featured-section .free-pro-table .sab-pro-feature{text-align:center;width:15%}.featured-section .free-pro-table .dashicons-yes{color:#00A878}.featured-section .free-pro-table .dashicons-no-alt{color:#ff3439}.featured-section .free-pro-table .dashicons-before:before{font-size:35px;height:35px;width:35px}.featured-section .button-hero .dashicons{font-size:16px;vertical-align:middle}.featured-section .ti-about-page-text-center{text-align:center}.free-pro-table .text-right{text-align:right}body .simple-author-box-wrap .wp-badge{background:url(../img/sab-big-icon.png) center 35px no-repeat #27547D;padding-top:160px;height:0;background-size:80%}
|
assets/css/simple-author-box.css
CHANGED
@@ -23,8 +23,6 @@
|
|
23 |
height: auto;
|
24 |
}
|
25 |
|
26 |
-
.saboxplugin-wrap .saboxplugin-gravatar img:hover {
|
27 |
-
}
|
28 |
|
29 |
.saboxplugin-wrap .saboxplugin-authorname {
|
30 |
font-size: 18px;
|
@@ -72,7 +70,7 @@
|
|
72 |
position: relative;
|
73 |
display: block;
|
74 |
background: #fcfcfc;
|
75 |
-
padding:
|
76 |
-webkit-box-shadow: 0 1px 0 0 #eee inset;
|
77 |
-moz-box-shadow: 0 1px 0 0 #eee inset;
|
78 |
box-shadow: 0 1px 0 0 #eee inset;
|
@@ -100,29 +98,11 @@
|
|
100 |
-webkit-box-shadow: none !important;
|
101 |
}
|
102 |
|
103 |
-
.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color:before {
|
104 |
-
display: block;
|
105 |
-
width: 30px;
|
106 |
-
height: 30px;
|
107 |
-
line-height: 33px;
|
108 |
-
text-align: center;
|
109 |
-
speak: none;
|
110 |
-
}
|
111 |
-
|
112 |
.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color {
|
113 |
-
font-family: 'FontAwesome';
|
114 |
font-style: normal;
|
115 |
font-weight: normal;
|
116 |
text-decoration: inherit;
|
117 |
-
|
118 |
-
position: relative;
|
119 |
-
display: -moz-inline-stack;
|
120 |
-
display: inline-block;
|
121 |
-
vertical-align: middle;
|
122 |
-
*vertical-align: auto;
|
123 |
-
zoom: 1;
|
124 |
-
*display: inline;
|
125 |
-
margin: 10px 5px;
|
126 |
background-clip: content-box;
|
127 |
-moz-background-clip: content-box;
|
128 |
-webkit-background-clip: content-box;
|
@@ -134,15 +114,9 @@
|
|
134 |
overflow: hidden;
|
135 |
}
|
136 |
|
137 |
-
|
138 |
-
display: block;
|
139 |
-
text-align: center;
|
140 |
-
speak: none;
|
141 |
-
line-height: 1;
|
142 |
-
}
|
143 |
|
144 |
.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey {
|
145 |
-
font-family: 'FontAwesome';
|
146 |
font-style: normal;
|
147 |
font-weight: normal;
|
148 |
text-decoration: inherit;
|
@@ -158,14 +132,6 @@
|
|
158 |
color: #444;
|
159 |
}
|
160 |
|
161 |
-
.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color,
|
162 |
-
.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey {
|
163 |
-
}
|
164 |
-
|
165 |
-
.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color:hover,
|
166 |
-
.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey:hover {
|
167 |
-
}
|
168 |
-
|
169 |
.clearfix:after,
|
170 |
.clearfix:before {
|
171 |
content: ' ';
|
@@ -182,225 +148,43 @@
|
|
182 |
color: #fff;
|
183 |
}
|
184 |
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-user_email:before {
|
189 |
-
content: '\f0e0';
|
190 |
-
}
|
191 |
-
|
192 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-addthis:before,
|
193 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-addthis:before {
|
194 |
-
content: '\f067';
|
195 |
-
}
|
196 |
-
|
197 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-behance:before,
|
198 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-behance:before {
|
199 |
-
content: '\f1b4';
|
200 |
-
}
|
201 |
-
|
202 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-delicious:before,
|
203 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-delicious:before {
|
204 |
-
content: '\f1a5';
|
205 |
-
}
|
206 |
-
|
207 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-deviantart:before,
|
208 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-deviantart:before {
|
209 |
-
content: '\f1bd';
|
210 |
-
}
|
211 |
-
|
212 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-digg:before,
|
213 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-digg:before {
|
214 |
-
content: '\f1a6';
|
215 |
-
}
|
216 |
-
|
217 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-dribbble:before,
|
218 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-dribbble:before {
|
219 |
-
content: '\f17d';
|
220 |
-
}
|
221 |
-
|
222 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-facebook:before,
|
223 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-facebook:before {
|
224 |
-
content: '\f09a';
|
225 |
-
}
|
226 |
-
|
227 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-flickr:before,
|
228 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-flickr:before {
|
229 |
-
content: '\f16e';
|
230 |
-
}
|
231 |
-
|
232 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-github:before,
|
233 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-github:before {
|
234 |
-
content: '\f09b';
|
235 |
-
}
|
236 |
-
|
237 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-google:before,
|
238 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-google:before {
|
239 |
-
content: '\f1a0';
|
240 |
-
}
|
241 |
-
|
242 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-googleplus:before,
|
243 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-googleplus:before {
|
244 |
-
content: '\f0d5';
|
245 |
-
}
|
246 |
-
|
247 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-html5:before,
|
248 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-html5:before {
|
249 |
-
content: '\f13b';
|
250 |
-
}
|
251 |
-
|
252 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-instagram:before,
|
253 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-instagram:before {
|
254 |
-
content: '\f16d';
|
255 |
-
}
|
256 |
-
|
257 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-linkedin:before,
|
258 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-linkedin:before {
|
259 |
-
content: '\f0e1';
|
260 |
-
}
|
261 |
-
|
262 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-pinterest:before,
|
263 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-pinterest:before {
|
264 |
-
content: '\f0d2';
|
265 |
-
}
|
266 |
-
|
267 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-reddit:before,
|
268 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-reddit:before {
|
269 |
-
content: '\f1a1';
|
270 |
-
}
|
271 |
-
|
272 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-rss:before,
|
273 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-rss:before {
|
274 |
-
content: '\f09e';
|
275 |
-
}
|
276 |
-
|
277 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-sharethis:before,
|
278 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-sharethis:before {
|
279 |
-
content: '\f1e0';
|
280 |
-
}
|
281 |
-
|
282 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-skype:before,
|
283 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-skype:before {
|
284 |
-
content: '\f17e';
|
285 |
-
}
|
286 |
-
|
287 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-soundcloud:before,
|
288 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-soundcloud:before {
|
289 |
-
content: '\f1be';
|
290 |
-
}
|
291 |
-
|
292 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-spotify:before,
|
293 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-spotify:before {
|
294 |
-
content: '\f1bc';
|
295 |
-
}
|
296 |
-
|
297 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-stackoverflow:before,
|
298 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-stackoverflow:before {
|
299 |
-
content: '\f16c';
|
300 |
-
}
|
301 |
-
|
302 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-steam:before,
|
303 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-steam:before {
|
304 |
-
content: '\f1b6';
|
305 |
-
}
|
306 |
-
|
307 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-stumbleUpon:before,
|
308 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-stumbleUpon:before {
|
309 |
-
content: '\f1a4';
|
310 |
-
}
|
311 |
-
|
312 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-tumblr:before,
|
313 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-tumblr:before {
|
314 |
-
content: '\f173';
|
315 |
-
}
|
316 |
-
|
317 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-twitter:before,
|
318 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-twitter:before {
|
319 |
-
content: '\f099';
|
320 |
-
}
|
321 |
-
|
322 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-vimeo:before,
|
323 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-vimeo:before {
|
324 |
-
content: '\f194';
|
325 |
-
}
|
326 |
-
|
327 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-windows:before,
|
328 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-windows:before {
|
329 |
-
content: '\f17a';
|
330 |
-
}
|
331 |
-
|
332 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-wordpress:before,
|
333 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-wordpress:before {
|
334 |
-
content: '\f19a';
|
335 |
-
}
|
336 |
-
|
337 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-yahoo:before,
|
338 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-yahoo:before {
|
339 |
-
content: '\f19e';
|
340 |
-
}
|
341 |
-
|
342 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-youtube:before,
|
343 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-youtube:before {
|
344 |
-
content: '\f167';
|
345 |
-
}
|
346 |
-
|
347 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-xing:before,
|
348 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-xing:before {
|
349 |
-
content: '\f168';
|
350 |
-
}
|
351 |
-
|
352 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-mixcloud:before,
|
353 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-mixcloud:before {
|
354 |
-
content: '\f289';
|
355 |
-
}
|
356 |
-
|
357 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-goodreads:before,
|
358 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-goodreads:before {
|
359 |
-
content: '\f2a6';
|
360 |
-
}
|
361 |
-
|
362 |
-
.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-twitch:before,
|
363 |
-
.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-twitch:before {
|
364 |
-
content: '\f1e8';
|
365 |
}
|
366 |
|
367 |
-
|
368 |
-
.saboxplugin-socials .
|
369 |
-
content: '\
|
370 |
}
|
371 |
|
372 |
-
.saboxplugin-socials .
|
373 |
-
|
374 |
-
content: '\f23a';
|
375 |
}
|
376 |
|
377 |
-
.saboxplugin-socials .
|
378 |
-
|
379 |
-
content: '\f2c4';
|
380 |
}
|
381 |
|
382 |
-
.saboxplugin-socials .
|
383 |
-
|
384 |
-
content: '\f2e0';
|
385 |
}
|
386 |
|
387 |
-
.saboxplugin-socials .
|
388 |
-
|
389 |
-
content: '\f2ab';
|
390 |
}
|
391 |
|
392 |
-
.saboxplugin-socials .
|
393 |
-
|
394 |
-
content: '\f26e';
|
395 |
}
|
396 |
|
397 |
/* COLORED BACKGROUND AND LONG SHADOW EFFECT FOR SOCIAL ICONS
|
398 |
-------------------------------------------------------------- */
|
399 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
400 |
background-color: #6441a5;
|
401 |
}
|
402 |
|
403 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
404 |
background: #ff8662;
|
405 |
border: 1px solid #d5644b;
|
406 |
text-shadow: rgb(213, 100, 75) 1px 1px,
|
@@ -435,7 +219,7 @@
|
|
435 |
rgb(213, 100, 75) 30px 30px;
|
436 |
}
|
437 |
|
438 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
439 |
background: #0294ff;
|
440 |
border: 1px solid #0083d4;
|
441 |
text-shadow: rgb(0, 131, 212) 1px 1px,
|
@@ -470,7 +254,7 @@
|
|
470 |
rgb(0, 131, 212) 30px 30px;
|
471 |
}
|
472 |
|
473 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
474 |
background: #0294ff;
|
475 |
border: 1px solid #007ecd;
|
476 |
text-shadow: rgb(0, 126, 205) 1px 1px,
|
@@ -505,7 +289,7 @@
|
|
505 |
rgb(0, 126, 205) 30px 30px;
|
506 |
}
|
507 |
|
508 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
509 |
background: #dce22b;
|
510 |
border: 1px solid #b2b423;
|
511 |
text-shadow: rgb(178, 180, 35) 1px 1px,
|
@@ -540,7 +324,7 @@
|
|
540 |
rgb(178, 180, 35) 30px 30px;
|
541 |
}
|
542 |
|
543 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
544 |
background: #1b8ec4;
|
545 |
border: 1px solid #126c92;
|
546 |
text-shadow: rgb(18, 108, 146) 1px 1px,
|
@@ -575,7 +359,7 @@
|
|
575 |
rgb(18, 108, 146) 30px 30px;
|
576 |
}
|
577 |
|
578 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
579 |
background: #ef76a4;
|
580 |
border: 1px solid #c05c84;
|
581 |
text-shadow: rgb(192, 92, 132) 1px 1px,
|
@@ -610,7 +394,7 @@
|
|
610 |
rgb(192, 92, 132) 30px 30px;
|
611 |
}
|
612 |
|
613 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
614 |
background: #3b5998;
|
615 |
border: 1px solid #1e3d7a;
|
616 |
text-shadow: rgb(30, 61, 122) 1px 1px,
|
@@ -645,7 +429,7 @@
|
|
645 |
rgb(30, 61, 122) 30px 30px;
|
646 |
}
|
647 |
|
648 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
649 |
background: #ff0586;
|
650 |
border: 1px solid #d0006f;
|
651 |
text-shadow: rgb(208, 0, 111) 1px 1px,
|
@@ -680,7 +464,7 @@
|
|
680 |
rgb(208, 0, 111) 30px 30px;
|
681 |
}
|
682 |
|
683 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
684 |
background: #829aa8;
|
685 |
border: 1px solid #4f7385;
|
686 |
text-shadow: rgb(79, 115, 133) 1px 1px,
|
@@ -715,7 +499,7 @@
|
|
715 |
rgb(79, 115, 133) 30px 30px;
|
716 |
}
|
717 |
|
718 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
719 |
background: #e8262f;
|
720 |
border: 1px solid #c20c18;
|
721 |
text-shadow: rgb(194, 12, 24) 1px 1px,
|
@@ -750,7 +534,7 @@
|
|
750 |
rgb(194, 12, 24) 30px 30px;
|
751 |
}
|
752 |
|
753 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
754 |
background: #dd4b39;
|
755 |
border: 1px solid #b32414;
|
756 |
text-shadow: rgb(179, 36, 20) 1px 1px,
|
@@ -785,7 +569,7 @@
|
|
785 |
rgb(179, 36, 20) 30px 30px;
|
786 |
}
|
787 |
|
788 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
789 |
background: #f16528;
|
790 |
border: 1px solid #c23d08;
|
791 |
text-shadow: rgb(194, 61, 8) 1px 1px,
|
@@ -820,7 +604,7 @@
|
|
820 |
rgb(194, 61, 8) 30px 30px;
|
821 |
}
|
822 |
|
823 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
824 |
background: #417096;
|
825 |
border: 1px solid #244f70;
|
826 |
text-shadow: rgb(36, 79, 112) 1px 1px,
|
@@ -855,7 +639,7 @@
|
|
855 |
rgb(36, 79, 112) 30px 30px;
|
856 |
}
|
857 |
|
858 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
859 |
background: #1583bb;
|
860 |
border: 1px solid #036390;
|
861 |
text-shadow: rgb(3, 99, 144) 1px 1px,
|
@@ -890,7 +674,7 @@
|
|
890 |
rgb(3, 99, 144) 30px 30px;
|
891 |
}
|
892 |
|
893 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
894 |
background: #cb2027;
|
895 |
border: 1px solid #9d060e;
|
896 |
text-shadow: rgb(157, 6, 62) 1px 1px,
|
@@ -925,7 +709,7 @@
|
|
925 |
rgb(157, 6, 62) 30px 30px;
|
926 |
}
|
927 |
|
928 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
929 |
background: #ff4107;
|
930 |
border: 1px solid #c62d02;
|
931 |
text-shadow: rgb(198, 45, 2) 1px 1px,
|
@@ -960,7 +744,7 @@
|
|
960 |
rgb(198, 45, 2) 30px 30px;
|
961 |
}
|
962 |
|
963 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
964 |
background: #ff7a21;
|
965 |
border: 1px solid #c24b02;
|
966 |
text-shadow: rgb(194, 75, 2) 1px 1px,
|
@@ -995,7 +779,7 @@
|
|
995 |
rgb(194, 75, 2) 30px 30px;
|
996 |
}
|
997 |
|
998 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
999 |
background: #1d9565;
|
1000 |
border: 1px solid #076840;
|
1001 |
text-shadow: rgb(7, 104, 64) 1px 1px,
|
@@ -1030,7 +814,7 @@
|
|
1030 |
rgb(7, 104, 64) 30px 30px;
|
1031 |
}
|
1032 |
|
1033 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1034 |
background: #3fc1f4;
|
1035 |
border: 1px solid #1b95c2;
|
1036 |
text-shadow: rgb(27, 149, 194) 1px 1px,
|
@@ -1065,7 +849,7 @@
|
|
1065 |
rgb(27, 149, 194) 30px 30px;
|
1066 |
}
|
1067 |
|
1068 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1069 |
background: #ff5419;
|
1070 |
border: 1px solid #c73002;
|
1071 |
text-shadow: rgb(199, 48, 2) 1px 1px,
|
@@ -1100,7 +884,7 @@
|
|
1100 |
rgb(199, 48, 2) 30px 30px;
|
1101 |
}
|
1102 |
|
1103 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1104 |
background: #aecf02;
|
1105 |
border: 1px solid #829900;
|
1106 |
text-shadow: rgb(130, 153, 0) 1px 1px,
|
@@ -1135,7 +919,7 @@
|
|
1135 |
rgb(130, 153, 0) 30px 30px;
|
1136 |
}
|
1137 |
|
1138 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1139 |
background: #ff661e;
|
1140 |
border: 1px solid #ce3a00;
|
1141 |
text-shadow: rgb(206, 58, 0) 1px 1px,
|
@@ -1170,8 +954,8 @@
|
|
1170 |
rgb(206, 58, 0) 30px 30px;
|
1171 |
}
|
1172 |
|
1173 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1174 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1175 |
background: #484848;
|
1176 |
border: 1px solid #302b2b;
|
1177 |
text-shadow: rgb(48, 43, 43) 1px 1px,
|
@@ -1206,7 +990,7 @@
|
|
1206 |
rgb(48, 43, 43) 30px 30px;
|
1207 |
}
|
1208 |
|
1209 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1210 |
background: #eb4923;
|
1211 |
border: 1px solid #be2507;
|
1212 |
text-shadow: rgb(190, 37, 7) 1px 1px,
|
@@ -1241,7 +1025,7 @@
|
|
1241 |
rgb(190, 37, 7) 30px 30px;
|
1242 |
}
|
1243 |
|
1244 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1245 |
background: #3c576c;
|
1246 |
border: 1px solid #1e3546;
|
1247 |
text-shadow: rgb(30, 53, 70) 1px 1px,
|
@@ -1276,7 +1060,7 @@
|
|
1276 |
rgb(30, 53, 70) 30px 30px;
|
1277 |
}
|
1278 |
|
1279 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1280 |
background: #00aced;
|
1281 |
border: 1px solid #008ab8;
|
1282 |
text-shadow: rgb(0, 138, 184) 1px 1px,
|
@@ -1311,7 +1095,7 @@
|
|
1311 |
rgb(0, 138, 184) 30px 30px;
|
1312 |
}
|
1313 |
|
1314 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1315 |
background: #006599;
|
1316 |
border: 1px solid #00496a;
|
1317 |
text-shadow: rgb(0, 73, 106) 1px 1px,
|
@@ -1346,7 +1130,7 @@
|
|
1346 |
rgb(0, 73, 106) 30px 30px;
|
1347 |
}
|
1348 |
|
1349 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1350 |
background: #00adef;
|
1351 |
border: 1px solid #038bbc;
|
1352 |
text-shadow: rgb(3, 139, 188) 1px 1px,
|
@@ -1381,7 +1165,7 @@
|
|
1381 |
rgb(3, 139, 188) 30px 30px;
|
1382 |
}
|
1383 |
|
1384 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1385 |
background: #21759a;
|
1386 |
border: 1px solid #0f607e;
|
1387 |
text-shadow: rgb(15, 96, 126) 1px 1px,
|
@@ -1416,7 +1200,7 @@
|
|
1416 |
rgb(15, 96, 126) 30px 30px;
|
1417 |
}
|
1418 |
|
1419 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1420 |
background: #4101af;
|
1421 |
border: 1px solid #290074;
|
1422 |
text-shadow: rgb(41, 0, 116) 1px 1px,
|
@@ -1451,7 +1235,7 @@
|
|
1451 |
rgb(41, 0, 116) 30px 30px;
|
1452 |
}
|
1453 |
|
1454 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1455 |
background: #e52c27;
|
1456 |
border: 1px solid #be0707;
|
1457 |
text-shadow: rgb(190, 7, 7) 1px 1px,
|
@@ -1486,7 +1270,7 @@
|
|
1486 |
rgb(190, 7, 7) 30px 30px;
|
1487 |
}
|
1488 |
|
1489 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1490 |
background: #026466;
|
1491 |
border: 1px solid #004746;
|
1492 |
text-shadow: rgb(0, 71, 70) 1px 1px,
|
@@ -1521,7 +1305,7 @@
|
|
1521 |
rgb(0, 71, 70) 30px 30px;
|
1522 |
}
|
1523 |
|
1524 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1525 |
background: #52aad8;
|
1526 |
border: 1px solid #1b95c2;
|
1527 |
text-shadow: rgb(27, 149, 194) 1px 1px,
|
@@ -1556,23 +1340,23 @@
|
|
1556 |
rgb(27, 149, 194) 30px 30px;
|
1557 |
}
|
1558 |
|
1559 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1560 |
background-color: #45668e;
|
1561 |
}
|
1562 |
|
1563 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1564 |
background-color: #00ab6c;
|
1565 |
}
|
1566 |
|
1567 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1568 |
background-color: #a82400;
|
1569 |
}
|
1570 |
|
1571 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1572 |
background-color: #e0393e;
|
1573 |
}
|
1574 |
|
1575 |
-
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.
|
1576 |
background: #553b08;
|
1577 |
border: 1px solid #1b95c2;
|
1578 |
}
|
23 |
height: auto;
|
24 |
}
|
25 |
|
|
|
|
|
26 |
|
27 |
.saboxplugin-wrap .saboxplugin-authorname {
|
28 |
font-size: 18px;
|
70 |
position: relative;
|
71 |
display: block;
|
72 |
background: #fcfcfc;
|
73 |
+
padding: 5px;
|
74 |
-webkit-box-shadow: 0 1px 0 0 #eee inset;
|
75 |
-moz-box-shadow: 0 1px 0 0 #eee inset;
|
76 |
box-shadow: 0 1px 0 0 #eee inset;
|
98 |
-webkit-box-shadow: none !important;
|
99 |
}
|
100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color {
|
|
|
102 |
font-style: normal;
|
103 |
font-weight: normal;
|
104 |
text-decoration: inherit;
|
105 |
+
margin: 5px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
background-clip: content-box;
|
107 |
-moz-background-clip: content-box;
|
108 |
-webkit-background-clip: content-box;
|
114 |
overflow: hidden;
|
115 |
}
|
116 |
|
117 |
+
|
|
|
|
|
|
|
|
|
|
|
118 |
|
119 |
.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey {
|
|
|
120 |
font-style: normal;
|
121 |
font-weight: normal;
|
122 |
text-decoration: inherit;
|
132 |
color: #444;
|
133 |
}
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
.clearfix:after,
|
136 |
.clearfix:before {
|
137 |
content: ' ';
|
148 |
color: #fff;
|
149 |
}
|
150 |
|
151 |
+
.saboxplugin-socials .fa {
|
152 |
+
text-align: center;
|
153 |
+
display: inline-block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
}
|
155 |
|
156 |
+
/* Hotfixes for a few icons */
|
157 |
+
.saboxplugin-socials .fa-googleplus:before {
|
158 |
+
content: '\f0d5' !important;
|
159 |
}
|
160 |
|
161 |
+
.saboxplugin-socials .fa-sharethis:before {
|
162 |
+
content: '\f1e0' !important;
|
|
|
163 |
}
|
164 |
|
165 |
+
.saboxplugin-socials .fa-addthis:before {
|
166 |
+
content: '\f0fe' !important;
|
|
|
167 |
}
|
168 |
|
169 |
+
.saboxplugin-socials .fa-stackoverflow:before {
|
170 |
+
content: '\f16c' !important;
|
|
|
171 |
}
|
172 |
|
173 |
+
.saboxplugin-socials .fa-stumbleUpon:before {
|
174 |
+
content: '\f1a4' !important;
|
|
|
175 |
}
|
176 |
|
177 |
+
.saboxplugin-socials .fa-user_email:before {
|
178 |
+
content: '\f0e0' !important;
|
|
|
179 |
}
|
180 |
|
181 |
/* COLORED BACKGROUND AND LONG SHADOW EFFECT FOR SOCIAL ICONS
|
182 |
-------------------------------------------------------------- */
|
183 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-twitch {
|
184 |
background-color: #6441a5;
|
185 |
}
|
186 |
|
187 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-addthis {
|
188 |
background: #ff8662;
|
189 |
border: 1px solid #d5644b;
|
190 |
text-shadow: rgb(213, 100, 75) 1px 1px,
|
219 |
rgb(213, 100, 75) 30px 30px;
|
220 |
}
|
221 |
|
222 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-behance {
|
223 |
background: #0294ff;
|
224 |
border: 1px solid #0083d4;
|
225 |
text-shadow: rgb(0, 131, 212) 1px 1px,
|
254 |
rgb(0, 131, 212) 30px 30px;
|
255 |
}
|
256 |
|
257 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-delicious {
|
258 |
background: #0294ff;
|
259 |
border: 1px solid #007ecd;
|
260 |
text-shadow: rgb(0, 126, 205) 1px 1px,
|
289 |
rgb(0, 126, 205) 30px 30px;
|
290 |
}
|
291 |
|
292 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-deviantart {
|
293 |
background: #dce22b;
|
294 |
border: 1px solid #b2b423;
|
295 |
text-shadow: rgb(178, 180, 35) 1px 1px,
|
324 |
rgb(178, 180, 35) 30px 30px;
|
325 |
}
|
326 |
|
327 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-digg {
|
328 |
background: #1b8ec4;
|
329 |
border: 1px solid #126c92;
|
330 |
text-shadow: rgb(18, 108, 146) 1px 1px,
|
359 |
rgb(18, 108, 146) 30px 30px;
|
360 |
}
|
361 |
|
362 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-dribbble {
|
363 |
background: #ef76a4;
|
364 |
border: 1px solid #c05c84;
|
365 |
text-shadow: rgb(192, 92, 132) 1px 1px,
|
394 |
rgb(192, 92, 132) 30px 30px;
|
395 |
}
|
396 |
|
397 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-facebook {
|
398 |
background: #3b5998;
|
399 |
border: 1px solid #1e3d7a;
|
400 |
text-shadow: rgb(30, 61, 122) 1px 1px,
|
429 |
rgb(30, 61, 122) 30px 30px;
|
430 |
}
|
431 |
|
432 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-flickr {
|
433 |
background: #ff0586;
|
434 |
border: 1px solid #d0006f;
|
435 |
text-shadow: rgb(208, 0, 111) 1px 1px,
|
464 |
rgb(208, 0, 111) 30px 30px;
|
465 |
}
|
466 |
|
467 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-github {
|
468 |
background: #829aa8;
|
469 |
border: 1px solid #4f7385;
|
470 |
text-shadow: rgb(79, 115, 133) 1px 1px,
|
499 |
rgb(79, 115, 133) 30px 30px;
|
500 |
}
|
501 |
|
502 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-google {
|
503 |
background: #e8262f;
|
504 |
border: 1px solid #c20c18;
|
505 |
text-shadow: rgb(194, 12, 24) 1px 1px,
|
534 |
rgb(194, 12, 24) 30px 30px;
|
535 |
}
|
536 |
|
537 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-googleplus {
|
538 |
background: #dd4b39;
|
539 |
border: 1px solid #b32414;
|
540 |
text-shadow: rgb(179, 36, 20) 1px 1px,
|
569 |
rgb(179, 36, 20) 30px 30px;
|
570 |
}
|
571 |
|
572 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-html5 {
|
573 |
background: #f16528;
|
574 |
border: 1px solid #c23d08;
|
575 |
text-shadow: rgb(194, 61, 8) 1px 1px,
|
604 |
rgb(194, 61, 8) 30px 30px;
|
605 |
}
|
606 |
|
607 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-instagram {
|
608 |
background: #417096;
|
609 |
border: 1px solid #244f70;
|
610 |
text-shadow: rgb(36, 79, 112) 1px 1px,
|
639 |
rgb(36, 79, 112) 30px 30px;
|
640 |
}
|
641 |
|
642 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-linkedin {
|
643 |
background: #1583bb;
|
644 |
border: 1px solid #036390;
|
645 |
text-shadow: rgb(3, 99, 144) 1px 1px,
|
674 |
rgb(3, 99, 144) 30px 30px;
|
675 |
}
|
676 |
|
677 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-pinterest {
|
678 |
background: #cb2027;
|
679 |
border: 1px solid #9d060e;
|
680 |
text-shadow: rgb(157, 6, 62) 1px 1px,
|
709 |
rgb(157, 6, 62) 30px 30px;
|
710 |
}
|
711 |
|
712 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-reddit {
|
713 |
background: #ff4107;
|
714 |
border: 1px solid #c62d02;
|
715 |
text-shadow: rgb(198, 45, 2) 1px 1px,
|
744 |
rgb(198, 45, 2) 30px 30px;
|
745 |
}
|
746 |
|
747 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-rss {
|
748 |
background: #ff7a21;
|
749 |
border: 1px solid #c24b02;
|
750 |
text-shadow: rgb(194, 75, 2) 1px 1px,
|
779 |
rgb(194, 75, 2) 30px 30px;
|
780 |
}
|
781 |
|
782 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-sharethis {
|
783 |
background: #1d9565;
|
784 |
border: 1px solid #076840;
|
785 |
text-shadow: rgb(7, 104, 64) 1px 1px,
|
814 |
rgb(7, 104, 64) 30px 30px;
|
815 |
}
|
816 |
|
817 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-skype {
|
818 |
background: #3fc1f4;
|
819 |
border: 1px solid #1b95c2;
|
820 |
text-shadow: rgb(27, 149, 194) 1px 1px,
|
849 |
rgb(27, 149, 194) 30px 30px;
|
850 |
}
|
851 |
|
852 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-soundcloud {
|
853 |
background: #ff5419;
|
854 |
border: 1px solid #c73002;
|
855 |
text-shadow: rgb(199, 48, 2) 1px 1px,
|
884 |
rgb(199, 48, 2) 30px 30px;
|
885 |
}
|
886 |
|
887 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-spotify {
|
888 |
background: #aecf02;
|
889 |
border: 1px solid #829900;
|
890 |
text-shadow: rgb(130, 153, 0) 1px 1px,
|
919 |
rgb(130, 153, 0) 30px 30px;
|
920 |
}
|
921 |
|
922 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-stackoverflow {
|
923 |
background: #ff661e;
|
924 |
border: 1px solid #ce3a00;
|
925 |
text-shadow: rgb(206, 58, 0) 1px 1px,
|
954 |
rgb(206, 58, 0) 30px 30px;
|
955 |
}
|
956 |
|
957 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-steam,
|
958 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-user_email {
|
959 |
background: #484848;
|
960 |
border: 1px solid #302b2b;
|
961 |
text-shadow: rgb(48, 43, 43) 1px 1px,
|
990 |
rgb(48, 43, 43) 30px 30px;
|
991 |
}
|
992 |
|
993 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-stumbleUpon {
|
994 |
background: #eb4923;
|
995 |
border: 1px solid #be2507;
|
996 |
text-shadow: rgb(190, 37, 7) 1px 1px,
|
1025 |
rgb(190, 37, 7) 30px 30px;
|
1026 |
}
|
1027 |
|
1028 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-tumblr {
|
1029 |
background: #3c576c;
|
1030 |
border: 1px solid #1e3546;
|
1031 |
text-shadow: rgb(30, 53, 70) 1px 1px,
|
1060 |
rgb(30, 53, 70) 30px 30px;
|
1061 |
}
|
1062 |
|
1063 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-twitter {
|
1064 |
background: #00aced;
|
1065 |
border: 1px solid #008ab8;
|
1066 |
text-shadow: rgb(0, 138, 184) 1px 1px,
|
1095 |
rgb(0, 138, 184) 30px 30px;
|
1096 |
}
|
1097 |
|
1098 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-vimeo {
|
1099 |
background: #006599;
|
1100 |
border: 1px solid #00496a;
|
1101 |
text-shadow: rgb(0, 73, 106) 1px 1px,
|
1130 |
rgb(0, 73, 106) 30px 30px;
|
1131 |
}
|
1132 |
|
1133 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-windows {
|
1134 |
background: #00adef;
|
1135 |
border: 1px solid #038bbc;
|
1136 |
text-shadow: rgb(3, 139, 188) 1px 1px,
|
1165 |
rgb(3, 139, 188) 30px 30px;
|
1166 |
}
|
1167 |
|
1168 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-wordpress {
|
1169 |
background: #21759a;
|
1170 |
border: 1px solid #0f607e;
|
1171 |
text-shadow: rgb(15, 96, 126) 1px 1px,
|
1200 |
rgb(15, 96, 126) 30px 30px;
|
1201 |
}
|
1202 |
|
1203 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-yahoo {
|
1204 |
background: #4101af;
|
1205 |
border: 1px solid #290074;
|
1206 |
text-shadow: rgb(41, 0, 116) 1px 1px,
|
1235 |
rgb(41, 0, 116) 30px 30px;
|
1236 |
}
|
1237 |
|
1238 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-youtube {
|
1239 |
background: #e52c27;
|
1240 |
border: 1px solid #be0707;
|
1241 |
text-shadow: rgb(190, 7, 7) 1px 1px,
|
1270 |
rgb(190, 7, 7) 30px 30px;
|
1271 |
}
|
1272 |
|
1273 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-xing {
|
1274 |
background: #026466;
|
1275 |
border: 1px solid #004746;
|
1276 |
text-shadow: rgb(0, 71, 70) 1px 1px,
|
1305 |
rgb(0, 71, 70) 30px 30px;
|
1306 |
}
|
1307 |
|
1308 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-mixcloud {
|
1309 |
background: #52aad8;
|
1310 |
border: 1px solid #1b95c2;
|
1311 |
text-shadow: rgb(27, 149, 194) 1px 1px,
|
1340 |
rgb(27, 149, 194) 30px 30px;
|
1341 |
}
|
1342 |
|
1343 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-vk {
|
1344 |
background-color: #45668e;
|
1345 |
}
|
1346 |
|
1347 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-medium {
|
1348 |
background-color: #00ab6c;
|
1349 |
}
|
1350 |
|
1351 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-quora {
|
1352 |
background-color: #a82400;
|
1353 |
}
|
1354 |
|
1355 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-meetup {
|
1356 |
background-color: #e0393e;
|
1357 |
}
|
1358 |
|
1359 |
+
.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-goodreads {
|
1360 |
background: #553b08;
|
1361 |
border: 1px solid #1b95c2;
|
1362 |
}
|
assets/css/simple-author-box.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.saboxplugin-wrap .saboxplugin-authorname a,.saboxplugin-wrap .saboxplugin-desc a,.saboxplugin-wrap .saboxplugin-web a{text-decoration:none}.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:focus{outline:0}.saboxplugin-wrap .saboxplugin-desc{display:block;margin:5px 20px}.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}.saboxplugin-wrap .saboxplugin-socials{position:relative;display:block;background:#fcfcfc;padding:0 15px;-webkit-box-shadow:0 1px 0 0 #eee inset;-moz-box-shadow:0 1px 0 0 #eee inset;box-shadow:0 1px 0 0 #eee inset}.saboxplugin-wrap .saboxplugin-socials a{text-decoration:none;box-shadow:none;padding:0;margin:0;border:0;-webkit-transition:opacity .4s;-moz-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color,.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey{font-family:FontAwesome;font-style:normal;font-weight:400;text-decoration:inherit;position:relative;vertical-align:middle;margin:10px 5px;zoom:1}.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:before{display:block;width:30px;height:30px;line-height:33px;text-align:center;speak:none}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color{font-size:14px;display:-moz-inline-stack;display:inline-block;background-clip:content-box;-moz-background-clip:content-box;-webkit-background-clip:content-box;-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:before{display:block;text-align:center;speak:none;line-height:1}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey{font-size:20px;display:-moz-inline-stack;display:inline-block;color:#444}.clearfix:after,.clearfix:before{content:' ';display:table;line-height:0;clear:both}.ie7 .clearfix{zoom:1}.saboxplugin-wrap .saboxplugin-socials.sabox-colored .saboxplugin-icon-color{color:#fff}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-user_email:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-user_email:before{content:'\f0e0'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-addthis:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-addthis:before{content:'\f067'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-behance:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-behance:before{content:'\f1b4'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-delicious:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-delicious:before{content:'\f1a5'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-deviantart:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-deviantart:before{content:'\f1bd'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-digg:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-digg:before{content:'\f1a6'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-dribbble:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-dribbble:before{content:'\f17d'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-facebook:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-facebook:before{content:'\f09a'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-flickr:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-flickr:before{content:'\f16e'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-github:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-github:before{content:'\f09b'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-google:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-google:before{content:'\f1a0'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-googleplus:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-googleplus:before{content:'\f0d5'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-html5:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-html5:before{content:'\f13b'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-instagram:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-instagram:before{content:'\f16d'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-linkedin:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-linkedin:before{content:'\f0e1'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-pinterest:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-pinterest:before{content:'\f0d2'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-reddit:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-reddit:before{content:'\f1a1'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-rss:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-rss:before{content:'\f09e'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-sharethis:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-sharethis:before{content:'\f1e0'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-skype:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-skype:before{content:'\f17e'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-soundcloud:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-soundcloud:before{content:'\f1be'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-spotify:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-spotify:before{content:'\f1bc'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-stackoverflow:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-stackoverflow:before{content:'\f16c'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-steam:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-steam:before{content:'\f1b6'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-stumbleUpon:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-stumbleUpon:before{content:'\f1a4'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-tumblr:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-tumblr:before{content:'\f173'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-twitter:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-twitter:before{content:'\f099'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-vimeo:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-vimeo:before{content:'\f194'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-windows:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-windows:before{content:'\f17a'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-wordpress:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-wordpress:before{content:'\f19a'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-yahoo:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-yahoo:before{content:'\f19e'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-youtube:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-youtube:before{content:'\f167'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-xing:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-xing:before{content:'\f168'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-mixcloud:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-mixcloud:before{content:'\f289'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-goodreads:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-goodreads:before{content:'\f2a6'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-twitch:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-twitch:before{content:'\f1e8'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-vk:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-vk:before{content:'\f189'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-medium:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-medium:before{content:'\f23a'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-quora:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-quora:before{content:'\f2c4'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-meetup:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-meetup:before{content:'\f2e0'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-snapchat:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-snapchat:before{content:'\f2ab'}.saboxplugin-socials .saboxplugin-icon-color.saboxplugin-icon-500px:before,.saboxplugin-socials .saboxplugin-icon-grey.saboxplugin-icon-500px:before{content:'\f26e'}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-twitch{background-color:#6441a5}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-addthis{background:#ff8662;border:1px solid #d5644b;text-shadow:#d5644b 1px 1px,#d5644b 2px 2px,#d5644b 3px 3px,#d5644b 4px 4px,#d5644b 5px 5px,#d5644b 6px 6px,#d5644b 7px 7px,#d5644b 8px 8px,#d5644b 9px 9px,#d5644b 10px 10px,#d5644b 11px 11px,#d5644b 12px 12px,#d5644b 13px 13px,#d5644b 14px 14px,#d5644b 15px 15px,#d5644b 16px 16px,#d5644b 17px 17px,#d5644b 18px 18px,#d5644b 19px 19px,#d5644b 20px 20px,#d5644b 21px 21px,#d5644b 22px 22px,#d5644b 23px 23px,#d5644b 24px 24px,#d5644b 25px 25px,#d5644b 26px 26px,#d5644b 27px 27px,#d5644b 28px 28px,#d5644b 29px 29px,#d5644b 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-behance{background:#0294ff;border:1px solid #0083d4;text-shadow:#0083d4 1px 1px,#0083d4 2px 2px,#0083d4 3px 3px,#0083d4 4px 4px,#0083d4 5px 5px,#0083d4 6px 6px,#0083d4 7px 7px,#0083d4 8px 8px,#0083d4 9px 9px,#0083d4 10px 10px,#0083d4 11px 11px,#0083d4 12px 12px,#0083d4 13px 13px,#0083d4 14px 14px,#0083d4 15px 15px,#0083d4 16px 16px,#0083d4 17px 17px,#0083d4 18px 18px,#0083d4 19px 19px,#0083d4 20px 20px,#0083d4 21px 21px,#0083d4 22px 22px,#0083d4 23px 23px,#0083d4 24px 24px,#0083d4 25px 25px,#0083d4 26px 26px,#0083d4 27px 27px,#0083d4 28px 28px,#0083d4 29px 29px,#0083d4 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-delicious{background:#0294ff;border:1px solid #007ecd;text-shadow:#007ecd 1px 1px,#007ecd 2px 2px,#007ecd 3px 3px,#007ecd 4px 4px,#007ecd 5px 5px,#007ecd 6px 6px,#007ecd 7px 7px,#007ecd 8px 8px,#007ecd 9px 9px,#007ecd 10px 10px,#007ecd 11px 11px,#007ecd 12px 12px,#007ecd 13px 13px,#007ecd 14px 14px,#007ecd 15px 15px,#007ecd 16px 16px,#007ecd 17px 17px,#007ecd 18px 18px,#007ecd 19px 19px,#007ecd 20px 20px,#007ecd 21px 21px,#007ecd 22px 22px,#007ecd 23px 23px,#007ecd 24px 24px,#007ecd 25px 25px,#007ecd 26px 26px,#007ecd 27px 27px,#007ecd 28px 28px,#007ecd 29px 29px,#007ecd 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-deviantart{background:#dce22b;border:1px solid #b2b423;text-shadow:#b2b423 1px 1px,#b2b423 2px 2px,#b2b423 3px 3px,#b2b423 4px 4px,#b2b423 5px 5px,#b2b423 6px 6px,#b2b423 7px 7px,#b2b423 8px 8px,#b2b423 9px 9px,#b2b423 10px 10px,#b2b423 11px 11px,#b2b423 12px 12px,#b2b423 13px 13px,#b2b423 14px 14px,#b2b423 15px 15px,#b2b423 16px 16px,#b2b423 17px 17px,#b2b423 18px 18px,#b2b423 19px 19px,#b2b423 20px 20px,#b2b423 21px 21px,#b2b423 22px 22px,#b2b423 23px 23px,#b2b423 24px 24px,#b2b423 25px 25px,#b2b423 26px 26px,#b2b423 27px 27px,#b2b423 28px 28px,#b2b423 29px 29px,#b2b423 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-digg{background:#1b8ec4;border:1px solid #126c92;text-shadow:#126c92 1px 1px,#126c92 2px 2px,#126c92 3px 3px,#126c92 4px 4px,#126c92 5px 5px,#126c92 6px 6px,#126c92 7px 7px,#126c92 8px 8px,#126c92 9px 9px,#126c92 10px 10px,#126c92 11px 11px,#126c92 12px 12px,#126c92 13px 13px,#126c92 14px 14px,#126c92 15px 15px,#126c92 16px 16px,#126c92 17px 17px,#126c92 18px 18px,#126c92 19px 19px,#126c92 20px 20px,#126c92 21px 21px,#126c92 22px 22px,#126c92 23px 23px,#126c92 24px 24px,#126c92 25px 25px,#126c92 26px 26px,#126c92 27px 27px,#126c92 28px 28px,#126c92 29px 29px,#126c92 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-dribbble{background:#ef76a4;border:1px solid #c05c84;text-shadow:#c05c84 1px 1px,#c05c84 2px 2px,#c05c84 3px 3px,#c05c84 4px 4px,#c05c84 5px 5px,#c05c84 6px 6px,#c05c84 7px 7px,#c05c84 8px 8px,#c05c84 9px 9px,#c05c84 10px 10px,#c05c84 11px 11px,#c05c84 12px 12px,#c05c84 13px 13px,#c05c84 14px 14px,#c05c84 15px 15px,#c05c84 16px 16px,#c05c84 17px 17px,#c05c84 18px 18px,#c05c84 19px 19px,#c05c84 20px 20px,#c05c84 21px 21px,#c05c84 22px 22px,#c05c84 23px 23px,#c05c84 24px 24px,#c05c84 25px 25px,#c05c84 26px 26px,#c05c84 27px 27px,#c05c84 28px 28px,#c05c84 29px 29px,#c05c84 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-facebook{background:#3b5998;border:1px solid #1e3d7a;text-shadow:#1e3d7a 1px 1px,#1e3d7a 2px 2px,#1e3d7a 3px 3px,#1e3d7a 4px 4px,#1e3d7a 5px 5px,#1e3d7a 6px 6px,#1e3d7a 7px 7px,#1e3d7a 8px 8px,#1e3d7a 9px 9px,#1e3d7a 10px 10px,#1e3d7a 11px 11px,#1e3d7a 12px 12px,#1e3d7a 13px 13px,#1e3d7a 14px 14px,#1e3d7a 15px 15px,#1e3d7a 16px 16px,#1e3d7a 17px 17px,#1e3d7a 18px 18px,#1e3d7a 19px 19px,#1e3d7a 20px 20px,#1e3d7a 21px 21px,#1e3d7a 22px 22px,#1e3d7a 23px 23px,#1e3d7a 24px 24px,#1e3d7a 25px 25px,#1e3d7a 26px 26px,#1e3d7a 27px 27px,#1e3d7a 28px 28px,#1e3d7a 29px 29px,#1e3d7a 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-flickr{background:#ff0586;border:1px solid #d0006f;text-shadow:#d0006f 1px 1px,#d0006f 2px 2px,#d0006f 3px 3px,#d0006f 4px 4px,#d0006f 5px 5px,#d0006f 6px 6px,#d0006f 7px 7px,#d0006f 8px 8px,#d0006f 9px 9px,#d0006f 10px 10px,#d0006f 11px 11px,#d0006f 12px 12px,#d0006f 13px 13px,#d0006f 14px 14px,#d0006f 15px 15px,#d0006f 16px 16px,#d0006f 17px 17px,#d0006f 18px 18px,#d0006f 19px 19px,#d0006f 20px 20px,#d0006f 21px 21px,#d0006f 22px 22px,#d0006f 23px 23px,#d0006f 24px 24px,#d0006f 25px 25px,#d0006f 26px 26px,#d0006f 27px 27px,#d0006f 28px 28px,#d0006f 29px 29px,#d0006f 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-github{background:#829aa8;border:1px solid #4f7385;text-shadow:#4f7385 1px 1px,#4f7385 2px 2px,#4f7385 3px 3px,#4f7385 4px 4px,#4f7385 5px 5px,#4f7385 6px 6px,#4f7385 7px 7px,#4f7385 8px 8px,#4f7385 9px 9px,#4f7385 10px 10px,#4f7385 11px 11px,#4f7385 12px 12px,#4f7385 13px 13px,#4f7385 14px 14px,#4f7385 15px 15px,#4f7385 16px 16px,#4f7385 17px 17px,#4f7385 18px 18px,#4f7385 19px 19px,#4f7385 20px 20px,#4f7385 21px 21px,#4f7385 22px 22px,#4f7385 23px 23px,#4f7385 24px 24px,#4f7385 25px 25px,#4f7385 26px 26px,#4f7385 27px 27px,#4f7385 28px 28px,#4f7385 29px 29px,#4f7385 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-google{background:#e8262f;border:1px solid #c20c18;text-shadow:#c20c18 1px 1px,#c20c18 2px 2px,#c20c18 3px 3px,#c20c18 4px 4px,#c20c18 5px 5px,#c20c18 6px 6px,#c20c18 7px 7px,#c20c18 8px 8px,#c20c18 9px 9px,#c20c18 10px 10px,#c20c18 11px 11px,#c20c18 12px 12px,#c20c18 13px 13px,#c20c18 14px 14px,#c20c18 15px 15px,#c20c18 16px 16px,#c20c18 17px 17px,#c20c18 18px 18px,#c20c18 19px 19px,#c20c18 20px 20px,#c20c18 21px 21px,#c20c18 22px 22px,#c20c18 23px 23px,#c20c18 24px 24px,#c20c18 25px 25px,#c20c18 26px 26px,#c20c18 27px 27px,#c20c18 28px 28px,#c20c18 29px 29px,#c20c18 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-googleplus{background:#dd4b39;border:1px solid #b32414;text-shadow:#b32414 1px 1px,#b32414 2px 2px,#b32414 3px 3px,#b32414 4px 4px,#b32414 5px 5px,#b32414 6px 6px,#b32414 7px 7px,#b32414 8px 8px,#b32414 9px 9px,#b32414 10px 10px,#b32414 11px 11px,#b32414 12px 12px,#b32414 13px 13px,#b32414 14px 14px,#b32414 15px 15px,#b32414 16px 16px,#b32414 17px 17px,#b32414 18px 18px,#b32414 19px 19px,#b32414 20px 20px,#b32414 21px 21px,#b32414 22px 22px,#b32414 23px 23px,#b32414 24px 24px,#b32414 25px 25px,#b32414 26px 26px,#b32414 27px 27px,#b32414 28px 28px,#b32414 29px 29px,#b32414 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-html5{background:#f16528;border:1px solid #c23d08;text-shadow:#c23d08 1px 1px,#c23d08 2px 2px,#c23d08 3px 3px,#c23d08 4px 4px,#c23d08 5px 5px,#c23d08 6px 6px,#c23d08 7px 7px,#c23d08 8px 8px,#c23d08 9px 9px,#c23d08 10px 10px,#c23d08 11px 11px,#c23d08 12px 12px,#c23d08 13px 13px,#c23d08 14px 14px,#c23d08 15px 15px,#c23d08 16px 16px,#c23d08 17px 17px,#c23d08 18px 18px,#c23d08 19px 19px,#c23d08 20px 20px,#c23d08 21px 21px,#c23d08 22px 22px,#c23d08 23px 23px,#c23d08 24px 24px,#c23d08 25px 25px,#c23d08 26px 26px,#c23d08 27px 27px,#c23d08 28px 28px,#c23d08 29px 29px,#c23d08 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-instagram{background:#417096;border:1px solid #244f70;text-shadow:#244f70 1px 1px,#244f70 2px 2px,#244f70 3px 3px,#244f70 4px 4px,#244f70 5px 5px,#244f70 6px 6px,#244f70 7px 7px,#244f70 8px 8px,#244f70 9px 9px,#244f70 10px 10px,#244f70 11px 11px,#244f70 12px 12px,#244f70 13px 13px,#244f70 14px 14px,#244f70 15px 15px,#244f70 16px 16px,#244f70 17px 17px,#244f70 18px 18px,#244f70 19px 19px,#244f70 20px 20px,#244f70 21px 21px,#244f70 22px 22px,#244f70 23px 23px,#244f70 24px 24px,#244f70 25px 25px,#244f70 26px 26px,#244f70 27px 27px,#244f70 28px 28px,#244f70 29px 29px,#244f70 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-linkedin{background:#1583bb;border:1px solid #036390;text-shadow:#036390 1px 1px,#036390 2px 2px,#036390 3px 3px,#036390 4px 4px,#036390 5px 5px,#036390 6px 6px,#036390 7px 7px,#036390 8px 8px,#036390 9px 9px,#036390 10px 10px,#036390 11px 11px,#036390 12px 12px,#036390 13px 13px,#036390 14px 14px,#036390 15px 15px,#036390 16px 16px,#036390 17px 17px,#036390 18px 18px,#036390 19px 19px,#036390 20px 20px,#036390 21px 21px,#036390 22px 22px,#036390 23px 23px,#036390 24px 24px,#036390 25px 25px,#036390 26px 26px,#036390 27px 27px,#036390 28px 28px,#036390 29px 29px,#036390 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-pinterest{background:#cb2027;border:1px solid #9d060e;text-shadow:#9d063e 1px 1px,#9d063e 2px 2px,#9d063e 3px 3px,#9d063e 4px 4px,#9d063e 5px 5px,#9d063e 6px 6px,#9d063e 7px 7px,#9d063e 8px 8px,#9d063e 9px 9px,#9d063e 10px 10px,#9d063e 11px 11px,#9d063e 12px 12px,#9d063e 13px 13px,#9d063e 14px 14px,#9d063e 15px 15px,#9d063e 16px 16px,#9d063e 17px 17px,#9d063e 18px 18px,#9d063e 19px 19px,#9d063e 20px 20px,#9d063e 21px 21px,#9d063e 22px 22px,#9d063e 23px 23px,#9d063e 24px 24px,#9d063e 25px 25px,#9d063e 26px 26px,#9d063e 27px 27px,#9d063e 28px 28px,#9d063e 29px 29px,#9d063e 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-reddit{background:#ff4107;border:1px solid #c62d02;text-shadow:#c62d02 1px 1px,#c62d02 2px 2px,#c62d02 3px 3px,#c62d02 4px 4px,#c62d02 5px 5px,#c62d02 6px 6px,#c62d02 7px 7px,#c62d02 8px 8px,#c62d02 9px 9px,#c62d02 10px 10px,#c62d02 11px 11px,#c62d02 12px 12px,#c62d02 13px 13px,#c62d02 14px 14px,#c62d02 15px 15px,#c62d02 16px 16px,#c62d02 17px 17px,#c62d02 18px 18px,#c62d02 19px 19px,#c62d02 20px 20px,#c62d02 21px 21px,#c62d02 22px 22px,#c62d02 23px 23px,#c62d02 24px 24px,#c62d02 25px 25px,#c62d02 26px 26px,#c62d02 27px 27px,#c62d02 28px 28px,#c62d02 29px 29px,#c62d02 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-rss{background:#ff7a21;border:1px solid #c24b02;text-shadow:#c24b02 1px 1px,#c24b02 2px 2px,#c24b02 3px 3px,#c24b02 4px 4px,#c24b02 5px 5px,#c24b02 6px 6px,#c24b02 7px 7px,#c24b02 8px 8px,#c24b02 9px 9px,#c24b02 10px 10px,#c24b02 11px 11px,#c24b02 12px 12px,#c24b02 13px 13px,#c24b02 14px 14px,#c24b02 15px 15px,#c24b02 16px 16px,#c24b02 17px 17px,#c24b02 18px 18px,#c24b02 19px 19px,#c24b02 20px 20px,#c24b02 21px 21px,#c24b02 22px 22px,#c24b02 23px 23px,#c24b02 24px 24px,#c24b02 25px 25px,#c24b02 26px 26px,#c24b02 27px 27px,#c24b02 28px 28px,#c24b02 29px 29px,#c24b02 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-sharethis{background:#1d9565;border:1px solid #076840;text-shadow:#076840 1px 1px,#076840 2px 2px,#076840 3px 3px,#076840 4px 4px,#076840 5px 5px,#076840 6px 6px,#076840 7px 7px,#076840 8px 8px,#076840 9px 9px,#076840 10px 10px,#076840 11px 11px,#076840 12px 12px,#076840 13px 13px,#076840 14px 14px,#076840 15px 15px,#076840 16px 16px,#076840 17px 17px,#076840 18px 18px,#076840 19px 19px,#076840 20px 20px,#076840 21px 21px,#076840 22px 22px,#076840 23px 23px,#076840 24px 24px,#076840 25px 25px,#076840 26px 26px,#076840 27px 27px,#076840 28px 28px,#076840 29px 29px,#076840 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-skype{background:#3fc1f4;border:1px solid #1b95c2;text-shadow:#1b95c2 1px 1px,#1b95c2 2px 2px,#1b95c2 3px 3px,#1b95c2 4px 4px,#1b95c2 5px 5px,#1b95c2 6px 6px,#1b95c2 7px 7px,#1b95c2 8px 8px,#1b95c2 9px 9px,#1b95c2 10px 10px,#1b95c2 11px 11px,#1b95c2 12px 12px,#1b95c2 13px 13px,#1b95c2 14px 14px,#1b95c2 15px 15px,#1b95c2 16px 16px,#1b95c2 17px 17px,#1b95c2 18px 18px,#1b95c2 19px 19px,#1b95c2 20px 20px,#1b95c2 21px 21px,#1b95c2 22px 22px,#1b95c2 23px 23px,#1b95c2 24px 24px,#1b95c2 25px 25px,#1b95c2 26px 26px,#1b95c2 27px 27px,#1b95c2 28px 28px,#1b95c2 29px 29px,#1b95c2 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-soundcloud{background:#ff5419;border:1px solid #c73002;text-shadow:#c73002 1px 1px,#c73002 2px 2px,#c73002 3px 3px,#c73002 4px 4px,#c73002 5px 5px,#c73002 6px 6px,#c73002 7px 7px,#c73002 8px 8px,#c73002 9px 9px,#c73002 10px 10px,#c73002 11px 11px,#c73002 12px 12px,#c73002 13px 13px,#c73002 14px 14px,#c73002 15px 15px,#c73002 16px 16px,#c73002 17px 17px,#c73002 18px 18px,#c73002 19px 19px,#c73002 20px 20px,#c73002 21px 21px,#c73002 22px 22px,#c73002 23px 23px,#c73002 24px 24px,#c73002 25px 25px,#c73002 26px 26px,#c73002 27px 27px,#c73002 28px 28px,#c73002 29px 29px,#c73002 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-spotify{background:#aecf02;border:1px solid #829900;text-shadow:#829900 1px 1px,#829900 2px 2px,#829900 3px 3px,#829900 4px 4px,#829900 5px 5px,#829900 6px 6px,#829900 7px 7px,#829900 8px 8px,#829900 9px 9px,#829900 10px 10px,#829900 11px 11px,#829900 12px 12px,#829900 13px 13px,#829900 14px 14px,#829900 15px 15px,#829900 16px 16px,#829900 17px 17px,#829900 18px 18px,#829900 19px 19px,#829900 20px 20px,#829900 21px 21px,#829900 22px 22px,#829900 23px 23px,#829900 24px 24px,#829900 25px 25px,#829900 26px 26px,#829900 27px 27px,#829900 28px 28px,#829900 29px 29px,#829900 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-stackoverflow{background:#ff661e;border:1px solid #ce3a00;text-shadow:#ce3a00 1px 1px,#ce3a00 2px 2px,#ce3a00 3px 3px,#ce3a00 4px 4px,#ce3a00 5px 5px,#ce3a00 6px 6px,#ce3a00 7px 7px,#ce3a00 8px 8px,#ce3a00 9px 9px,#ce3a00 10px 10px,#ce3a00 11px 11px,#ce3a00 12px 12px,#ce3a00 13px 13px,#ce3a00 14px 14px,#ce3a00 15px 15px,#ce3a00 16px 16px,#ce3a00 17px 17px,#ce3a00 18px 18px,#ce3a00 19px 19px,#ce3a00 20px 20px,#ce3a00 21px 21px,#ce3a00 22px 22px,#ce3a00 23px 23px,#ce3a00 24px 24px,#ce3a00 25px 25px,#ce3a00 26px 26px,#ce3a00 27px 27px,#ce3a00 28px 28px,#ce3a00 29px 29px,#ce3a00 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-steam,.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-user_email{background:#484848;border:1px solid #302b2b;text-shadow:#302b2b 1px 1px,#302b2b 2px 2px,#302b2b 3px 3px,#302b2b 4px 4px,#302b2b 5px 5px,#302b2b 6px 6px,#302b2b 7px 7px,#302b2b 8px 8px,#302b2b 9px 9px,#302b2b 10px 10px,#302b2b 11px 11px,#302b2b 12px 12px,#302b2b 13px 13px,#302b2b 14px 14px,#302b2b 15px 15px,#302b2b 16px 16px,#302b2b 17px 17px,#302b2b 18px 18px,#302b2b 19px 19px,#302b2b 20px 20px,#302b2b 21px 21px,#302b2b 22px 22px,#302b2b 23px 23px,#302b2b 24px 24px,#302b2b 25px 25px,#302b2b 26px 26px,#302b2b 27px 27px,#302b2b 28px 28px,#302b2b 29px 29px,#302b2b 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-stumbleUpon{background:#eb4923;border:1px solid #be2507;text-shadow:#be2507 1px 1px,#be2507 2px 2px,#be2507 3px 3px,#be2507 4px 4px,#be2507 5px 5px,#be2507 6px 6px,#be2507 7px 7px,#be2507 8px 8px,#be2507 9px 9px,#be2507 10px 10px,#be2507 11px 11px,#be2507 12px 12px,#be2507 13px 13px,#be2507 14px 14px,#be2507 15px 15px,#be2507 16px 16px,#be2507 17px 17px,#be2507 18px 18px,#be2507 19px 19px,#be2507 20px 20px,#be2507 21px 21px,#be2507 22px 22px,#be2507 23px 23px,#be2507 24px 24px,#be2507 25px 25px,#be2507 26px 26px,#be2507 27px 27px,#be2507 28px 28px,#be2507 29px 29px,#be2507 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-tumblr{background:#3c576c;border:1px solid #1e3546;text-shadow:#1e3546 1px 1px,#1e3546 2px 2px,#1e3546 3px 3px,#1e3546 4px 4px,#1e3546 5px 5px,#1e3546 6px 6px,#1e3546 7px 7px,#1e3546 8px 8px,#1e3546 9px 9px,#1e3546 10px 10px,#1e3546 11px 11px,#1e3546 12px 12px,#1e3546 13px 13px,#1e3546 14px 14px,#1e3546 15px 15px,#1e3546 16px 16px,#1e3546 17px 17px,#1e3546 18px 18px,#1e3546 19px 19px,#1e3546 20px 20px,#1e3546 21px 21px,#1e3546 22px 22px,#1e3546 23px 23px,#1e3546 24px 24px,#1e3546 25px 25px,#1e3546 26px 26px,#1e3546 27px 27px,#1e3546 28px 28px,#1e3546 29px 29px,#1e3546 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-twitter{background:#00aced;border:1px solid #008ab8;text-shadow:#008ab8 1px 1px,#008ab8 2px 2px,#008ab8 3px 3px,#008ab8 4px 4px,#008ab8 5px 5px,#008ab8 6px 6px,#008ab8 7px 7px,#008ab8 8px 8px,#008ab8 9px 9px,#008ab8 10px 10px,#008ab8 11px 11px,#008ab8 12px 12px,#008ab8 13px 13px,#008ab8 14px 14px,#008ab8 15px 15px,#008ab8 16px 16px,#008ab8 17px 17px,#008ab8 18px 18px,#008ab8 19px 19px,#008ab8 20px 20px,#008ab8 21px 21px,#008ab8 22px 22px,#008ab8 23px 23px,#008ab8 24px 24px,#008ab8 25px 25px,#008ab8 26px 26px,#008ab8 27px 27px,#008ab8 28px 28px,#008ab8 29px 29px,#008ab8 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-vimeo{background:#006599;border:1px solid #00496a;text-shadow:#00496a 1px 1px,#00496a 2px 2px,#00496a 3px 3px,#00496a 4px 4px,#00496a 5px 5px,#00496a 6px 6px,#00496a 7px 7px,#00496a 8px 8px,#00496a 9px 9px,#00496a 10px 10px,#00496a 11px 11px,#00496a 12px 12px,#00496a 13px 13px,#00496a 14px 14px,#00496a 15px 15px,#00496a 16px 16px,#00496a 17px 17px,#00496a 18px 18px,#00496a 19px 19px,#00496a 20px 20px,#00496a 21px 21px,#00496a 22px 22px,#00496a 23px 23px,#00496a 24px 24px,#00496a 25px 25px,#00496a 26px 26px,#00496a 27px 27px,#00496a 28px 28px,#00496a 29px 29px,#00496a 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-windows{background:#00adef;border:1px solid #038bbc;text-shadow:#038bbc 1px 1px,#038bbc 2px 2px,#038bbc 3px 3px,#038bbc 4px 4px,#038bbc 5px 5px,#038bbc 6px 6px,#038bbc 7px 7px,#038bbc 8px 8px,#038bbc 9px 9px,#038bbc 10px 10px,#038bbc 11px 11px,#038bbc 12px 12px,#038bbc 13px 13px,#038bbc 14px 14px,#038bbc 15px 15px,#038bbc 16px 16px,#038bbc 17px 17px,#038bbc 18px 18px,#038bbc 19px 19px,#038bbc 20px 20px,#038bbc 21px 21px,#038bbc 22px 22px,#038bbc 23px 23px,#038bbc 24px 24px,#038bbc 25px 25px,#038bbc 26px 26px,#038bbc 27px 27px,#038bbc 28px 28px,#038bbc 29px 29px,#038bbc 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-wordpress{background:#21759a;border:1px solid #0f607e;text-shadow:#0f607e 1px 1px,#0f607e 2px 2px,#0f607e 3px 3px,#0f607e 4px 4px,#0f607e 5px 5px,#0f607e 6px 6px,#0f607e 7px 7px,#0f607e 8px 8px,#0f607e 9px 9px,#0f607e 10px 10px,#0f607e 11px 11px,#0f607e 12px 12px,#0f607e 13px 13px,#0f607e 14px 14px,#0f607e 15px 15px,#0f607e 16px 16px,#0f607e 17px 17px,#0f607e 18px 18px,#0f607e 19px 19px,#0f607e 20px 20px,#0f607e 21px 21px,#0f607e 22px 22px,#0f607e 23px 23px,#0f607e 24px 24px,#0f607e 25px 25px,#0f607e 26px 26px,#0f607e 27px 27px,#0f607e 28px 28px,#0f607e 29px 29px,#0f607e 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-yahoo{background:#4101af;border:1px solid #290074;text-shadow:#290074 1px 1px,#290074 2px 2px,#290074 3px 3px,#290074 4px 4px,#290074 5px 5px,#290074 6px 6px,#290074 7px 7px,#290074 8px 8px,#290074 9px 9px,#290074 10px 10px,#290074 11px 11px,#290074 12px 12px,#290074 13px 13px,#290074 14px 14px,#290074 15px 15px,#290074 16px 16px,#290074 17px 17px,#290074 18px 18px,#290074 19px 19px,#290074 20px 20px,#290074 21px 21px,#290074 22px 22px,#290074 23px 23px,#290074 24px 24px,#290074 25px 25px,#290074 26px 26px,#290074 27px 27px,#290074 28px 28px,#290074 29px 29px,#290074 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-youtube{background:#e52c27;border:1px solid #be0707;text-shadow:#be0707 1px 1px,#be0707 2px 2px,#be0707 3px 3px,#be0707 4px 4px,#be0707 5px 5px,#be0707 6px 6px,#be0707 7px 7px,#be0707 8px 8px,#be0707 9px 9px,#be0707 10px 10px,#be0707 11px 11px,#be0707 12px 12px,#be0707 13px 13px,#be0707 14px 14px,#be0707 15px 15px,#be0707 16px 16px,#be0707 17px 17px,#be0707 18px 18px,#be0707 19px 19px,#be0707 20px 20px,#be0707 21px 21px,#be0707 22px 22px,#be0707 23px 23px,#be0707 24px 24px,#be0707 25px 25px,#be0707 26px 26px,#be0707 27px 27px,#be0707 28px 28px,#be0707 29px 29px,#be0707 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-xing{background:#026466;border:1px solid #004746;text-shadow:#004746 1px 1px,#004746 2px 2px,#004746 3px 3px,#004746 4px 4px,#004746 5px 5px,#004746 6px 6px,#004746 7px 7px,#004746 8px 8px,#004746 9px 9px,#004746 10px 10px,#004746 11px 11px,#004746 12px 12px,#004746 13px 13px,#004746 14px 14px,#004746 15px 15px,#004746 16px 16px,#004746 17px 17px,#004746 18px 18px,#004746 19px 19px,#004746 20px 20px,#004746 21px 21px,#004746 22px 22px,#004746 23px 23px,#004746 24px 24px,#004746 25px 25px,#004746 26px 26px,#004746 27px 27px,#004746 28px 28px,#004746 29px 29px,#004746 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-mixcloud{background:#52aad8;border:1px solid #1b95c2;text-shadow:#1b95c2 1px 1px,#1b95c2 2px 2px,#1b95c2 3px 3px,#1b95c2 4px 4px,#1b95c2 5px 5px,#1b95c2 6px 6px,#1b95c2 7px 7px,#1b95c2 8px 8px,#1b95c2 9px 9px,#1b95c2 10px 10px,#1b95c2 11px 11px,#1b95c2 12px 12px,#1b95c2 13px 13px,#1b95c2 14px 14px,#1b95c2 15px 15px,#1b95c2 16px 16px,#1b95c2 17px 17px,#1b95c2 18px 18px,#1b95c2 19px 19px,#1b95c2 20px 20px,#1b95c2 21px 21px,#1b95c2 22px 22px,#1b95c2 23px 23px,#1b95c2 24px 24px,#1b95c2 25px 25px,#1b95c2 26px 26px,#1b95c2 27px 27px,#1b95c2 28px 28px,#1b95c2 29px 29px,#1b95c2 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-vk{background-color:#45668e}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-medium{background-color:#00ab6c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-quora{background-color:#a82400}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-meetup{background-color:#e0393e}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.saboxplugin-icon-goodreads{background:#553b08;border:1px solid #1b95c2}.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}
|
1 |
+
.saboxplugin-wrap .saboxplugin-authorname a,.saboxplugin-wrap .saboxplugin-desc a,.saboxplugin-wrap .saboxplugin-web a{text-decoration:none}.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:focus{outline:0}.saboxplugin-wrap .saboxplugin-desc{display:block;margin:5px 20px}.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}.saboxplugin-wrap .saboxplugin-socials{position:relative;display:block;background:#fcfcfc;padding:5px;-webkit-box-shadow:0 1px 0 0 #eee inset;-moz-box-shadow:0 1px 0 0 #eee inset;box-shadow:0 1px 0 0 #eee inset}.saboxplugin-wrap .saboxplugin-socials a{text-decoration:none;box-shadow:none;padding:0;margin:0;border:0;-webkit-transition:opacity .4s;-moz-transition:opacity .4s;-o-transition:opacity .4s;transition:opacity .4s}.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{font-style:normal;font-weight:400;text-decoration:inherit;margin:5px;background-clip:content-box;-moz-background-clip:content-box;-webkit-background-clip:content-box;-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{font-style:normal;font-weight:400;text-decoration:inherit;font-size:20px;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-wrap .saboxplugin-socials.sabox-colored .saboxplugin-icon-color{color:#fff}.saboxplugin-socials .fa{text-align:center;display:inline-block}.saboxplugin-socials .fa-googleplus:before{content:'\f0d5'!important}.saboxplugin-socials .fa-sharethis:before{content:'\f1e0'!important}.saboxplugin-socials .fa-addthis:before{content:'\f0fe'!important}.saboxplugin-socials .fa-stackoverflow:before{content:'\f16c'!important}.saboxplugin-socials .fa-stumbleUpon:before{content:'\f1a4'!important}.saboxplugin-socials .fa-user_email:before{content:'\f0e0'!important}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-twitch{background-color:#6441a5}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-addthis{background:#ff8662;border:1px solid #d5644b;text-shadow:#d5644b 1px 1px,#d5644b 2px 2px,#d5644b 3px 3px,#d5644b 4px 4px,#d5644b 5px 5px,#d5644b 6px 6px,#d5644b 7px 7px,#d5644b 8px 8px,#d5644b 9px 9px,#d5644b 10px 10px,#d5644b 11px 11px,#d5644b 12px 12px,#d5644b 13px 13px,#d5644b 14px 14px,#d5644b 15px 15px,#d5644b 16px 16px,#d5644b 17px 17px,#d5644b 18px 18px,#d5644b 19px 19px,#d5644b 20px 20px,#d5644b 21px 21px,#d5644b 22px 22px,#d5644b 23px 23px,#d5644b 24px 24px,#d5644b 25px 25px,#d5644b 26px 26px,#d5644b 27px 27px,#d5644b 28px 28px,#d5644b 29px 29px,#d5644b 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-behance{background:#0294ff;border:1px solid #0083d4;text-shadow:#0083d4 1px 1px,#0083d4 2px 2px,#0083d4 3px 3px,#0083d4 4px 4px,#0083d4 5px 5px,#0083d4 6px 6px,#0083d4 7px 7px,#0083d4 8px 8px,#0083d4 9px 9px,#0083d4 10px 10px,#0083d4 11px 11px,#0083d4 12px 12px,#0083d4 13px 13px,#0083d4 14px 14px,#0083d4 15px 15px,#0083d4 16px 16px,#0083d4 17px 17px,#0083d4 18px 18px,#0083d4 19px 19px,#0083d4 20px 20px,#0083d4 21px 21px,#0083d4 22px 22px,#0083d4 23px 23px,#0083d4 24px 24px,#0083d4 25px 25px,#0083d4 26px 26px,#0083d4 27px 27px,#0083d4 28px 28px,#0083d4 29px 29px,#0083d4 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-delicious{background:#0294ff;border:1px solid #007ecd;text-shadow:#007ecd 1px 1px,#007ecd 2px 2px,#007ecd 3px 3px,#007ecd 4px 4px,#007ecd 5px 5px,#007ecd 6px 6px,#007ecd 7px 7px,#007ecd 8px 8px,#007ecd 9px 9px,#007ecd 10px 10px,#007ecd 11px 11px,#007ecd 12px 12px,#007ecd 13px 13px,#007ecd 14px 14px,#007ecd 15px 15px,#007ecd 16px 16px,#007ecd 17px 17px,#007ecd 18px 18px,#007ecd 19px 19px,#007ecd 20px 20px,#007ecd 21px 21px,#007ecd 22px 22px,#007ecd 23px 23px,#007ecd 24px 24px,#007ecd 25px 25px,#007ecd 26px 26px,#007ecd 27px 27px,#007ecd 28px 28px,#007ecd 29px 29px,#007ecd 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-deviantart{background:#dce22b;border:1px solid #b2b423;text-shadow:#b2b423 1px 1px,#b2b423 2px 2px,#b2b423 3px 3px,#b2b423 4px 4px,#b2b423 5px 5px,#b2b423 6px 6px,#b2b423 7px 7px,#b2b423 8px 8px,#b2b423 9px 9px,#b2b423 10px 10px,#b2b423 11px 11px,#b2b423 12px 12px,#b2b423 13px 13px,#b2b423 14px 14px,#b2b423 15px 15px,#b2b423 16px 16px,#b2b423 17px 17px,#b2b423 18px 18px,#b2b423 19px 19px,#b2b423 20px 20px,#b2b423 21px 21px,#b2b423 22px 22px,#b2b423 23px 23px,#b2b423 24px 24px,#b2b423 25px 25px,#b2b423 26px 26px,#b2b423 27px 27px,#b2b423 28px 28px,#b2b423 29px 29px,#b2b423 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-digg{background:#1b8ec4;border:1px solid #126c92;text-shadow:#126c92 1px 1px,#126c92 2px 2px,#126c92 3px 3px,#126c92 4px 4px,#126c92 5px 5px,#126c92 6px 6px,#126c92 7px 7px,#126c92 8px 8px,#126c92 9px 9px,#126c92 10px 10px,#126c92 11px 11px,#126c92 12px 12px,#126c92 13px 13px,#126c92 14px 14px,#126c92 15px 15px,#126c92 16px 16px,#126c92 17px 17px,#126c92 18px 18px,#126c92 19px 19px,#126c92 20px 20px,#126c92 21px 21px,#126c92 22px 22px,#126c92 23px 23px,#126c92 24px 24px,#126c92 25px 25px,#126c92 26px 26px,#126c92 27px 27px,#126c92 28px 28px,#126c92 29px 29px,#126c92 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-dribbble{background:#ef76a4;border:1px solid #c05c84;text-shadow:#c05c84 1px 1px,#c05c84 2px 2px,#c05c84 3px 3px,#c05c84 4px 4px,#c05c84 5px 5px,#c05c84 6px 6px,#c05c84 7px 7px,#c05c84 8px 8px,#c05c84 9px 9px,#c05c84 10px 10px,#c05c84 11px 11px,#c05c84 12px 12px,#c05c84 13px 13px,#c05c84 14px 14px,#c05c84 15px 15px,#c05c84 16px 16px,#c05c84 17px 17px,#c05c84 18px 18px,#c05c84 19px 19px,#c05c84 20px 20px,#c05c84 21px 21px,#c05c84 22px 22px,#c05c84 23px 23px,#c05c84 24px 24px,#c05c84 25px 25px,#c05c84 26px 26px,#c05c84 27px 27px,#c05c84 28px 28px,#c05c84 29px 29px,#c05c84 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-facebook{background:#3b5998;border:1px solid #1e3d7a;text-shadow:#1e3d7a 1px 1px,#1e3d7a 2px 2px,#1e3d7a 3px 3px,#1e3d7a 4px 4px,#1e3d7a 5px 5px,#1e3d7a 6px 6px,#1e3d7a 7px 7px,#1e3d7a 8px 8px,#1e3d7a 9px 9px,#1e3d7a 10px 10px,#1e3d7a 11px 11px,#1e3d7a 12px 12px,#1e3d7a 13px 13px,#1e3d7a 14px 14px,#1e3d7a 15px 15px,#1e3d7a 16px 16px,#1e3d7a 17px 17px,#1e3d7a 18px 18px,#1e3d7a 19px 19px,#1e3d7a 20px 20px,#1e3d7a 21px 21px,#1e3d7a 22px 22px,#1e3d7a 23px 23px,#1e3d7a 24px 24px,#1e3d7a 25px 25px,#1e3d7a 26px 26px,#1e3d7a 27px 27px,#1e3d7a 28px 28px,#1e3d7a 29px 29px,#1e3d7a 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-flickr{background:#ff0586;border:1px solid #d0006f;text-shadow:#d0006f 1px 1px,#d0006f 2px 2px,#d0006f 3px 3px,#d0006f 4px 4px,#d0006f 5px 5px,#d0006f 6px 6px,#d0006f 7px 7px,#d0006f 8px 8px,#d0006f 9px 9px,#d0006f 10px 10px,#d0006f 11px 11px,#d0006f 12px 12px,#d0006f 13px 13px,#d0006f 14px 14px,#d0006f 15px 15px,#d0006f 16px 16px,#d0006f 17px 17px,#d0006f 18px 18px,#d0006f 19px 19px,#d0006f 20px 20px,#d0006f 21px 21px,#d0006f 22px 22px,#d0006f 23px 23px,#d0006f 24px 24px,#d0006f 25px 25px,#d0006f 26px 26px,#d0006f 27px 27px,#d0006f 28px 28px,#d0006f 29px 29px,#d0006f 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-github{background:#829aa8;border:1px solid #4f7385;text-shadow:#4f7385 1px 1px,#4f7385 2px 2px,#4f7385 3px 3px,#4f7385 4px 4px,#4f7385 5px 5px,#4f7385 6px 6px,#4f7385 7px 7px,#4f7385 8px 8px,#4f7385 9px 9px,#4f7385 10px 10px,#4f7385 11px 11px,#4f7385 12px 12px,#4f7385 13px 13px,#4f7385 14px 14px,#4f7385 15px 15px,#4f7385 16px 16px,#4f7385 17px 17px,#4f7385 18px 18px,#4f7385 19px 19px,#4f7385 20px 20px,#4f7385 21px 21px,#4f7385 22px 22px,#4f7385 23px 23px,#4f7385 24px 24px,#4f7385 25px 25px,#4f7385 26px 26px,#4f7385 27px 27px,#4f7385 28px 28px,#4f7385 29px 29px,#4f7385 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-google{background:#e8262f;border:1px solid #c20c18;text-shadow:#c20c18 1px 1px,#c20c18 2px 2px,#c20c18 3px 3px,#c20c18 4px 4px,#c20c18 5px 5px,#c20c18 6px 6px,#c20c18 7px 7px,#c20c18 8px 8px,#c20c18 9px 9px,#c20c18 10px 10px,#c20c18 11px 11px,#c20c18 12px 12px,#c20c18 13px 13px,#c20c18 14px 14px,#c20c18 15px 15px,#c20c18 16px 16px,#c20c18 17px 17px,#c20c18 18px 18px,#c20c18 19px 19px,#c20c18 20px 20px,#c20c18 21px 21px,#c20c18 22px 22px,#c20c18 23px 23px,#c20c18 24px 24px,#c20c18 25px 25px,#c20c18 26px 26px,#c20c18 27px 27px,#c20c18 28px 28px,#c20c18 29px 29px,#c20c18 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-googleplus{background:#dd4b39;border:1px solid #b32414;text-shadow:#b32414 1px 1px,#b32414 2px 2px,#b32414 3px 3px,#b32414 4px 4px,#b32414 5px 5px,#b32414 6px 6px,#b32414 7px 7px,#b32414 8px 8px,#b32414 9px 9px,#b32414 10px 10px,#b32414 11px 11px,#b32414 12px 12px,#b32414 13px 13px,#b32414 14px 14px,#b32414 15px 15px,#b32414 16px 16px,#b32414 17px 17px,#b32414 18px 18px,#b32414 19px 19px,#b32414 20px 20px,#b32414 21px 21px,#b32414 22px 22px,#b32414 23px 23px,#b32414 24px 24px,#b32414 25px 25px,#b32414 26px 26px,#b32414 27px 27px,#b32414 28px 28px,#b32414 29px 29px,#b32414 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-html5{background:#f16528;border:1px solid #c23d08;text-shadow:#c23d08 1px 1px,#c23d08 2px 2px,#c23d08 3px 3px,#c23d08 4px 4px,#c23d08 5px 5px,#c23d08 6px 6px,#c23d08 7px 7px,#c23d08 8px 8px,#c23d08 9px 9px,#c23d08 10px 10px,#c23d08 11px 11px,#c23d08 12px 12px,#c23d08 13px 13px,#c23d08 14px 14px,#c23d08 15px 15px,#c23d08 16px 16px,#c23d08 17px 17px,#c23d08 18px 18px,#c23d08 19px 19px,#c23d08 20px 20px,#c23d08 21px 21px,#c23d08 22px 22px,#c23d08 23px 23px,#c23d08 24px 24px,#c23d08 25px 25px,#c23d08 26px 26px,#c23d08 27px 27px,#c23d08 28px 28px,#c23d08 29px 29px,#c23d08 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-instagram{background:#417096;border:1px solid #244f70;text-shadow:#244f70 1px 1px,#244f70 2px 2px,#244f70 3px 3px,#244f70 4px 4px,#244f70 5px 5px,#244f70 6px 6px,#244f70 7px 7px,#244f70 8px 8px,#244f70 9px 9px,#244f70 10px 10px,#244f70 11px 11px,#244f70 12px 12px,#244f70 13px 13px,#244f70 14px 14px,#244f70 15px 15px,#244f70 16px 16px,#244f70 17px 17px,#244f70 18px 18px,#244f70 19px 19px,#244f70 20px 20px,#244f70 21px 21px,#244f70 22px 22px,#244f70 23px 23px,#244f70 24px 24px,#244f70 25px 25px,#244f70 26px 26px,#244f70 27px 27px,#244f70 28px 28px,#244f70 29px 29px,#244f70 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-linkedin{background:#1583bb;border:1px solid #036390;text-shadow:#036390 1px 1px,#036390 2px 2px,#036390 3px 3px,#036390 4px 4px,#036390 5px 5px,#036390 6px 6px,#036390 7px 7px,#036390 8px 8px,#036390 9px 9px,#036390 10px 10px,#036390 11px 11px,#036390 12px 12px,#036390 13px 13px,#036390 14px 14px,#036390 15px 15px,#036390 16px 16px,#036390 17px 17px,#036390 18px 18px,#036390 19px 19px,#036390 20px 20px,#036390 21px 21px,#036390 22px 22px,#036390 23px 23px,#036390 24px 24px,#036390 25px 25px,#036390 26px 26px,#036390 27px 27px,#036390 28px 28px,#036390 29px 29px,#036390 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-pinterest{background:#cb2027;border:1px solid #9d060e;text-shadow:#9d063e 1px 1px,#9d063e 2px 2px,#9d063e 3px 3px,#9d063e 4px 4px,#9d063e 5px 5px,#9d063e 6px 6px,#9d063e 7px 7px,#9d063e 8px 8px,#9d063e 9px 9px,#9d063e 10px 10px,#9d063e 11px 11px,#9d063e 12px 12px,#9d063e 13px 13px,#9d063e 14px 14px,#9d063e 15px 15px,#9d063e 16px 16px,#9d063e 17px 17px,#9d063e 18px 18px,#9d063e 19px 19px,#9d063e 20px 20px,#9d063e 21px 21px,#9d063e 22px 22px,#9d063e 23px 23px,#9d063e 24px 24px,#9d063e 25px 25px,#9d063e 26px 26px,#9d063e 27px 27px,#9d063e 28px 28px,#9d063e 29px 29px,#9d063e 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-reddit{background:#ff4107;border:1px solid #c62d02;text-shadow:#c62d02 1px 1px,#c62d02 2px 2px,#c62d02 3px 3px,#c62d02 4px 4px,#c62d02 5px 5px,#c62d02 6px 6px,#c62d02 7px 7px,#c62d02 8px 8px,#c62d02 9px 9px,#c62d02 10px 10px,#c62d02 11px 11px,#c62d02 12px 12px,#c62d02 13px 13px,#c62d02 14px 14px,#c62d02 15px 15px,#c62d02 16px 16px,#c62d02 17px 17px,#c62d02 18px 18px,#c62d02 19px 19px,#c62d02 20px 20px,#c62d02 21px 21px,#c62d02 22px 22px,#c62d02 23px 23px,#c62d02 24px 24px,#c62d02 25px 25px,#c62d02 26px 26px,#c62d02 27px 27px,#c62d02 28px 28px,#c62d02 29px 29px,#c62d02 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-rss{background:#ff7a21;border:1px solid #c24b02;text-shadow:#c24b02 1px 1px,#c24b02 2px 2px,#c24b02 3px 3px,#c24b02 4px 4px,#c24b02 5px 5px,#c24b02 6px 6px,#c24b02 7px 7px,#c24b02 8px 8px,#c24b02 9px 9px,#c24b02 10px 10px,#c24b02 11px 11px,#c24b02 12px 12px,#c24b02 13px 13px,#c24b02 14px 14px,#c24b02 15px 15px,#c24b02 16px 16px,#c24b02 17px 17px,#c24b02 18px 18px,#c24b02 19px 19px,#c24b02 20px 20px,#c24b02 21px 21px,#c24b02 22px 22px,#c24b02 23px 23px,#c24b02 24px 24px,#c24b02 25px 25px,#c24b02 26px 26px,#c24b02 27px 27px,#c24b02 28px 28px,#c24b02 29px 29px,#c24b02 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-sharethis{background:#1d9565;border:1px solid #076840;text-shadow:#076840 1px 1px,#076840 2px 2px,#076840 3px 3px,#076840 4px 4px,#076840 5px 5px,#076840 6px 6px,#076840 7px 7px,#076840 8px 8px,#076840 9px 9px,#076840 10px 10px,#076840 11px 11px,#076840 12px 12px,#076840 13px 13px,#076840 14px 14px,#076840 15px 15px,#076840 16px 16px,#076840 17px 17px,#076840 18px 18px,#076840 19px 19px,#076840 20px 20px,#076840 21px 21px,#076840 22px 22px,#076840 23px 23px,#076840 24px 24px,#076840 25px 25px,#076840 26px 26px,#076840 27px 27px,#076840 28px 28px,#076840 29px 29px,#076840 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-skype{background:#3fc1f4;border:1px solid #1b95c2;text-shadow:#1b95c2 1px 1px,#1b95c2 2px 2px,#1b95c2 3px 3px,#1b95c2 4px 4px,#1b95c2 5px 5px,#1b95c2 6px 6px,#1b95c2 7px 7px,#1b95c2 8px 8px,#1b95c2 9px 9px,#1b95c2 10px 10px,#1b95c2 11px 11px,#1b95c2 12px 12px,#1b95c2 13px 13px,#1b95c2 14px 14px,#1b95c2 15px 15px,#1b95c2 16px 16px,#1b95c2 17px 17px,#1b95c2 18px 18px,#1b95c2 19px 19px,#1b95c2 20px 20px,#1b95c2 21px 21px,#1b95c2 22px 22px,#1b95c2 23px 23px,#1b95c2 24px 24px,#1b95c2 25px 25px,#1b95c2 26px 26px,#1b95c2 27px 27px,#1b95c2 28px 28px,#1b95c2 29px 29px,#1b95c2 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-soundcloud{background:#ff5419;border:1px solid #c73002;text-shadow:#c73002 1px 1px,#c73002 2px 2px,#c73002 3px 3px,#c73002 4px 4px,#c73002 5px 5px,#c73002 6px 6px,#c73002 7px 7px,#c73002 8px 8px,#c73002 9px 9px,#c73002 10px 10px,#c73002 11px 11px,#c73002 12px 12px,#c73002 13px 13px,#c73002 14px 14px,#c73002 15px 15px,#c73002 16px 16px,#c73002 17px 17px,#c73002 18px 18px,#c73002 19px 19px,#c73002 20px 20px,#c73002 21px 21px,#c73002 22px 22px,#c73002 23px 23px,#c73002 24px 24px,#c73002 25px 25px,#c73002 26px 26px,#c73002 27px 27px,#c73002 28px 28px,#c73002 29px 29px,#c73002 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-spotify{background:#aecf02;border:1px solid #829900;text-shadow:#829900 1px 1px,#829900 2px 2px,#829900 3px 3px,#829900 4px 4px,#829900 5px 5px,#829900 6px 6px,#829900 7px 7px,#829900 8px 8px,#829900 9px 9px,#829900 10px 10px,#829900 11px 11px,#829900 12px 12px,#829900 13px 13px,#829900 14px 14px,#829900 15px 15px,#829900 16px 16px,#829900 17px 17px,#829900 18px 18px,#829900 19px 19px,#829900 20px 20px,#829900 21px 21px,#829900 22px 22px,#829900 23px 23px,#829900 24px 24px,#829900 25px 25px,#829900 26px 26px,#829900 27px 27px,#829900 28px 28px,#829900 29px 29px,#829900 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-stackoverflow{background:#ff661e;border:1px solid #ce3a00;text-shadow:#ce3a00 1px 1px,#ce3a00 2px 2px,#ce3a00 3px 3px,#ce3a00 4px 4px,#ce3a00 5px 5px,#ce3a00 6px 6px,#ce3a00 7px 7px,#ce3a00 8px 8px,#ce3a00 9px 9px,#ce3a00 10px 10px,#ce3a00 11px 11px,#ce3a00 12px 12px,#ce3a00 13px 13px,#ce3a00 14px 14px,#ce3a00 15px 15px,#ce3a00 16px 16px,#ce3a00 17px 17px,#ce3a00 18px 18px,#ce3a00 19px 19px,#ce3a00 20px 20px,#ce3a00 21px 21px,#ce3a00 22px 22px,#ce3a00 23px 23px,#ce3a00 24px 24px,#ce3a00 25px 25px,#ce3a00 26px 26px,#ce3a00 27px 27px,#ce3a00 28px 28px,#ce3a00 29px 29px,#ce3a00 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-steam,.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-user_email{background:#484848;border:1px solid #302b2b;text-shadow:#302b2b 1px 1px,#302b2b 2px 2px,#302b2b 3px 3px,#302b2b 4px 4px,#302b2b 5px 5px,#302b2b 6px 6px,#302b2b 7px 7px,#302b2b 8px 8px,#302b2b 9px 9px,#302b2b 10px 10px,#302b2b 11px 11px,#302b2b 12px 12px,#302b2b 13px 13px,#302b2b 14px 14px,#302b2b 15px 15px,#302b2b 16px 16px,#302b2b 17px 17px,#302b2b 18px 18px,#302b2b 19px 19px,#302b2b 20px 20px,#302b2b 21px 21px,#302b2b 22px 22px,#302b2b 23px 23px,#302b2b 24px 24px,#302b2b 25px 25px,#302b2b 26px 26px,#302b2b 27px 27px,#302b2b 28px 28px,#302b2b 29px 29px,#302b2b 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-stumbleUpon{background:#eb4923;border:1px solid #be2507;text-shadow:#be2507 1px 1px,#be2507 2px 2px,#be2507 3px 3px,#be2507 4px 4px,#be2507 5px 5px,#be2507 6px 6px,#be2507 7px 7px,#be2507 8px 8px,#be2507 9px 9px,#be2507 10px 10px,#be2507 11px 11px,#be2507 12px 12px,#be2507 13px 13px,#be2507 14px 14px,#be2507 15px 15px,#be2507 16px 16px,#be2507 17px 17px,#be2507 18px 18px,#be2507 19px 19px,#be2507 20px 20px,#be2507 21px 21px,#be2507 22px 22px,#be2507 23px 23px,#be2507 24px 24px,#be2507 25px 25px,#be2507 26px 26px,#be2507 27px 27px,#be2507 28px 28px,#be2507 29px 29px,#be2507 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-tumblr{background:#3c576c;border:1px solid #1e3546;text-shadow:#1e3546 1px 1px,#1e3546 2px 2px,#1e3546 3px 3px,#1e3546 4px 4px,#1e3546 5px 5px,#1e3546 6px 6px,#1e3546 7px 7px,#1e3546 8px 8px,#1e3546 9px 9px,#1e3546 10px 10px,#1e3546 11px 11px,#1e3546 12px 12px,#1e3546 13px 13px,#1e3546 14px 14px,#1e3546 15px 15px,#1e3546 16px 16px,#1e3546 17px 17px,#1e3546 18px 18px,#1e3546 19px 19px,#1e3546 20px 20px,#1e3546 21px 21px,#1e3546 22px 22px,#1e3546 23px 23px,#1e3546 24px 24px,#1e3546 25px 25px,#1e3546 26px 26px,#1e3546 27px 27px,#1e3546 28px 28px,#1e3546 29px 29px,#1e3546 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-twitter{background:#00aced;border:1px solid #008ab8;text-shadow:#008ab8 1px 1px,#008ab8 2px 2px,#008ab8 3px 3px,#008ab8 4px 4px,#008ab8 5px 5px,#008ab8 6px 6px,#008ab8 7px 7px,#008ab8 8px 8px,#008ab8 9px 9px,#008ab8 10px 10px,#008ab8 11px 11px,#008ab8 12px 12px,#008ab8 13px 13px,#008ab8 14px 14px,#008ab8 15px 15px,#008ab8 16px 16px,#008ab8 17px 17px,#008ab8 18px 18px,#008ab8 19px 19px,#008ab8 20px 20px,#008ab8 21px 21px,#008ab8 22px 22px,#008ab8 23px 23px,#008ab8 24px 24px,#008ab8 25px 25px,#008ab8 26px 26px,#008ab8 27px 27px,#008ab8 28px 28px,#008ab8 29px 29px,#008ab8 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-vimeo{background:#006599;border:1px solid #00496a;text-shadow:#00496a 1px 1px,#00496a 2px 2px,#00496a 3px 3px,#00496a 4px 4px,#00496a 5px 5px,#00496a 6px 6px,#00496a 7px 7px,#00496a 8px 8px,#00496a 9px 9px,#00496a 10px 10px,#00496a 11px 11px,#00496a 12px 12px,#00496a 13px 13px,#00496a 14px 14px,#00496a 15px 15px,#00496a 16px 16px,#00496a 17px 17px,#00496a 18px 18px,#00496a 19px 19px,#00496a 20px 20px,#00496a 21px 21px,#00496a 22px 22px,#00496a 23px 23px,#00496a 24px 24px,#00496a 25px 25px,#00496a 26px 26px,#00496a 27px 27px,#00496a 28px 28px,#00496a 29px 29px,#00496a 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-windows{background:#00adef;border:1px solid #038bbc;text-shadow:#038bbc 1px 1px,#038bbc 2px 2px,#038bbc 3px 3px,#038bbc 4px 4px,#038bbc 5px 5px,#038bbc 6px 6px,#038bbc 7px 7px,#038bbc 8px 8px,#038bbc 9px 9px,#038bbc 10px 10px,#038bbc 11px 11px,#038bbc 12px 12px,#038bbc 13px 13px,#038bbc 14px 14px,#038bbc 15px 15px,#038bbc 16px 16px,#038bbc 17px 17px,#038bbc 18px 18px,#038bbc 19px 19px,#038bbc 20px 20px,#038bbc 21px 21px,#038bbc 22px 22px,#038bbc 23px 23px,#038bbc 24px 24px,#038bbc 25px 25px,#038bbc 26px 26px,#038bbc 27px 27px,#038bbc 28px 28px,#038bbc 29px 29px,#038bbc 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-wordpress{background:#21759a;border:1px solid #0f607e;text-shadow:#0f607e 1px 1px,#0f607e 2px 2px,#0f607e 3px 3px,#0f607e 4px 4px,#0f607e 5px 5px,#0f607e 6px 6px,#0f607e 7px 7px,#0f607e 8px 8px,#0f607e 9px 9px,#0f607e 10px 10px,#0f607e 11px 11px,#0f607e 12px 12px,#0f607e 13px 13px,#0f607e 14px 14px,#0f607e 15px 15px,#0f607e 16px 16px,#0f607e 17px 17px,#0f607e 18px 18px,#0f607e 19px 19px,#0f607e 20px 20px,#0f607e 21px 21px,#0f607e 22px 22px,#0f607e 23px 23px,#0f607e 24px 24px,#0f607e 25px 25px,#0f607e 26px 26px,#0f607e 27px 27px,#0f607e 28px 28px,#0f607e 29px 29px,#0f607e 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-yahoo{background:#4101af;border:1px solid #290074;text-shadow:#290074 1px 1px,#290074 2px 2px,#290074 3px 3px,#290074 4px 4px,#290074 5px 5px,#290074 6px 6px,#290074 7px 7px,#290074 8px 8px,#290074 9px 9px,#290074 10px 10px,#290074 11px 11px,#290074 12px 12px,#290074 13px 13px,#290074 14px 14px,#290074 15px 15px,#290074 16px 16px,#290074 17px 17px,#290074 18px 18px,#290074 19px 19px,#290074 20px 20px,#290074 21px 21px,#290074 22px 22px,#290074 23px 23px,#290074 24px 24px,#290074 25px 25px,#290074 26px 26px,#290074 27px 27px,#290074 28px 28px,#290074 29px 29px,#290074 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-youtube{background:#e52c27;border:1px solid #be0707;text-shadow:#be0707 1px 1px,#be0707 2px 2px,#be0707 3px 3px,#be0707 4px 4px,#be0707 5px 5px,#be0707 6px 6px,#be0707 7px 7px,#be0707 8px 8px,#be0707 9px 9px,#be0707 10px 10px,#be0707 11px 11px,#be0707 12px 12px,#be0707 13px 13px,#be0707 14px 14px,#be0707 15px 15px,#be0707 16px 16px,#be0707 17px 17px,#be0707 18px 18px,#be0707 19px 19px,#be0707 20px 20px,#be0707 21px 21px,#be0707 22px 22px,#be0707 23px 23px,#be0707 24px 24px,#be0707 25px 25px,#be0707 26px 26px,#be0707 27px 27px,#be0707 28px 28px,#be0707 29px 29px,#be0707 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-xing{background:#026466;border:1px solid #004746;text-shadow:#004746 1px 1px,#004746 2px 2px,#004746 3px 3px,#004746 4px 4px,#004746 5px 5px,#004746 6px 6px,#004746 7px 7px,#004746 8px 8px,#004746 9px 9px,#004746 10px 10px,#004746 11px 11px,#004746 12px 12px,#004746 13px 13px,#004746 14px 14px,#004746 15px 15px,#004746 16px 16px,#004746 17px 17px,#004746 18px 18px,#004746 19px 19px,#004746 20px 20px,#004746 21px 21px,#004746 22px 22px,#004746 23px 23px,#004746 24px 24px,#004746 25px 25px,#004746 26px 26px,#004746 27px 27px,#004746 28px 28px,#004746 29px 29px,#004746 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-mixcloud{background:#52aad8;border:1px solid #1b95c2;text-shadow:#1b95c2 1px 1px,#1b95c2 2px 2px,#1b95c2 3px 3px,#1b95c2 4px 4px,#1b95c2 5px 5px,#1b95c2 6px 6px,#1b95c2 7px 7px,#1b95c2 8px 8px,#1b95c2 9px 9px,#1b95c2 10px 10px,#1b95c2 11px 11px,#1b95c2 12px 12px,#1b95c2 13px 13px,#1b95c2 14px 14px,#1b95c2 15px 15px,#1b95c2 16px 16px,#1b95c2 17px 17px,#1b95c2 18px 18px,#1b95c2 19px 19px,#1b95c2 20px 20px,#1b95c2 21px 21px,#1b95c2 22px 22px,#1b95c2 23px 23px,#1b95c2 24px 24px,#1b95c2 25px 25px,#1b95c2 26px 26px,#1b95c2 27px 27px,#1b95c2 28px 28px,#1b95c2 29px 29px,#1b95c2 30px 30px}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-vk{background-color:#45668e}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-medium{background-color:#00ab6c}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-quora{background-color:#a82400}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-meetup{background-color:#e0393e}.saboxplugin-socials.sabox-colored .saboxplugin-icon-color.fa-goodreads{background:#553b08;border:1px solid #1b95c2}.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}
|
inc/class-simple-author-box-helper.php
CHANGED
@@ -1,935 +1,934 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
*
|
5 |
-
*/
|
6 |
-
class Simple_Author_Box_Helper {
|
7 |
-
|
8 |
-
public static $fonts = array();
|
9 |
-
|
10 |
-
static $social_icons = array(
|
11 |
-
'addthis' => 'Add This',
|
12 |
-
'behance' => 'Behance',
|
13 |
-
'delicious' => 'Delicious',
|
14 |
-
'deviantart' => 'Deviantart',
|
15 |
-
'digg' => 'Digg',
|
16 |
-
'dribbble' => 'Dribbble',
|
17 |
-
'facebook' => 'Facebook',
|
18 |
-
'flickr' => 'Flickr',
|
19 |
-
'github' => 'Github',
|
20 |
-
'google' => 'Google',
|
21 |
-
'googleplus' => 'Google Plus',
|
22 |
-
'html5' => 'Html5',
|
23 |
-
'instagram' => 'Instagram',
|
24 |
-
'linkedin' => 'Linkedin',
|
25 |
-
'pinterest' => 'Pinterest',
|
26 |
-
'reddit' => 'Reddit',
|
27 |
-
'rss' => 'Rss',
|
28 |
-
'sharethis' => 'Sharethis',
|
29 |
-
'skype' => 'Skype',
|
30 |
-
'soundcloud' => 'Soundcloud',
|
31 |
-
'spotify' => 'Spotify',
|
32 |
-
'stackoverflow' => 'Stackoverflow',
|
33 |
-
'steam' => 'Steam',
|
34 |
-
'stumbleUpon' => 'StumbleUpon',
|
35 |
-
'tumblr' => 'Tumblr',
|
36 |
-
'twitter' => 'Twitter',
|
37 |
-
'vimeo' => 'Vimeo',
|
38 |
-
'windows' => 'Windows',
|
39 |
-
'wordpress' => 'Wordpress',
|
40 |
-
'yahoo' => 'Yahoo',
|
41 |
-
'youtube' => 'Youtube',
|
42 |
-
'xing' => 'Xing',
|
43 |
-
'mixcloud' => 'MixCloud',
|
44 |
-
'goodreads' => 'Goodreads',
|
45 |
-
'twitch' => 'Twitch',
|
46 |
-
'vk' => 'VK',
|
47 |
-
'medium' => 'Medium',
|
48 |
-
'quora' => 'Quora',
|
49 |
-
'meetup' => 'Meetup',
|
50 |
-
'user_email' => 'Email',
|
51 |
-
'snapchat' => 'Snapchat',
|
52 |
-
'500px' => '500px',
|
53 |
-
);
|
54 |
-
|
55 |
-
public static function get_sabox_social_icon( $url, $icon_name ) {
|
56 |
-
|
57 |
-
$options = get_option( 'saboxplugin_options' );
|
58 |
-
|
59 |
-
if ( isset( $options['sab_link_target'] ) && '0' != $options['sab_link_target'] ) {
|
60 |
-
$sabox_blank = '_blank';
|
61 |
-
} else {
|
62 |
-
$sabox_blank = '_self';
|
63 |
-
}
|
64 |
-
|
65 |
-
if ( isset( $options['sab_colored'] ) && '0' != $options['sab_colored'] ) {
|
66 |
-
$sab_color = 'saboxplugin-icon-color';
|
67 |
-
} else {
|
68 |
-
$sab_color = 'saboxplugin-icon-grey';
|
69 |
-
}
|
70 |
-
|
71 |
-
return '<a target="' . esc_attr( $sabox_blank ) . '" href="' . esc_url( $url ) . '" rel="nofollow"><span class="' . esc_attr( $sab_color ) . '
|
72 |
-
|
73 |
-
}
|
74 |
-
|
75 |
-
public static function get_user_social_links( $userd_id, $show_email = false ) {
|
76 |
-
|
77 |
-
$social_icons = apply_filters( 'sabox_social_icons', Simple_Author_Box_Helper::$social_icons );
|
78 |
-
$social_links = get_user_meta( $userd_id, 'sabox_social_links', true );
|
79 |
-
|
80 |
-
if ( ! is_array( $social_links ) ) {
|
81 |
-
$social_links = array();
|
82 |
-
}
|
83 |
-
|
84 |
-
if ( $show_email ) {
|
85 |
-
$social_links['user_email'] = get_the_author_meta( 'user_email', $userd_id );
|
86 |
-
}
|
87 |
-
|
88 |
-
return $social_links;
|
89 |
-
|
90 |
-
}
|
91 |
-
|
92 |
-
public static function get_google_font_subsets() {
|
93 |
-
return array(
|
94 |
-
'none' => 'None',
|
95 |
-
'latin' => 'Latin',
|
96 |
-
'latin-ext' => 'Latin Extended',
|
97 |
-
'cyrillic' => 'Cyrillic',
|
98 |
-
'cyrillic-ext' => 'Cyrillic Extended',
|
99 |
-
'devanagari' => 'Devanagari',
|
100 |
-
'greek' => 'Greek',
|
101 |
-
'greek-ext' => 'Greek Extended',
|
102 |
-
'vietnamese' => 'Vietnamese',
|
103 |
-
'khmer' => 'Khmer',
|
104 |
-
);
|
105 |
-
}
|
106 |
-
|
107 |
-
public static function get_google_fonts() {
|
108 |
-
$fonts = array(
|
109 |
-
'None',
|
110 |
-
'ABeeZee',
|
111 |
-
'Abel',
|
112 |
-
'Abril Fatface',
|
113 |
-
'Aclonica',
|
114 |
-
'Acme',
|
115 |
-
'Actor',
|
116 |
-
'Adamina',
|
117 |
-
'Advent Pro',
|
118 |
-
'Aguafina Script',
|
119 |
-
'Akronim',
|
120 |
-
'Aladin',
|
121 |
-
'Aldrich',
|
122 |
-
'Alef',
|
123 |
-
'Alegreya',
|
124 |
-
'Alegreya SC',
|
125 |
-
'Alegreya Sans',
|
126 |
-
'Alegreya Sans SC',
|
127 |
-
'Alex Brush',
|
128 |
-
'Alfa Slab One',
|
129 |
-
'Alice',
|
130 |
-
'Alike',
|
131 |
-
'Alike Angular',
|
132 |
-
'Allan',
|
133 |
-
'Allerta',
|
134 |
-
'Allerta Stencil',
|
135 |
-
'Allura',
|
136 |
-
'Almendra',
|
137 |
-
'Almendra Display',
|
138 |
-
'Almendra SC',
|
139 |
-
'Amarante',
|
140 |
-
'Amaranth',
|
141 |
-
'Amatic SC',
|
142 |
-
'Amethysta',
|
143 |
-
'Anaheim',
|
144 |
-
'Andada',
|
145 |
-
'Andika',
|
146 |
-
'Angkor',
|
147 |
-
'Annie Use Your Telescope',
|
148 |
-
'Anonymous Pro',
|
149 |
-
'Antic',
|
150 |
-
'Antic Didone',
|
151 |
-
'Antic Slab',
|
152 |
-
'Anton',
|
153 |
-
'Arapey',
|
154 |
-
'Arbutus',
|
155 |
-
'Arbutus Slab',
|
156 |
-
'Architects Daughter',
|
157 |
-
'Archivo Black',
|
158 |
-
'Archivo Narrow',
|
159 |
-
'Arimo',
|
160 |
-
'Arizonia',
|
161 |
-
'Armata',
|
162 |
-
'Artifika',
|
163 |
-
'Arvo',
|
164 |
-
'Asap',
|
165 |
-
'Asset',
|
166 |
-
'Astloch',
|
167 |
-
'Asul',
|
168 |
-
'Atomic Age',
|
169 |
-
'Aubrey',
|
170 |
-
'Audiowide',
|
171 |
-
'Autour One',
|
172 |
-
'Average',
|
173 |
-
'Average Sans',
|
174 |
-
'Averia Gruesa Libre',
|
175 |
-
'Averia Libre',
|
176 |
-
'Averia Sans Libre',
|
177 |
-
'Averia Serif Libre',
|
178 |
-
'Bad Script',
|
179 |
-
'Balthazar',
|
180 |
-
'Bangers',
|
181 |
-
'Basic',
|
182 |
-
'Battambang',
|
183 |
-
'Baumans',
|
184 |
-
'Bayon',
|
185 |
-
'Belgrano',
|
186 |
-
'Belleza',
|
187 |
-
'BenchNine',
|
188 |
-
'Bentham',
|
189 |
-
'Berkshire Swash',
|
190 |
-
'Bevan',
|
191 |
-
'Bigelow Rules',
|
192 |
-
'Bigshot One',
|
193 |
-
'Bilbo',
|
194 |
-
'Bilbo Swash Caps',
|
195 |
-
'Bitter',
|
196 |
-
'Black Ops One',
|
197 |
-
'Bokor',
|
198 |
-
'Bonbon',
|
199 |
-
'Boogaloo',
|
200 |
-
'Bowlby One',
|
201 |
-
'Bowlby One SC',
|
202 |
-
'Brawler',
|
203 |
-
'Bree Serif',
|
204 |
-
'Bubblegum Sans',
|
205 |
-
'Bubbler One',
|
206 |
-
'Buda',
|
207 |
-
'Buenard',
|
208 |
-
'Butcherman',
|
209 |
-
'Butterfly Kids',
|
210 |
-
'Cabin',
|
211 |
-
'Cabin Condensed',
|
212 |
-
'Cabin Sketch',
|
213 |
-
'Caesar Dressing',
|
214 |
-
'Cagliostro',
|
215 |
-
'Calligraffitti',
|
216 |
-
'Cambo',
|
217 |
-
'Candal',
|
218 |
-
'Cantarell',
|
219 |
-
'Cantata One',
|
220 |
-
'Cantora One',
|
221 |
-
'Capriola',
|
222 |
-
'Cardo',
|
223 |
-
'Carme',
|
224 |
-
'Carrois Gothic',
|
225 |
-
'Carrois Gothic SC',
|
226 |
-
'Carter One',
|
227 |
-
'Caudex',
|
228 |
-
'Cedarville Cursive',
|
229 |
-
'Ceviche One',
|
230 |
-
'Changa One',
|
231 |
-
'Chango',
|
232 |
-
'Chau Philomene One',
|
233 |
-
'Chela One',
|
234 |
-
'Chelsea Market',
|
235 |
-
'Chenla',
|
236 |
-
'Cherry Cream Soda',
|
237 |
-
'Cherry Swash',
|
238 |
-
'Chewy',
|
239 |
-
'Chicle',
|
240 |
-
'Chivo',
|
241 |
-
'Cinzel',
|
242 |
-
'Cinzel Decorative',
|
243 |
-
'Clicker Script',
|
244 |
-
'Coda',
|
245 |
-
'Coda Caption',
|
246 |
-
'Codystar',
|
247 |
-
'Combo',
|
248 |
-
'Comfortaa',
|
249 |
-
'Coming Soon',
|
250 |
-
'Concert One',
|
251 |
-
'Condiment',
|
252 |
-
'Content',
|
253 |
-
'Contrail One',
|
254 |
-
'Convergence',
|
255 |
-
'Cookie',
|
256 |
-
'Copse',
|
257 |
-
'Corben',
|
258 |
-
'Courgette',
|
259 |
-
'Cousine',
|
260 |
-
'Coustard',
|
261 |
-
'Covered By Your Grace',
|
262 |
-
'Crafty Girls',
|
263 |
-
'Creepster',
|
264 |
-
'Crete Round',
|
265 |
-
'Crimson Text',
|
266 |
-
'Croissant One',
|
267 |
-
'Crushed',
|
268 |
-
'Cuprum',
|
269 |
-
'Cutive',
|
270 |
-
'Cutive Mono',
|
271 |
-
'Damion',
|
272 |
-
'Dancing Script',
|
273 |
-
'Dangrek',
|
274 |
-
'Dawning of a New Day',
|
275 |
-
'Days One',
|
276 |
-
'Delius',
|
277 |
-
'Delius Swash Caps',
|
278 |
-
'Delius Unicase',
|
279 |
-
'Della Respira',
|
280 |
-
'Denk One',
|
281 |
-
'Devonshire',
|
282 |
-
'Didact Gothic',
|
283 |
-
'Diplomata',
|
284 |
-
'Diplomata SC',
|
285 |
-
'Domine',
|
286 |
-
'Donegal One',
|
287 |
-
'Doppio One',
|
288 |
-
'Dorsa',
|
289 |
-
'Dosis',
|
290 |
-
'Dr Sugiyama',
|
291 |
-
'Droid Sans',
|
292 |
-
'Droid Sans Mono',
|
293 |
-
'Droid Serif',
|
294 |
-
'Duru Sans',
|
295 |
-
'Dynalight',
|
296 |
-
'EB Garamond',
|
297 |
-
'Eagle Lake',
|
298 |
-
'Eater',
|
299 |
-
'Economica',
|
300 |
-
'Ek Mukta',
|
301 |
-
'Electrolize',
|
302 |
-
'Elsie',
|
303 |
-
'Elsie Swash Caps',
|
304 |
-
'Emblema One',
|
305 |
-
'Emilys Candy',
|
306 |
-
'Engagement',
|
307 |
-
'Englebert',
|
308 |
-
'Enriqueta',
|
309 |
-
'Erica One',
|
310 |
-
'Esteban',
|
311 |
-
'Euphoria Script',
|
312 |
-
'Ewert',
|
313 |
-
'Exo',
|
314 |
-
'Exo 2',
|
315 |
-
'Expletus Sans',
|
316 |
-
'Fanwood Text',
|
317 |
-
'Fascinate',
|
318 |
-
'Fascinate Inline',
|
319 |
-
'Faster One',
|
320 |
-
'Fasthand',
|
321 |
-
'Fauna One',
|
322 |
-
'Federant',
|
323 |
-
'Federo',
|
324 |
-
'Felipa',
|
325 |
-
'Fenix',
|
326 |
-
'Finger Paint',
|
327 |
-
'Fira Mono',
|
328 |
-
'Fira Sans',
|
329 |
-
'Fjalla One',
|
330 |
-
'Fjord One',
|
331 |
-
'Flamenco',
|
332 |
-
'Flavors',
|
333 |
-
'Fondamento',
|
334 |
-
'Fontdiner Swanky',
|
335 |
-
'Forum',
|
336 |
-
'Francois One',
|
337 |
-
'Freckle Face',
|
338 |
-
'Fredericka the Great',
|
339 |
-
'Fredoka One',
|
340 |
-
'Freehand',
|
341 |
-
'Fresca',
|
342 |
-
'Frijole',
|
343 |
-
'Fruktur',
|
344 |
-
'Fugaz One',
|
345 |
-
'GFS Didot',
|
346 |
-
'GFS Neohellenic',
|
347 |
-
'Gabriela',
|
348 |
-
'Gafata',
|
349 |
-
'Galdeano',
|
350 |
-
'Galindo',
|
351 |
-
'Gentium Basic',
|
352 |
-
'Gentium Book Basic',
|
353 |
-
'Geo',
|
354 |
-
'Geostar',
|
355 |
-
'Geostar Fill',
|
356 |
-
'Germania One',
|
357 |
-
'Gilda Display',
|
358 |
-
'Give You Glory',
|
359 |
-
'Glass Antiqua',
|
360 |
-
'Glegoo',
|
361 |
-
'Gloria Hallelujah',
|
362 |
-
'Goblin One',
|
363 |
-
'Gochi Hand',
|
364 |
-
'Gorditas',
|
365 |
-
'Goudy Bookletter 1911',
|
366 |
-
'Graduate',
|
367 |
-
'Grand Hotel',
|
368 |
-
'Gravitas One',
|
369 |
-
'Great Vibes',
|
370 |
-
'Griffy',
|
371 |
-
'Gruppo',
|
372 |
-
'Gudea',
|
373 |
-
'Habibi',
|
374 |
-
'Hammersmith One',
|
375 |
-
'Hanalei',
|
376 |
-
'Hanalei Fill',
|
377 |
-
'Handlee',
|
378 |
-
'Hanuman',
|
379 |
-
'Happy Monkey',
|
380 |
-
'Headland One',
|
381 |
-
'Henny Penny',
|
382 |
-
'Herr Von Muellerhoff',
|
383 |
-
'Hind',
|
384 |
-
'Holtwood One SC',
|
385 |
-
'Homemade Apple',
|
386 |
-
'Homenaje',
|
387 |
-
'IM Fell DW Pica',
|
388 |
-
'IM Fell DW Pica SC',
|
389 |
-
'IM Fell Double Pica',
|
390 |
-
'IM Fell Double Pica SC',
|
391 |
-
'IM Fell English',
|
392 |
-
'IM Fell English SC',
|
393 |
-
'IM Fell French Canon',
|
394 |
-
'IM Fell French Canon SC',
|
395 |
-
'IM Fell Great Primer',
|
396 |
-
'IM Fell Great Primer SC',
|
397 |
-
'Iceberg',
|
398 |
-
'Iceland',
|
399 |
-
'Imprima',
|
400 |
-
'Inconsolata',
|
401 |
-
'Inder',
|
402 |
-
'Indie Flower',
|
403 |
-
'Inika',
|
404 |
-
'Irish Grover',
|
405 |
-
'Istok Web',
|
406 |
-
'Italiana',
|
407 |
-
'Italianno',
|
408 |
-
'Jacques Francois',
|
409 |
-
'Jacques Francois Shadow',
|
410 |
-
'Jim Nightshade',
|
411 |
-
'Jockey One',
|
412 |
-
'Jolly Lodger',
|
413 |
-
'Josefin Sans',
|
414 |
-
'Josefin Slab',
|
415 |
-
'Joti One',
|
416 |
-
'Judson',
|
417 |
-
'Julee',
|
418 |
-
'Julius Sans One',
|
419 |
-
'Junge',
|
420 |
-
'Jura',
|
421 |
-
'Just Another Hand',
|
422 |
-
'Just Me Again Down Here',
|
423 |
-
'Kalam',
|
424 |
-
'Kameron',
|
425 |
-
'Kantumruy',
|
426 |
-
'Karla',
|
427 |
-
'Karma',
|
428 |
-
'Kaushan Script',
|
429 |
-
'Kavoon',
|
430 |
-
'Kdam Thmor',
|
431 |
-
'Keania One',
|
432 |
-
'Kelly Slab',
|
433 |
-
'Kenia',
|
434 |
-
'Khmer',
|
435 |
-
'Kite One',
|
436 |
-
'Knewave',
|
437 |
-
'Kotta One',
|
438 |
-
'Koulen',
|
439 |
-
'Kranky',
|
440 |
-
'Kreon',
|
441 |
-
'Kristi',
|
442 |
-
'Krona One',
|
443 |
-
'La Belle Aurore',
|
444 |
-
'Lancelot',
|
445 |
-
'Lato',
|
446 |
-
'League Script',
|
447 |
-
'Leckerli One',
|
448 |
-
'Ledger',
|
449 |
-
'Lekton',
|
450 |
-
'Lemon',
|
451 |
-
'Libre Baskerville',
|
452 |
-
'Life Savers',
|
453 |
-
'Lilita One',
|
454 |
-
'Lily Script One',
|
455 |
-
'Limelight',
|
456 |
-
'Linden Hill',
|
457 |
-
'Lobster',
|
458 |
-
'Lobster Two',
|
459 |
-
'Londrina Outline',
|
460 |
-
'Londrina Shadow',
|
461 |
-
'Londrina Sketch',
|
462 |
-
'Londrina Solid',
|
463 |
-
'Lora',
|
464 |
-
'Love Ya Like A Sister',
|
465 |
-
'Loved by the King',
|
466 |
-
'Lovers Quarrel',
|
467 |
-
'Luckiest Guy',
|
468 |
-
'Lusitana',
|
469 |
-
'Lustria',
|
470 |
-
'Macondo',
|
471 |
-
'Macondo Swash Caps',
|
472 |
-
'Magra',
|
473 |
-
'Maiden Orange',
|
474 |
-
'Mako',
|
475 |
-
'Marcellus',
|
476 |
-
'Marcellus SC',
|
477 |
-
'Marck Script',
|
478 |
-
'Margarine',
|
479 |
-
'Marko One',
|
480 |
-
'Marmelad',
|
481 |
-
'Marvel',
|
482 |
-
'Mate',
|
483 |
-
'Mate SC',
|
484 |
-
'Maven Pro',
|
485 |
-
'McLaren',
|
486 |
-
'Meddon',
|
487 |
-
'MedievalSharp',
|
488 |
-
'Medula One',
|
489 |
-
'Megrim',
|
490 |
-
'Meie Script',
|
491 |
-
'Merienda',
|
492 |
-
'Merienda One',
|
493 |
-
'Merriweather',
|
494 |
-
'Merriweather Sans',
|
495 |
-
'Metal',
|
496 |
-
'Metal Mania',
|
497 |
-
'Metamorphous',
|
498 |
-
'Metrophobic',
|
499 |
-
'Michroma',
|
500 |
-
'Milonga',
|
501 |
-
'Miltonian',
|
502 |
-
'Miltonian Tattoo',
|
503 |
-
'Miniver',
|
504 |
-
'Miss Fajardose',
|
505 |
-
'Modern Antiqua',
|
506 |
-
'Molengo',
|
507 |
-
'Molle',
|
508 |
-
'Monda',
|
509 |
-
'Monofett',
|
510 |
-
'Monoton',
|
511 |
-
'Monsieur La Doulaise',
|
512 |
-
'Montaga',
|
513 |
-
'Montez',
|
514 |
-
'Montserrat',
|
515 |
-
'Montserrat Alternates',
|
516 |
-
'Montserrat Subrayada',
|
517 |
-
'Moul',
|
518 |
-
'Moulpali',
|
519 |
-
'Mountains of Christmas',
|
520 |
-
'Mouse Memoirs',
|
521 |
-
'Mr Bedfort',
|
522 |
-
'Mr Dafoe',
|
523 |
-
'Mr De Haviland',
|
524 |
-
'Mrs Saint Delafield',
|
525 |
-
'Mrs Sheppards',
|
526 |
-
'Muli',
|
527 |
-
'Mystery Quest',
|
528 |
-
'Neucha',
|
529 |
-
'Neuton',
|
530 |
-
'New Rocker',
|
531 |
-
'News Cycle',
|
532 |
-
'Niconne',
|
533 |
-
'Nixie One',
|
534 |
-
'Nobile',
|
535 |
-
'Nokora',
|
536 |
-
'Norican',
|
537 |
-
'Nosifer',
|
538 |
-
'Nothing You Could Do',
|
539 |
-
'Noticia Text',
|
540 |
-
'Noto Sans',
|
541 |
-
'Noto Serif',
|
542 |
-
'Nova Cut',
|
543 |
-
'Nova Flat',
|
544 |
-
'Nova Mono',
|
545 |
-
'Nova Oval',
|
546 |
-
'Nova Round',
|
547 |
-
'Nova Script',
|
548 |
-
'Nova Slim',
|
549 |
-
'Nova Square',
|
550 |
-
'Numans',
|
551 |
-
'Nunito',
|
552 |
-
'Odor Mean Chey',
|
553 |
-
'Offside',
|
554 |
-
'Old Standard TT',
|
555 |
-
'Oldenburg',
|
556 |
-
'Oleo Script',
|
557 |
-
'Oleo Script Swash Caps',
|
558 |
-
'Open Sans',
|
559 |
-
'Open Sans Condensed',
|
560 |
-
'Oranienbaum',
|
561 |
-
'Orbitron',
|
562 |
-
'Oregano',
|
563 |
-
'Orienta',
|
564 |
-
'Original Surfer',
|
565 |
-
'Oswald',
|
566 |
-
'Over the Rainbow',
|
567 |
-
'Overlock',
|
568 |
-
'Overlock SC',
|
569 |
-
'Ovo',
|
570 |
-
'Oxygen',
|
571 |
-
'Oxygen Mono',
|
572 |
-
'PT Mono',
|
573 |
-
'PT Sans',
|
574 |
-
'PT Sans Caption',
|
575 |
-
'PT Sans Narrow',
|
576 |
-
'PT Serif',
|
577 |
-
'PT Serif Caption',
|
578 |
-
'Pacifico',
|
579 |
-
'Paprika',
|
580 |
-
'Parisienne',
|
581 |
-
'Passero One',
|
582 |
-
'Passion One',
|
583 |
-
'Pathway Gothic One',
|
584 |
-
'Patrick Hand',
|
585 |
-
'Patrick Hand SC',
|
586 |
-
'Patua One',
|
587 |
-
'Paytone One',
|
588 |
-
'Peralta',
|
589 |
-
'Permanent Marker',
|
590 |
-
'Petit Formal Script',
|
591 |
-
'Petrona',
|
592 |
-
'Philosopher',
|
593 |
-
'Piedra',
|
594 |
-
'Pinyon Script',
|
595 |
-
'Pirata One',
|
596 |
-
'Plaster',
|
597 |
-
'Play',
|
598 |
-
'Playball',
|
599 |
-
'Playfair Display',
|
600 |
-
'Playfair Display SC',
|
601 |
-
'Podkova',
|
602 |
-
'Poiret One',
|
603 |
-
'Poller One',
|
604 |
-
'Poly',
|
605 |
-
'Pompiere',
|
606 |
-
'Pontano Sans',
|
607 |
-
'Port Lligat Sans',
|
608 |
-
'Port Lligat Slab',
|
609 |
-
'Prata',
|
610 |
-
'Preahvihear',
|
611 |
-
'Press Start 2P',
|
612 |
-
'Princess Sofia',
|
613 |
-
'Prociono',
|
614 |
-
'Prosto One',
|
615 |
-
'Puritan',
|
616 |
-
'Purple Purse',
|
617 |
-
'Quando',
|
618 |
-
'Quantico',
|
619 |
-
'Quattrocento',
|
620 |
-
'Quattrocento Sans',
|
621 |
-
'Questrial',
|
622 |
-
'Quicksand',
|
623 |
-
'Quintessential',
|
624 |
-
'Qwigley',
|
625 |
-
'Racing Sans One',
|
626 |
-
'Radley',
|
627 |
-
'Rajdhani',
|
628 |
-
'Raleway',
|
629 |
-
'Raleway Dots',
|
630 |
-
'Rambla',
|
631 |
-
'Rammetto One',
|
632 |
-
'Ranchers',
|
633 |
-
'Rancho',
|
634 |
-
'Rationale',
|
635 |
-
'Redressed',
|
636 |
-
'Reenie Beanie',
|
637 |
-
'Revalia',
|
638 |
-
'Ribeye',
|
639 |
-
'Ribeye Marrow',
|
640 |
-
'Righteous',
|
641 |
-
'Risque',
|
642 |
-
'Roboto',
|
643 |
-
'Roboto Condensed',
|
644 |
-
'Roboto Slab',
|
645 |
-
'Rochester',
|
646 |
-
'Rock Salt',
|
647 |
-
'Rokkitt',
|
648 |
-
'Romanesco',
|
649 |
-
'Ropa Sans',
|
650 |
-
'Rosario',
|
651 |
-
'Rosarivo',
|
652 |
-
'Rouge Script',
|
653 |
-
'Rubik Mono One',
|
654 |
-
'Rubik One',
|
655 |
-
'Ruda',
|
656 |
-
'Rufina',
|
657 |
-
'Ruge Boogie',
|
658 |
-
'Ruluko',
|
659 |
-
'Rum Raisin',
|
660 |
-
'Ruslan Display',
|
661 |
-
'Russo One',
|
662 |
-
'Ruthie',
|
663 |
-
'Rye',
|
664 |
-
'Sacramento',
|
665 |
-
'Sail',
|
666 |
-
'Salsa',
|
667 |
-
'Sanchez',
|
668 |
-
'Sancreek',
|
669 |
-
'Sansita One',
|
670 |
-
'Sarina',
|
671 |
-
'Satisfy',
|
672 |
-
'Scada',
|
673 |
-
'Schoolbell',
|
674 |
-
'Seaweed Script',
|
675 |
-
'Sevillana',
|
676 |
-
'Seymour One',
|
677 |
-
'Shadows Into Light',
|
678 |
-
'Shadows Into Light Two',
|
679 |
-
'Shanti',
|
680 |
-
'Share',
|
681 |
-
'Share Tech',
|
682 |
-
'Share Tech Mono',
|
683 |
-
'Shojumaru',
|
684 |
-
'Short Stack',
|
685 |
-
'Siemreap',
|
686 |
-
'Sigmar One',
|
687 |
-
'Signika',
|
688 |
-
'Signika Negative',
|
689 |
-
'Simonetta',
|
690 |
-
'Sintony',
|
691 |
-
'Sirin Stencil',
|
692 |
-
'Six Caps',
|
693 |
-
'Skranji',
|
694 |
-
'Slabo 13px',
|
695 |
-
'Slabo 27px',
|
696 |
-
'Slackey',
|
697 |
-
'Smokum',
|
698 |
-
'Smythe',
|
699 |
-
'Sniglet',
|
700 |
-
'Snippet',
|
701 |
-
'Snowburst One',
|
702 |
-
'Sofadi One',
|
703 |
-
'Sofia',
|
704 |
-
'Sonsie One',
|
705 |
-
'Sorts Mill Goudy',
|
706 |
-
'Source Code Pro',
|
707 |
-
'Source Sans Pro',
|
708 |
-
'Source Serif Pro',
|
709 |
-
'Special Elite',
|
710 |
-
'Spicy Rice',
|
711 |
-
'Spinnaker',
|
712 |
-
'Spirax',
|
713 |
-
'Squada One',
|
714 |
-
'Stalemate',
|
715 |
-
'Stalinist One',
|
716 |
-
'Stardos Stencil',
|
717 |
-
'Stint Ultra Condensed',
|
718 |
-
'Stint Ultra Expanded',
|
719 |
-
'Stoke',
|
720 |
-
'Strait',
|
721 |
-
'Sue Ellen Francisco',
|
722 |
-
'Sunshiney',
|
723 |
-
'Supermercado One',
|
724 |
-
'Suwannaphum',
|
725 |
-
'Swanky and Moo Moo',
|
726 |
-
'Syncopate',
|
727 |
-
'Tangerine',
|
728 |
-
'Taprom',
|
729 |
-
'Tauri',
|
730 |
-
'Teko',
|
731 |
-
'Telex',
|
732 |
-
'Tenor Sans',
|
733 |
-
'Text Me One',
|
734 |
-
'The Girl Next Door',
|
735 |
-
'Tienne',
|
736 |
-
'Tinos',
|
737 |
-
'Titan One',
|
738 |
-
'Titillium Web',
|
739 |
-
'Trade Winds',
|
740 |
-
'Trocchi',
|
741 |
-
'Trochut',
|
742 |
-
'Trykker',
|
743 |
-
'Tulpen One',
|
744 |
-
'Ubuntu',
|
745 |
-
'Ubuntu Condensed',
|
746 |
-
'Ubuntu Mono',
|
747 |
-
'Ultra',
|
748 |
-
'Uncial Antiqua',
|
749 |
-
'Underdog',
|
750 |
-
'Unica One',
|
751 |
-
'UnifrakturCook',
|
752 |
-
'UnifrakturMaguntia',
|
753 |
-
'Unkempt',
|
754 |
-
'Unlock',
|
755 |
-
'Unna',
|
756 |
-
'VT323',
|
757 |
-
'Vampiro One',
|
758 |
-
'Varela',
|
759 |
-
'Varela Round',
|
760 |
-
'Vast Shadow',
|
761 |
-
'Vibur',
|
762 |
-
'Vidaloka',
|
763 |
-
'Viga',
|
764 |
-
'Voces',
|
765 |
-
'Volkhov',
|
766 |
-
'Vollkorn',
|
767 |
-
'Voltaire',
|
768 |
-
'Waiting for the Sunrise',
|
769 |
-
'Wallpoet',
|
770 |
-
'Walter Turncoat',
|
771 |
-
'Warnes',
|
772 |
-
'Wellfleet',
|
773 |
-
'Wendy One',
|
774 |
-
'Wire One',
|
775 |
-
'Yanone Kaffeesatz',
|
776 |
-
'Yellowtail',
|
777 |
-
'Yeseva One',
|
778 |
-
'Yesteryear',
|
779 |
-
'Zeyada',
|
780 |
-
);
|
781 |
-
|
782 |
-
if ( empty( Simple_Author_Box_Helper::$fonts ) ) {
|
783 |
-
foreach ( $fonts as $font ) {
|
784 |
-
Simple_Author_Box_Helper::$fonts[ $font ] = $font;
|
785 |
-
}
|
786 |
-
}
|
787 |
-
|
788 |
-
return Simple_Author_Box_Helper::$fonts;
|
789 |
-
|
790 |
-
}
|
791 |
-
|
792 |
-
public static function get_custom_post_type() {
|
793 |
-
$post_types = get_post_types(
|
794 |
-
array(
|
795 |
-
'publicly_queryable' => true,
|
796 |
-
'_builtin' => false,
|
797 |
-
)
|
798 |
-
);
|
799 |
-
|
800 |
-
$post_types['post'] = __( 'Post', 'saboxplugin' );
|
801 |
-
$post_types['page'] = __( 'Page', 'saboxplugin' );
|
802 |
-
|
803 |
-
return $post_types;
|
804 |
-
}
|
805 |
-
|
806 |
-
public static function get_template( $template_name = 'template-sab.php' ) {
|
807 |
-
|
808 |
-
$template = '';
|
809 |
-
|
810 |
-
if ( ! $template ) {
|
811 |
-
$template = locate_template( array( 'sab/' . $template_name ) );
|
812 |
-
}
|
813 |
-
|
814 |
-
if ( ! $template && file_exists( SIMPLE_AUTHOR_BOX_PATH . 'template/' . $template_name ) ) {
|
815 |
-
$template = SIMPLE_AUTHOR_BOX_PATH . 'template/' . $template_name;
|
816 |
-
}
|
817 |
-
|
818 |
-
if ( ! $template ) {
|
819 |
-
$template = SIMPLE_AUTHOR_BOX_PATH . 'template/template-sab.php';
|
820 |
-
}
|
821 |
-
|
822 |
-
// Allow 3rd party plugins to filter template file from their plugin.
|
823 |
-
$template = apply_filters( 'sabox_get_template_part', $template, $template_name );
|
824 |
-
if ( $template ) {
|
825 |
-
return $template;
|
826 |
-
}
|
827 |
-
|
828 |
-
}
|
829 |
-
|
830 |
-
public static function generate_inline_css() {
|
831 |
-
|
832 |
-
$padding_top_bottom = get_option( 'sab_box_padding_top_bottom', 0 );
|
833 |
-
$padding_left_right = get_option( 'sab_box_padding_left_right', 0 );
|
834 |
-
$sabox_top_margin = get_option( 'sab_box_margin_top', 0 );
|
835 |
-
$sabox_bottom_margin = get_option( 'sab_box_margin_bottom', 0 );
|
836 |
-
$sabox_name_size = get_option( 'sab_box_name_size', 18 );
|
837 |
-
$sabox_desc_size = get_option( 'sab_box_desc_size', 14 );
|
838 |
-
$sabox_icon_size = get_option( 'sab_box_icon_size', 14 );
|
839 |
-
$sabox_options = get_option( 'saboxplugin_options', array() );
|
840 |
-
|
841 |
-
if ( isset( $sabox_options['sab_web'] ) and get_option( 'sab_box_web_size' ) ) {
|
842 |
-
$sabox_web_size = get_option( 'sab_box_web_size' );
|
843 |
-
} else {
|
844 |
-
$sabox_web_size = 14;
|
845 |
-
}
|
846 |
-
|
847 |
-
$style = '';
|
848 |
-
|
849 |
-
// Border color of Simple Author Box
|
850 |
-
if ( isset( $sabox_options['sab_box_border'] ) && ! empty( $sabox_options['sab_box_border'] ) ) {
|
851 |
-
$style .= '.saboxplugin-wrap {border-color:' . esc_html( $sabox_options['sab_box_border'] ) . ';}';
|
852 |
-
$style .= '.saboxplugin-wrap .saboxplugin-socials {-webkit-box-shadow: 0 0.05em 0 0 ' . esc_html( $sabox_options['sab_box_border'] ) . ' inset; -moz-box-shadow:0 0.05em 0 0 ' . esc_html( $sabox_options['sab_box_border'] ) . ' inset;box-shadow:0 0.05em 0 0 ' . esc_html( $sabox_options['sab_box_border'] ) . ' inset;}';
|
853 |
-
}
|
854 |
-
// Avatar image style
|
855 |
-
if ( isset( $sabox_options['sab_avatar_style'] ) && '0' != $sabox_options['sab_avatar_style'] ) {
|
856 |
-
$style .= '.saboxplugin-wrap .saboxplugin-gravatar img {-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;}';
|
857 |
-
}
|
858 |
-
// Social icons style
|
859 |
-
if ( isset( $sabox_options['sab_colored'] ) && '0' != $sabox_options['sab_colored'] && isset( $sabox_options['sab_icons_style'] ) && '0' != $sabox_options['sab_icons_style'] ) {
|
860 |
-
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color {-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;}';
|
861 |
-
}
|
862 |
-
// Long Shadow
|
863 |
-
if ( isset( $sabox_options['sab_colored'] ) && '0' != $sabox_options['sab_colored'] && ! isset( $sabox_options['sab_box_long_shadow'] ) ) {
|
864 |
-
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color:before {text-shadow: none;}';
|
865 |
-
}
|
866 |
-
// Avatar hover effect
|
867 |
-
if ( isset( $sabox_options['sab_avatar_style'] ) && '0' != $sabox_options['sab_avatar_style'] && isset( $sabox_options['sab_avatar_hover'] ) ) {
|
868 |
-
$style .= '.saboxplugin-wrap .saboxplugin-gravatar img {-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;}';
|
869 |
-
$style .= '.saboxplugin-wrap .saboxplugin-gravatar img:hover {-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}';
|
870 |
-
}
|
871 |
-
// Social icons hover effect
|
872 |
-
if ( isset( $sabox_options['sab_icons_style'] ) && '0' != $sabox_options['sab_icons_style'] && isset( $sabox_options['sab_social_hover'] ) ) {
|
873 |
-
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color, .saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey {-webkit-transition: all 0.3s ease-in-out;-moz-transition: all 0.3s ease-in-out;-o-transition: all 0.3s ease-in-out;-ms-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color:hover,.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey:hover {-webkit-transform: rotate(360deg);-moz-transform: rotate(360deg);-o-transform: rotate(360deg);-ms-transform: rotate(360deg);transform: rotate(360deg);}';
|
874 |
-
}
|
875 |
-
// Thin border
|
876 |
-
if ( isset( $sabox_options['sab_colored'] ) && '0' != $sabox_options['sab_colored'] && ! isset( $sabox_options['sab_box_thin_border'] ) ) {
|
877 |
-
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color {border: medium none !important;}';
|
878 |
-
}
|
879 |
-
// Background color of social icons bar
|
880 |
-
if ( isset( $sabox_options['sab_box_icons_back'] ) && ! empty( $sabox_options['sab_box_icons_back'] ) ) {
|
881 |
-
$style .= '.saboxplugin-wrap .saboxplugin-socials{background-color:' . esc_html( $sabox_options['sab_box_icons_back'] ) . ';}';
|
882 |
-
}
|
883 |
-
// Color of social icons (for symbols only):
|
884 |
-
if ( isset( $sabox_options['sab_box_icons_color'] ) && ! empty( $sabox_options['sab_box_icons_color'] ) ) {
|
885 |
-
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey {color:' . esc_html( $sabox_options['sab_box_icons_color'] ) . ';}';
|
886 |
-
}
|
887 |
-
// Author name color
|
888 |
-
if ( isset( $sabox_options['sab_box_author_color'] ) && ! empty( $sabox_options['sab_box_author_color'] ) ) {
|
889 |
-
$style .= '.saboxplugin-wrap .saboxplugin-authorname a {color:' . esc_html( $sabox_options['sab_box_author_color'] ) . ';}';
|
890 |
-
}
|
891 |
-
|
892 |
-
// Author web color
|
893 |
-
if ( isset( $sabox_options['sab_web'] ) && isset( $sabox_options['sab_box_web_color'] ) && ! empty( $sabox_options['sab_box_web_color'] ) ) {
|
894 |
-
$style .= '.saboxplugin-wrap .saboxplugin-web a {color:' . esc_html( $sabox_options['sab_box_web_color'] ) . ';}';
|
895 |
-
}
|
896 |
-
|
897 |
-
// Author name font family
|
898 |
-
if ( get_option( 'sab_box_name_font', 'None' ) != 'None' ) {
|
899 |
-
$author_name_font = get_option( 'sab_box_name_font' );
|
900 |
-
$style .= '.saboxplugin-wrap .saboxplugin-authorname {font-family:"' . esc_html( $author_name_font ) . '";}';
|
901 |
-
}
|
902 |
-
|
903 |
-
// Author description font family
|
904 |
-
if ( get_option( 'sab_box_desc_font', 'None' ) != 'None' ) {
|
905 |
-
$author_desc_font = get_option( 'sab_box_desc_font' );
|
906 |
-
$style .= '.saboxplugin-wrap .saboxplugin-desc {font-family:' . esc_html( $author_desc_font ) . ';}';
|
907 |
-
}
|
908 |
-
|
909 |
-
// Author web font family
|
910 |
-
if ( isset( $sabox_options['sab_web'] ) && get_option( 'sab_box_web_font', 'None' ) != 'None' ) {
|
911 |
-
$author_web_font = get_option( 'sab_box_web_font' );
|
912 |
-
$style .= '.saboxplugin-wrap .saboxplugin-web {font-family:"' . esc_html( $author_web_font ) . '";}';
|
913 |
-
}
|
914 |
-
|
915 |
-
// Author description font style
|
916 |
-
if ( isset( $sabox_options['sab_desc_style'] ) && '0' != $sabox_options['sab_desc_style'] ) {
|
917 |
-
$style .= '.saboxplugin-wrap .saboxplugin-desc {font-style:italic;}';
|
918 |
-
}
|
919 |
-
// Margin top & bottom, Padding
|
920 |
-
$style .= '.saboxplugin-wrap {margin-top:' . absint( $sabox_top_margin ) . 'px; margin-bottom:' . absint( $sabox_bottom_margin ) . 'px; padding: ' . absint( $padding_top_bottom ) . 'px ' . absint( $padding_left_right ) . 'px }';
|
921 |
-
// Author name text size
|
922 |
-
$style .= '.saboxplugin-wrap .saboxplugin-authorname {font-size:' . absint( $sabox_name_size ) . 'px; line-height:' . absint( $sabox_name_size + 7 ) . 'px;}';
|
923 |
-
// Author description font size
|
924 |
-
$style .= '.saboxplugin-wrap .saboxplugin-desc {font-size:' . absint( $sabox_desc_size ) . 'px; line-height:' . absint( $sabox_desc_size + 7 ) . 'px;}';
|
925 |
-
// Author website text size
|
926 |
-
$style .= '.saboxplugin-wrap .saboxplugin-web {font-size:' . absint( $sabox_web_size ) . 'px;}';
|
927 |
-
// Icons size
|
928 |
-
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color {font-size:' . absint( $sabox_icon_size
|
929 |
-
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
*
|
5 |
+
*/
|
6 |
+
class Simple_Author_Box_Helper {
|
7 |
+
|
8 |
+
public static $fonts = array();
|
9 |
+
|
10 |
+
static $social_icons = array(
|
11 |
+
'addthis' => 'Add This',
|
12 |
+
'behance' => 'Behance',
|
13 |
+
'delicious' => 'Delicious',
|
14 |
+
'deviantart' => 'Deviantart',
|
15 |
+
'digg' => 'Digg',
|
16 |
+
'dribbble' => 'Dribbble',
|
17 |
+
'facebook' => 'Facebook',
|
18 |
+
'flickr' => 'Flickr',
|
19 |
+
'github' => 'Github',
|
20 |
+
'google' => 'Google',
|
21 |
+
'googleplus' => 'Google Plus',
|
22 |
+
'html5' => 'Html5',
|
23 |
+
'instagram' => 'Instagram',
|
24 |
+
'linkedin' => 'Linkedin',
|
25 |
+
'pinterest' => 'Pinterest',
|
26 |
+
'reddit' => 'Reddit',
|
27 |
+
'rss' => 'Rss',
|
28 |
+
'sharethis' => 'Sharethis',
|
29 |
+
'skype' => 'Skype',
|
30 |
+
'soundcloud' => 'Soundcloud',
|
31 |
+
'spotify' => 'Spotify',
|
32 |
+
'stackoverflow' => 'Stackoverflow',
|
33 |
+
'steam' => 'Steam',
|
34 |
+
'stumbleUpon' => 'StumbleUpon',
|
35 |
+
'tumblr' => 'Tumblr',
|
36 |
+
'twitter' => 'Twitter',
|
37 |
+
'vimeo' => 'Vimeo',
|
38 |
+
'windows' => 'Windows',
|
39 |
+
'wordpress' => 'Wordpress',
|
40 |
+
'yahoo' => 'Yahoo',
|
41 |
+
'youtube' => 'Youtube',
|
42 |
+
'xing' => 'Xing',
|
43 |
+
'mixcloud' => 'MixCloud',
|
44 |
+
'goodreads' => 'Goodreads',
|
45 |
+
'twitch' => 'Twitch',
|
46 |
+
'vk' => 'VK',
|
47 |
+
'medium' => 'Medium',
|
48 |
+
'quora' => 'Quora',
|
49 |
+
'meetup' => 'Meetup',
|
50 |
+
'user_email' => 'Email',
|
51 |
+
'snapchat' => 'Snapchat',
|
52 |
+
'500px' => '500px',
|
53 |
+
);
|
54 |
+
|
55 |
+
public static function get_sabox_social_icon( $url, $icon_name ) {
|
56 |
+
|
57 |
+
$options = get_option( 'saboxplugin_options' );
|
58 |
+
|
59 |
+
if ( isset( $options['sab_link_target'] ) && '0' != $options['sab_link_target'] ) {
|
60 |
+
$sabox_blank = '_blank';
|
61 |
+
} else {
|
62 |
+
$sabox_blank = '_self';
|
63 |
+
}
|
64 |
+
|
65 |
+
if ( isset( $options['sab_colored'] ) && '0' != $options['sab_colored'] ) {
|
66 |
+
$sab_color = 'saboxplugin-icon-color';
|
67 |
+
} else {
|
68 |
+
$sab_color = 'saboxplugin-icon-grey';
|
69 |
+
}
|
70 |
+
|
71 |
+
return '<a target="' . esc_attr( $sabox_blank ) . '" href="' . esc_url( $url ) . '" rel="nofollow"><span class="' . esc_attr( $sab_color ) . ' fa fa-' . esc_attr( $icon_name ) . '"></span></a>';
|
72 |
+
|
73 |
+
}
|
74 |
+
|
75 |
+
public static function get_user_social_links( $userd_id, $show_email = false ) {
|
76 |
+
|
77 |
+
$social_icons = apply_filters( 'sabox_social_icons', Simple_Author_Box_Helper::$social_icons );
|
78 |
+
$social_links = get_user_meta( $userd_id, 'sabox_social_links', true );
|
79 |
+
|
80 |
+
if ( ! is_array( $social_links ) ) {
|
81 |
+
$social_links = array();
|
82 |
+
}
|
83 |
+
|
84 |
+
if ( $show_email ) {
|
85 |
+
$social_links['user_email'] = get_the_author_meta( 'user_email', $userd_id );
|
86 |
+
}
|
87 |
+
|
88 |
+
return $social_links;
|
89 |
+
|
90 |
+
}
|
91 |
+
|
92 |
+
public static function get_google_font_subsets() {
|
93 |
+
return array(
|
94 |
+
'none' => 'None',
|
95 |
+
'latin' => 'Latin',
|
96 |
+
'latin-ext' => 'Latin Extended',
|
97 |
+
'cyrillic' => 'Cyrillic',
|
98 |
+
'cyrillic-ext' => 'Cyrillic Extended',
|
99 |
+
'devanagari' => 'Devanagari',
|
100 |
+
'greek' => 'Greek',
|
101 |
+
'greek-ext' => 'Greek Extended',
|
102 |
+
'vietnamese' => 'Vietnamese',
|
103 |
+
'khmer' => 'Khmer',
|
104 |
+
);
|
105 |
+
}
|
106 |
+
|
107 |
+
public static function get_google_fonts() {
|
108 |
+
$fonts = array(
|
109 |
+
'None',
|
110 |
+
'ABeeZee',
|
111 |
+
'Abel',
|
112 |
+
'Abril Fatface',
|
113 |
+
'Aclonica',
|
114 |
+
'Acme',
|
115 |
+
'Actor',
|
116 |
+
'Adamina',
|
117 |
+
'Advent Pro',
|
118 |
+
'Aguafina Script',
|
119 |
+
'Akronim',
|
120 |
+
'Aladin',
|
121 |
+
'Aldrich',
|
122 |
+
'Alef',
|
123 |
+
'Alegreya',
|
124 |
+
'Alegreya SC',
|
125 |
+
'Alegreya Sans',
|
126 |
+
'Alegreya Sans SC',
|
127 |
+
'Alex Brush',
|
128 |
+
'Alfa Slab One',
|
129 |
+
'Alice',
|
130 |
+
'Alike',
|
131 |
+
'Alike Angular',
|
132 |
+
'Allan',
|
133 |
+
'Allerta',
|
134 |
+
'Allerta Stencil',
|
135 |
+
'Allura',
|
136 |
+
'Almendra',
|
137 |
+
'Almendra Display',
|
138 |
+
'Almendra SC',
|
139 |
+
'Amarante',
|
140 |
+
'Amaranth',
|
141 |
+
'Amatic SC',
|
142 |
+
'Amethysta',
|
143 |
+
'Anaheim',
|
144 |
+
'Andada',
|
145 |
+
'Andika',
|
146 |
+
'Angkor',
|
147 |
+
'Annie Use Your Telescope',
|
148 |
+
'Anonymous Pro',
|
149 |
+
'Antic',
|
150 |
+
'Antic Didone',
|
151 |
+
'Antic Slab',
|
152 |
+
'Anton',
|
153 |
+
'Arapey',
|
154 |
+
'Arbutus',
|
155 |
+
'Arbutus Slab',
|
156 |
+
'Architects Daughter',
|
157 |
+
'Archivo Black',
|
158 |
+
'Archivo Narrow',
|
159 |
+
'Arimo',
|
160 |
+
'Arizonia',
|
161 |
+
'Armata',
|
162 |
+
'Artifika',
|
163 |
+
'Arvo',
|
164 |
+
'Asap',
|
165 |
+
'Asset',
|
166 |
+
'Astloch',
|
167 |
+
'Asul',
|
168 |
+
'Atomic Age',
|
169 |
+
'Aubrey',
|
170 |
+
'Audiowide',
|
171 |
+
'Autour One',
|
172 |
+
'Average',
|
173 |
+
'Average Sans',
|
174 |
+
'Averia Gruesa Libre',
|
175 |
+
'Averia Libre',
|
176 |
+
'Averia Sans Libre',
|
177 |
+
'Averia Serif Libre',
|
178 |
+
'Bad Script',
|
179 |
+
'Balthazar',
|
180 |
+
'Bangers',
|
181 |
+
'Basic',
|
182 |
+
'Battambang',
|
183 |
+
'Baumans',
|
184 |
+
'Bayon',
|
185 |
+
'Belgrano',
|
186 |
+
'Belleza',
|
187 |
+
'BenchNine',
|
188 |
+
'Bentham',
|
189 |
+
'Berkshire Swash',
|
190 |
+
'Bevan',
|
191 |
+
'Bigelow Rules',
|
192 |
+
'Bigshot One',
|
193 |
+
'Bilbo',
|
194 |
+
'Bilbo Swash Caps',
|
195 |
+
'Bitter',
|
196 |
+
'Black Ops One',
|
197 |
+
'Bokor',
|
198 |
+
'Bonbon',
|
199 |
+
'Boogaloo',
|
200 |
+
'Bowlby One',
|
201 |
+
'Bowlby One SC',
|
202 |
+
'Brawler',
|
203 |
+
'Bree Serif',
|
204 |
+
'Bubblegum Sans',
|
205 |
+
'Bubbler One',
|
206 |
+
'Buda',
|
207 |
+
'Buenard',
|
208 |
+
'Butcherman',
|
209 |
+
'Butterfly Kids',
|
210 |
+
'Cabin',
|
211 |
+
'Cabin Condensed',
|
212 |
+
'Cabin Sketch',
|
213 |
+
'Caesar Dressing',
|
214 |
+
'Cagliostro',
|
215 |
+
'Calligraffitti',
|
216 |
+
'Cambo',
|
217 |
+
'Candal',
|
218 |
+
'Cantarell',
|
219 |
+
'Cantata One',
|
220 |
+
'Cantora One',
|
221 |
+
'Capriola',
|
222 |
+
'Cardo',
|
223 |
+
'Carme',
|
224 |
+
'Carrois Gothic',
|
225 |
+
'Carrois Gothic SC',
|
226 |
+
'Carter One',
|
227 |
+
'Caudex',
|
228 |
+
'Cedarville Cursive',
|
229 |
+
'Ceviche One',
|
230 |
+
'Changa One',
|
231 |
+
'Chango',
|
232 |
+
'Chau Philomene One',
|
233 |
+
'Chela One',
|
234 |
+
'Chelsea Market',
|
235 |
+
'Chenla',
|
236 |
+
'Cherry Cream Soda',
|
237 |
+
'Cherry Swash',
|
238 |
+
'Chewy',
|
239 |
+
'Chicle',
|
240 |
+
'Chivo',
|
241 |
+
'Cinzel',
|
242 |
+
'Cinzel Decorative',
|
243 |
+
'Clicker Script',
|
244 |
+
'Coda',
|
245 |
+
'Coda Caption',
|
246 |
+
'Codystar',
|
247 |
+
'Combo',
|
248 |
+
'Comfortaa',
|
249 |
+
'Coming Soon',
|
250 |
+
'Concert One',
|
251 |
+
'Condiment',
|
252 |
+
'Content',
|
253 |
+
'Contrail One',
|
254 |
+
'Convergence',
|
255 |
+
'Cookie',
|
256 |
+
'Copse',
|
257 |
+
'Corben',
|
258 |
+
'Courgette',
|
259 |
+
'Cousine',
|
260 |
+
'Coustard',
|
261 |
+
'Covered By Your Grace',
|
262 |
+
'Crafty Girls',
|
263 |
+
'Creepster',
|
264 |
+
'Crete Round',
|
265 |
+
'Crimson Text',
|
266 |
+
'Croissant One',
|
267 |
+
'Crushed',
|
268 |
+
'Cuprum',
|
269 |
+
'Cutive',
|
270 |
+
'Cutive Mono',
|
271 |
+
'Damion',
|
272 |
+
'Dancing Script',
|
273 |
+
'Dangrek',
|
274 |
+
'Dawning of a New Day',
|
275 |
+
'Days One',
|
276 |
+
'Delius',
|
277 |
+
'Delius Swash Caps',
|
278 |
+
'Delius Unicase',
|
279 |
+
'Della Respira',
|
280 |
+
'Denk One',
|
281 |
+
'Devonshire',
|
282 |
+
'Didact Gothic',
|
283 |
+
'Diplomata',
|
284 |
+
'Diplomata SC',
|
285 |
+
'Domine',
|
286 |
+
'Donegal One',
|
287 |
+
'Doppio One',
|
288 |
+
'Dorsa',
|
289 |
+
'Dosis',
|
290 |
+
'Dr Sugiyama',
|
291 |
+
'Droid Sans',
|
292 |
+
'Droid Sans Mono',
|
293 |
+
'Droid Serif',
|
294 |
+
'Duru Sans',
|
295 |
+
'Dynalight',
|
296 |
+
'EB Garamond',
|
297 |
+
'Eagle Lake',
|
298 |
+
'Eater',
|
299 |
+
'Economica',
|
300 |
+
'Ek Mukta',
|
301 |
+
'Electrolize',
|
302 |
+
'Elsie',
|
303 |
+
'Elsie Swash Caps',
|
304 |
+
'Emblema One',
|
305 |
+
'Emilys Candy',
|
306 |
+
'Engagement',
|
307 |
+
'Englebert',
|
308 |
+
'Enriqueta',
|
309 |
+
'Erica One',
|
310 |
+
'Esteban',
|
311 |
+
'Euphoria Script',
|
312 |
+
'Ewert',
|
313 |
+
'Exo',
|
314 |
+
'Exo 2',
|
315 |
+
'Expletus Sans',
|
316 |
+
'Fanwood Text',
|
317 |
+
'Fascinate',
|
318 |
+
'Fascinate Inline',
|
319 |
+
'Faster One',
|
320 |
+
'Fasthand',
|
321 |
+
'Fauna One',
|
322 |
+
'Federant',
|
323 |
+
'Federo',
|
324 |
+
'Felipa',
|
325 |
+
'Fenix',
|
326 |
+
'Finger Paint',
|
327 |
+
'Fira Mono',
|
328 |
+
'Fira Sans',
|
329 |
+
'Fjalla One',
|
330 |
+
'Fjord One',
|
331 |
+
'Flamenco',
|
332 |
+
'Flavors',
|
333 |
+
'Fondamento',
|
334 |
+
'Fontdiner Swanky',
|
335 |
+
'Forum',
|
336 |
+
'Francois One',
|
337 |
+
'Freckle Face',
|
338 |
+
'Fredericka the Great',
|
339 |
+
'Fredoka One',
|
340 |
+
'Freehand',
|
341 |
+
'Fresca',
|
342 |
+
'Frijole',
|
343 |
+
'Fruktur',
|
344 |
+
'Fugaz One',
|
345 |
+
'GFS Didot',
|
346 |
+
'GFS Neohellenic',
|
347 |
+
'Gabriela',
|
348 |
+
'Gafata',
|
349 |
+
'Galdeano',
|
350 |
+
'Galindo',
|
351 |
+
'Gentium Basic',
|
352 |
+
'Gentium Book Basic',
|
353 |
+
'Geo',
|
354 |
+
'Geostar',
|
355 |
+
'Geostar Fill',
|
356 |
+
'Germania One',
|
357 |
+
'Gilda Display',
|
358 |
+
'Give You Glory',
|
359 |
+
'Glass Antiqua',
|
360 |
+
'Glegoo',
|
361 |
+
'Gloria Hallelujah',
|
362 |
+
'Goblin One',
|
363 |
+
'Gochi Hand',
|
364 |
+
'Gorditas',
|
365 |
+
'Goudy Bookletter 1911',
|
366 |
+
'Graduate',
|
367 |
+
'Grand Hotel',
|
368 |
+
'Gravitas One',
|
369 |
+
'Great Vibes',
|
370 |
+
'Griffy',
|
371 |
+
'Gruppo',
|
372 |
+
'Gudea',
|
373 |
+
'Habibi',
|
374 |
+
'Hammersmith One',
|
375 |
+
'Hanalei',
|
376 |
+
'Hanalei Fill',
|
377 |
+
'Handlee',
|
378 |
+
'Hanuman',
|
379 |
+
'Happy Monkey',
|
380 |
+
'Headland One',
|
381 |
+
'Henny Penny',
|
382 |
+
'Herr Von Muellerhoff',
|
383 |
+
'Hind',
|
384 |
+
'Holtwood One SC',
|
385 |
+
'Homemade Apple',
|
386 |
+
'Homenaje',
|
387 |
+
'IM Fell DW Pica',
|
388 |
+
'IM Fell DW Pica SC',
|
389 |
+
'IM Fell Double Pica',
|
390 |
+
'IM Fell Double Pica SC',
|
391 |
+
'IM Fell English',
|
392 |
+
'IM Fell English SC',
|
393 |
+
'IM Fell French Canon',
|
394 |
+
'IM Fell French Canon SC',
|
395 |
+
'IM Fell Great Primer',
|
396 |
+
'IM Fell Great Primer SC',
|
397 |
+
'Iceberg',
|
398 |
+
'Iceland',
|
399 |
+
'Imprima',
|
400 |
+
'Inconsolata',
|
401 |
+
'Inder',
|
402 |
+
'Indie Flower',
|
403 |
+
'Inika',
|
404 |
+
'Irish Grover',
|
405 |
+
'Istok Web',
|
406 |
+
'Italiana',
|
407 |
+
'Italianno',
|
408 |
+
'Jacques Francois',
|
409 |
+
'Jacques Francois Shadow',
|
410 |
+
'Jim Nightshade',
|
411 |
+
'Jockey One',
|
412 |
+
'Jolly Lodger',
|
413 |
+
'Josefin Sans',
|
414 |
+
'Josefin Slab',
|
415 |
+
'Joti One',
|
416 |
+
'Judson',
|
417 |
+
'Julee',
|
418 |
+
'Julius Sans One',
|
419 |
+
'Junge',
|
420 |
+
'Jura',
|
421 |
+
'Just Another Hand',
|
422 |
+
'Just Me Again Down Here',
|
423 |
+
'Kalam',
|
424 |
+
'Kameron',
|
425 |
+
'Kantumruy',
|
426 |
+
'Karla',
|
427 |
+
'Karma',
|
428 |
+
'Kaushan Script',
|
429 |
+
'Kavoon',
|
430 |
+
'Kdam Thmor',
|
431 |
+
'Keania One',
|
432 |
+
'Kelly Slab',
|
433 |
+
'Kenia',
|
434 |
+
'Khmer',
|
435 |
+
'Kite One',
|
436 |
+
'Knewave',
|
437 |
+
'Kotta One',
|
438 |
+
'Koulen',
|
439 |
+
'Kranky',
|
440 |
+
'Kreon',
|
441 |
+
'Kristi',
|
442 |
+
'Krona One',
|
443 |
+
'La Belle Aurore',
|
444 |
+
'Lancelot',
|
445 |
+
'Lato',
|
446 |
+
'League Script',
|
447 |
+
'Leckerli One',
|
448 |
+
'Ledger',
|
449 |
+
'Lekton',
|
450 |
+
'Lemon',
|
451 |
+
'Libre Baskerville',
|
452 |
+
'Life Savers',
|
453 |
+
'Lilita One',
|
454 |
+
'Lily Script One',
|
455 |
+
'Limelight',
|
456 |
+
'Linden Hill',
|
457 |
+
'Lobster',
|
458 |
+
'Lobster Two',
|
459 |
+
'Londrina Outline',
|
460 |
+
'Londrina Shadow',
|
461 |
+
'Londrina Sketch',
|
462 |
+
'Londrina Solid',
|
463 |
+
'Lora',
|
464 |
+
'Love Ya Like A Sister',
|
465 |
+
'Loved by the King',
|
466 |
+
'Lovers Quarrel',
|
467 |
+
'Luckiest Guy',
|
468 |
+
'Lusitana',
|
469 |
+
'Lustria',
|
470 |
+
'Macondo',
|
471 |
+
'Macondo Swash Caps',
|
472 |
+
'Magra',
|
473 |
+
'Maiden Orange',
|
474 |
+
'Mako',
|
475 |
+
'Marcellus',
|
476 |
+
'Marcellus SC',
|
477 |
+
'Marck Script',
|
478 |
+
'Margarine',
|
479 |
+
'Marko One',
|
480 |
+
'Marmelad',
|
481 |
+
'Marvel',
|
482 |
+
'Mate',
|
483 |
+
'Mate SC',
|
484 |
+
'Maven Pro',
|
485 |
+
'McLaren',
|
486 |
+
'Meddon',
|
487 |
+
'MedievalSharp',
|
488 |
+
'Medula One',
|
489 |
+
'Megrim',
|
490 |
+
'Meie Script',
|
491 |
+
'Merienda',
|
492 |
+
'Merienda One',
|
493 |
+
'Merriweather',
|
494 |
+
'Merriweather Sans',
|
495 |
+
'Metal',
|
496 |
+
'Metal Mania',
|
497 |
+
'Metamorphous',
|
498 |
+
'Metrophobic',
|
499 |
+
'Michroma',
|
500 |
+
'Milonga',
|
501 |
+
'Miltonian',
|
502 |
+
'Miltonian Tattoo',
|
503 |
+
'Miniver',
|
504 |
+
'Miss Fajardose',
|
505 |
+
'Modern Antiqua',
|
506 |
+
'Molengo',
|
507 |
+
'Molle',
|
508 |
+
'Monda',
|
509 |
+
'Monofett',
|
510 |
+
'Monoton',
|
511 |
+
'Monsieur La Doulaise',
|
512 |
+
'Montaga',
|
513 |
+
'Montez',
|
514 |
+
'Montserrat',
|
515 |
+
'Montserrat Alternates',
|
516 |
+
'Montserrat Subrayada',
|
517 |
+
'Moul',
|
518 |
+
'Moulpali',
|
519 |
+
'Mountains of Christmas',
|
520 |
+
'Mouse Memoirs',
|
521 |
+
'Mr Bedfort',
|
522 |
+
'Mr Dafoe',
|
523 |
+
'Mr De Haviland',
|
524 |
+
'Mrs Saint Delafield',
|
525 |
+
'Mrs Sheppards',
|
526 |
+
'Muli',
|
527 |
+
'Mystery Quest',
|
528 |
+
'Neucha',
|
529 |
+
'Neuton',
|
530 |
+
'New Rocker',
|
531 |
+
'News Cycle',
|
532 |
+
'Niconne',
|
533 |
+
'Nixie One',
|
534 |
+
'Nobile',
|
535 |
+
'Nokora',
|
536 |
+
'Norican',
|
537 |
+
'Nosifer',
|
538 |
+
'Nothing You Could Do',
|
539 |
+
'Noticia Text',
|
540 |
+
'Noto Sans',
|
541 |
+
'Noto Serif',
|
542 |
+
'Nova Cut',
|
543 |
+
'Nova Flat',
|
544 |
+
'Nova Mono',
|
545 |
+
'Nova Oval',
|
546 |
+
'Nova Round',
|
547 |
+
'Nova Script',
|
548 |
+
'Nova Slim',
|
549 |
+
'Nova Square',
|
550 |
+
'Numans',
|
551 |
+
'Nunito',
|
552 |
+
'Odor Mean Chey',
|
553 |
+
'Offside',
|
554 |
+
'Old Standard TT',
|
555 |
+
'Oldenburg',
|
556 |
+
'Oleo Script',
|
557 |
+
'Oleo Script Swash Caps',
|
558 |
+
'Open Sans',
|
559 |
+
'Open Sans Condensed',
|
560 |
+
'Oranienbaum',
|
561 |
+
'Orbitron',
|
562 |
+
'Oregano',
|
563 |
+
'Orienta',
|
564 |
+
'Original Surfer',
|
565 |
+
'Oswald',
|
566 |
+
'Over the Rainbow',
|
567 |
+
'Overlock',
|
568 |
+
'Overlock SC',
|
569 |
+
'Ovo',
|
570 |
+
'Oxygen',
|
571 |
+
'Oxygen Mono',
|
572 |
+
'PT Mono',
|
573 |
+
'PT Sans',
|
574 |
+
'PT Sans Caption',
|
575 |
+
'PT Sans Narrow',
|
576 |
+
'PT Serif',
|
577 |
+
'PT Serif Caption',
|
578 |
+
'Pacifico',
|
579 |
+
'Paprika',
|
580 |
+
'Parisienne',
|
581 |
+
'Passero One',
|
582 |
+
'Passion One',
|
583 |
+
'Pathway Gothic One',
|
584 |
+
'Patrick Hand',
|
585 |
+
'Patrick Hand SC',
|
586 |
+
'Patua One',
|
587 |
+
'Paytone One',
|
588 |
+
'Peralta',
|
589 |
+
'Permanent Marker',
|
590 |
+
'Petit Formal Script',
|
591 |
+
'Petrona',
|
592 |
+
'Philosopher',
|
593 |
+
'Piedra',
|
594 |
+
'Pinyon Script',
|
595 |
+
'Pirata One',
|
596 |
+
'Plaster',
|
597 |
+
'Play',
|
598 |
+
'Playball',
|
599 |
+
'Playfair Display',
|
600 |
+
'Playfair Display SC',
|
601 |
+
'Podkova',
|
602 |
+
'Poiret One',
|
603 |
+
'Poller One',
|
604 |
+
'Poly',
|
605 |
+
'Pompiere',
|
606 |
+
'Pontano Sans',
|
607 |
+
'Port Lligat Sans',
|
608 |
+
'Port Lligat Slab',
|
609 |
+
'Prata',
|
610 |
+
'Preahvihear',
|
611 |
+
'Press Start 2P',
|
612 |
+
'Princess Sofia',
|
613 |
+
'Prociono',
|
614 |
+
'Prosto One',
|
615 |
+
'Puritan',
|
616 |
+
'Purple Purse',
|
617 |
+
'Quando',
|
618 |
+
'Quantico',
|
619 |
+
'Quattrocento',
|
620 |
+
'Quattrocento Sans',
|
621 |
+
'Questrial',
|
622 |
+
'Quicksand',
|
623 |
+
'Quintessential',
|
624 |
+
'Qwigley',
|
625 |
+
'Racing Sans One',
|
626 |
+
'Radley',
|
627 |
+
'Rajdhani',
|
628 |
+
'Raleway',
|
629 |
+
'Raleway Dots',
|
630 |
+
'Rambla',
|
631 |
+
'Rammetto One',
|
632 |
+
'Ranchers',
|
633 |
+
'Rancho',
|
634 |
+
'Rationale',
|
635 |
+
'Redressed',
|
636 |
+
'Reenie Beanie',
|
637 |
+
'Revalia',
|
638 |
+
'Ribeye',
|
639 |
+
'Ribeye Marrow',
|
640 |
+
'Righteous',
|
641 |
+
'Risque',
|
642 |
+
'Roboto',
|
643 |
+
'Roboto Condensed',
|
644 |
+
'Roboto Slab',
|
645 |
+
'Rochester',
|
646 |
+
'Rock Salt',
|
647 |
+
'Rokkitt',
|
648 |
+
'Romanesco',
|
649 |
+
'Ropa Sans',
|
650 |
+
'Rosario',
|
651 |
+
'Rosarivo',
|
652 |
+
'Rouge Script',
|
653 |
+
'Rubik Mono One',
|
654 |
+
'Rubik One',
|
655 |
+
'Ruda',
|
656 |
+
'Rufina',
|
657 |
+
'Ruge Boogie',
|
658 |
+
'Ruluko',
|
659 |
+
'Rum Raisin',
|
660 |
+
'Ruslan Display',
|
661 |
+
'Russo One',
|
662 |
+
'Ruthie',
|
663 |
+
'Rye',
|
664 |
+
'Sacramento',
|
665 |
+
'Sail',
|
666 |
+
'Salsa',
|
667 |
+
'Sanchez',
|
668 |
+
'Sancreek',
|
669 |
+
'Sansita One',
|
670 |
+
'Sarina',
|
671 |
+
'Satisfy',
|
672 |
+
'Scada',
|
673 |
+
'Schoolbell',
|
674 |
+
'Seaweed Script',
|
675 |
+
'Sevillana',
|
676 |
+
'Seymour One',
|
677 |
+
'Shadows Into Light',
|
678 |
+
'Shadows Into Light Two',
|
679 |
+
'Shanti',
|
680 |
+
'Share',
|
681 |
+
'Share Tech',
|
682 |
+
'Share Tech Mono',
|
683 |
+
'Shojumaru',
|
684 |
+
'Short Stack',
|
685 |
+
'Siemreap',
|
686 |
+
'Sigmar One',
|
687 |
+
'Signika',
|
688 |
+
'Signika Negative',
|
689 |
+
'Simonetta',
|
690 |
+
'Sintony',
|
691 |
+
'Sirin Stencil',
|
692 |
+
'Six Caps',
|
693 |
+
'Skranji',
|
694 |
+
'Slabo 13px',
|
695 |
+
'Slabo 27px',
|
696 |
+
'Slackey',
|
697 |
+
'Smokum',
|
698 |
+
'Smythe',
|
699 |
+
'Sniglet',
|
700 |
+
'Snippet',
|
701 |
+
'Snowburst One',
|
702 |
+
'Sofadi One',
|
703 |
+
'Sofia',
|
704 |
+
'Sonsie One',
|
705 |
+
'Sorts Mill Goudy',
|
706 |
+
'Source Code Pro',
|
707 |
+
'Source Sans Pro',
|
708 |
+
'Source Serif Pro',
|
709 |
+
'Special Elite',
|
710 |
+
'Spicy Rice',
|
711 |
+
'Spinnaker',
|
712 |
+
'Spirax',
|
713 |
+
'Squada One',
|
714 |
+
'Stalemate',
|
715 |
+
'Stalinist One',
|
716 |
+
'Stardos Stencil',
|
717 |
+
'Stint Ultra Condensed',
|
718 |
+
'Stint Ultra Expanded',
|
719 |
+
'Stoke',
|
720 |
+
'Strait',
|
721 |
+
'Sue Ellen Francisco',
|
722 |
+
'Sunshiney',
|
723 |
+
'Supermercado One',
|
724 |
+
'Suwannaphum',
|
725 |
+
'Swanky and Moo Moo',
|
726 |
+
'Syncopate',
|
727 |
+
'Tangerine',
|
728 |
+
'Taprom',
|
729 |
+
'Tauri',
|
730 |
+
'Teko',
|
731 |
+
'Telex',
|
732 |
+
'Tenor Sans',
|
733 |
+
'Text Me One',
|
734 |
+
'The Girl Next Door',
|
735 |
+
'Tienne',
|
736 |
+
'Tinos',
|
737 |
+
'Titan One',
|
738 |
+
'Titillium Web',
|
739 |
+
'Trade Winds',
|
740 |
+
'Trocchi',
|
741 |
+
'Trochut',
|
742 |
+
'Trykker',
|
743 |
+
'Tulpen One',
|
744 |
+
'Ubuntu',
|
745 |
+
'Ubuntu Condensed',
|
746 |
+
'Ubuntu Mono',
|
747 |
+
'Ultra',
|
748 |
+
'Uncial Antiqua',
|
749 |
+
'Underdog',
|
750 |
+
'Unica One',
|
751 |
+
'UnifrakturCook',
|
752 |
+
'UnifrakturMaguntia',
|
753 |
+
'Unkempt',
|
754 |
+
'Unlock',
|
755 |
+
'Unna',
|
756 |
+
'VT323',
|
757 |
+
'Vampiro One',
|
758 |
+
'Varela',
|
759 |
+
'Varela Round',
|
760 |
+
'Vast Shadow',
|
761 |
+
'Vibur',
|
762 |
+
'Vidaloka',
|
763 |
+
'Viga',
|
764 |
+
'Voces',
|
765 |
+
'Volkhov',
|
766 |
+
'Vollkorn',
|
767 |
+
'Voltaire',
|
768 |
+
'Waiting for the Sunrise',
|
769 |
+
'Wallpoet',
|
770 |
+
'Walter Turncoat',
|
771 |
+
'Warnes',
|
772 |
+
'Wellfleet',
|
773 |
+
'Wendy One',
|
774 |
+
'Wire One',
|
775 |
+
'Yanone Kaffeesatz',
|
776 |
+
'Yellowtail',
|
777 |
+
'Yeseva One',
|
778 |
+
'Yesteryear',
|
779 |
+
'Zeyada',
|
780 |
+
);
|
781 |
+
|
782 |
+
if ( empty( Simple_Author_Box_Helper::$fonts ) ) {
|
783 |
+
foreach ( $fonts as $font ) {
|
784 |
+
Simple_Author_Box_Helper::$fonts[ $font ] = $font;
|
785 |
+
}
|
786 |
+
}
|
787 |
+
|
788 |
+
return Simple_Author_Box_Helper::$fonts;
|
789 |
+
|
790 |
+
}
|
791 |
+
|
792 |
+
public static function get_custom_post_type() {
|
793 |
+
$post_types = get_post_types(
|
794 |
+
array(
|
795 |
+
'publicly_queryable' => true,
|
796 |
+
'_builtin' => false,
|
797 |
+
)
|
798 |
+
);
|
799 |
+
|
800 |
+
$post_types['post'] = __( 'Post', 'saboxplugin' );
|
801 |
+
$post_types['page'] = __( 'Page', 'saboxplugin' );
|
802 |
+
|
803 |
+
return $post_types;
|
804 |
+
}
|
805 |
+
|
806 |
+
public static function get_template( $template_name = 'template-sab.php' ) {
|
807 |
+
|
808 |
+
$template = '';
|
809 |
+
|
810 |
+
if ( ! $template ) {
|
811 |
+
$template = locate_template( array( 'sab/' . $template_name ) );
|
812 |
+
}
|
813 |
+
|
814 |
+
if ( ! $template && file_exists( SIMPLE_AUTHOR_BOX_PATH . 'template/' . $template_name ) ) {
|
815 |
+
$template = SIMPLE_AUTHOR_BOX_PATH . 'template/' . $template_name;
|
816 |
+
}
|
817 |
+
|
818 |
+
if ( ! $template ) {
|
819 |
+
$template = SIMPLE_AUTHOR_BOX_PATH . 'template/template-sab.php';
|
820 |
+
}
|
821 |
+
|
822 |
+
// Allow 3rd party plugins to filter template file from their plugin.
|
823 |
+
$template = apply_filters( 'sabox_get_template_part', $template, $template_name );
|
824 |
+
if ( $template ) {
|
825 |
+
return $template;
|
826 |
+
}
|
827 |
+
|
828 |
+
}
|
829 |
+
|
830 |
+
public static function generate_inline_css() {
|
831 |
+
|
832 |
+
$padding_top_bottom = get_option( 'sab_box_padding_top_bottom', 0 );
|
833 |
+
$padding_left_right = get_option( 'sab_box_padding_left_right', 0 );
|
834 |
+
$sabox_top_margin = get_option( 'sab_box_margin_top', 0 );
|
835 |
+
$sabox_bottom_margin = get_option( 'sab_box_margin_bottom', 0 );
|
836 |
+
$sabox_name_size = get_option( 'sab_box_name_size', 18 );
|
837 |
+
$sabox_desc_size = get_option( 'sab_box_desc_size', 14 );
|
838 |
+
$sabox_icon_size = get_option( 'sab_box_icon_size', 14 );
|
839 |
+
$sabox_options = get_option( 'saboxplugin_options', array() );
|
840 |
+
|
841 |
+
if ( isset( $sabox_options['sab_web'] ) and get_option( 'sab_box_web_size' ) ) {
|
842 |
+
$sabox_web_size = get_option( 'sab_box_web_size' );
|
843 |
+
} else {
|
844 |
+
$sabox_web_size = 14;
|
845 |
+
}
|
846 |
+
|
847 |
+
$style = '';
|
848 |
+
|
849 |
+
// Border color of Simple Author Box
|
850 |
+
if ( isset( $sabox_options['sab_box_border'] ) && ! empty( $sabox_options['sab_box_border'] ) ) {
|
851 |
+
$style .= '.saboxplugin-wrap {border-color:' . esc_html( $sabox_options['sab_box_border'] ) . ';}';
|
852 |
+
$style .= '.saboxplugin-wrap .saboxplugin-socials {-webkit-box-shadow: 0 0.05em 0 0 ' . esc_html( $sabox_options['sab_box_border'] ) . ' inset; -moz-box-shadow:0 0.05em 0 0 ' . esc_html( $sabox_options['sab_box_border'] ) . ' inset;box-shadow:0 0.05em 0 0 ' . esc_html( $sabox_options['sab_box_border'] ) . ' inset;}';
|
853 |
+
}
|
854 |
+
// Avatar image style
|
855 |
+
if ( isset( $sabox_options['sab_avatar_style'] ) && '0' != $sabox_options['sab_avatar_style'] ) {
|
856 |
+
$style .= '.saboxplugin-wrap .saboxplugin-gravatar img {-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;}';
|
857 |
+
}
|
858 |
+
// Social icons style
|
859 |
+
if ( isset( $sabox_options['sab_colored'] ) && '0' != $sabox_options['sab_colored'] && isset( $sabox_options['sab_icons_style'] ) && '0' != $sabox_options['sab_icons_style'] ) {
|
860 |
+
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color {-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;}';
|
861 |
+
}
|
862 |
+
// Long Shadow
|
863 |
+
if ( isset( $sabox_options['sab_colored'] ) && '0' != $sabox_options['sab_colored'] && ! isset( $sabox_options['sab_box_long_shadow'] ) ) {
|
864 |
+
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color:before {text-shadow: none;}';
|
865 |
+
}
|
866 |
+
// Avatar hover effect
|
867 |
+
if ( isset( $sabox_options['sab_avatar_style'] ) && '0' != $sabox_options['sab_avatar_style'] && isset( $sabox_options['sab_avatar_hover'] ) ) {
|
868 |
+
$style .= '.saboxplugin-wrap .saboxplugin-gravatar img {-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;}';
|
869 |
+
$style .= '.saboxplugin-wrap .saboxplugin-gravatar img:hover {-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}';
|
870 |
+
}
|
871 |
+
// Social icons hover effect
|
872 |
+
if ( isset( $sabox_options['sab_icons_style'] ) && '0' != $sabox_options['sab_icons_style'] && isset( $sabox_options['sab_social_hover'] ) ) {
|
873 |
+
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color, .saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey {-webkit-transition: all 0.3s ease-in-out;-moz-transition: all 0.3s ease-in-out;-o-transition: all 0.3s ease-in-out;-ms-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;}.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color:hover,.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey:hover {-webkit-transform: rotate(360deg);-moz-transform: rotate(360deg);-o-transform: rotate(360deg);-ms-transform: rotate(360deg);transform: rotate(360deg);}';
|
874 |
+
}
|
875 |
+
// Thin border
|
876 |
+
if ( isset( $sabox_options['sab_colored'] ) && '0' != $sabox_options['sab_colored'] && ! isset( $sabox_options['sab_box_thin_border'] ) ) {
|
877 |
+
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color {border: medium none !important;}';
|
878 |
+
}
|
879 |
+
// Background color of social icons bar
|
880 |
+
if ( isset( $sabox_options['sab_box_icons_back'] ) && ! empty( $sabox_options['sab_box_icons_back'] ) ) {
|
881 |
+
$style .= '.saboxplugin-wrap .saboxplugin-socials{background-color:' . esc_html( $sabox_options['sab_box_icons_back'] ) . ';}';
|
882 |
+
}
|
883 |
+
// Color of social icons (for symbols only):
|
884 |
+
if ( isset( $sabox_options['sab_box_icons_color'] ) && ! empty( $sabox_options['sab_box_icons_color'] ) ) {
|
885 |
+
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey {color:' . esc_html( $sabox_options['sab_box_icons_color'] ) . ';}';
|
886 |
+
}
|
887 |
+
// Author name color
|
888 |
+
if ( isset( $sabox_options['sab_box_author_color'] ) && ! empty( $sabox_options['sab_box_author_color'] ) ) {
|
889 |
+
$style .= '.saboxplugin-wrap .saboxplugin-authorname a {color:' . esc_html( $sabox_options['sab_box_author_color'] ) . ';}';
|
890 |
+
}
|
891 |
+
|
892 |
+
// Author web color
|
893 |
+
if ( isset( $sabox_options['sab_web'] ) && isset( $sabox_options['sab_box_web_color'] ) && ! empty( $sabox_options['sab_box_web_color'] ) ) {
|
894 |
+
$style .= '.saboxplugin-wrap .saboxplugin-web a {color:' . esc_html( $sabox_options['sab_box_web_color'] ) . ';}';
|
895 |
+
}
|
896 |
+
|
897 |
+
// Author name font family
|
898 |
+
if ( get_option( 'sab_box_name_font', 'None' ) != 'None' ) {
|
899 |
+
$author_name_font = get_option( 'sab_box_name_font' );
|
900 |
+
$style .= '.saboxplugin-wrap .saboxplugin-authorname {font-family:"' . esc_html( $author_name_font ) . '";}';
|
901 |
+
}
|
902 |
+
|
903 |
+
// Author description font family
|
904 |
+
if ( get_option( 'sab_box_desc_font', 'None' ) != 'None' ) {
|
905 |
+
$author_desc_font = get_option( 'sab_box_desc_font' );
|
906 |
+
$style .= '.saboxplugin-wrap .saboxplugin-desc {font-family:' . esc_html( $author_desc_font ) . ';}';
|
907 |
+
}
|
908 |
+
|
909 |
+
// Author web font family
|
910 |
+
if ( isset( $sabox_options['sab_web'] ) && get_option( 'sab_box_web_font', 'None' ) != 'None' ) {
|
911 |
+
$author_web_font = get_option( 'sab_box_web_font' );
|
912 |
+
$style .= '.saboxplugin-wrap .saboxplugin-web {font-family:"' . esc_html( $author_web_font ) . '";}';
|
913 |
+
}
|
914 |
+
|
915 |
+
// Author description font style
|
916 |
+
if ( isset( $sabox_options['sab_desc_style'] ) && '0' != $sabox_options['sab_desc_style'] ) {
|
917 |
+
$style .= '.saboxplugin-wrap .saboxplugin-desc {font-style:italic;}';
|
918 |
+
}
|
919 |
+
// Margin top & bottom, Padding
|
920 |
+
$style .= '.saboxplugin-wrap {margin-top:' . absint( $sabox_top_margin ) . 'px; margin-bottom:' . absint( $sabox_bottom_margin ) . 'px; padding: ' . absint( $padding_top_bottom ) . 'px ' . absint( $padding_left_right ) . 'px }';
|
921 |
+
// Author name text size
|
922 |
+
$style .= '.saboxplugin-wrap .saboxplugin-authorname {font-size:' . absint( $sabox_name_size ) . 'px; line-height:' . absint( $sabox_name_size + 7 ) . 'px;}';
|
923 |
+
// Author description font size
|
924 |
+
$style .= '.saboxplugin-wrap .saboxplugin-desc p, .saboxplugin-wrap .saboxplugin-desc {font-size:' . absint( $sabox_desc_size ) . 'px !important; line-height:' . absint( $sabox_desc_size + 7 ) . 'px !important;}';
|
925 |
+
// Author website text size
|
926 |
+
$style .= '.saboxplugin-wrap .saboxplugin-web {font-size:' . absint( $sabox_web_size ) . 'px;}';
|
927 |
+
// Icons size
|
928 |
+
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color.fa:before {font-size:' . absint( $sabox_icon_size ) . 'px;}';
|
929 |
+
$style .= '.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color.fa {width:' . absint( $sabox_icon_size * 2 ) . 'px; height:' . absint( $sabox_icon_size * 2 ) . 'px; line-height:' . absint( $sabox_icon_size * 2 ) . 'px; }';
|
930 |
+
|
931 |
+
return apply_filters( 'sabox_inline_css', $style );
|
932 |
+
}
|
933 |
+
|
934 |
+
}
|
|
inc/class-simple-author-box.php
CHANGED
@@ -1,336 +1,495 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
*
|
5 |
-
*/
|
6 |
-
class Simple_Author_Box {
|
7 |
-
|
8 |
-
private static $instance = null;
|
9 |
-
private $options;
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
$this->
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
$
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
$
|
69 |
-
}
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
if ( $
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
}
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
$
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
$
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
}
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
}
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Our main plugin class
|
5 |
+
*/
|
6 |
+
class Simple_Author_Box {
|
7 |
+
|
8 |
+
private static $instance = null;
|
9 |
+
private $options;
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Function constructor
|
13 |
+
*/
|
14 |
+
function __construct() {
|
15 |
+
|
16 |
+
$this->options = get_option( 'saboxplugin_options', array() );
|
17 |
+
|
18 |
+
$this->load_dependencies();
|
19 |
+
$this->define_admin_hooks();
|
20 |
+
$this->define_public_hooks();
|
21 |
+
|
22 |
+
}
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Singleton pattern
|
26 |
+
*
|
27 |
+
* @return void
|
28 |
+
*/
|
29 |
+
public static function get_instance() {
|
30 |
+
if ( is_null( self::$instance ) ) {
|
31 |
+
self::$instance = new self();
|
32 |
+
}
|
33 |
+
|
34 |
+
return self::$instance;
|
35 |
+
}
|
36 |
+
|
37 |
+
private function load_dependencies() {
|
38 |
+
|
39 |
+
require_once SIMPLE_AUTHOR_BOX_PATH . 'inc/class-simple-author-box-helper.php';
|
40 |
+
require_once SIMPLE_AUTHOR_BOX_PATH . 'inc/functions.php';
|
41 |
+
|
42 |
+
// everything below this line gets loaded only in the admin back-end
|
43 |
+
if ( is_admin() ) {
|
44 |
+
require_once SIMPLE_AUTHOR_BOX_PATH . 'inc/class-simple-author-box-admin-page.php';
|
45 |
+
require_once SIMPLE_AUTHOR_BOX_PATH . 'inc/class-simple-author-box-user-profile.php';
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Admin hooks
|
51 |
+
*
|
52 |
+
* @return void
|
53 |
+
*/
|
54 |
+
private function define_admin_hooks() {
|
55 |
+
|
56 |
+
/**
|
57 |
+
* everything hooked here loads on both front-end & back-end
|
58 |
+
*/
|
59 |
+
add_filter( 'get_avatar', array( $this, 'replace_gravatar_image' ), 10, 6 );
|
60 |
+
add_filter( 'amp_post_template_data', array( $this, 'sab_amp_css' ) ); // @since 2.0.7
|
61 |
+
|
62 |
+
/**
|
63 |
+
* Only load when we're in the admin panel
|
64 |
+
*/
|
65 |
+
if ( is_admin() ) {
|
66 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'admin_style_and_scripts' ) );
|
67 |
+
add_filter( 'user_contactmethods', array( $this, 'add_extra_fields' ) );
|
68 |
+
add_filter( 'plugin_action_links_' . SIMPLE_AUTHOR_BOX_SLUG, array( $this, 'settings_link' ) );
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
|
73 |
+
/**
|
74 |
+
* See this: https://codex.wordpress.org/Plugin_API/Filter_Reference/get_avatar
|
75 |
+
*
|
76 |
+
* Custom function to overwrite WordPress's get_avatar function
|
77 |
+
*
|
78 |
+
* @param [type] $avatar
|
79 |
+
* @param [type] $id_or_email
|
80 |
+
* @param [type] $size
|
81 |
+
* @param [type] $default
|
82 |
+
* @param [type] $alt
|
83 |
+
* @param [type] $args
|
84 |
+
* @return void
|
85 |
+
*/
|
86 |
+
public function replace_gravatar_image( $avatar, $id_or_email, $size, $default, $alt, $args ) {
|
87 |
+
|
88 |
+
// Process the user identifier.
|
89 |
+
$user = false;
|
90 |
+
if ( is_numeric( $id_or_email ) ) {
|
91 |
+
$user = get_user_by( 'id', absint( $id_or_email ) );
|
92 |
+
} elseif ( is_string( $id_or_email ) ) {
|
93 |
+
|
94 |
+
$user = get_user_by( 'email', $id_or_email );
|
95 |
+
|
96 |
+
} elseif ( $id_or_email instanceof WP_User ) {
|
97 |
+
// User Object
|
98 |
+
$user = $id_or_email;
|
99 |
+
} elseif ( $id_or_email instanceof WP_Post ) {
|
100 |
+
// Post Object
|
101 |
+
$user = get_user_by( 'id', (int) $id_or_email->post_author );
|
102 |
+
} elseif ( $id_or_email instanceof WP_Comment ) {
|
103 |
+
|
104 |
+
if ( ! empty( $id_or_email->user_id ) ) {
|
105 |
+
$user = get_user_by( 'id', (int) $id_or_email->user_id );
|
106 |
+
}
|
107 |
+
}
|
108 |
+
|
109 |
+
if ( ! $user || is_wp_error( $user ) ) {
|
110 |
+
return $avatar;
|
111 |
+
}
|
112 |
+
|
113 |
+
$custom_profile_image = get_user_meta( $user->ID, 'sabox-profile-image', true );
|
114 |
+
$class = array( 'avatar', 'avatar-' . (int) $args['size'], 'photo' );
|
115 |
+
|
116 |
+
if ( ! $args['found_avatar'] || $args['force_default'] ) {
|
117 |
+
$class[] = 'avatar-default';
|
118 |
+
}
|
119 |
+
|
120 |
+
if ( $args['class'] ) {
|
121 |
+
if ( is_array( $args['class'] ) ) {
|
122 |
+
$class = array_merge( $class, $args['class'] );
|
123 |
+
} else {
|
124 |
+
$class[] = $args['class'];
|
125 |
+
}
|
126 |
+
}
|
127 |
+
|
128 |
+
if ( '' !== $custom_profile_image && true !== $args['force_default'] ) {
|
129 |
+
|
130 |
+
$avatar = sprintf(
|
131 |
+
"<img alt='%s' src='%s' srcset='%s' class='%s' height='%d' width='%d' %s/>",
|
132 |
+
esc_attr( $args['alt'] ),
|
133 |
+
esc_url( $custom_profile_image ),
|
134 |
+
esc_url( $custom_profile_image ) . ' 2x',
|
135 |
+
esc_attr( join( ' ', $class ) ),
|
136 |
+
(int) $args['height'],
|
137 |
+
(int) $args['width'],
|
138 |
+
$args['extra_attr']
|
139 |
+
);
|
140 |
+
}
|
141 |
+
|
142 |
+
return $avatar;
|
143 |
+
}
|
144 |
+
|
145 |
+
private function define_public_hooks() {
|
146 |
+
|
147 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'saboxplugin_author_box_style' ), 10 );
|
148 |
+
add_shortcode( 'simple-author-box', array( $this, 'shortcode' ) );
|
149 |
+
add_filter( 'sabox_hide_social_icons', array( $this, 'show_social_media_icons' ), 10, 2 );
|
150 |
+
|
151 |
+
if ( ! isset( $this->options['sab_autoinsert'] ) ) {
|
152 |
+
add_filter( 'the_content', 'wpsabox_author_box' );
|
153 |
+
}
|
154 |
+
|
155 |
+
if ( isset( $this->options['sab_footer_inline_style'] ) ) {
|
156 |
+
add_action(
|
157 |
+
'wp_footer', array(
|
158 |
+
$this,
|
159 |
+
'inline_style',
|
160 |
+
), 13
|
161 |
+
);
|
162 |
+
} else {
|
163 |
+
add_action( 'wp_head', array( $this, 'inline_style' ), 15 );
|
164 |
+
}
|
165 |
+
|
166 |
+
}
|
167 |
+
|
168 |
+
public function settings_link( array $links ) {
|
169 |
+
$links['sab'] = sprintf( '<a href="%s">%s</a>', admin_url( 'admin.php?page=simple-author-box-options' ), __( 'Settings', 'saboxplugin' ) );
|
170 |
+
|
171 |
+
return $links;
|
172 |
+
}
|
173 |
+
|
174 |
+
public function admin_style_and_scripts( $hook ) {
|
175 |
+
|
176 |
+
$suffix = '.min';
|
177 |
+
if ( SIMPLE_AUTHOR_SCRIPT_DEBUG ) {
|
178 |
+
$suffix = '';
|
179 |
+
}
|
180 |
+
|
181 |
+
// globally loaded
|
182 |
+
wp_enqueue_style( 'sabox-css', SIMPLE_AUTHOR_BOX_ASSETS . 'css/sabox.css' );
|
183 |
+
wp_enqueue_style( 'saboxplugin-admin-style', SIMPLE_AUTHOR_BOX_ASSETS . 'css/sabox-admin-style' . $suffix . '.css' );
|
184 |
+
|
185 |
+
// loaded only on plugin page
|
186 |
+
if ( 'toplevel_page_simple-author-box-options' == $hook ) {
|
187 |
+
|
188 |
+
// Styles
|
189 |
+
wp_enqueue_style( 'wp-color-picker' );
|
190 |
+
wp_enqueue_style( 'jquery-ui', SIMPLE_AUTHOR_BOX_ASSETS . 'css/jquery-ui.min.css' );
|
191 |
+
|
192 |
+
// Scripts
|
193 |
+
wp_enqueue_script(
|
194 |
+
'sabox-admin-js', SIMPLE_AUTHOR_BOX_ASSETS . 'js/sabox-admin.js', array(
|
195 |
+
'jquery-ui-slider',
|
196 |
+
'wp-color-picker',
|
197 |
+
), false, true
|
198 |
+
);
|
199 |
+
wp_enqueue_script(
|
200 |
+
'sabox-plugin-install', SIMPLE_AUTHOR_BOX_ASSETS . 'js/plugin-install.js', array(
|
201 |
+
'jquery',
|
202 |
+
'updates',
|
203 |
+
), '1.0.0', 'all'
|
204 |
+
);
|
205 |
+
|
206 |
+
// loaded only on user profile page
|
207 |
+
} elseif ( 'profile.php' == $hook || 'user-edit.php' == $hook ) {
|
208 |
+
|
209 |
+
wp_enqueue_style( 'saboxplugin-admin-style', SIMPLE_AUTHOR_BOX_ASSETS . 'css/sabox-admin-style' . $suffix . '.css' );
|
210 |
+
|
211 |
+
wp_enqueue_media();
|
212 |
+
wp_enqueue_editor();
|
213 |
+
wp_enqueue_script( 'sabox-admin-editor-js', SIMPLE_AUTHOR_BOX_ASSETS . 'js/sabox-editor.js', array(), false, true );
|
214 |
+
$sabox_js_helper = array();
|
215 |
+
$social_icons = apply_filters( 'sabox_social_icons', Simple_Author_Box_Helper::$social_icons );
|
216 |
+
unset( $social_icons['user_email'] );
|
217 |
+
$sabox_js_helper['socialIcons'] = $social_icons;
|
218 |
+
|
219 |
+
wp_localize_script( 'sabox-admin-editor-js', 'SABHerlper', $sabox_js_helper );
|
220 |
+
|
221 |
+
}
|
222 |
+
|
223 |
+
}
|
224 |
+
|
225 |
+
public function add_extra_fields( $extra_fields ) {
|
226 |
+
|
227 |
+
unset( $extra_fields['aim'] );
|
228 |
+
unset( $extra_fields['jabber'] );
|
229 |
+
unset( $extra_fields['yim'] );
|
230 |
+
|
231 |
+
return $extra_fields;
|
232 |
+
|
233 |
+
}
|
234 |
+
|
235 |
+
/*----------------------------------------------------------------------------------------------------------
|
236 |
+
Adding the author box main CSS
|
237 |
+
-----------------------------------------------------------------------------------------------------------*/
|
238 |
+
public function saboxplugin_author_box_style() {
|
239 |
+
|
240 |
+
$suffix = '.min';
|
241 |
+
if ( SIMPLE_AUTHOR_SCRIPT_DEBUG ) {
|
242 |
+
$suffix = '';
|
243 |
+
}
|
244 |
+
|
245 |
+
$sab_protocol = is_ssl() ? 'https' : 'http';
|
246 |
+
$sab_box_subset = get_option( 'sab_box_subset' );
|
247 |
+
|
248 |
+
/**
|
249 |
+
* Check for duplicate font families, remove duplicates & re-work the font enqueue procedure
|
250 |
+
*
|
251 |
+
* @since 2.0.4
|
252 |
+
*/
|
253 |
+
if ( 'none' != strtolower( $sab_box_subset ) ) {
|
254 |
+
$sab_subset = '&subset=' . strtolower( $sab_box_subset );
|
255 |
+
} else {
|
256 |
+
$sab_subset = '&subset=latin';
|
257 |
+
}
|
258 |
+
|
259 |
+
$sab_author_font = get_option( 'sab_box_name_font', 'None' );
|
260 |
+
$sab_desc_font = get_option( 'sab_box_desc_font', 'None' );
|
261 |
+
$sab_web_font = get_option( 'sab_box_web_font', 'None' );
|
262 |
+
|
263 |
+
$google_fonts = array();
|
264 |
+
|
265 |
+
if ( $sab_author_font && 'none' != strtolower( $sab_author_font ) ) {
|
266 |
+
$google_fonts[] = str_replace( ' ', '+', esc_attr( $sab_author_font ) );
|
267 |
+
}
|
268 |
+
|
269 |
+
if ( $sab_desc_font && 'none' != strtolower( $sab_desc_font ) ) {
|
270 |
+
$google_fonts[] = str_replace( ' ', '+', esc_attr( $sab_desc_font ) );
|
271 |
+
}
|
272 |
+
|
273 |
+
if ( isset( $this->options['sab_web'] ) && $sab_web_font && 'none' != strtolower( $sab_web_font ) ) {
|
274 |
+
$google_fonts[] = str_replace( ' ', '+', esc_attr( $sab_web_font ) );
|
275 |
+
}
|
276 |
+
|
277 |
+
$google_fonts = apply_filters( 'sabox_google_fonts', $google_fonts );
|
278 |
+
|
279 |
+
$google_fonts = array_unique( $google_fonts );
|
280 |
+
|
281 |
+
if ( ! empty( $google_fonts ) ) { // let's check the array's not empty before actually loading; we want to avoid loading 'none' font-familes
|
282 |
+
$final_google_fonts = array();
|
283 |
+
|
284 |
+
foreach ( $google_fonts as $v ) {
|
285 |
+
$final_google_fonts[] = $v . ':400,700,400italic,700italic';
|
286 |
+
}
|
287 |
+
|
288 |
+
wp_register_style( 'sab-font', $sab_protocol . '://fonts.googleapis.com/css?family=' . implode( '|', $final_google_fonts ) . $sab_subset, array(), null );
|
289 |
+
|
290 |
+
}
|
291 |
+
/**
|
292 |
+
* end changes introduced in 2.0.4
|
293 |
+
*/
|
294 |
+
|
295 |
+
if ( ! isset( $this->options['sab_load_fa'] ) ) {
|
296 |
+
wp_register_style( 'font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css' );
|
297 |
+
}
|
298 |
+
|
299 |
+
wp_register_style( 'sab-plugin', SIMPLE_AUTHOR_BOX_ASSETS . 'css/simple-author-box' . $suffix . '.css', false, SIMPLE_AUTHOR_BOX_VERSION );
|
300 |
+
|
301 |
+
if ( ! is_single() and ! is_page() and ! is_author() and ! is_archive() ) {
|
302 |
+
return;
|
303 |
+
}
|
304 |
+
|
305 |
+
if ( ! empty( $google_fonts ) ) {
|
306 |
+
wp_enqueue_style( 'sab-font' );
|
307 |
+
}
|
308 |
+
|
309 |
+
if ( ! isset( $this->options['sab_load_fa'] ) ) {
|
310 |
+
wp_enqueue_style( 'font-awesome' );
|
311 |
+
}
|
312 |
+
|
313 |
+
wp_enqueue_style( 'sab-plugin' );
|
314 |
+
|
315 |
+
}
|
316 |
+
|
317 |
+
|
318 |
+
public function inline_style() {
|
319 |
+
|
320 |
+
if ( ! is_single() and ! is_page() and ! is_author() and ! is_archive() ) {
|
321 |
+
return;
|
322 |
+
}
|
323 |
+
|
324 |
+
$style = '<style type="text/css">';
|
325 |
+
$style .= Simple_Author_Box_Helper::generate_inline_css();
|
326 |
+
$style .= '</style>';
|
327 |
+
|
328 |
+
echo $style;
|
329 |
+
}
|
330 |
+
|
331 |
+
public function shortcode( $atts ) {
|
332 |
+
$defaults = array(
|
333 |
+
'ids' => '',
|
334 |
+
);
|
335 |
+
|
336 |
+
$atts = wp_parse_args( $atts, $defaults );
|
337 |
+
|
338 |
+
if ( '' != $atts['ids'] ) {
|
339 |
+
$ids = explode( ',', $atts['ids'] );
|
340 |
+
ob_start();
|
341 |
+
$sabox_options = get_option( 'saboxplugin_options' );
|
342 |
+
foreach ( $ids as $user_id ) {
|
343 |
+
|
344 |
+
$template = Simple_Author_Box_Helper::get_template();
|
345 |
+
$sabox_author_id = $user_id;
|
346 |
+
echo '<div class="sabox-plus-item">';
|
347 |
+
include( $template );
|
348 |
+
echo '</div>';
|
349 |
+
|
350 |
+
}
|
351 |
+
$html = ob_get_clean();
|
352 |
+
} else {
|
353 |
+
$html = wpsabox_author_box();
|
354 |
+
}
|
355 |
+
|
356 |
+
return $html;
|
357 |
+
}
|
358 |
+
|
359 |
+
|
360 |
+
public function show_social_media_icons( $return, $user ) {
|
361 |
+
if ( in_array( 'sab-guest-author', (array) $user->roles ) ) {
|
362 |
+
return false;
|
363 |
+
}
|
364 |
+
|
365 |
+
return true;
|
366 |
+
}
|
367 |
+
|
368 |
+
/**
|
369 |
+
* AMP compatibility
|
370 |
+
* @since 2.0
|
371 |
+
*
|
372 |
+
* @param $data
|
373 |
+
*
|
374 |
+
* @return mixed
|
375 |
+
*/
|
376 |
+
|
377 |
+
function sab_amp_css( $data ) {
|
378 |
+
|
379 |
+
$data['post_amp_styles'] = array(
|
380 |
+
'.saboxplugin-wrap .saboxplugin-gravatar' => array(
|
381 |
+
'float: left',
|
382 |
+
'padding: 20px',
|
383 |
+
),
|
384 |
+
'.saboxplugin-wrap .saboxplugin-gravatar img' => array(
|
385 |
+
'max-width: 100px',
|
386 |
+
'height: auto',
|
387 |
+
),
|
388 |
+
'.saboxplugin-wrap .saboxplugin-authorname' => array(
|
389 |
+
'font-size: 18px',
|
390 |
+
'line-height: 1',
|
391 |
+
'margin: 20px 0 0 20px',
|
392 |
+
'display: block',
|
393 |
+
),
|
394 |
+
'.saboxplugin-wrap .saboxplugin-authorname a' => array(
|
395 |
+
'text-decoration: none',
|
396 |
+
),
|
397 |
+
'.saboxplugin-wrap .saboxplugin-desc' => array(
|
398 |
+
'display: block',
|
399 |
+
'margin: 5px 20px',
|
400 |
+
),
|
401 |
+
'.saboxplugin-wrap .saboxplugin-desc a' => array(
|
402 |
+
'text-decoration: none',
|
403 |
+
),
|
404 |
+
'.saboxplugin-wrap .saboxplugin-desc p' => array(
|
405 |
+
'margin: 5px 0 12px 0',
|
406 |
+
'font-size: ' . absint( get_option( 'sab_box_desc_size', 14 ) ),
|
407 |
+
'line-height: ' . absint( get_option( 'sab_box_desc_size', 14 ) + 7 ),
|
408 |
+
),
|
409 |
+
'.saboxplugin-wrap .saboxplugin-web' => array(
|
410 |
+
'margin: 0 20px 15px',
|
411 |
+
'text-align: left',
|
412 |
+
),
|
413 |
+
'.saboxplugin-wrap .saboxplugin-socials' => array(
|
414 |
+
'position: relative',
|
415 |
+
'display: block',
|
416 |
+
'background: #fcfcfc',
|
417 |
+
'padding: 5px',
|
418 |
+
'box-shadow: 0 1px 0 0 #eee inset',
|
419 |
+
'-webkit-box-shadow: 0 1px 0 0 #eee inset',
|
420 |
+
'-moz-box-shadow: 0 1px 0 0 #eee inset',
|
421 |
+
),
|
422 |
+
'.saboxplugin-wrap .saboxplugin-socials a' => array(
|
423 |
+
'text-decoration: none',
|
424 |
+
'box-shadow: none',
|
425 |
+
'padding: 0',
|
426 |
+
'margin: 0',
|
427 |
+
'border: 0',
|
428 |
+
'transition: opacity 0.4s',
|
429 |
+
'-webkit-transition: opacity 0.4s',
|
430 |
+
'-moz-transition: opacity 0.4s',
|
431 |
+
'-o-transition: opacity 0.4s',
|
432 |
+
),
|
433 |
+
'.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-grey' => array(
|
434 |
+
'display: inline-block',
|
435 |
+
'vertical-align: middle',
|
436 |
+
'margin: 10px 5px',
|
437 |
+
'color: #444',
|
438 |
+
),
|
439 |
+
'.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color.fa:before' => array(
|
440 |
+
'font-size: ' . get_option( 'sab_box_icon_size', 14 ) . 'px',
|
441 |
+
),
|
442 |
+
'.saboxplugin-wrap .saboxplugin-socials .saboxplugin-icon-color.fa' => array(
|
443 |
+
'width: ' . absint( get_option( 'sab_box_icon_size', 14 ) ) * 2 . 'px',
|
444 |
+
'height: ' . absint( get_option( 'sab_box_icon_size', 14 ) ) * 2 . 'px',
|
445 |
+
'line-height: ' . absint( get_option( 'sab_box_icon_size', 14 ) ) * 2 . 'px',
|
446 |
+
),
|
447 |
+
'.saboxplugin-wrap .saboxplugin-socials.sabox-colored .saboxplugin-icon-color' => array(
|
448 |
+
'color: #FFF',
|
449 |
+
'background-color: grey',
|
450 |
+
'margin: 5px',
|
451 |
+
'text-align: center',
|
452 |
+
'vertical-align: middle',
|
453 |
+
),
|
454 |
+
// hotfixes for some icons since we changed from sabox-icon to using fa-
|
455 |
+
'.saboxplugin-socials .fa-googleplus:before' => array(
|
456 |
+
"content: '\\f0d5' !important",
|
457 |
+
),
|
458 |
+
'.saboxplugin-socials .fa-sharethis:before' => array(
|
459 |
+
"content: '\\f1e0' !important",
|
460 |
+
),
|
461 |
+
'.saboxplugin-socials .fa-stackoverflow:before' => array(
|
462 |
+
"content: '\\f16c' !important",
|
463 |
+
),
|
464 |
+
'.saboxplugin-socials .fa-stumbleUpon:before' => array(
|
465 |
+
"content: '\\f1a4' !important",
|
466 |
+
),
|
467 |
+
'.saboxplugin-socials .fa-user_email:before' => array(
|
468 |
+
"content: '\\f0e0' !important",
|
469 |
+
),
|
470 |
+
'.saboxplugin-socials .fa-addthis:before' => array(
|
471 |
+
"content: '\\f0fe' !important",
|
472 |
+
),
|
473 |
+
// custom paddings & margins
|
474 |
+
'.saboxplugin-wrap' => array(
|
475 |
+
'margin-top: ' . absint( get_option( 'sab_box_margin_top', 0 ) ) . 'px',
|
476 |
+
'margin-bottom: ' . absint( get_option( 'sab_box_margin_bottom', 0 ) ) . 'px',
|
477 |
+
'padding: ' . absint( get_option( 'sab_box_padding_top_bottom', 0 ) ) . 'px ' . absint( get_option( 'sab_box_padding_left_right', 0 ) ) . 'px',
|
478 |
+
'box-sizing: border-box',
|
479 |
+
'border: 1px solid #EEE',
|
480 |
+
'width: 100%',
|
481 |
+
'clear: both',
|
482 |
+
'overflow : hidden',
|
483 |
+
'word-wrap: break-word',
|
484 |
+
'position: relative',
|
485 |
+
),
|
486 |
+
);
|
487 |
+
|
488 |
+
$data['font_urls'] = array(
|
489 |
+
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2',
|
490 |
+
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css',
|
491 |
+
);
|
492 |
+
|
493 |
+
return $data;
|
494 |
+
}
|
495 |
+
}
|
inc/feedback/class-epsilon-feedback-sab.php
CHANGED
@@ -1,283 +1,286 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class Epsilon_Feedback_SAB {
|
4 |
-
|
5 |
-
private $plugin_file = '';
|
6 |
-
private $plugin_name = '';
|
7 |
-
|
8 |
-
function __construct( $_plugin_file ) {
|
9 |
-
|
10 |
-
$this->plugin_file = $_plugin_file;
|
11 |
-
$this->plugin_name = basename( $this->plugin_file, '.php' );
|
12 |
-
|
13 |
-
// Deactivation
|
14 |
-
add_filter(
|
15 |
-
'plugin_action_links_' . plugin_basename( $this->plugin_file ), array(
|
16 |
-
$this,
|
17 |
-
'filter_action_links',
|
18 |
-
)
|
19 |
-
);
|
20 |
-
add_action( 'admin_footer-plugins.php', array( $this, 'goodbye_ajax' ) );
|
21 |
-
add_action( 'wp_ajax_epsilon_deactivate_plugin', array( $this, 'epsilon_deactivate_plugin_callback' ) );
|
22 |
-
|
23 |
-
}
|
24 |
-
|
25 |
-
/**
|
26 |
-
* Filter the deactivation link to allow us to present a form when the user deactivates the plugin
|
27 |
-
*
|
28 |
-
* @since 1.0.0
|
29 |
-
*/
|
30 |
-
public function filter_action_links( $links ) {
|
31 |
-
|
32 |
-
if ( isset( $links['deactivate'] ) ) {
|
33 |
-
$deactivation_link = $links['deactivate'];
|
34 |
-
// Insert an onClick action to allow form before deactivating
|
35 |
-
$deactivation_link = str_replace( '<a ', '<div class="epsilon-deactivate-form-wrapper"><span class="epsilon-deactivate-form" id="epsilon-deactivate-form-' . esc_attr( $this->plugin_name ) . '"></span></div><a onclick="javascript:event.preventDefault();" id="epsilon-deactivate-link-' . esc_attr( $this->plugin_name ) . '" ', $deactivation_link );
|
36 |
-
$links['deactivate'] = $deactivation_link;
|
37 |
-
}
|
38 |
-
|
39 |
-
return $links;
|
40 |
-
}
|
41 |
-
|
42 |
-
/**
|
43 |
-
* Form text strings
|
44 |
-
* These can be filtered
|
45 |
-
*
|
46 |
-
* @since 1.0.0
|
47 |
-
*/
|
48 |
-
public function goodbye_ajax() {
|
49 |
-
// Get our strings for the form
|
50 |
-
$form = $this->get_form_info();
|
51 |
-
|
52 |
-
// Build the HTML to go in the form
|
53 |
-
$html = '<div class="epsilon-deactivate-form-head"><strong>' . esc_html( $form['heading'] ) . '</strong></div>';
|
54 |
-
$html .= '<div class="epsilon-deactivate-form-body"><p>' . esc_html( $form['body'] ) . '</p>';
|
55 |
-
if ( is_array( $form['options'] ) ) {
|
56 |
-
$html .= '<div class="epsilon-deactivate-options"><p>';
|
57 |
-
foreach ( $form['options'] as $key => $option ) {
|
58 |
-
if ( 'features' == $key ) {
|
59 |
-
$html .= '<input type="radio" name="epsilon-deactivate-reason" checked="checked" id="' . esc_attr( $key ) . '" value="' . esc_attr( $key ) . '"> <label for="' . esc_attr( $key ) . '">' . esc_attr( $option ) . '</label><br>';
|
60 |
-
} else {
|
61 |
-
$html .= '<input type="radio" name="epsilon-deactivate-reason" id="' . esc_attr( $key ) . '" value="' . esc_attr( $key ) . '"> <label for="' . esc_attr( $key ) . '">' . esc_attr( $option ) . '</label><br>';
|
62 |
-
}
|
63 |
-
}
|
64 |
-
$html .= '</p><label id="epsilon-deactivate-details-label" for="epsilon-deactivate-reasons"><strong>' . esc_html( $form['details'] ) . '</strong></label><textarea name="epsilon-deactivate-details" id="epsilon-deactivate-details" rows="2" style="width:100%"></textarea>';
|
65 |
-
$html .= '<input type="checkbox" name="epsilon-deactivate-tracking" checked="" id="allow-tracking" value="yes"> <label for="allow-tracking">' . esc_html__( 'Allow us to get more information in order to improve our plugin', 'saboxplugin' ) . '</label><br>';
|
66 |
-
$html .= '</div><!-- .epsilon-deactivate-options -->';
|
67 |
-
}
|
68 |
-
$html .= '</div><!-- .epsilon-deactivate-form-body -->';
|
69 |
-
$html .= '<p class="deactivating-spinner"><span class="spinner"></span> ' . __( 'Submitting form', 'saboxplugin' ) . '</p>';
|
70 |
-
$html .= '<div class="epsilon-deactivate-form-footer"><p><a id="epsilon-deactivate-plugin" href="#">' . __( 'Just Deactivate', 'saboxplugin' ) . '</a><a id="epsilon-deactivate-submit-form" class="button button-primary" href="#">' . __( 'Submit and Deactivate', 'saboxplugin' ) . '</a></p></div>'
|
71 |
-
?>
|
72 |
-
<div class="epsilon-deactivate-form-bg"></div>
|
73 |
-
<style type="text/css">
|
74 |
-
.epsilon-deactivate-form-active .epsilon-deactivate-form-bg {
|
75 |
-
background: rgba(0, 0, 0, .5);
|
76 |
-
position: fixed;
|
77 |
-
top: 0;
|
78 |
-
left: 0;
|
79 |
-
width: 100%;
|
80 |
-
height: 100%;
|
81 |
-
}
|
82 |
-
|
83 |
-
.epsilon-deactivate-form-wrapper {
|
84 |
-
position: relative;
|
85 |
-
z-index: 999;
|
86 |
-
display: none;
|
87 |
-
}
|
88 |
-
|
89 |
-
.epsilon-deactivate-form-active .epsilon-deactivate-form-wrapper {
|
90 |
-
display: block;
|
91 |
-
}
|
92 |
-
|
93 |
-
.epsilon-deactivate-form {
|
94 |
-
display: none;
|
95 |
-
}
|
96 |
-
|
97 |
-
.epsilon-deactivate-form-active .epsilon-deactivate-form {
|
98 |
-
position: absolute;
|
99 |
-
bottom: 30px;
|
100 |
-
left: 0;
|
101 |
-
max-width: 400px;
|
102 |
-
background: #fff;
|
103 |
-
white-space: normal;
|
104 |
-
}
|
105 |
-
|
106 |
-
.epsilon-deactivate-form-head {
|
107 |
-
background: #272754;
|
108 |
-
color: #fff;
|
109 |
-
padding: 8px 18px;
|
110 |
-
}
|
111 |
-
|
112 |
-
.epsilon-deactivate-form-body {
|
113 |
-
padding: 8px 18px;
|
114 |
-
color: #444;
|
115 |
-
}
|
116 |
-
|
117 |
-
.deactivating-spinner {
|
118 |
-
display: none;
|
119 |
-
}
|
120 |
-
|
121 |
-
.deactivating-spinner .spinner {
|
122 |
-
float: none;
|
123 |
-
margin: 4px 4px 0 18px;
|
124 |
-
vertical-align: bottom;
|
125 |
-
visibility: visible;
|
126 |
-
}
|
127 |
-
|
128 |
-
.epsilon-deactivate-form-footer {
|
129 |
-
padding: 8px 18px;
|
130 |
-
}
|
131 |
-
|
132 |
-
.epsilon-deactivate-form-footer p {
|
133 |
-
display: flex;
|
134 |
-
align-items: center;
|
135 |
-
justify-content: space-between;
|
136 |
-
}
|
137 |
-
|
138 |
-
.epsilon-deactivate-form.process-response .epsilon-deactivate-form-body,
|
139 |
-
.epsilon-deactivate-form.process-response .epsilon-deactivate-form-footer {
|
140 |
-
position: relative;
|
141 |
-
}
|
142 |
-
|
143 |
-
.epsilon-deactivate-form.process-response .epsilon-deactivate-form-body:after,
|
144 |
-
.epsilon-deactivate-form.process-response .epsilon-deactivate-form-footer:after {
|
145 |
-
content: "";
|
146 |
-
display: block;
|
147 |
-
position: absolute;
|
148 |
-
top: 0;
|
149 |
-
left: 0;
|
150 |
-
width: 100%;
|
151 |
-
height: 100%;
|
152 |
-
background-color: rgba(255, 255, 255, .5);
|
153 |
-
}
|
154 |
-
</style>
|
155 |
-
<script>
|
156 |
-
jQuery( document ).ready( function( $ ) {
|
157 |
-
var deactivateURL = $( "#epsilon-deactivate-link-<?php echo esc_attr( $this->plugin_name ); ?>" ),
|
158 |
-
formContainer = $( '#epsilon-deactivate-form-<?php echo esc_attr( $this->plugin_name ); ?>' ),
|
159 |
-
detailsStrings = {
|
160 |
-
'setup': '<?php echo __( 'What was the dificult part ?', 'saboxplugin' ); ?>',
|
161 |
-
'documentation': '<?php echo __( 'What can we describe more ?', 'saboxplugin' ); ?>',
|
162 |
-
'features': '<?php echo __( 'How could we improve ?', 'saboxplugin' ); ?>',
|
163 |
-
'better-plugin': '<?php echo __( 'Can you mention it ?', 'saboxplugin' ); ?>',
|
164 |
-
'incompatibility': '<?php echo __( 'With what plugin or theme is incompatible ?', 'saboxplugin' ); ?>',
|
165 |
-
};
|
166 |
-
|
167 |
-
$( deactivateURL ).on( "click", function() {
|
168 |
-
// We'll send the user to this deactivation link when they've completed or dismissed the form
|
169 |
-
var url = deactivateURL.attr( 'href' );
|
170 |
-
$( 'body' ).toggleClass( 'epsilon-deactivate-form-active' );
|
171 |
-
formContainer.fadeIn( {
|
172 |
-
complete: function() {
|
173 |
-
var offset = formContainer.offset();
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
$form
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
'
|
241 |
-
'
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class Epsilon_Feedback_SAB {
|
4 |
+
|
5 |
+
private $plugin_file = '';
|
6 |
+
private $plugin_name = '';
|
7 |
+
|
8 |
+
function __construct( $_plugin_file ) {
|
9 |
+
|
10 |
+
$this->plugin_file = $_plugin_file;
|
11 |
+
$this->plugin_name = basename( $this->plugin_file, '.php' );
|
12 |
+
|
13 |
+
// Deactivation
|
14 |
+
add_filter(
|
15 |
+
'plugin_action_links_' . plugin_basename( $this->plugin_file ), array(
|
16 |
+
$this,
|
17 |
+
'filter_action_links',
|
18 |
+
)
|
19 |
+
);
|
20 |
+
add_action( 'admin_footer-plugins.php', array( $this, 'goodbye_ajax' ) );
|
21 |
+
add_action( 'wp_ajax_epsilon_deactivate_plugin', array( $this, 'epsilon_deactivate_plugin_callback' ) );
|
22 |
+
|
23 |
+
}
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Filter the deactivation link to allow us to present a form when the user deactivates the plugin
|
27 |
+
*
|
28 |
+
* @since 1.0.0
|
29 |
+
*/
|
30 |
+
public function filter_action_links( $links ) {
|
31 |
+
|
32 |
+
if ( isset( $links['deactivate'] ) ) {
|
33 |
+
$deactivation_link = $links['deactivate'];
|
34 |
+
// Insert an onClick action to allow form before deactivating
|
35 |
+
$deactivation_link = str_replace( '<a ', '<div class="epsilon-deactivate-form-wrapper"><span class="epsilon-deactivate-form" id="epsilon-deactivate-form-' . esc_attr( $this->plugin_name ) . '"></span></div><a onclick="javascript:event.preventDefault();" id="epsilon-deactivate-link-' . esc_attr( $this->plugin_name ) . '" ', $deactivation_link );
|
36 |
+
$links['deactivate'] = $deactivation_link;
|
37 |
+
}
|
38 |
+
|
39 |
+
return $links;
|
40 |
+
}
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Form text strings
|
44 |
+
* These can be filtered
|
45 |
+
*
|
46 |
+
* @since 1.0.0
|
47 |
+
*/
|
48 |
+
public function goodbye_ajax() {
|
49 |
+
// Get our strings for the form
|
50 |
+
$form = $this->get_form_info();
|
51 |
+
|
52 |
+
// Build the HTML to go in the form
|
53 |
+
$html = '<div class="epsilon-deactivate-form-head"><strong>' . esc_html( $form['heading'] ) . '</strong></div>';
|
54 |
+
$html .= '<div class="epsilon-deactivate-form-body"><p>' . esc_html( $form['body'] ) . '</p>';
|
55 |
+
if ( is_array( $form['options'] ) ) {
|
56 |
+
$html .= '<div class="epsilon-deactivate-options"><p>';
|
57 |
+
foreach ( $form['options'] as $key => $option ) {
|
58 |
+
if ( 'features' == $key ) {
|
59 |
+
$html .= '<input type="radio" name="epsilon-deactivate-reason" checked="checked" id="' . esc_attr( $key ) . '" value="' . esc_attr( $key ) . '"> <label for="' . esc_attr( $key ) . '">' . esc_attr( $option ) . '</label><br>';
|
60 |
+
} else {
|
61 |
+
$html .= '<input type="radio" name="epsilon-deactivate-reason" id="' . esc_attr( $key ) . '" value="' . esc_attr( $key ) . '"> <label for="' . esc_attr( $key ) . '">' . esc_attr( $option ) . '</label><br>';
|
62 |
+
}
|
63 |
+
}
|
64 |
+
$html .= '</p><label id="epsilon-deactivate-details-label" for="epsilon-deactivate-reasons"><strong>' . esc_html( $form['details'] ) . '</strong></label><textarea name="epsilon-deactivate-details" id="epsilon-deactivate-details" rows="2" style="width:100%"></textarea>';
|
65 |
+
$html .= '<input type="checkbox" name="epsilon-deactivate-tracking" checked="" id="allow-tracking" value="yes"> <label for="allow-tracking">' . esc_html__( 'Allow us to get more information in order to improve our plugin', 'saboxplugin' ) . '</label><br>';
|
66 |
+
$html .= '</div><!-- .epsilon-deactivate-options -->';
|
67 |
+
}
|
68 |
+
$html .= '</div><!-- .epsilon-deactivate-form-body -->';
|
69 |
+
$html .= '<p class="deactivating-spinner"><span class="spinner"></span> ' . __( 'Submitting form', 'saboxplugin' ) . '</p>';
|
70 |
+
$html .= '<div class="epsilon-deactivate-form-footer"><p><a id="epsilon-deactivate-plugin" href="#">' . __( 'Just Deactivate', 'saboxplugin' ) . '</a><a id="epsilon-deactivate-submit-form" class="button button-primary" href="#">' . __( 'Submit and Deactivate', 'saboxplugin' ) . '</a></p></div>'
|
71 |
+
?>
|
72 |
+
<div class="epsilon-deactivate-form-bg"></div>
|
73 |
+
<style type="text/css">
|
74 |
+
.epsilon-deactivate-form-active .epsilon-deactivate-form-bg {
|
75 |
+
background: rgba(0, 0, 0, .5);
|
76 |
+
position: fixed;
|
77 |
+
top: 0;
|
78 |
+
left: 0;
|
79 |
+
width: 100%;
|
80 |
+
height: 100%;
|
81 |
+
}
|
82 |
+
|
83 |
+
.epsilon-deactivate-form-wrapper {
|
84 |
+
position: relative;
|
85 |
+
z-index: 999;
|
86 |
+
display: none;
|
87 |
+
}
|
88 |
+
|
89 |
+
.epsilon-deactivate-form-active .epsilon-deactivate-form-wrapper {
|
90 |
+
display: block;
|
91 |
+
}
|
92 |
+
|
93 |
+
.epsilon-deactivate-form {
|
94 |
+
display: none;
|
95 |
+
}
|
96 |
+
|
97 |
+
.epsilon-deactivate-form-active .epsilon-deactivate-form {
|
98 |
+
position: absolute;
|
99 |
+
bottom: 30px;
|
100 |
+
left: 0;
|
101 |
+
max-width: 400px;
|
102 |
+
background: #fff;
|
103 |
+
white-space: normal;
|
104 |
+
}
|
105 |
+
|
106 |
+
.epsilon-deactivate-form-head {
|
107 |
+
background: #272754;
|
108 |
+
color: #fff;
|
109 |
+
padding: 8px 18px;
|
110 |
+
}
|
111 |
+
|
112 |
+
.epsilon-deactivate-form-body {
|
113 |
+
padding: 8px 18px;
|
114 |
+
color: #444;
|
115 |
+
}
|
116 |
+
|
117 |
+
.deactivating-spinner {
|
118 |
+
display: none;
|
119 |
+
}
|
120 |
+
|
121 |
+
.deactivating-spinner .spinner {
|
122 |
+
float: none;
|
123 |
+
margin: 4px 4px 0 18px;
|
124 |
+
vertical-align: bottom;
|
125 |
+
visibility: visible;
|
126 |
+
}
|
127 |
+
|
128 |
+
.epsilon-deactivate-form-footer {
|
129 |
+
padding: 8px 18px;
|
130 |
+
}
|
131 |
+
|
132 |
+
.epsilon-deactivate-form-footer p {
|
133 |
+
display: flex;
|
134 |
+
align-items: center;
|
135 |
+
justify-content: space-between;
|
136 |
+
}
|
137 |
+
|
138 |
+
.epsilon-deactivate-form.process-response .epsilon-deactivate-form-body,
|
139 |
+
.epsilon-deactivate-form.process-response .epsilon-deactivate-form-footer {
|
140 |
+
position: relative;
|
141 |
+
}
|
142 |
+
|
143 |
+
.epsilon-deactivate-form.process-response .epsilon-deactivate-form-body:after,
|
144 |
+
.epsilon-deactivate-form.process-response .epsilon-deactivate-form-footer:after {
|
145 |
+
content: "";
|
146 |
+
display: block;
|
147 |
+
position: absolute;
|
148 |
+
top: 0;
|
149 |
+
left: 0;
|
150 |
+
width: 100%;
|
151 |
+
height: 100%;
|
152 |
+
background-color: rgba(255, 255, 255, .5);
|
153 |
+
}
|
154 |
+
</style>
|
155 |
+
<script>
|
156 |
+
jQuery( document ).ready( function( $ ) {
|
157 |
+
var deactivateURL = $( "#epsilon-deactivate-link-<?php echo esc_attr( $this->plugin_name ); ?>" ),
|
158 |
+
formContainer = $( '#epsilon-deactivate-form-<?php echo esc_attr( $this->plugin_name ); ?>' ),
|
159 |
+
detailsStrings = {
|
160 |
+
'setup': '<?php echo __( 'What was the dificult part ?', 'saboxplugin' ); ?>',
|
161 |
+
'documentation': '<?php echo __( 'What can we describe more ?', 'saboxplugin' ); ?>',
|
162 |
+
'features': '<?php echo __( 'How could we improve ?', 'saboxplugin' ); ?>',
|
163 |
+
'better-plugin': '<?php echo __( 'Can you mention it ?', 'saboxplugin' ); ?>',
|
164 |
+
'incompatibility': '<?php echo __( 'With what plugin or theme is incompatible ?', 'saboxplugin' ); ?>',
|
165 |
+
};
|
166 |
+
|
167 |
+
$( deactivateURL ).on( "click", function() {
|
168 |
+
// We'll send the user to this deactivation link when they've completed or dismissed the form
|
169 |
+
var url = deactivateURL.attr( 'href' );
|
170 |
+
$( 'body' ).toggleClass( 'epsilon-deactivate-form-active' );
|
171 |
+
formContainer.fadeIn( {
|
172 |
+
complete: function() {
|
173 |
+
var offset = formContainer.offset();
|
174 |
+
if( offset.top < 50 ) {
|
175 |
+
$(this).parent().css('top', (50 - offset.top) + 'px')
|
176 |
+
}
|
177 |
+
$( 'body' ).animate( { scrollTop: Math.max( 0, offset.top - 50 ) } );
|
178 |
+
}
|
179 |
+
} );
|
180 |
+
formContainer.html( '<?php echo $html; ?>' );
|
181 |
+
|
182 |
+
formContainer.on( 'change', 'input[name="epsilon-deactivate-reason"]', function() {
|
183 |
+
var detailsLabel = formContainer.find( '#epsilon-deactivate-details-label strong' );
|
184 |
+
var value = formContainer.find( 'input[name="epsilon-deactivate-reason"]:checked' ).val();
|
185 |
+
detailsLabel.text( detailsStrings[ value ] );
|
186 |
+
} );
|
187 |
+
|
188 |
+
formContainer.on( 'click', '#epsilon-deactivate-submit-form', function( e ) {
|
189 |
+
var data = {
|
190 |
+
'action': 'epsilon_deactivate_plugin',
|
191 |
+
'security': "<?php echo wp_create_nonce( 'epsilon_deactivate_plugin' ); ?>",
|
192 |
+
'dataType': "json"
|
193 |
+
};
|
194 |
+
e.preventDefault();
|
195 |
+
// As soon as we click, the body of the form should disappear
|
196 |
+
formContainer.addClass( 'process-response' );
|
197 |
+
// Fade in spinner
|
198 |
+
formContainer.find( ".deactivating-spinner" ).fadeIn();
|
199 |
+
|
200 |
+
data[ 'reason' ] = formContainer.find( 'input[name="epsilon-deactivate-reason"]:checked' ).val();
|
201 |
+
data[ 'details' ] = formContainer.find( '#epsilon-deactivate-details' ).val();
|
202 |
+
data[ 'tracking' ] = formContainer.find( '#allow-tracking:checked' ).length;
|
203 |
+
|
204 |
+
$.post(
|
205 |
+
ajaxurl,
|
206 |
+
data,
|
207 |
+
function( response ) {
|
208 |
+
// Redirect to original deactivation URL
|
209 |
+
window.location.href = url;
|
210 |
+
}
|
211 |
+
);
|
212 |
+
} );
|
213 |
+
|
214 |
+
formContainer.on( 'click', '#epsilon-deactivate-plugin', function( e ) {
|
215 |
+
e.preventDefault();
|
216 |
+
window.location.href = url;
|
217 |
+
} );
|
218 |
+
|
219 |
+
// If we click outside the form, the form will close
|
220 |
+
$( '.epsilon-deactivate-form-bg' ).on( 'click', function() {
|
221 |
+
formContainer.fadeOut();
|
222 |
+
$( 'body' ).removeClass( 'epsilon-deactivate-form-active' );
|
223 |
+
} );
|
224 |
+
} );
|
225 |
+
} );
|
226 |
+
</script>
|
227 |
+
<?php
|
228 |
+
}
|
229 |
+
|
230 |
+
/*
|
231 |
+
* Form text strings
|
232 |
+
* These are non-filterable and used as fallback in case filtered strings aren't set correctly
|
233 |
+
* @since 1.0.0
|
234 |
+
*/
|
235 |
+
public function get_form_info() {
|
236 |
+
$form = array();
|
237 |
+
$form['heading'] = __( 'Sorry to see you go', 'saboxplugin' );
|
238 |
+
$form['body'] = __( 'Before you deactivate the plugin, would you quickly give us your reason for doing so?', 'saboxplugin' );
|
239 |
+
$form['options'] = array(
|
240 |
+
'setup' => __( 'Set up is too difficult', 'saboxplugin' ),
|
241 |
+
'documentation' => __( 'Lack of documentation', 'saboxplugin' ),
|
242 |
+
'features' => __( 'Not the features I wanted', 'saboxplugin' ),
|
243 |
+
'better-plugin' => __( 'Found a better plugin', 'saboxplugin' ),
|
244 |
+
'incompatibility' => __( 'Incompatible with theme or plugin', 'saboxplugin' ),
|
245 |
+
);
|
246 |
+
$form['details'] = __( 'How could we improve ?', 'saboxplugin' );
|
247 |
+
|
248 |
+
return $form;
|
249 |
+
}
|
250 |
+
|
251 |
+
public function epsilon_deactivate_plugin_callback() {
|
252 |
+
|
253 |
+
check_ajax_referer( 'epsilon_deactivate_plugin', 'security' );
|
254 |
+
|
255 |
+
if ( isset( $_POST['reason'] ) && isset( $_POST['details'] ) && isset( $_POST['tracking'] ) ) {
|
256 |
+
require_once 'class-epsilon-plugin-request-sab.php';
|
257 |
+
$args = array(
|
258 |
+
'reason' => $_POST['reason'],
|
259 |
+
'details' => $_POST['details'],
|
260 |
+
'tracking' => $_POST['tracking'],
|
261 |
+
);
|
262 |
+
$request = new Epsilon_Plugin_Request_SAB( $this->plugin_file, $args );
|
263 |
+
if ( $request->request_successful ) {
|
264 |
+
echo json_encode(
|
265 |
+
array(
|
266 |
+
'status' => 'ok',
|
267 |
+
)
|
268 |
+
);
|
269 |
+
} else {
|
270 |
+
echo json_encode(
|
271 |
+
array(
|
272 |
+
'status' => 'nok',
|
273 |
+
)
|
274 |
+
);
|
275 |
+
}
|
276 |
+
} else {
|
277 |
+
echo json_encode(
|
278 |
+
array(
|
279 |
+
'status' => 'ok',
|
280 |
+
)
|
281 |
+
);
|
282 |
+
}
|
283 |
+
|
284 |
+
die();
|
285 |
+
}
|
286 |
+
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: machothemes, silkalns
|
|
3 |
Tags: author box, responsive author box, author profile fields, author social icons, profile fields, author bio, author description, author profile, user profile, post author, rtl author box
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 2.0.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -79,6 +79,14 @@ Or you can give back by recommending this amazing plugin to your friends!
|
|
79 |
|
80 |
== Changelog ==
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
= 2.0.5 =
|
83 |
* Fixed Profile Image of Admin Covers All User's Avatars : https://github.com/MachoThemes/simple-author-box/issues/58
|
84 |
|
3 |
Tags: author box, responsive author box, author profile fields, author social icons, profile fields, author bio, author description, author profile, user profile, post author, rtl author box
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 2.0.7
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 2.0.7 =
|
83 |
+
* Added AMP compatibility
|
84 |
+
* Fixed some CSS isues & cleaned up the code
|
85 |
+
|
86 |
+
= 2.0.6 =
|
87 |
+
* Initial PRO version release & minor bug fixes
|
88 |
+
* Saving now remembers the tab you were on
|
89 |
+
|
90 |
= 2.0.5 =
|
91 |
* Fixed Profile Image of Admin Covers All User's Avatars : https://github.com/MachoThemes/simple-author-box/issues/58
|
92 |
|
simple-author-box.php
CHANGED
@@ -3,13 +3,13 @@
|
|
3 |
* Plugin Name: Simple Author Box
|
4 |
* Plugin URI: http://wordpress.org/plugins/simple-author-box/
|
5 |
* Description: Adds a responsive author box with social icons on your posts.
|
6 |
-
* Version: 2.0.
|
7 |
* Author: Macho Themes
|
8 |
* Author URI: https://www.machothemes.com/
|
9 |
* License: GPLv3
|
10 |
*/
|
11 |
|
12 |
-
/* Copyright
|
13 |
|
14 |
THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
|
15 |
IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
|
@@ -30,7 +30,7 @@
|
|
30 |
define( 'SIMPLE_AUTHOR_BOX_PATH', plugin_dir_path( __FILE__ ) );
|
31 |
define( 'SIMPLE_AUTHOR_BOX_ASSETS', plugins_url( '/assets/', __FILE__ ) );
|
32 |
define( 'SIMPLE_AUTHOR_BOX_SLUG', plugin_basename( __FILE__ ) );
|
33 |
-
define( 'SIMPLE_AUTHOR_BOX_VERSION', '2.0.
|
34 |
define( 'SIMPLE_AUTHOR_SCRIPT_DEBUG', false );
|
35 |
|
36 |
|
3 |
* Plugin Name: Simple Author Box
|
4 |
* Plugin URI: http://wordpress.org/plugins/simple-author-box/
|
5 |
* Description: Adds a responsive author box with social icons on your posts.
|
6 |
+
* Version: 2.0.7
|
7 |
* Author: Macho Themes
|
8 |
* Author URI: https://www.machothemes.com/
|
9 |
* License: GPLv3
|
10 |
*/
|
11 |
|
12 |
+
/* Copyright 2018 Machothemes (email : office [at] machothemes [dot] com)
|
13 |
|
14 |
THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
|
15 |
IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
|
30 |
define( 'SIMPLE_AUTHOR_BOX_PATH', plugin_dir_path( __FILE__ ) );
|
31 |
define( 'SIMPLE_AUTHOR_BOX_ASSETS', plugins_url( '/assets/', __FILE__ ) );
|
32 |
define( 'SIMPLE_AUTHOR_BOX_SLUG', plugin_basename( __FILE__ ) );
|
33 |
+
define( 'SIMPLE_AUTHOR_BOX_VERSION', '2.0.7' );
|
34 |
define( 'SIMPLE_AUTHOR_SCRIPT_DEBUG', false );
|
35 |
|
36 |
|