Version Description
- Added: Improvements on getting likers data from database.
- Added: Aria-label option for buttons to make more accessibility support.
- Added: Database structure upgrade to fix IPv6 issues.
- Fixed: Auto display issue in BuddyPress comments content.
- Fixed: An issue with author points in mycred integration.
- Fixed: PopHover display issues.
- Fixed: An issue with CSS validation.
- Fixed: Some small issues.
Download this release
Release Info
Developer | alimir |
Plugin | WP ULike |
Version | 4.1.9 |
Comparing to | |
See all releases |
Code changes from version 4.1.8 to 4.1.9
- admin/admin-functions.php +1 -1
- admin/assets/css/admin.css +131 -453
- admin/assets/css/plugins.css +120 -479
- admin/assets/js/plugins.js +1 -1
- admin/classes/class-wp-ulike-admin-panel.php +6 -0
- admin/classes/class-wp-ulike-stats.php +1 -1
- assets/css/wp-ulike.css +24 -17
- assets/css/wp-ulike.min.css +1 -1
- assets/js/wp-ulike.js +15 -4
- assets/js/wp-ulike.min.js +1 -1
- inc/classes/class-wp-ulike-mycred.php +14 -15
- inc/classes/class-wp-ulike.php +1 -1
- inc/general-functions.php +53 -17
- inc/general-hooks.php +28 -12
- readme.txt +11 -1
- wp-ulike.php +12 -2
admin/admin-functions.php
CHANGED
@@ -117,7 +117,7 @@ function wp_ulike_get_number_of_new_likes() {
|
|
117 |
);
|
118 |
|
119 |
$counter_value = $wpdb->get_var( $query );
|
120 |
-
wp_cache_set( $cache_key, $counter_value, WP_ULIKE_SLUG );
|
121 |
}
|
122 |
|
123 |
return empty( $counter_value ) ? 0 : $counter_value;
|
117 |
);
|
118 |
|
119 |
$counter_value = $wpdb->get_var( $query );
|
120 |
+
wp_cache_set( $cache_key, $counter_value, WP_ULIKE_SLUG, 300 );
|
121 |
}
|
122 |
|
123 |
return empty( $counter_value ) ? 0 : $counter_value;
|
admin/assets/css/admin.css
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
/*
|
2 |
-
/------------------------------------------\
|
3 |
-
_ __ _ _____ _ _ _ _
|
4 |
| | / \ | | ___ \ | |(_)| | / /
|
5 |
| | / /\ \ | | |_/ / _| || || |/ / ___
|
6 |
| | / / \ \ | | __/ | | | || || | / _ \
|
@@ -14,468 +13,147 @@ https://wordpress.org/plugins/wp-ulike/
|
|
14 |
|
15 |
\------------------------------------------/
|
16 |
*/
|
17 |
-
/**
|
18 |
-
|
19 |
-
*/
|
20 |
-
@font-face {
|
21 |
-
font-family: 'wp-ulike';
|
22 |
-
src: url("../fonts/wp-ulike.eot?113a2q");
|
23 |
-
src: url("../fonts/wp-ulike.eot?113a2q#iefix") format("embedded-opentype"), url("../fonts/wp-ulike.ttf?113a2q") format("truetype"), url("../fonts/wp-ulike.woff?113a2q") format("woff"), url("../fonts/wp-ulike.svg?113a2q#wp-ulike") format("svg");
|
24 |
-
font-weight: normal;
|
25 |
-
font-style: normal;
|
26 |
-
}
|
27 |
-
[class^="wp-ulike-icons-"], [class*=" wp-ulike-icons-"] {
|
28 |
-
/* use !important to prevent issues with browser extensions that change fonts */
|
29 |
-
font-family: 'wp-ulike' !important;
|
30 |
-
speak: none;
|
31 |
-
font-style: normal;
|
32 |
-
font-weight: normal;
|
33 |
-
font-variant: normal;
|
34 |
-
text-transform: none;
|
35 |
-
line-height: 1;
|
36 |
-
/* Better Font Rendering =========== */
|
37 |
-
-webkit-font-smoothing: antialiased;
|
38 |
-
-moz-osx-font-smoothing: grayscale;
|
39 |
-
}
|
40 |
|
41 |
/* wp-ulike dashicons */
|
42 |
-
.dashicons.dashicons-wp-ulike, .dashicons-before.dashicons-wp-ulike::before {
|
43 |
-
font-family: 'wp-ulike' !important;
|
44 |
-
}
|
45 |
|
46 |
-
.dashicons-wp-ulike::before {
|
47 |
-
content: "\e905";
|
48 |
-
}
|
49 |
|
50 |
/* wp-ulike dashicons */
|
51 |
-
.wp-ulike-icons-thumb_up:before {
|
52 |
-
content: "\e905";
|
53 |
-
}
|
54 |
|
55 |
-
.wp-ulike-icons-thumb_down:before {
|
56 |
-
content: "\e906";
|
57 |
-
}
|
58 |
|
59 |
-
.wp-ulike-icons-thumbs-up:before {
|
60 |
-
content: "\e900";
|
61 |
-
}
|
62 |
|
63 |
-
.wp-ulike-icons-thumbs-down:before {
|
64 |
-
content: "\e901";
|
65 |
-
}
|
66 |
|
67 |
-
.wp-ulike-icons-thumbs-down2:before {
|
68 |
-
content: "\e902";
|
69 |
-
}
|
70 |
|
71 |
-
.wp-ulike-icons-thumbs-up2:before {
|
72 |
-
content: "\e903";
|
73 |
-
}
|
74 |
|
75 |
-
.wp-ulike-icons-like:before {
|
76 |
-
content: "\e904";
|
77 |
-
}
|
78 |
|
79 |
-
.wp-ulike-icons-mobile:before {
|
80 |
-
content: "\e000";
|
81 |
-
}
|
82 |
|
83 |
-
.wp-ulike-icons-bargraph:before {
|
84 |
-
content: "\e018";
|
85 |
-
}
|
86 |
|
87 |
-
.wp-ulike-icons-adjustments:before {
|
88 |
-
|
89 |
-
}
|
90 |
-
|
91 |
-
.wp-ulike-icons-
|
92 |
-
|
93 |
-
}
|
94 |
-
|
95 |
-
.wp-ulike-icons-
|
96 |
-
|
97 |
-
}
|
98 |
-
|
99 |
-
.wp-ulike-icons-
|
100 |
-
|
101 |
-
}
|
102 |
-
|
103 |
-
.wp-ulike-icons-
|
104 |
-
|
105 |
-
}
|
106 |
-
|
107 |
-
.wp-ulike-icons-
|
108 |
-
|
109 |
-
}
|
110 |
-
|
111 |
-
.wp-ulike-icons-
|
112 |
-
|
113 |
-
}
|
114 |
-
|
115 |
-
.wp-ulike-icons-
|
116 |
-
|
117 |
-
}
|
118 |
-
|
119 |
-
.wp-ulike-icons-
|
120 |
-
|
121 |
-
}
|
122 |
-
|
123 |
-
.wp-ulike-icons-
|
124 |
-
|
125 |
-
}
|
126 |
-
|
127 |
-
.wp-ulike-icons-
|
128 |
-
|
129 |
-
}
|
130 |
-
|
131 |
-
.wp-ulike-icons-
|
132 |
-
|
133 |
-
}
|
134 |
-
|
135 |
-
.wp-ulike-icons-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
.wp-ulike-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
.wp-ulike-
|
144 |
-
|
145 |
-
}
|
146 |
-
|
147 |
-
.wp-ulike-
|
148 |
-
|
149 |
-
}
|
150 |
-
|
151 |
-
.wp-ulike-
|
152 |
-
|
153 |
-
}
|
154 |
-
|
155 |
-
.wp-ulike-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
.wp-ulike-
|
160 |
-
|
161 |
-
}
|
162 |
-
|
163 |
-
.wp-ulike-
|
164 |
-
|
165 |
-
}
|
166 |
-
|
167 |
-
.wp-ulike-
|
168 |
-
|
169 |
-
}
|
170 |
-
|
171 |
-
.wp-ulike-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
.wp-ulike-
|
176 |
-
|
177 |
-
}
|
178 |
-
|
179 |
-
.wp-ulike-
|
180 |
-
|
181 |
-
}
|
182 |
-
|
183 |
-
.wp-ulike-
|
184 |
-
|
185 |
-
}
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
}
|
193 |
-
.wp-ulike-
|
194 |
-
|
195 |
-
|
196 |
-
}
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
.wp-ulike-
|
202 |
-
|
203 |
-
}
|
204 |
-
.wp-ulike-settings-notice.wp-ulike-notice-control, .wp-ulike-notice-wrapper.wp-ulike-notice-control {
|
205 |
-
display: flex;
|
206 |
-
align-items: center;
|
207 |
-
padding: 30px 40px;
|
208 |
-
margin-top: 20px !important;
|
209 |
-
margin-bottom: 20px !important;
|
210 |
-
box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
|
211 |
-
border-left: 0;
|
212 |
-
border-right: 0;
|
213 |
-
margin-top: 20px !important;
|
214 |
-
margin-bottom: 20px !important;
|
215 |
-
}
|
216 |
-
.wp-ulike-settings-notice.wp-ulike-notice-control:before, .wp-ulike-notice-wrapper.wp-ulike-notice-control:before {
|
217 |
-
content: '';
|
218 |
-
position: absolute;
|
219 |
-
left: 6px;
|
220 |
-
top: 0;
|
221 |
-
bottom: 0;
|
222 |
-
width: 6px;
|
223 |
-
background-color: #2C87FF;
|
224 |
-
-webkit-transform: translateX(-6px);
|
225 |
-
-ms-transform: translateX(-6px);
|
226 |
-
transform: translateX(-6px);
|
227 |
-
box-shadow: 0 3px 6px rgba(44, 135, 255, 0.16);
|
228 |
-
}
|
229 |
-
.wp-ulike-settings-notice.wp-ulike-notice-skin-success, .wp-ulike-notice-wrapper.wp-ulike-notice-skin-success {
|
230 |
-
box-shadow: 0 3px 6px rgba(57, 216, 148, 0.16);
|
231 |
-
}
|
232 |
-
.wp-ulike-settings-notice.wp-ulike-notice-skin-success:before, .wp-ulike-notice-wrapper.wp-ulike-notice-skin-success:before {
|
233 |
-
background-color: #39D894;
|
234 |
-
}
|
235 |
-
.wp-ulike-settings-notice.wp-ulike-notice-skin-info, .wp-ulike-notice-wrapper.wp-ulike-notice-skin-info {
|
236 |
-
box-shadow: 0 3px 6px rgba(255, 166, 88, 0.16);
|
237 |
-
}
|
238 |
-
.wp-ulike-settings-notice.wp-ulike-notice-skin-info:before, .wp-ulike-notice-wrapper.wp-ulike-notice-skin-info:before {
|
239 |
-
background-color: #FFA658;
|
240 |
-
}
|
241 |
-
.wp-ulike-settings-notice.wp-ulike-notice-skin-error, .wp-ulike-notice-wrapper.wp-ulike-notice-skin-error {
|
242 |
-
box-shadow: 0 3px 6px rgba(255, 88, 88, 0.16);
|
243 |
-
}
|
244 |
-
.wp-ulike-settings-notice.wp-ulike-notice-skin-error:before, .wp-ulike-notice-wrapper.wp-ulike-notice-skin-error:before {
|
245 |
-
background-color: #FF5858;
|
246 |
-
}
|
247 |
-
.wp-ulike-settings-notice .wp-ulike-notice-image, .wp-ulike-notice-wrapper .wp-ulike-notice-image {
|
248 |
-
margin-right: 25px;
|
249 |
-
}
|
250 |
-
.wp-ulike-settings-notice .wp-ulike-notice-title, .wp-ulike-notice-wrapper .wp-ulike-notice-title {
|
251 |
-
font-size: 18px;
|
252 |
-
line-height: 24px;
|
253 |
-
font-weight: 600;
|
254 |
-
margin: 0;
|
255 |
-
margin-bottom: 5px;
|
256 |
-
letter-spacing: 0;
|
257 |
-
}
|
258 |
-
.wp-ulike-settings-notice .wp-ulike-notice-description, .wp-ulike-notice-wrapper .wp-ulike-notice-description {
|
259 |
-
font-size: 16px;
|
260 |
-
line-height: 23px;
|
261 |
-
font-weight: 400;
|
262 |
-
margin: 0;
|
263 |
-
}
|
264 |
-
.wp-ulike-settings-notice .wp-ulike-notice-submit, .wp-ulike-notice-wrapper .wp-ulike-notice-submit {
|
265 |
-
margin: 1.5em 0 0 -5px;
|
266 |
-
padding: 0;
|
267 |
-
}
|
268 |
-
.wp-ulike-settings-notice .wp-ulike-notice-submit .wp-ulike-btn, .wp-ulike-notice-wrapper .wp-ulike-notice-submit .wp-ulike-btn {
|
269 |
-
margin-bottom: 0;
|
270 |
-
margin: 0 5px;
|
271 |
-
}
|
272 |
-
.wp-ulike-settings-notice .wp-ulike-close-notice, .wp-ulike-notice-wrapper .wp-ulike-close-notice {
|
273 |
-
text-decoration: none;
|
274 |
-
}
|
275 |
-
|
276 |
-
.wp-ulike-settings-license-activation {
|
277 |
-
display: flex;
|
278 |
-
align-items: center;
|
279 |
-
flex-wrap: wrap;
|
280 |
-
}
|
281 |
-
.wp-ulike-settings-license-activation .settings-error {
|
282 |
-
flex: 0 1 100%;
|
283 |
-
}
|
284 |
-
.wp-ulike-settings-license-activation .regular-text {
|
285 |
-
font-size: 18px;
|
286 |
-
font-weight: 600;
|
287 |
-
width: 400px;
|
288 |
-
height: 45px;
|
289 |
-
}
|
290 |
-
.wp-ulike-settings-license-activation .button {
|
291 |
-
height: 45px;
|
292 |
-
font-weight: 700;
|
293 |
-
padding: 0 20px;
|
294 |
-
}
|
295 |
-
|
296 |
-
.wp-ulike-btn {
|
297 |
-
font-weight: 600;
|
298 |
-
display: inline-block;
|
299 |
-
position: relative;
|
300 |
-
line-height: 100%;
|
301 |
-
border: none;
|
302 |
-
cursor: pointer;
|
303 |
-
overflow: hidden;
|
304 |
-
text-decoration: none;
|
305 |
-
z-index: 1;
|
306 |
-
padding: 15px 20px !important;
|
307 |
-
background: #f7f7f7;
|
308 |
-
border-radius: 50em;
|
309 |
-
background-color: #2C87FF;
|
310 |
-
color: #fff;
|
311 |
-
}
|
312 |
-
.wp-ulike-btn:hover {
|
313 |
-
color: white;
|
314 |
-
background-color: #006bf8;
|
315 |
-
}
|
316 |
-
.wp-ulike-btn:focus {
|
317 |
-
outline: none;
|
318 |
-
box-shadow: none;
|
319 |
-
color: white;
|
320 |
-
}
|
321 |
-
.wp-ulike-btn .wp-ulike-text {
|
322 |
-
font-weight: 600;
|
323 |
-
font-size: 14px;
|
324 |
-
letter-spacing: 0;
|
325 |
-
}
|
326 |
-
.wp-ulike-btn.wp-ulike-btn-success {
|
327 |
-
background-color: #39D894;
|
328 |
-
}
|
329 |
-
.wp-ulike-btn.wp-ulike-btn-success:hover {
|
330 |
-
background-color: #25b97a;
|
331 |
-
}
|
332 |
-
.wp-ulike-btn.wp-ulike-btn-info {
|
333 |
-
background-color: #FFA658;
|
334 |
-
}
|
335 |
-
.wp-ulike-btn.wp-ulike-btn-info:hover {
|
336 |
-
background-color: #ff8b25;
|
337 |
-
}
|
338 |
-
.wp-ulike-btn.wp-ulike-btn-error {
|
339 |
-
background-color: #FF5858;
|
340 |
-
}
|
341 |
-
.wp-ulike-btn.wp-ulike-btn-error:hover {
|
342 |
-
background-color: #ff2525;
|
343 |
-
}
|
344 |
-
|
345 |
-
.wp-ulike-gopro-menu-link::before {
|
346 |
-
content: '';
|
347 |
-
background-image: url(../../../assets/img/svg/rocket.svg);
|
348 |
-
background-repeat: no-repeat;
|
349 |
-
background-size: cover;
|
350 |
-
display: inline-block;
|
351 |
-
width: 18px;
|
352 |
-
height: 18px;
|
353 |
-
vertical-align: middle;
|
354 |
-
}
|
355 |
-
.wp-ulike-gopro-menu-link strong {
|
356 |
-
padding: 0 5px;
|
357 |
-
}
|
358 |
-
|
359 |
-
.wp-ulike-simple-table {
|
360 |
-
width: 100%;
|
361 |
-
max-width: 100%;
|
362 |
-
margin-bottom: 2rem;
|
363 |
-
background-color: transparent;
|
364 |
-
}
|
365 |
-
.wp-ulike-simple-table > thead > tr,
|
366 |
-
.wp-ulike-simple-table > tbody > tr,
|
367 |
-
.wp-ulike-simple-table > tfoot > tr {
|
368 |
-
-webkit-transition: all 0.3s ease;
|
369 |
-
-o-transition: all 0.3s ease;
|
370 |
-
transition: all 0.3s ease;
|
371 |
-
}
|
372 |
-
.wp-ulike-simple-table > thead > tr > th,
|
373 |
-
.wp-ulike-simple-table > thead > tr > td,
|
374 |
-
.wp-ulike-simple-table > tbody > tr > th,
|
375 |
-
.wp-ulike-simple-table > tbody > tr > td,
|
376 |
-
.wp-ulike-simple-table > tfoot > tr > th,
|
377 |
-
.wp-ulike-simple-table > tfoot > tr > td {
|
378 |
-
text-align: left;
|
379 |
-
padding: 1rem;
|
380 |
-
vertical-align: top;
|
381 |
-
border-top: 0;
|
382 |
-
-webkit-transition: all 0.3s ease;
|
383 |
-
-o-transition: all 0.3s ease;
|
384 |
-
transition: all 0.3s ease;
|
385 |
-
}
|
386 |
-
.wp-ulike-simple-table > thead > tr > th {
|
387 |
-
font-weight: 600;
|
388 |
-
color: #757575;
|
389 |
-
vertical-align: bottom;
|
390 |
-
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
391 |
-
}
|
392 |
-
.wp-ulike-simple-table > caption + thead > tr:first-child > th,
|
393 |
-
.wp-ulike-simple-table > caption + thead > tr:first-child > td,
|
394 |
-
.wp-ulike-simple-table > colgroup + thead > tr:first-child > th,
|
395 |
-
.wp-ulike-simple-table > colgroup + thead > tr:first-child > td,
|
396 |
-
.wp-ulike-simple-table > thead:first-child > tr:first-child > th,
|
397 |
-
.wp-ulike-simple-table > thead:first-child > tr:first-child > td {
|
398 |
-
border-top: 0;
|
399 |
-
}
|
400 |
-
.wp-ulike-simple-table > tbody + tbody {
|
401 |
-
border-top: 1px solid rgba(0, 0, 0, 0.12);
|
402 |
-
}
|
403 |
-
.wp-ulike-simple-table .table {
|
404 |
-
background-color: transparent;
|
405 |
-
}
|
406 |
-
.wp-ulike-simple-table .no-border {
|
407 |
-
border: 0;
|
408 |
-
}
|
409 |
-
.wp-ulike-simple-table.table-bordered {
|
410 |
-
border: 0;
|
411 |
-
}
|
412 |
-
.wp-ulike-simple-table.table-bordered > thead > tr > th,
|
413 |
-
.wp-ulike-simple-table.table-bordered > thead > tr > td,
|
414 |
-
.wp-ulike-simple-table.table-bordered > tbody > tr > th,
|
415 |
-
.wp-ulike-simple-table.table-bordered > tbody > tr > td,
|
416 |
-
.wp-ulike-simple-table.table-bordered > tfoot > tr > th,
|
417 |
-
.wp-ulike-simple-table.table-bordered > tfoot > tr > td {
|
418 |
-
border: 0;
|
419 |
-
border-bottom: 1px solid #e0e0e0;
|
420 |
-
}
|
421 |
-
.wp-ulike-simple-table.table-bordered > thead > tr > th,
|
422 |
-
.wp-ulike-simple-table.table-bordered > thead > tr > td {
|
423 |
-
border-bottom-width: 2px;
|
424 |
-
}
|
425 |
-
|
426 |
-
.wp-ulike-table-icon {
|
427 |
-
width: 18px;
|
428 |
-
height: 18px;
|
429 |
-
}
|
430 |
-
|
431 |
-
/**
|
432 |
-
* RTL support
|
433 |
-
*/
|
434 |
-
.rtl form.wp-ulike p.submit {
|
435 |
-
margin-right: inherit;
|
436 |
-
margin-left: 20px;
|
437 |
-
}
|
438 |
-
.rtl form.wp-ulike .wp-ulike-settings-tabs h2 {
|
439 |
-
float: right;
|
440 |
-
border-right: 1px solid #e0e0e0;
|
441 |
-
border-left: none;
|
442 |
-
}
|
443 |
-
.rtl form.wrap .wp-ulike-settings-tabs h2:last-child {
|
444 |
-
border-left: 1px solid #ddd;
|
445 |
-
}
|
446 |
-
.rtl tr.hide-label td {
|
447 |
-
padding-right: 0;
|
448 |
-
padding-left: inherit !important;
|
449 |
-
}
|
450 |
-
.rtl .wp-ulike-about-page .ulike-badge {
|
451 |
-
right: inherit;
|
452 |
-
left: 0px;
|
453 |
-
}
|
454 |
-
.rtl .wp-ulike-notice .links a {
|
455 |
-
margin-right: 0;
|
456 |
-
margin-left: 8px;
|
457 |
-
}
|
458 |
-
.rtl .wp-ulike-notice-image {
|
459 |
-
margin-left: 25px;
|
460 |
-
margin-right: 0;
|
461 |
-
}
|
462 |
-
.rtl .wp-ulike-pro-stats-banner .wp-ulike-inner:before {
|
463 |
-
left: 5%;
|
464 |
-
right: 40%;
|
465 |
-
background-position: bottom left;
|
466 |
-
}
|
467 |
-
.rtl .wp-ulike-go-pro-page h2 {
|
468 |
-
text-align: right;
|
469 |
-
}
|
470 |
-
.rtl .wp-ulike-go-pro-page .wp-ulike-btn {
|
471 |
-
margin-left: 15px;
|
472 |
-
margin-right: 0;
|
473 |
-
}
|
474 |
-
.rtl .wp-ulike-go-pro-page .wp-ulike-simple-table > thead > tr > th,
|
475 |
-
.rtl .wp-ulike-go-pro-page .wp-ulike-simple-table > thead > tr > td,
|
476 |
-
.rtl .wp-ulike-go-pro-page .wp-ulike-simple-table > tbody > tr > th,
|
477 |
-
.rtl .wp-ulike-go-pro-page .wp-ulike-simple-table > tbody > tr > td,
|
478 |
-
.rtl .wp-ulike-go-pro-page .wp-ulike-simple-table > tfoot > tr > th,
|
479 |
-
.rtl .wp-ulike-go-pro-page .wp-ulike-simple-table > tfoot > tr > td {
|
480 |
-
text-align: right;
|
481 |
-
}
|
1 |
/*
|
2 |
+
/------------------------------------------\ _ __ _ _____ _ _ _ _
|
|
|
3 |
| | / \ | | ___ \ | |(_)| | / /
|
4 |
| | / /\ \ | | |_/ / _| || || |/ / ___
|
5 |
| | / / \ \ | | __/ | | | || || | / _ \
|
13 |
|
14 |
\------------------------------------------/
|
15 |
*/
|
16 |
+
/** WP ULike Icons */
|
17 |
+
@font-face { font-family: 'wp-ulike'; src: url("../fonts/wp-ulike.eot?113a2q"); src: url("../fonts/wp-ulike.eot?113a2q#iefix") format("embedded-opentype"), url("../fonts/wp-ulike.ttf?113a2q") format("truetype"), url("../fonts/wp-ulike.woff?113a2q") format("woff"), url("../fonts/wp-ulike.svg?113a2q#wp-ulike") format("svg"); font-weight: normal; font-style: normal; }
|
18 |
+
[class^="wp-ulike-icons-"], [class*=" wp-ulike-icons-"] { /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'wp-ulike' !important; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
/* wp-ulike dashicons */
|
21 |
+
.dashicons.dashicons-wp-ulike, .dashicons-before.dashicons-wp-ulike::before { font-family: 'wp-ulike' !important; }
|
|
|
|
|
22 |
|
23 |
+
.dashicons-wp-ulike::before { content: "\e905"; }
|
|
|
|
|
24 |
|
25 |
/* wp-ulike dashicons */
|
26 |
+
.wp-ulike-icons-thumb_up:before { content: "\e905"; }
|
|
|
|
|
27 |
|
28 |
+
.wp-ulike-icons-thumb_down:before { content: "\e906"; }
|
|
|
|
|
29 |
|
30 |
+
.wp-ulike-icons-thumbs-up:before { content: "\e900"; }
|
|
|
|
|
31 |
|
32 |
+
.wp-ulike-icons-thumbs-down:before { content: "\e901"; }
|
|
|
|
|
33 |
|
34 |
+
.wp-ulike-icons-thumbs-down2:before { content: "\e902"; }
|
|
|
|
|
35 |
|
36 |
+
.wp-ulike-icons-thumbs-up2:before { content: "\e903"; }
|
|
|
|
|
37 |
|
38 |
+
.wp-ulike-icons-like:before { content: "\e904"; }
|
|
|
|
|
39 |
|
40 |
+
.wp-ulike-icons-mobile:before { content: "\e000"; }
|
|
|
|
|
41 |
|
42 |
+
.wp-ulike-icons-bargraph:before { content: "\e018"; }
|
|
|
|
|
43 |
|
44 |
+
.wp-ulike-icons-adjustments:before { content: "\e01d"; }
|
45 |
+
|
46 |
+
.wp-ulike-icons-hourglass:before { content: "\e01f"; }
|
47 |
+
|
48 |
+
.wp-ulike-icons-trophy:before { content: "\e023"; }
|
49 |
+
|
50 |
+
.wp-ulike-icons-map:before { content: "\e025"; }
|
51 |
+
|
52 |
+
.wp-ulike-icons-puzzle:before { content: "\e026"; }
|
53 |
+
|
54 |
+
.wp-ulike-icons-gears:before { content: "\e02b"; }
|
55 |
+
|
56 |
+
.wp-ulike-icons-key:before { content: "\e02c"; }
|
57 |
+
|
58 |
+
.wp-ulike-icons-paperclip:before { content: "\e02d"; }
|
59 |
+
|
60 |
+
.wp-ulike-icons-attachment:before { content: "\e02e"; }
|
61 |
+
|
62 |
+
.wp-ulike-icons-pricetags:before { content: "\e02f"; }
|
63 |
+
|
64 |
+
.wp-ulike-icons-paintbrush:before { content: "\e036"; }
|
65 |
+
|
66 |
+
.wp-ulike-icons-magnifying-glass:before { content: "\e037"; }
|
67 |
+
|
68 |
+
.wp-ulike-icons-circle-compass:before { content: "\e038"; }
|
69 |
+
|
70 |
+
.wp-ulike-icons-linegraph:before { content: "\e039"; }
|
71 |
+
|
72 |
+
.wp-ulike-icons-mic:before { content: "\e03a"; }
|
73 |
+
|
74 |
+
.wp-ulike-icons-strategy:before { content: "\e03b"; }
|
75 |
+
|
76 |
+
.wp-ulike-icons-profile-male:before { content: "\e040"; }
|
77 |
+
|
78 |
+
.wp-ulike-icons-bike:before { content: "\e042"; }
|
79 |
+
|
80 |
+
.wp-ulike-icons-wine:before { content: "\e043"; }
|
81 |
+
|
82 |
+
.wp-ulike-icons-hotairballoon:before { content: "\e044"; }
|
83 |
+
|
84 |
+
.wp-ulike-icons-globe:before { content: "\e045"; }
|
85 |
+
|
86 |
+
.wp-ulike-icons-genius:before { content: "\e046"; }
|
87 |
+
|
88 |
+
.wp-ulike-icons-heart:before { content: "\e04a"; }
|
89 |
+
|
90 |
+
.wp-ulike-icons-global:before { content: "\e052"; }
|
91 |
+
|
92 |
+
.wp-ulike-icons-refresh:before { content: "\e05a"; }
|
93 |
+
|
94 |
+
/** Visual Select */
|
95 |
+
.wp-ulike-visual-select .csf--image.csf--active > img { filter: brightness(40%) sepia(100%) hue-rotate(170deg) saturate(250%); }
|
96 |
+
.wp-ulike-visual-select .csf--image > img { height: 40px; padding: 10px; }
|
97 |
+
|
98 |
+
/** Settings Page */
|
99 |
+
.wp-ulike-settings-notice, .wp-ulike-notice-wrapper { position: relative; }
|
100 |
+
.wp-ulike-settings-notice.wp-ulike-notice-control, .wp-ulike-notice-wrapper.wp-ulike-notice-control { display: flex; align-items: center; padding: 30px 40px; margin-top: 20px !important; margin-bottom: 20px !important; box-shadow: 0 0 25px rgba(0, 0, 0, 0.08); border-left: 0; border-right: 0; margin-top: 20px !important; margin-bottom: 20px !important; }
|
101 |
+
.wp-ulike-settings-notice.wp-ulike-notice-control:before, .wp-ulike-notice-wrapper.wp-ulike-notice-control:before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 6px; background-color: #2C87FF; -webkit-transform: translateX(-6px); -ms-transform: translateX(-6px); transform: translateX(-6px); box-shadow: 0 3px 6px rgba(44, 135, 255, 0.16); }
|
102 |
+
.wp-ulike-settings-notice.wp-ulike-notice-skin-success, .wp-ulike-notice-wrapper.wp-ulike-notice-skin-success { box-shadow: 0 3px 6px rgba(57, 216, 148, 0.16); }
|
103 |
+
.wp-ulike-settings-notice.wp-ulike-notice-skin-success:before, .wp-ulike-notice-wrapper.wp-ulike-notice-skin-success:before { background-color: #39D894; }
|
104 |
+
.wp-ulike-settings-notice.wp-ulike-notice-skin-info, .wp-ulike-notice-wrapper.wp-ulike-notice-skin-info { box-shadow: 0 3px 6px rgba(255, 166, 88, 0.16); }
|
105 |
+
.wp-ulike-settings-notice.wp-ulike-notice-skin-info:before, .wp-ulike-notice-wrapper.wp-ulike-notice-skin-info:before { background-color: #FFA658; }
|
106 |
+
.wp-ulike-settings-notice.wp-ulike-notice-skin-error, .wp-ulike-notice-wrapper.wp-ulike-notice-skin-error { box-shadow: 0 3px 6px rgba(255, 88, 88, 0.16); }
|
107 |
+
.wp-ulike-settings-notice.wp-ulike-notice-skin-error:before, .wp-ulike-notice-wrapper.wp-ulike-notice-skin-error:before { background-color: #FF5858; }
|
108 |
+
.wp-ulike-settings-notice .wp-ulike-notice-image, .wp-ulike-notice-wrapper .wp-ulike-notice-image { margin-right: 25px; }
|
109 |
+
.wp-ulike-settings-notice .wp-ulike-notice-title, .wp-ulike-notice-wrapper .wp-ulike-notice-title { font-size: 18px; line-height: 24px; font-weight: 600; margin: 0; margin-bottom: 5px; letter-spacing: 0; }
|
110 |
+
.wp-ulike-settings-notice .wp-ulike-notice-description, .wp-ulike-notice-wrapper .wp-ulike-notice-description { font-size: 16px; line-height: 23px; font-weight: 400; margin: 0; }
|
111 |
+
.wp-ulike-settings-notice .wp-ulike-notice-submit, .wp-ulike-notice-wrapper .wp-ulike-notice-submit { margin: 1.5em 0 0 -5px; padding: 0; }
|
112 |
+
.wp-ulike-settings-notice .wp-ulike-notice-submit .wp-ulike-btn, .wp-ulike-notice-wrapper .wp-ulike-notice-submit .wp-ulike-btn { margin-bottom: 0; margin: 0 5px; }
|
113 |
+
.wp-ulike-settings-notice .wp-ulike-close-notice, .wp-ulike-notice-wrapper .wp-ulike-close-notice { text-decoration: none; }
|
114 |
+
|
115 |
+
.wp-ulike-settings-license-activation { display: flex; align-items: center; flex-wrap: wrap; }
|
116 |
+
.wp-ulike-settings-license-activation .settings-error { flex: 0 1 100%; }
|
117 |
+
.wp-ulike-settings-license-activation .regular-text { font-size: 18px; font-weight: 600; width: 400px; height: 45px; }
|
118 |
+
.wp-ulike-settings-license-activation .button { height: 45px; font-weight: 700; padding: 0 20px; }
|
119 |
+
|
120 |
+
.wp-ulike-btn { font-weight: 600; display: inline-block; position: relative; line-height: 100%; border: none; cursor: pointer; overflow: hidden; text-decoration: none; z-index: 1; padding: 15px 20px !important; background: #f7f7f7; border-radius: 50em; background-color: #2C87FF; color: #fff; }
|
121 |
+
.wp-ulike-btn:hover { color: white; background-color: #006bf8; }
|
122 |
+
.wp-ulike-btn:focus { outline: none; box-shadow: none; color: white; }
|
123 |
+
.wp-ulike-btn .wp-ulike-text { font-weight: 600; font-size: 14px; letter-spacing: 0; }
|
124 |
+
.wp-ulike-btn.wp-ulike-btn-success { background-color: #39D894; }
|
125 |
+
.wp-ulike-btn.wp-ulike-btn-success:hover { background-color: #25b97a; }
|
126 |
+
.wp-ulike-btn.wp-ulike-btn-info { background-color: #FFA658; }
|
127 |
+
.wp-ulike-btn.wp-ulike-btn-info:hover { background-color: #ff8b25; }
|
128 |
+
.wp-ulike-btn.wp-ulike-btn-error { background-color: #FF5858; }
|
129 |
+
.wp-ulike-btn.wp-ulike-btn-error:hover { background-color: #ff2525; }
|
130 |
+
|
131 |
+
.wp-ulike-gopro-menu-link::before { content: ''; background-image: url(../../../assets/img/svg/rocket.svg); background-repeat: no-repeat; background-size: cover; display: inline-block; width: 18px; height: 18px; vertical-align: middle; }
|
132 |
+
.wp-ulike-gopro-menu-link strong { padding: 0 5px; }
|
133 |
+
|
134 |
+
.wp-ulike-simple-table { width: 100%; max-width: 100%; margin-bottom: 2rem; background-color: transparent; }
|
135 |
+
.wp-ulike-simple-table > thead > tr, .wp-ulike-simple-table > tbody > tr, .wp-ulike-simple-table > tfoot > tr { -webkit-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; }
|
136 |
+
.wp-ulike-simple-table > thead > tr > th, .wp-ulike-simple-table > thead > tr > td, .wp-ulike-simple-table > tbody > tr > th, .wp-ulike-simple-table > tbody > tr > td, .wp-ulike-simple-table > tfoot > tr > th, .wp-ulike-simple-table > tfoot > tr > td { text-align: left; padding: 1rem; vertical-align: top; border-top: 0; -webkit-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; }
|
137 |
+
.wp-ulike-simple-table > thead > tr > th { font-weight: 600; color: #757575; vertical-align: bottom; border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
|
138 |
+
.wp-ulike-simple-table > caption + thead > tr:first-child > th, .wp-ulike-simple-table > caption + thead > tr:first-child > td, .wp-ulike-simple-table > colgroup + thead > tr:first-child > th, .wp-ulike-simple-table > colgroup + thead > tr:first-child > td, .wp-ulike-simple-table > thead:first-child > tr:first-child > th, .wp-ulike-simple-table > thead:first-child > tr:first-child > td { border-top: 0; }
|
139 |
+
.wp-ulike-simple-table > tbody + tbody { border-top: 1px solid rgba(0, 0, 0, 0.12); }
|
140 |
+
.wp-ulike-simple-table .table { background-color: transparent; }
|
141 |
+
.wp-ulike-simple-table .no-border { border: 0; }
|
142 |
+
.wp-ulike-simple-table.table-bordered { border: 0; }
|
143 |
+
.wp-ulike-simple-table.table-bordered > thead > tr > th, .wp-ulike-simple-table.table-bordered > thead > tr > td, .wp-ulike-simple-table.table-bordered > tbody > tr > th, .wp-ulike-simple-table.table-bordered > tbody > tr > td, .wp-ulike-simple-table.table-bordered > tfoot > tr > th, .wp-ulike-simple-table.table-bordered > tfoot > tr > td { border: 0; border-bottom: 1px solid #e0e0e0; }
|
144 |
+
.wp-ulike-simple-table.table-bordered > thead > tr > th, .wp-ulike-simple-table.table-bordered > thead > tr > td { border-bottom-width: 2px; }
|
145 |
+
|
146 |
+
.wp-ulike-table-icon { width: 18px; height: 18px; }
|
147 |
+
|
148 |
+
/** RTL support */
|
149 |
+
.rtl form.wp-ulike p.submit { margin-right: inherit; margin-left: 20px; }
|
150 |
+
.rtl form.wp-ulike .wp-ulike-settings-tabs h2 { float: right; border-right: 1px solid #e0e0e0; border-left: none; }
|
151 |
+
.rtl form.wrap .wp-ulike-settings-tabs h2:last-child { border-left: 1px solid #ddd; }
|
152 |
+
.rtl tr.hide-label td { padding-right: 0; padding-left: inherit !important; }
|
153 |
+
.rtl .wp-ulike-about-page .ulike-badge { right: inherit; left: 0px; }
|
154 |
+
.rtl .wp-ulike-notice .links a { margin-right: 0; margin-left: 8px; }
|
155 |
+
.rtl .wp-ulike-notice-image { margin-left: 25px; margin-right: 0; }
|
156 |
+
.rtl .wp-ulike-pro-stats-banner .wp-ulike-inner:before { left: 5%; right: 40%; background-position: bottom left; }
|
157 |
+
.rtl .wp-ulike-go-pro-page h2 { text-align: right; }
|
158 |
+
.rtl .wp-ulike-go-pro-page .wp-ulike-btn { margin-left: 15px; margin-right: 0; }
|
159 |
+
.rtl .wp-ulike-go-pro-page .wp-ulike-simple-table > thead > tr > th, .rtl .wp-ulike-go-pro-page .wp-ulike-simple-table > thead > tr > td, .rtl .wp-ulike-go-pro-page .wp-ulike-simple-table > tbody > tr > th, .rtl .wp-ulike-go-pro-page .wp-ulike-simple-table > tbody > tr > td, .rtl .wp-ulike-go-pro-page .wp-ulike-simple-table > tfoot > tr > th, .rtl .wp-ulike-go-pro-page .wp-ulike-simple-table > tfoot > tr > td { text-align: right; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/assets/css/plugins.css
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
/*
|
2 |
-
/------------------------------------------\
|
3 |
-
_ __ _ _____ _ _ _ _
|
4 |
| | / \ | | ___ \ | |(_)| | / /
|
5 |
| | / /\ \ | | |_/ / _| || || |/ / ___
|
6 |
| | / / \ \ | | __/ | | | || || | / _ \
|
@@ -14,480 +13,122 @@ https://wordpress.org/plugins/wp-ulike/
|
|
14 |
|
15 |
\------------------------------------------/
|
16 |
*/
|
17 |
-
.wp-ulike-container {
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
.wp-ulike-
|
23 |
-
|
24 |
-
}
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
}
|
30 |
-
|
31 |
-
.wp-ulike-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
}
|
38 |
-
.wp-ulike-
|
39 |
-
|
40 |
-
}
|
41 |
-
.wp-ulike-
|
42 |
-
|
43 |
-
}
|
44 |
-
.wp-ulike-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
.wp-ulike-row
|
49 |
-
|
50 |
-
|
51 |
-
}
|
52 |
-
|
53 |
-
.
|
54 |
-
|
55 |
-
}
|
56 |
-
|
57 |
-
.wp-ulike-row
|
58 |
-
|
59 |
-
display:
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
.wp-ulike-
|
65 |
-
.wp-ulike-
|
66 |
-
.wp-ulike-
|
67 |
-
|
68 |
-
.wp-ulike-
|
69 |
-
.wp-ulike-
|
70 |
-
|
71 |
-
.wp-ulike-
|
72 |
-
|
73 |
-
.wp-ulike-
|
74 |
-
.wp-ulike-
|
75 |
-
|
76 |
-
}
|
77 |
-
|
78 |
-
|
79 |
-
}
|
80 |
-
|
81 |
-
|
82 |
-
}
|
83 |
-
.wp-ulike-
|
84 |
-
|
85 |
-
}
|
86 |
-
.wp-ulike-
|
87 |
-
|
88 |
-
}
|
89 |
-
.wp-ulike-
|
90 |
-
|
91 |
-
|
92 |
-
.wp-ulike-
|
93 |
-
|
94 |
-
|
95 |
-
.wp-ulike-
|
96 |
-
|
97 |
-
}
|
98 |
-
.wp-ulike-
|
99 |
-
|
100 |
-
}
|
101 |
-
.wp-ulike-
|
102 |
-
|
103 |
-
}
|
104 |
-
.wp-ulike-
|
105 |
-
|
106 |
-
|
107 |
-
.wp-ulike-
|
108 |
-
|
109 |
-
}
|
110 |
-
.wp-ulike-
|
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 |
-
.wp-ulike-row .col-8 {
|
137 |
-
width: 62.66667%;
|
138 |
-
}
|
139 |
-
.wp-ulike-row .col-9 {
|
140 |
-
width: 71%;
|
141 |
-
}
|
142 |
-
.wp-ulike-row .col-10 {
|
143 |
-
width: 79.33333%;
|
144 |
-
}
|
145 |
-
.wp-ulike-row .col-11 {
|
146 |
-
width: 87.66667%;
|
147 |
-
}
|
148 |
-
.wp-ulike-row .col-12 {
|
149 |
-
width: 96%;
|
150 |
-
}
|
151 |
-
.wp-ulike-row .hidden-sm {
|
152 |
-
display: block;
|
153 |
-
}
|
154 |
-
}
|
155 |
-
@media only screen and (max-width: 45em) {
|
156 |
-
.wp-ulike-flex {
|
157 |
-
text-align: center;
|
158 |
-
}
|
159 |
-
}
|
160 |
-
/**
|
161 |
-
* Statistics Page
|
162 |
-
*/
|
163 |
-
.wp-ulike-page-title {
|
164 |
-
font-size: 38px;
|
165 |
-
line-height: 50px;
|
166 |
-
font-weight: 400;
|
167 |
-
margin: 0;
|
168 |
-
}
|
169 |
-
|
170 |
-
.wp-ulike-header {
|
171 |
-
margin: 0 2% 10px;
|
172 |
-
padding: 0 20px 35px;
|
173 |
-
display: flex;
|
174 |
-
justify-content: space-between;
|
175 |
-
position: relative;
|
176 |
-
align-items: center;
|
177 |
-
flex-wrap: wrap;
|
178 |
-
}
|
179 |
-
.wp-ulike-header:after {
|
180 |
-
content: "";
|
181 |
-
position: absolute;
|
182 |
-
bottom: 0;
|
183 |
-
height: 1px;
|
184 |
-
background: #dde3e7;
|
185 |
-
right: 20px;
|
186 |
-
left: 20px;
|
187 |
-
}
|
188 |
-
.wp-ulike-header .wp-ulike-widget-title {
|
189 |
-
text-transform: capitalize;
|
190 |
-
font-size: 22px;
|
191 |
-
font-weight: 500;
|
192 |
-
line-height: normal;
|
193 |
-
color: #3d3d3d;
|
194 |
-
margin: 0;
|
195 |
-
}
|
196 |
-
|
197 |
-
.wp-ulike-button {
|
198 |
-
background-color: #f9faff;
|
199 |
-
padding: 10px 25px;
|
200 |
-
text-decoration: none;
|
201 |
-
text-transform: uppercase;
|
202 |
-
color: #7e8996;
|
203 |
-
border: 1px solid #dde3e7;
|
204 |
-
border-radius: 50em;
|
205 |
-
font-size: 14px;
|
206 |
-
line-height: 20px;
|
207 |
-
}
|
208 |
-
.wp-ulike-button:hover {
|
209 |
-
background-color: #fff;
|
210 |
-
color: #42484e;
|
211 |
-
}
|
212 |
-
|
213 |
-
.wp-ulike-inner {
|
214 |
-
position: relative;
|
215 |
-
padding: 35px 20px;
|
216 |
-
border: 1px solid #e4e6eb;
|
217 |
-
background: #fff;
|
218 |
-
border-radius: 4px;
|
219 |
-
}
|
220 |
-
|
221 |
-
.wp-ulike-logs-count {
|
222 |
-
margin: 0 auto;
|
223 |
-
text-align: center;
|
224 |
-
}
|
225 |
-
.wp-ulike-logs-count .wp-ulike-icon {
|
226 |
-
font-size: 5vw;
|
227 |
-
color: #8B93A6;
|
228 |
-
line-height: 5vh;
|
229 |
-
}
|
230 |
-
.wp-ulike-logs-count .wp-ulike-var {
|
231 |
-
font-size: 3vw;
|
232 |
-
line-height: 4vw;
|
233 |
-
display: block;
|
234 |
-
}
|
235 |
-
.wp-ulike-logs-count .wp-ulike-text {
|
236 |
-
display: block;
|
237 |
-
color: #8B93A6;
|
238 |
-
font-size: 1.5vw;
|
239 |
-
line-height: 2.5vw;
|
240 |
-
}
|
241 |
-
|
242 |
-
.wp-ulike-is-loading {
|
243 |
-
padding: 10px 0;
|
244 |
-
}
|
245 |
-
.wp-ulike-is-loading:before {
|
246 |
-
content: "";
|
247 |
-
position: absolute;
|
248 |
-
left: 0;
|
249 |
-
width: 100%;
|
250 |
-
top: 0;
|
251 |
-
height: 100%;
|
252 |
-
background-color: white;
|
253 |
-
background-image: url(../../../assets/img/svg/statistics.svg);
|
254 |
-
background-repeat: no-repeat;
|
255 |
-
background-position: center center;
|
256 |
-
z-index: 9;
|
257 |
-
}
|
258 |
-
|
259 |
-
.wp-ulike-btn-is-loading {
|
260 |
-
position: relative;
|
261 |
-
}
|
262 |
-
.wp-ulike-btn-is-loading .wp-ulike-text {
|
263 |
-
visibility: hidden;
|
264 |
-
}
|
265 |
-
.wp-ulike-btn-is-loading:before {
|
266 |
-
content: "";
|
267 |
-
position: absolute;
|
268 |
-
top: 50%;
|
269 |
-
left: 50%;
|
270 |
-
width: 25px;
|
271 |
-
height: 25px;
|
272 |
-
transform: translateX(-50%) translateY(-50%);
|
273 |
-
background-image: url(../../../assets/img/svg/button-spinner.svg);
|
274 |
-
z-index: 9;
|
275 |
-
}
|
276 |
-
|
277 |
-
.wp-ulike-pro-stats-banner .wp-ulike-inner {
|
278 |
-
padding: 20px 40px;
|
279 |
-
}
|
280 |
-
.wp-ulike-pro-stats-banner .wp-ulike-inner:before {
|
281 |
-
content: "";
|
282 |
-
position: absolute;
|
283 |
-
right: 5%;
|
284 |
-
left: 40%;
|
285 |
-
bottom: 0;
|
286 |
-
height: 100%;
|
287 |
-
background-image: url(../../../assets/img/pro-stats-banner.svg);
|
288 |
-
background-size: contain;
|
289 |
-
background-repeat: no-repeat;
|
290 |
-
background-position: bottom right;
|
291 |
-
}
|
292 |
-
.wp-ulike-pro-stats-banner .wp-ulike-inner h3 {
|
293 |
-
margin: 0.5em 0;
|
294 |
-
font-size: 32px;
|
295 |
-
max-width: 360px;
|
296 |
-
line-height: 1.4;
|
297 |
-
font-weight: 500;
|
298 |
-
color: #017e52;
|
299 |
-
}
|
300 |
-
.wp-ulike-pro-stats-banner .wp-ulike-inner p {
|
301 |
-
max-width: 540px;
|
302 |
-
font-size: 15px;
|
303 |
-
line-height: 1.4em;
|
304 |
-
color: #8B93A6;
|
305 |
-
}
|
306 |
-
.wp-ulike-pro-stats-banner .wp-ulike-inner .wp-ulike-button-group {
|
307 |
-
margin: 2em 0 1em;
|
308 |
-
}
|
309 |
-
.wp-ulike-pro-stats-banner .wp-ulike-inner .wp-ulike-button-group .wp-ulike-btn {
|
310 |
-
margin: 0 5px;
|
311 |
-
}
|
312 |
-
|
313 |
-
.wp-ulike-table {
|
314 |
-
display: table;
|
315 |
-
}
|
316 |
-
.wp-ulike-table .wp-ulike-table-cell {
|
317 |
-
display: table-cell;
|
318 |
-
vertical-align: middle;
|
319 |
-
}
|
320 |
-
|
321 |
-
.wp-ulike-summary-charts .wp-ulike-info {
|
322 |
-
flex-basis: 35%;
|
323 |
-
}
|
324 |
-
.wp-ulike-summary-charts .wp-ulike-icon {
|
325 |
-
font-size: 3vw;
|
326 |
-
color: #8B93A6;
|
327 |
-
line-height: normal;
|
328 |
-
flex-basis: 25%;
|
329 |
-
}
|
330 |
-
.wp-ulike-summary-charts .wp-ulike-var {
|
331 |
-
font-size: 1.8vw;
|
332 |
-
line-height: normal;
|
333 |
-
display: block;
|
334 |
-
}
|
335 |
-
.wp-ulike-summary-charts .wp-ulike-text {
|
336 |
-
display: block;
|
337 |
-
color: #8B93A6;
|
338 |
-
font-size: 1vw;
|
339 |
-
line-height: normal;
|
340 |
-
}
|
341 |
-
|
342 |
-
.wp-ulike-top-likers {
|
343 |
-
margin: 0 2%;
|
344 |
-
}
|
345 |
-
.wp-ulike-top-likers .wp-ulike-users-list {
|
346 |
-
border-bottom: 1px solid #dde3e7;
|
347 |
-
font-size: 15px;
|
348 |
-
padding: 20px 0px;
|
349 |
-
margin: 5px;
|
350 |
-
}
|
351 |
-
.wp-ulike-top-likers .wp-ulike-users-list i {
|
352 |
-
color: #8B93A6;
|
353 |
-
margin: 0 5px;
|
354 |
-
}
|
355 |
-
.wp-ulike-top-likers .wp-ulike-info {
|
356 |
-
width: 60%;
|
357 |
-
}
|
358 |
-
.wp-ulike-top-likers .wp-ulike-counter {
|
359 |
-
width: 20%;
|
360 |
-
}
|
361 |
-
.wp-ulike-top-likers .wp-ulike-total {
|
362 |
-
width: 20%;
|
363 |
-
}
|
364 |
-
|
365 |
-
.wp-ulike-empty-stats {
|
366 |
-
text-align: center;
|
367 |
-
height: 50em;
|
368 |
-
position: relative;
|
369 |
-
}
|
370 |
-
.wp-ulike-empty-stats > div {
|
371 |
-
position: relative;
|
372 |
-
top: 50%;
|
373 |
-
transform: translateY(-50%);
|
374 |
-
}
|
375 |
-
.wp-ulike-empty-stats .wp-ulike-icon {
|
376 |
-
font-size: 110px;
|
377 |
-
color: #8B93A6;
|
378 |
-
}
|
379 |
-
.wp-ulike-empty-stats .wp-ulike-info {
|
380 |
-
font-size: 28px;
|
381 |
-
line-height: 42px;
|
382 |
-
font-weight: 300;
|
383 |
-
margin-top: 50px;
|
384 |
-
}
|
385 |
-
|
386 |
-
.wp-ulike-tops-list {
|
387 |
-
padding: 0 20px;
|
388 |
-
}
|
389 |
-
.wp-ulike-tops-list > ul {
|
390 |
-
font-size: 16px;
|
391 |
-
font-weight: 300;
|
392 |
-
line-height: 26px;
|
393 |
-
color: #3d3d3d;
|
394 |
-
margin: 0;
|
395 |
-
}
|
396 |
-
.wp-ulike-tops-list > ul > li {
|
397 |
-
display: flex;
|
398 |
-
justify-content: space-between;
|
399 |
-
border-bottom: 1px solid #dde3e7;
|
400 |
-
padding: 8px 0;
|
401 |
-
}
|
402 |
-
.wp-ulike-tops-list > ul > li a {
|
403 |
-
text-decoration: none;
|
404 |
-
color: #3d3d3d;
|
405 |
-
}
|
406 |
-
|
407 |
-
/**
|
408 |
-
* About Page
|
409 |
-
*/
|
410 |
-
.wp-ulike-about-page .ulike-badge {
|
411 |
-
background: url(../../../assets/img/wp-ulike-icon.svg) no-repeat scroll center 24px/95px 95px #FF7171;
|
412 |
-
color: #FFFFFF;
|
413 |
-
position: absolute;
|
414 |
-
top: 0px;
|
415 |
-
right: 0px;
|
416 |
-
font-size: 14px;
|
417 |
-
text-align: center;
|
418 |
-
font-weight: 600;
|
419 |
-
margin: 5px 0px 0px;
|
420 |
-
padding-top: 120px;
|
421 |
-
height: 40px;
|
422 |
-
display: inline-block;
|
423 |
-
width: 150px;
|
424 |
-
text-rendering: optimizelegibility;
|
425 |
-
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
|
426 |
-
}
|
427 |
-
.wp-ulike-about-page .wp_ulike_version {
|
428 |
-
display: inline-block;
|
429 |
-
position: absolute;
|
430 |
-
top: 54px;
|
431 |
-
left: 0;
|
432 |
-
padding: 5px 10px;
|
433 |
-
background: #e74c3c;
|
434 |
-
color: #FFFFFF;
|
435 |
-
font-size: 13px;
|
436 |
-
font-weight: normal;
|
437 |
-
}
|
438 |
-
.wp-ulike-about-page .headline-feature h2 {
|
439 |
-
margin: 1.1em 0px 0.2em;
|
440 |
-
font-size: 2.4em;
|
441 |
-
font-weight: 300;
|
442 |
-
line-height: 1.3;
|
443 |
-
text-align: center;
|
444 |
-
}
|
445 |
-
.wp-ulike-about-page .icon-container {
|
446 |
-
text-align: center;
|
447 |
-
font-size: 6vw;
|
448 |
-
border: 1px solid #757575;
|
449 |
-
padding: 35px 5px;
|
450 |
-
}
|
451 |
-
.wp-ulike-about-page .featured-image img {
|
452 |
-
border: none;
|
453 |
-
}
|
454 |
-
|
455 |
-
/**
|
456 |
-
* Go Pro Page
|
457 |
-
*/
|
458 |
-
.wp-ulike-go-pro-page .has-1-columns, .wp-ulike-go-pro-page .has-2-columns, .wp-ulike-go-pro-page .has-3-columns, .wp-ulike-go-pro-page .has-4-columns {
|
459 |
-
max-width: 1400px;
|
460 |
-
margin-left: 0;
|
461 |
-
margin-right: 0;
|
462 |
-
}
|
463 |
-
.wp-ulike-go-pro-page h1 {
|
464 |
-
margin-bottom: 1em;
|
465 |
-
}
|
466 |
-
.wp-ulike-go-pro-page h2 {
|
467 |
-
text-align: left;
|
468 |
-
}
|
469 |
-
.wp-ulike-go-pro-page .is-section-header {
|
470 |
-
padding-top: 20px;
|
471 |
-
margin-left: 20px;
|
472 |
-
margin-right: 20px;
|
473 |
-
}
|
474 |
-
.wp-ulike-go-pro-page .wp-ulike-btn {
|
475 |
-
margin-top: 5px;
|
476 |
-
margin-right: 15px;
|
477 |
-
}
|
478 |
-
|
479 |
-
/**
|
480 |
-
* Logs Page
|
481 |
-
*/
|
482 |
-
.wp_ulike_logs .button {
|
483 |
-
line-height: 20px;
|
484 |
-
}
|
485 |
-
.wp_ulike_logs i {
|
486 |
-
font-size: 1.9em;
|
487 |
-
}
|
488 |
-
.wp_ulike_logs i.wp-ulike-icons-thumb_up:before {
|
489 |
-
color: #4caf50;
|
490 |
-
}
|
491 |
-
.wp_ulike_logs i.wp-ulike-icons-thumb_down:before {
|
492 |
-
color: #f44336;
|
493 |
-
}
|
1 |
/*
|
2 |
+
/------------------------------------------\ _ __ _ _____ _ _ _ _
|
|
|
3 |
| | / \ | | ___ \ | |(_)| | / /
|
4 |
| | / /\ \ | | |_/ / _| || || |/ / ___
|
5 |
| | / / \ \ | | __/ | | | || || | / _ \
|
13 |
|
14 |
\------------------------------------------/
|
15 |
*/
|
16 |
+
.wp-ulike-container { width: 100%; margin-left: auto; margin-right: auto; }
|
17 |
+
.wp-ulike-container .notice { display: none; }
|
18 |
+
|
19 |
+
.wp-ulike-row { position: relative; width: 100%; }
|
20 |
+
|
21 |
+
.wp-ulike-flex { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; padding: 10px 0; }
|
22 |
+
.wp-ulike-flex.wp-ulike-flex-end { justify-content: flex-end; }
|
23 |
+
.wp-ulike-flex.wp-ulike-flex-start { justify-content: flex-start; }
|
24 |
+
.wp-ulike-flex.wp-ulike-flex-space-between { justify-content: space-between; }
|
25 |
+
|
26 |
+
.wp-ulike-row [class^="col"] { float: left; margin: 2%; }
|
27 |
+
|
28 |
+
.rtl .wp-ulike-row [class^="col"] { float: right; }
|
29 |
+
|
30 |
+
.wp-ulike-row::after { content: ""; display: table; clear: both; }
|
31 |
+
|
32 |
+
.wp-ulike-row .col-1, .wp-ulike-row .col-2, .wp-ulike-row .col-3, .wp-ulike-row .col-4, .wp-ulike-row .col-5, .wp-ulike-row .col-6, .wp-ulike-row .col-7, .wp-ulike-row .col-8, .wp-ulike-row .col-9, .wp-ulike-row .col-10, .wp-ulike-row .col-11, .wp-ulike-row .col-12 { width: 96%; }
|
33 |
+
.wp-ulike-row .col-1-sm { width: 4.33333%; }
|
34 |
+
.wp-ulike-row .col-2-sm { width: 12.66667%; }
|
35 |
+
.wp-ulike-row .col-3-sm { width: 21%; }
|
36 |
+
.wp-ulike-row .col-4-sm { width: 29.33333%; }
|
37 |
+
.wp-ulike-row .col-5-sm { width: 37.66667%; }
|
38 |
+
.wp-ulike-row .col-6-sm { width: 46%; }
|
39 |
+
.wp-ulike-row .col-7-sm { width: 54.33333%; }
|
40 |
+
.wp-ulike-row .col-8-sm { width: 62.66667%; }
|
41 |
+
.wp-ulike-row .col-9-sm { width: 71%; }
|
42 |
+
.wp-ulike-row .col-10-sm { width: 79.33333%; }
|
43 |
+
.wp-ulike-row .col-11-sm { width: 87.66667%; }
|
44 |
+
.wp-ulike-row .col-12-sm { width: 96%; }
|
45 |
+
|
46 |
+
@media only screen and (min-width: 45em) { .wp-ulike-row .col-1 { width: 4.33333%; }
|
47 |
+
.wp-ulike-row .col-2 { width: 12.66667%; }
|
48 |
+
.wp-ulike-row .col-3 { width: 21%; }
|
49 |
+
.wp-ulike-row .col-4 { width: 29.33333%; }
|
50 |
+
.wp-ulike-row .col-5 { width: 37.66667%; }
|
51 |
+
.wp-ulike-row .col-6 { width: 46%; }
|
52 |
+
.wp-ulike-row .col-7 { width: 54.33333%; }
|
53 |
+
.wp-ulike-row .col-8 { width: 62.66667%; }
|
54 |
+
.wp-ulike-row .col-9 { width: 71%; }
|
55 |
+
.wp-ulike-row .col-10 { width: 79.33333%; }
|
56 |
+
.wp-ulike-row .col-11 { width: 87.66667%; }
|
57 |
+
.wp-ulike-row .col-12 { width: 96%; }
|
58 |
+
.wp-ulike-row .hidden-sm { display: block; } }
|
59 |
+
@media only screen and (max-width: 45em) { .wp-ulike-flex { text-align: center; } }
|
60 |
+
/** Statistics Page */
|
61 |
+
.wp-ulike-page-title { font-size: 38px; line-height: 50px; font-weight: 400; margin: 0; }
|
62 |
+
|
63 |
+
.wp-ulike-header { margin: 0 2% 10px; padding: 0 20px 35px; display: flex; justify-content: space-between; position: relative; align-items: center; flex-wrap: wrap; }
|
64 |
+
.wp-ulike-header:after { content: ""; position: absolute; bottom: 0; height: 1px; background: #dde3e7; right: 20px; left: 20px; }
|
65 |
+
.wp-ulike-header .wp-ulike-widget-title { text-transform: capitalize; font-size: 22px; font-weight: 500; line-height: normal; color: #3d3d3d; margin: 0; }
|
66 |
+
|
67 |
+
.wp-ulike-button { background-color: #f9faff; padding: 10px 25px; text-decoration: none; text-transform: uppercase; color: #7e8996; border: 1px solid #dde3e7; border-radius: 50em; font-size: 14px; line-height: 20px; }
|
68 |
+
.wp-ulike-button:hover { background-color: #fff; color: #42484e; }
|
69 |
+
|
70 |
+
.wp-ulike-inner { position: relative; padding: 35px 20px; border: 1px solid #e4e6eb; background: #fff; border-radius: 4px; }
|
71 |
+
|
72 |
+
.wp-ulike-logs-count { margin: 0 auto; text-align: center; }
|
73 |
+
.wp-ulike-logs-count .wp-ulike-icon { font-size: 5vw; color: #8B93A6; line-height: 5vh; }
|
74 |
+
.wp-ulike-logs-count .wp-ulike-var { font-size: 3vw; line-height: 4vw; display: block; }
|
75 |
+
.wp-ulike-logs-count .wp-ulike-text { display: block; color: #8B93A6; font-size: 1.5vw; line-height: 2.5vw; }
|
76 |
+
|
77 |
+
.wp-ulike-is-loading { padding: 10px 0; }
|
78 |
+
.wp-ulike-is-loading:before { content: ""; position: absolute; left: 0; width: 100%; top: 0; height: 100%; background-color: white; background-image: url(../../../assets/img/svg/statistics.svg); background-repeat: no-repeat; background-position: center center; z-index: 9; }
|
79 |
+
|
80 |
+
.wp-ulike-btn-is-loading { position: relative; }
|
81 |
+
.wp-ulike-btn-is-loading .wp-ulike-text { visibility: hidden; }
|
82 |
+
.wp-ulike-btn-is-loading:before { content: ""; position: absolute; top: 50%; left: 50%; width: 25px; height: 25px; transform: translateX(-50%) translateY(-50%); background-image: url(../../../assets/img/svg/button-spinner.svg); z-index: 9; }
|
83 |
+
|
84 |
+
.wp-ulike-pro-stats-banner .wp-ulike-inner { padding: 20px 40px; }
|
85 |
+
.wp-ulike-pro-stats-banner .wp-ulike-inner:before { content: ""; position: absolute; right: 5%; left: 40%; bottom: 0; height: 100%; background-image: url(../../../assets/img/pro-stats-banner.svg); background-size: contain; background-repeat: no-repeat; background-position: bottom right; }
|
86 |
+
.wp-ulike-pro-stats-banner .wp-ulike-inner h3 { margin: 0.5em 0; font-size: 32px; max-width: 360px; line-height: 1.4; font-weight: 500; color: #017e52; }
|
87 |
+
.wp-ulike-pro-stats-banner .wp-ulike-inner p { max-width: 540px; font-size: 15px; line-height: 1.4em; color: #8B93A6; }
|
88 |
+
.wp-ulike-pro-stats-banner .wp-ulike-inner .wp-ulike-button-group { margin: 2em 0 1em; }
|
89 |
+
.wp-ulike-pro-stats-banner .wp-ulike-inner .wp-ulike-button-group .wp-ulike-btn { margin: 0 5px; }
|
90 |
+
|
91 |
+
.wp-ulike-table { display: table; }
|
92 |
+
.wp-ulike-table .wp-ulike-table-cell { display: table-cell; vertical-align: middle; }
|
93 |
+
|
94 |
+
.wp-ulike-summary-charts .wp-ulike-info { flex-basis: 35%; }
|
95 |
+
.wp-ulike-summary-charts .wp-ulike-icon { font-size: 3vw; color: #8B93A6; line-height: normal; flex-basis: 25%; }
|
96 |
+
.wp-ulike-summary-charts .wp-ulike-var { font-size: 1.8vw; line-height: normal; display: block; }
|
97 |
+
.wp-ulike-summary-charts .wp-ulike-text { display: block; color: #8B93A6; font-size: 1vw; line-height: normal; }
|
98 |
+
|
99 |
+
.wp-ulike-top-likers { margin: 0 2%; }
|
100 |
+
.wp-ulike-top-likers .wp-ulike-users-list { border-bottom: 1px solid #dde3e7; font-size: 15px; padding: 20px 0px; margin: 5px; }
|
101 |
+
.wp-ulike-top-likers .wp-ulike-users-list i { color: #8B93A6; margin: 0 5px; }
|
102 |
+
.wp-ulike-top-likers .wp-ulike-info { width: 60%; }
|
103 |
+
.wp-ulike-top-likers .wp-ulike-counter { width: 20%; }
|
104 |
+
.wp-ulike-top-likers .wp-ulike-total { width: 20%; }
|
105 |
+
|
106 |
+
.wp-ulike-empty-stats { text-align: center; height: 50em; position: relative; }
|
107 |
+
.wp-ulike-empty-stats > div { position: relative; top: 50%; transform: translateY(-50%); }
|
108 |
+
.wp-ulike-empty-stats .wp-ulike-icon { font-size: 110px; color: #8B93A6; }
|
109 |
+
.wp-ulike-empty-stats .wp-ulike-info { font-size: 28px; line-height: 42px; font-weight: 300; margin-top: 50px; }
|
110 |
+
|
111 |
+
.wp-ulike-tops-list { padding: 0 20px; }
|
112 |
+
.wp-ulike-tops-list > ul { font-size: 16px; font-weight: 300; line-height: 26px; color: #3d3d3d; margin: 0; }
|
113 |
+
.wp-ulike-tops-list > ul > li { display: flex; justify-content: space-between; border-bottom: 1px solid #dde3e7; padding: 8px 0; }
|
114 |
+
.wp-ulike-tops-list > ul > li a { text-decoration: none; color: #3d3d3d; }
|
115 |
+
|
116 |
+
/** About Page */
|
117 |
+
.wp-ulike-about-page .ulike-badge { background: url(../../../assets/img/wp-ulike-icon.svg) no-repeat scroll center 24px/95px 95px #FF7171; color: #FFFFFF; position: absolute; top: 0px; right: 0px; font-size: 14px; text-align: center; font-weight: 600; margin: 5px 0px 0px; padding-top: 120px; height: 40px; display: inline-block; width: 150px; text-rendering: optimizelegibility; box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2); }
|
118 |
+
.wp-ulike-about-page .wp_ulike_version { display: inline-block; position: absolute; top: 54px; left: 0; padding: 5px 10px; background: #e74c3c; color: #FFFFFF; font-size: 13px; font-weight: normal; }
|
119 |
+
.wp-ulike-about-page .headline-feature h2 { margin: 1.1em 0px 0.2em; font-size: 2.4em; font-weight: 300; line-height: 1.3; text-align: center; }
|
120 |
+
.wp-ulike-about-page .icon-container { text-align: center; font-size: 6vw; border: 1px solid #757575; padding: 35px 5px; }
|
121 |
+
.wp-ulike-about-page .featured-image img { border: none; }
|
122 |
+
|
123 |
+
/** Go Pro Page */
|
124 |
+
.wp-ulike-go-pro-page .has-1-columns, .wp-ulike-go-pro-page .has-2-columns, .wp-ulike-go-pro-page .has-3-columns, .wp-ulike-go-pro-page .has-4-columns { max-width: 1400px; margin-left: 0; margin-right: 0; }
|
125 |
+
.wp-ulike-go-pro-page h1 { margin-bottom: 1em; }
|
126 |
+
.wp-ulike-go-pro-page h2 { text-align: left; }
|
127 |
+
.wp-ulike-go-pro-page .is-section-header { padding-top: 20px; margin-left: 20px; margin-right: 20px; }
|
128 |
+
.wp-ulike-go-pro-page .wp-ulike-btn { margin-top: 5px; margin-right: 15px; }
|
129 |
+
|
130 |
+
/** Logs Page */
|
131 |
+
.wp_ulike_logs .button { line-height: 20px; }
|
132 |
+
.wp_ulike_logs i { font-size: 1.9em; }
|
133 |
+
.wp_ulike_logs i.wp-ulike-icons-thumb_up:before { color: #4caf50; }
|
134 |
+
.wp_ulike_logs i.wp-ulike-icons-thumb_down:before { color: #f44336; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/assets/js/plugins.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WP ULike - v4.1.
|
2 |
* https://wpulike.com
|
3 |
* TechnoWich 2020;
|
4 |
*/
|
1 |
+
/*! WP ULike - v4.1.9
|
2 |
* https://wpulike.com
|
3 |
* TechnoWich 2020;
|
4 |
*/
|
admin/classes/class-wp-ulike-admin-panel.php
CHANGED
@@ -316,6 +316,12 @@ if ( ! class_exists( 'wp_ulike_admin_panel' ) ) {
|
|
316 |
'default' => __('Sorry! You unliked this.',WP_ULIKE_SLUG),
|
317 |
'title' => __( 'Unliked Notice Message', WP_ULIKE_SLUG)
|
318 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
319 |
) )
|
320 |
) );
|
321 |
|
316 |
'default' => __('Sorry! You unliked this.',WP_ULIKE_SLUG),
|
317 |
'title' => __( 'Unliked Notice Message', WP_ULIKE_SLUG)
|
318 |
),
|
319 |
+
array(
|
320 |
+
'id' => 'like_button_aria_label',
|
321 |
+
'type' => 'text',
|
322 |
+
'default' => __( 'Like Button',WP_ULIKE_SLUG),
|
323 |
+
'title' => __( 'Like Button Aria Label', WP_ULIKE_SLUG)
|
324 |
+
)
|
325 |
) )
|
326 |
) );
|
327 |
|
admin/classes/class-wp-ulike-stats.php
CHANGED
@@ -255,7 +255,7 @@ if ( ! class_exists( 'wp_ulike_stats' ) ) {
|
|
255 |
$query .= wp_ulike_get_period_limit_sql( $date );
|
256 |
|
257 |
$counter_value = $this->wpdb->get_var( $query );
|
258 |
-
wp_cache_set( $cache_key, $counter_value, WP_ULIKE_SLUG );
|
259 |
}
|
260 |
|
261 |
return empty( $counter_value ) ? 0 : $counter_value;
|
255 |
$query .= wp_ulike_get_period_limit_sql( $date );
|
256 |
|
257 |
$counter_value = $this->wpdb->get_var( $query );
|
258 |
+
wp_cache_set( $cache_key, $counter_value, WP_ULIKE_SLUG, 300 );
|
259 |
}
|
260 |
|
261 |
return empty( $counter_value ) ? 0 : $counter_value;
|
assets/css/wp-ulike.css
CHANGED
@@ -286,23 +286,21 @@
|
|
286 |
}
|
287 |
}
|
288 |
.wpulike-robeen .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) {
|
289 |
-
bottom:
|
290 |
}
|
291 |
.wpulike-robeen .count-box {
|
292 |
-
display: inline-block;
|
293 |
-
vertical-align: middle;
|
294 |
font-weight: 600;
|
295 |
}
|
296 |
.wpulike-robeen label {
|
297 |
-
display:
|
298 |
-
|
|
|
299 |
}
|
300 |
.wpulike-robeen svg {
|
301 |
cursor: pointer;
|
302 |
overflow: visible !important;
|
303 |
width: 50px;
|
304 |
-
|
305 |
-
vertical-align: middle;
|
306 |
}
|
307 |
.wpulike-robeen svg .heart {
|
308 |
transform-origin: center;
|
@@ -312,7 +310,14 @@
|
|
312 |
transform-origin: 29.5px 29.5px;
|
313 |
}
|
314 |
.wpulike-robeen .wp_ulike_btn {
|
315 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
}
|
317 |
.wpulike-robeen .wp_ulike_btn:checked + svg .heart {
|
318 |
transform: scale(0.2);
|
@@ -481,47 +486,47 @@
|
|
481 |
.wpulike-animated-heart .wpulike-svg-heart-pop.one {
|
482 |
left: 1%;
|
483 |
transform: rotate(-10deg);
|
484 |
-
animation-delay: .
|
485 |
}
|
486 |
.wpulike-animated-heart .wpulike-svg-heart-pop.two {
|
487 |
left: 15%;
|
488 |
transform: rotate(8deg);
|
489 |
-
animation-delay: .25s;
|
490 |
}
|
491 |
.wpulike-animated-heart .wpulike-svg-heart-pop.three {
|
492 |
left: 30%;
|
493 |
transform: rotate(-5deg);
|
494 |
-
animation-delay:
|
495 |
}
|
496 |
.wpulike-animated-heart .wpulike-svg-heart-pop.four {
|
497 |
left: 50%;
|
498 |
transform: rotate(-8deg);
|
499 |
-
animation-delay: .3s;
|
500 |
}
|
501 |
.wpulike-animated-heart .wpulike-svg-heart-pop.five {
|
502 |
left: 60%;
|
503 |
transform: rotate(-10deg);
|
504 |
-
animation-delay: .9s;
|
505 |
}
|
506 |
.wpulike-animated-heart .wpulike-svg-heart-pop.six {
|
507 |
left: 70%;
|
508 |
transform: rotate(-8deg);
|
509 |
-
animation-delay: .
|
510 |
}
|
511 |
.wpulike-animated-heart .wpulike-svg-heart-pop.seven {
|
512 |
left: 85%;
|
513 |
transform: rotate(6deg);
|
514 |
-
animation-delay: .35s;
|
515 |
}
|
516 |
.wpulike-animated-heart .wpulike-svg-heart-pop.eight {
|
517 |
left: 90%;
|
518 |
transform: rotate(-4deg);
|
519 |
-
animation-delay: .5s;
|
520 |
}
|
521 |
.wpulike-animated-heart .wpulike-svg-heart-pop.nine {
|
522 |
left: 95%;
|
523 |
transform: rotate(8deg);
|
524 |
-
animation-delay: .2s;
|
525 |
}
|
526 |
.wpulike-animated-heart .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) {
|
527 |
bottom: 30px;
|
@@ -578,6 +583,7 @@
|
|
578 |
background: #eeeeee;
|
579 |
padding: 5px;
|
580 |
opacity: 0;
|
|
|
581 |
box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1);
|
582 |
border-radius: 5px;
|
583 |
z-index: 9;
|
@@ -615,6 +621,7 @@
|
|
615 |
.wpulike:hover .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) {
|
616 |
transform: translateY(-40px);
|
617 |
opacity: 1;
|
|
|
618 |
}
|
619 |
|
620 |
.most_liked_users {
|
286 |
}
|
287 |
}
|
288 |
.wpulike-robeen .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) {
|
289 |
+
bottom: 15px;
|
290 |
}
|
291 |
.wpulike-robeen .count-box {
|
|
|
|
|
292 |
font-weight: 600;
|
293 |
}
|
294 |
.wpulike-robeen label {
|
295 |
+
display: flex;
|
296 |
+
align-items: center;
|
297 |
+
margin: 0 -5px;
|
298 |
}
|
299 |
.wpulike-robeen svg {
|
300 |
cursor: pointer;
|
301 |
overflow: visible !important;
|
302 |
width: 50px;
|
303 |
+
height: 50px;
|
|
|
304 |
}
|
305 |
.wpulike-robeen svg .heart {
|
306 |
transform-origin: center;
|
310 |
transform-origin: 29.5px 29.5px;
|
311 |
}
|
312 |
.wpulike-robeen .wp_ulike_btn {
|
313 |
+
position: absolute;
|
314 |
+
overflow: hidden;
|
315 |
+
clip: rect(0 0 0 0);
|
316 |
+
height: 1px;
|
317 |
+
width: 1px;
|
318 |
+
margin: -1px;
|
319 |
+
padding: 0;
|
320 |
+
border: 0;
|
321 |
}
|
322 |
.wpulike-robeen .wp_ulike_btn:checked + svg .heart {
|
323 |
transform: scale(0.2);
|
486 |
.wpulike-animated-heart .wpulike-svg-heart-pop.one {
|
487 |
left: 1%;
|
488 |
transform: rotate(-10deg);
|
489 |
+
animation-delay: 0.45s;
|
490 |
}
|
491 |
.wpulike-animated-heart .wpulike-svg-heart-pop.two {
|
492 |
left: 15%;
|
493 |
transform: rotate(8deg);
|
494 |
+
animation-delay: 0.25s;
|
495 |
}
|
496 |
.wpulike-animated-heart .wpulike-svg-heart-pop.three {
|
497 |
left: 30%;
|
498 |
transform: rotate(-5deg);
|
499 |
+
animation-delay: 0s;
|
500 |
}
|
501 |
.wpulike-animated-heart .wpulike-svg-heart-pop.four {
|
502 |
left: 50%;
|
503 |
transform: rotate(-8deg);
|
504 |
+
animation-delay: 0.3s;
|
505 |
}
|
506 |
.wpulike-animated-heart .wpulike-svg-heart-pop.five {
|
507 |
left: 60%;
|
508 |
transform: rotate(-10deg);
|
509 |
+
animation-delay: 0.9s;
|
510 |
}
|
511 |
.wpulike-animated-heart .wpulike-svg-heart-pop.six {
|
512 |
left: 70%;
|
513 |
transform: rotate(-8deg);
|
514 |
+
animation-delay: 0.2s;
|
515 |
}
|
516 |
.wpulike-animated-heart .wpulike-svg-heart-pop.seven {
|
517 |
left: 85%;
|
518 |
transform: rotate(6deg);
|
519 |
+
animation-delay: 0.35s;
|
520 |
}
|
521 |
.wpulike-animated-heart .wpulike-svg-heart-pop.eight {
|
522 |
left: 90%;
|
523 |
transform: rotate(-4deg);
|
524 |
+
animation-delay: 0.5s;
|
525 |
}
|
526 |
.wpulike-animated-heart .wpulike-svg-heart-pop.nine {
|
527 |
left: 95%;
|
528 |
transform: rotate(8deg);
|
529 |
+
animation-delay: 0.2s;
|
530 |
}
|
531 |
.wpulike-animated-heart .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) {
|
532 |
bottom: 30px;
|
583 |
background: #eeeeee;
|
584 |
padding: 5px;
|
585 |
opacity: 0;
|
586 |
+
visibility: hidden;
|
587 |
box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1);
|
588 |
border-radius: 5px;
|
589 |
z-index: 9;
|
621 |
.wpulike:hover .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) {
|
622 |
transform: translateY(-40px);
|
623 |
opacity: 1;
|
624 |
+
visibility: visible;
|
625 |
}
|
626 |
|
627 |
.most_liked_users {
|
assets/css/wp-ulike.min.css
CHANGED
@@ -3,4 +3,4 @@
|
|
3 |
* WP ULike
|
4 |
* @author Alimir [https://wordpress.org/plugins/wp-ulike/]
|
5 |
===============================================================
|
6 |
-
*/.wpulike{display:block;position:relative;line-height:normal;margin:0;padding:10px 0}.wpulike .wp_ulike_btn{margin:0;position:relative;display:inline-block;vertical-align:middle;border-radius:.25em;box-shadow:none;padding:15px 25px;border:none;text-align:center;transition-property:none;cursor:pointer}.wpulike .wp_ulike_btn:active,.wpulike .wp_ulike_btn:focus,.wpulike .wp_ulike_btn:hover{outline:0}.wpulike .wp_ulike_put_text{font-size:14px;font-weight:600;line-height:28px;padding:0 10px;min-width:50px}.wpulike .wp_ulike_general_class{display:inline-flex;align-items:center}.wpulike .wp_ulike_is_loading .wp_ulike_btn{background-image:url(../img/svg/loader.svg);background-repeat:no-repeat;background-position:center center}.wpulike .wp_ulike_is_loading .wp_ulike_btn span{visibility:hidden}.wpulike .wp_ulike_is_loading .wp_ulike_btn.wp_ulike_put_image:after{content:none}.wpulike.wpulike-hide-counter .count-box{display:none}.wp_ulike_click_is_disabled{pointer-events:none;cursor:default}.wp_ulike_hide_me{visibility:hidden}.wpulike-default .wp_ulike_btn{color:#616161;background:#e0e0e0;min-height:30px;min-width:50px}.wpulike-default .wp_ulike_is_liked .wp_ulike_btn{color:#757575}.wpulike-default .wp_ulike_put_image:after{content:'';display:block;background:url(../img/svg/like.svg) no-repeat;background-size:contain;width:16px;height:16px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-default .wp_ulike_put_image.wp_ulike_btn_is_active:after{filter:invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%)}.wpulike-default .count-box{position:relative;border-radius:.25em;font-size:12px;text-decoration:none;background-color:#fff;margin-left:8px;line-height:28px;display:inline-block;padding:0 10px;box-shadow:0 0 0 1px #bdbdbd inset;color:#616161;vertical-align:middle;text-align:center}.wpulike-default .count-box:before{content:'';position:absolute;border:1px solid transparent;background:#fff;border-bottom-color:#bdbdbd;left:-5px;top:50%;border-left-color:#bdbdbd;transform:rotate(45deg) translatey(-50%);width:5px;height:5px;margin:0}#buddypress #activity-stream .activity-comments .wpulike,#buddypress #activity-stream .activity-meta .wpulike{display:flex;align-items:center;padding:0}#buddypress #activity-stream .activity-comments .wpulike-default .wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-default .wp_ulike_btn{border-radius:0;background-color:#fff;box-shadow:0 0 0 1px #bdbdbd inset;font-size:initial;padding:initial}#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker,#buddypress #activity-stream .wp_ulike_likers_wrapper li{border:none;padding:0}#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker a,#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker img,#buddypress #activity-stream .wp_ulike_likers_wrapper li a,#buddypress #activity-stream .wp_ulike_likers_wrapper li img{float:none;padding:0;margin:0}#bbpress-forums .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) .wp-ulike-likers-list,#bbpress-forums .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) ul{margin:0!important}#bbpress-forums .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) .wp-ulike-likers-list li,#bbpress-forums .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) ul li{list-style-type:none}.wpulike-heart .wp_ulike_general_class{box-shadow:0 0 0 1px #bdbdbd inset;border-radius:.25em;padding:5px}.wpulike-heart .wp_ulike_put_text{padding:0 5px;text-transform:uppercase;font-weight:600;color:#757575}.wpulike-heart .wp_ulike_btn{background:0 0}.wpulike-heart .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline){bottom:10px}.wpulike-heart .wp_ulike_put_image{background:0 0;padding:15px}.wpulike-heart .wp_ulike_put_image:after{content:'';display:block;background:url(../img/svg/love.svg) no-repeat;background-size:contain;width:20px;height:20px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-heart .wp_ulike_put_image.wp_ulike_btn_is_active:after{filter:invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%)}.wpulike-heart .count-box{font-size:14px;text-decoration:none;line-height:28px;display:inline-block;color:#616161;text-align:center;font-weight:600;vertical-align:middle;padding:0 5px}#buddypress #activity-stream .wpulike-heart .wp_ulike_btn{background:0 0;border:0;font-size:initial;padding:initial}#buddypress #activity-stream .wpulike-heart .wp_ulike_put_image{padding:10px 15px}#buddypress #activity-stream .wpulike-heart .wp_ulike_general_class{border-radius:0;padding:.2em .5em;margin-bottom:0}#buddypress #activity-stream .acomment-options,#buddypress #activity-stream .activity-meta{display:flex;align-items:center}@keyframes animateCircle{40%{transform:scale(10);opacity:1;fill:#dd4688}55%{transform:scale(11);opacity:1;fill:#d46abf}65%{transform:scale(12);opacity:1;fill:#cc8ef5}75%{transform:scale(13);opacity:1;fill:transparent;stroke:#cc8ef5;stroke-width:.5}85%{transform:scale(17);opacity:1;fill:transparent;stroke:#cc8ef5;stroke-width:.2}95%{transform:scale(18);opacity:1;fill:transparent;stroke:#cc8ef5;stroke-width:.1}100%{transform:scale(19);opacity:1;fill:transparent;stroke:#cc8ef5;stroke-width:0}}@keyframes animateHeart{0%{transform:scale(.2)}40%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes animateHeartOut{0%{transform:scale(1.4)}100%{transform:scale(1)}}.wpulike-robeen .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline){bottom:5px}.wpulike-robeen .count-box{display:inline-block;vertical-align:middle;font-weight:600}.wpulike-robeen label{display:inline-block;margin:0}.wpulike-robeen svg{cursor:pointer;overflow:visible!important;width:50px;display:inline-block;vertical-align:middle}.wpulike-robeen svg .heart{transform-origin:center;animation:animateHeartOut .3s linear forwards}.wpulike-robeen svg .main-circ{transform-origin:29.5px 29.5px}.wpulike-robeen .wp_ulike_btn{display:none!important}.wpulike-robeen .wp_ulike_btn:checked+svg .heart{transform:scale(.2);fill:#e2264d;animation:animateHeart .3s linear forwards .25s}.wpulike-robeen .wp_ulike_btn:checked+svg .main-circ{transition:all 2s;animation:animateCircle .3s linear forwards;opacity:1}.wpulike-robeen .wp_ulike_btn:checked+svg .grp1{opacity:1;transition:.1s all .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp1 .oval1{transform:scale(0) translate(0,-30px);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp1 .oval2{transform:scale(0) translate(10px,-50px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp2{opacity:1;transition:.1s all .3s;opacity:1;transition:.1s opacity .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp2 .oval1{transform:scale(0) translate(30px,-15px);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp2 .oval2{transform:scale(0) translate(60px,-15px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp3{opacity:1;transition:.1s all .3s;opacity:1;transition:.1s opacity .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp3 .oval1{transform:scale(0) translate(30px,0);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp3 .oval2{transform:scale(0) translate(60px,10px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp4{opacity:1;transition:.1s all .3s;opacity:1;transition:.1s opacity .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp4 .oval1{transform:scale(0) translate(30px,15px);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp4 .oval2{transform:scale(0) translate(40px,50px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp5{opacity:1;transition:.1s all .3s;opacity:1;transition:.1s opacity .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp5 .oval1{transform:scale(0) translate(-10px,20px);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp5 .oval2{transform:scale(0) translate(-60px,30px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp6{opacity:1;transition:.1s all .3s;opacity:1;transition:.1s opacity .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp6 .oval1{transform:scale(0) translate(-30px,0);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp6 .oval2{transform:scale(0) translate(-60px,-5px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp7{opacity:1;transition:.1s all .3s;opacity:1;transition:.1s opacity .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp7 .oval1{transform:scale(0) translate(-30px,-15px);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp7 .oval2{transform:scale(0) translate(-55px,-30px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-animated-heart .wp_ulike_btn{position:relative;border-radius:50em;background-color:#fff;padding:0;box-shadow:0 5px 30px rgba(255,111,99,.4);border:0;width:50px;height:50px}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active{background-color:#ff6f63}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart{fill:#fff}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart-pop{animation-direction:normal}.wpulike-animated-heart .wp_ulike_btn:active{box-shadow:0 0 4px 0 rgba(0,0,0,.25)}.wpulike-animated-heart .wpulike-svg-heart{width:20px;fill:#ff6f63;transition:fill .5s,transform .5s;pointer-events:none;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-animated-heart .wpulike-svg-heart-pop{position:absolute;width:30%;fill:#ff6f63;opacity:0;left:0;animation:popHearts 1s ease forwards reverse}.wpulike-animated-heart .wpulike-svg-heart-pop.one{left:1%;transform:rotate(-10deg);animation-delay:.45}.wpulike-animated-heart .wpulike-svg-heart-pop.two{left:15%;transform:rotate(8deg);animation-delay:.25s}.wpulike-animated-heart .wpulike-svg-heart-pop.three{left:30%;transform:rotate(-5deg);animation-delay:0}.wpulike-animated-heart .wpulike-svg-heart-pop.four{left:50%;transform:rotate(-8deg);animation-delay:.3s}.wpulike-animated-heart .wpulike-svg-heart-pop.five{left:60%;transform:rotate(-10deg);animation-delay:.9s}.wpulike-animated-heart .wpulike-svg-heart-pop.six{left:70%;transform:rotate(-8deg);animation-delay:.2}.wpulike-animated-heart .wpulike-svg-heart-pop.seven{left:85%;transform:rotate(6deg);animation-delay:.35s}.wpulike-animated-heart .wpulike-svg-heart-pop.eight{left:90%;transform:rotate(-4deg);animation-delay:.5s}.wpulike-animated-heart .wpulike-svg-heart-pop.nine{left:95%;transform:rotate(8deg);animation-delay:.2s}.wpulike-animated-heart .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline){bottom:30px}.wpulike-animated-heart .count-box{margin:0 15px;color:#ff6f63;display:inline-block;vertical-align:middle}#buddypress #activity-stream .wpulike-animated-heart .wp_ulike_btn{background:inherit;border:0;width:40px;height:40px}#buddypress #activity-stream .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active{background-color:#ff6f63}@keyframes popHearts{0%{left:calc(50% - 7px);top:10px}20%{opacity:1}80%{top:-20px}100%{opacity:0}}.wp_ulike_likers_wrapper{margin:10px 0;flex:0 0 100%}.wp_ulike_likers_wrapper:empty{display:none}.wp_ulike_likers_wrapper:not(.wp_ulike_display_inline){transition:all .5s cubic-bezier(.19,1,.22,1);display:block;position:absolute;left:0;transform:translateY(-30px);bottom:0;background:#eee;padding:5px;opacity:0;box-shadow:2px 2px 1px rgba(0,0,0,.1);border-radius:5px;z-index:9}.wp_ulike_likers_wrapper:not(.wp_ulike_display_inline):after{content:'';position:absolute;top:100%;left:15px;width:0;height:0;border-top:8px solid #eee;border-right:8px solid transparent;border-left:8px solid transparent}.wp_ulike_likers_wrapper .tiles,.wp_ulike_likers_wrapper .wp-ulike-likers-list{display:flex;align-items:center;flex-wrap:wrap;margin:0;padding:0}.wp_ulike_likers_wrapper .tiles .wp-ulike-liker,.wp_ulike_likers_wrapper .tiles li,.wp_ulike_likers_wrapper .wp-ulike-likers-list .wp-ulike-liker,.wp_ulike_likers_wrapper .wp-ulike-likers-list li{padding:3px;margin:0;list-style:none}.wp_ulike_likers_wrapper .tiles .wp-ulike-liker a>img,.wp_ulike_likers_wrapper .tiles li a>img,.wp_ulike_likers_wrapper .wp-ulike-likers-list .wp-ulike-liker a>img,.wp_ulike_likers_wrapper .wp-ulike-likers-list li a>img{border-radius:5px;display:block;border:0;box-shadow:none}.wpulike:hover .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline){transform:translateY(-40px);opacity:1}.most_liked_users{list-style-type:none!important;position:relative!important;margin:10px 0!important;padding:0!important}.most_liked_users li{display:inline-table!important;cursor:pointer!important;margin:0 2px!important}.most_liked_users li img{display:block!important;float:none!important}.most_liked_users li.inactive{visibility:hidden!important;opacity:0!important}.commentlist .tiles .avatar,.commentlist .wp-ulike-liker .avatar{left:0!important}.wp_ulike_thumbnail{vertical-align:middle;margin:0 10px 0 0}.most_liked_comment .avatar{vertical-align:middle;margin:0 10px 0 0}.wp_ulike_style_simple .wp_counter_span:before{content:"("}.wp_ulike_style_simple .wp_counter_span:after{content:")"}.wp_ulike_style_love .wp_counter_span{float:right;display:inline-block;background:#f1f1f1 url(../img/icons/heart.png) 5px center no-repeat;color:#333;font-size:9px;line-height:17px;font-weight:400;margin:2px 0 0 2px;vertical-align:middle;border-radius:10px;padding:0 5px 0 23px;z-index:26}.wpulike-notification{position:fixed;z-index:999999;pointer-events:none;right:20px;bottom:20px}.wpulike-notification *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.wpulike-notification .wpulike-message{position:relative;pointer-events:auto;word-wrap:break-word;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 55px;width:280px;border-radius:3px;background-color:#00bcd4;color:#fff;animation:wpUlikeNotifitcationsAnimation .2s backwards;box-shadow:0 3px 5px rgba(0,0,0,.08);font-size:14px;font-weight:500}.wpulike-notification .wpulike-message:hover{opacity:.9;cursor:pointer}.wpulike-notification .wpulike-message:before{content:"";background-position:center center;background-repeat:no-repeat;background-image:url(../img/svg/info.svg);position:absolute;left:0;width:45px;top:0;height:100%;background-color:rgba(0,0,0,.08)}.wpulike-notification .wpulike-message.wpulike-success{background-color:#8bc34a}.wpulike-notification .wpulike-message.wpulike-success:before{background-image:url(../img/svg/success.svg)}.wpulike-notification .wpulike-message.wpulike-error{background-color:#ef5350}.wpulike-notification .wpulike-message.wpulike-error:before{background-image:url(../img/svg/error.svg)}.wpulike-notification .wpulike-message.wpulike-warning{background-color:#ffab00}.wpulike-notification .wpulike-message.wpulike-warning:before{background-image:url(../img/svg/warning.svg)}@keyframes wpUlikeNotifitcationsAnimation{from{opacity:0;transform:translateY(100%)}to{opacity:.8;transform:translateY(0)}}@media all and (max-width:240px){.wpulike-notification .wpulike-message{padding:8px 8px 8px 55px;width:11em}}@media all and (min-width:241px) and (max-width:480px){.wpulike-notification .wpulike-message{padding:8px 8px 8px 55px;width:18em}}@media all and (min-width:481px) and (max-width:768px){.wpulike-notification .wpulike-message{padding:15px 15px 15px 55px;width:25em}}/*!>>>>>>>>>>>>>>>>>>>>>>> #RTL <<<<<<<<<<<<<<<<<<<<<<<<<<< */.rtl .wpulike-default .count-box{margin-right:8px;margin-left:inherit}.rtl .wpulike-default .count-box:before{right:-1px;left:auto;border-color:#bdbdbd #bdbdbd transparent transparent}.rtl .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline){left:auto;right:0}.rtl .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline):after{left:auto;right:15px}.rtl .commentlist .tiles .avatar{left:inherit!important;right:0!important}.rtl .wp_ulike_thumbnail{margin:0 0 0 10px}.rtl .most_liked_comment .avatar{margin:0 0 0 10px}.rtl .wp_ulike_style_love .wp_counter_span{float:left;background:#f1f1f1 url(../img/icons/heart.png) no-repeat scroll 85% center;margin:2px 2px 0 0;padding:0 23px 0 5px}.rtl .wpulike-notification{left:20px;right:inherit}.rtl .wpulike-notification .wpulike-message{padding:15px 55px 15px 15px}.rtl .wpulike-notification .wpulike-message:before{left:auto;right:0}@media all and (max-width:240px){.rtl .wpulike-notification .wpulike-message{padding:8px 55px 8px 8px}}@media all and (min-width:241px) and (max-width:480px){.rtl .wpulike-notification .wpulike-message{padding:8px 55px 8px 8px}}@media all and (min-width:481px) and (max-width:768px){.rtl .wpulike-notification .wpulike-message{padding:15px 55px 15px 15px}}
|
3 |
* WP ULike
|
4 |
* @author Alimir [https://wordpress.org/plugins/wp-ulike/]
|
5 |
===============================================================
|
6 |
+
*/.wpulike{display:block;position:relative;line-height:normal;margin:0;padding:10px 0}.wpulike .wp_ulike_btn{margin:0;position:relative;display:inline-block;vertical-align:middle;border-radius:.25em;box-shadow:none;padding:15px 25px;border:none;text-align:center;transition-property:none;cursor:pointer}.wpulike .wp_ulike_btn:active,.wpulike .wp_ulike_btn:focus,.wpulike .wp_ulike_btn:hover{outline:0}.wpulike .wp_ulike_put_text{font-size:14px;font-weight:600;line-height:28px;padding:0 10px;min-width:50px}.wpulike .wp_ulike_general_class{display:inline-flex;align-items:center}.wpulike .wp_ulike_is_loading .wp_ulike_btn{background-image:url(../img/svg/loader.svg);background-repeat:no-repeat;background-position:center center}.wpulike .wp_ulike_is_loading .wp_ulike_btn span{visibility:hidden}.wpulike .wp_ulike_is_loading .wp_ulike_btn.wp_ulike_put_image:after{content:none}.wpulike.wpulike-hide-counter .count-box{display:none}.wp_ulike_click_is_disabled{pointer-events:none;cursor:default}.wp_ulike_hide_me{visibility:hidden}.wpulike-default .wp_ulike_btn{color:#616161;background:#e0e0e0;min-height:30px;min-width:50px}.wpulike-default .wp_ulike_is_liked .wp_ulike_btn{color:#757575}.wpulike-default .wp_ulike_put_image:after{content:'';display:block;background:url(../img/svg/like.svg) no-repeat;background-size:contain;width:16px;height:16px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-default .wp_ulike_put_image.wp_ulike_btn_is_active:after{filter:invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%)}.wpulike-default .count-box{position:relative;border-radius:.25em;font-size:12px;text-decoration:none;background-color:#fff;margin-left:8px;line-height:28px;display:inline-block;padding:0 10px;box-shadow:0 0 0 1px #bdbdbd inset;color:#616161;vertical-align:middle;text-align:center}.wpulike-default .count-box:before{content:'';position:absolute;border:1px solid transparent;background:#fff;border-bottom-color:#bdbdbd;left:-5px;top:50%;border-left-color:#bdbdbd;transform:rotate(45deg) translatey(-50%);width:5px;height:5px;margin:0}#buddypress #activity-stream .activity-comments .wpulike,#buddypress #activity-stream .activity-meta .wpulike{display:flex;align-items:center;padding:0}#buddypress #activity-stream .activity-comments .wpulike-default .wp_ulike_btn,#buddypress #activity-stream .activity-meta .wpulike-default .wp_ulike_btn{border-radius:0;background-color:#fff;box-shadow:0 0 0 1px #bdbdbd inset;font-size:initial;padding:initial}#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker,#buddypress #activity-stream .wp_ulike_likers_wrapper li{border:none;padding:0}#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker a,#buddypress #activity-stream .wp_ulike_likers_wrapper .wp-ulike-liker img,#buddypress #activity-stream .wp_ulike_likers_wrapper li a,#buddypress #activity-stream .wp_ulike_likers_wrapper li img{float:none;padding:0;margin:0}#bbpress-forums .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) .wp-ulike-likers-list,#bbpress-forums .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) ul{margin:0!important}#bbpress-forums .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) .wp-ulike-likers-list li,#bbpress-forums .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline) ul li{list-style-type:none}.wpulike-heart .wp_ulike_general_class{box-shadow:0 0 0 1px #bdbdbd inset;border-radius:.25em;padding:5px}.wpulike-heart .wp_ulike_put_text{padding:0 5px;text-transform:uppercase;font-weight:600;color:#757575}.wpulike-heart .wp_ulike_btn{background:0 0}.wpulike-heart .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline){bottom:10px}.wpulike-heart .wp_ulike_put_image{background:0 0;padding:15px}.wpulike-heart .wp_ulike_put_image:after{content:'';display:block;background:url(../img/svg/love.svg) no-repeat;background-size:contain;width:20px;height:20px;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-heart .wp_ulike_put_image.wp_ulike_btn_is_active:after{filter:invert(44%) sepia(40%) saturate(3852%) hue-rotate(329deg) brightness(100%) contrast(111%)}.wpulike-heart .count-box{font-size:14px;text-decoration:none;line-height:28px;display:inline-block;color:#616161;text-align:center;font-weight:600;vertical-align:middle;padding:0 5px}#buddypress #activity-stream .wpulike-heart .wp_ulike_btn{background:0 0;border:0;font-size:initial;padding:initial}#buddypress #activity-stream .wpulike-heart .wp_ulike_put_image{padding:10px 15px}#buddypress #activity-stream .wpulike-heart .wp_ulike_general_class{border-radius:0;padding:.2em .5em;margin-bottom:0}#buddypress #activity-stream .acomment-options,#buddypress #activity-stream .activity-meta{display:flex;align-items:center}@keyframes animateCircle{40%{transform:scale(10);opacity:1;fill:#dd4688}55%{transform:scale(11);opacity:1;fill:#d46abf}65%{transform:scale(12);opacity:1;fill:#cc8ef5}75%{transform:scale(13);opacity:1;fill:transparent;stroke:#cc8ef5;stroke-width:.5}85%{transform:scale(17);opacity:1;fill:transparent;stroke:#cc8ef5;stroke-width:.2}95%{transform:scale(18);opacity:1;fill:transparent;stroke:#cc8ef5;stroke-width:.1}100%{transform:scale(19);opacity:1;fill:transparent;stroke:#cc8ef5;stroke-width:0}}@keyframes animateHeart{0%{transform:scale(.2)}40%{transform:scale(1.2)}100%{transform:scale(1)}}@keyframes animateHeartOut{0%{transform:scale(1.4)}100%{transform:scale(1)}}.wpulike-robeen .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline){bottom:15px}.wpulike-robeen .count-box{font-weight:600}.wpulike-robeen label{display:flex;align-items:center;margin:0 -5px}.wpulike-robeen svg{cursor:pointer;overflow:visible!important;width:50px;height:50px}.wpulike-robeen svg .heart{transform-origin:center;animation:animateHeartOut .3s linear forwards}.wpulike-robeen svg .main-circ{transform-origin:29.5px 29.5px}.wpulike-robeen .wp_ulike_btn{position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0}.wpulike-robeen .wp_ulike_btn:checked+svg .heart{transform:scale(.2);fill:#e2264d;animation:animateHeart .3s linear forwards .25s}.wpulike-robeen .wp_ulike_btn:checked+svg .main-circ{transition:all 2s;animation:animateCircle .3s linear forwards;opacity:1}.wpulike-robeen .wp_ulike_btn:checked+svg .grp1{opacity:1;transition:.1s all .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp1 .oval1{transform:scale(0) translate(0,-30px);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp1 .oval2{transform:scale(0) translate(10px,-50px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp2{opacity:1;transition:.1s all .3s;opacity:1;transition:.1s opacity .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp2 .oval1{transform:scale(0) translate(30px,-15px);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp2 .oval2{transform:scale(0) translate(60px,-15px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp3{opacity:1;transition:.1s all .3s;opacity:1;transition:.1s opacity .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp3 .oval1{transform:scale(0) translate(30px,0);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp3 .oval2{transform:scale(0) translate(60px,10px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp4{opacity:1;transition:.1s all .3s;opacity:1;transition:.1s opacity .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp4 .oval1{transform:scale(0) translate(30px,15px);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp4 .oval2{transform:scale(0) translate(40px,50px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp5{opacity:1;transition:.1s all .3s;opacity:1;transition:.1s opacity .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp5 .oval1{transform:scale(0) translate(-10px,20px);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp5 .oval2{transform:scale(0) translate(-60px,30px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp6{opacity:1;transition:.1s all .3s;opacity:1;transition:.1s opacity .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp6 .oval1{transform:scale(0) translate(-30px,0);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp6 .oval2{transform:scale(0) translate(-60px,-5px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp7{opacity:1;transition:.1s all .3s;opacity:1;transition:.1s opacity .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp7 .oval1{transform:scale(0) translate(-30px,-15px);transform-origin:0 0 0;transition:.5s transform .3s}.wpulike-robeen .wp_ulike_btn:checked+svg .grp7 .oval2{transform:scale(0) translate(-55px,-30px);transform-origin:0 0 0;transition:1.5s transform .3s}.wpulike-animated-heart .wp_ulike_btn{position:relative;border-radius:50em;background-color:#fff;padding:0;box-shadow:0 5px 30px rgba(255,111,99,.4);border:0;width:50px;height:50px}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active{background-color:#ff6f63}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart{fill:#fff}.wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active .wpulike-svg-heart-pop{animation-direction:normal}.wpulike-animated-heart .wp_ulike_btn:active{box-shadow:0 0 4px 0 rgba(0,0,0,.25)}.wpulike-animated-heart .wpulike-svg-heart{width:20px;fill:#ff6f63;transition:fill .5s,transform .5s;pointer-events:none;position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.wpulike-animated-heart .wpulike-svg-heart-pop{position:absolute;width:30%;fill:#ff6f63;opacity:0;left:0;animation:popHearts 1s ease forwards reverse}.wpulike-animated-heart .wpulike-svg-heart-pop.one{left:1%;transform:rotate(-10deg);animation-delay:.45s}.wpulike-animated-heart .wpulike-svg-heart-pop.two{left:15%;transform:rotate(8deg);animation-delay:.25s}.wpulike-animated-heart .wpulike-svg-heart-pop.three{left:30%;transform:rotate(-5deg);animation-delay:0s}.wpulike-animated-heart .wpulike-svg-heart-pop.four{left:50%;transform:rotate(-8deg);animation-delay:.3s}.wpulike-animated-heart .wpulike-svg-heart-pop.five{left:60%;transform:rotate(-10deg);animation-delay:.9s}.wpulike-animated-heart .wpulike-svg-heart-pop.six{left:70%;transform:rotate(-8deg);animation-delay:.2s}.wpulike-animated-heart .wpulike-svg-heart-pop.seven{left:85%;transform:rotate(6deg);animation-delay:.35s}.wpulike-animated-heart .wpulike-svg-heart-pop.eight{left:90%;transform:rotate(-4deg);animation-delay:.5s}.wpulike-animated-heart .wpulike-svg-heart-pop.nine{left:95%;transform:rotate(8deg);animation-delay:.2s}.wpulike-animated-heart .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline){bottom:30px}.wpulike-animated-heart .count-box{margin:0 15px;color:#ff6f63;display:inline-block;vertical-align:middle}#buddypress #activity-stream .wpulike-animated-heart .wp_ulike_btn{background:inherit;border:0;width:40px;height:40px}#buddypress #activity-stream .wpulike-animated-heart .wp_ulike_btn.wp_ulike_btn_is_active{background-color:#ff6f63}@keyframes popHearts{0%{left:calc(50% - 7px);top:10px}20%{opacity:1}80%{top:-20px}100%{opacity:0}}.wp_ulike_likers_wrapper{margin:10px 0;flex:0 0 100%}.wp_ulike_likers_wrapper:empty{display:none}.wp_ulike_likers_wrapper:not(.wp_ulike_display_inline){transition:all .5s cubic-bezier(.19,1,.22,1);display:block;position:absolute;left:0;transform:translateY(-30px);bottom:0;background:#eee;padding:5px;opacity:0;visibility:hidden;box-shadow:2px 2px 1px rgba(0,0,0,.1);border-radius:5px;z-index:9}.wp_ulike_likers_wrapper:not(.wp_ulike_display_inline):after{content:'';position:absolute;top:100%;left:15px;width:0;height:0;border-top:8px solid #eee;border-right:8px solid transparent;border-left:8px solid transparent}.wp_ulike_likers_wrapper .tiles,.wp_ulike_likers_wrapper .wp-ulike-likers-list{display:flex;align-items:center;flex-wrap:wrap;margin:0;padding:0}.wp_ulike_likers_wrapper .tiles .wp-ulike-liker,.wp_ulike_likers_wrapper .tiles li,.wp_ulike_likers_wrapper .wp-ulike-likers-list .wp-ulike-liker,.wp_ulike_likers_wrapper .wp-ulike-likers-list li{padding:3px;margin:0;list-style:none}.wp_ulike_likers_wrapper .tiles .wp-ulike-liker a>img,.wp_ulike_likers_wrapper .tiles li a>img,.wp_ulike_likers_wrapper .wp-ulike-likers-list .wp-ulike-liker a>img,.wp_ulike_likers_wrapper .wp-ulike-likers-list li a>img{border-radius:5px;display:block;border:0;box-shadow:none}.wpulike:hover .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline){transform:translateY(-40px);opacity:1;visibility:visible}.most_liked_users{list-style-type:none!important;position:relative!important;margin:10px 0!important;padding:0!important}.most_liked_users li{display:inline-table!important;cursor:pointer!important;margin:0 2px!important}.most_liked_users li img{display:block!important;float:none!important}.most_liked_users li.inactive{visibility:hidden!important;opacity:0!important}.commentlist .tiles .avatar,.commentlist .wp-ulike-liker .avatar{left:0!important}.wp_ulike_thumbnail{vertical-align:middle;margin:0 10px 0 0}.most_liked_comment .avatar{vertical-align:middle;margin:0 10px 0 0}.wp_ulike_style_simple .wp_counter_span:before{content:"("}.wp_ulike_style_simple .wp_counter_span:after{content:")"}.wp_ulike_style_love .wp_counter_span{float:right;display:inline-block;background:#f1f1f1 url(../img/icons/heart.png) 5px center no-repeat;color:#333;font-size:9px;line-height:17px;font-weight:400;margin:2px 0 0 2px;vertical-align:middle;border-radius:10px;padding:0 5px 0 23px;z-index:26}.wpulike-notification{position:fixed;z-index:999999;pointer-events:none;right:20px;bottom:20px}.wpulike-notification *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.wpulike-notification .wpulike-message{position:relative;pointer-events:auto;word-wrap:break-word;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 55px;width:280px;border-radius:3px;background-color:#00bcd4;color:#fff;animation:wpUlikeNotifitcationsAnimation .2s backwards;box-shadow:0 3px 5px rgba(0,0,0,.08);font-size:14px;font-weight:500}.wpulike-notification .wpulike-message:hover{opacity:.9;cursor:pointer}.wpulike-notification .wpulike-message:before{content:"";background-position:center center;background-repeat:no-repeat;background-image:url(../img/svg/info.svg);position:absolute;left:0;width:45px;top:0;height:100%;background-color:rgba(0,0,0,.08)}.wpulike-notification .wpulike-message.wpulike-success{background-color:#8bc34a}.wpulike-notification .wpulike-message.wpulike-success:before{background-image:url(../img/svg/success.svg)}.wpulike-notification .wpulike-message.wpulike-error{background-color:#ef5350}.wpulike-notification .wpulike-message.wpulike-error:before{background-image:url(../img/svg/error.svg)}.wpulike-notification .wpulike-message.wpulike-warning{background-color:#ffab00}.wpulike-notification .wpulike-message.wpulike-warning:before{background-image:url(../img/svg/warning.svg)}@keyframes wpUlikeNotifitcationsAnimation{from{opacity:0;transform:translateY(100%)}to{opacity:.8;transform:translateY(0)}}@media all and (max-width:240px){.wpulike-notification .wpulike-message{padding:8px 8px 8px 55px;width:11em}}@media all and (min-width:241px) and (max-width:480px){.wpulike-notification .wpulike-message{padding:8px 8px 8px 55px;width:18em}}@media all and (min-width:481px) and (max-width:768px){.wpulike-notification .wpulike-message{padding:15px 15px 15px 55px;width:25em}}/*!>>>>>>>>>>>>>>>>>>>>>>> #RTL <<<<<<<<<<<<<<<<<<<<<<<<<<< */.rtl .wpulike-default .count-box{margin-right:8px;margin-left:inherit}.rtl .wpulike-default .count-box:before{right:-1px;left:auto;border-color:#bdbdbd #bdbdbd transparent transparent}.rtl .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline){left:auto;right:0}.rtl .wp_ulike_likers_wrapper:not(.wp_ulike_display_inline):after{left:auto;right:15px}.rtl .commentlist .tiles .avatar{left:inherit!important;right:0!important}.rtl .wp_ulike_thumbnail{margin:0 0 0 10px}.rtl .most_liked_comment .avatar{margin:0 0 0 10px}.rtl .wp_ulike_style_love .wp_counter_span{float:left;background:#f1f1f1 url(../img/icons/heart.png) no-repeat scroll 85% center;margin:2px 2px 0 0;padding:0 23px 0 5px}.rtl .wpulike-notification{left:20px;right:inherit}.rtl .wpulike-notification .wpulike-message{padding:15px 55px 15px 15px}.rtl .wpulike-notification .wpulike-message:before{left:auto;right:0}@media all and (max-width:240px){.rtl .wpulike-notification .wpulike-message{padding:8px 55px 8px 8px}}@media all and (min-width:241px) and (max-width:480px){.rtl .wpulike-notification .wpulike-message{padding:8px 55px 8px 8px}}@media all and (min-width:481px) and (max-width:768px){.rtl .wpulike-notification .wpulike-message{padding:15px 55px 15px 15px}}
|
assets/js/wp-ulike.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WP ULike - v4.1.
|
2 |
* https://wpulike.com
|
3 |
* TechnoWich 2020;
|
4 |
*/
|
@@ -187,10 +187,21 @@
|
|
187 |
// Avoid Plugin.prototype conflicts
|
188 |
$.extend(Plugin.prototype, {
|
189 |
init: function () {
|
190 |
-
//Call _ajaxify function on click button
|
191 |
this.buttonElement.click(this._initLike.bind(this));
|
192 |
-
//Call
|
193 |
-
this.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
},
|
195 |
|
196 |
/**
|
1 |
+
/*! WP ULike - v4.1.9
|
2 |
* https://wpulike.com
|
3 |
* TechnoWich 2020;
|
4 |
*/
|
187 |
// Avoid Plugin.prototype conflicts
|
188 |
$.extend(Plugin.prototype, {
|
189 |
init: function () {
|
190 |
+
// Call _ajaxify function on click button
|
191 |
this.buttonElement.click(this._initLike.bind(this));
|
192 |
+
// Call likers box generator
|
193 |
+
this.generalElement.one("mouseenter", this._updateLikers.bind(this));
|
194 |
+
// Fix PopHover Appearance
|
195 |
+
// if( !this.settings.disablePophover && this.settings.displayLikers ){
|
196 |
+
// var self = this;
|
197 |
+
// this.generalElement.hover(
|
198 |
+
// function() {
|
199 |
+
// self.$element.addClass( "wp_ulike_display_pophover" );
|
200 |
+
// }, function() {
|
201 |
+
// self.$element.removeClass( "wp_ulike_display_pophover" );
|
202 |
+
// }
|
203 |
+
// );
|
204 |
+
// }
|
205 |
},
|
206 |
|
207 |
/**
|
assets/js/wp-ulike.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(i){"use strict";var s="WordpressUlikeNotifications",n={messageType:"success",messageText:"Hello World!",messageElement:"wpulike-message",notifContainer:"wpulike-notification"};function e(t,e){this.element=t,this.$element=i(t),this.settings=i.extend({},n,e),this._defaults=n,this._name=s,this.init()}i.extend(e.prototype,{init:function(){this._message(),this._container(),this._append(),this._remove()},_message:function(){this.$messageElement=i("<div/>").addClass(this.settings.messageElement+" wpulike-"+this.settings.messageType).text(this.settings.messageText)},_container:function(){i("."+this.settings.notifContainer).length||this.$element.append(i("<div/>").addClass(this.settings.notifContainer)),this.$notifContainer=this.$element.find("."+this.settings.notifContainer)},_append:function(){this.$notifContainer.append(this.$messageElement).trigger("WordpressUlikeNotificationAppend")},_remove:function(){var t=this;this.$messageElement.click(function(){i(this).fadeOut(300,function(){i(this).remove(),i("."+t.settings.messageElement).length||t.$notifContainer.remove()}).trigger("WordpressUlikeRemoveNotification")}),setTimeout(function(){t.$messageElement.fadeOut(300,function(){i(this).remove(),i("."+t.settings.messageElement).length||t.$notifContainer.remove()}).trigger("WordpressUlikeRemoveNotification")},8e3)}}),i.fn[s]=function(t){return this.each(function(){new e(this,t)})}}(jQuery,window,document),function(n,t,i){"use strict";var l="WordpressUlike",e=(n(t),n(i)),a={ID:0,nonce:0,type:"",append:"",appendTimeout:2e3,displayLikers:!1,disablePophover:!0,factor:"",template:"",counterSelector:".count-box",generalSelector:".wp_ulike_general_class",buttonSelector:".wp_ulike_btn",likersSelector:".wp_ulike_likers_wrapper"},o={"ulike-id":"ID","ulike-nonce":"nonce","ulike-type":"type","ulike-append":"append","ulike-display-likers":"displayLikers","ulike-disable-pophover":"disablePophover","ulike-append-timeout":"appendTimeout","ulike-factor":"factor","ulike-template":"template"};function s(t,e){for(var i in this.element=t,this.$element=n(t),this.settings=n.extend({},a,e),this._defaults=a,this._name=l,this._refreshTheLikers=!1,this.buttonElement=this.$element.find(this.settings.buttonSelector),this.generalElement=this.$element.find(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector),o){var s=this.buttonElement.data(i);void 0!==s&&(this.settings[o[i]]=s)}this.init()}n.extend(s.prototype,{init:function(){this.buttonElement.click(this._initLike.bind(this)),this.
|
1 |
+
!function(i){"use strict";var s="WordpressUlikeNotifications",n={messageType:"success",messageText:"Hello World!",messageElement:"wpulike-message",notifContainer:"wpulike-notification"};function e(t,e){this.element=t,this.$element=i(t),this.settings=i.extend({},n,e),this._defaults=n,this._name=s,this.init()}i.extend(e.prototype,{init:function(){this._message(),this._container(),this._append(),this._remove()},_message:function(){this.$messageElement=i("<div/>").addClass(this.settings.messageElement+" wpulike-"+this.settings.messageType).text(this.settings.messageText)},_container:function(){i("."+this.settings.notifContainer).length||this.$element.append(i("<div/>").addClass(this.settings.notifContainer)),this.$notifContainer=this.$element.find("."+this.settings.notifContainer)},_append:function(){this.$notifContainer.append(this.$messageElement).trigger("WordpressUlikeNotificationAppend")},_remove:function(){var t=this;this.$messageElement.click(function(){i(this).fadeOut(300,function(){i(this).remove(),i("."+t.settings.messageElement).length||t.$notifContainer.remove()}).trigger("WordpressUlikeRemoveNotification")}),setTimeout(function(){t.$messageElement.fadeOut(300,function(){i(this).remove(),i("."+t.settings.messageElement).length||t.$notifContainer.remove()}).trigger("WordpressUlikeRemoveNotification")},8e3)}}),i.fn[s]=function(t){return this.each(function(){new e(this,t)})}}(jQuery,window,document),function(n,t,i){"use strict";var l="WordpressUlike",e=(n(t),n(i)),a={ID:0,nonce:0,type:"",append:"",appendTimeout:2e3,displayLikers:!1,disablePophover:!0,factor:"",template:"",counterSelector:".count-box",generalSelector:".wp_ulike_general_class",buttonSelector:".wp_ulike_btn",likersSelector:".wp_ulike_likers_wrapper"},o={"ulike-id":"ID","ulike-nonce":"nonce","ulike-type":"type","ulike-append":"append","ulike-display-likers":"displayLikers","ulike-disable-pophover":"disablePophover","ulike-append-timeout":"appendTimeout","ulike-factor":"factor","ulike-template":"template"};function s(t,e){for(var i in this.element=t,this.$element=n(t),this.settings=n.extend({},a,e),this._defaults=a,this._name=l,this._refreshTheLikers=!1,this.buttonElement=this.$element.find(this.settings.buttonSelector),this.generalElement=this.$element.find(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector),o){var s=this.buttonElement.data(i);void 0!==s&&(this.settings[o[i]]=s)}this.init()}n.extend(s.prototype,{init:function(){this.buttonElement.click(this._initLike.bind(this)),this.generalElement.one("mouseenter",this._updateLikers.bind(this))},_ajax:function(t,e){n.ajax({url:wp_ulike_params.ajax_url,type:"POST",cache:!1,dataType:"json",data:t}).done(e)},_initLike:function(t){t.stopPropagation(),this._maybeUpdateElements(t),this._updateSameButtons(),this.buttonElement.prop("disabled",!0),e.trigger("WordpressUlikeLoading",this.element),this.generalElement.addClass("wp_ulike_is_loading"),this._ajax({action:"wp_ulike_process",id:this.settings.ID,nonce:this.settings.nonce,factor:this.settings.factor,type:this.settings.type,template:this.settings.template},function(t){this.generalElement.removeClass("wp_ulike_is_loading"),t.success?(this._updateMarkup(t),this._appendChild()):this._sendNotification("error",t.data),this.buttonElement.prop("disabled",!1),e.trigger("WordpressUlikeUpdated",this.element)}.bind(this))},_maybeUpdateElements:function(t){this.buttonElement=n(t.currentTarget),this.generalElement=this.buttonElement.closest(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector),this.settings.factor=this.buttonElement.data("ulike-factor")},_appendChild:function(){if(""!==this.settings.append){var t=n(this.settings.append);this.buttonElement.append(t),this.settings.appendTimeout&&setTimeout(function(){t.detach()},this.settings.appendTimeout)}},_updateMarkup:function(t){this._setSbilingElement(),this._setSbilingButtons(),this._updateGeneralClassNames(t.data.status),null!==t.data.data&&(t.data.status<5&&(this.__updateCounter(t.data.data),this._refreshTheLikers=!0),this._updateButton(t.data.btnText,t.data.status)),this._sendNotification(t.data.messageType,t.data.message),this._refreshTheLikers&&this._updateLikers()},_updateGeneralClassNames:function(t){var e="wp_ulike_is_not_liked",i="wp_ulike_is_liked",s="wp_ulike_is_unliked",n="wp_ulike_click_is_disabled";switch(this.siblingElement.length&&this.siblingElement.removeClass(this._arrayToString([i,s])),t){case 1:this.generalElement.addClass(i).removeClass(e),this.generalElement.children().first().addClass(n);break;case 2:this.generalElement.addClass(s).removeClass(i);break;case 3:this.generalElement.addClass(i).removeClass(s);break;default:this.generalElement.children().first().addClass(n),this.siblingElement.length&&this.siblingElement.children().first().addClass(n)}},_arrayToString:function(t){return t.join(" ")},_setSbilingElement:function(){this.siblingElement=this.generalElement.siblings()},_setSbilingButtons:function(){this.siblingButton=this.buttonElement.siblings(this.settings.buttonSelector)},__updateCounter:function(t){"object"!=typeof t?this.counterElement.text(t):"down"===this.settings.factor?(this.counterElement.text(t.down),this.siblingElement.length&&this.siblingElement.find(this.settings.counterSelector).text(t.up)):(this.counterElement.text(t.up),this.siblingElement.length&&this.siblingElement.find(this.settings.counterSelector).text(t.down)),e.trigger("WordpressUlikeCounterUpdated",[this.buttonElement])},_updateLikers:function(){this.likersElement=this._getLikersElement(),!this.settings.displayLikers||this.likersElement.length&&!this._refreshTheLikers||(this.generalElement.addClass("wp_ulike_is_getting_likers_list"),this._ajax({action:"wp_ulike_get_likers",id:this.settings.ID,nonce:this.settings.nonce,type:this.settings.type,displayLikers:this.settings.displayLikers,disablePophover:this.settings.disablePophover,refresh:this._refreshTheLikers?1:0},function(t){this.generalElement.removeClass("wp_ulike_is_getting_likers_list"),t.success&&(this.likersElement.length||(this.likersElement=n("<div>",{class:t.data.class}).appendTo(this.$element)),t.data.template?this.likersElement.show().html(t.data.template):this.likersElement.hide()),this._refreshTheLikers=!1}.bind(this)))},_updateSameButtons:function(){var t=void 0!==this.settings.factor?this.settings.factor:"";this.sameButtons=e.find(".wp_"+this.settings.type.toLowerCase()+t+"_"+this.settings.ID),1<this.sameButtons.length&&(this.buttonElement=this.sameButtons,this.generalElement=this.buttonElement.closest(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector))},_getLikersElement:function(){return this.$element.find(this.settings.likersSelector)},_updateButton:function(t,e){this.buttonElement.hasClass("wp_ulike_put_image")?(this.buttonElement.toggleClass("image-unlike wp_ulike_btn_is_active"),this.siblingElement.length&&this.siblingElement.find(this.settings.buttonSelector).removeClass("image-unlike wp_ulike_btn_is_active"),this.siblingButton.length&&this.siblingButton.removeClass("image-unlike wp_ulike_btn_is_active")):this.buttonElement.hasClass("wp_ulike_put_text")&&null!==t&&("object"!=typeof t?this.buttonElement.find("span").html(t):"down"===this.settings.factor?(this.buttonElement.find("span").html(t.down),this.siblingElement.length&&this.siblingElement.find(this.settings.buttonSelector).find("span").html(t.up)):(this.buttonElement.find("span").html(t.up),this.siblingElement.length&&this.siblingElement.find(this.settings.buttonSelector).find("span").html(t.down)))},_sendNotification:function(t,e){"1"===wp_ulike_params.notifications&&n(i.body).WordpressUlikeNotifications({messageType:t,messageText:e})}}),n.fn[l]=function(t){return this.each(function(){n.data(this,"plugin_"+l)||n.data(this,"plugin_"+l,new s(this,t))})}}(jQuery,window,document),function(e){e(function(){e(this).bind("DOMNodeInserted",function(t){e(".wpulike").WordpressUlike()})}),e(".wpulike").WordpressUlike()}(jQuery);
|
inc/classes/class-wp-ulike-mycred.php
CHANGED
@@ -102,21 +102,18 @@ if ( class_exists( 'myCRED_Hook' ) ) :
|
|
102 |
|
103 |
// Award post author for being liked
|
104 |
if ( $this->prefs['get_like']['creds'] && $author_id ) {
|
105 |
-
//
|
106 |
if ( ! $this->over_hook_limit( 'get_like', 'wp_get_like', $author_id ) ) {
|
107 |
-
//
|
108 |
-
|
109 |
-
|
110 |
-
$
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
$this->mycred_type
|
118 |
-
);
|
119 |
-
}
|
120 |
}
|
121 |
}
|
122 |
|
@@ -197,9 +194,11 @@ if ( class_exists( 'myCRED_Hook' ) ) :
|
|
197 |
// Get author ID by it's type
|
198 |
switch ( $key ) {
|
199 |
case '_liked':
|
200 |
-
case '_topicliked':
|
201 |
$author_id = get_post_field( 'post_author', $id );
|
202 |
break;
|
|
|
|
|
|
|
203 |
case '_commentliked':
|
204 |
$comment_id = get_comment( $id );
|
205 |
$author_id = $comment_id->user_id;
|
102 |
|
103 |
// Award post author for being liked
|
104 |
if ( $this->prefs['get_like']['creds'] && $author_id ) {
|
105 |
+
// If not over limit
|
106 |
if ( ! $this->over_hook_limit( 'get_like', 'wp_get_like', $author_id ) ) {
|
107 |
+
// Execute
|
108 |
+
$this->core->add_creds(
|
109 |
+
'wp_get_like',
|
110 |
+
$author_id,
|
111 |
+
$this->prefs['get_like']['creds'],
|
112 |
+
$this->prefs['get_like']['log'],
|
113 |
+
$id,
|
114 |
+
array( 'ref_type' => $key, 'by' => $user_id ),
|
115 |
+
$this->mycred_type
|
116 |
+
);
|
|
|
|
|
|
|
117 |
}
|
118 |
}
|
119 |
|
194 |
// Get author ID by it's type
|
195 |
switch ( $key ) {
|
196 |
case '_liked':
|
|
|
197 |
$author_id = get_post_field( 'post_author', $id );
|
198 |
break;
|
199 |
+
case '_topicliked':
|
200 |
+
$author_id = bbp_get_reply_author_id( $id );
|
201 |
+
break;
|
202 |
case '_commentliked':
|
203 |
$comment_id = get_comment( $id );
|
204 |
$author_id = $comment_id->user_id;
|
inc/classes/class-wp-ulike.php
CHANGED
@@ -466,7 +466,7 @@ if ( ! class_exists( 'wp_ulike' ) ) {
|
|
466 |
|
467 |
// Get results
|
468 |
$user_query = $this->wpdb->get_results( stripslashes( $query ) );
|
469 |
-
wp_cache_set( $cache_key, $user_query, WP_ULIKE_SLUG );
|
470 |
}
|
471 |
|
472 |
// Find current ID value from cached query.
|
466 |
|
467 |
// Get results
|
468 |
$user_query = $this->wpdb->get_results( stripslashes( $query ) );
|
469 |
+
wp_cache_set( $cache_key, $user_query, WP_ULIKE_SLUG, 300 );
|
470 |
}
|
471 |
|
472 |
// Find current ID value from cached query.
|
inc/general-functions.php
CHANGED
@@ -252,7 +252,7 @@ if( ! function_exists( 'wp_ulike_get_counter_value_info' ) ){
|
|
252 |
|
253 |
$counter_query = $wpdb->get_results( stripslashes( $query ) );
|
254 |
|
255 |
-
wp_cache_set( $cache_key, $counter_query, WP_ULIKE_SLUG );
|
256 |
}
|
257 |
|
258 |
// Find current ID counter value from cached query.
|
@@ -1044,7 +1044,7 @@ if( ! function_exists( 'wp_ulike_get_likers_list_per_post' ) ){
|
|
1044 |
|
1045 |
// Get results
|
1046 |
$likers_query = $wpdb->get_results( stripslashes( $query ) );
|
1047 |
-
wp_cache_set( $cache_key, $likers_query, WP_ULIKE_SLUG );
|
1048 |
}
|
1049 |
|
1050 |
// Find current ID value from cached query.
|
@@ -1161,15 +1161,14 @@ if( ! function_exists( 'wp_ulike_get_user_access_capability' ) ){
|
|
1161 |
|
1162 |
if( ! function_exists( 'wp_ulike_get_likers_template' ) ){
|
1163 |
/**
|
1164 |
-
* Get likers box template
|
1165 |
*
|
1166 |
-
* @
|
1167 |
-
* @param
|
1168 |
-
* @param
|
1169 |
-
* @param
|
1170 |
-
* @param
|
1171 |
-
* @
|
1172 |
-
* @return String
|
1173 |
*/
|
1174 |
function wp_ulike_get_likers_template( $table_name, $column_name, $post_ID, $setting_key, $args = array() ){
|
1175 |
|
@@ -1190,12 +1189,16 @@ if( ! function_exists( 'wp_ulike_get_likers_template' ) ){
|
|
1190 |
if( ! empty( $get_users ) ) {
|
1191 |
|
1192 |
// Get likers html template
|
1193 |
-
$get_template
|
|
|
|
|
1194 |
|
1195 |
-
|
|
|
|
|
|
|
1196 |
|
1197 |
-
|
1198 |
-
$user_info = get_userdata( $user );
|
1199 |
$out_template = $inner_template;
|
1200 |
if ( $user_info ):
|
1201 |
if( strpos( $out_template, '%USER_AVATAR%' ) !== false ) {
|
@@ -1230,6 +1233,36 @@ if( ! function_exists( 'wp_ulike_get_likers_template' ) ){
|
|
1230 |
}
|
1231 |
}
|
1232 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1233 |
if( ! function_exists( 'wp_ulike_get_template_between' ) ){
|
1234 |
/**
|
1235 |
* Get template between
|
@@ -1653,7 +1686,7 @@ if( ! function_exists('wp_ulike_count_all_logs') ){
|
|
1653 |
);
|
1654 |
|
1655 |
$counter_value = $wpdb->get_var( $query );
|
1656 |
-
wp_cache_set( $cache_key, $counter_value, WP_ULIKE_SLUG );
|
1657 |
}
|
1658 |
|
1659 |
return empty( $counter_value ) ? 0 : $counter_value;
|
@@ -1782,6 +1815,7 @@ if( ! function_exists( 'wp_ulike_set_default_template' ) ){
|
|
1782 |
<div class="wpulike wpulike-default <?php echo $wrapper_class; ?>" <?php echo $attributes; ?>>
|
1783 |
<div class="<?php echo $general_class; ?>">
|
1784 |
<button type="button"
|
|
|
1785 |
data-ulike-id="<?php echo $ID; ?>"
|
1786 |
data-ulike-nonce="<?php echo wp_create_nonce( $type . $ID ); ?>"
|
1787 |
data-ulike-type="<?php echo $type; ?>"
|
@@ -1826,6 +1860,7 @@ if( ! function_exists( 'wp_ulike_set_simple_heart_template' ) ){
|
|
1826 |
<div class="wpulike wpulike-heart <?php echo $wrapper_class; ?>" <?php echo $attributes; ?>>
|
1827 |
<div class="<?php echo $general_class; ?>">
|
1828 |
<button type="button"
|
|
|
1829 |
data-ulike-id="<?php echo $ID; ?>"
|
1830 |
data-ulike-nonce="<?php echo wp_create_nonce( $type . $ID ); ?>"
|
1831 |
data-ulike-type="<?php echo $type; ?>"
|
@@ -1869,8 +1904,8 @@ if( ! function_exists( 'wp_ulike_set_robeen_template' ) ){
|
|
1869 |
?>
|
1870 |
<div class="wpulike wpulike-robeen <?php echo $wrapper_class; ?>" <?php echo $attributes; ?>>
|
1871 |
<div class="<?php echo $general_class; ?>">
|
1872 |
-
<label title="<?php
|
1873 |
-
<input
|
1874 |
data-ulike-id="<?php echo $ID; ?>"
|
1875 |
data-ulike-nonce="<?php echo wp_create_nonce( $type . $ID ); ?>"
|
1876 |
data-ulike-type="<?php echo $type; ?>"
|
@@ -1946,6 +1981,7 @@ if( ! function_exists( 'wp_ulike_set_animated_heart_template' ) ){
|
|
1946 |
<div class="wpulike wpulike-animated-heart <?php echo $wrapper_class; ?>" <?php echo $attributes; ?>>
|
1947 |
<div class="<?php echo $general_class; ?>">
|
1948 |
<button type="button"
|
|
|
1949 |
data-ulike-id="<?php echo $ID; ?>"
|
1950 |
data-ulike-nonce="<?php echo wp_create_nonce( $type . $ID ); ?>"
|
1951 |
data-ulike-type="<?php echo $type; ?>"
|
252 |
|
253 |
$counter_query = $wpdb->get_results( stripslashes( $query ) );
|
254 |
|
255 |
+
wp_cache_set( $cache_key, $counter_query, WP_ULIKE_SLUG, 300 );
|
256 |
}
|
257 |
|
258 |
// Find current ID counter value from cached query.
|
1044 |
|
1045 |
// Get results
|
1046 |
$likers_query = $wpdb->get_results( stripslashes( $query ) );
|
1047 |
+
wp_cache_set( $cache_key, $likers_query, WP_ULIKE_SLUG, 300 );
|
1048 |
}
|
1049 |
|
1050 |
// Find current ID value from cached query.
|
1161 |
|
1162 |
if( ! function_exists( 'wp_ulike_get_likers_template' ) ){
|
1163 |
/**
|
1164 |
+
* Get likers box template info.
|
1165 |
*
|
1166 |
+
* @param string $table_name
|
1167 |
+
* @param string $column_name
|
1168 |
+
* @param integer $post_ID
|
1169 |
+
* @param string $setting_key
|
1170 |
+
* @param array $args
|
1171 |
+
* @return string
|
|
|
1172 |
*/
|
1173 |
function wp_ulike_get_likers_template( $table_name, $column_name, $post_ID, $setting_key, $args = array() ){
|
1174 |
|
1189 |
if( ! empty( $get_users ) ) {
|
1190 |
|
1191 |
// Get likers html template
|
1192 |
+
$get_template = ! empty( $parsed_args['template'] ) ? $parsed_args['template'] : '<div class="wp-ulike-likers-list">%START_WHILE%<span class="wp-ulike-liker"><a href="#" title="%USER_NAME%">%USER_AVATAR%</a></span>%END_WHILE%</div>' ;
|
1193 |
+
$get_users_info = wp_ulike_get_users( $table_name );
|
1194 |
+
$inner_template = wp_ulike_get_template_between( $get_template, "%START_WHILE%", "%END_WHILE%" );
|
1195 |
|
1196 |
+
foreach ( $get_users as $user ) {
|
1197 |
+
if( ! isset( $get_users_info[$user] ) ){
|
1198 |
+
continue;
|
1199 |
+
}
|
1200 |
|
1201 |
+
$user_info = $get_users_info[$user];
|
|
|
1202 |
$out_template = $inner_template;
|
1203 |
if ( $user_info ):
|
1204 |
if( strpos( $out_template, '%USER_AVATAR%' ) !== false ) {
|
1233 |
}
|
1234 |
}
|
1235 |
|
1236 |
+
if( ! function_exists( 'wp_ulike_get_users' ) ){
|
1237 |
+
/**
|
1238 |
+
* Retrieve list of users matching wp ulike tables.
|
1239 |
+
*
|
1240 |
+
* @return array
|
1241 |
+
*/
|
1242 |
+
function wp_ulike_get_users( $table ){
|
1243 |
+
global $wpdb;
|
1244 |
+
|
1245 |
+
$cache_key = sanitize_key( sprintf( 'get-users-for-%s', $table ) );
|
1246 |
+
$get_users = wp_cache_get( $cache_key, WP_ULIKE_SLUG );
|
1247 |
+
|
1248 |
+
// Make a general query to get info from target table.
|
1249 |
+
if( false === $get_users ){
|
1250 |
+
|
1251 |
+
$get_users = $wpdb->get_results( "SELECT DISTINCT {$wpdb->users}.*
|
1252 |
+
FROM {$wpdb->users}
|
1253 |
+
INNER JOIN {$wpdb->prefix}{$table}
|
1254 |
+
ON ( {$wpdb->users}.ID = {$wpdb->prefix}{$table}.user_id )
|
1255 |
+
WHERE {$wpdb->prefix}{$table}.status IN ('like', 'dislike')
|
1256 |
+
ORDER BY user_login ASC", OBJECT_K
|
1257 |
+
);
|
1258 |
+
|
1259 |
+
wp_cache_set( $cache_key, $get_users, WP_ULIKE_SLUG, 300 );
|
1260 |
+
}
|
1261 |
+
|
1262 |
+
return $get_users;
|
1263 |
+
}
|
1264 |
+
}
|
1265 |
+
|
1266 |
if( ! function_exists( 'wp_ulike_get_template_between' ) ){
|
1267 |
/**
|
1268 |
* Get template between
|
1686 |
);
|
1687 |
|
1688 |
$counter_value = $wpdb->get_var( $query );
|
1689 |
+
wp_cache_set( $cache_key, $counter_value, WP_ULIKE_SLUG, 300 );
|
1690 |
}
|
1691 |
|
1692 |
return empty( $counter_value ) ? 0 : $counter_value;
|
1815 |
<div class="wpulike wpulike-default <?php echo $wrapper_class; ?>" <?php echo $attributes; ?>>
|
1816 |
<div class="<?php echo $general_class; ?>">
|
1817 |
<button type="button"
|
1818 |
+
aria-label="<?php echo wp_ulike_get_option( 'like_button_aria_label', __( 'Like Button',WP_ULIKE_SLUG) ) ?>"
|
1819 |
data-ulike-id="<?php echo $ID; ?>"
|
1820 |
data-ulike-nonce="<?php echo wp_create_nonce( $type . $ID ); ?>"
|
1821 |
data-ulike-type="<?php echo $type; ?>"
|
1860 |
<div class="wpulike wpulike-heart <?php echo $wrapper_class; ?>" <?php echo $attributes; ?>>
|
1861 |
<div class="<?php echo $general_class; ?>">
|
1862 |
<button type="button"
|
1863 |
+
aria-label="<?php echo wp_ulike_get_option( 'like_button_aria_label', __( 'Like Button',WP_ULIKE_SLUG) ) ?>"
|
1864 |
data-ulike-id="<?php echo $ID; ?>"
|
1865 |
data-ulike-nonce="<?php echo wp_create_nonce( $type . $ID ); ?>"
|
1866 |
data-ulike-type="<?php echo $type; ?>"
|
1904 |
?>
|
1905 |
<div class="wpulike wpulike-robeen <?php echo $wrapper_class; ?>" <?php echo $attributes; ?>>
|
1906 |
<div class="<?php echo $general_class; ?>">
|
1907 |
+
<label title="<?php echo wp_ulike_get_option( 'like_button_aria_label', __( 'Like Button',WP_ULIKE_SLUG) ) ?>">
|
1908 |
+
<input type="checkbox"
|
1909 |
data-ulike-id="<?php echo $ID; ?>"
|
1910 |
data-ulike-nonce="<?php echo wp_create_nonce( $type . $ID ); ?>"
|
1911 |
data-ulike-type="<?php echo $type; ?>"
|
1981 |
<div class="wpulike wpulike-animated-heart <?php echo $wrapper_class; ?>" <?php echo $attributes; ?>>
|
1982 |
<div class="<?php echo $general_class; ?>">
|
1983 |
<button type="button"
|
1984 |
+
aria-label="<?php echo wp_ulike_get_option( 'like_button_aria_label', __( 'Like Button',WP_ULIKE_SLUG) ) ?>"
|
1985 |
data-ulike-id="<?php echo $ID; ?>"
|
1986 |
data-ulike-nonce="<?php echo wp_create_nonce( $type . $ID ); ?>"
|
1987 |
data-ulike-type="<?php echo $type; ?>"
|
inc/general-hooks.php
CHANGED
@@ -332,16 +332,6 @@ if( defined( 'BP_VERSION' ) ) {
|
|
332 |
}
|
333 |
break;
|
334 |
|
335 |
-
case 'bp_before_activity_comment':
|
336 |
-
if( isset( $options['enable_comments'] ) && wp_ulike_is_true( $options['enable_comments'] ) ) {
|
337 |
-
if ( isset( $options['auto_display_position'] ) && $options['auto_display_position'] === 'content' ){
|
338 |
-
add_filter( 'bp_activity_comment_content', function( $content ) use( $button ) {
|
339 |
-
return $content . $button;
|
340 |
-
});
|
341 |
-
}
|
342 |
-
}
|
343 |
-
break;
|
344 |
-
|
345 |
case 'bp_activity_entry_meta':
|
346 |
if ( isset( $options['auto_display_position'] ) && $options['auto_display_position'] === 'meta' ){
|
347 |
echo $button;
|
@@ -358,10 +348,35 @@ if( defined( 'BP_VERSION' ) ) {
|
|
358 |
}
|
359 |
add_action( 'bp_activity_entry_meta', 'wp_ulike_put_buddypress' );
|
360 |
add_action( 'bp_activity_comment_options', 'wp_ulike_put_buddypress' );
|
361 |
-
add_action( 'bp_before_activity_comment', 'wp_ulike_put_buddypress' );
|
362 |
add_action( 'bp_activity_entry_content', 'wp_ulike_put_buddypress' );
|
363 |
}
|
364 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
if( ! function_exists( 'wp_ulike_register_activity_actions' ) ){
|
366 |
/**
|
367 |
* Register "WP ULike Activity" action
|
@@ -1034,4 +1049,5 @@ if( ! function_exists( 'wp_ulike_purge_rocket_cache' ) && function_exists( 'rock
|
|
1034 |
}
|
1035 |
}
|
1036 |
add_action( 'wp_ulike_after_process', 'wp_ulike_purge_rocket_cache' , 10, 2 );
|
1037 |
-
}
|
|
332 |
}
|
333 |
break;
|
334 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
335 |
case 'bp_activity_entry_meta':
|
336 |
if ( isset( $options['auto_display_position'] ) && $options['auto_display_position'] === 'meta' ){
|
337 |
echo $button;
|
348 |
}
|
349 |
add_action( 'bp_activity_entry_meta', 'wp_ulike_put_buddypress' );
|
350 |
add_action( 'bp_activity_comment_options', 'wp_ulike_put_buddypress' );
|
|
|
351 |
add_action( 'bp_activity_entry_content', 'wp_ulike_put_buddypress' );
|
352 |
}
|
353 |
|
354 |
+
if( ! function_exists( 'wp_ulike_buddypress_comment_content_display' ) ){
|
355 |
+
/**
|
356 |
+
* BuddyPress Comment Content auto display hook
|
357 |
+
*
|
358 |
+
* @param string $content
|
359 |
+
* @return string
|
360 |
+
*/
|
361 |
+
function wp_ulike_buddypress_comment_content_display( $content, $context ) {
|
362 |
+
$options = wp_ulike_get_option( 'buddypress_group' );
|
363 |
+
|
364 |
+
if ( isset( $options['enable_auto_display'] ) && wp_ulike_is_true( $options['enable_auto_display'] ) && $context === 'get' ) {
|
365 |
+
// Add wp_ulike function
|
366 |
+
$button = wp_ulike_buddypress('put');
|
367 |
+
|
368 |
+
if( isset( $options['enable_comments'] ) && wp_ulike_is_true( $options['enable_comments'] ) ) {
|
369 |
+
if ( isset( $options['auto_display_position'] ) && $options['auto_display_position'] === 'content' ){
|
370 |
+
return $content . $button;
|
371 |
+
}
|
372 |
+
}
|
373 |
+
}
|
374 |
+
|
375 |
+
return $content;
|
376 |
+
}
|
377 |
+
add_filter( 'bp_activity_comment_content', 'wp_ulike_buddypress_comment_content_display', 10, 2 );
|
378 |
+
}
|
379 |
+
|
380 |
if( ! function_exists( 'wp_ulike_register_activity_actions' ) ){
|
381 |
/**
|
382 |
* Register "WP ULike Activity" action
|
1049 |
}
|
1050 |
}
|
1051 |
add_action( 'wp_ulike_after_process', 'wp_ulike_purge_rocket_cache' , 10, 2 );
|
1052 |
+
}
|
1053 |
+
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: wp ulike, like button, elementor, like, dislike, wordpress youlike plugin,
|
|
6 |
Requires PHP: 5.4
|
7 |
Requires at least: 3.5.0
|
8 |
Tested up to: 5.3.2
|
9 |
-
Stable tag: 4.1.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -186,6 +186,16 @@ define( 'WP_MEMORY_LIMIT', '256M' );
|
|
186 |
|
187 |
== Changelog ==
|
188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
= 4.1.8 =
|
190 |
* Added: New REST API Routes. [PRO]
|
191 |
* Added: New option to customize user login template.
|
6 |
Requires PHP: 5.4
|
7 |
Requires at least: 3.5.0
|
8 |
Tested up to: 5.3.2
|
9 |
+
Stable tag: 4.1.9
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
186 |
|
187 |
== Changelog ==
|
188 |
|
189 |
+
= 4.1.9 =
|
190 |
+
* Added: Improvements on getting likers data from database.
|
191 |
+
* Added: Aria-label option for buttons to make more accessibility support.
|
192 |
+
* Added: Database structure upgrade to fix IPv6 issues.
|
193 |
+
* Fixed: Auto display issue in BuddyPress comments content.
|
194 |
+
* Fixed: An issue with author points in mycred integration.
|
195 |
+
* Fixed: PopHover display issues.
|
196 |
+
* Fixed: An issue with CSS validation.
|
197 |
+
* Fixed: Some small issues.
|
198 |
+
|
199 |
= 4.1.8 =
|
200 |
* Added: New REST API Routes. [PRO]
|
201 |
* Added: New option to customize user login template.
|
wp-ulike.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: WP ULike
|
11 |
* Plugin URI: https://wpulike.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
|
12 |
* Description: WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments AND buddypress activities. Its very simple to use and supports many options.
|
13 |
-
* Version: 4.1.
|
14 |
* Author: Ali Mirzaei
|
15 |
* Author URI: https://wpulike.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
|
16 |
* Text Domain: wp-ulike
|
@@ -46,7 +46,8 @@ if ( defined( 'WP_INSTALLING' ) && WP_INSTALLING ) {
|
|
46 |
|
47 |
// Do not change these values
|
48 |
define( 'WP_ULIKE_PLUGIN_URI' , 'https://wpulike.com/' );
|
49 |
-
define( 'WP_ULIKE_VERSION' , '4.1.
|
|
|
50 |
define( 'WP_ULIKE_SLUG' , 'wp-ulike' );
|
51 |
define( 'WP_ULIKE_NAME' , __( 'WP ULike', WP_ULIKE_SLUG ));
|
52 |
|
@@ -433,6 +434,15 @@ if ( ! class_exists( 'WpUlikeInit' ) ) :
|
|
433 |
PRIMARY KEY (`id`)
|
434 |
) $charset_collate AUTO_INCREMENT=1;" );
|
435 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
436 |
do_action( 'wp_ulike_activated', get_current_blog_id() );
|
437 |
}
|
438 |
|
10 |
* Plugin Name: WP ULike
|
11 |
* Plugin URI: https://wpulike.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
|
12 |
* Description: WP ULike plugin allows to integrate a beautiful Ajax Like Button into your wordPress website to allow your visitors to like and unlike pages, posts, comments AND buddypress activities. Its very simple to use and supports many options.
|
13 |
+
* Version: 4.1.9
|
14 |
* Author: Ali Mirzaei
|
15 |
* Author URI: https://wpulike.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
|
16 |
* Text Domain: wp-ulike
|
46 |
|
47 |
// Do not change these values
|
48 |
define( 'WP_ULIKE_PLUGIN_URI' , 'https://wpulike.com/' );
|
49 |
+
define( 'WP_ULIKE_VERSION' , '4.1.9' );
|
50 |
+
define( 'WP_ULIKE_DB_VERSION' , '1.7' );
|
51 |
define( 'WP_ULIKE_SLUG' , 'wp-ulike' );
|
52 |
define( 'WP_ULIKE_NAME' , __( 'WP ULike', WP_ULIKE_SLUG ));
|
53 |
|
434 |
PRIMARY KEY (`id`)
|
435 |
) $charset_collate AUTO_INCREMENT=1;" );
|
436 |
|
437 |
+
// Upgrade Tables
|
438 |
+
if ( version_compare( get_option( 'wp_ulike_dbVersion', WP_ULIKE_DB_VERSION ), WP_ULIKE_DB_VERSION, '<' ) ) {
|
439 |
+
$wpdb->query( "ALTER TABLE $posts_table CHANGE `user_id` `user_id` VARCHAR(100) NOT NULL, CHANGE `ip` `ip` VARCHAR(100) NOT NULL" );
|
440 |
+
$wpdb->query( "ALTER TABLE $comments_table CHANGE `user_id` `user_id` VARCHAR(100) NOT NULL, CHANGE `ip` `ip` VARCHAR(100) NOT NULL" );
|
441 |
+
$wpdb->query( "ALTER TABLE $activities_table CHANGE `user_id` `user_id` VARCHAR(100) NOT NULL, CHANGE `ip` `ip` VARCHAR(100) NOT NULL" );
|
442 |
+
$wpdb->query( "ALTER TABLE $forums_table CHANGE `user_id` `user_id` VARCHAR(100) NOT NULL, CHANGE `ip` `ip` VARCHAR(100) NOT NULL" );
|
443 |
+
update_option( 'wp_ulike_dbVersion', WP_ULIKE_DB_VERSION );
|
444 |
+
}
|
445 |
+
|
446 |
do_action( 'wp_ulike_activated', get_current_blog_id() );
|
447 |
}
|
448 |
|