Version Description
- Fix - Add missing minified scripts and styles.
Download this release
Release Info
Developer | ramiy |
Plugin | Press Elements – Widgets for Elementor |
Version | 1.7.2 |
Comparing to | |
See all releases |
Code changes from version 1.7.1 to 1.7.2
- assets/css/before-after-effect.min.css +1 -0
- assets/css/image-accordion.min.css +1 -0
- assets/css/notes.min.css +1 -0
- assets/css/typing-effect.min.css +1 -0
- assets/js/before-after-effect.min.js +3 -0
- assets/js/typing-effect.min.js +2 -0
- libs/freemius/.codeclimate.yml +19 -0
- libs/freemius/.travis.yml +11 -0
- libs/freemius/assets/css/admin/affiliation.css +1 -0
- libs/freemius/assets/css/admin/index.php +3 -0
- libs/freemius/assets/css/customizer.css +1 -0
- libs/freemius/assets/css/index.php +3 -0
- libs/freemius/assets/img/index.php +3 -0
- libs/freemius/assets/img/theme-icon.png +0 -0
- libs/freemius/assets/js/index.php +3 -0
- libs/freemius/assets/scss/admin/_themes.scss +21 -0
- libs/freemius/assets/scss/admin/affiliation.scss +97 -0
- libs/freemius/assets/scss/admin/index.php +3 -0
- libs/freemius/assets/scss/customizer.scss +125 -0
- libs/freemius/assets/scss/index.php +3 -0
- libs/freemius/composer.json +10 -0
- libs/freemius/gulpfile.js +167 -0
- press-elements.php +2 -2
- readme.txt +5 -1
assets/css/before-after-effect.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.twentytwenty-container{position:relative;overflow:hidden;z-index:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none}.twentytwenty-container *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.twentytwenty-container img{position:absolute;top:0;display:block;max-width:100%}.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-after-label,.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-before-label,.twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-after-label,.twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-before-label{opacity:0}.twentytwenty-overlay{position:absolute;top:0;width:100%;height:100%;z-index:25;-webkit-transition-duration:.5s;-moz-transition-duration:.5s;transition-duration:.5s;-webkit-transition-property:background;-moz-transition-property:background;transition-property:background}.twentytwenty-overlay:hover .twentytwenty-after-label{opacity:1}.twentytwenty-overlay:hover .twentytwenty-before-label{opacity:1}.twentytwenty-before{z-index:20}.twentytwenty-after{z-index:10}.twentytwenty-after-label,.twentytwenty-before-label{position:absolute;top:0;width:100%;height:100%;opacity:0;-webkit-transition-duration:.5s;-moz-transition-duration:.5s;transition-duration:.5s;-webkit-transition-property:opacity;-moz-transition-property:opacity;transition-property:opacity}.twentytwenty-after-label:before,.twentytwenty-before-label:before{position:absolute}.twentytwenty-horizontal .twentytwenty-before-label:before{left:0}.twentytwenty-horizontal .twentytwenty-after-label:before{right:0}.twentytwenty-vertical .twentytwenty-before-label:before{top:0}.twentytwenty-vertical .twentytwenty-after-label:before{bottom:0}.twentytwenty-horizontal .twentytwenty-handle:after,.twentytwenty-horizontal .twentytwenty-handle:before,.twentytwenty-vertical .twentytwenty-handle:after,.twentytwenty-vertical .twentytwenty-handle:before{content:" ";display:block;position:absolute;z-index:30;-webkit-box-shadow:0 0 12px rgba(51,51,51,.5);-moz-box-shadow:0 0 12px rgba(51,51,51,.5);box-shadow:0 0 12px rgba(51,51,51,.5)}.twentytwenty-horizontal .twentytwenty-handle:after,.twentytwenty-horizontal .twentytwenty-handle:before{height:9999px;left:50%}.twentytwenty-vertical .twentytwenty-handle:after,.twentytwenty-vertical .twentytwenty-handle:before{width:9999px;top:50%}.twentytwenty-handle{height:40px;width:40px;position:absolute;left:50%;top:50%;margin-left:-22px;margin-top:-22px;border-style:solid;z-index:40;cursor:pointer;-webkit-box-shadow:0 0 12px rgba(51,51,51,.5);-moz-box-shadow:0 0 12px rgba(51,51,51,.5);box-shadow:0 0 12px rgba(51,51,51,.5)}.twentytwenty-horizontal .twentytwenty-handle:before{bottom:50%;margin-bottom:22px}.twentytwenty-horizontal .twentytwenty-handle:after{top:50%;margin-top:22px}.twentytwenty-vertical .twentytwenty-handle:before{left:50%;margin-left:22px}.twentytwenty-vertical .twentytwenty-handle:after{right:50%;margin-right:22px}.twentytwenty-down-arrow,.twentytwenty-left-arrow,.twentytwenty-right-arrow,.twentytwenty-up-arrow{width:0;height:0;border:6px inset transparent;position:absolute}.twentytwenty-left-arrow,.twentytwenty-right-arrow{top:50%;margin-top:-6px}.twentytwenty-down-arrow,.twentytwenty-up-arrow{left:50%;margin-left:-6px}.twentytwenty-left-arrow{border-right:6px solid #fff;left:50%;margin-left:-17px}.twentytwenty-right-arrow{border-left:6px solid #fff;right:50%;margin-right:-17px}.twentytwenty-up-arrow{border-bottom:6px solid #fff;top:50%;margin-top:-17px}.twentytwenty-down-arrow{border-top:6px solid #fff;bottom:50%;margin-bottom:-17px}
|
assets/css/image-accordion.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.press-elements-image-accordion{width:100%;overflow:hidden;margin:0 auto}.press-elements-image-accordion ul{width:100%;display:table;table-layout:fixed;margin:0;padding:0}.press-elements-image-accordion ul li{display:table-cell;position:relative;background-repeat:no-repeat;background-size:cover}.press-elements-image-accordion ul li div{display:none;overflow:hidden;opacity:0;transition-delay:1s}.press-elements-image-accordion ul li div *{position:relative;width:100%;margin:0;overflow:hidden}.press-elements-image-accordion ul:hover li:hover div{display:inline-block;opacity:1;transition:opacity .5s}
|
assets/css/notes.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.press-elements-notes{position:relative;display:inline-block;vertical-align:top;width:100%;max-width:100%}.press-elements-notes:before{display:block;content:"";position:absolute;top:-15px;width:50%;height:30px;margin:0 auto;box-shadow:0 1px 1px rgba(0,0,0,.2);border-radius:6px/20px 0}
|
assets/css/typing-effect.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.typed-cursor{opacity:1;-webkit-animation:blink .7s infinite;-moz-animation:blink .7s infinite;animation:blink .7s infinite}@keyframes blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}@-webkit-keyframes blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}@-moz-keyframes blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}.typed-fade-out{opacity:0;animation:0;transition:opacity .25s}
|
assets/js/before-after-effect.min.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
|
2 |
+
(function($){var PressElementsBeforeAfterEffect=function($scope,$){var $settings=$('.twentytwenty-container',$scope);$settings.twentytwenty({default_offset_pct:$settings.data('starting-position'),orientation:$settings.data('orientation')});}
|
3 |
+
$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/before-after-effect.default',PressElementsBeforeAfterEffect);});})(jQuery);
|
assets/js/typing-effect.min.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
|
2 |
+
(function($){var PressElementsTypingEffect=function($scope,$){var $settings=$('.typing-effect-strings',$scope);$settings.typed({strings:Array.from($settings.data('strings')),typeSpeed:$settings.data('speed'),backSpeed:$settings.data('back-speed'),startDelay:$settings.data('start-delay'),backDelay:$settings.data('back-delay'),loop:!!$settings.data('loop'),showCursor:!!$settings.data('show-cursor'),cursorChar:$settings.data('cursor-char')});};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/typing-effect.default',PressElementsTypingEffect);});})(jQuery);
|
libs/freemius/.codeclimate.yml
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
engines:
|
2 |
+
phpcodesniffer:
|
3 |
+
enabled: true
|
4 |
+
config:
|
5 |
+
standard: "WordPress"
|
6 |
+
checks:
|
7 |
+
Squiz Commenting InlineComment InvalidEndChar:
|
8 |
+
enabled: false
|
9 |
+
Squiz Commenting InlineComment SpacingBefore:
|
10 |
+
enabled: false
|
11 |
+
Squiz Commenting InlineComment WrongStyle:
|
12 |
+
enabled: false
|
13 |
+
Generic Commenting DocComment MissingShort:
|
14 |
+
enabled: false
|
15 |
+
Generic WhiteSpace ScopeIndent IncorrectExact:
|
16 |
+
enabled: false
|
17 |
+
ratings:
|
18 |
+
paths:
|
19 |
+
- "**.php"
|
libs/freemius/.travis.yml
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
sudo: false
|
2 |
+
|
3 |
+
language: php
|
4 |
+
|
5 |
+
php:
|
6 |
+
- 5.3
|
7 |
+
- 5.4
|
8 |
+
- 5.5
|
9 |
+
- 5.6
|
10 |
+
- 7.0
|
11 |
+
- hhvm
|
libs/freemius/assets/css/admin/affiliation.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
@charset "UTF-8";#fs_affiliation_content_wrapper #messages{margin-top:25px}#fs_affiliation_content_wrapper h3{font-size:24px;padding:0;margin-left:0}#fs_affiliation_content_wrapper ul li{box-sizing:border-box;list-style-type:none}#fs_affiliation_content_wrapper ul li:before{content:'✓';margin-right:10px;font-weight:bold}#fs_affiliation_content_wrapper p:not(.description),#fs_affiliation_content_wrapper li,#fs_affiliation_content_wrapper label{font-size:16px !important;line-height:26px !important}#fs_affiliation_content_wrapper .button{margin-top:20px;margin-bottom:7px;line-height:35px;height:40px;font-size:16px}#fs_affiliation_content_wrapper .button#cancel_button{margin-right:5px}#fs_affiliation_content_wrapper form .input-container{margin-bottom:15px}#fs_affiliation_content_wrapper form .input-container .input-label{font-weight:bold;display:block;width:100%}#fs_affiliation_content_wrapper form .input-container.input-container-text label,#fs_affiliation_content_wrapper form .input-container.input-container-text input,#fs_affiliation_content_wrapper form .input-container.input-container-text textarea{display:block}#fs_affiliation_content_wrapper form .input-container #add_domain,#fs_affiliation_content_wrapper form .input-container .remove-domain{text-decoration:none;display:inline-block;margin-top:3px}#fs_affiliation_content_wrapper form .input-container #add_domain:focus,#fs_affiliation_content_wrapper form .input-container .remove-domain:focus{box-shadow:none}#fs_affiliation_content_wrapper form .input-container #add_domain.disabled,#fs_affiliation_content_wrapper form .input-container .remove-domain.disabled{color:#aaa;cursor:default}#fs_affiliation_content_wrapper form #extra_domains_container .description{margin-top:0;position:relative;top:-4px}#fs_affiliation_content_wrapper form #extra_domains_container .extra-domain-input-container{margin-bottom:15px}#fs_affiliation_content_wrapper form #extra_domains_container .extra-domain-input-container .domain{display:inline-block;margin-right:5px}#fs_affiliation_content_wrapper form #extra_domains_container .extra-domain-input-container .domain:last-of-type{margin-bottom:0}
|
libs/freemius/assets/css/admin/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
// Hide file structure from users on unprotected servers.
|
libs/freemius/assets/css/customizer.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
#fs_customizer_upsell .fs-customizer-plan{padding:10px 20px 20px 20px;border-radius:3px;background:#fff}#fs_customizer_upsell .fs-customizer-plan h2{position:relative;margin:0;line-height:2em;text-transform:uppercase}#fs_customizer_upsell .fs-customizer-plan h2 .button-link{top:-2px}#fs_customizer_upsell .fs-feature{position:relative}#fs_customizer_upsell .dashicons-yes{color:#0085ba;font-size:2em;vertical-align:bottom;margin-left:-7px;margin-right:10px}.rtl #fs_customizer_upsell .dashicons-yes{margin-left:10px;margin-right:-7px}#fs_customizer_upsell .dashicons-editor-help{color:#bbb;cursor:help}#fs_customizer_upsell .dashicons-editor-help .fs-feature-desc{opacity:0;visibility:hidden;-moz-transition:opacity 0.3s ease-in-out;-o-transition:opacity 0.3s ease-in-out;-ms-transition:opacity 0.3s ease-in-out;-webkit-transition:opacity 0.3s ease-in-out;transition:opacity 0.3s ease-in-out;position:absolute;background:#000;color:#fff;font-family:'arial', serif;font-size:12px;padding:10px;z-index:999999;bottom:100%;margin-bottom:5px;left:0;right:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:1px 1px 1px rgba(0,0,0,0.2);-webkit-box-shadow:1px 1px 1px rgba(0,0,0,0.2);box-shadow:1px 1px 1px rgba(0,0,0,0.2);line-height:1.3em;font-weight:bold;text-align:left}.rtl #fs_customizer_upsell .dashicons-editor-help .fs-feature-desc{text-align:right}#fs_customizer_upsell .dashicons-editor-help .fs-feature-desc::after{content:' ';display:block;width:0;height:0;border-style:solid;border-width:5px 5px 0 5px;border-color:#000 transparent transparent transparent;position:absolute;top:100%;left:21px}.rtl #fs_customizer_upsell .dashicons-editor-help .fs-feature-desc::after{right:21px;left:auto}#fs_customizer_upsell .dashicons-editor-help:hover .fs-feature-desc{visibility:visible;opacity:1}#fs_customizer_upsell .button-primary{display:block;text-align:center;margin-top:10px}#fs_customizer_support{display:block !important}#fs_customizer_support .button{float:right}#fs_customizer_support .button-group{width:100%;display:block;margin-top:10px}#fs_customizer_support .button-group .button{float:none;width:50%;text-align:center}
|
libs/freemius/assets/css/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
// Hide file structure from users on unprotected servers.
|
libs/freemius/assets/img/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
// Hide file structure from users on unprotected servers.
|
libs/freemius/assets/img/theme-icon.png
ADDED
Binary file
|
libs/freemius/assets/js/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
// Hide file structure from users on unprotected servers.
|
libs/freemius/assets/scss/admin/_themes.scss
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.theme-browser
|
2 |
+
{
|
3 |
+
.theme
|
4 |
+
{
|
5 |
+
.fs-premium-theme-badge
|
6 |
+
{
|
7 |
+
position: absolute;
|
8 |
+
top: 10px;
|
9 |
+
right: 0;
|
10 |
+
background: $fs-logo-green-color;
|
11 |
+
color: #fff;
|
12 |
+
text-transform: uppercase;
|
13 |
+
padding: 5px 10px;
|
14 |
+
@include border-radius(3px 0 0 3px);
|
15 |
+
font-weight: bold;
|
16 |
+
border-right: 0;
|
17 |
+
@include box-shadow(0 2px 1px -1px rgba(0, 0, 0, .3));
|
18 |
+
font-size: 1.1em;
|
19 |
+
}
|
20 |
+
}
|
21 |
+
}
|
libs/freemius/assets/scss/admin/affiliation.scss
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../start";
|
2 |
+
|
3 |
+
#fs_affiliation_content_wrapper {
|
4 |
+
#messages {
|
5 |
+
margin-top: 25px;
|
6 |
+
}
|
7 |
+
|
8 |
+
h3 {
|
9 |
+
font-size: 24px;
|
10 |
+
padding: 0;
|
11 |
+
margin-left: 0;
|
12 |
+
}
|
13 |
+
|
14 |
+
ul {
|
15 |
+
li {
|
16 |
+
@include box-sizing(border-box);
|
17 |
+
list-style-type: none;
|
18 |
+
|
19 |
+
&:before {
|
20 |
+
content: '✓';
|
21 |
+
margin-right: 10px;
|
22 |
+
font-weight: bold;
|
23 |
+
}
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
p:not(.description), li, label {
|
28 |
+
font-size: 16px !important;
|
29 |
+
line-height: 26px !important;
|
30 |
+
}
|
31 |
+
|
32 |
+
.button {
|
33 |
+
margin-top: 20px;
|
34 |
+
margin-bottom: 7px;
|
35 |
+
line-height: 35px;
|
36 |
+
height: 40px;
|
37 |
+
font-size: 16px;
|
38 |
+
|
39 |
+
&#cancel_button {
|
40 |
+
margin-right: 5px;
|
41 |
+
}
|
42 |
+
}
|
43 |
+
|
44 |
+
form {
|
45 |
+
.input-container {
|
46 |
+
.input-label {
|
47 |
+
font-weight: bold;
|
48 |
+
display: block;
|
49 |
+
width: 100%;
|
50 |
+
}
|
51 |
+
|
52 |
+
&.input-container-text {
|
53 |
+
label, input, textarea {
|
54 |
+
display: block;
|
55 |
+
}
|
56 |
+
}
|
57 |
+
|
58 |
+
margin-bottom: 15px;
|
59 |
+
|
60 |
+
#add_domain, .remove-domain {
|
61 |
+
text-decoration: none;
|
62 |
+
display: inline-block;
|
63 |
+
margin-top: 3px;
|
64 |
+
|
65 |
+
&:focus {
|
66 |
+
box-shadow: none;
|
67 |
+
}
|
68 |
+
|
69 |
+
&.disabled {
|
70 |
+
color: #aaa;
|
71 |
+
cursor: default;
|
72 |
+
}
|
73 |
+
}
|
74 |
+
}
|
75 |
+
|
76 |
+
#extra_domains_container {
|
77 |
+
.description {
|
78 |
+
margin-top: 0;
|
79 |
+
position: relative;
|
80 |
+
top: -4px;
|
81 |
+
}
|
82 |
+
|
83 |
+
.extra-domain-input-container {
|
84 |
+
margin-bottom: 15px;
|
85 |
+
|
86 |
+
.domain {
|
87 |
+
display: inline-block;
|
88 |
+
margin-right: 5px;
|
89 |
+
|
90 |
+
&:last-of-type {
|
91 |
+
margin-bottom: 0;
|
92 |
+
}
|
93 |
+
}
|
94 |
+
}
|
95 |
+
}
|
96 |
+
}
|
97 |
+
}
|
libs/freemius/assets/scss/admin/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
// Hide file structure from users on unprotected servers.
|
libs/freemius/assets/scss/customizer.scss
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "start";
|
2 |
+
|
3 |
+
#fs_customizer_upsell {
|
4 |
+
.fs-customizer-plan {
|
5 |
+
padding: 10px 20px 20px 20px;
|
6 |
+
border-radius: 3px;
|
7 |
+
background: #fff;
|
8 |
+
|
9 |
+
h2 {
|
10 |
+
position: relative;
|
11 |
+
margin: 0;
|
12 |
+
line-height: 2em;
|
13 |
+
text-transform: uppercase;
|
14 |
+
|
15 |
+
.button-link {
|
16 |
+
top: -2px;
|
17 |
+
}
|
18 |
+
}
|
19 |
+
}
|
20 |
+
|
21 |
+
.fs-feature {
|
22 |
+
position: relative;
|
23 |
+
}
|
24 |
+
|
25 |
+
.dashicons-yes {
|
26 |
+
color: #0085ba;
|
27 |
+
font-size: 2em;
|
28 |
+
vertical-align: bottom;
|
29 |
+
margin-left: -7px;
|
30 |
+
margin-right: 10px;
|
31 |
+
|
32 |
+
.rtl & {
|
33 |
+
margin-left: 10px;
|
34 |
+
margin-right: -7px;
|
35 |
+
}
|
36 |
+
}
|
37 |
+
|
38 |
+
.dashicons-editor-help
|
39 |
+
{
|
40 |
+
color: #bbb;
|
41 |
+
cursor: help;
|
42 |
+
|
43 |
+
$tooltip-color: #000;
|
44 |
+
|
45 |
+
.fs-feature-desc {
|
46 |
+
opacity: 0;
|
47 |
+
visibility: hidden;
|
48 |
+
@include transition(opacity 0.3s ease-in-out);
|
49 |
+
|
50 |
+
position: absolute;
|
51 |
+
background: $tooltip-color;
|
52 |
+
color: #fff;
|
53 |
+
font-family: 'arial', serif;
|
54 |
+
font-size: 12px;
|
55 |
+
padding: 10px;
|
56 |
+
z-index: 999999;
|
57 |
+
bottom: 100%;
|
58 |
+
margin-bottom: 5px;
|
59 |
+
left: 0;
|
60 |
+
right: 0;
|
61 |
+
@include border-radius(5px);
|
62 |
+
@include box-shadow(1px 1px 1px rgba(0,0,0,0.2));
|
63 |
+
line-height: 1.3em;
|
64 |
+
font-weight: bold;
|
65 |
+
text-align: left;
|
66 |
+
|
67 |
+
.rtl &
|
68 |
+
{
|
69 |
+
text-align: right;
|
70 |
+
}
|
71 |
+
|
72 |
+
&::after {
|
73 |
+
content: ' ';
|
74 |
+
display: block;
|
75 |
+
width: 0;
|
76 |
+
height: 0;
|
77 |
+
border-style: solid;
|
78 |
+
border-width: 5px 5px 0 5px;
|
79 |
+
border-color: $tooltip-color transparent transparent transparent;
|
80 |
+
position: absolute;
|
81 |
+
top: 100%;
|
82 |
+
left: 21px;
|
83 |
+
|
84 |
+
.rtl & {
|
85 |
+
right: 21px;
|
86 |
+
left: auto;
|
87 |
+
}
|
88 |
+
}
|
89 |
+
}
|
90 |
+
|
91 |
+
&:hover {
|
92 |
+
.fs-feature-desc {
|
93 |
+
visibility: visible;
|
94 |
+
opacity: 1;
|
95 |
+
}
|
96 |
+
}
|
97 |
+
}
|
98 |
+
|
99 |
+
.button-primary {
|
100 |
+
display: block;
|
101 |
+
text-align: center;
|
102 |
+
margin-top: 10px;
|
103 |
+
}
|
104 |
+
}
|
105 |
+
|
106 |
+
#fs_customizer_support
|
107 |
+
{
|
108 |
+
display: block !important;
|
109 |
+
|
110 |
+
.button {
|
111 |
+
float: right;
|
112 |
+
}
|
113 |
+
|
114 |
+
.button-group {
|
115 |
+
width: 100%;
|
116 |
+
display: block;
|
117 |
+
margin-top: 10px;
|
118 |
+
|
119 |
+
.button {
|
120 |
+
float: none;
|
121 |
+
width: 50%;
|
122 |
+
text-align: center;
|
123 |
+
}
|
124 |
+
}
|
125 |
+
}
|
libs/freemius/assets/scss/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
// Hide file structure from users on unprotected servers.
|
libs/freemius/composer.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "freemius/wordpress-sdk",
|
3 |
+
"description": "Freemius WordPress SDK",
|
4 |
+
"keywords": ["freemius", "wordpress", "plugin", "sdk"],
|
5 |
+
"homepage": "https://freemius.com",
|
6 |
+
"license": "GPL-3.0",
|
7 |
+
"require": {
|
8 |
+
"php": ">=5.2"
|
9 |
+
}
|
10 |
+
}
|
libs/freemius/gulpfile.js
ADDED
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
var gulp = require('gulp');
|
2 |
+
var path = require('path');
|
3 |
+
var filesystem = require('fs');
|
4 |
+
var wpPot = require('gulp-wp-pot');
|
5 |
+
var gettext = require('gulp-gettext');
|
6 |
+
var sort = require('gulp-sort');
|
7 |
+
var pofill = require('gulp-pofill');
|
8 |
+
var rename = require('gulp-rename');
|
9 |
+
var clean = require('gulp-clean');
|
10 |
+
|
11 |
+
var languagesFolder = './languages/';
|
12 |
+
|
13 |
+
var options = require('./transifex-config.json');
|
14 |
+
|
15 |
+
function getFolders(dir) {
|
16 |
+
return filesystem.readdirSync(dir)
|
17 |
+
.filter(function (file) {
|
18 |
+
return filesystem.statSync(path.join(dir, file)).isDirectory();
|
19 |
+
});
|
20 |
+
}
|
21 |
+
|
22 |
+
var transifex = require('gulp-transifex').createClient(options);
|
23 |
+
|
24 |
+
// Create POT out of i18n.php.
|
25 |
+
gulp.task('prepare-source', function () {
|
26 |
+
gulp.src('**/*.php')
|
27 |
+
.pipe(sort())
|
28 |
+
.pipe(wpPot({
|
29 |
+
destFile : 'freemius.pot',
|
30 |
+
package : 'freemius',
|
31 |
+
bugReport : 'https://github.com/Freemius/wordpress-sdk/issues',
|
32 |
+
lastTranslator : 'Vova Feldman <vova@freemius.com>',
|
33 |
+
team : 'Freemius Team <admin@freemius.com>',
|
34 |
+
/*gettextMethods: {
|
35 |
+
instances: ['this', '_fs'],
|
36 |
+
methods: [
|
37 |
+
'get_text_inline'
|
38 |
+
]
|
39 |
+
},*/
|
40 |
+
gettextFunctions: [
|
41 |
+
{name: 'get_text_inline'},
|
42 |
+
|
43 |
+
{name: 'fs_text_inline'},
|
44 |
+
{name: 'fs_echo_inline'},
|
45 |
+
{name: 'fs_esc_js_inline'},
|
46 |
+
{name: 'fs_esc_attr_inline'},
|
47 |
+
{name: 'fs_esc_attr_echo_inline'},
|
48 |
+
{name: 'fs_esc_html_inline'},
|
49 |
+
{name: 'fs_esc_html_echo_inline'},
|
50 |
+
|
51 |
+
{name: 'get_text_x_inline', context: 2},
|
52 |
+
{name: 'fs_text_x_inline', context: 2},
|
53 |
+
{name: 'fs_echo_x_inline', context: 2},
|
54 |
+
{name: 'fs_esc_attr_x_inline', context: 2},
|
55 |
+
{name: 'fs_esc_js_x_inline', context: 2},
|
56 |
+
{name: 'fs_esc_js_echo_x_inline', context: 2},
|
57 |
+
{name: 'fs_esc_html_x_inline', context: 2},
|
58 |
+
{name: 'fs_esc_html_echo_x_inline', context: 2}
|
59 |
+
/*,
|
60 |
+
|
61 |
+
|
62 |
+
{name: '_fs_text'},
|
63 |
+
{name: '_fs_x', context: 2},
|
64 |
+
{name: '_fs_echo'},
|
65 |
+
{name: '_fs_esc_attr'},
|
66 |
+
{name: '_fs_esc_attr_echo'},
|
67 |
+
{name: '_fs_esc_html'},
|
68 |
+
{name: '_fs_esc_html_echo'},
|
69 |
+
{name: '_fs_ex', context: 2},
|
70 |
+
{name: '_fs_esc_attr_x', context: 2},
|
71 |
+
{name: '_fs_esc_html_x', context: 2},
|
72 |
+
|
73 |
+
{name: '_fs_n', plural: 2},
|
74 |
+
{name: '_fs_n_noop', plural: 2},
|
75 |
+
{name: '_fs_nx', plural: 2, context: 4},
|
76 |
+
{name: '_fs_nx_noop', plural: 2, context: 3}*/
|
77 |
+
]
|
78 |
+
}))
|
79 |
+
.pipe(gulp.dest(languagesFolder + 'freemius.pot'));
|
80 |
+
|
81 |
+
// Create English PO out of the POT.
|
82 |
+
return gulp.src(languagesFolder + 'freemius.pot')
|
83 |
+
.pipe(pofill({
|
84 |
+
items: function (item) {
|
85 |
+
// If msgstr is empty, use identity translation
|
86 |
+
if (!item.msgstr.length) {
|
87 |
+
item.msgstr = [''];
|
88 |
+
}
|
89 |
+
if (!item.msgstr[0]) {
|
90 |
+
item.msgstr[0] = item.msgid;
|
91 |
+
}
|
92 |
+
return item;
|
93 |
+
}
|
94 |
+
}))
|
95 |
+
.pipe(rename('freemius-en.po'))
|
96 |
+
.pipe(gulp.dest(languagesFolder));
|
97 |
+
});
|
98 |
+
|
99 |
+
// Push updated po resource to transifex.
|
100 |
+
gulp.task('update-transifex', ['prepare-source'], function () {
|
101 |
+
return gulp.src(languagesFolder + 'freemius-en.po')
|
102 |
+
.pipe(transifex.pushResource());
|
103 |
+
});
|
104 |
+
|
105 |
+
// Download latest *.po translations.
|
106 |
+
gulp.task('download-translations', ['update-transifex'], function () {
|
107 |
+
return gulp.src(languagesFolder + 'freemius-en.po')
|
108 |
+
.pipe(transifex.pullResource());
|
109 |
+
});
|
110 |
+
|
111 |
+
// Move translations to languages root.
|
112 |
+
gulp.task('prepare-translations', ['download-translations'], function () {
|
113 |
+
var folders = getFolders(languagesFolder);
|
114 |
+
|
115 |
+
return folders.map(function (folder) {
|
116 |
+
return gulp.src(path.join(languagesFolder, folder, 'freemius-en.po'))
|
117 |
+
.pipe(rename('freemius-' + folder + '.po'))
|
118 |
+
.pipe(gulp.dest(languagesFolder));
|
119 |
+
});
|
120 |
+
});
|
121 |
+
|
122 |
+
// Feel up empty translations with English.
|
123 |
+
gulp.task('translations-feelup', ['prepare-translations'], function () {
|
124 |
+
return gulp.src(languagesFolder + '*.po')
|
125 |
+
.pipe(pofill({
|
126 |
+
items: function (item) {
|
127 |
+
// If msgstr is empty, use identity translation
|
128 |
+
if (0 == item.msgstr.length) {
|
129 |
+
item.msgstr = [''];
|
130 |
+
}
|
131 |
+
if (0 == item.msgstr[0].length) {
|
132 |
+
// item.msgid[0] = item.msgid;
|
133 |
+
item.msgstr[0] = item.msgid;
|
134 |
+
}
|
135 |
+
return item;
|
136 |
+
}
|
137 |
+
}))
|
138 |
+
.pipe(gulp.dest(languagesFolder));
|
139 |
+
});
|
140 |
+
|
141 |
+
// Cleanup temporary translation folders.
|
142 |
+
gulp.task('cleanup', ['prepare-translations'], function () {
|
143 |
+
var folders = getFolders(languagesFolder);
|
144 |
+
|
145 |
+
return folders.map(function (folder) {
|
146 |
+
return gulp.src(path.join(languagesFolder, folder), {read: false})
|
147 |
+
.pipe(clean());
|
148 |
+
});
|
149 |
+
});
|
150 |
+
|
151 |
+
// Compile *.po to *.mo binaries for usage.
|
152 |
+
gulp.task('compile-translations', ['translations-feelup'], function () {
|
153 |
+
// Compile POs to MOs.
|
154 |
+
return gulp.src(languagesFolder + '*.po')
|
155 |
+
.pipe(gettext())
|
156 |
+
.pipe(gulp.dest(languagesFolder))
|
157 |
+
});
|
158 |
+
|
159 |
+
gulp.task('default', [], function () {
|
160 |
+
gulp.run('prepare-source');
|
161 |
+
gulp.run('update-transifex');
|
162 |
+
gulp.run('download-translations');
|
163 |
+
gulp.run('prepare-translations');
|
164 |
+
gulp.run('translations-feelup');
|
165 |
+
gulp.run('cleanup');
|
166 |
+
gulp.run('compile-translations');
|
167 |
+
});
|
press-elements.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Press Elements - Widgets for Elementor
|
5 |
* Description: Easy-to-use widgets that help you display and design your content using Elementor page builder.
|
6 |
* Plugin URI: https://wordpress.org/plugins/press-elements/
|
7 |
-
* Version: 1.7.
|
8 |
* Author: Press Elements
|
9 |
* Author URI: https://press-elements.com/
|
10 |
* Text Domain: press-elements
|
@@ -34,7 +34,7 @@ if ( !class_exists( 'Press_Elements' ) ) {
|
|
34 |
*
|
35 |
* @var string The plugin version.
|
36 |
*/
|
37 |
-
const VERSION = '1.7.
|
38 |
/**
|
39 |
* Minimum Elementor Version
|
40 |
*
|
4 |
* Plugin Name: Press Elements - Widgets for Elementor
|
5 |
* Description: Easy-to-use widgets that help you display and design your content using Elementor page builder.
|
6 |
* Plugin URI: https://wordpress.org/plugins/press-elements/
|
7 |
+
* Version: 1.7.2
|
8 |
* Author: Press Elements
|
9 |
* Author URI: https://press-elements.com/
|
10 |
* Text Domain: press-elements
|
34 |
*
|
35 |
* @var string The plugin version.
|
36 |
*/
|
37 |
+
const VERSION = '1.7.2' ;
|
38 |
/**
|
39 |
* Minimum Elementor Version
|
40 |
*
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: elementor, press elements, elements, widgets, page builder, builder, visua
|
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 4.9
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv3
|
9 |
License URI: https://opensource.org/licenses/GPL-3.0
|
10 |
|
@@ -166,6 +166,10 @@ For more advanced uses, please contact us in our [wp.org support forum](https://
|
|
166 |
|
167 |
== Changelog ==
|
168 |
|
|
|
|
|
|
|
|
|
169 |
= 1.7.1 =
|
170 |
|
171 |
* Fix - In the "Post Featured Image" widget, use only WordPress generated sizes.
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 4.9
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 1.7.2
|
8 |
License: GPLv3
|
9 |
License URI: https://opensource.org/licenses/GPL-3.0
|
10 |
|
166 |
|
167 |
== Changelog ==
|
168 |
|
169 |
+
= 1.7.2 =
|
170 |
+
|
171 |
+
* Fix - Add missing minified scripts and styles.
|
172 |
+
|
173 |
= 1.7.1 =
|
174 |
|
175 |
* Fix - In the "Post Featured Image" widget, use only WordPress generated sizes.
|