Version Description
(02/07/2019) = ** Improvements**
- Updated Freemius SDK.
- Tested with WP 5.2.
Download this release
Release Info
Developer | joelcj91 |
Plugin | ![]() |
Version | 3.0.5 |
Comparing to | |
See all releases |
Code changes from version 3.0.4 to 3.0.5
- 404-to-301.php +16 -16
- assets/css/index.php +0 -1
- assets/js/admin.min.js +1 -1
- assets/js/index.php +0 -1
- assets/src/css/{admin.css → admin.scss} +1 -1
- includes/admin/views/custom-redirect.php +2 -2
- languages/404-to-301.mo +0 -0
- languages/404-to-301.pot +9 -5
- readme.txt +13 -7
- vendor/freemius/assets/css/admin/account.css +1 -1
- vendor/freemius/assets/css/admin/add-ons.css +2 -2
- vendor/freemius/assets/css/admin/common.css +1 -1
- vendor/freemius/assets/css/admin/connect.css +1 -1
- vendor/freemius/assets/css/admin/dialog-boxes.css +1 -1
- vendor/freemius/assets/scss/admin/_badge.scss +14 -0
- vendor/freemius/assets/scss/admin/_license-activation.scss +5 -5
- vendor/freemius/assets/scss/admin/_multisite-options.scss +4 -4
- vendor/freemius/assets/scss/admin/_tag.scss +28 -0
- vendor/freemius/assets/scss/admin/_themes.scss +21 -14
- vendor/freemius/assets/scss/admin/account.scss +5 -0
- vendor/freemius/assets/scss/admin/add-ons.scss +172 -12
- vendor/freemius/assets/scss/admin/connect.scss +1 -1
- vendor/freemius/assets/scss/admin/plugins.scss +12 -0
- vendor/freemius/config.php +3 -3
- vendor/freemius/includes/class-freemius.php +1844 -355
- vendor/freemius/includes/class-fs-api.php +77 -38
- vendor/freemius/includes/class-fs-plugin-updater.php +164 -36
- vendor/freemius/includes/class-fs-storage.php +2 -0
- vendor/freemius/includes/entities/class-fs-payment.php +58 -0
- vendor/freemius/includes/entities/class-fs-plugin-license.php +22 -1
- vendor/freemius/includes/entities/class-fs-plugin-tag.php +12 -2
- vendor/freemius/includes/entities/class-fs-plugin.php +12 -0
- vendor/freemius/includes/entities/class-fs-site.php +4 -1
- vendor/freemius/includes/entities/class-fs-user.php +17 -0
- vendor/freemius/includes/fs-core-functions.php +35 -6
- vendor/freemius/includes/fs-plugin-info-dialog.php +557 -90
- vendor/freemius/includes/i18n.php +2 -2
- vendor/freemius/includes/managers/class-fs-admin-menu-manager.php +25 -14
- vendor/freemius/includes/managers/class-fs-option-manager.php +10 -3
- vendor/freemius/languages/freemius.pot +504 -438
- vendor/freemius/start.php +1 -1
- vendor/freemius/templates/account.php +164 -24
- vendor/freemius/templates/account/billing.php +8 -16
- vendor/freemius/templates/account/partials/addon.php +81 -24
- vendor/freemius/templates/account/partials/site.php +2 -2
- vendor/freemius/templates/account/payments.php +1 -1
- vendor/freemius/templates/add-ons.php +260 -16
- vendor/freemius/templates/checkout.php +11 -3
- vendor/freemius/templates/connect.php +51 -12
- vendor/freemius/templates/forms/deactivation/form.php +88 -46
- vendor/freemius/templates/forms/license-activation.php +32 -31
- vendor/freemius/templates/forms/premium-versions-upgrade-metadata.php +3 -1
- vendor/freemius/templates/forms/subscription-cancellation.php +3 -3
- vendor/freemius/templates/js/open-license-activation.php +1 -1
- vendor/freemius/templates/js/style-premium-theme.php +10 -2
- vendor/freemius/templates/partials/network-activation.php +12 -4
- vendor/freemius/templates/pricing.php +5 -0
404-to-301.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Plugin Name: 404 to 301
|
4 |
* Plugin URI: https://duckdev.com/products/404-to-301/
|
5 |
* Description: Automatically redirect all <strong>404 errors</strong> to any page using <strong>301 redirect for SEO</strong>. You can <strong>redirect and log</strong> every 404 errors. No more 404 errors in Webmaster tool.
|
6 |
-
* Version: 3.0.
|
7 |
* Author: Joel James
|
8 |
* Author URI: https://duckdev.com/
|
9 |
* Donate link: https://paypal.me/JoelCJ
|
@@ -25,11 +25,11 @@
|
|
25 |
* You should have received a copy of the GNU General Public License
|
26 |
* along with 404 to 301. If not, see <http://www.gnu.org/licenses/>.
|
27 |
*
|
28 |
-
* @category Core
|
29 |
-
* @package JJ4T3
|
30 |
* @author Joel James <mail@cjoel.com>
|
31 |
-
* @license http://www.gnu.org/licenses/ GNU General Public License
|
32 |
* @link https://duckdev.com/products/404-to-301/
|
|
|
|
|
|
|
33 |
*/
|
34 |
|
35 |
// If this file is called directly, abort.
|
@@ -63,7 +63,7 @@ if ( ! class_exists( 'JJ_404_to_301' ) ) :
|
|
63 |
'JJ4T3_DIR' => plugin_dir_path( __FILE__ ),
|
64 |
'JJ4T3_URL' => plugin_dir_url( __FILE__ ),
|
65 |
'JJ4T3_BASE_FILE' => __FILE__,
|
66 |
-
'JJ4T3_VERSION' => '3.0.
|
67 |
'JJ4T3_DB_VERSION' => '11.0',
|
68 |
'JJ4T3_TABLE' => $GLOBALS['wpdb']->prefix . '404_to_301',
|
69 |
// Set who all can access plugin settings.
|
@@ -120,15 +120,15 @@ if ( ! class_exists( 'JJ_404_to_301' ) ) :
|
|
120 |
|
121 |
// Initialize freemius sdk.
|
122 |
$jj4t3_fs = fs_dynamic_init( array(
|
123 |
-
'id'
|
124 |
-
'slug'
|
125 |
-
'type'
|
126 |
-
'public_key'
|
127 |
-
'is_premium'
|
128 |
-
'has_addons'
|
129 |
-
'has_paid_plans'
|
130 |
-
'anonymous_mode'
|
131 |
-
'menu'
|
132 |
'slug' => 'jj4t3-logs',
|
133 |
'account' => false,
|
134 |
'support' => false,
|
@@ -152,7 +152,7 @@ if ( ! class_exists( 'JJ_404_to_301' ) ) :
|
|
152 |
// Uninstaller for 404 to 301.
|
153 |
jj4t3_freemius()->add_action( 'after_uninstall', array(
|
154 |
'JJ4T3_Activator_Deactivator_Uninstaller',
|
155 |
-
'uninstall'
|
156 |
) );
|
157 |
|
158 |
// Signal that SDK was initiated.
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Plugin Name: 404 to 301 - Redirect, Log and Notify 404 Errors
|
4 |
* Plugin URI: https://duckdev.com/products/404-to-301/
|
5 |
* Description: Automatically redirect all <strong>404 errors</strong> to any page using <strong>301 redirect for SEO</strong>. You can <strong>redirect and log</strong> every 404 errors. No more 404 errors in Webmaster tool.
|
6 |
+
* Version: 3.0.5
|
7 |
* Author: Joel James
|
8 |
* Author URI: https://duckdev.com/
|
9 |
* Donate link: https://paypal.me/JoelCJ
|
25 |
* You should have received a copy of the GNU General Public License
|
26 |
* along with 404 to 301. If not, see <http://www.gnu.org/licenses/>.
|
27 |
*
|
|
|
|
|
28 |
* @author Joel James <mail@cjoel.com>
|
|
|
29 |
* @link https://duckdev.com/products/404-to-301/
|
30 |
+
* @license http://www.gnu.org/licenses/ GNU General Public License
|
31 |
+
* @package JJ4T3
|
32 |
+
* @category Core
|
33 |
*/
|
34 |
|
35 |
// If this file is called directly, abort.
|
63 |
'JJ4T3_DIR' => plugin_dir_path( __FILE__ ),
|
64 |
'JJ4T3_URL' => plugin_dir_url( __FILE__ ),
|
65 |
'JJ4T3_BASE_FILE' => __FILE__,
|
66 |
+
'JJ4T3_VERSION' => '3.0.5',
|
67 |
'JJ4T3_DB_VERSION' => '11.0',
|
68 |
'JJ4T3_TABLE' => $GLOBALS['wpdb']->prefix . '404_to_301',
|
69 |
// Set who all can access plugin settings.
|
120 |
|
121 |
// Initialize freemius sdk.
|
122 |
$jj4t3_fs = fs_dynamic_init( array(
|
123 |
+
'id' => '2192',
|
124 |
+
'slug' => '404-to-301',
|
125 |
+
'type' => 'plugin',
|
126 |
+
'public_key' => 'pk_9d470f3128e5e491ea5a2da6bf4bf',
|
127 |
+
'is_premium' => false,
|
128 |
+
'has_addons' => true,
|
129 |
+
'has_paid_plans' => false,
|
130 |
+
'anonymous_mode' => true, // Temporary fix.
|
131 |
+
'menu' => array(
|
132 |
'slug' => 'jj4t3-logs',
|
133 |
'account' => false,
|
134 |
'support' => false,
|
152 |
// Uninstaller for 404 to 301.
|
153 |
jj4t3_freemius()->add_action( 'after_uninstall', array(
|
154 |
'JJ4T3_Activator_Deactivator_Uninstaller',
|
155 |
+
'uninstall',
|
156 |
) );
|
157 |
|
158 |
// Signal that SDK was initiated.
|
assets/css/index.php
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<?php // Silence is golden
|
|
assets/js/admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var e={};function r(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=t,r.c=e,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(t,e,r){"use strict"
|
1 |
+
!function(t){var e={};function r(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=t,r.c=e,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(t,e,r){"use strict";var i;(i=jQuery)(function(){i("#jj4t3_redirect_to").change(function(){switch(i(this).val()){case"page":i("#custom_page").show(),i("#custom_url").hide();break;case"link":i("#custom_url").show(),i("#custom_page").hide();break;default:i("#custom_page").hide(),i("#custom_url").hide()}}),i(".jj4t3_redirect_thickbox").on("click",function(){var e={action:"jj4t3_redirect_thickbox",url_404:i(this).attr("url_404"),nonce:i(this).attr("wpnonce")};i.post(ajaxurl,e,function(e){tb_show(jj4t3strings.redirect,"#TB_inline?width=700&height=370&inlineId=jj4t3-redirect-modal"),i("#jj4t3_redirect_404").val(e.url_404),i("#jj4t3_redirect_404_text").html(e.url_404),i("#jj4t3_redirect_url").val(e.url),i("#jj4t3_custom_redirect_type").val(e.type),t("jj4t3_custom_redirect_redirect",e.redirect),t("jj4t3_custom_redirect_log",e.log),t("jj4t3_custom_redirect_alert",e.alert)})}),i("#jj4t3_custom_redirect_submit").on("click",function(){i(this).addClass("disabled"),i(".jj4t3-spinner").css("visibility","visible");var t=i("#jj4t3_custom_redirect_form").serialize();i.post(ajaxurl,t,function(t){tb_remove(),i("#jj4t3_custom_redirect_submit").removeClass("disabled"),i(".j4t3-spinner").css("visibility","hidden"),location.reload()})});var t=function(t,e){i("input[name="+t+"][value="+e+"]").prop("checked",!0)}})}]);
|
assets/js/index.php
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<?php // Silence is golden
|
|
assets/src/css/{admin.css → admin.scss}
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
.jj4t3-url-p {
|
2 |
-
color: #
|
3 |
}
|
4 |
|
5 |
.jj4t3-fixed-height {
|
1 |
.jj4t3-url-p {
|
2 |
+
color: #e53531 !important;
|
3 |
}
|
4 |
|
5 |
.jj4t3-fixed-height {
|
includes/admin/views/custom-redirect.php
CHANGED
@@ -39,7 +39,7 @@ defined( 'ABSPATH' ) or exit; ?>
|
|
39 |
<th><?php _e( 'Redirect to', '404-to-301' ); ?> :</th>
|
40 |
<td>
|
41 |
<input type="text" size="40" name="jj4t3_custom_redirect" id="jj4t3_redirect_url" value="">
|
42 |
-
<p class="description"><?php _e( 'Enter the url if you want to set custom redirect for above 404 path. Enter the full url including http://. Leave empty if you want to follow
|
43 |
<input type="hidden" value="" id="jj4t3_redirect_404" name="jj4t3_redirect_404">
|
44 |
<input type="hidden" value="<?php echo wp_create_nonce( "jj4t3_redirect_nonce" ); ?>" id="jj4t3_redirect_nonce" name="jj4t3_redirect_nonce">
|
45 |
<input type="hidden" value="jj4t3_redirect_form" name="action">
|
@@ -68,4 +68,4 @@ defined( 'ABSPATH' ) or exit; ?>
|
|
68 |
</table>
|
69 |
</form>
|
70 |
</div>
|
71 |
-
</div>
|
39 |
<th><?php _e( 'Redirect to', '404-to-301' ); ?> :</th>
|
40 |
<td>
|
41 |
<input type="text" size="40" name="jj4t3_custom_redirect" id="jj4t3_redirect_url" value="">
|
42 |
+
<p class="description"><?php _e( 'Enter the url if you want to set custom redirect for above 404 path. Enter the full url including http://. Leave empty if you want to follow default settings.', '404-to-301' ); ?></p>
|
43 |
<input type="hidden" value="" id="jj4t3_redirect_404" name="jj4t3_redirect_404">
|
44 |
<input type="hidden" value="<?php echo wp_create_nonce( "jj4t3_redirect_nonce" ); ?>" id="jj4t3_redirect_nonce" name="jj4t3_redirect_nonce">
|
45 |
<input type="hidden" value="jj4t3_redirect_form" name="action">
|
68 |
</table>
|
69 |
</form>
|
70 |
</div>
|
71 |
+
</div>
|
languages/404-to-301.mo
CHANGED
Binary file
|
languages/404-to-301.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: 404 to 301 3.0.
|
6 |
"Report-Msgid-Bugs-To: https://duckdev.com/products/404-to-301/\n"
|
7 |
-
"POT-Creation-Date: 2019-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -22,7 +22,7 @@ msgstr ""
|
|
22 |
"X-Poedit-SearchPath-0: .\n"
|
23 |
"X-Poedit-Bookmarks: \n"
|
24 |
"X-Textdomain-Support: yes\n"
|
25 |
-
"X-Generator: grunt-wp-
|
26 |
|
27 |
#: includes/admin/class-jj4t3-admin.php:139
|
28 |
msgid "Custom Redirect"
|
@@ -50,7 +50,7 @@ msgstr ""
|
|
50 |
msgid "Error Logs"
|
51 |
msgstr ""
|
52 |
|
53 |
-
|
54 |
msgid "404 to 301"
|
55 |
msgstr ""
|
56 |
|
@@ -201,7 +201,7 @@ msgstr ""
|
|
201 |
#: includes/admin/views/custom-redirect.php:42
|
202 |
msgid ""
|
203 |
"Enter the url if you want to set custom redirect for above 404 path. Enter "
|
204 |
-
"the full url including http://. Leave empty if you want to follow
|
205 |
"settings."
|
206 |
msgstr ""
|
207 |
|
@@ -355,6 +355,10 @@ msgstr ""
|
|
355 |
msgid "Alert sent by the %s404 to 301%s plugin for WordPress."
|
356 |
msgstr ""
|
357 |
|
|
|
|
|
|
|
|
|
358 |
#. Plugin URI of the plugin/theme
|
359 |
msgid "https://duckdev.com/products/404-to-301/"
|
360 |
msgstr ""
|
2 |
# This file is distributed under the GPL-2.0+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: 404 to 301 - Redirect, Log and Notify 404 Errors 3.0.5\n"
|
6 |
"Report-Msgid-Bugs-To: https://duckdev.com/products/404-to-301/\n"
|
7 |
+
"POT-Creation-Date: 2019-07-02 05:19:53+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
22 |
"X-Poedit-SearchPath-0: .\n"
|
23 |
"X-Poedit-Bookmarks: \n"
|
24 |
"X-Textdomain-Support: yes\n"
|
25 |
+
"X-Generator: grunt-wp-i18n 1.0.3\n"
|
26 |
|
27 |
#: includes/admin/class-jj4t3-admin.php:139
|
28 |
msgid "Custom Redirect"
|
50 |
msgid "Error Logs"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: includes/admin/class-jj4t3-admin.php:288 includes/admin/views/admin.php:21
|
54 |
msgid "404 to 301"
|
55 |
msgstr ""
|
56 |
|
201 |
#: includes/admin/views/custom-redirect.php:42
|
202 |
msgid ""
|
203 |
"Enter the url if you want to set custom redirect for above 404 path. Enter "
|
204 |
+
"the full url including http://. Leave empty if you want to follow default "
|
205 |
"settings."
|
206 |
msgstr ""
|
207 |
|
355 |
msgid "Alert sent by the %s404 to 301%s plugin for WordPress."
|
356 |
msgstr ""
|
357 |
|
358 |
+
#. Plugin Name of the plugin/theme
|
359 |
+
msgid "404 to 301 - Redirect, Log and Notify 404 Errors"
|
360 |
+
msgstr ""
|
361 |
+
|
362 |
#. Plugin URI of the plugin/theme
|
363 |
msgid "https://duckdev.com/products/404-to-301/"
|
364 |
msgstr ""
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
=== 404 to 301 ===
|
2 |
Contributors: joelcj91,duckdev
|
3 |
Tags: 404, 301, 302, 307, not found, 404 redirect, 404 to 301, 301 redirect, seo redirect, error redirect, 404 seo, custom 404 page
|
4 |
Donate link: https://www.paypal.me/JoelCJ
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 3.0.
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -128,6 +128,12 @@ Bug reports for 404 to 301 are always welcome. [Report here](https://duckdev.com
|
|
128 |
|
129 |
== Changelog ==
|
130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
= 3.0.4 (16/03/2019) =
|
132 |
**📦 New**
|
133 |
|
@@ -408,8 +414,8 @@ Bug reports for 404 to 301 are always welcome. [Report here](https://duckdev.com
|
|
408 |
|
409 |
== Upgrade Notice ==
|
410 |
|
411 |
-
= 3.0.
|
412 |
-
|
413 |
|
414 |
-
*
|
415 |
-
*
|
1 |
+
=== 404 to 301 - Redirect, Log and Notify 404 Errors ===
|
2 |
Contributors: joelcj91,duckdev
|
3 |
Tags: 404, 301, 302, 307, not found, 404 redirect, 404 to 301, 301 redirect, seo redirect, error redirect, 404 seo, custom 404 page
|
4 |
Donate link: https://www.paypal.me/JoelCJ
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 5.2
|
7 |
+
Stable tag: 3.0.5
|
8 |
Requires PHP: 5.6
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
128 |
|
129 |
== Changelog ==
|
130 |
|
131 |
+
= 3.0.5 (02/07/2019) =
|
132 |
+
**👌 Improvements**
|
133 |
+
|
134 |
+
* Updated Freemius SDK.
|
135 |
+
* Tested with WP 5.2.
|
136 |
+
|
137 |
= 3.0.4 (16/03/2019) =
|
138 |
**📦 New**
|
139 |
|
414 |
|
415 |
== Upgrade Notice ==
|
416 |
|
417 |
+
= 3.0.5 (02/07/2019) =
|
418 |
+
**👌 Improvements**
|
419 |
|
420 |
+
* Updated Freemius SDK.
|
421 |
+
* Tested with WP 5.2.
|
vendor/freemius/assets/css/admin/account.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#fs_account .postbox,#fs_account .widefat{max-width:700px}#fs_account h3{font-size:1.3em;padding:12px 15px;margin:0 0 12px 0;line-height:1.4;border-bottom:1px solid #F1F1F1}#fs_account h3 .dashicons{width:26px;height:26px;font-size:1.3em}#fs_account i.dashicons{font-size:1.2em;height:1.2em;width:1.2em}#fs_account .dashicons{vertical-align:middle}#fs_account .fs-header-actions{position:absolute;top:17px;right:15px;font-size:0.9em}#fs_account .fs-header-actions ul{margin:0}#fs_account .fs-header-actions li{float:left}#fs_account .fs-header-actions li form{display:inline-block}#fs_account .fs-header-actions li a{text-decoration:none}#fs_account_details .button-group{float:right}.rtl #fs_account .fs-header-actions{left:15px;right:auto}.fs-key-value-table{width:100%}.fs-key-value-table form{display:inline-block}.fs-key-value-table tr td:first-child{text-align:right}.fs-key-value-table tr td:first-child nobr{font-weight:bold}.fs-key-value-table tr td:first-child form{display:block}.fs-key-value-table tr td.fs-right{text-align:right}.fs-key-value-table tr.fs-odd{background:#ebebeb}.fs-key-value-table td,.fs-key-value-table th{padding:10px}.fs-key-value-table code{line-height:28px}.fs-key-value-table var,.fs-key-value-table code,.fs-key-value-table input[type="text"]{color:#0073AA;font-size:16px;background:none}.fs-key-value-table input[type="text"]{width:100%;font-weight:bold}label.fs-tag{background:#ffba00;color:#fff;display:inline-block;border-radius:3px;padding:5px;font-size:11px;line-height:11px;vertical-align:baseline}label.fs-tag.fs-warn{background:#ffba00}label.fs-tag.fs-success{background:#46b450}label.fs-tag.fs-error{background:#dc3232}#fs_sites .fs-scrollable-table .fs-table-body{max-height:200px;overflow:auto;border:1px solid #e5e5e5}#fs_sites .fs-scrollable-table .fs-table-body>table.widefat{border:none !important}#fs_sites .fs-scrollable-table .fs-main-column{width:100%}#fs_sites .fs-scrollable-table .fs-site-details td:first-of-type{text-align:right;color:grey;width:1px}#fs_sites .fs-scrollable-table .fs-site-details td:last-of-type{text-align:right}#fs_sites .fs-scrollable-table .fs-install-details table tr td{width:1px;white-space:nowrap}#fs_sites .fs-scrollable-table .fs-install-details table tr td:last-of-type{width:auto}#fs_addons h3{border:none;margin-bottom:0;padding:4px 5px}#fs_addons td{vertical-align:middle}#fs_addons thead{white-space:nowrap}#fs_addons td:first-child,#fs_addons th:first-child{text-align:left;font-weight:bold}#fs_addons td:last-child,#fs_addons th:last-child{text-align:right}#fs_addons th{font-weight:bold}#fs_billing_address{width:100%}#fs_billing_address tr td{width:50%;padding:5px}#fs_billing_address tr:first-of-type td{padding-top:0}#fs_billing_address span{font-weight:bold}#fs_billing_address input,#fs_billing_address select{display:block;width:100%;margin-top:5px}#fs_billing_address input::-moz-placeholder,#fs_billing_address select::-moz-placeholder{color:transparent;opacity:1}#fs_billing_address input:-ms-input-placeholder,#fs_billing_address select:-ms-input-placeholder{color:transparent}#fs_billing_address input::-webkit-input-placeholder,#fs_billing_address select::-webkit-input-placeholder{color:transparent}#fs_billing_address input.fs-read-mode,#fs_billing_address select.fs-read-mode{border-color:transparent;color:#777;border-bottom:1px dashed #ccc;padding-left:0;background:none}#fs_billing_address.fs-read-mode td span{display:none}#fs_billing_address.fs-read-mode input,#fs_billing_address.fs-read-mode select{border-color:transparent;color:#777;border-bottom:1px dashed #ccc;padding-left:0;background:none}#fs_billing_address.fs-read-mode input::-moz-placeholder,#fs_billing_address.fs-read-mode select::-moz-placeholder{color:#ccc;opacity:1}#fs_billing_address.fs-read-mode input:-ms-input-placeholder,#fs_billing_address.fs-read-mode select:-ms-input-placeholder{color:#ccc}#fs_billing_address.fs-read-mode input::-webkit-input-placeholder,#fs_billing_address.fs-read-mode select::-webkit-input-placeholder{color:#ccc}#fs_billing_address button{display:block;width:100%}
|
1 |
+
label.fs-tag,span.fs-tag{background:#ffba00;color:#fff;display:inline-block;border-radius:3px;padding:5px;font-size:11px;line-height:11px;vertical-align:baseline}label.fs-tag.fs-warn,span.fs-tag.fs-warn{background:#ffba00}label.fs-tag.fs-info,span.fs-tag.fs-info{background:#00a0d2}label.fs-tag.fs-success,span.fs-tag.fs-success{background:#46b450}label.fs-tag.fs-error,span.fs-tag.fs-error{background:#dc3232}#fs_account .postbox,#fs_account .widefat{max-width:700px}#fs_account h3{font-size:1.3em;padding:12px 15px;margin:0 0 12px 0;line-height:1.4;border-bottom:1px solid #F1F1F1}#fs_account h3 .dashicons{width:26px;height:26px;font-size:1.3em}#fs_account i.dashicons{font-size:1.2em;height:1.2em;width:1.2em}#fs_account .dashicons{vertical-align:middle}#fs_account .fs-header-actions{position:absolute;top:17px;right:15px;font-size:0.9em}#fs_account .fs-header-actions ul{margin:0}#fs_account .fs-header-actions li{float:left}#fs_account .fs-header-actions li form{display:inline-block}#fs_account .fs-header-actions li a{text-decoration:none}#fs_account_details .button-group{float:right}.rtl #fs_account .fs-header-actions{left:15px;right:auto}.fs-key-value-table{width:100%}.fs-key-value-table form{display:inline-block}.fs-key-value-table tr td:first-child{text-align:right}.fs-key-value-table tr td:first-child nobr{font-weight:bold}.fs-key-value-table tr td:first-child form{display:block}.fs-key-value-table tr td.fs-right{text-align:right}.fs-key-value-table tr.fs-odd{background:#ebebeb}.fs-key-value-table td,.fs-key-value-table th{padding:10px}.fs-key-value-table code{line-height:28px}.fs-key-value-table var,.fs-key-value-table code,.fs-key-value-table input[type="text"]{color:#0073AA;font-size:16px;background:none}.fs-key-value-table input[type="text"]{width:100%;font-weight:bold}.fs-field-beta_program label{margin-left:7px}label.fs-tag{background:#ffba00;color:#fff;display:inline-block;border-radius:3px;padding:5px;font-size:11px;line-height:11px;vertical-align:baseline}label.fs-tag.fs-warn{background:#ffba00}label.fs-tag.fs-success{background:#46b450}label.fs-tag.fs-error{background:#dc3232}#fs_sites .fs-scrollable-table .fs-table-body{max-height:200px;overflow:auto;border:1px solid #e5e5e5}#fs_sites .fs-scrollable-table .fs-table-body>table.widefat{border:none !important}#fs_sites .fs-scrollable-table .fs-main-column{width:100%}#fs_sites .fs-scrollable-table .fs-site-details td:first-of-type{text-align:right;color:grey;width:1px}#fs_sites .fs-scrollable-table .fs-site-details td:last-of-type{text-align:right}#fs_sites .fs-scrollable-table .fs-install-details table tr td{width:1px;white-space:nowrap}#fs_sites .fs-scrollable-table .fs-install-details table tr td:last-of-type{width:auto}#fs_addons h3{border:none;margin-bottom:0;padding:4px 5px}#fs_addons td{vertical-align:middle}#fs_addons thead{white-space:nowrap}#fs_addons td:first-child,#fs_addons th:first-child{text-align:left;font-weight:bold}#fs_addons td:last-child,#fs_addons th:last-child{text-align:right}#fs_addons th{font-weight:bold}#fs_billing_address{width:100%}#fs_billing_address tr td{width:50%;padding:5px}#fs_billing_address tr:first-of-type td{padding-top:0}#fs_billing_address span{font-weight:bold}#fs_billing_address input,#fs_billing_address select{display:block;width:100%;margin-top:5px}#fs_billing_address input::-moz-placeholder,#fs_billing_address select::-moz-placeholder{color:transparent;opacity:1}#fs_billing_address input:-ms-input-placeholder,#fs_billing_address select:-ms-input-placeholder{color:transparent}#fs_billing_address input::-webkit-input-placeholder,#fs_billing_address select::-webkit-input-placeholder{color:transparent}#fs_billing_address input.fs-read-mode,#fs_billing_address select.fs-read-mode{border-color:transparent;color:#777;border-bottom:1px dashed #ccc;padding-left:0;background:none}#fs_billing_address.fs-read-mode td span{display:none}#fs_billing_address.fs-read-mode input,#fs_billing_address.fs-read-mode select{border-color:transparent;color:#777;border-bottom:1px dashed #ccc;padding-left:0;background:none}#fs_billing_address.fs-read-mode input::-moz-placeholder,#fs_billing_address.fs-read-mode select::-moz-placeholder{color:#ccc;opacity:1}#fs_billing_address.fs-read-mode input:-ms-input-placeholder,#fs_billing_address.fs-read-mode select:-ms-input-placeholder{color:#ccc}#fs_billing_address.fs-read-mode input::-webkit-input-placeholder,#fs_billing_address.fs-read-mode select::-webkit-input-placeholder{color:#ccc}#fs_billing_address button{display:block;width:100%}
|
vendor/freemius/assets/css/admin/add-ons.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
#fs_addons .fs-cards-list{list-style:none}#fs_addons .fs-cards-list .fs-card{float:left;height:152px;width:310px;padding:0;margin:0 0 30px 30px;font-size:14px;list-style:none;border:1px solid #ddd;cursor:pointer;position:relative}#fs_addons .fs-cards-list .fs-card .fs-overlay{position:absolute;left:0;right:0;bottom:0;top:0;z-index:9}#fs_addons .fs-cards-list .fs-card .fs-inner{background-color:#fff;overflow:hidden;height:100%;position:relative}#fs_addons .fs-cards-list .fs-card .fs-inner
|
2 |
-
#TB_window,#TB_window iframe{width:
|
1 |
+
.fs-badge{position:absolute;top:10px;right:0;background:#71ae00;color:white;text-transform:uppercase;padding:5px 10px;-moz-border-radius:3px 0 0 3px;-webkit-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;font-weight:bold;border-right:0;-moz-box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);-webkit-box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);box-shadow:0 2px 1px -1px rgba(0,0,0,0.3)}#fs_addons .fs-cards-list{list-style:none}#fs_addons .fs-cards-list .fs-card{float:left;height:152px;width:310px;padding:0;margin:0 0 30px 30px;font-size:14px;list-style:none;border:1px solid #ddd;cursor:pointer;position:relative}#fs_addons .fs-cards-list .fs-card .fs-overlay{position:absolute;left:0;right:0;bottom:0;top:0;z-index:9}#fs_addons .fs-cards-list .fs-card .fs-inner{background-color:#fff;overflow:hidden;height:100%;position:relative}#fs_addons .fs-cards-list .fs-card .fs-inner>ul{-moz-transition:all,0.15s;-o-transition:all,0.15s;-ms-transition:all,0.15s;-webkit-transition:all,0.15s;transition:all,0.15s;left:0;right:0;top:0;position:absolute}#fs_addons .fs-cards-list .fs-card .fs-inner>ul>li{list-style:none;line-height:18px;padding:0 15px;width:100%;display:block;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-card-banner{padding:0;margin:0;line-height:0;display:block;height:100px;background-repeat:repeat-x;background-size:100% 100%;-moz-transition:all,0.15s;-o-transition:all,0.15s;-ms-transition:all,0.15s;-webkit-transition:all,0.15s;transition:all,0.15s}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-card-banner .fs-badge.fs-installed-addon-badge{font-size:1.02em;line-height:1.3em}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-title{margin:10px 0 0 0;height:18px;overflow:hidden;color:#000;white-space:nowrap;text-overflow:ellipsis;font-weight:bold}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-offer{font-size:0.9em}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-description{background-color:#f9f9f9;padding:10px 15px 100px 15px;border-top:1px solid #eee;margin:0 0 10px 0;color:#777}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-tag{position:absolute;top:10px;right:0px;background:greenyellow;display:block;padding:2px 10px;-moz-box-shadow:1px 1px 1px rgba(0,0,0,0.3);-webkit-box-shadow:1px 1px 1px rgba(0,0,0,0.3);box-shadow:1px 1px 1px rgba(0,0,0,0.3);text-transform:uppercase;font-size:0.9em;font-weight:bold}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-cta .button,#fs_addons .fs-cards-list .fs-card .fs-inner .fs-cta .button-group{position:absolute;top:112px;right:10px}@media screen and (min-width: 960px){#fs_addons .fs-cards-list .fs-card:hover .fs-overlay{border:2px solid #29abe1;margin-left:-1px;margin-top:-1px}#fs_addons .fs-cards-list .fs-card:hover .fs-inner ul{top:-100px}#fs_addons .fs-cards-list .fs-card:hover .fs-inner .fs-title,#fs_addons .fs-cards-list .fs-card:hover .fs-inner .fs-offer{color:#29abe1}}
|
2 |
+
#TB_window,#TB_window iframe{width:821px !important}#plugin-information .fyi{width:266px !important}#plugin-information #section-holder{margin-right:299px}#plugin-information #section-description h2,#plugin-information #section-description h3,#plugin-information #section-description p,#plugin-information #section-description b,#plugin-information #section-description i,#plugin-information #section-description blockquote,#plugin-information #section-description li,#plugin-information #section-description ul,#plugin-information #section-description ol{clear:none}#plugin-information #section-description .fs-selling-points{padding-bottom:10px;border-bottom:1px solid #ddd}#plugin-information #section-description .fs-selling-points ul{margin:0}#plugin-information #section-description .fs-selling-points ul li{padding:0;list-style:none outside none}#plugin-information #section-description .fs-selling-points ul li i.dashicons{color:#71ae00;font-size:3em;vertical-align:middle;line-height:30px;float:left;margin:0 0 0 -15px}#plugin-information #section-description .fs-selling-points ul li h3{margin:1em 30px !important}#plugin-information #section-description .fs-screenshots:after{content:"";display:table;clear:both}#plugin-information #section-description .fs-screenshots ul{list-style:none;margin:0}#plugin-information #section-description .fs-screenshots ul li{width:225px;height:225px;float:left;margin-bottom:20px;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}#plugin-information #section-description .fs-screenshots ul li a{display:block;width:100%;height:100%;border:1px solid;-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);background-size:cover}#plugin-information #section-description .fs-screenshots ul li.odd{margin-right:20px}#plugin-information .plugin-information-pricing{margin:-16px;border-bottom:1px solid #ddd}#plugin-information .plugin-information-pricing .fs-plan h3{margin-top:0;padding:20px;font-size:16px}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper{border-bottom:1px solid #ddd}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper .nav-tab{cursor:pointer;position:relative;padding:0 10px;font-size:0.9em}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper .nav-tab label{text-transform:uppercase;color:green;background:greenyellow;position:absolute;left:-1px;right:-1px;bottom:100%;border:1px solid darkgreen;padding:2px;text-align:center;font-size:0.9em;line-height:1em}#plugin-information .plugin-information-pricing .fs-plan .nav-tab-wrapper .nav-tab.nav-tab-active{cursor:default;background:#fffeec;border-bottom-color:#fffeec}#plugin-information .plugin-information-pricing .fs-plan.fs-single-cycle h3{background:#fffeec;margin:0;padding-bottom:0;color:#0073aa}#plugin-information .plugin-information-pricing .fs-plan.fs-single-cycle .nav-tab-wrapper,#plugin-information .plugin-information-pricing .fs-plan.fs-single-cycle .fs-billing-frequency{display:none}#plugin-information .plugin-information-pricing .fs-plan .fs-pricing-body{background:#fffeec;padding:20px}#plugin-information .plugin-information-pricing .fs-plan .button{width:100%;text-align:center;font-weight:bold;text-transform:uppercase;font-size:1.1em}#plugin-information .plugin-information-pricing .fs-plan label{white-space:nowrap}#plugin-information .plugin-information-pricing .fs-plan var{font-style:normal}#plugin-information .plugin-information-pricing .fs-plan .fs-billing-frequency,#plugin-information .plugin-information-pricing .fs-plan .fs-annual-discount{text-align:center;display:block;font-weight:bold;margin-bottom:10px;text-transform:uppercase;background:#F3F3F3;padding:2px;border:1px solid #ccc}#plugin-information .plugin-information-pricing .fs-plan .fs-annual-discount{text-transform:none;color:green;background:greenyellow}#plugin-information .plugin-information-pricing .fs-plan ul.fs-trial-terms{font-size:0.9em}#plugin-information .plugin-information-pricing .fs-plan ul.fs-trial-terms i{float:left;margin:0 0 0 -15px}#plugin-information .plugin-information-pricing .fs-plan ul.fs-trial-terms li{margin:10px 0 0 0}#plugin-information #section-features .fs-features{margin:-20px -26px}#plugin-information #section-features table{width:100%;border-spacing:0;border-collapse:separate}#plugin-information #section-features table thead th{padding:10px 0}#plugin-information #section-features table thead .fs-price{color:#71ae00;font-weight:normal;display:block;text-align:center}#plugin-information #section-features table tbody td{border-top:1px solid #ccc;padding:10px 0;text-align:center;width:100px;color:#71ae00}#plugin-information #section-features table tbody td:first-child{text-align:left;width:auto;color:inherit;padding-left:26px}#plugin-information #section-features table tbody tr.fs-odd td{background:#fefefe}#plugin-information #section-features .dashicons-yes{width:30px;height:30px;font-size:30px}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .button-group .button,#plugin-information .fs-dropdown .button-group .button{position:relative;width:auto;top:0;right:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .button-group .button:focus,#plugin-information .fs-dropdown .button-group .button:focus{z-index:10}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .button-group .fs-dropdown-arrow,#plugin-information .fs-dropdown .button-group .fs-dropdown-arrow{border-top:6px solid white;border-right:4px solid transparent;border-left:4px solid transparent;top:12px;position:relative}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.active:not(.up) .button:not(.fs-dropdown-arrow-button),#plugin-information .fs-dropdown.active:not(.up) .button:not(.fs-dropdown-arrow-button){border-bottom-left-radius:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.active:not(.up) .fs-dropdown-arrow-button,#plugin-information .fs-dropdown.active:not(.up) .fs-dropdown-arrow-button{border-bottom-right-radius:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.active.up .button:not(.fs-dropdown-arrow-button),#plugin-information .fs-dropdown.active.up .button:not(.fs-dropdown-arrow-button){border-top-left-radius:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.active.up .fs-dropdown-arrow-button,#plugin-information .fs-dropdown.active.up .fs-dropdown-arrow-button{border-top-right-radius:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list,#plugin-information .fs-dropdown .fs-dropdown-list{position:absolute;right:-1px;top:100%;margin-left:auto;padding:3px 0;border:1px solid #bfbfbf;background-color:#fff;z-index:1;width:230px;text-align:left;-moz-box-shadow:0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);-webkit-box-shadow:0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);box-shadow:0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12)}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list li,#plugin-information .fs-dropdown .fs-dropdown-list li{margin:0}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list li a,#plugin-information .fs-dropdown .fs-dropdown-list li a{display:block;padding:5px 10px;text-decoration:none;text-shadow:none}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list li:hover,#plugin-information .fs-dropdown .fs-dropdown-list li:hover{background-color:#0074a3;color:#fff}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown .fs-dropdown-list li:hover a,#plugin-information .fs-dropdown .fs-dropdown-list li:hover a{color:#fff}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown:not(.up) .fs-dropdown-list,#plugin-information .fs-dropdown:not(.up) .fs-dropdown-list{-moz-border-radius:3px 0 3px 3px;-webkit-border-radius:3px 0 3px 3px;border-radius:3px 0 3px 3px}#fs_addons .fs-cards-list .fs-card .fs-inner .fs-dropdown.up .fs-dropdown-list,#plugin-information .fs-dropdown.up .fs-dropdown-list{-moz-border-radius:3px 3px 0 3px;-webkit-border-radius:3px 3px 0 3px;border-radius:3px 3px 0 3px}#plugin-information .fs-dropdown .button-group{width:100%}#plugin-information .fs-dropdown .button-group .button{float:none;font-size:14px;font-weight:normal;text-transform:none}#plugin-information .fs-dropdown .fs-dropdown-list{margin-top:1px}#plugin-information .fs-dropdown.up .fs-dropdown-list{top:auto;bottom:100%;margin-bottom:2px}#plugin-information.wp-core-ui .fs-pricing-body .fs-dropdown .button-group{text-align:center;display:table}#plugin-information.wp-core-ui .fs-pricing-body .fs-dropdown .button-group .button{display:table-cell}#plugin-information.wp-core-ui .fs-pricing-body .fs-dropdown .button-group .button:not(.fs-dropdown-arrow-button){left:1px;width:100%}#plugin-information-footer>.button,#plugin-information-footer .fs-dropdown{position:relative;top:3px}#plugin-information-footer>.button.left,#plugin-information-footer .fs-dropdown.left{float:left}#plugin-information-footer>.right,#plugin-information-footer .fs-dropdown{float:right}@media screen and (max-width: 961px){#fs_addons .fs-cards-list .fs-card{height:265px}}
|
vendor/freemius/assets/css/admin/common.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
.
|
2 |
.fs-notice{position:relative}.fs-notice.fs-has-title{margin-bottom:30px !important}.fs-notice.success{color:green}.fs-notice.promotion{border-color:#00a0d2 !important;background-color:#f2fcff !important}.fs-notice .fs-notice-body{margin:.5em 0;padding:2px}.fs-notice .fs-close{cursor:pointer;color:#aaa;float:right}.fs-notice .fs-close:hover{color:#666}.fs-notice .fs-close>*{margin-top:7px;display:inline-block}.fs-notice label.fs-plugin-title{background:rgba(0,0,0,0.3);color:#fff;padding:2px 10px;position:absolute;top:100%;bottom:auto;right:auto;-moz-border-radius:0 0 3px 3px;-webkit-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;left:10px;font-size:12px;font-weight:bold;cursor:auto}div.fs-notice.updated,div.fs-notice.success,div.fs-notice.promotion{display:block !important}.rtl .fs-notice .fs-close{float:left}.fs-secure-notice{position:fixed;top:32px;left:160px;right:0;background:#ebfdeb;padding:10px 20px;color:green;z-index:9999;-moz-box-shadow:0 2px 2px rgba(6,113,6,0.3);-webkit-box-shadow:0 2px 2px rgba(6,113,6,0.3);box-shadow:0 2px 2px rgba(6,113,6,0.3);opacity:0.95;filter:alpha(opacity=95)}.fs-secure-notice:hover{opacity:1;filter:alpha(opacity=100)}.fs-secure-notice a.fs-security-proof{color:green;text-decoration:none}@media screen and (max-width: 960px){.fs-secure-notice{left:36px}}@media screen and (max-width: 600px){.fs-secure-notice{display:none}}@media screen and (max-width: 500px){#fs_promo_tab{display:none}}@media screen and (max-width: 782px){.fs-secure-notice{left:0;top:46px;text-align:center}}span.fs-submenu-item.fs-sub:before{content:'\21B3';padding:0 5px}.rtl span.fs-submenu-item.fs-sub:before{content:'\21B2'}.fs-submenu-item.pricing.upgrade-mode{color:greenyellow}.fs-submenu-item.pricing.trial-mode{color:#83e2ff}#adminmenu .update-plugins.fs-trial{background-color:#00b9eb}.fs-ajax-spinner{border:0;width:20px;height:20px;margin-right:5px;vertical-align:sub;display:inline-block;background:url("/wp-admin/images/wpspin_light-2x.gif");background-size:contain}.wrap.fs-section h2{text-align:left}.plugins p.fs-upgrade-notice{border:0;background-color:#d54e21;padding:10px;color:#f9f9f9;margin-top:10px}
|
1 |
+
.fs-badge{position:absolute;top:10px;right:0;background:#71ae00;color:white;text-transform:uppercase;padding:5px 10px;-moz-border-radius:3px 0 0 3px;-webkit-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;font-weight:bold;border-right:0;-moz-box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);-webkit-box-shadow:0 2px 1px -1px rgba(0,0,0,0.3);box-shadow:0 2px 1px -1px rgba(0,0,0,0.3)}.theme-browser .theme .fs-premium-theme-badge-container{position:absolute;right:0;top:0}.theme-browser .theme .fs-premium-theme-badge-container .fs-badge{position:relative;top:0;margin-top:10px;text-align:center}.theme-browser .theme .fs-premium-theme-badge-container .fs-badge.fs-premium-theme-badge{font-size:1.1em}.theme-browser .theme .fs-premium-theme-badge-container .fs-badge.fs-beta-theme-badge{background:#00a0d2}#fs_frame{line-height:0;font-size:0}.fs-full-size-wrapper{margin:40px 0 -65px -20px}@media (max-width: 600px){.fs-full-size-wrapper{margin:0 0 -65px -10px}}
|
2 |
.fs-notice{position:relative}.fs-notice.fs-has-title{margin-bottom:30px !important}.fs-notice.success{color:green}.fs-notice.promotion{border-color:#00a0d2 !important;background-color:#f2fcff !important}.fs-notice .fs-notice-body{margin:.5em 0;padding:2px}.fs-notice .fs-close{cursor:pointer;color:#aaa;float:right}.fs-notice .fs-close:hover{color:#666}.fs-notice .fs-close>*{margin-top:7px;display:inline-block}.fs-notice label.fs-plugin-title{background:rgba(0,0,0,0.3);color:#fff;padding:2px 10px;position:absolute;top:100%;bottom:auto;right:auto;-moz-border-radius:0 0 3px 3px;-webkit-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;left:10px;font-size:12px;font-weight:bold;cursor:auto}div.fs-notice.updated,div.fs-notice.success,div.fs-notice.promotion{display:block !important}.rtl .fs-notice .fs-close{float:left}.fs-secure-notice{position:fixed;top:32px;left:160px;right:0;background:#ebfdeb;padding:10px 20px;color:green;z-index:9999;-moz-box-shadow:0 2px 2px rgba(6,113,6,0.3);-webkit-box-shadow:0 2px 2px rgba(6,113,6,0.3);box-shadow:0 2px 2px rgba(6,113,6,0.3);opacity:0.95;filter:alpha(opacity=95)}.fs-secure-notice:hover{opacity:1;filter:alpha(opacity=100)}.fs-secure-notice a.fs-security-proof{color:green;text-decoration:none}@media screen and (max-width: 960px){.fs-secure-notice{left:36px}}@media screen and (max-width: 600px){.fs-secure-notice{display:none}}@media screen and (max-width: 500px){#fs_promo_tab{display:none}}@media screen and (max-width: 782px){.fs-secure-notice{left:0;top:46px;text-align:center}}span.fs-submenu-item.fs-sub:before{content:'\21B3';padding:0 5px}.rtl span.fs-submenu-item.fs-sub:before{content:'\21B2'}.fs-submenu-item.pricing.upgrade-mode{color:greenyellow}.fs-submenu-item.pricing.trial-mode{color:#83e2ff}#adminmenu .update-plugins.fs-trial{background-color:#00b9eb}.fs-ajax-spinner{border:0;width:20px;height:20px;margin-right:5px;vertical-align:sub;display:inline-block;background:url("/wp-admin/images/wpspin_light-2x.gif");background-size:contain}.wrap.fs-section h2{text-align:left}.plugins p.fs-upgrade-notice{border:0;background-color:#d54e21;padding:10px;color:#f9f9f9;margin-top:10px}
|
vendor/freemius/assets/css/admin/connect.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#fs_connect{width:480px;-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.3);-webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.3);box-shadow:0px 1px 2px rgba(0,0,0,0.3);margin:20px 0}@media screen and (max-width: 479px){#fs_connect{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;width:auto;margin:0 0 0 -10px}}#fs_connect .fs-content{background:#fff;padding:15px 20px}#fs_connect .fs-content .fs-error{background:snow;color:#d3135a;border:1px solid #d3135a;-moz-box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);text-align:center;padding:5px;margin-bottom:10px}#fs_connect .fs-content p{margin:0;padding:0;font-size:1.2em}#fs_connect .fs-license-key-container{position:relative;width:280px;margin:10px auto 0 auto}#fs_connect .fs-license-key-container input{width:100%}#fs_connect .fs-license-key-container .dashicons{position:absolute;top:5px;right:5px}#fs_connect.require-license-key
|
1 |
+
#fs_connect{width:480px;-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.3);-webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.3);box-shadow:0px 1px 2px rgba(0,0,0,0.3);margin:20px 0}@media screen and (max-width: 479px){#fs_connect{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;width:auto;margin:0 0 0 -10px}}#fs_connect .fs-content{background:#fff;padding:15px 20px}#fs_connect .fs-content .fs-error{background:snow;color:#d3135a;border:1px solid #d3135a;-moz-box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);text-align:center;padding:5px;margin-bottom:10px}#fs_connect .fs-content p{margin:0;padding:0;font-size:1.2em}#fs_connect .fs-license-key-container{position:relative;width:280px;margin:10px auto 0 auto}#fs_connect .fs-license-key-container input{width:100%}#fs_connect .fs-license-key-container .dashicons{position:absolute;top:5px;right:5px}#fs_connect.require-license-key .fs-sites-list-container td{cursor:pointer}#fs_connect #delegate_to_site_admins{margin-right:15px;float:right;height:26px;vertical-align:middle;line-height:37px;font-weight:bold;border-bottom:1px dashed;text-decoration:none}#fs_connect #delegate_to_site_admins.rtl{margin-left:15px;margin-right:0}#fs_connect .fs-actions{padding:10px 20px;background:#C0C7CA}#fs_connect .fs-actions .button{padding:0 10px 1px;line-height:35px;height:37px;font-size:16px;margin-bottom:0}#fs_connect .fs-actions .button .dashicons{font-size:37px;margin-left:-8px;margin-right:12px}#fs_connect .fs-actions .button.button-primary{padding-right:15px;padding-left:15px}#fs_connect .fs-actions .button.button-primary:after{content:' \279C'}#fs_connect .fs-actions .button.button-primary.fs-loading:after{content:''}#fs_connect .fs-actions .button.button-secondary{float:right}#fs_connect.fs-anonymous-disabled .fs-actions .button.button-primary{width:100%}#fs_connect .fs-permissions{padding:10px 20px;background:#FEFEFE;-moz-transition:background 0.5s ease;-o-transition:background 0.5s ease;-ms-transition:background 0.5s ease;-webkit-transition:background 0.5s ease;transition:background 0.5s ease}#fs_connect .fs-permissions .fs-license-sync-disclaimer{text-align:center;margin-top:0}#fs_connect .fs-permissions .fs-trigger{font-size:0.9em;text-decoration:none;text-align:center;display:block}#fs_connect .fs-permissions ul{height:0;overflow:hidden;margin:0}#fs_connect .fs-permissions ul li{margin-bottom:12px}#fs_connect .fs-permissions ul li:last-child{margin-bottom:0}#fs_connect .fs-permissions ul li i.dashicons{float:left;font-size:40px;width:40px;height:40px}#fs_connect .fs-permissions ul li div{margin-left:55px}#fs_connect .fs-permissions ul li div span{font-weight:bold;text-transform:uppercase;color:#23282d}#fs_connect .fs-permissions ul li div p{margin:2px 0 0 0}#fs_connect .fs-permissions.fs-open{background:#fff}#fs_connect .fs-permissions.fs-open ul{height:auto;margin:20px 20px 10px 20px}@media screen and (max-width: 479px){#fs_connect .fs-permissions{background:#fff}#fs_connect .fs-permissions .fs-trigger{display:none}#fs_connect .fs-permissions ul{height:auto;margin:20px}}#fs_connect .fs-freemium-licensing{padding:8px;background:#777;color:#fff}#fs_connect .fs-freemium-licensing p{text-align:center;display:block;margin:0;padding:0}#fs_connect .fs-freemium-licensing a{color:#C2EEFF;text-decoration:underline}#fs_connect .fs-visual{padding:12px;line-height:0;background:#fafafa;height:80px;position:relative}#fs_connect .fs-visual .fs-site-icon{position:absolute;left:20px;top:10px}#fs_connect .fs-visual .fs-connect-logo{position:absolute;right:20px;top:10px}#fs_connect .fs-visual .fs-plugin-icon{position:absolute;top:10px;left:50%;margin-left:-40px}#fs_connect .fs-visual .fs-plugin-icon,#fs_connect .fs-visual .fs-site-icon,#fs_connect .fs-visual img,#fs_connect .fs-visual object{width:80px;height:80px}#fs_connect .fs-visual .dashicons-wordpress{font-size:64px;background:#01749a;color:#fff;width:64px;height:64px;padding:8px}#fs_connect .fs-visual .dashicons-plus{position:absolute;top:50%;font-size:30px;margin-top:-10px;color:#bbb}#fs_connect .fs-visual .dashicons-plus.fs-first{left:28%}#fs_connect .fs-visual .dashicons-plus.fs-second{left:65%}#fs_connect .fs-visual .fs-plugin-icon,#fs_connect .fs-visual .fs-connect-logo,#fs_connect .fs-visual .fs-site-icon{border:1px solid #ccc;padding:1px;background:#fff}#fs_connect .fs-terms{text-align:center;font-size:0.85em;padding:5px;background:rgba(0,0,0,0.05)}#fs_connect .fs-terms,#fs_connect .fs-terms a{color:#999}#fs_connect .fs-terms a{text-decoration:none}.fs-multisite-options-container{margin-top:10px;border:1px solid #ccc;padding:5px}.fs-multisite-options-container a{text-decoration:none}.fs-multisite-options-container a:focus{box-shadow:none}.fs-multisite-options-container a.selected{font-weight:bold}.fs-multisite-options-container.fs-apply-on-all-sites{border:0 none;padding:0}.fs-multisite-options-container.fs-apply-on-all-sites .fs-all-sites-options{border-spacing:0}.fs-multisite-options-container.fs-apply-on-all-sites .fs-all-sites-options td:not(:first-child){display:none}.fs-multisite-options-container .fs-sites-list-container{display:none;overflow:auto}.fs-multisite-options-container .fs-sites-list-container table td{border-top:1px solid #ccc;padding:4px 2px}.fs-tooltip-trigger{position:relative}.fs-tooltip-trigger:not(a){cursor:help}.fs-tooltip-trigger .fs-tooltip{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:rgba(0,0,0,0.8);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-tooltip-trigger .fs-tooltip{text-align:right}.fs-tooltip-trigger .fs-tooltip::after{content:' ';display:block;width:0;height:0;border-style:solid;border-width:5px 5px 0 5px;border-color:rgba(0,0,0,0.8) transparent transparent transparent;position:absolute;top:100%;left:21px}.rtl .fs-tooltip-trigger .fs-tooltip::after{right:21px;left:auto}.fs-tooltip-trigger:hover .fs-tooltip{visibility:visible;opacity:1}#fs_marketing_optin{display:none;margin-top:10px;border:1px solid #ccc;padding:10px;line-height:1.5em}#fs_marketing_optin .fs-message{display:block;margin-bottom:5px;font-size:1.05em;font-weight:600}#fs_marketing_optin.error{border:1px solid #d3135a;background:#fee}#fs_marketing_optin.error .fs-message{color:#d3135a}#fs_marketing_optin .fs-input-container{margin-top:5px}#fs_marketing_optin .fs-input-container label{margin-top:5px;display:block}#fs_marketing_optin .fs-input-container label input{float:left;margin:1px 0 0 0}#fs_marketing_optin .fs-input-container label:first-child{display:block;margin-bottom:2px}#fs_marketing_optin .fs-input-label{display:block;margin-left:20px}#fs_marketing_optin .fs-input-label .underlined{text-decoration:underline}.rtl #fs_marketing_optin .fs-input-container label input{float:right}.rtl #fs_marketing_optin .fs-input-label{margin-left:0;margin-right:20px}.rtl #fs_connect .fs-actions{padding:10px 20px;background:#C0C7CA}.rtl #fs_connect .fs-actions .button .dashicons{font-size:37px;margin-left:-8px;margin-right:12px}.rtl #fs_connect .fs-actions .button.button-primary:after{content:' \000bb'}.rtl #fs_connect .fs-actions .button.button-primary.fs-loading:after{content:''}.rtl #fs_connect .fs-actions .button.button-secondary{float:left}.rtl #fs_connect .fs-permissions ul li div{margin-right:55px;margin-left:0}.rtl #fs_connect .fs-permissions ul li i.dashicons{float:right}.rtl #fs_connect .fs-visual .fs-site-icon{right:20px;left:auto}.rtl #fs_connect .fs-visual .fs-connect-logo{right:auto;left:20px}#fs_theme_connect_wrapper{position:fixed;top:0;height:100%;width:100%;z-index:99990;background:rgba(0,0,0,0.75);text-align:center;overflow-y:auto}#fs_theme_connect_wrapper:before{content:"";display:inline-block;vertical-align:middle;height:100%}#fs_theme_connect_wrapper>button.close{color:white;cursor:pointer;height:40px;width:40px;position:absolute;right:0;border:0;background-color:transparent;top:32px}#fs_theme_connect_wrapper #fs_connect{top:0;text-align:left;display:inline-block;vertical-align:middle;margin-top:52px;margin-bottom:20px}#fs_theme_connect_wrapper #fs_connect .fs-terms{background:rgba(140,140,140,0.64)}#fs_theme_connect_wrapper #fs_connect .fs-terms,#fs_theme_connect_wrapper #fs_connect .fs-terms a{color:#c5c5c5}.wp-pointer-content #fs_connect{margin:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.fs-opt-in-pointer .wp-pointer-content{padding:0}.fs-opt-in-pointer.wp-pointer-top .wp-pointer-arrow{border-bottom-color:#dfdfdf}.fs-opt-in-pointer.wp-pointer-top .wp-pointer-arrow-inner{border-bottom-color:#fafafa}.fs-opt-in-pointer.wp-pointer-bottom .wp-pointer-arrow{border-top-color:#dfdfdf}.fs-opt-in-pointer.wp-pointer-bottom .wp-pointer-arrow-inner{border-top-color:#fafafa}.fs-opt-in-pointer.wp-pointer-left .wp-pointer-arrow{border-right-color:#dfdfdf}.fs-opt-in-pointer.wp-pointer-left .wp-pointer-arrow-inner{border-right-color:#fafafa}.fs-opt-in-pointer.wp-pointer-right .wp-pointer-arrow{border-left-color:#dfdfdf}.fs-opt-in-pointer.wp-pointer-right .wp-pointer-arrow-inner{border-left-color:#fafafa}
|
vendor/freemius/assets/css/admin/dialog-boxes.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
.fs-modal{position:fixed;overflow:auto;height:100%;width:100%;top:0;z-index:100000;display:none;background:rgba(0,0,0,0.6)}.fs-modal .fs-modal-dialog{background:transparent;position:absolute;left:50%;margin-left:-298px;padding-bottom:30px;top:-100%;z-index:100001;width:596px}@media (max-width: 650px){.fs-modal .fs-modal-dialog{margin-left:-50%;box-sizing:border-box;padding-left:10px;padding-right:10px;width:100%}.fs-modal .fs-modal-dialog .fs-modal-panel>h3>strong{font-size:1.3em}}.fs-modal.active{display:block}.fs-modal.active:before{display:block}.fs-modal.active .fs-modal-dialog{top:10%}.fs-modal.fs-success .fs-modal-header{border-bottom-color:#46b450}.fs-modal.fs-success .fs-modal-body{background-color:#f7fff7}.fs-modal.fs-warn .fs-modal-header{border-bottom-color:#ffb900}.fs-modal.fs-warn .fs-modal-body{background-color:#fff8e5}.fs-modal.fs-error .fs-modal-header{border-bottom-color:#dc3232}.fs-modal.fs-error .fs-modal-body{background-color:#ffeaea}.fs-modal .fs-modal-body,.fs-modal .fs-modal-footer{border:0;background:#fefefe;padding:20px}.fs-modal .fs-modal-header{border-bottom:#eeeeee solid 1px;background:#fbfbfb;padding:15px 20px;position:relative;margin-bottom:-10px}.fs-modal .fs-modal-header h4{margin:0;padding:0;text-transform:uppercase;font-size:1.2em;font-weight:bold;color:#cacaca;text-shadow:1px 1px 1px #fff;letter-spacing:0.6px;-webkit-font-smoothing:antialiased}.fs-modal .fs-modal-header .fs-close{position:absolute;right:10px;top:12px;cursor:pointer;color:#bbb;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;padding:3px;-moz-transition:all 0.2s ease-in-out;-o-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.fs-modal .fs-modal-header .fs-close:hover{color:#fff;background:#aaa}.fs-modal .fs-modal-header .fs-close .dashicons,.fs-modal .fs-modal-header .fs-close:hover .dashicons{text-decoration:none}.fs-modal .fs-modal-body{border-bottom:0}.fs-modal .fs-modal-body p{font-size:14px}.fs-modal .fs-modal-body h2{font-size:20px;line-height:1.5em}.fs-modal .fs-modal-body>div{margin-top:10px}.fs-modal .fs-modal-body>div h2{font-weight:bold;font-size:20px;margin-top:0}.fs-modal .fs-modal-footer{border-top:#eeeeee solid 1px;text-align:right}.fs-modal .fs-modal-footer>.button{margin:0 7px}.fs-modal .fs-modal-footer>.button:first-child{margin:0}.fs-modal .fs-modal-panel>.notice.inline{margin:0;display:none}.fs-modal .fs-modal-panel:not(.active){display:none}.rtl .fs-modal .fs-modal-header .fs-close{right:auto;left:20px}body.has-fs-modal{overflow:hidden}.fs-modal.fs-modal-deactivation-feedback .reason-input,.fs-modal.fs-modal-deactivation-feedback .internal-message{margin:3px 0 3px 22px}.fs-modal.fs-modal-deactivation-feedback .reason-input input,.fs-modal.fs-modal-deactivation-feedback .reason-input textarea,.fs-modal.fs-modal-deactivation-feedback .internal-message input,.fs-modal.fs-modal-deactivation-feedback .internal-message textarea{width:100%}.fs-modal.fs-modal-deactivation-feedback li.reason.has-internal-message .internal-message{border:1px solid #ccc;padding:7px;display:none}@media (max-width: 650px){.fs-modal.fs-modal-deactivation-feedback li.reason li.reason{margin-bottom:10px}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason .reason-input,.fs-modal.fs-modal-deactivation-feedback li.reason li.reason .internal-message{margin-left:29px}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason label{display:table}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason label>span{display:table-cell;font-size:1.3em}}.fs-modal.fs-modal-deactivation-feedback .anonymous-feedback-label{float:left}.fs-modal.fs-modal-deactivation-feedback .fs-modal-panel{margin-top:0 !important}.fs-modal.fs-modal-deactivation-feedback .fs-modal-panel h3{margin-top:0;line-height:1.5em}#the-list .deactivate>.fs-slug{display:none}.fs-modal.fs-modal-subscription-cancellation .fs-price-increase-warning{color:red;font-weight:bold;padding:0 25px;margin-bottom:0}.fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label input{float:left;top:5px;position:relative}.rtl .fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label input{float:right}.fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label span{display:block;margin-left:24px}.rtl .fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label span{margin-left:0;margin-right:24px}.fs-modal.fs-modal-license-activation .fs-modal-body input.
|
2 |
.rtl .fs-modal.fs-modal-license-key-resend .fs-modal-body .input-container>.email-address-container{padding-left:2px;padding-right:0}.rtl .fs-modal.fs-modal-license-key-resend .fs-modal-body .button-container{float:left;margin-right:7px;margin-left:0}a.show-license-resend-modal{margin-top:4px;display:inline-block}.fs-ajax-loader{position:relative;width:170px;height:20px;margin:auto}.fs-ajax-loader .fs-ajax-loader-bar{position:absolute;top:0;background-color:#0074a3;width:20px;height:20px;-webkit-animation-name:bounce_ajaxLoader;-moz-animation-name:bounce_ajaxLoader;-ms-animation-name:bounce_ajaxLoader;-o-animation-name:bounce_ajaxLoader;animation-name:bounce_ajaxLoader;-webkit-animation-duration:1.5s;-moz-animation-duration:1.5s;-ms-animation-duration:1.5s;-o-animation-duration:1.5s;animation-duration:1.5s;animation-iteration-count:infinite;-o-animation-iteration-count:infinite;-ms-animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;-moz-animation-iteration-count:infinite;-webkit-animation-direction:normal;-moz-animation-direction:normal;-ms-animation-direction:normal;-o-animation-direction:normal;animation-direction:normal;-moz-transform:0.3;-o-transform:0.3;-ms-transform:0.3;-webkit-transform:0.3;transform:0.3}.fs-ajax-loader .fs-ajax-loader-bar-1{left:0px;animation-delay:0.6s;-o-animation-delay:0.6s;-ms-animation-delay:0.6s;-webkit-animation-delay:0.6s;-moz-animation-delay:0.6s}.fs-ajax-loader .fs-ajax-loader-bar-2{left:19px;animation-delay:0.75s;-o-animation-delay:0.75s;-ms-animation-delay:0.75s;-webkit-animation-delay:0.75s;-moz-animation-delay:0.75s}.fs-ajax-loader .fs-ajax-loader-bar-3{left:38px;animation-delay:0.9s;-o-animation-delay:0.9s;-ms-animation-delay:0.9s;-webkit-animation-delay:0.9s;-moz-animation-delay:0.9s}.fs-ajax-loader .fs-ajax-loader-bar-4{left:57px;animation-delay:1.05s;-o-animation-delay:1.05s;-ms-animation-delay:1.05s;-webkit-animation-delay:1.05s;-moz-animation-delay:1.05s}.fs-ajax-loader .fs-ajax-loader-bar-5{left:76px;animation-delay:1.2s;-o-animation-delay:1.2s;-ms-animation-delay:1.2s;-webkit-animation-delay:1.2s;-moz-animation-delay:1.2s}.fs-ajax-loader .fs-ajax-loader-bar-6{left:95px;animation-delay:1.35s;-o-animation-delay:1.35s;-ms-animation-delay:1.35s;-webkit-animation-delay:1.35s;-moz-animation-delay:1.35s}.fs-ajax-loader .fs-ajax-loader-bar-7{left:114px;animation-delay:1.5s;-o-animation-delay:1.5s;-ms-animation-delay:1.5s;-webkit-animation-delay:1.5s;-moz-animation-delay:1.5s}.fs-ajax-loader .fs-ajax-loader-bar-8{left:133px;animation-delay:1.65s;-o-animation-delay:1.65s;-ms-animation-delay:1.65s;-webkit-animation-delay:1.65s;-moz-animation-delay:1.65s}@-moz-keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}@-ms-keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}@-o-keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}@-webkit-keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}@keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}.fs-modal-auto-install #request-filesystem-credentials-form h2,.fs-modal-auto-install #request-filesystem-credentials-form .request-filesystem-credentials-action-buttons{display:none}.fs-modal-auto-install #request-filesystem-credentials-form input[type=password],.fs-modal-auto-install #request-filesystem-credentials-form input[type=email],.fs-modal-auto-install #request-filesystem-credentials-form input[type=text]{-webkit-appearance:none;padding:10px 10px 5px 10px;width:300px;max-width:100%}.fs-modal-auto-install #request-filesystem-credentials-form>div,.fs-modal-auto-install #request-filesystem-credentials-form label,.fs-modal-auto-install #request-filesystem-credentials-form fieldset{width:300px;max-width:100%;margin:0 auto;display:block}.button-primary.warn{box-shadow:0 1px 0 #d2593c;text-shadow:0 -1px 1px #d2593c,1px 0 1px #d2593c,0 1px 1px #d2593c,-1px 0 1px #d2593c;background:#f56a48;border-color:#ec6544 #d2593c #d2593c}.button-primary.warn:hover{background:#fd6d4a;border-color:#d2593c}.button-primary.warn:focus{box-shadow:0 1px 0 #dd6041,0 0 2px 1px #e4a796}.button-primary.warn:active{background:#dd6041;border-color:#d2593c;box-shadow:inset 0 2px 0 #d2593c}.button-primary.warn.disabled{color:#f5b3a1 !important;background:#e76444 !important;border-color:#d85e40 !important;text-shadow:0 -1px 0 rgba(0,0,0,0.1) !important}
|
1 |
+
.fs-modal{position:fixed;overflow:auto;height:100%;width:100%;top:0;z-index:100000;display:none;background:rgba(0,0,0,0.6)}.fs-modal .fs-modal-dialog{background:transparent;position:absolute;left:50%;margin-left:-298px;padding-bottom:30px;top:-100%;z-index:100001;width:596px}@media (max-width: 650px){.fs-modal .fs-modal-dialog{margin-left:-50%;box-sizing:border-box;padding-left:10px;padding-right:10px;width:100%}.fs-modal .fs-modal-dialog .fs-modal-panel>h3>strong{font-size:1.3em}}.fs-modal.active{display:block}.fs-modal.active:before{display:block}.fs-modal.active .fs-modal-dialog{top:10%}.fs-modal.fs-success .fs-modal-header{border-bottom-color:#46b450}.fs-modal.fs-success .fs-modal-body{background-color:#f7fff7}.fs-modal.fs-warn .fs-modal-header{border-bottom-color:#ffb900}.fs-modal.fs-warn .fs-modal-body{background-color:#fff8e5}.fs-modal.fs-error .fs-modal-header{border-bottom-color:#dc3232}.fs-modal.fs-error .fs-modal-body{background-color:#ffeaea}.fs-modal .fs-modal-body,.fs-modal .fs-modal-footer{border:0;background:#fefefe;padding:20px}.fs-modal .fs-modal-header{border-bottom:#eeeeee solid 1px;background:#fbfbfb;padding:15px 20px;position:relative;margin-bottom:-10px}.fs-modal .fs-modal-header h4{margin:0;padding:0;text-transform:uppercase;font-size:1.2em;font-weight:bold;color:#cacaca;text-shadow:1px 1px 1px #fff;letter-spacing:0.6px;-webkit-font-smoothing:antialiased}.fs-modal .fs-modal-header .fs-close{position:absolute;right:10px;top:12px;cursor:pointer;color:#bbb;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;padding:3px;-moz-transition:all 0.2s ease-in-out;-o-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.fs-modal .fs-modal-header .fs-close:hover{color:#fff;background:#aaa}.fs-modal .fs-modal-header .fs-close .dashicons,.fs-modal .fs-modal-header .fs-close:hover .dashicons{text-decoration:none}.fs-modal .fs-modal-body{border-bottom:0}.fs-modal .fs-modal-body p{font-size:14px}.fs-modal .fs-modal-body h2{font-size:20px;line-height:1.5em}.fs-modal .fs-modal-body>div{margin-top:10px}.fs-modal .fs-modal-body>div h2{font-weight:bold;font-size:20px;margin-top:0}.fs-modal .fs-modal-footer{border-top:#eeeeee solid 1px;text-align:right}.fs-modal .fs-modal-footer>.button{margin:0 7px}.fs-modal .fs-modal-footer>.button:first-child{margin:0}.fs-modal .fs-modal-panel>.notice.inline{margin:0;display:none}.fs-modal .fs-modal-panel:not(.active){display:none}.rtl .fs-modal .fs-modal-header .fs-close{right:auto;left:20px}body.has-fs-modal{overflow:hidden}.fs-modal.fs-modal-deactivation-feedback .reason-input,.fs-modal.fs-modal-deactivation-feedback .internal-message{margin:3px 0 3px 22px}.fs-modal.fs-modal-deactivation-feedback .reason-input input,.fs-modal.fs-modal-deactivation-feedback .reason-input textarea,.fs-modal.fs-modal-deactivation-feedback .internal-message input,.fs-modal.fs-modal-deactivation-feedback .internal-message textarea{width:100%}.fs-modal.fs-modal-deactivation-feedback li.reason.has-internal-message .internal-message{border:1px solid #ccc;padding:7px;display:none}@media (max-width: 650px){.fs-modal.fs-modal-deactivation-feedback li.reason li.reason{margin-bottom:10px}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason .reason-input,.fs-modal.fs-modal-deactivation-feedback li.reason li.reason .internal-message{margin-left:29px}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason label{display:table}.fs-modal.fs-modal-deactivation-feedback li.reason li.reason label>span{display:table-cell;font-size:1.3em}}.fs-modal.fs-modal-deactivation-feedback .anonymous-feedback-label{float:left}.fs-modal.fs-modal-deactivation-feedback .fs-modal-panel{margin-top:0 !important}.fs-modal.fs-modal-deactivation-feedback .fs-modal-panel h3{margin-top:0;line-height:1.5em}#the-list .deactivate>.fs-slug{display:none}.fs-modal.fs-modal-subscription-cancellation .fs-price-increase-warning{color:red;font-weight:bold;padding:0 25px;margin-bottom:0}.fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label input{float:left;top:5px;position:relative}.rtl .fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label input{float:right}.fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label span{display:block;margin-left:24px}.rtl .fs-modal.fs-modal-subscription-cancellation ul.subscription-actions label span{margin-left:0;margin-right:24px}.fs-modal.fs-modal-license-activation .fs-modal-body input.fs-license-key{width:100%}.fs-license-options-container table,.fs-license-options-container table select,.fs-license-options-container table .fs-available-license-key{width:100%}.fs-license-options-container table td:first-child{width:1%}.fs-license-options-container table .fs-other-license-key-container label{position:relative;top:6px;float:left;margin-right:5px}.fs-license-options-container table .fs-other-license-key-container div{overflow:hidden;width:auto;height:30px;display:block;top:2px;position:relative}.fs-license-options-container table .fs-other-license-key-container div input{margin:0}.fs-sites-list-container td{cursor:pointer}.fs-multisite-options-container{margin-top:10px;border:1px solid #ccc;padding:5px}.fs-multisite-options-container a{text-decoration:none}.fs-multisite-options-container a:focus{box-shadow:none}.fs-multisite-options-container a.selected{font-weight:bold}.fs-multisite-options-container.fs-apply-on-all-sites{border:0 none;padding:0}.fs-multisite-options-container.fs-apply-on-all-sites .fs-all-sites-options{border-spacing:0}.fs-multisite-options-container.fs-apply-on-all-sites .fs-all-sites-options td:not(:first-child){display:none}.fs-multisite-options-container .fs-sites-list-container{display:none;overflow:auto}.fs-multisite-options-container .fs-sites-list-container table td{border-top:1px solid #ccc;padding:4px 2px}.fs-modal.fs-modal-license-key-resend .email-address-container{overflow:hidden;padding-right:2px}.fs-modal.fs-modal-license-key-resend.fs-freemium input.email-address{width:300px}.fs-modal.fs-modal-license-key-resend.fs-freemium label{display:block;margin-bottom:10px}.fs-modal.fs-modal-license-key-resend.fs-premium input.email-address{width:100%}.fs-modal.fs-modal-license-key-resend.fs-premium .button-container{float:right;margin-left:7px}@media (max-width: 650px){.fs-modal.fs-modal-license-key-resend.fs-premium .button-container{margin-top:2px}}
|
2 |
.rtl .fs-modal.fs-modal-license-key-resend .fs-modal-body .input-container>.email-address-container{padding-left:2px;padding-right:0}.rtl .fs-modal.fs-modal-license-key-resend .fs-modal-body .button-container{float:left;margin-right:7px;margin-left:0}a.show-license-resend-modal{margin-top:4px;display:inline-block}.fs-ajax-loader{position:relative;width:170px;height:20px;margin:auto}.fs-ajax-loader .fs-ajax-loader-bar{position:absolute;top:0;background-color:#0074a3;width:20px;height:20px;-webkit-animation-name:bounce_ajaxLoader;-moz-animation-name:bounce_ajaxLoader;-ms-animation-name:bounce_ajaxLoader;-o-animation-name:bounce_ajaxLoader;animation-name:bounce_ajaxLoader;-webkit-animation-duration:1.5s;-moz-animation-duration:1.5s;-ms-animation-duration:1.5s;-o-animation-duration:1.5s;animation-duration:1.5s;animation-iteration-count:infinite;-o-animation-iteration-count:infinite;-ms-animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;-moz-animation-iteration-count:infinite;-webkit-animation-direction:normal;-moz-animation-direction:normal;-ms-animation-direction:normal;-o-animation-direction:normal;animation-direction:normal;-moz-transform:0.3;-o-transform:0.3;-ms-transform:0.3;-webkit-transform:0.3;transform:0.3}.fs-ajax-loader .fs-ajax-loader-bar-1{left:0px;animation-delay:0.6s;-o-animation-delay:0.6s;-ms-animation-delay:0.6s;-webkit-animation-delay:0.6s;-moz-animation-delay:0.6s}.fs-ajax-loader .fs-ajax-loader-bar-2{left:19px;animation-delay:0.75s;-o-animation-delay:0.75s;-ms-animation-delay:0.75s;-webkit-animation-delay:0.75s;-moz-animation-delay:0.75s}.fs-ajax-loader .fs-ajax-loader-bar-3{left:38px;animation-delay:0.9s;-o-animation-delay:0.9s;-ms-animation-delay:0.9s;-webkit-animation-delay:0.9s;-moz-animation-delay:0.9s}.fs-ajax-loader .fs-ajax-loader-bar-4{left:57px;animation-delay:1.05s;-o-animation-delay:1.05s;-ms-animation-delay:1.05s;-webkit-animation-delay:1.05s;-moz-animation-delay:1.05s}.fs-ajax-loader .fs-ajax-loader-bar-5{left:76px;animation-delay:1.2s;-o-animation-delay:1.2s;-ms-animation-delay:1.2s;-webkit-animation-delay:1.2s;-moz-animation-delay:1.2s}.fs-ajax-loader .fs-ajax-loader-bar-6{left:95px;animation-delay:1.35s;-o-animation-delay:1.35s;-ms-animation-delay:1.35s;-webkit-animation-delay:1.35s;-moz-animation-delay:1.35s}.fs-ajax-loader .fs-ajax-loader-bar-7{left:114px;animation-delay:1.5s;-o-animation-delay:1.5s;-ms-animation-delay:1.5s;-webkit-animation-delay:1.5s;-moz-animation-delay:1.5s}.fs-ajax-loader .fs-ajax-loader-bar-8{left:133px;animation-delay:1.65s;-o-animation-delay:1.65s;-ms-animation-delay:1.65s;-webkit-animation-delay:1.65s;-moz-animation-delay:1.65s}@-moz-keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}@-ms-keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}@-o-keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}@-webkit-keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}@keyframes bounce_ajaxLoader{0%{-moz-transform:scale(1);-o-transform:scale(1);-ms-transform:scale(1);-webkit-transform:scale(1);transform:scale(1);background-color:#0074a3}100%{-moz-transform:scale(0.3);-o-transform:scale(0.3);-ms-transform:scale(0.3);-webkit-transform:scale(0.3);transform:scale(0.3);background-color:#fff}}.fs-modal-auto-install #request-filesystem-credentials-form h2,.fs-modal-auto-install #request-filesystem-credentials-form .request-filesystem-credentials-action-buttons{display:none}.fs-modal-auto-install #request-filesystem-credentials-form input[type=password],.fs-modal-auto-install #request-filesystem-credentials-form input[type=email],.fs-modal-auto-install #request-filesystem-credentials-form input[type=text]{-webkit-appearance:none;padding:10px 10px 5px 10px;width:300px;max-width:100%}.fs-modal-auto-install #request-filesystem-credentials-form>div,.fs-modal-auto-install #request-filesystem-credentials-form label,.fs-modal-auto-install #request-filesystem-credentials-form fieldset{width:300px;max-width:100%;margin:0 auto;display:block}.button-primary.warn{box-shadow:0 1px 0 #d2593c;text-shadow:0 -1px 1px #d2593c,1px 0 1px #d2593c,0 1px 1px #d2593c,-1px 0 1px #d2593c;background:#f56a48;border-color:#ec6544 #d2593c #d2593c}.button-primary.warn:hover{background:#fd6d4a;border-color:#d2593c}.button-primary.warn:focus{box-shadow:0 1px 0 #dd6041,0 0 2px 1px #e4a796}.button-primary.warn:active{background:#dd6041;border-color:#d2593c;box-shadow:inset 0 2px 0 #d2593c}.button-primary.warn.disabled{color:#f5b3a1 !important;background:#e76444 !important;border-color:#d85e40 !important;text-shadow:0 -1px 0 rgba(0,0,0,0.1) !important}
|
vendor/freemius/assets/scss/admin/_badge.scss
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.fs-badge
|
2 |
+
{
|
3 |
+
position: absolute;
|
4 |
+
top: 10px;
|
5 |
+
right: 0;
|
6 |
+
background: $fs-logo-green-color;
|
7 |
+
color: white;
|
8 |
+
text-transform: uppercase;
|
9 |
+
padding: 5px 10px;
|
10 |
+
@include border-radius(3px 0 0 3px);
|
11 |
+
font-weight: bold;
|
12 |
+
border-right: 0;
|
13 |
+
@include box-shadow(0 2px 1px -1px rgba(0, 0, 0, .3));
|
14 |
+
}
|
vendor/freemius/assets/scss/admin/_license-activation.scss
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
.fs-modal.fs-modal-license-activation {
|
2 |
.fs-modal-body {
|
3 |
-
input.
|
4 |
width: 100%;
|
5 |
}
|
6 |
}
|
7 |
}
|
8 |
|
9 |
-
|
10 |
table {
|
11 |
-
&, select,
|
12 |
width: 100%;
|
13 |
}
|
14 |
|
@@ -16,7 +16,7 @@
|
|
16 |
width: 1%;
|
17 |
}
|
18 |
|
19 |
-
|
20 |
label {
|
21 |
position: relative;
|
22 |
top: 6px;
|
@@ -40,7 +40,7 @@
|
|
40 |
}
|
41 |
}
|
42 |
|
43 |
-
|
44 |
td {
|
45 |
cursor: pointer;
|
46 |
}
|
1 |
.fs-modal.fs-modal-license-activation {
|
2 |
.fs-modal-body {
|
3 |
+
input.fs-license-key {
|
4 |
width: 100%;
|
5 |
}
|
6 |
}
|
7 |
}
|
8 |
|
9 |
+
.fs-license-options-container {
|
10 |
table {
|
11 |
+
&, select, .fs-available-license-key {
|
12 |
width: 100%;
|
13 |
}
|
14 |
|
16 |
width: 1%;
|
17 |
}
|
18 |
|
19 |
+
.fs-other-license-key-container {
|
20 |
label {
|
21 |
position: relative;
|
22 |
top: 6px;
|
40 |
}
|
41 |
}
|
42 |
|
43 |
+
.fs-sites-list-container {
|
44 |
td {
|
45 |
cursor: pointer;
|
46 |
}
|
vendor/freemius/assets/scss/admin/_multisite-options.scss
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
margin-top: 10px;
|
3 |
border: 1px solid #ccc;
|
4 |
padding: 5px;
|
@@ -15,11 +15,11 @@
|
|
15 |
}
|
16 |
}
|
17 |
|
18 |
-
&.apply-on-all-sites {
|
19 |
border: 0 none;
|
20 |
padding: 0;
|
21 |
|
22 |
-
|
23 |
border-spacing: 0;
|
24 |
|
25 |
td:not(:first-child) {
|
@@ -28,7 +28,7 @@
|
|
28 |
}
|
29 |
}
|
30 |
|
31 |
-
|
32 |
display: none;
|
33 |
overflow: auto;
|
34 |
|
1 |
+
.fs-multisite-options-container {
|
2 |
margin-top: 10px;
|
3 |
border: 1px solid #ccc;
|
4 |
padding: 5px;
|
15 |
}
|
16 |
}
|
17 |
|
18 |
+
&.fs-apply-on-all-sites {
|
19 |
border: 0 none;
|
20 |
padding: 0;
|
21 |
|
22 |
+
.fs-all-sites-options {
|
23 |
border-spacing: 0;
|
24 |
|
25 |
td:not(:first-child) {
|
28 |
}
|
29 |
}
|
30 |
|
31 |
+
.fs-sites-list-container {
|
32 |
display: none;
|
33 |
overflow: auto;
|
34 |
|
vendor/freemius/assets/scss/admin/_tag.scss
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
label.fs-tag, span.fs-tag
|
2 |
+
{
|
3 |
+
background: #ffba00;
|
4 |
+
color: #fff;
|
5 |
+
display: inline-block;
|
6 |
+
border-radius: 3px;
|
7 |
+
padding: 5px;
|
8 |
+
font-size: 11px;
|
9 |
+
line-height: 11px;
|
10 |
+
vertical-align: baseline;
|
11 |
+
|
12 |
+
&.fs-warn
|
13 |
+
{
|
14 |
+
background: #ffba00;
|
15 |
+
}
|
16 |
+
&.fs-info
|
17 |
+
{
|
18 |
+
background: #00a0d2;
|
19 |
+
}
|
20 |
+
&.fs-success
|
21 |
+
{
|
22 |
+
background: #46b450;
|
23 |
+
}
|
24 |
+
&.fs-error
|
25 |
+
{
|
26 |
+
background: #dc3232;
|
27 |
+
}
|
28 |
+
}
|
vendor/freemius/assets/scss/admin/_themes.scss
CHANGED
@@ -1,21 +1,28 @@
|
|
|
|
|
|
1 |
.theme-browser
|
2 |
{
|
3 |
.theme
|
4 |
{
|
5 |
-
.fs-premium-theme-badge
|
6 |
-
|
7 |
-
|
8 |
-
top:
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
19 |
}
|
20 |
}
|
21 |
}
|
1 |
+
@import "badge";
|
2 |
+
|
3 |
.theme-browser
|
4 |
{
|
5 |
.theme
|
6 |
{
|
7 |
+
.fs-premium-theme-badge-container {
|
8 |
+
position: absolute;
|
9 |
+
right: 0;
|
10 |
+
top: 0;
|
11 |
+
|
12 |
+
.fs-badge {
|
13 |
+
position: relative;
|
14 |
+
top: 0;
|
15 |
+
margin-top: 10px;
|
16 |
+
text-align: center;
|
17 |
+
|
18 |
+
&.fs-premium-theme-badge {
|
19 |
+
font-size: 1.1em;
|
20 |
+
}
|
21 |
+
|
22 |
+
&.fs-beta-theme-badge {
|
23 |
+
background: #00a0d2;
|
24 |
+
}
|
25 |
+
}
|
26 |
}
|
27 |
}
|
28 |
}
|
vendor/freemius/assets/scss/admin/account.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
@import "../start";
|
|
|
2 |
|
3 |
#fs_account
|
4 |
{
|
@@ -132,6 +133,10 @@
|
|
132 |
}
|
133 |
}
|
134 |
|
|
|
|
|
|
|
|
|
135 |
label.fs-tag
|
136 |
{
|
137 |
background: #ffba00;
|
1 |
@import "../start";
|
2 |
+
@import "tag";
|
3 |
|
4 |
#fs_account
|
5 |
{
|
133 |
}
|
134 |
}
|
135 |
|
136 |
+
.fs-field-beta_program label {
|
137 |
+
margin-left: 7px;
|
138 |
+
}
|
139 |
+
|
140 |
label.fs-tag
|
141 |
{
|
142 |
background: #ffba00;
|
vendor/freemius/assets/scss/admin/add-ons.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
@import "../start";
|
|
|
2 |
|
3 |
#fs_addons
|
4 |
{
|
@@ -37,23 +38,23 @@
|
|
37 |
height: 100%;
|
38 |
position: relative;
|
39 |
|
40 |
-
ul
|
41 |
{
|
42 |
@include transition(all, 0.15s);
|
43 |
left: 0;
|
44 |
right: 0;
|
45 |
top: 0;
|
46 |
position: absolute;
|
47 |
-
}
|
48 |
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
57 |
}
|
58 |
|
59 |
.fs-card-banner
|
@@ -66,6 +67,11 @@
|
|
66 |
background-repeat: repeat-x;
|
67 |
background-size: 100% 100%;
|
68 |
@include transition(all, 0.15s);
|
|
|
|
|
|
|
|
|
|
|
69 |
}
|
70 |
|
71 |
.fs-title
|
@@ -109,7 +115,7 @@
|
|
109 |
|
110 |
.fs-cta
|
111 |
{
|
112 |
-
.button
|
113 |
{
|
114 |
position: absolute;
|
115 |
top: 112px;
|
@@ -156,12 +162,20 @@
|
|
156 |
{
|
157 |
&, iframe
|
158 |
{
|
159 |
-
width:
|
160 |
}
|
161 |
}
|
162 |
|
163 |
#plugin-information
|
164 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
#section-description
|
166 |
{
|
167 |
h2, h3, p, b, i, blockquote, li, ul, ol
|
@@ -435,6 +449,152 @@
|
|
435 |
}
|
436 |
}
|
437 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
@media screen and (max-width: 961px) {
|
439 |
#fs_addons
|
440 |
{
|
1 |
@import "../start";
|
2 |
+
@import "badge";
|
3 |
|
4 |
#fs_addons
|
5 |
{
|
38 |
height: 100%;
|
39 |
position: relative;
|
40 |
|
41 |
+
& > ul
|
42 |
{
|
43 |
@include transition(all, 0.15s);
|
44 |
left: 0;
|
45 |
right: 0;
|
46 |
top: 0;
|
47 |
position: absolute;
|
|
|
48 |
|
49 |
+
& > li
|
50 |
+
{
|
51 |
+
list-style: none;
|
52 |
+
line-height: 18px;
|
53 |
+
padding: 0 15px;
|
54 |
+
width: 100%;
|
55 |
+
display: block;
|
56 |
+
@include box-sizing(border-box);
|
57 |
+
}
|
58 |
}
|
59 |
|
60 |
.fs-card-banner
|
67 |
background-repeat: repeat-x;
|
68 |
background-size: 100% 100%;
|
69 |
@include transition(all, 0.15s);
|
70 |
+
|
71 |
+
.fs-badge.fs-installed-addon-badge {
|
72 |
+
font-size: 1.02em;
|
73 |
+
line-height: 1.3em;
|
74 |
+
}
|
75 |
}
|
76 |
|
77 |
.fs-title
|
115 |
|
116 |
.fs-cta
|
117 |
{
|
118 |
+
.button, .button-group
|
119 |
{
|
120 |
position: absolute;
|
121 |
top: 112px;
|
162 |
{
|
163 |
&, iframe
|
164 |
{
|
165 |
+
width: 821px !important;
|
166 |
}
|
167 |
}
|
168 |
|
169 |
#plugin-information
|
170 |
{
|
171 |
+
.fyi {
|
172 |
+
width: 266px !important;
|
173 |
+
}
|
174 |
+
|
175 |
+
#section-holder {
|
176 |
+
margin-right: 299px;
|
177 |
+
}
|
178 |
+
|
179 |
#section-description
|
180 |
{
|
181 |
h2, h3, p, b, i, blockquote, li, ul, ol
|
449 |
}
|
450 |
}
|
451 |
|
452 |
+
.fs-dropdown {
|
453 |
+
#fs_addons .fs-cards-list .fs-card .fs-inner &, #plugin-information & {
|
454 |
+
.button-group {
|
455 |
+
.button {
|
456 |
+
position: relative;
|
457 |
+
width: auto;
|
458 |
+
top: 0;
|
459 |
+
right: 0;
|
460 |
+
|
461 |
+
&:focus {
|
462 |
+
z-index: 10;
|
463 |
+
}
|
464 |
+
}
|
465 |
+
|
466 |
+
.fs-dropdown-arrow {
|
467 |
+
border-top: 6px solid white;
|
468 |
+
border-right: 4px solid transparent;
|
469 |
+
border-left: 4px solid transparent;
|
470 |
+
top: 12px;
|
471 |
+
position: relative;
|
472 |
+
}
|
473 |
+
}
|
474 |
+
|
475 |
+
&.active:not(.up) {
|
476 |
+
.button:not(.fs-dropdown-arrow-button) {
|
477 |
+
border-bottom-left-radius: 0;
|
478 |
+
}
|
479 |
+
|
480 |
+
.fs-dropdown-arrow-button {
|
481 |
+
border-bottom-right-radius: 0;
|
482 |
+
}
|
483 |
+
}
|
484 |
+
|
485 |
+
&.active.up {
|
486 |
+
.button:not(.fs-dropdown-arrow-button) {
|
487 |
+
border-top-left-radius: 0;
|
488 |
+
}
|
489 |
+
|
490 |
+
.fs-dropdown-arrow-button {
|
491 |
+
border-top-right-radius: 0;
|
492 |
+
}
|
493 |
+
}
|
494 |
+
|
495 |
+
.fs-dropdown-list {
|
496 |
+
position: absolute;
|
497 |
+
right: -1px;
|
498 |
+
top: 100%;
|
499 |
+
margin-left: auto;
|
500 |
+
padding: 3px 0;
|
501 |
+
border: 1px solid lighten($darkest-color, 75%);
|
502 |
+
background-color: #fff;
|
503 |
+
z-index: 1;
|
504 |
+
width: 230px;
|
505 |
+
text-align: left;
|
506 |
+
@include box-shadow(0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12));
|
507 |
+
|
508 |
+
li {
|
509 |
+
margin: 0;
|
510 |
+
|
511 |
+
a {
|
512 |
+
display: block;
|
513 |
+
padding: 5px 10px;
|
514 |
+
text-decoration: none;
|
515 |
+
text-shadow: none;
|
516 |
+
}
|
517 |
+
|
518 |
+
&:hover {
|
519 |
+
background-color: $wp-selected-color;
|
520 |
+
color: #fff;
|
521 |
+
|
522 |
+
a {
|
523 |
+
color: #fff;
|
524 |
+
}
|
525 |
+
}
|
526 |
+
}
|
527 |
+
}
|
528 |
+
|
529 |
+
&:not(.up) {
|
530 |
+
.fs-dropdown-list {
|
531 |
+
@include border-radius(3px 0 3px 3px);
|
532 |
+
}
|
533 |
+
}
|
534 |
+
|
535 |
+
&.up {
|
536 |
+
.fs-dropdown-list {
|
537 |
+
@include border-radius(3px 3px 0 3px);
|
538 |
+
}
|
539 |
+
}
|
540 |
+
}
|
541 |
+
|
542 |
+
#plugin-information & {
|
543 |
+
.button-group {
|
544 |
+
width: 100%;
|
545 |
+
|
546 |
+
.button {
|
547 |
+
float: none;
|
548 |
+
font-size: 14px;
|
549 |
+
font-weight: normal;
|
550 |
+
text-transform: none;
|
551 |
+
}
|
552 |
+
}
|
553 |
+
|
554 |
+
.fs-dropdown-list {
|
555 |
+
margin-top: 1px;
|
556 |
+
}
|
557 |
+
|
558 |
+
&.up {
|
559 |
+
.fs-dropdown-list {
|
560 |
+
top: auto;
|
561 |
+
bottom: 100%;
|
562 |
+
margin-bottom: 2px;
|
563 |
+
}
|
564 |
+
}
|
565 |
+
}
|
566 |
+
}
|
567 |
+
|
568 |
+
#plugin-information.wp-core-ui .fs-pricing-body .fs-dropdown .button-group {
|
569 |
+
text-align: center;
|
570 |
+
|
571 |
+
display: table;
|
572 |
+
|
573 |
+
.button {
|
574 |
+
display: table-cell;
|
575 |
+
|
576 |
+
&:not(.fs-dropdown-arrow-button) {
|
577 |
+
left: 1px;
|
578 |
+
width: 100%;
|
579 |
+
}
|
580 |
+
}
|
581 |
+
}
|
582 |
+
|
583 |
+
#plugin-information-footer {
|
584 |
+
> .button, .fs-dropdown {
|
585 |
+
position: relative;
|
586 |
+
top: 3px;
|
587 |
+
|
588 |
+
&.left {
|
589 |
+
float: left;
|
590 |
+
}
|
591 |
+
}
|
592 |
+
|
593 |
+
> .right, .fs-dropdown {
|
594 |
+
float: right;
|
595 |
+
}
|
596 |
+
}
|
597 |
+
|
598 |
@media screen and (max-width: 961px) {
|
599 |
#fs_addons
|
600 |
{
|
vendor/freemius/assets/scss/admin/connect.scss
CHANGED
@@ -54,7 +54,7 @@ $form_width: 480px;
|
|
54 |
}
|
55 |
|
56 |
&.require-license-key {
|
57 |
-
|
58 |
td {
|
59 |
cursor: pointer;
|
60 |
}
|
54 |
}
|
55 |
|
56 |
&.require-license-key {
|
57 |
+
.fs-sites-list-container {
|
58 |
td {
|
59 |
cursor: pointer;
|
60 |
}
|
vendor/freemius/assets/scss/admin/plugins.scss
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../start";
|
2 |
+
@import "tag";
|
3 |
+
|
4 |
+
.wp-list-table.plugins {
|
5 |
+
.plugin-title {
|
6 |
+
span.fs-tag {
|
7 |
+
display : inline-block;
|
8 |
+
margin-left: 5px;
|
9 |
+
line-height: 10px;
|
10 |
+
}
|
11 |
+
}
|
12 |
+
}
|
vendor/freemius/config.php
CHANGED
@@ -204,7 +204,7 @@
|
|
204 |
#--------------------------------------------------------------------------------
|
205 |
|
206 |
if ( ! defined( 'WP_FS__API_ADDRESS_LOCALHOST' ) ) {
|
207 |
-
define( 'WP_FS__API_ADDRESS_LOCALHOST', 'http://api.freemius:8080' );
|
208 |
}
|
209 |
if ( ! defined( 'WP_FS__API_SANDBOX_ADDRESS_LOCALHOST' ) ) {
|
210 |
define( 'WP_FS__API_SANDBOX_ADDRESS_LOCALHOST', 'http://sandbox-api.freemius:8080' );
|
@@ -351,8 +351,8 @@
|
|
351 |
*/
|
352 |
if ( ! defined( 'WP_FS__IS_NETWORK_ADMIN' ) ) {
|
353 |
define( 'WP_FS__IS_NETWORK_ADMIN',
|
354 |
-
|
355 |
-
(
|
356 |
( ( defined( 'DOING_AJAX' ) && DOING_AJAX &&
|
357 |
( isset( $_REQUEST['_fs_network_admin'] ) /*||
|
358 |
( ! empty( $_REQUEST['action'] ) && 'delete-plugin' === $_REQUEST['action'] )*/ )
|
204 |
#--------------------------------------------------------------------------------
|
205 |
|
206 |
if ( ! defined( 'WP_FS__API_ADDRESS_LOCALHOST' ) ) {
|
207 |
+
define( 'WP_FS__API_ADDRESS_LOCALHOST', 'http://api.freemius-local.com:8080' );
|
208 |
}
|
209 |
if ( ! defined( 'WP_FS__API_SANDBOX_ADDRESS_LOCALHOST' ) ) {
|
210 |
define( 'WP_FS__API_SANDBOX_ADDRESS_LOCALHOST', 'http://sandbox-api.freemius:8080' );
|
351 |
*/
|
352 |
if ( ! defined( 'WP_FS__IS_NETWORK_ADMIN' ) ) {
|
353 |
define( 'WP_FS__IS_NETWORK_ADMIN',
|
354 |
+
is_multisite() &&
|
355 |
+
( is_network_admin() ||
|
356 |
( ( defined( 'DOING_AJAX' ) && DOING_AJAX &&
|
357 |
( isset( $_REQUEST['_fs_network_admin'] ) /*||
|
358 |
( ! empty( $_REQUEST['action'] ) && 'delete-plugin' === $_REQUEST['action'] )*/ )
|
vendor/freemius/includes/class-freemius.php
CHANGED
@@ -399,9 +399,11 @@
|
|
399 |
$this->_is_multisite_integrated &&
|
400 |
// Themes are always network activated, but the ACTUAL activation is per site.
|
401 |
$this->is_plugin() &&
|
402 |
-
(
|
403 |
-
|
404 |
-
|
|
|
|
|
405 |
);
|
406 |
|
407 |
$this->_storage->set_network_active(
|
@@ -409,6 +411,17 @@
|
|
409 |
$this->is_delegated_connection()
|
410 |
);
|
411 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
412 |
#region Migration
|
413 |
|
414 |
if ( is_multisite() ) {
|
@@ -493,6 +506,188 @@
|
|
493 |
$this->_version_updates_handler();
|
494 |
}
|
495 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
496 |
/**
|
497 |
* Checks whether this module has a settings menu.
|
498 |
*
|
@@ -1275,9 +1470,7 @@
|
|
1275 |
add_filter( 'site_transient_update_plugins', array( 'Freemius', '_remove_fs_updates_from_plugin_install_page' ), 10, 2 );
|
1276 |
} else if ( self::is_plugins_page() || self::is_updates_page() ) {
|
1277 |
/**
|
1278 |
-
* On the "Plugins" and "Updates" admin pages, if there are premium or non–org-compliant
|
1279 |
-
* plugins, modify their details dialog URLs (add a Freemius-specific param) so that the SDK can
|
1280 |
-
* determine if the plugin information dialog should show information from Freemius.
|
1281 |
*
|
1282 |
* @author Leo Fajardo (@leorw)
|
1283 |
* @since 2.2.3
|
@@ -1408,6 +1601,7 @@
|
|
1408 |
|
1409 |
add_action( 'admin_init', array( &$this, '_add_license_activation' ) );
|
1410 |
add_action( 'admin_init', array( &$this, '_add_premium_version_upgrade_selection' ) );
|
|
|
1411 |
|
1412 |
$this->add_ajax_action( 'update_billing', array( &$this, '_update_billing_ajax_action' ) );
|
1413 |
$this->add_ajax_action( 'start_trial', array( &$this, '_start_trial_ajax_action' ) );
|
@@ -1467,7 +1661,7 @@
|
|
1467 |
static function _remove_fs_updates_from_plugin_install_page( $updates, $transient = null ) {
|
1468 |
if ( is_object( $updates ) && isset( $updates->response ) ) {
|
1469 |
foreach ( $updates->response as $file => $plugin ) {
|
1470 |
-
if ( false !== strpos( $plugin->package, 'api.freemius' ) ) {
|
1471 |
unset( $updates->response[ $file ] );
|
1472 |
}
|
1473 |
}
|
@@ -1530,6 +1724,122 @@
|
|
1530 |
<?php
|
1531 |
}
|
1532 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1533 |
/**
|
1534 |
* Keeping the uninstall hook registered for free or premium plugin version may result to a fatal error that
|
1535 |
* could happen when a user tries to uninstall either version while one of them is still active. Uninstalling a
|
@@ -1655,7 +1965,7 @@
|
|
1655 |
// Try to load the cached value of the file path.
|
1656 |
if ( isset( $this->_storage->plugin_main_file ) ) {
|
1657 |
$plugin_main_file = $this->_storage->plugin_main_file;
|
1658 |
-
if (
|
1659 |
$absolute_path = $this->get_absolute_path( $plugin_main_file->path );
|
1660 |
if ( file_exists( $absolute_path ) ) {
|
1661 |
return $absolute_path;
|
@@ -1676,7 +1986,7 @@
|
|
1676 |
if ( ! $is_init ) {
|
1677 |
// Fetch prev path cache.
|
1678 |
if ( isset( $this->_storage->plugin_main_file ) &&
|
1679 |
-
|
1680 |
) {
|
1681 |
$absolute_path = $this->get_absolute_path( $this->_storage->plugin_main_file->prev_path );
|
1682 |
if ( file_exists( $absolute_path ) ) {
|
@@ -1780,7 +2090,7 @@
|
|
1780 |
$store_option = true;
|
1781 |
}
|
1782 |
|
1783 |
-
if (
|
1784 |
/**
|
1785 |
* This verification is for cases when suddenly the same module
|
1786 |
* is installed but with a different folder name.
|
@@ -1844,6 +2154,7 @@
|
|
1844 |
$caller_map = array();
|
1845 |
$module_type = WP_FS__MODULE_TYPE_PLUGIN;
|
1846 |
$themes_dir = fs_normalize_path( get_theme_root( get_stylesheet() ) );
|
|
|
1847 |
|
1848 |
for ( $i = 1, $bt = debug_backtrace(), $len = count( $bt ); $i < $len; $i ++ ) {
|
1849 |
if ( empty( $bt[ $i ]['file'] ) ) {
|
@@ -1869,12 +2180,46 @@
|
|
1869 |
'activate_plugin'
|
1870 |
) )
|
1871 |
) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1872 |
// Ignore call stack hooks and files inclusion.
|
1873 |
continue;
|
1874 |
}
|
1875 |
|
1876 |
$caller_file_path = fs_normalize_path( $bt[ $i ]['file'] );
|
1877 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1878 |
if ( 'functions.php' === basename( $caller_file_path ) ) {
|
1879 |
/**
|
1880 |
* 1. Assumes that theme's starting execution file is functions.php.
|
@@ -1934,50 +2279,84 @@
|
|
1934 |
*
|
1935 |
* @author Vova Feldman (@svovaf)
|
1936 |
* @author Leo Fajardo (@leorw)
|
|
|
1937 |
* @since 1.1.2
|
1938 |
*/
|
1939 |
function _add_deactivation_feedback_dialog_box() {
|
1940 |
-
|
1941 |
-
|
1942 |
-
|
1943 |
-
* 3. Short-term (short-term)
|
1944 |
-
*/
|
1945 |
-
$is_long_term_user = true;
|
1946 |
-
|
1947 |
-
// Check if the site is at least 2 days old.
|
1948 |
-
$time_installed = $this->_storage->install_timestamp;
|
1949 |
|
1950 |
-
|
1951 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1952 |
|
1953 |
-
|
1954 |
-
$date_diff_days = floor( $date_diff / ( 60 * 60 * 24 ) );
|
1955 |
|
1956 |
-
if (
|
1957 |
-
$
|
|
|
|
|
|
|
|
|
1958 |
}
|
1959 |
|
1960 |
-
$
|
1961 |
|
1962 |
-
if ( $
|
1963 |
-
|
1964 |
-
|
1965 |
-
|
1966 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1967 |
} else {
|
1968 |
-
$
|
|
|
|
|
|
|
|
|
1969 |
}
|
1970 |
-
}
|
1971 |
|
1972 |
-
|
1973 |
|
1974 |
-
|
1975 |
-
|
1976 |
-
|
1977 |
-
|
1978 |
-
|
|
|
1979 |
|
1980 |
/**
|
|
|
|
|
1981 |
* @todo Deactivation form core functions should be loaded only once! Otherwise, when there are multiple Freemius powered plugins the same code is loaded multiple times. The only thing that should be loaded differently is the various deactivation reasons object based on the state of the plugin.
|
1982 |
*/
|
1983 |
fs_require_template( 'forms/deactivation/form.php', $vars );
|
@@ -2484,12 +2863,14 @@
|
|
2484 |
function is_site_activation_mode( $and_on = true ) {
|
2485 |
return (
|
2486 |
( $this->is_on() || ! $and_on ) &&
|
2487 |
-
( $this->is_premium() && true === $this->_storage->require_license_activation ) ||
|
2488 |
(
|
2489 |
-
(
|
2490 |
-
|
2491 |
-
|
2492 |
-
|
|
|
|
|
|
|
2493 |
)
|
2494 |
);
|
2495 |
}
|
@@ -2621,17 +3002,47 @@
|
|
2621 |
$active_basenames = get_option( 'active_plugins' );
|
2622 |
}
|
2623 |
|
|
|
|
|
|
|
|
|
2624 |
if ( is_multisite() ) {
|
2625 |
$network_active_basenames = get_site_option( 'active_sitewide_plugins' );
|
2626 |
|
2627 |
if ( is_array( $network_active_basenames ) && ! empty( $network_active_basenames ) ) {
|
2628 |
-
$active_basenames = array_merge( $active_basenames, $network_active_basenames );
|
2629 |
}
|
2630 |
}
|
2631 |
|
2632 |
return $active_basenames;
|
2633 |
}
|
2634 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2635 |
/**
|
2636 |
* Get collection of all active plugins. Including network activated plugins.
|
2637 |
*
|
@@ -2879,6 +3290,18 @@
|
|
2879 |
add_action( 'admin_footer', array( 'Freemius', '_enrich_ajax_url' ) );
|
2880 |
add_action( 'admin_footer', array( 'Freemius', '_open_support_forum_in_new_page' ) );
|
2881 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2882 |
|
2883 |
self::$_statics_loaded = true;
|
2884 |
}
|
@@ -3475,7 +3898,10 @@
|
|
3475 |
$key = fs_strip_url_protocol( get_site_url( $blog_id ) );
|
3476 |
|
3477 |
$secure_auth = SECURE_AUTH_KEY;
|
3478 |
-
if ( empty( $secure_auth ) ||
|
|
|
|
|
|
|
3479 |
// Protect against default auth key.
|
3480 |
$secure_auth = md5( microtime() );
|
3481 |
}
|
@@ -4372,9 +4798,31 @@
|
|
4372 |
|
4373 |
return;
|
4374 |
} else {
|
4375 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4376 |
// If parent plugin activated, automatically install add-on for the user.
|
4377 |
-
$this->_activate_addon_account(
|
|
|
|
|
|
|
|
|
|
|
4378 |
} else if ( ! $this->_parent->is_registered() && $this->is_registered() ) {
|
4379 |
// If add-on activated and parent not, automatically install parent for the user.
|
4380 |
$this->activate_parent_account( $this->_parent );
|
@@ -4480,14 +4928,18 @@
|
|
4480 |
private function should_use_freemius_updater_and_dialog() {
|
4481 |
return (
|
4482 |
/**
|
4483 |
-
*
|
4484 |
-
*
|
4485 |
-
*
|
4486 |
-
* .org
|
|
|
4487 |
*/
|
4488 |
-
(
|
4489 |
-
|
4490 |
-
|
|
|
|
|
|
|
4491 |
);
|
4492 |
}
|
4493 |
|
@@ -4943,6 +5395,7 @@
|
|
4943 |
'premium_suffix' => $premium_suffix,
|
4944 |
'is_live' => $this->get_bool_option( $plugin_info, 'is_live', true ),
|
4945 |
'affiliate_moderation' => $this->get_option( $plugin_info, 'has_affiliation' ),
|
|
|
4946 |
) );
|
4947 |
|
4948 |
if ( $plugin->is_updated() ) {
|
@@ -4952,6 +5405,21 @@
|
|
4952 |
// Set the secret key after storing the plugin, we don't want to store the key in the storage.
|
4953 |
$this->_plugin->secret_key = $secret_key;
|
4954 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4955 |
if ( ! isset( $plugin_info['menu'] ) ) {
|
4956 |
$plugin_info['menu'] = array();
|
4957 |
|
@@ -6066,7 +6534,7 @@
|
|
6066 |
}
|
6067 |
|
6068 |
if ( is_multisite() ) {
|
6069 |
-
$this->switch_to_blog( $current_blog_id );
|
6070 |
|
6071 |
$this->do_action( "after_{$name}_cron_multisite" );
|
6072 |
}
|
@@ -6146,6 +6614,8 @@
|
|
6146 |
*/
|
6147 |
function _sync_cron_method( array $blog_ids, $current_blog_id = null ) {
|
6148 |
if ( $this->is_registered() ) {
|
|
|
|
|
6149 |
if ( $this->has_paid_plan() ) {
|
6150 |
// Initiate background plan sync.
|
6151 |
$this->_sync_license( true, false, $current_blog_id );
|
@@ -6486,10 +6956,10 @@
|
|
6486 |
* @author Leo Fajardo (@leorw)
|
6487 |
* @since 1.2.2
|
6488 |
*/
|
6489 |
-
if ( $this->is_theme()
|
6490 |
-
|
6491 |
-
|
6492 |
-
|
6493 |
) {
|
6494 |
if ( $this->is_only_premium() ) {
|
6495 |
$this->activate_previous_theme();
|
@@ -6804,7 +7274,7 @@
|
|
6804 |
foreach ( $plans_ids_to_keep as $plan_id ) {
|
6805 |
$plan = self::_get_plan_by_id( $plan_id );
|
6806 |
if ( is_object( $plan ) ) {
|
6807 |
-
$plans_to_keep[] = $plan;
|
6808 |
}
|
6809 |
}
|
6810 |
}
|
@@ -6973,44 +7443,48 @@
|
|
6973 |
// Clear API cache on activation.
|
6974 |
FS_Api::clear_cache();
|
6975 |
|
6976 |
-
$is_premium_version_activation =
|
|
|
|
|
6977 |
|
6978 |
$this->_logger->info( 'Activating ' . ( $is_premium_version_activation ? 'premium' : 'free' ) . ' plugin version.' );
|
6979 |
|
6980 |
-
|
6981 |
-
|
6982 |
-
|
6983 |
-
|
6984 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6985 |
|
6986 |
-
if ( ! $this->_is_network_active ) {
|
6987 |
/**
|
6988 |
-
*
|
6989 |
-
* _is_network_active will be set to false even if it's a network level
|
6990 |
-
* activation. So we need to fix that by looking at the is_network_admin() value.
|
6991 |
*
|
6992 |
-
*
|
|
|
|
|
|
|
|
|
6993 |
*/
|
6994 |
-
$
|
6995 |
-
$
|
6996 |
-
|
6997 |
-
$this->is_plugin() &&
|
6998 |
-
fs_is_network_admin()
|
6999 |
-
);
|
7000 |
-
}
|
7001 |
-
|
7002 |
-
/**
|
7003 |
-
* If the other module version is activate, deactivate it.
|
7004 |
-
*
|
7005 |
-
* is_plugin_active() checks if the plugin active on the site or the network level
|
7006 |
-
* and deactivate_plugins() deactivates the plugin whether its activated on the site
|
7007 |
-
* or network level.
|
7008 |
-
*
|
7009 |
-
* @author Leo Fajardo (@leorw)
|
7010 |
-
* @since 1.2.2
|
7011 |
-
*/
|
7012 |
-
if ( is_plugin_active( $other_version_basename ) ) {
|
7013 |
-
deactivate_plugins( $other_version_basename );
|
7014 |
}
|
7015 |
|
7016 |
if ( $this->is_registered() ) {
|
@@ -7060,14 +7534,41 @@
|
|
7060 |
}
|
7061 |
}
|
7062 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7063 |
if (
|
7064 |
$is_premium_version_activation &&
|
7065 |
(
|
7066 |
( ! $this->is_registered() && $this->is_anonymous() ) ||
|
7067 |
(
|
7068 |
$this->is_registered() &&
|
7069 |
-
! $
|
7070 |
-
! $this->has_features_enabled_license()
|
7071 |
)
|
7072 |
)
|
7073 |
) {
|
@@ -7109,6 +7610,194 @@
|
|
7109 |
$this->_storage->was_plugin_loaded = true;
|
7110 |
}
|
7111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7112 |
/**
|
7113 |
* Delete account.
|
7114 |
*
|
@@ -7166,6 +7855,7 @@
|
|
7166 |
|
7167 |
// Clear all storage data.
|
7168 |
$this->_storage->clear_all( true, array(
|
|
|
7169 |
'connectivity_test',
|
7170 |
'is_on',
|
7171 |
), false );
|
@@ -7521,7 +8211,7 @@
|
|
7521 |
get_current_blog_id() == $network_or_blog_id ||
|
7522 |
( true === $network_or_blog_id && fs_is_network_admin() )
|
7523 |
) {
|
7524 |
-
|
7525 |
}
|
7526 |
}
|
7527 |
|
@@ -7985,16 +8675,18 @@
|
|
7985 |
* @author Vova Feldman (@svovaf)
|
7986 |
* @since 1.1.2
|
7987 |
*
|
7988 |
-
* @param string[]
|
7989 |
-
* @param bool $include_plugins
|
7990 |
-
* @param bool $include_themes
|
|
|
7991 |
*
|
7992 |
* @return array
|
7993 |
*/
|
7994 |
private function get_install_data_for_api(
|
7995 |
array $override,
|
7996 |
$include_plugins = true,
|
7997 |
-
$include_themes = true
|
|
|
7998 |
) {
|
7999 |
if ( ! defined( 'WP_FS__TRACK_PLUGINS' ) || false !== WP_FS__TRACK_PLUGINS ) {
|
8000 |
/**
|
@@ -8022,13 +8714,18 @@
|
|
8022 |
|
8023 |
$versions = $this->get_versions();
|
8024 |
|
8025 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8026 |
'version' => $this->get_plugin_version(),
|
8027 |
'is_premium' => $this->is_premium(),
|
8028 |
-
'language' => get_bloginfo( 'language' ),
|
8029 |
-
'charset' => get_bloginfo( 'charset' ),
|
8030 |
-
'title' => get_bloginfo( 'name' ),
|
8031 |
-
'url' => get_site_url(),
|
8032 |
// Special params.
|
8033 |
'is_active' => true,
|
8034 |
'is_disconnected' => $this->is_tracking_prohibited(),
|
@@ -8796,6 +9493,18 @@
|
|
8796 |
return $this->_plugin->id;
|
8797 |
}
|
8798 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8799 |
/**
|
8800 |
* @author Vova Feldman (@svovaf)
|
8801 |
* @since 1.2.1.5
|
@@ -9539,6 +10248,176 @@
|
|
9539 |
return false;
|
9540 |
}
|
9541 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|