Version Description
- Initial Release with 9 Blocks.
Download this release
Release Info
Developer | munirkamal |
Plugin | ![]() |
Version | 1.0.0 |
Comparing to | |
See all releases |
Version 1.0.0
- acf-blocks.php +235 -0
- acf-json/group_5cbd743876860.json +297 -0
- acf-json/group_5cbd9e696a100.json +324 -0
- acf-json/group_5cbdba3909312.json +193 -0
- acf-json/group_5cbdd1a0caf81.json +575 -0
- acf-json/group_5cc04e691b1a8.json +201 -0
- acf-json/group_5cc6b8e86e751.json +234 -0
- acf-json/group_5cc6cf92e231a.json +205 -0
- acf-json/group_5cc6dfe67784b.json +332 -0
- acf-json/group_5cc7092c01eb4.json +214 -0
- acf-json/index.php +3 -0
- block-templates/click-to-tweet.php +40 -0
- block-templates/counter-number.php +24 -0
- block-templates/multi-buttons.php +40 -0
- block-templates/price-list.php +50 -0
- block-templates/pricing-box.php +80 -0
- block-templates/progress-bar.php +32 -0
- block-templates/star-rating.php +33 -0
- block-templates/team.php +54 -0
- block-templates/testimonial.php +58 -0
- css/acfblocks.css +265 -0
- freemius/.gitignore +11 -0
- freemius/LICENSE.txt +674 -0
- freemius/README.md +253 -0
- freemius/assets/css/admin/account.css +1 -0
- freemius/assets/css/admin/add-ons.css +2 -0
- freemius/assets/css/admin/affiliation.css +1 -0
- freemius/assets/css/admin/checkout.css +1 -0
- freemius/assets/css/admin/common.css +2 -0
- freemius/assets/css/admin/connect.css +1 -0
- freemius/assets/css/admin/debug.css +1 -0
- freemius/assets/css/admin/dialog-boxes.css +2 -0
- freemius/assets/css/admin/gdpr-optin-notice.css +1 -0
- freemius/assets/css/admin/index.php +3 -0
- freemius/assets/css/customizer.css +1 -0
- freemius/assets/css/index.php +3 -0
- freemius/assets/img/index.php +3 -0
- freemius/assets/img/plugin-icon.png +0 -0
- freemius/assets/img/theme-icon.png +0 -0
- freemius/assets/index.php +3 -0
- freemius/assets/js/index.php +3 -0
- freemius/assets/js/nojquery.ba-postmessage.js +140 -0
- freemius/assets/js/nojquery.ba-postmessage.min.js +12 -0
- freemius/assets/js/postmessage.js +135 -0
- freemius/assets/scss/_colors.scss +79 -0
- freemius/assets/scss/_functions.scss +0 -0
- freemius/assets/scss/_load.scss +4 -0
- freemius/assets/scss/_mixins.scss +270 -0
- freemius/assets/scss/_start.scss +4 -0
- freemius/assets/scss/_vars.scss +6 -0
- freemius/assets/scss/admin/_ajax-loader.scss +49 -0
- freemius/assets/scss/admin/_auto-install.scss +33 -0
- freemius/assets/scss/admin/_buttons.scss +28 -0
- freemius/assets/scss/admin/_deactivation-feedback.scss +55 -0
- freemius/assets/scss/admin/_gdpr-consent.scss +81 -0
- freemius/assets/scss/admin/_license-activation.scss +47 -0
- freemius/assets/scss/admin/_license-key-resend.scss +68 -0
- freemius/assets/scss/admin/_modal-common.scss +194 -0
- freemius/assets/scss/admin/_multisite-options.scss +40 -0
- freemius/assets/scss/admin/_plugin-upgrade-notice.scss +8 -0
- freemius/assets/scss/admin/_subscription-cancellation.scss +30 -0
- freemius/assets/scss/admin/_themes.scss +21 -0
- freemius/assets/scss/admin/_tooltip.scss +66 -0
- freemius/assets/scss/admin/account.scss +302 -0
- freemius/assets/scss/admin/add-ons.scss +449 -0
- freemius/assets/scss/admin/affiliation.scss +97 -0
- freemius/assets/scss/admin/checkout.scss +5 -0
- freemius/assets/scss/admin/common.scss +220 -0
- freemius/assets/scss/admin/connect.scss +548 -0
- freemius/assets/scss/admin/debug.scss +135 -0
- freemius/assets/scss/admin/dialog-boxes.scss +10 -0
- freemius/assets/scss/admin/gdpr-optin-notice.scss +17 -0
- freemius/assets/scss/admin/index.php +3 -0
- freemius/assets/scss/customizer.scss +125 -0
- freemius/assets/scss/index.php +3 -0
- freemius/config.php +388 -0
- freemius/includes/class-freemius-abstract.php +597 -0
- freemius/includes/class-freemius.php +18337 -0
acf-blocks.php
ADDED
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Plugin Name: ACF Blocks
|
4 |
+
* Plugin URI: https://acfblocks.com/
|
5 |
+
* Description: Supercharge your Gutenberg editor with high quality beautiful WordPress blocks. Ready-to-use ACF Blocks!
|
6 |
+
* Version: 1.0.0
|
7 |
+
* Author: munirkamal
|
8 |
+
* Author URI: https://munirkamal.wordpress.com
|
9 |
+
* License: GPL2
|
10 |
+
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
+
* Text Domain: acfb
|
12 |
+
* Domain Path: /languages
|
13 |
+
*/
|
14 |
+
|
15 |
+
// Freemius
|
16 |
+
if ( ! function_exists( 'acfb_fs' ) ) {
|
17 |
+
// Create a helper function for easy SDK access.
|
18 |
+
function acfb_fs() {
|
19 |
+
global $acfb_fs;
|
20 |
+
|
21 |
+
if ( ! isset( $acfb_fs ) ) {
|
22 |
+
// Include Freemius SDK.
|
23 |
+
require_once dirname(__FILE__) . '/freemius/start.php';
|
24 |
+
|
25 |
+
$acfb_fs = fs_dynamic_init( array(
|
26 |
+
'id' => '3703',
|
27 |
+
'slug' => 'acf-blocks',
|
28 |
+
'type' => 'plugin',
|
29 |
+
'public_key' => 'pk_5e62b729dd843294873241dcc6402',
|
30 |
+
'is_premium' => false,
|
31 |
+
'has_addons' => false,
|
32 |
+
'has_paid_plans' => false,
|
33 |
+
'menu' => array(
|
34 |
+
'first-path' => 'plugins.php',
|
35 |
+
'account' => false,
|
36 |
+
'support' => false,
|
37 |
+
),
|
38 |
+
) );
|
39 |
+
}
|
40 |
+
|
41 |
+
return $acfb_fs;
|
42 |
+
}
|
43 |
+
|
44 |
+
// Init Freemius.
|
45 |
+
acfb_fs();
|
46 |
+
// Signal that SDK was initiated.
|
47 |
+
do_action( 'acfb_fs_loaded' );
|
48 |
+
}
|
49 |
+
|
50 |
+
|
51 |
+
// Add Custom Blocks Panel in Gutenberg
|
52 |
+
function acfb_block_categories( $categories, $post ) {
|
53 |
+
return array_merge(
|
54 |
+
$categories,
|
55 |
+
array(
|
56 |
+
array(
|
57 |
+
'slug' => 'acfb-blocks',
|
58 |
+
'title' => __( 'ACF Blocks', 'acfblocks-master' ),
|
59 |
+
),
|
60 |
+
)
|
61 |
+
);
|
62 |
+
}
|
63 |
+
add_filter( 'block_categories', 'acfb_block_categories', 10, 2 );
|
64 |
+
|
65 |
+
|
66 |
+
// Register Blocks
|
67 |
+
add_action('acf/init', 'acfb_blocks');
|
68 |
+
function acfb_blocks() {
|
69 |
+
|
70 |
+
// check function exists.
|
71 |
+
if( function_exists('acf_register_block') ) {
|
72 |
+
|
73 |
+
// register a testimonial block.
|
74 |
+
acf_register_block(array(
|
75 |
+
'name' => 'acfb-testimonial',
|
76 |
+
'mode' => 'preview',
|
77 |
+
'title' => __('Testimonial'),
|
78 |
+
'description' => __('Let others know what your clients or customers say about you.'),
|
79 |
+
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/testimonial.php',
|
80 |
+
'category' => 'acfb-blocks',
|
81 |
+
'icon' => '<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"></defs><title/><g data-name="22-chat" id="_22-chat"><polygon class="acfb_svg_icon" points="31 3 1 3 1 23 8 23 14 29 14 23 31 23 31 3"/><line class="acfb_svg_icon" x1="7" x2="25" y1="9" y2="9"/><line class="acfb_svg_icon" x1="7" x2="25" y1="13" y2="13"/><line class="acfb_svg_icon" x1="7" x2="25" y1="17" y2="17"/></g></svg>',
|
82 |
+
'enqueue_assets' => function(){
|
83 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
84 |
+
},
|
85 |
+
));
|
86 |
+
|
87 |
+
// register a team block.
|
88 |
+
acf_register_block(array(
|
89 |
+
'name' => 'acfb-team',
|
90 |
+
'mode' => 'preview',
|
91 |
+
'title' => __('Team'),
|
92 |
+
'description' => __('Introduce your team to your site visitors in style.'),
|
93 |
+
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/team.php',
|
94 |
+
'category' => 'acfb-blocks',
|
95 |
+
'icon' => '<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><title/><g data-name="79-users" id="_79-users"><circle class="acfb_svg_icon" cx="16" cy="13" r="5"/><path class="acfb_svg_icon" d="M23,28A7,7,0,0,0,9,28Z"/><path class="acfb_svg_icon" d="M24,14a5,5,0,1,0-4-8"/><path class="acfb_svg_icon" d="M25,24h6a7,7,0,0,0-7-7"/><path class="acfb_svg_icon" d="M12,6a5,5,0,1,0-4,8"/><path class="acfb_svg_icon" d="M8,17a7,7,0,0,0-7,7H7"/></g></svg>',
|
96 |
+
'enqueue_assets' => function(){
|
97 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
98 |
+
},
|
99 |
+
));
|
100 |
+
|
101 |
+
// register a multi buttons block.
|
102 |
+
acf_register_block(array(
|
103 |
+
'name' => 'acfb-multibuttons',
|
104 |
+
'mode' => 'preview',
|
105 |
+
'title' => __('Multi Buttons'),
|
106 |
+
'description' => __('Display multiple buttons inline with ease.'),
|
107 |
+
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/multi-buttons.php',
|
108 |
+
'category' => 'acfb-blocks',
|
109 |
+
'icon' => '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title/><g data-name="36.option-memu" id="_36.option-memu"><rect class="acfb_svg_icon" height="4" width="4" x="1" y="10"/><rect class="acfb_svg_icon" height="4" width="4" x="10" y="10"/><rect class="acfb_svg_icon" height="4" width="4" x="19" y="10"/></g></svg>',
|
110 |
+
'enqueue_assets' => function(){
|
111 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
112 |
+
},
|
113 |
+
));
|
114 |
+
|
115 |
+
// register a pricing box block.
|
116 |
+
acf_register_block(array(
|
117 |
+
'name' => 'acfb-pricingbox',
|
118 |
+
'mode' => 'preview',
|
119 |
+
'title' => __('Pricing Box'),
|
120 |
+
'description' => __('Display your plans and offers in style.'),
|
121 |
+
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/pricing-box.php',
|
122 |
+
'category' => 'acfb-blocks',
|
123 |
+
'icon' => '<svg height="512pt" viewBox="0 -47 512 512" width="512pt" xmlns="http://www.w3.org/2000/svg"><path d="m85.332031 145.859375v-43.800781c9.648438 2.433594 16.574219 10.882812 17.066407 20.820312 0 4.714844 3.820312 8.535156 8.535156 8.535156 4.710937 0 8.53125-3.820312 8.53125-8.535156-.652344-19.355468-14.988282-35.507812-34.132813-38.460937v-7.617188c0-4.714843-3.820312-8.535156-8.53125-8.535156-4.714843 0-8.535156 3.820313-8.535156 8.535156v7.617188c-19.140625 2.949219-33.476563 19.105469-34.132813 38.460937.65625 19.359375 14.992188 35.511719 34.132813 38.460938v43.804687c-9.648437-2.433593-16.574219-10.886719-17.066406-20.824219 0-4.714843-3.820313-8.535156-8.53125-8.535156-4.714844 0-8.535157 3.820313-8.535157 8.535156.65625 19.359376 14.992188 35.511719 34.132813 38.460938v7.617188c0 4.714843 3.820313 8.535156 8.535156 8.535156 4.710938 0 8.53125-3.820313 8.53125-8.535156v-7.617188c19.144531-2.949219 33.480469-19.101562 34.132813-38.460938-.652344-19.359374-14.988282-35.511718-34.132813-38.460937zm-34.132812-22.980469c.496093-9.9375 7.421875-18.386718 17.066406-20.820312v41.644531c-9.644531-2.4375-16.570313-10.886719-17.066406-20.824219zm34.132812 82.265625v-41.644531c9.925781 1.988281 17.066407 10.703125 17.066407 20.824219 0 10.121093-7.140626 18.835937-17.066407 20.824219zm0 0"/><path d="m298.667969 109.226562c0 4.714844 3.820312 8.535157 8.53125 8.535157 4.714843 0 8.535156-3.820313 8.535156-8.535157 0-26.597656-22.304687-48.613281-51.199219-52.300781v-14.257812c0-4.714844-3.824218-8.535157-8.535156-8.535157s-8.535156 3.820313-8.535156 8.535157v14.257812c-28.894532 3.6875-51.199219 25.703125-51.199219 52.300781 0 26.597657 22.304687 48.617188 51.199219 52.308594v71.554688c-18.386719-1.878906-32.773438-16.683594-34.132813-35.117188 0-4.710937-3.820312-8.53125-8.53125-8.53125-4.714843 0-8.535156 3.820313-8.535156 8.53125 0 26.597656 22.304687 48.613282 51.199219 52.300782v14.261718c0 4.710938 3.824218 8.53125 8.535156 8.53125s8.535156-3.820312 8.535156-8.53125v-14.257812c28.894532-3.691406 51.199219-25.703125 51.199219-52.300782 0-26.601562-22.304687-48.617187-51.199219-52.304687v-71.558594c18.386719 1.875 32.773438 16.679688 34.132813 35.113281zm-85.335938 0c1.359375-18.433593 15.746094-33.234374 34.132813-35.113281v70.230469c-18.386719-1.878906-32.773438-16.683594-34.132813-35.117188zm85.335938 88.746094c-1.359375 18.433594-15.746094 33.234375-34.132813 35.113282v-70.230469c18.386719 1.882812 32.773438 16.683593 34.132813 35.117187zm0 0"/><path d="m426.667969 161.339844v43.804687c-9.648438-2.433593-16.574219-10.882812-17.066407-20.820312 0-4.710938-3.820312-8.535157-8.535156-8.535157-4.710937 0-8.53125 3.824219-8.53125 8.535157.652344 19.359375 14.988282 35.511719 34.132813 38.460937v7.613282c0 4.714843 3.820312 8.535156 8.53125 8.535156 4.714843 0 8.535156-3.820313 8.535156-8.535156v-7.617188c19.140625-2.949219 33.476563-19.101562 34.132813-38.460938-.65625-19.359374-14.992188-35.511718-34.132813-38.460937v-43.800781c9.648437 2.433594 16.574219 10.882812 17.066406 20.820312 0 4.714844 3.820313 8.535156 8.53125 8.535156 4.714844 0 8.535157-3.820312 8.535157-8.535156-.65625-19.355468-14.992188-35.507812-34.132813-38.460937v-7.617188c0-4.714843-3.820313-8.535156-8.535156-8.535156-4.710938 0-8.53125 3.820313-8.53125 8.535156v7.617188c-19.144531 2.949219-33.480469 19.105469-34.132813 38.460937.652344 19.359375 14.988282 35.511719 34.132813 38.460938zm34.132812 22.980468c-.492187 9.9375-7.417969 18.386719-17.066406 20.820313v-41.640625c9.648437 2.433594 16.574219 10.882812 17.066406 20.820312zm-34.132812-82.261718v41.644531c-9.648438-2.4375-16.574219-10.886719-17.066407-20.824219.492188-9.9375 7.417969-18.386718 17.066407-20.820312zm0 0"/><path d="m494.933594 25.601562h-128v-8.535156c-.011719-9.421875-7.644532-17.0546872-17.066406-17.066406h-187.734376c-9.421874.0117188-17.054687 7.644531-17.066406 17.066406v8.535156h-128c-9.421875.007813-17.0546872 7.644532-17.066406 17.066407v221.867187c.0117188 9.417969 7.644531 17.054688 17.066406 17.066406h128v8.53125c.011719 9.421876 7.644532 17.054688 17.066406 17.066407h187.734376c9.421874-.011719 17.054687-7.644531 17.066406-17.066407v-8.53125h128c9.421875-.011718 17.054687-7.648437 17.066406-17.066406v-221.867187c-.011719-9.421875-7.644531-17.058594-17.066406-17.066407zm-477.867188 238.933594v-221.867187h128v221.867187zm145.066406 25.597656v-273.066406h187.734376v17.066406l.007812 238.894532-.007812.039062.007812.039063v17.027343zm332.800782-25.597656h-128v-221.867187h128zm0 0"/><path d="m222.382812 362.15625c-5-4.992188-13.097656-4.992188-18.097656 0l-34.132812 34.128906c-3.660156 3.660156-4.757813 9.164063-2.777344 13.945313 1.984375 4.78125 6.648438 7.902343 11.824219 7.902343h68.265625c5.175781-.003906 9.839844-3.121093 11.820312-7.902343 1.980469-4.777344.886719-10.28125-2.769531-13.941407zm-32.882812 38.910156 23.832031-23.832031 23.835938 23.832031zm0 0"/><path d="m341.332031 358.398438h-68.265625c-5.175781.003906-9.835937 3.121093-11.816406 7.902343s-.890625 10.285157 2.765625 13.945313l34.136719 34.132812c5 4.988282 13.097656 4.988282 18.097656 0l34.132812-34.128906c3.660157-3.660156 4.753907-9.164062 2.773438-13.949219-1.980469-4.78125-6.648438-7.898437-11.824219-7.902343zm-34.132812 40.902343-23.832031-23.835937h47.667968zm0 0"/><path d="m119.464844 298.667969h-85.332032c-4.710937 0-8.53125 3.820312-8.53125 8.53125 0 4.714843 3.820313 8.535156 8.53125 8.535156h85.332032c4.714844 0 8.535156-3.820313 8.535156-8.535156 0-4.710938-3.820312-8.53125-8.535156-8.53125zm0 0"/><path d="m315.734375 341.332031c4.710937 0 8.53125-3.820312 8.53125-8.53125 0-4.714843-3.820313-8.535156-8.53125-8.535156h-119.46875c-4.710937 0-8.53125 3.820313-8.53125 8.535156 0 4.710938 3.820313 8.53125 8.53125 8.53125zm0 0"/><path d="m477.867188 298.667969h-85.332032c-4.714844 0-8.535156 3.820312-8.535156 8.53125 0 4.714843 3.820312 8.535156 8.535156 8.535156h85.332032c4.710937 0 8.53125-3.820313 8.53125-8.535156 0-4.710938-3.820313-8.53125-8.53125-8.53125zm0 0"/></svg>',
|
124 |
+
'enqueue_assets' => function(){
|
125 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
126 |
+
},
|
127 |
+
));
|
128 |
+
|
129 |
+
// register a Star Rating block.
|
130 |
+
acf_register_block(array(
|
131 |
+
'name' => 'acfb-starrating',
|
132 |
+
'mode' => 'preview',
|
133 |
+
'title' => __('Star Rating'),
|
134 |
+
'description' => __('Add start ratings anywhere easily.'),
|
135 |
+
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/star-rating.php',
|
136 |
+
'category' => 'acfb-blocks',
|
137 |
+
'icon' => '<svg id="Outlined" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><title/><g id="Fill"><path d="M28.61,11.67H20l-2.66-8.2a1.39,1.39,0,0,0-2.64,0L12,11.67H3.39a1.39,1.39,0,0,0-.82,2.51l7,5.07L6.89,27.46a1.39,1.39,0,0,0,1.32,1.82A1.43,1.43,0,0,0,9,29l7-5.07L23,29a1.43,1.43,0,0,0,.81.27,1.39,1.39,0,0,0,1.32-1.82l-2.66-8.21,7-5.07A1.39,1.39,0,0,0,28.61,11.67Zm-7.34,6-1.17.86.44,1.38,2.09,6.41-5.45-4L16,21.46l-1.18.86-5.45,4,2.09-6.41.44-1.38-1.17-.86-5.45-4h8.19l.45-1.38L16,5.89l2.08,6.4.45,1.38h8.19Z"/></g></svg>',
|
138 |
+
'enqueue_assets' => function(){
|
139 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
140 |
+
},
|
141 |
+
));
|
142 |
+
|
143 |
+
// register a Progress Bar block.
|
144 |
+
acf_register_block(array(
|
145 |
+
'name' => 'acfb-progressbar',
|
146 |
+
'mode' => 'preview',
|
147 |
+
'title' => __('Progress Bar'),
|
148 |
+
'description' => __('Show your progress using percentage defined progress bars.'),
|
149 |
+
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/progress-bar.php',
|
150 |
+
'category' => 'acfb-blocks',
|
151 |
+
'icon' => '<svg width="455.14px" height="455.14px" enable-background="new 0 0 455.138 455.139" version="1.1" viewBox="0 0 455.138 455.139" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
152 |
+
<path d="m0 141.65v171.83h455.14v-171.83h-455.14zm432.72 149.42h-410.31v-127h410.31v127h-5e-3zm-328.43-19.606h-59.766v-89.652h59.767v89.652zm89.653 0h-59.765v-89.652h59.765v89.652zm93.387 0h-59.768v-89.652h59.768v89.652z"/>
|
153 |
+
</svg>',
|
154 |
+
'enqueue_assets' => function(){
|
155 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
156 |
+
},
|
157 |
+
));
|
158 |
+
|
159 |
+
// register a Counter Number block.
|
160 |
+
acf_register_block(array(
|
161 |
+
'name' => 'acfb-counternumber',
|
162 |
+
'mode' => 'preview',
|
163 |
+
'title' => __('Counter Number'),
|
164 |
+
'description' => __('Display stats with animated counter numbers.'),
|
165 |
+
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/counter-number.php',
|
166 |
+
'category' => 'acfb-blocks',
|
167 |
+
'icon' => '<svg id="Outlined" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><title/><g id="Fill"><path d="M16.71,22.29l-1.42,1.42L17.59,26H16A10,10,0,0,1,8.93,8.93L7.51,7.51A12,12,0,0,0,16,28h1.59l-2.3,2.29,1.42,1.42L20,28.41a2,2,0,0,0,0-2.82Z"/><path d="M16,4H14.41l2.3-2.29L15.29.29,12,3.59a2,2,0,0,0,0,2.82l3.29,3.3,1.42-1.42L14.41,6H16a10,10,0,0,1,7.07,17.07l1.42,1.42A12,12,0,0,0,16,4Z"/></g></svg>',
|
168 |
+
'enqueue_assets' => function(){
|
169 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
170 |
+
wp_enqueue_script( 'acfb-blocks-js', plugin_dir_url( __FILE__ ) . 'js/acfblocks.js', array('jquery'), '', false );
|
171 |
+
},
|
172 |
+
));
|
173 |
+
|
174 |
+
// register a Price List block.
|
175 |
+
acf_register_block(array(
|
176 |
+
'name' => 'acfb-pricelist',
|
177 |
+
'mode' => 'preview',
|
178 |
+
'title' => __('Price List'),
|
179 |
+
'description' => __('Display price list for any product easily.'),
|
180 |
+
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/price-list.php',
|
181 |
+
'category' => 'acfb-blocks',
|
182 |
+
'icon' => '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title/><g data-name="6.list-menu" id="_6.list-menu"><line class="acfb_svg_icon" x1="1" x2="4" y1="6" y2="6"/><line class="acfb_svg_icon" x1="1" x2="4" y1="12" y2="12"/><line class="acfb_svg_icon" x1="1" x2="4" y1="18" y2="18"/><line class="acfb_svg_icon" x1="8" x2="23" y1="6" y2="6"/><line class="acfb_svg_icon" x1="8" x2="23" y1="12" y2="12"/><line class="acfb_svg_icon" x1="8" x2="23" y1="18" y2="18"/></g></svg>',
|
183 |
+
'enqueue_assets' => function(){
|
184 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
185 |
+
},
|
186 |
+
));
|
187 |
+
|
188 |
+
// register a Click To Tweet block.
|
189 |
+
acf_register_block(array(
|
190 |
+
'name' => 'acfb-clicktotweet',
|
191 |
+
'mode' => 'preview',
|
192 |
+
'title' => __('Click To Tweet'),
|
193 |
+
'description' => __('Add a tweet-able quote to let your reader tweet with 1-click.'),
|
194 |
+
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/click-to-tweet.php',
|
195 |
+
'category' => 'acfb-blocks',
|
196 |
+
'icon' => '<svg enable-background="new 0 0 511.271 511.271" version="1.1" viewBox="0 0 511.271 511.271" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
197 |
+
<path d="m508.34 94.243c-2.603-2.603-6.942-3.471-10.414-2.603l-17.356 6.075c10.414-12.149 17.356-25.166 21.695-37.315 1.736-4.339 0.868-7.81-1.736-10.414-2.603-2.603-6.942-3.471-10.414-1.736-24.298 10.414-45.125 19.092-62.481 24.298 0 0.868-0.868 0-1.736 0-13.885-7.81-47.729-25.166-72.027-25.166-61.614 0.868-111.08 52.936-111.08 116.28v3.471c-90.251-17.356-139.72-43.39-193.52-99.797l-8.676-8.678-5.207 10.414c-29.505 56.407-8.678 107.61 25.166 142.32-15.62-2.603-26.034-7.81-35.58-15.62-3.471-2.603-7.81-3.471-12.149-0.868-3.471 1.736-5.207 6.942-4.339 11.281 12.149 40.786 42.522 73.763 75.498 93.722-15.62 0-28.637-1.736-41.654-10.414-3.471-1.736-8.678-1.736-12.149 0.868s-5.207 6.942-3.471 11.281c15.62 44.258 45.993 67.688 94.59 73.763-25.166 14.753-58.142 26.902-109.34 27.77-5.207 0-9.546 3.471-11.281 7.81-1.736 5.207 0 9.546 3.471 13.017 31.241 25.166 100.66 39.919 186.58 39.919 152.73 0 277.7-136.24 277.7-303.73v-2.603c19.092-9.546 34.712-27.77 42.522-52.936 0.867-3.472-1e-3 -7.811-2.604-10.414zm-52.068 49.464l-5.207 1.736v14.753c0 157.94-117.15 286.37-260.34 286.37-78.97 0-131.9-13.017-160.54-26.902 59.878-4.339 94.59-23.431 121.49-44.258l21.695-15.62h-26.034c-49.464 0-79.837-13.885-97.193-46.861 15.62 5.207 32.108 5.207 50.332 4.339 6.942-0.868 13.885-0.868 20.827-0.868l2.603-17.356c-32.976-9.546-72.027-39.051-91.119-78.969 17.356 7.81 36.447 9.546 53.803 9.546h26.902l-21.694-15.621c-18.224-13.017-72.027-59.01-45.993-124.96 55.539 54.671 108.48 79.837 203.93 97.193l10.414 1.736v-24.298c0-53.803 41.654-98.061 93.722-98.929 19.959-0.868 52.936 17.356 62.481 22.563 5.207 2.603 10.414 3.471 15.62 1.736 13.017-4.339 28.637-10.414 45.993-17.356-7.81 13.017-18.224 25.166-32.108 36.448-3.471 2.603-4.339 7.81-2.603 12.149s6.942 6.075 11.281 4.339l33.844-11.281c-6.075 11.28-15.621 24.297-32.109 30.371z"/>
|
198 |
+
</svg>',
|
199 |
+
'enqueue_assets' => function(){
|
200 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
201 |
+
},
|
202 |
+
));
|
203 |
+
|
204 |
+
}
|
205 |
+
}
|
206 |
+
|
207 |
+
|
208 |
+
|
209 |
+
|
210 |
+
add_filter('acf/settings/save_json', 'acfb_json_save_point');
|
211 |
+
function acfb_json_save_point( $acfb_path ) {
|
212 |
+
|
213 |
+
// update path
|
214 |
+
$acfb_path = plugin_dir_path( __FILE__ ) . '/acf-json';
|
215 |
+
|
216 |
+
// return
|
217 |
+
return $acfb_path;
|
218 |
+
|
219 |
+
}
|
220 |
+
|
221 |
+
|
222 |
+
add_filter('acf/settings/load_json', 'acfb_json_load_point');
|
223 |
+
function acfb_json_load_point( $acfb_path ) {
|
224 |
+
|
225 |
+
// remove original path (optional)
|
226 |
+
unset($acfb_path[0]);
|
227 |
+
|
228 |
+
// append path
|
229 |
+
$acfb_path[] = plugin_dir_path( __FILE__ ) . '/acf-json';
|
230 |
+
|
231 |
+
// return
|
232 |
+
return $acfb_path;
|
233 |
+
|
234 |
+
}
|
235 |
+
|
acf-json/group_5cbd743876860.json
ADDED
@@ -0,0 +1,297 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5cbd743876860",
|
3 |
+
"title": "Testimonials Block",
|
4 |
+
"private" : true,
|
5 |
+
"fields": [
|
6 |
+
{
|
7 |
+
"key": "field_5cc81f63ae3fb",
|
8 |
+
"label": "Content",
|
9 |
+
"name": "",
|
10 |
+
"type": "tab",
|
11 |
+
"instructions": "",
|
12 |
+
"required": 0,
|
13 |
+
"conditional_logic": 0,
|
14 |
+
"wrapper": {
|
15 |
+
"width": "",
|
16 |
+
"class": "",
|
17 |
+
"id": ""
|
18 |
+
},
|
19 |
+
"placement": "top",
|
20 |
+
"endpoint": 0
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"key": "field_5cbd749b53ab6",
|
24 |
+
"label": "Text",
|
25 |
+
"name": "acfb_testimonial_text",
|
26 |
+
"type": "textarea",
|
27 |
+
"instructions": "",
|
28 |
+
"required": 0,
|
29 |
+
"conditional_logic": 0,
|
30 |
+
"wrapper": {
|
31 |
+
"width": "",
|
32 |
+
"class": "",
|
33 |
+
"id": ""
|
34 |
+
},
|
35 |
+
"default_value": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris",
|
36 |
+
"placeholder": "",
|
37 |
+
"maxlength": "",
|
38 |
+
"rows": "",
|
39 |
+
"new_lines": ""
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"key": "field_5cbd74eb53ab7",
|
43 |
+
"label": "Image",
|
44 |
+
"name": "acfb_testimonial_image",
|
45 |
+
"type": "image",
|
46 |
+
"instructions": "",
|
47 |
+
"required": 0,
|
48 |
+
"conditional_logic": 0,
|
49 |
+
"wrapper": {
|
50 |
+
"width": "",
|
51 |
+
"class": "",
|
52 |
+
"id": ""
|
53 |
+
},
|
54 |
+
"return_format": "url",
|
55 |
+
"preview_size": "thumbnail",
|
56 |
+
"library": "all",
|
57 |
+
"min_width": "",
|
58 |
+
"min_height": "",
|
59 |
+
"min_size": "",
|
60 |
+
"max_width": "",
|
61 |
+
"max_height": "",
|
62 |
+
"max_size": "",
|
63 |
+
"mime_types": ""
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"key": "field_5cbd844b488e6",
|
67 |
+
"label": "Image Alt",
|
68 |
+
"name": "acfb_testimonial_image_alt",
|
69 |
+
"type": "text",
|
70 |
+
"instructions": "",
|
71 |
+
"required": 0,
|
72 |
+
"conditional_logic": 0,
|
73 |
+
"wrapper": {
|
74 |
+
"width": "",
|
75 |
+
"class": "",
|
76 |
+
"id": ""
|
77 |
+
},
|
78 |
+
"default_value": "Avatar",
|
79 |
+
"placeholder": "Avatar",
|
80 |
+
"prepend": "",
|
81 |
+
"append": "",
|
82 |
+
"maxlength": ""
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"key": "field_5cbd752e53ab8",
|
86 |
+
"label": "Name",
|
87 |
+
"name": "acfb_testimonial_name",
|
88 |
+
"type": "text",
|
89 |
+
"instructions": "",
|
90 |
+
"required": 0,
|
91 |
+
"conditional_logic": 0,
|
92 |
+
"wrapper": {
|
93 |
+
"width": "",
|
94 |
+
"class": "",
|
95 |
+
"id": ""
|
96 |
+
},
|
97 |
+
"default_value": "Name Here",
|
98 |
+
"placeholder": "Name Here",
|
99 |
+
"prepend": "",
|
100 |
+
"append": "",
|
101 |
+
"maxlength": ""
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"key": "field_5cbd753753ab9",
|
105 |
+
"label": "Position",
|
106 |
+
"name": "acfb_testimonial_position",
|
107 |
+
"type": "text",
|
108 |
+
"instructions": "",
|
109 |
+
"required": 0,
|
110 |
+
"conditional_logic": 0,
|
111 |
+
"wrapper": {
|
112 |
+
"width": "",
|
113 |
+
"class": "",
|
114 |
+
"id": ""
|
115 |
+
},
|
116 |
+
"default_value": "Position",
|
117 |
+
"placeholder": "Position",
|
118 |
+
"prepend": "",
|
119 |
+
"append": "",
|
120 |
+
"maxlength": ""
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"key": "field_5cc81fc1ae3fc",
|
124 |
+
"label": "Style",
|
125 |
+
"name": "",
|
126 |
+
"type": "tab",
|
127 |
+
"instructions": "",
|
128 |
+
"required": 0,
|
129 |
+
"conditional_logic": 0,
|
130 |
+
"wrapper": {
|
131 |
+
"width": "",
|
132 |
+
"class": "",
|
133 |
+
"id": ""
|
134 |
+
},
|
135 |
+
"placement": "top",
|
136 |
+
"endpoint": 0
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"key": "field_5cbd95e83fdd9",
|
140 |
+
"label": "Background Color",
|
141 |
+
"name": "acfb_testimonial_background_color",
|
142 |
+
"type": "color_picker",
|
143 |
+
"instructions": "",
|
144 |
+
"required": 0,
|
145 |
+
"conditional_logic": 0,
|
146 |
+
"wrapper": {
|
147 |
+
"width": "",
|
148 |
+
"class": "",
|
149 |
+
"id": ""
|
150 |
+
},
|
151 |
+
"default_value": "#f3f4f5"
|
152 |
+
},
|
153 |
+
{
|
154 |
+
"key": "field_5cbd960d3fdda",
|
155 |
+
"label": "Text Color",
|
156 |
+
"name": "acfb_testimonial_text_color",
|
157 |
+
"type": "color_picker",
|
158 |
+
"instructions": "",
|
159 |
+
"required": 0,
|
160 |
+
"conditional_logic": 0,
|
161 |
+
"wrapper": {
|
162 |
+
"width": "",
|
163 |
+
"class": "",
|
164 |
+
"id": ""
|
165 |
+
},
|
166 |
+
"default_value": "#191e23"
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"key": "field_5cbd96f33fddc",
|
170 |
+
"label": "Text Size",
|
171 |
+
"name": "acfb_testimonial_text_size",
|
172 |
+
"type": "range",
|
173 |
+
"instructions": "",
|
174 |
+
"required": 0,
|
175 |
+
"conditional_logic": 0,
|
176 |
+
"wrapper": {
|
177 |
+
"width": "",
|
178 |
+
"class": "",
|
179 |
+
"id": ""
|
180 |
+
},
|
181 |
+
"default_value": 18,
|
182 |
+
"min": "",
|
183 |
+
"max": 200,
|
184 |
+
"step": "",
|
185 |
+
"prepend": "",
|
186 |
+
"append": "px"
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"key": "field_5cbd967a3fddb",
|
190 |
+
"label": "Image Size",
|
191 |
+
"name": "acfb_testimonial_image_size",
|
192 |
+
"type": "range",
|
193 |
+
"instructions": "",
|
194 |
+
"required": 0,
|
195 |
+
"conditional_logic": 0,
|
196 |
+
"wrapper": {
|
197 |
+
"width": "",
|
198 |
+
"class": "",
|
199 |
+
"id": ""
|
200 |
+
},
|
201 |
+
"default_value": 55,
|
202 |
+
"min": "",
|
203 |
+
"max": 200,
|
204 |
+
"step": "",
|
205 |
+
"prepend": "",
|
206 |
+
"append": "px"
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"key": "field_5cbd97143fddd",
|
210 |
+
"label": "Name Color",
|
211 |
+
"name": "acfb_testimonial_name_color",
|
212 |
+
"type": "color_picker",
|
213 |
+
"instructions": "",
|
214 |
+
"required": 0,
|
215 |
+
"conditional_logic": 0,
|
216 |
+
"wrapper": {
|
217 |
+
"width": "",
|
218 |
+
"class": "",
|
219 |
+
"id": ""
|
220 |
+
},
|
221 |
+
"default_value": "#191e23"
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"key": "field_5cbd97423fdde",
|
225 |
+
"label": "Name Size",
|
226 |
+
"name": "acfb_testimonial_name_size",
|
227 |
+
"type": "range",
|
228 |
+
"instructions": "",
|
229 |
+
"required": 0,
|
230 |
+
"conditional_logic": 0,
|
231 |
+
"wrapper": {
|
232 |
+
"width": "",
|
233 |
+
"class": "",
|
234 |
+
"id": ""
|
235 |
+
},
|
236 |
+
"default_value": 18,
|
237 |
+
"min": "",
|
238 |
+
"max": 200,
|
239 |
+
"step": "",
|
240 |
+
"prepend": "",
|
241 |
+
"append": "px"
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"key": "field_5cbd977a3fddf",
|
245 |
+
"label": "Position Color",
|
246 |
+
"name": "acfb_testimonial_position_color",
|
247 |
+
"type": "color_picker",
|
248 |
+
"instructions": "",
|
249 |
+
"required": 0,
|
250 |
+
"conditional_logic": 0,
|
251 |
+
"wrapper": {
|
252 |
+
"width": "",
|
253 |
+
"class": "",
|
254 |
+
"id": ""
|
255 |
+
},
|
256 |
+
"default_value": "#191e23"
|
257 |
+
},
|
258 |
+
{
|
259 |
+
"key": "field_5cbd979b3fde0",
|
260 |
+
"label": "Position Size",
|
261 |
+
"name": "acfb_testimonial_position_size",
|
262 |
+
"type": "range",
|
263 |
+
"instructions": "",
|
264 |
+
"required": 0,
|
265 |
+
"conditional_logic": 0,
|
266 |
+
"wrapper": {
|
267 |
+
"width": "",
|
268 |
+
"class": "",
|
269 |
+
"id": ""
|
270 |
+
},
|
271 |
+
"default_value": 14,
|
272 |
+
"min": "",
|
273 |
+
"max": 200,
|
274 |
+
"step": "",
|
275 |
+
"prepend": "",
|
276 |
+
"append": "px"
|
277 |
+
}
|
278 |
+
],
|
279 |
+
"location": [
|
280 |
+
[
|
281 |
+
{
|
282 |
+
"param": "block",
|
283 |
+
"operator": "==",
|
284 |
+
"value": "acf\/acfb-testimonial"
|
285 |
+
}
|
286 |
+
]
|
287 |
+
],
|
288 |
+
"menu_order": 0,
|
289 |
+
"position": "normal",
|
290 |
+
"style": "default",
|
291 |
+
"label_placement": "top",
|
292 |
+
"instruction_placement": "label",
|
293 |
+
"hide_on_screen": "",
|
294 |
+
"active": 1,
|
295 |
+
"description": "",
|
296 |
+
"modified": 1556892181
|
297 |
+
}
|
acf-json/group_5cbd9e696a100.json
ADDED
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5cbd9e696a100",
|
3 |
+
"title": "Team Block",
|
4 |
+
"private" : true,
|
5 |
+
"fields": [
|
6 |
+
{
|
7 |
+
"key": "field_5cc828ec4ea06",
|
8 |
+
"label": "Content",
|
9 |
+
"name": "",
|
10 |
+
"type": "tab",
|
11 |
+
"instructions": "",
|
12 |
+
"required": 0,
|
13 |
+
"conditional_logic": 0,
|
14 |
+
"wrapper": {
|
15 |
+
"width": "",
|
16 |
+
"class": "",
|
17 |
+
"id": ""
|
18 |
+
},
|
19 |
+
"placement": "top",
|
20 |
+
"endpoint": 0
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"key": "field_5cbda662bd5e1",
|
24 |
+
"label": "Image",
|
25 |
+
"name": "acfb_team_image",
|
26 |
+
"type": "image",
|
27 |
+
"instructions": "",
|
28 |
+
"required": 0,
|
29 |
+
"conditional_logic": 0,
|
30 |
+
"wrapper": {
|
31 |
+
"width": "",
|
32 |
+
"class": "",
|
33 |
+
"id": ""
|
34 |
+
},
|
35 |
+
"return_format": "url",
|
36 |
+
"preview_size": "medium",
|
37 |
+
"library": "all",
|
38 |
+
"min_width": "",
|
39 |
+
"min_height": "",
|
40 |
+
"min_size": "",
|
41 |
+
"max_width": "",
|
42 |
+
"max_height": "",
|
43 |
+
"max_size": "",
|
44 |
+
"mime_types": ""
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"key": "field_5cbda572fa5ba",
|
48 |
+
"label": "Image Position",
|
49 |
+
"name": "acfb_team_image_position",
|
50 |
+
"type": "select",
|
51 |
+
"instructions": "",
|
52 |
+
"required": 0,
|
53 |
+
"conditional_logic": 0,
|
54 |
+
"wrapper": {
|
55 |
+
"width": "",
|
56 |
+
"class": "",
|
57 |
+
"id": ""
|
58 |
+
},
|
59 |
+
"choices": {
|
60 |
+
"top": "top",
|
61 |
+
"left": "left"
|
62 |
+
},
|
63 |
+
"default_value": [
|
64 |
+
"top"
|
65 |
+
],
|
66 |
+
"allow_null": 0,
|
67 |
+
"multiple": 0,
|
68 |
+
"ui": 0,
|
69 |
+
"return_format": "value",
|
70 |
+
"ajax": 0,
|
71 |
+
"placeholder": ""
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"key": "field_5cbda70c97bc3",
|
75 |
+
"label": "Image Alt",
|
76 |
+
"name": "acfb_team_image_alt",
|
77 |
+
"type": "text",
|
78 |
+
"instructions": "",
|
79 |
+
"required": 0,
|
80 |
+
"conditional_logic": 0,
|
81 |
+
"wrapper": {
|
82 |
+
"width": "",
|
83 |
+
"class": "",
|
84 |
+
"id": ""
|
85 |
+
},
|
86 |
+
"default_value": "Avatar",
|
87 |
+
"placeholder": "Avatar",
|
88 |
+
"prepend": "",
|
89 |
+
"append": "",
|
90 |
+
"maxlength": ""
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"key": "field_5cbda67ebd5e2",
|
94 |
+
"label": "Name",
|
95 |
+
"name": "acfb_team_name",
|
96 |
+
"type": "text",
|
97 |
+
"instructions": "",
|
98 |
+
"required": 0,
|
99 |
+
"conditional_logic": 0,
|
100 |
+
"wrapper": {
|
101 |
+
"width": "",
|
102 |
+
"class": "",
|
103 |
+
"id": ""
|
104 |
+
},
|
105 |
+
"default_value": "Name Here",
|
106 |
+
"placeholder": "Name Here",
|
107 |
+
"prepend": "",
|
108 |
+
"append": "",
|
109 |
+
"maxlength": ""
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"key": "field_5cbda699bd5e3",
|
113 |
+
"label": "Position",
|
114 |
+
"name": "acfb_team_position",
|
115 |
+
"type": "text",
|
116 |
+
"instructions": "",
|
117 |
+
"required": 0,
|
118 |
+
"conditional_logic": 0,
|
119 |
+
"wrapper": {
|
120 |
+
"width": "",
|
121 |
+
"class": "",
|
122 |
+
"id": ""
|
123 |
+
},
|
124 |
+
"default_value": "Position",
|
125 |
+
"placeholder": "Position",
|
126 |
+
"prepend": "",
|
127 |
+
"append": "",
|
128 |
+
"maxlength": ""
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"key": "field_5cbda6a8bd5e4",
|
132 |
+
"label": "Description",
|
133 |
+
"name": "acfb_team_description",
|
134 |
+
"type": "textarea",
|
135 |
+
"instructions": "",
|
136 |
+
"required": 0,
|
137 |
+
"conditional_logic": 0,
|
138 |
+
"wrapper": {
|
139 |
+
"width": "",
|
140 |
+
"class": "",
|
141 |
+
"id": ""
|
142 |
+
},
|
143 |
+
"default_value": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris",
|
144 |
+
"placeholder": "",
|
145 |
+
"maxlength": "",
|
146 |
+
"rows": "",
|
147 |
+
"new_lines": ""
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"key": "field_5cc8292d4ea07",
|
151 |
+
"label": "Style",
|
152 |
+
"name": "",
|
153 |
+
"type": "tab",
|
154 |
+
"instructions": "",
|
155 |
+
"required": 0,
|
156 |
+
"conditional_logic": 0,
|
157 |
+
"wrapper": {
|
158 |
+
"width": "",
|
159 |
+
"class": "",
|
160 |
+
"id": ""
|
161 |
+
},
|
162 |
+
"placement": "top",
|
163 |
+
"endpoint": 0
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"key": "field_5cbdb1729c361",
|
167 |
+
"label": "Background Color",
|
168 |
+
"name": "acfb_team_background_color",
|
169 |
+
"type": "color_picker",
|
170 |
+
"instructions": "",
|
171 |
+
"required": 0,
|
172 |
+
"conditional_logic": 0,
|
173 |
+
"wrapper": {
|
174 |
+
"width": "",
|
175 |
+
"class": "",
|
176 |
+
"id": ""
|
177 |
+
},
|
178 |
+
"default_value": "#f3f4f5"
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"key": "field_5cbdb1ba9c362",
|
182 |
+
"label": "Image Size",
|
183 |
+
"name": "acfb_team_image_size",
|
184 |
+
"type": "range",
|
185 |
+
"instructions": "",
|
186 |
+
"required": 0,
|
187 |
+
"conditional_logic": 0,
|
188 |
+
"wrapper": {
|
189 |
+
"width": "",
|
190 |
+
"class": "",
|
191 |
+
"id": ""
|
192 |
+
},
|
193 |
+
"default_value": 150,
|
194 |
+
"min": "",
|
195 |
+
"max": 250,
|
196 |
+
"step": "",
|
197 |
+
"prepend": "",
|
198 |
+
"append": "px"
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"key": "field_5cbdb1fb9c363",
|
202 |
+
"label": "Name Color",
|
203 |
+
"name": "acfb_team_name_color",
|
204 |
+
"type": "color_picker",
|
205 |
+
"instructions": "",
|
206 |
+
"required": 0,
|
207 |
+
"conditional_logic": 0,
|
208 |
+
"wrapper": {
|
209 |
+
"width": "",
|
210 |
+
"class": "",
|
211 |
+
"id": ""
|
212 |
+
},
|
213 |
+
"default_value": "#191e23"
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"key": "field_5cbdb2429c364",
|
217 |
+
"label": "Name Size",
|
218 |
+
"name": "acfb_team_name_size",
|
219 |
+
"type": "range",
|
220 |
+
"instructions": "",
|
221 |
+
"required": 0,
|
222 |
+
"conditional_logic": 0,
|
223 |
+
"wrapper": {
|
224 |
+
"width": "",
|
225 |
+
"class": "",
|
226 |
+
"id": ""
|
227 |
+
},
|
228 |
+
"default_value": 25,
|
229 |
+
"min": "",
|
230 |
+
"max": 200,
|
231 |
+
"step": "",
|
232 |
+
"prepend": "",
|
233 |
+
"append": "px"
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"key": "field_5cbdb2749c365",
|
237 |
+
"label": "Position Color",
|
238 |
+
"name": "acfb_team_position_color",
|
239 |
+
"type": "color_picker",
|
240 |
+
"instructions": "",
|
241 |
+
"required": 0,
|
242 |
+
"conditional_logic": 0,
|
243 |
+
"wrapper": {
|
244 |
+
"width": "",
|
245 |
+
"class": "",
|
246 |
+
"id": ""
|
247 |
+
},
|
248 |
+
"default_value": "#191e23"
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"key": "field_5cbdb2a39c366",
|
252 |
+
"label": "Position Size",
|
253 |
+
"name": "acfb_team_position_size",
|
254 |
+
"type": "range",
|
255 |
+
"instructions": "",
|
256 |
+
"required": 0,
|
257 |
+
"conditional_logic": 0,
|
258 |
+
"wrapper": {
|
259 |
+
"width": "",
|
260 |
+
"class": "",
|
261 |
+
"id": ""
|
262 |
+
},
|
263 |
+
"default_value": 18,
|
264 |
+
"min": "",
|
265 |
+
"max": 200,
|
266 |
+
"step": "",
|
267 |
+
"prepend": "",
|
268 |
+
"append": "px"
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"key": "field_5cbdb2da9c367",
|
272 |
+
"label": "Description Color",
|
273 |
+
"name": "acfb_team_description_color",
|
274 |
+
"type": "color_picker",
|
275 |
+
"instructions": "",
|
276 |
+
"required": 0,
|
277 |
+
"conditional_logic": 0,
|
278 |
+
"wrapper": {
|
279 |
+
"width": "",
|
280 |
+
"class": "",
|
281 |
+
"id": ""
|
282 |
+
},
|
283 |
+
"default_value": "#191e23"
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"key": "field_5cbdb3069c368",
|
287 |
+
"label": "Description Size",
|
288 |
+
"name": "acfb_team_description_size",
|
289 |
+
"type": "range",
|
290 |
+
"instructions": "",
|
291 |
+
"required": 0,
|
292 |
+
"conditional_logic": 0,
|
293 |
+
"wrapper": {
|
294 |
+
"width": "",
|
295 |
+
"class": "",
|
296 |
+
"id": ""
|
297 |
+
},
|
298 |
+
"default_value": 18,
|
299 |
+
"min": "",
|
300 |
+
"max": 200,
|
301 |
+
"step": "",
|
302 |
+
"prepend": "",
|
303 |
+
"append": "px"
|
304 |
+
}
|
305 |
+
],
|
306 |
+
"location": [
|
307 |
+
[
|
308 |
+
{
|
309 |
+
"param": "block",
|
310 |
+
"operator": "==",
|
311 |
+
"value": "acf\/acfb-team"
|
312 |
+
}
|
313 |
+
]
|
314 |
+
],
|
315 |
+
"menu_order": 0,
|
316 |
+
"position": "normal",
|
317 |
+
"style": "default",
|
318 |
+
"label_placement": "top",
|
319 |
+
"instruction_placement": "label",
|
320 |
+
"hide_on_screen": "",
|
321 |
+
"active": 1,
|
322 |
+
"description": "",
|
323 |
+
"modified": 1556892184
|
324 |
+
}
|
acf-json/group_5cbdba3909312.json
ADDED
@@ -0,0 +1,193 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5cbdba3909312",
|
3 |
+
"title": "Multi Buttons",
|
4 |
+
"private" : true,
|
5 |
+
"fields": [
|
6 |
+
{
|
7 |
+
"key": "field_5cc84ecff7cb8",
|
8 |
+
"label": "Content",
|
9 |
+
"name": "",
|
10 |
+
"type": "tab",
|
11 |
+
"instructions": "",
|
12 |
+
"required": 0,
|
13 |
+
"conditional_logic": 0,
|
14 |
+
"wrapper": {
|
15 |
+
"width": "",
|
16 |
+
"class": "",
|
17 |
+
"id": ""
|
18 |
+
},
|
19 |
+
"placement": "top",
|
20 |
+
"endpoint": 0
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"key": "field_5cbdc00df082a",
|
24 |
+
"label": "Multi Buttons",
|
25 |
+
"name": "acfb_multi_buttons",
|
26 |
+
"type": "repeater",
|
27 |
+
"instructions": "",
|
28 |
+
"required": 0,
|
29 |
+
"conditional_logic": 0,
|
30 |
+
"wrapper": {
|
31 |
+
"width": "",
|
32 |
+
"class": "",
|
33 |
+
"id": ""
|
34 |
+
},
|
35 |
+
"collapsed": "field_5cbdc09af082b",
|
36 |
+
"min": 1,
|
37 |
+
"max": 0,
|
38 |
+
"layout": "block",
|
39 |
+
"button_label": "Add Button",
|
40 |
+
"sub_fields": [
|
41 |
+
{
|
42 |
+
"key": "field_5cbdc09af082b",
|
43 |
+
"label": "Text",
|
44 |
+
"name": "acfb_multibutton_text",
|
45 |
+
"type": "text",
|
46 |
+
"instructions": "",
|
47 |
+
"required": 0,
|
48 |
+
"conditional_logic": 0,
|
49 |
+
"wrapper": {
|
50 |
+
"width": "",
|
51 |
+
"class": "",
|
52 |
+
"id": ""
|
53 |
+
},
|
54 |
+
"default_value": "Button Text",
|
55 |
+
"placeholder": "Button Text",
|
56 |
+
"prepend": "",
|
57 |
+
"append": "",
|
58 |
+
"maxlength": ""
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"key": "field_5cbdc0b8f082c",
|
62 |
+
"label": "Link",
|
63 |
+
"name": "acfb_multibutton_url",
|
64 |
+
"type": "url",
|
65 |
+
"instructions": "",
|
66 |
+
"required": 0,
|
67 |
+
"conditional_logic": 0,
|
68 |
+
"wrapper": {
|
69 |
+
"width": "",
|
70 |
+
"class": "",
|
71 |
+
"id": ""
|
72 |
+
},
|
73 |
+
"default_value": "#",
|
74 |
+
"placeholder": "#"
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"key": "field_5cbdc0f7f082d",
|
78 |
+
"label": "Background Color",
|
79 |
+
"name": "acfb_multibutton_background_color",
|
80 |
+
"type": "color_picker",
|
81 |
+
"instructions": "",
|
82 |
+
"required": 0,
|
83 |
+
"conditional_logic": 0,
|
84 |
+
"wrapper": {
|
85 |
+
"width": "",
|
86 |
+
"class": "",
|
87 |
+
"id": ""
|
88 |
+
},
|
89 |
+
"default_value": "#f3f4f5"
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"key": "field_5cbdc132f082e",
|
93 |
+
"label": "Text Color",
|
94 |
+
"name": "acfb_multibutton_text_color",
|
95 |
+
"type": "color_picker",
|
96 |
+
"instructions": "",
|
97 |
+
"required": 0,
|
98 |
+
"conditional_logic": 0,
|
99 |
+
"wrapper": {
|
100 |
+
"width": "",
|
101 |
+
"class": "",
|
102 |
+
"id": ""
|
103 |
+
},
|
104 |
+
"default_value": "#191e23"
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"key": "field_5cbdc6f9d7da3",
|
108 |
+
"label": "Background Hover Color",
|
109 |
+
"name": "acfb_multibutton_background_hover_color",
|
110 |
+
"type": "color_picker",
|
111 |
+
"instructions": "",
|
112 |
+
"required": 0,
|
113 |
+
"conditional_logic": 0,
|
114 |
+
"wrapper": {
|
115 |
+
"width": "",
|
116 |
+
"class": "",
|
117 |
+
"id": ""
|
118 |
+
},
|
119 |
+
"default_value": "#f3f4f5"
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"key": "field_5cbdc720d7da4",
|
123 |
+
"label": "Text Hover Color",
|
124 |
+
"name": "acfb_multibutton_text_hover_color",
|
125 |
+
"type": "color_picker",
|
126 |
+
"instructions": "",
|
127 |
+
"required": 0,
|
128 |
+
"conditional_logic": 0,
|
129 |
+
"wrapper": {
|
130 |
+
"width": "",
|
131 |
+
"class": "",
|
132 |
+
"id": ""
|
133 |
+
},
|
134 |
+
"default_value": "#191e23"
|
135 |
+
}
|
136 |
+
]
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"key": "field_5cc84ee0f7cb9",
|
140 |
+
"label": "Style",
|
141 |
+
"name": "",
|
142 |
+
"type": "tab",
|
143 |
+
"instructions": "",
|
144 |
+
"required": 0,
|
145 |
+
"conditional_logic": 0,
|
146 |
+
"wrapper": {
|
147 |
+
"width": "",
|
148 |
+
"class": "",
|
149 |
+
"id": ""
|
150 |
+
},
|
151 |
+
"placement": "top",
|
152 |
+
"endpoint": 0
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"key": "field_5cbdc740d7da5",
|
156 |
+
"label": "Text Size",
|
157 |
+
"name": "acfb_multibutton_text_size",
|
158 |
+
"type": "range",
|
159 |
+
"instructions": "",
|
160 |
+
"required": 0,
|
161 |
+
"conditional_logic": 0,
|
162 |
+
"wrapper": {
|
163 |
+
"width": "",
|
164 |
+
"class": "",
|
165 |
+
"id": ""
|
166 |
+
},
|
167 |
+
"default_value": 16,
|
168 |
+
"min": "",
|
169 |
+
"max": "",
|
170 |
+
"step": "",
|
171 |
+
"prepend": "",
|
172 |
+
"append": "px"
|
173 |
+
}
|
174 |
+
],
|
175 |
+
"location": [
|
176 |
+
[
|
177 |
+
{
|
178 |
+
"param": "block",
|
179 |
+
"operator": "==",
|
180 |
+
"value": "acf\/acfb-multibuttons"
|
181 |
+
}
|
182 |
+
]
|
183 |
+
],
|
184 |
+
"menu_order": 0,
|
185 |
+
"position": "normal",
|
186 |
+
"style": "default",
|
187 |
+
"label_placement": "top",
|
188 |
+
"instruction_placement": "label",
|
189 |
+
"hide_on_screen": "",
|
190 |
+
"active": 1,
|
191 |
+
"description": "",
|
192 |
+
"modified": 1556892229
|
193 |
+
}
|
acf-json/group_5cbdd1a0caf81.json
ADDED
@@ -0,0 +1,575 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5cbdd1a0caf81",
|
3 |
+
"title": "Pricing Box",
|
4 |
+
"private" : true,
|
5 |
+
"fields": [
|
6 |
+
{
|
7 |
+
"key": "field_5cc840c7667b5",
|
8 |
+
"label": "Content",
|
9 |
+
"name": "",
|
10 |
+
"type": "tab",
|
11 |
+
"instructions": "",
|
12 |
+
"required": 0,
|
13 |
+
"conditional_logic": 0,
|
14 |
+
"wrapper": {
|
15 |
+
"width": "",
|
16 |
+
"class": "",
|
17 |
+
"id": ""
|
18 |
+
},
|
19 |
+
"placement": "top",
|
20 |
+
"endpoint": 0
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"key": "field_5cbdd1cb5fd85",
|
24 |
+
"label": "Image",
|
25 |
+
"name": "acfb_pricingbox_image",
|
26 |
+
"type": "image",
|
27 |
+
"instructions": "",
|
28 |
+
"required": 0,
|
29 |
+
"conditional_logic": 0,
|
30 |
+
"wrapper": {
|
31 |
+
"width": "",
|
32 |
+
"class": "",
|
33 |
+
"id": ""
|
34 |
+
},
|
35 |
+
"return_format": "url",
|
36 |
+
"preview_size": "medium_large",
|
37 |
+
"library": "all",
|
38 |
+
"min_width": "",
|
39 |
+
"min_height": "",
|
40 |
+
"min_size": "",
|
41 |
+
"max_width": "",
|
42 |
+
"max_height": "",
|
43 |
+
"max_size": "",
|
44 |
+
"mime_types": ""
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"key": "field_5cbdd3912af72",
|
48 |
+
"label": "Image Alt",
|
49 |
+
"name": "acfb_pricingbox_image_alt",
|
50 |
+
"type": "text",
|
51 |
+
"instructions": "",
|
52 |
+
"required": 0,
|
53 |
+
"conditional_logic": 0,
|
54 |
+
"wrapper": {
|
55 |
+
"width": "",
|
56 |
+
"class": "",
|
57 |
+
"id": ""
|
58 |
+
},
|
59 |
+
"default_value": "alt Text",
|
60 |
+
"placeholder": "alt Text",
|
61 |
+
"prepend": "",
|
62 |
+
"append": "",
|
63 |
+
"maxlength": ""
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"key": "field_5cbdd2115fd86",
|
67 |
+
"label": "Title",
|
68 |
+
"name": "acfb_pricingbox_title",
|
69 |
+
"type": "text",
|
70 |
+
"instructions": "",
|
71 |
+
"required": 0,
|
72 |
+
"conditional_logic": 0,
|
73 |
+
"wrapper": {
|
74 |
+
"width": "",
|
75 |
+
"class": "",
|
76 |
+
"id": ""
|
77 |
+
},
|
78 |
+
"default_value": "Title",
|
79 |
+
"placeholder": "Title",
|
80 |
+
"prepend": "",
|
81 |
+
"append": "",
|
82 |
+
"maxlength": ""
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"key": "field_5cbddc242af73",
|
86 |
+
"label": "Price Prefix",
|
87 |
+
"name": "acfb_pricingbox_price_prefix",
|
88 |
+
"type": "text",
|
89 |
+
"instructions": "",
|
90 |
+
"required": 0,
|
91 |
+
"conditional_logic": 0,
|
92 |
+
"wrapper": {
|
93 |
+
"width": "",
|
94 |
+
"class": "",
|
95 |
+
"id": ""
|
96 |
+
},
|
97 |
+
"default_value": "$",
|
98 |
+
"placeholder": "$",
|
99 |
+
"prepend": "",
|
100 |
+
"append": "",
|
101 |
+
"maxlength": ""
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"key": "field_5cbdd21c5fd87",
|
105 |
+
"label": "Price",
|
106 |
+
"name": "acfb_pricingbox_price",
|
107 |
+
"type": "number",
|
108 |
+
"instructions": "",
|
109 |
+
"required": 0,
|
110 |
+
"conditional_logic": 0,
|
111 |
+
"wrapper": {
|
112 |
+
"width": "",
|
113 |
+
"class": "",
|
114 |
+
"id": ""
|
115 |
+
},
|
116 |
+
"default_value": 99,
|
117 |
+
"placeholder": ".99",
|
118 |
+
"prepend": "",
|
119 |
+
"append": "",
|
120 |
+
"min": "",
|
121 |
+
"max": "",
|
122 |
+
"step": ""
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"key": "field_5cbddc552af74",
|
126 |
+
"label": "Price Suffix",
|
127 |
+
"name": "acfb_pricingbox_price_suffix",
|
128 |
+
"type": "text",
|
129 |
+
"instructions": "",
|
130 |
+
"required": 0,
|
131 |
+
"conditional_logic": 0,
|
132 |
+
"wrapper": {
|
133 |
+
"width": "",
|
134 |
+
"class": "",
|
135 |
+
"id": ""
|
136 |
+
},
|
137 |
+
"default_value": ".99",
|
138 |
+
"placeholder": ".99",
|
139 |
+
"prepend": "",
|
140 |
+
"append": "",
|
141 |
+
"maxlength": ""
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"key": "field_5cbee0f352a41",
|
145 |
+
"label": "Sub Text",
|
146 |
+
"name": "acfb_pricingbox_sub_text",
|
147 |
+
"type": "text",
|
148 |
+
"instructions": "",
|
149 |
+
"required": 0,
|
150 |
+
"conditional_logic": 0,
|
151 |
+
"wrapper": {
|
152 |
+
"width": "",
|
153 |
+
"class": "",
|
154 |
+
"id": ""
|
155 |
+
},
|
156 |
+
"default_value": "Sub Text Here",
|
157 |
+
"placeholder": "Sub Text Here",
|
158 |
+
"prepend": "",
|
159 |
+
"append": "",
|
160 |
+
"maxlength": ""
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"key": "field_5cbdd2275fd88",
|
164 |
+
"label": "Button Text",
|
165 |
+
"name": "acfb_pricingbox_button_text",
|
166 |
+
"type": "text",
|
167 |
+
"instructions": "",
|
168 |
+
"required": 0,
|
169 |
+
"conditional_logic": 0,
|
170 |
+
"wrapper": {
|
171 |
+
"width": "",
|
172 |
+
"class": "",
|
173 |
+
"id": ""
|
174 |
+
},
|
175 |
+
"default_value": "Get Now",
|
176 |
+
"placeholder": "Get Now",
|
177 |
+
"prepend": "",
|
178 |
+
"append": "",
|
179 |
+
"maxlength": ""
|
180 |
+
},
|
181 |
+
{
|
182 |
+
"key": "field_5cbdd2445fd89",
|
183 |
+
"label": "Button Url",
|
184 |
+
"name": "acfb_pricingbox_button_url",
|
185 |
+
"type": "link",
|
186 |
+
"instructions": "",
|
187 |
+
"required": 0,
|
188 |
+
"conditional_logic": 0,
|
189 |
+
"wrapper": {
|
190 |
+
"width": "",
|
191 |
+
"class": "",
|
192 |
+
"id": ""
|
193 |
+
},
|
194 |
+
"return_format": "url"
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"key": "field_5cbdd25b5fd8a",
|
198 |
+
"label": "Description",
|
199 |
+
"name": "acfb_pricingbox_description",
|
200 |
+
"type": "textarea",
|
201 |
+
"instructions": "",
|
202 |
+
"required": 0,
|
203 |
+
"conditional_logic": 0,
|
204 |
+
"wrapper": {
|
205 |
+
"width": "",
|
206 |
+
"class": "",
|
207 |
+
"id": ""
|
208 |
+
},
|
209 |
+
"default_value": "Description goes here...",
|
210 |
+
"placeholder": "Description goes here...",
|
211 |
+
"maxlength": "",
|
212 |
+
"rows": "",
|
213 |
+
"new_lines": ""
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"key": "field_5cc840de667b6",
|
217 |
+
"label": "Style",
|
218 |
+
"name": "",
|
219 |
+
"type": "tab",
|
220 |
+
"instructions": "",
|
221 |
+
"required": 0,
|
222 |
+
"conditional_logic": 0,
|
223 |
+
"wrapper": {
|
224 |
+
"width": "",
|
225 |
+
"class": "",
|
226 |
+
"id": ""
|
227 |
+
},
|
228 |
+
"placement": "top",
|
229 |
+
"endpoint": 0
|
230 |
+
},
|
231 |
+
{
|
232 |
+
"key": "field_5cbedec77e229",
|
233 |
+
"label": "Background Color",
|
234 |
+
"name": "acfb_pricingbox_background_color",
|
235 |
+
"type": "color_picker",
|
236 |
+
"instructions": "",
|
237 |
+
"required": 0,
|
238 |
+
"conditional_logic": 0,
|
239 |
+
"wrapper": {
|
240 |
+
"width": "",
|
241 |
+
"class": "",
|
242 |
+
"id": ""
|
243 |
+
},
|
244 |
+
"default_value": "#f3f4f5"
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"key": "field_5cbedef97e22a",
|
248 |
+
"label": "Image Size",
|
249 |
+
"name": "acfb_pricingbox_image_size",
|
250 |
+
"type": "range",
|
251 |
+
"instructions": "",
|
252 |
+
"required": 0,
|
253 |
+
"conditional_logic": 0,
|
254 |
+
"wrapper": {
|
255 |
+
"width": "",
|
256 |
+
"class": "",
|
257 |
+
"id": ""
|
258 |
+
},
|
259 |
+
"default_value": 30,
|
260 |
+
"min": "",
|
261 |
+
"max": "",
|
262 |
+
"step": "",
|
263 |
+
"prepend": "",
|
264 |
+
"append": "%"
|
265 |
+
},
|
266 |
+
{
|
267 |
+
"key": "field_5cbedf427e22b",
|
268 |
+
"label": "Title Color",
|
269 |
+
"name": "acfb_pricingbox_title_color",
|
270 |
+
"type": "color_picker",
|
271 |
+
"instructions": "",
|
272 |
+
"required": 0,
|
273 |
+
"conditional_logic": 0,
|
274 |
+
"wrapper": {
|
275 |
+
"width": "",
|
276 |
+
"class": "",
|
277 |
+
"id": ""
|
278 |
+
},
|
279 |
+
"default_value": "#191e23"
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"key": "field_5cbedf607e22c",
|
283 |
+
"label": "Title Size",
|
284 |
+
"name": "acfb_pricingbox_title_size",
|
285 |
+
"type": "range",
|
286 |
+
"instructions": "",
|
287 |
+
"required": 0,
|
288 |
+
"conditional_logic": 0,
|
289 |
+
"wrapper": {
|
290 |
+
"width": "",
|
291 |
+
"class": "",
|
292 |
+
"id": ""
|
293 |
+
},
|
294 |
+
"default_value": 32,
|
295 |
+
"min": "",
|
296 |
+
"max": 200,
|
297 |
+
"step": "",
|
298 |
+
"prepend": "",
|
299 |
+
"append": "px"
|
300 |
+
},
|
301 |
+
{
|
302 |
+
"key": "field_5cbedf8d7e22d",
|
303 |
+
"label": "Prefix Color",
|
304 |
+
"name": "acfb_pricingbox_prefix_color",
|
305 |
+
"type": "color_picker",
|
306 |
+
"instructions": "",
|
307 |
+
"required": 0,
|
308 |
+
"conditional_logic": 0,
|
309 |
+
"wrapper": {
|
310 |
+
"width": "",
|
311 |
+
"class": "",
|
312 |
+
"id": ""
|
313 |
+
},
|
314 |
+
"default_value": "#191e23"
|
315 |
+
},
|
316 |
+
{
|
317 |
+
"key": "field_5cbedfc07e22e",
|
318 |
+
"label": "Prefix Size",
|
319 |
+
"name": "acfb_pricingbox_prefix_size",
|
320 |
+
"type": "range",
|
321 |
+
"instructions": "",
|
322 |
+
"required": 0,
|
323 |
+
"conditional_logic": 0,
|
324 |
+
"wrapper": {
|
325 |
+
"width": "",
|
326 |
+
"class": "",
|
327 |
+
"id": ""
|
328 |
+
},
|
329 |
+
"default_value": 22,
|
330 |
+
"min": "",
|
331 |
+
"max": "",
|
332 |
+
"step": "",
|
333 |
+
"prepend": "",
|
334 |
+
"append": "px"
|
335 |
+
},
|
336 |
+
{
|
337 |
+
"key": "field_5cbee0017e22f",
|
338 |
+
"label": "Price Color",
|
339 |
+
"name": "acfb_pricingbox_price_color",
|
340 |
+
"type": "color_picker",
|
341 |
+
"instructions": "",
|
342 |
+
"required": 0,
|
343 |
+
"conditional_logic": 0,
|
344 |
+
"wrapper": {
|
345 |
+
"width": "",
|
346 |
+
"class": "",
|
347 |
+
"id": ""
|
348 |
+
},
|
349 |
+
"default_value": "#191e23"
|
350 |
+
},
|
351 |
+
{
|
352 |
+
"key": "field_5cbee0227e230",
|
353 |
+
"label": "Price Size",
|
354 |
+
"name": "acfb_pricingbox_price_size",
|
355 |
+
"type": "range",
|
356 |
+
"instructions": "",
|
357 |
+
"required": 0,
|
358 |
+
"conditional_logic": 0,
|
359 |
+
"wrapper": {
|
360 |
+
"width": "",
|
361 |
+
"class": "",
|
362 |
+
"id": ""
|
363 |
+
},
|
364 |
+
"default_value": 65,
|
365 |
+
"min": "",
|
366 |
+
"max": 200,
|
367 |
+
"step": "",
|
368 |
+
"prepend": "",
|
369 |
+
"append": "px"
|
370 |
+
},
|
371 |
+
{
|
372 |
+
"key": "field_5cbee05a7e231",
|
373 |
+
"label": "Suffix Color",
|
374 |
+
"name": "acfb_pricingbox_suffix_color",
|
375 |
+
"type": "color_picker",
|
376 |
+
"instructions": "",
|
377 |
+
"required": 0,
|
378 |
+
"conditional_logic": 0,
|
379 |
+
"wrapper": {
|
380 |
+
"width": "",
|
381 |
+
"class": "",
|
382 |
+
"id": ""
|
383 |
+
},
|
384 |
+
"default_value": "#191e23"
|
385 |
+
},
|
386 |
+
{
|
387 |
+
"key": "field_5cbee06f7e232",
|
388 |
+
"label": "Suffix Size",
|
389 |
+
"name": "acfb_pricingbox_suffix_size",
|
390 |
+
"type": "range",
|
391 |
+
"instructions": "",
|
392 |
+
"required": 0,
|
393 |
+
"conditional_logic": 0,
|
394 |
+
"wrapper": {
|
395 |
+
"width": "",
|
396 |
+
"class": "",
|
397 |
+
"id": ""
|
398 |
+
},
|
399 |
+
"default_value": 28,
|
400 |
+
"min": "",
|
401 |
+
"max": "",
|
402 |
+
"step": "",
|
403 |
+
"prepend": "",
|
404 |
+
"append": "px"
|
405 |
+
},
|
406 |
+
{
|
407 |
+
"key": "field_5cbee14952a42",
|
408 |
+
"label": "Sub Text Color",
|
409 |
+
"name": "acfb_pricingbox_subtext_color",
|
410 |
+
"type": "color_picker",
|
411 |
+
"instructions": "",
|
412 |
+
"required": 0,
|
413 |
+
"conditional_logic": 0,
|
414 |
+
"wrapper": {
|
415 |
+
"width": "",
|
416 |
+
"class": "",
|
417 |
+
"id": ""
|
418 |
+
},
|
419 |
+
"default_value": "rgba(25, 30, 35, 0.3)"
|
420 |
+
},
|
421 |
+
{
|
422 |
+
"key": "field_5cbee16d52a43",
|
423 |
+
"label": "Sub Text Size",
|
424 |
+
"name": "acfb_pricingbox_subtext_size",
|
425 |
+
"type": "range",
|
426 |
+
"instructions": "",
|
427 |
+
"required": 0,
|
428 |
+
"conditional_logic": 0,
|
429 |
+
"wrapper": {
|
430 |
+
"width": "",
|
431 |
+
"class": "",
|
432 |
+
"id": ""
|
433 |
+
},
|
434 |
+
"default_value": 14,
|
435 |
+
"min": "",
|
436 |
+
"max": "",
|
437 |
+
"step": "",
|
438 |
+
"prepend": "",
|
439 |
+
"append": "px"
|
440 |
+
},
|
441 |
+
{
|
442 |
+
"key": "field_5cbee1a752a44",
|
443 |
+
"label": "Button Background Color",
|
444 |
+
"name": "acfb_pricingbox_button_background_color",
|
445 |
+
"type": "color_picker",
|
446 |
+
"instructions": "",
|
447 |
+
"required": 0,
|
448 |
+
"conditional_logic": 0,
|
449 |
+
"wrapper": {
|
450 |
+
"width": "",
|
451 |
+
"class": "",
|
452 |
+
"id": ""
|
453 |
+
},
|
454 |
+
"default_value": "#e0e0e0"
|
455 |
+
},
|
456 |
+
{
|
457 |
+
"key": "field_5cbee26552a47",
|
458 |
+
"label": "Button Text Color",
|
459 |
+
"name": "acfb_pricingbox_button_text_color",
|
460 |
+
"type": "color_picker",
|
461 |
+
"instructions": "",
|
462 |
+
"required": 0,
|
463 |
+
"conditional_logic": 0,
|
464 |
+
"wrapper": {
|
465 |
+
"width": "",
|
466 |
+
"class": "",
|
467 |
+
"id": ""
|
468 |
+
},
|
469 |
+
"default_value": "#191e23"
|
470 |
+
},
|
471 |
+
{
|
472 |
+
"key": "field_5cbee2bb52a49",
|
473 |
+
"label": "Button Background Hover Color",
|
474 |
+
"name": "acfb_pricingbox_button_background_hover_color",
|
475 |
+
"type": "color_picker",
|
476 |
+
"instructions": "",
|
477 |
+
"required": 0,
|
478 |
+
"conditional_logic": 0,
|
479 |
+
"wrapper": {
|
480 |
+
"width": "",
|
481 |
+
"class": "",
|
482 |
+
"id": ""
|
483 |
+
},
|
484 |
+
"default_value": "#e0e0e0"
|
485 |
+
},
|
486 |
+
{
|
487 |
+
"key": "field_5cbee28e52a48",
|
488 |
+
"label": "Button Text Hover Color",
|
489 |
+
"name": "acfb_pricingbox_button_text_hover_color",
|
490 |
+
"type": "color_picker",
|
491 |
+
"instructions": "",
|
492 |
+
"required": 0,
|
493 |
+
"conditional_logic": 0,
|
494 |
+
"wrapper": {
|
495 |
+
"width": "",
|
496 |
+
"class": "",
|
497 |
+
"id": ""
|
498 |
+
},
|
499 |
+
"default_value": "#191e23"
|
500 |
+
},
|
501 |
+
{
|
502 |
+
"key": "field_5cbee1e452a45",
|
503 |
+
"label": "Button Size",
|
504 |
+
"name": "acfb_pricingbox_button_size",
|
505 |
+
"type": "range",
|
506 |
+
"instructions": "",
|
507 |
+
"required": 0,
|
508 |
+
"conditional_logic": 0,
|
509 |
+
"wrapper": {
|
510 |
+
"width": "",
|
511 |
+
"class": "",
|
512 |
+
"id": ""
|
513 |
+
},
|
514 |
+
"default_value": 19,
|
515 |
+
"min": "",
|
516 |
+
"max": "",
|
517 |
+
"step": "",
|
518 |
+
"prepend": "",
|
519 |
+
"append": "px"
|
520 |
+
},
|
521 |
+
{
|
522 |
+
"key": "field_5cbee2f852a4a",
|
523 |
+
"label": "Description Color",
|
524 |
+
"name": "acfb_pricingbox_description_color",
|
525 |
+
"type": "color_picker",
|
526 |
+
"instructions": "",
|
527 |
+
"required": 0,
|
528 |
+
"conditional_logic": 0,
|
529 |
+
"wrapper": {
|
530 |
+
"width": "",
|
531 |
+
"class": "",
|
532 |
+
"id": ""
|
533 |
+
},
|
534 |
+
"default_value": "#191e23"
|
535 |
+
},
|
536 |
+
{
|
537 |
+
"key": "field_5cbee31552a4b",
|
538 |
+
"label": "Description Size",
|
539 |
+
"name": "acfb_pricingbox_description_size",
|
540 |
+
"type": "range",
|
541 |
+
"instructions": "",
|
542 |
+
"required": 0,
|
543 |
+
"conditional_logic": 0,
|
544 |
+
"wrapper": {
|
545 |
+
"width": "",
|
546 |
+
"class": "",
|
547 |
+
"id": ""
|
548 |
+
},
|
549 |
+
"default_value": 18,
|
550 |
+
"min": "",
|
551 |
+
"max": "",
|
552 |
+
"step": "",
|
553 |
+
"prepend": "",
|
554 |
+
"append": "px"
|
555 |
+
}
|
556 |
+
],
|
557 |
+
"location": [
|
558 |
+
[
|
559 |
+
{
|
560 |
+
"param": "block",
|
561 |
+
"operator": "==",
|
562 |
+
"value": "acf\/acfb-pricingbox"
|
563 |
+
}
|
564 |
+
]
|
565 |
+
],
|
566 |
+
"menu_order": 0,
|
567 |
+
"position": "normal",
|
568 |
+
"style": "default",
|
569 |
+
"label_placement": "top",
|
570 |
+
"instruction_placement": "label",
|
571 |
+
"hide_on_screen": "",
|
572 |
+
"active": 1,
|
573 |
+
"description": "",
|
574 |
+
"modified": 1556892198
|
575 |
+
}
|
acf-json/group_5cc04e691b1a8.json
ADDED
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5cc04e691b1a8",
|
3 |
+
"title": "Star Rating",
|
4 |
+
"private" : true,
|
5 |
+
"fields": [
|
6 |
+
{
|
7 |
+
"key": "field_5cc8304dcc37e",
|
8 |
+
"label": "Content",
|
9 |
+
"name": "",
|
10 |
+
"type": "tab",
|
11 |
+
"instructions": "",
|
12 |
+
"required": 0,
|
13 |
+
"conditional_logic": 0,
|
14 |
+
"wrapper": {
|
15 |
+
"width": "",
|
16 |
+
"class": "",
|
17 |
+
"id": ""
|
18 |
+
},
|
19 |
+
"placement": "top",
|
20 |
+
"endpoint": 0
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"key": "field_5cc31aeedf5b7",
|
24 |
+
"label": "Before Text",
|
25 |
+
"name": "acfb_rating_before_text",
|
26 |
+
"type": "text",
|
27 |
+
"instructions": "",
|
28 |
+
"required": 0,
|
29 |
+
"conditional_logic": 0,
|
30 |
+
"wrapper": {
|
31 |
+
"width": "",
|
32 |
+
"class": "",
|
33 |
+
"id": ""
|
34 |
+
},
|
35 |
+
"default_value": "Some Text",
|
36 |
+
"placeholder": "Some Text",
|
37 |
+
"prepend": "",
|
38 |
+
"append": "",
|
39 |
+
"maxlength": ""
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"key": "field_5cc0811d81f77",
|
43 |
+
"label": "Rating",
|
44 |
+
"name": "acfb_rating",
|
45 |
+
"type": "range",
|
46 |
+
"instructions": "",
|
47 |
+
"required": 0,
|
48 |
+
"conditional_logic": 0,
|
49 |
+
"wrapper": {
|
50 |
+
"width": "",
|
51 |
+
"class": "",
|
52 |
+
"id": ""
|
53 |
+
},
|
54 |
+
"default_value": 3,
|
55 |
+
"min": 0,
|
56 |
+
"max": 5,
|
57 |
+
"step": "",
|
58 |
+
"prepend": "",
|
59 |
+
"append": ""
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"key": "field_5cc83066cc37f",
|
63 |
+
"label": "Style",
|
64 |
+
"name": "",
|
65 |
+
"type": "tab",
|
66 |
+
"instructions": "",
|
67 |
+
"required": 0,
|
68 |
+
"conditional_logic": 0,
|
69 |
+
"wrapper": {
|
70 |
+
"width": "",
|
71 |
+
"class": "",
|
72 |
+
"id": ""
|
73 |
+
},
|
74 |
+
"placement": "top",
|
75 |
+
"endpoint": 0
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"key": "field_5cc3207d3a214",
|
79 |
+
"label": "Text Color",
|
80 |
+
"name": "acfb_rating_before_text_color",
|
81 |
+
"type": "color_picker",
|
82 |
+
"instructions": "",
|
83 |
+
"required": 0,
|
84 |
+
"conditional_logic": 0,
|
85 |
+
"wrapper": {
|
86 |
+
"width": "",
|
87 |
+
"class": "",
|
88 |
+
"id": ""
|
89 |
+
},
|
90 |
+
"default_value": "#191e23"
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"key": "field_5cc3203d3a213",
|
94 |
+
"label": "Text Size",
|
95 |
+
"name": "acfb_rating_before_text_size",
|
96 |
+
"type": "range",
|
97 |
+
"instructions": "",
|
98 |
+
"required": 0,
|
99 |
+
"conditional_logic": 0,
|
100 |
+
"wrapper": {
|
101 |
+
"width": "",
|
102 |
+
"class": "",
|
103 |
+
"id": ""
|
104 |
+
},
|
105 |
+
"default_value": 18,
|
106 |
+
"min": "",
|
107 |
+
"max": "",
|
108 |
+
"step": "",
|
109 |
+
"prepend": "",
|
110 |
+
"append": "px"
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"key": "field_5cc3227d434b2",
|
114 |
+
"label": "Text Gap",
|
115 |
+
"name": "acfb_rating_before_text_gap",
|
116 |
+
"type": "range",
|
117 |
+
"instructions": "",
|
118 |
+
"required": 0,
|
119 |
+
"conditional_logic": 0,
|
120 |
+
"wrapper": {
|
121 |
+
"width": "",
|
122 |
+
"class": "",
|
123 |
+
"id": ""
|
124 |
+
},
|
125 |
+
"default_value": 5,
|
126 |
+
"min": "",
|
127 |
+
"max": 40,
|
128 |
+
"step": "",
|
129 |
+
"prepend": "",
|
130 |
+
"append": "px"
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"key": "field_5cc313b63cf21",
|
134 |
+
"label": "Marked Star Color",
|
135 |
+
"name": "acfb_marked_star_color",
|
136 |
+
"type": "color_picker",
|
137 |
+
"instructions": "",
|
138 |
+
"required": 0,
|
139 |
+
"conditional_logic": 0,
|
140 |
+
"wrapper": {
|
141 |
+
"width": "",
|
142 |
+
"class": "",
|
143 |
+
"id": ""
|
144 |
+
},
|
145 |
+
"default_value": "#FFD700"
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"key": "field_5cc313e83cf22",
|
149 |
+
"label": "Unmarked Star Color",
|
150 |
+
"name": "acfb_unmarked_star_color",
|
151 |
+
"type": "color_picker",
|
152 |
+
"instructions": "",
|
153 |
+
"required": 0,
|
154 |
+
"conditional_logic": 0,
|
155 |
+
"wrapper": {
|
156 |
+
"width": "",
|
157 |
+
"class": "",
|
158 |
+
"id": ""
|
159 |
+
},
|
160 |
+
"default_value": "#f3f4f5"
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"key": "field_5cc312a89b1c0",
|
164 |
+
"label": "Star Icon Size",
|
165 |
+
"name": "acfb_star_icon_size",
|
166 |
+
"type": "range",
|
167 |
+
"instructions": "",
|
168 |
+
"required": 0,
|
169 |
+
"conditional_logic": 0,
|
170 |
+
"wrapper": {
|
171 |
+
"width": "",
|
172 |
+
"class": "",
|
173 |
+
"id": ""
|
174 |
+
},
|
175 |
+
"default_value": 20,
|
176 |
+
"min": "",
|
177 |
+
"max": "",
|
178 |
+
"step": "",
|
179 |
+
"prepend": "",
|
180 |
+
"append": "px"
|
181 |
+
}
|
182 |
+
],
|
183 |
+
"location": [
|
184 |
+
[
|
185 |
+
{
|
186 |
+
"param": "block",
|
187 |
+
"operator": "==",
|
188 |
+
"value": "acf\/acfb-starrating"
|
189 |
+
}
|
190 |
+
]
|
191 |
+
],
|
192 |
+
"menu_order": 0,
|
193 |
+
"position": "normal",
|
194 |
+
"style": "default",
|
195 |
+
"label_placement": "top",
|
196 |
+
"instruction_placement": "label",
|
197 |
+
"hide_on_screen": "",
|
198 |
+
"active": 1,
|
199 |
+
"description": "",
|
200 |
+
"modified": 1556892185
|
201 |
+
}
|
acf-json/group_5cc6b8e86e751.json
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5cc6b8e86e751",
|
3 |
+
"title": "Progress Bar",
|
4 |
+
"private" : true,
|
5 |
+
"fields": [
|
6 |
+
{
|
7 |
+
"key": "field_5cc835ec452d9",
|
8 |
+
"label": "Content",
|
9 |
+
"name": "",
|
10 |
+
"type": "tab",
|
11 |
+
"instructions": "",
|
12 |
+
"required": 0,
|
13 |
+
"conditional_logic": 0,
|
14 |
+
"wrapper": {
|
15 |
+
"width": "",
|
16 |
+
"class": "",
|
17 |
+
"id": ""
|
18 |
+
},
|
19 |
+
"placement": "top",
|
20 |
+
"endpoint": 0
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"key": "field_5cc6bdabf9129",
|
24 |
+
"label": "Title",
|
25 |
+
"name": "acfb_progressbar_title",
|
26 |
+
"type": "text",
|
27 |
+
"instructions": "",
|
28 |
+
"required": 0,
|
29 |
+
"conditional_logic": 0,
|
30 |
+
"wrapper": {
|
31 |
+
"width": "",
|
32 |
+
"class": "",
|
33 |
+
"id": ""
|
34 |
+
},
|
35 |
+
"default_value": "Title Here",
|
36 |
+
"placeholder": "Title Here",
|
37 |
+
"prepend": "",
|
38 |
+
"append": "",
|
39 |
+
"maxlength": ""
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"key": "field_5cc6bde9f912a",
|
43 |
+
"label": "Percentage",
|
44 |
+
"name": "acfb_progressbar_percentage",
|
45 |
+
"type": "range",
|
46 |
+
"instructions": "",
|
47 |
+
"required": 0,
|
48 |
+
"conditional_logic": 0,
|
49 |
+
"wrapper": {
|
50 |
+
"width": "",
|
51 |
+
"class": "",
|
52 |
+
"id": ""
|
53 |
+
},
|
54 |
+
"default_value": 50,
|
55 |
+
"min": "",
|
56 |
+
"max": "",
|
57 |
+
"step": "",
|
58 |
+
"prepend": "",
|
59 |
+
"append": "%"
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"key": "field_5cc6be0df912b",
|
63 |
+
"label": "Display Percentage",
|
64 |
+
"name": "acfb_progressbar_display_percentage",
|
65 |
+
"type": "true_false",
|
66 |
+
"instructions": "",
|
67 |
+
"required": 0,
|
68 |
+
"conditional_logic": 0,
|
69 |
+
"wrapper": {
|
70 |
+
"width": "",
|
71 |
+
"class": "",
|
72 |
+
"id": ""
|
73 |
+
},
|
74 |
+
"message": "Yes \/ No",
|
75 |
+
"default_value": 1,
|
76 |
+
"ui": 0,
|
77 |
+
"ui_on_text": "",
|
78 |
+
"ui_off_text": ""
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"key": "field_5cc6bee498c0c",
|
82 |
+
"label": "Inner Text",
|
83 |
+
"name": "acfb_progressbar_inner_text",
|
84 |
+
"type": "text",
|
85 |
+
"instructions": "",
|
86 |
+
"required": 0,
|
87 |
+
"conditional_logic": 0,
|
88 |
+
"wrapper": {
|
89 |
+
"width": "",
|
90 |
+
"class": "",
|
91 |
+
"id": ""
|
92 |
+
},
|
93 |
+
"default_value": "Web Designer",
|
94 |
+
"placeholder": "Web Designer",
|
95 |
+
"prepend": "",
|
96 |
+
"append": "",
|
97 |
+
"maxlength": ""
|
98 |
+
},
|
99 |
+
{
|
100 |
+
"key": "field_5cc838e1452da",
|
101 |
+
"label": "Style",
|
102 |
+
"name": "",
|
103 |
+
"type": "tab",
|
104 |
+
"instructions": "",
|
105 |
+
"required": 0,
|
106 |
+
"conditional_logic": 0,
|
107 |
+
"wrapper": {
|
108 |
+
"width": "",
|
109 |
+
"class": "",
|
110 |
+
"id": ""
|
111 |
+
},
|
112 |
+
"placement": "top",
|
113 |
+
"endpoint": 0
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"key": "field_5cc6c8983d17c",
|
117 |
+
"label": "Bar Color",
|
118 |
+
"name": "acfb_progressbar_bg_color",
|
119 |
+
"type": "color_picker",
|
120 |
+
"instructions": "",
|
121 |
+
"required": 0,
|
122 |
+
"conditional_logic": 0,
|
123 |
+
"wrapper": {
|
124 |
+
"width": "",
|
125 |
+
"class": "",
|
126 |
+
"id": ""
|
127 |
+
},
|
128 |
+
"default_value": "#6ec1e4"
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"key": "field_5cc6c8f93d17d",
|
132 |
+
"label": "Background Color",
|
133 |
+
"name": "acfb_progressbar_unactive_bg_color",
|
134 |
+
"type": "color_picker",
|
135 |
+
"instructions": "",
|
136 |
+
"required": 0,
|
137 |
+
"conditional_logic": 0,
|
138 |
+
"wrapper": {
|
139 |
+
"width": "",
|
140 |
+
"class": "",
|
141 |
+
"id": ""
|
142 |
+
},
|
143 |
+
"default_value": "#f3f4f5"
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"key": "field_5cc6c94e3d17e",
|
147 |
+
"label": "Text Color",
|
148 |
+
"name": "acfb_progressbar_text_color",
|
149 |
+
"type": "color_picker",
|
150 |
+
"instructions": "",
|
151 |
+
"required": 0,
|
152 |
+
"conditional_logic": 0,
|
153 |
+
"wrapper": {
|
154 |
+
"width": "",
|
155 |
+
"class": "",
|
156 |
+
"id": ""
|
157 |
+
},
|
158 |
+
"default_value": "#FFFFFF"
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"key": "field_5cc6c98f3d17f",
|
162 |
+
"label": "Text Size",
|
163 |
+
"name": "acfb_progressbar_text_size",
|
164 |
+
"type": "range",
|
165 |
+
"instructions": "",
|
166 |
+
"required": 0,
|
167 |
+
"conditional_logic": 0,
|
168 |
+
"wrapper": {
|
169 |
+
"width": "",
|
170 |
+
"class": "",
|
171 |
+
"id": ""
|
172 |
+
},
|
173 |
+
"default_value": 14,
|
174 |
+
"min": "",
|
175 |
+
"max": "",
|
176 |
+
"step": "",
|
177 |
+
"prepend": "",
|
178 |
+
"append": "px"
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"key": "field_5cc6c9ba3d180",
|
182 |
+
"label": "Title Color",
|
183 |
+
"name": "acfb_progressbar_title_color",
|
184 |
+
"type": "color_picker",
|
185 |
+
"instructions": "",
|
186 |
+
"required": 0,
|
187 |
+
"conditional_logic": 0,
|
188 |
+
"wrapper": {
|
189 |
+
"width": "",
|
190 |
+
"class": "",
|
191 |
+
"id": ""
|
192 |
+
},
|
193 |
+
"default_value": "#191e23"
|
194 |
+
},
|
195 |
+
{
|
196 |
+
"key": "field_5cc6c9d83d181",
|
197 |
+
"label": "Title Size",
|
198 |
+
"name": "acfb_progressbar_title_size",
|
199 |
+
"type": "range",
|
200 |
+
"instructions": "",
|
201 |
+
"required": 0,
|
202 |
+
"conditional_logic": 0,
|
203 |
+
"wrapper": {
|
204 |
+
"width": "",
|
205 |
+
"class": "",
|
206 |
+
"id": ""
|
207 |
+
},
|
208 |
+
"default_value": 16,
|
209 |
+
"min": "",
|
210 |
+
"max": "",
|
211 |
+
"step": "",
|
212 |
+
"prepend": "",
|
213 |
+
"append": "px"
|
214 |
+
}
|
215 |
+
],
|
216 |
+
"location": [
|
217 |
+
[
|
218 |
+
{
|
219 |
+
"param": "block",
|
220 |
+
"operator": "==",
|
221 |
+
"value": "acf\/acfb-progressbar"
|
222 |
+
}
|
223 |
+
]
|
224 |
+
],
|
225 |
+
"menu_order": 0,
|
226 |
+
"position": "normal",
|
227 |
+
"style": "default",
|
228 |
+
"label_placement": "top",
|
229 |
+
"instruction_placement": "label",
|
230 |
+
"hide_on_screen": "",
|
231 |
+
"active": 1,
|
232 |
+
"description": "",
|
233 |
+
"modified": 1556892197
|
234 |
+
}
|
acf-json/group_5cc6cf92e231a.json
ADDED
@@ -0,0 +1,205 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5cc6cf92e231a",
|
3 |
+
"title": "Counter Number",
|
4 |
+
"private" : true,
|
5 |
+
"fields": [
|
6 |
+
{
|
7 |
+
"key": "field_5cc855022aabc",
|
8 |
+
"label": "Content",
|
9 |
+
"name": "",
|
10 |
+
"type": "tab",
|
11 |
+
"instructions": "",
|
12 |
+
"required": 0,
|
13 |
+
"conditional_logic": 0,
|
14 |
+
"wrapper": {
|
15 |
+
"width": "",
|
16 |
+
"class": "",
|
17 |
+
"id": ""
|
18 |
+
},
|
19 |
+
"placement": "top",
|
20 |
+
"endpoint": 0
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"key": "field_5cc6d9bdf383d",
|
24 |
+
"label": "Number Prefix",
|
25 |
+
"name": "acfb_counter_number_prefix",
|
26 |
+
"type": "text",
|
27 |
+
"instructions": "",
|
28 |
+
"required": 0,
|
29 |
+
"conditional_logic": 0,
|
30 |
+
"wrapper": {
|
31 |
+
"width": "",
|
32 |
+
"class": "",
|
33 |
+
"id": ""
|
34 |
+
},
|
35 |
+
"default_value": "",
|
36 |
+
"placeholder": "",
|
37 |
+
"prepend": "",
|
38 |
+
"append": "",
|
39 |
+
"maxlength": ""
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"key": "field_5cc6d969f383c",
|
43 |
+
"label": "Number",
|
44 |
+
"name": "acfb_counter_number",
|
45 |
+
"type": "number",
|
46 |
+
"instructions": "",
|
47 |
+
"required": 0,
|
48 |
+
"conditional_logic": 0,
|
49 |
+
"wrapper": {
|
50 |
+
"width": "",
|
51 |
+
"class": "",
|
52 |
+
"id": ""
|
53 |
+
},
|
54 |
+
"default_value": 100,
|
55 |
+
"placeholder": "",
|
56 |
+
"prepend": "",
|
57 |
+
"append": "",
|
58 |
+
"min": "",
|
59 |
+
"max": "",
|
60 |
+
"step": ""
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"key": "field_5cc6d9d0f383e",
|
64 |
+
"label": "Number Suffix",
|
65 |
+
"name": "acfb_counter_number_suffix",
|
66 |
+
"type": "text",
|
67 |
+
"instructions": "",
|
68 |
+
"required": 0,
|
69 |
+
"conditional_logic": 0,
|
70 |
+
"wrapper": {
|
71 |
+
"width": "",
|
72 |
+
"class": "",
|
73 |
+
"id": ""
|
74 |
+
},
|
75 |
+
"default_value": "",
|
76 |
+
"placeholder": "",
|
77 |
+
"prepend": "",
|
78 |
+
"append": "",
|
79 |
+
"maxlength": ""
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"key": "field_5cc6d9f2f383f",
|
83 |
+
"label": "Title",
|
84 |
+
"name": "acfb_counter_number_title",
|
85 |
+
"type": "text",
|
86 |
+
"instructions": "",
|
87 |
+
"required": 0,
|
88 |
+
"conditional_logic": 0,
|
89 |
+
"wrapper": {
|
90 |
+
"width": "",
|
91 |
+
"class": "",
|
92 |
+
"id": ""
|
93 |
+
},
|
94 |
+
"default_value": "Title Here",
|
95 |
+
"placeholder": "Title Here",
|
96 |
+
"prepend": "",
|
97 |
+
"append": "",
|
98 |
+
"maxlength": ""
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"key": "field_5cc855162aabd",
|
102 |
+
"label": "Style",
|
103 |
+
"name": "",
|
104 |
+
"type": "tab",
|
105 |
+
"instructions": "",
|
106 |
+
"required": 0,
|
107 |
+
"conditional_logic": 0,
|
108 |
+
"wrapper": {
|
109 |
+
"width": "",
|
110 |
+
"class": "",
|
111 |
+
"id": ""
|
112 |
+
},
|
113 |
+
"placement": "top",
|
114 |
+
"endpoint": 0
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"key": "field_5cc6da54f3840",
|
118 |
+
"label": "Number Color",
|
119 |
+
"name": "acfb_counter_number_color",
|
120 |
+
"type": "color_picker",
|
121 |
+
"instructions": "",
|
122 |
+
"required": 0,
|
123 |
+
"conditional_logic": 0,
|
124 |
+
"wrapper": {
|
125 |
+
"width": "",
|
126 |
+
"class": "",
|
127 |
+
"id": ""
|
128 |
+
},
|
129 |
+
"default_value": "#191e23"
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"key": "field_5cc6da81f3841",
|
133 |
+
"label": "Number Size",
|
134 |
+
"name": "acfb_counter_number_size",
|
135 |
+
"type": "range",
|
136 |
+
"instructions": "",
|
137 |
+
"required": 0,
|
138 |
+
"conditional_logic": 0,
|
139 |
+
"wrapper": {
|
140 |
+
"width": "",
|
141 |
+
"class": "",
|
142 |
+
"id": ""
|
143 |
+
},
|
144 |
+
"default_value": 69,
|
145 |
+
"min": "",
|
146 |
+
"max": "",
|
147 |
+
"step": "",
|
148 |
+
"prepend": "",
|
149 |
+
"append": "px"
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"key": "field_5cc6dab2f3842",
|
153 |
+
"label": "Title Color",
|
154 |
+
"name": "acfb_counter_number_title_color",
|
155 |
+
"type": "color_picker",
|
156 |
+
"instructions": "",
|
157 |
+
"required": 0,
|
158 |
+
"conditional_logic": 0,
|
159 |
+
"wrapper": {
|
160 |
+
"width": "",
|
161 |
+
"class": "",
|
162 |
+
"id": ""
|
163 |
+
},
|
164 |
+
"default_value": "#191e23"
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"key": "field_5cc6dae0f3843",
|
168 |
+
"label": "Title Size",
|
169 |
+
"name": "acfb_counter_number_title_size",
|
170 |
+
"type": "range",
|
171 |
+
"instructions": "",
|
172 |
+
"required": 0,
|
173 |
+
"conditional_logic": 0,
|
174 |
+
"wrapper": {
|
175 |
+
"width": "",
|
176 |
+
"class": "",
|
177 |
+
"id": ""
|
178 |
+
},
|
179 |
+
"default_value": 19,
|
180 |
+
"min": "",
|
181 |
+
"max": "",
|
182 |
+
"step": "",
|
183 |
+
"prepend": "",
|
184 |
+
"append": "px"
|
185 |
+
}
|
186 |
+
],
|
187 |
+
"location": [
|
188 |
+
[
|
189 |
+
{
|
190 |
+
"param": "block",
|
191 |
+
"operator": "==",
|
192 |
+
"value": "acf\/acfb-counternumber"
|
193 |
+
}
|
194 |
+
]
|
195 |
+
],
|
196 |
+
"menu_order": 0,
|
197 |
+
"position": "normal",
|
198 |
+
"style": "default",
|
199 |
+
"label_placement": "top",
|
200 |
+
"instruction_placement": "label",
|
201 |
+
"hide_on_screen": "",
|
202 |
+
"active": 1,
|
203 |
+
"description": "",
|
204 |
+
"modified": 1556892230
|
205 |
+
}
|
acf-json/group_5cc6dfe67784b.json
ADDED
@@ -0,0 +1,332 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5cc6dfe67784b",
|
3 |
+
"title": "Price List",
|
4 |
+
"private" : true,
|
5 |
+
"fields": [
|
6 |
+
{
|
7 |
+
"key": "field_5cc849708d41e",
|
8 |
+
"label": "Content",
|
9 |
+
"name": "",
|
10 |
+
"type": "tab",
|
11 |
+
"instructions": "",
|
12 |
+
"required": 0,
|
13 |
+
"conditional_logic": 0,
|
14 |
+
"wrapper": {
|
15 |
+
"width": "",
|
16 |
+
"class": "",
|
17 |
+
"id": ""
|
18 |
+
},
|
19 |
+
"placement": "top",
|
20 |
+
"endpoint": 0
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"key": "field_5cc6fc92492de",
|
24 |
+
"label": "Image",
|
25 |
+
"name": "acfb_price_list_image",
|
26 |
+
"type": "image",
|
27 |
+
"instructions": "",
|
28 |
+
"required": 0,
|
29 |
+
"conditional_logic": 0,
|
30 |
+
"wrapper": {
|
31 |
+
"width": "",
|
32 |
+
"class": "",
|
33 |
+
"id": ""
|
34 |
+
},
|
35 |
+
"return_format": "url",
|
36 |
+
"preview_size": "medium",
|
37 |
+
"library": "all",
|
38 |
+
"min_width": "",
|
39 |
+
"min_height": "",
|
40 |
+
"min_size": "",
|
41 |
+
"max_width": "",
|
42 |
+
"max_height": "",
|
43 |
+
"max_size": "",
|
44 |
+
"mime_types": ""
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"key": "field_5cc6fd6ff9966",
|
48 |
+
"label": "Image Alt",
|
49 |
+
"name": "acfb_price_list_image_alt",
|
50 |
+
"type": "text",
|
51 |
+
"instructions": "",
|
52 |
+
"required": 0,
|
53 |
+
"conditional_logic": 0,
|
54 |
+
"wrapper": {
|
55 |
+
"width": "",
|
56 |
+
"class": "",
|
57 |
+
"id": ""
|
58 |
+
},
|
59 |
+
"default_value": "Alt Text",
|
60 |
+
"placeholder": "Alt Text",
|
61 |
+
"prepend": "",
|
62 |
+
"append": "",
|
63 |
+
"maxlength": ""
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"key": "field_5cc6fc32492dc",
|
67 |
+
"label": "Title",
|
68 |
+
"name": "acfb_price_list_title",
|
69 |
+
"type": "text",
|
70 |
+
"instructions": "",
|
71 |
+
"required": 0,
|
72 |
+
"conditional_logic": 0,
|
73 |
+
"wrapper": {
|
74 |
+
"width": "",
|
75 |
+
"class": "",
|
76 |
+
"id": ""
|
77 |
+
},
|
78 |
+
"default_value": "Item on the list",
|
79 |
+
"placeholder": "Item on the list",
|
80 |
+
"prepend": "",
|
81 |
+
"append": "",
|
82 |
+
"maxlength": ""
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"key": "field_5ccc4630098a1",
|
86 |
+
"label": "Price Prefix",
|
87 |
+
"name": "acfb_price_list_price_prefix",
|
88 |
+
"type": "text",
|
89 |
+
"instructions": "",
|
90 |
+
"required": 0,
|
91 |
+
"conditional_logic": 0,
|
92 |
+
"wrapper": {
|
93 |
+
"width": "",
|
94 |
+
"class": "",
|
95 |
+
"id": ""
|
96 |
+
},
|
97 |
+
"default_value": "$",
|
98 |
+
"placeholder": "$",
|
99 |
+
"prepend": "",
|
100 |
+
"append": "",
|
101 |
+
"maxlength": ""
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"key": "field_5cc6fbe2e8afe",
|
105 |
+
"label": "Price",
|
106 |
+
"name": "acfb_price_list_price",
|
107 |
+
"type": "number",
|
108 |
+
"instructions": "",
|
109 |
+
"required": 0,
|
110 |
+
"conditional_logic": 0,
|
111 |
+
"wrapper": {
|
112 |
+
"width": "",
|
113 |
+
"class": "",
|
114 |
+
"id": ""
|
115 |
+
},
|
116 |
+
"default_value": 10,
|
117 |
+
"placeholder": "",
|
118 |
+
"prepend": "",
|
119 |
+
"append": "",
|
120 |
+
"min": "",
|
121 |
+
"max": "",
|
122 |
+
"step": ""
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"key": "field_5cc6fc63492dd",
|
126 |
+
"label": "Description",
|
127 |
+
"name": "acfb_price_list_description",
|
128 |
+
"type": "textarea",
|
129 |
+
"instructions": "",
|
130 |
+
"required": 0,
|
131 |
+
"conditional_logic": 0,
|
132 |
+
"wrapper": {
|
133 |
+
"width": "",
|
134 |
+
"class": "",
|
135 |
+
"id": ""
|
136 |
+
},
|
137 |
+
"default_value": "I am item content. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
138 |
+
"placeholder": "I am item content. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
139 |
+
"maxlength": "",
|
140 |
+
"rows": "",
|
141 |
+
"new_lines": ""
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"key": "field_5cc6fcb7492df",
|
145 |
+
"label": "Link",
|
146 |
+
"name": "acfb_price_list_link",
|
147 |
+
"type": "text",
|
148 |
+
"instructions": "",
|
149 |
+
"required": 0,
|
150 |
+
"conditional_logic": 0,
|
151 |
+
"wrapper": {
|
152 |
+
"width": "",
|
153 |
+
"class": "",
|
154 |
+
"id": ""
|
155 |
+
},
|
156 |
+
"default_value": "#",
|
157 |
+
"placeholder": "#",
|
158 |
+
"prepend": "",
|
159 |
+
"append": "",
|
160 |
+
"maxlength": ""
|
161 |
+
},
|
162 |
+
{
|
163 |
+
"key": "field_5cc849a38d41f",
|
164 |
+
"label": "Style",
|
165 |
+
"name": "",
|
166 |
+
"type": "tab",
|
167 |
+
"instructions": "",
|
168 |
+
"required": 0,
|
169 |
+
"conditional_logic": 0,
|
170 |
+
"wrapper": {
|
171 |
+
"width": "",
|
172 |
+
"class": "",
|
173 |
+
"id": ""
|
174 |
+
},
|
175 |
+
"placement": "top",
|
176 |
+
"endpoint": 0
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"key": "field_5cc700e89b703",
|
180 |
+
"label": "Title & Price Color",
|
181 |
+
"name": "acfb_price_list_title_&_price_color",
|
182 |
+
"type": "color_picker",
|
183 |
+
"instructions": "",
|
184 |
+
"required": 0,
|
185 |
+
"conditional_logic": 0,
|
186 |
+
"wrapper": {
|
187 |
+
"width": "",
|
188 |
+
"class": "",
|
189 |
+
"id": ""
|
190 |
+
},
|
191 |
+
"default_value": "#191e23"
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"key": "field_5cc701239b704",
|
195 |
+
"label": "Title & Price Size",
|
196 |
+
"name": "acfb_price_list_title_&_price_size",
|
197 |
+
"type": "range",
|
198 |
+
"instructions": "",
|
199 |
+
"required": 0,
|
200 |
+
"conditional_logic": 0,
|
201 |
+
"wrapper": {
|
202 |
+
"width": "",
|
203 |
+
"class": "",
|
204 |
+
"id": ""
|
205 |
+
},
|
206 |
+
"default_value": 19,
|
207 |
+
"min": "",
|
208 |
+
"max": "",
|
209 |
+
"step": "",
|
210 |
+
"prepend": "",
|
211 |
+
"append": "px"
|
212 |
+
},
|
213 |
+
{
|
214 |
+
"key": "field_5cc7020b9b707",
|
215 |
+
"label": "Separator Styles",
|
216 |
+
"name": "acfb_price_list_separator_styles",
|
217 |
+
"type": "select",
|
218 |
+
"instructions": "",
|
219 |
+
"required": 0,
|
220 |
+
"conditional_logic": 0,
|
221 |
+
"wrapper": {
|
222 |
+
"width": "",
|
223 |
+
"class": "",
|
224 |
+
"id": ""
|
225 |
+
},
|
226 |
+
"choices": {
|
227 |
+
"Solid": "Solid",
|
228 |
+
"Dotted": "Dotted",
|
229 |
+
"Dashed": "Dashed",
|
230 |
+
"Double": "Double",
|
231 |
+
"None": "None"
|
232 |
+
},
|
233 |
+
"default_value": [
|
234 |
+
"Dotted"
|
235 |
+
],
|
236 |
+
"allow_null": 0,
|
237 |
+
"multiple": 0,
|
238 |
+
"ui": 0,
|
239 |
+
"return_format": "value",
|
240 |
+
"ajax": 0,
|
241 |
+
"placeholder": ""
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"key": "field_5cc7026a9b708",
|
245 |
+
"label": "Separator Size",
|
246 |
+
"name": "acfb_price_list_separator_size",
|
247 |
+
"type": "range",
|
248 |
+
"instructions": "",
|
249 |
+
"required": 0,
|
250 |
+
"conditional_logic": 0,
|
251 |
+
"wrapper": {
|
252 |
+
"width": "",
|
253 |
+
"class": "",
|
254 |
+
"id": ""
|
255 |
+
},
|
256 |
+
"default_value": 2,
|
257 |
+
"min": "",
|
258 |
+
"max": 10,
|
259 |
+
"step": "",
|
260 |
+
"prepend": "",
|
261 |
+
"append": "px"
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"key": "field_5cc7028b9b709",
|
265 |
+
"label": "Separator Color",
|
266 |
+
"name": "acfb_price_list_separator_color",
|
267 |
+
"type": "color_picker",
|
268 |
+
"instructions": "",
|
269 |
+
"required": 0,
|
270 |
+
"conditional_logic": 0,
|
271 |
+
"wrapper": {
|
272 |
+
"width": "",
|
273 |
+
"class": "",
|
274 |
+
"id": ""
|
275 |
+
},
|
276 |
+
"default_value": "#191e23"
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"key": "field_5cc7015b9b705",
|
280 |
+
"label": "Description Color",
|
281 |
+
"name": "acfb_price_list_description_color",
|
282 |
+
"type": "color_picker",
|
283 |
+
"instructions": "",
|
284 |
+
"required": 0,
|
285 |
+
"conditional_logic": 0,
|
286 |
+
"wrapper": {
|
287 |
+
"width": "",
|
288 |
+
"class": "",
|
289 |
+
"id": ""
|
290 |
+
},
|
291 |
+
"default_value": "#191e23"
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"key": "field_5cc7017a9b706",
|
295 |
+
"label": "Description Size",
|
296 |
+
"name": "acfb_price_list_description_size",
|
297 |
+
"type": "range",
|
298 |
+
"instructions": "",
|
299 |
+
"required": 0,
|
300 |
+
"conditional_logic": 0,
|
301 |
+
"wrapper": {
|
302 |
+
"width": "",
|
303 |
+
"class": "",
|
304 |
+
"id": ""
|
305 |
+
},
|
306 |
+
"default_value": 16,
|
307 |
+
"min": "",
|
308 |
+
"max": "",
|
309 |
+
"step": "",
|
310 |
+
"prepend": "",
|
311 |
+
"append": "px"
|
312 |
+
}
|
313 |
+
],
|
314 |
+
"location": [
|
315 |
+
[
|
316 |
+
{
|
317 |
+
"param": "block",
|
318 |
+
"operator": "==",
|
319 |
+
"value": "acf\/acfb-pricelist"
|
320 |
+
}
|
321 |
+
]
|
322 |
+
],
|
323 |
+
"menu_order": 0,
|
324 |
+
"position": "normal",
|
325 |
+
"style": "default",
|
326 |
+
"label_placement": "top",
|
327 |
+
"instruction_placement": "label",
|
328 |
+
"hide_on_screen": "",
|
329 |
+
"active": 1,
|
330 |
+
"description": "",
|
331 |
+
"modified": 1556892200
|
332 |
+
}
|
acf-json/group_5cc7092c01eb4.json
ADDED
@@ -0,0 +1,214 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5cc7092c01eb4",
|
3 |
+
"title": "Click To Tweet",
|
4 |
+
"private" : true,
|
5 |
+
"fields": [
|
6 |
+
{
|
7 |
+
"key": "field_5cc859c489bde",
|
8 |
+
"label": "Content",
|
9 |
+
"name": "",
|
10 |
+
"type": "tab",
|
11 |
+
"instructions": "",
|
12 |
+
"required": 0,
|
13 |
+
"conditional_logic": 0,
|
14 |
+
"wrapper": {
|
15 |
+
"width": "",
|
16 |
+
"class": "",
|
17 |
+
"id": ""
|
18 |
+
},
|
19 |
+
"placement": "top",
|
20 |
+
"endpoint": 0
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"key": "field_5cc70bff80772",
|
24 |
+
"label": "Twitter Handle",
|
25 |
+
"name": "acfb_click_to_tweet_handler",
|
26 |
+
"type": "text",
|
27 |
+
"instructions": "",
|
28 |
+
"required": 0,
|
29 |
+
"conditional_logic": 0,
|
30 |
+
"wrapper": {
|
31 |
+
"width": "",
|
32 |
+
"class": "",
|
33 |
+
"id": ""
|
34 |
+
},
|
35 |
+
"default_value": "acfwpblocks",
|
36 |
+
"placeholder": "acfwpblocks",
|
37 |
+
"prepend": "@",
|
38 |
+
"append": "",
|
39 |
+
"maxlength": ""
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"key": "field_5cc70bcb80771",
|
43 |
+
"label": "Content",
|
44 |
+
"name": "acfb_click_to_tweet_content",
|
45 |
+
"type": "textarea",
|
46 |
+
"instructions": "",
|
47 |
+
"required": 0,
|
48 |
+
"conditional_logic": 0,
|
49 |
+
"wrapper": {
|
50 |
+
"width": "",
|
51 |
+
"class": "",
|
52 |
+
"id": ""
|
53 |
+
},
|
54 |
+
"default_value": "#ACFBlocks is a collection of ready-to-use #Gutenberg Blocks for WordPress. Supercharge your Gutenberg editor with high quality beautiful WordPress blocks. Best of all it’s FREE.",
|
55 |
+
"placeholder": "",
|
56 |
+
"maxlength": "",
|
57 |
+
"rows": "",
|
58 |
+
"new_lines": ""
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"key": "field_5cc7104900845",
|
62 |
+
"label": "Button Text",
|
63 |
+
"name": "acfb_click_to_tweet_button_text",
|
64 |
+
"type": "text",
|
65 |
+
"instructions": "",
|
66 |
+
"required": 0,
|
67 |
+
"conditional_logic": 0,
|
68 |
+
"wrapper": {
|
69 |
+
"width": "",
|
70 |
+
"class": "",
|
71 |
+
"id": ""
|
72 |
+
},
|
73 |
+
"default_value": "Click to Tweet",
|
74 |
+
"placeholder": "Click to Tweet",
|
75 |
+
"prepend": "",
|
76 |
+
"append": "",
|
77 |
+
"maxlength": ""
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"key": "field_5cc859d789bdf",
|
81 |
+
"label": "Style",
|
82 |
+
"name": "",
|
83 |
+
"type": "tab",
|
84 |
+
"instructions": "",
|
85 |
+
"required": 0,
|
86 |
+
"conditional_logic": 0,
|
87 |
+
"wrapper": {
|
88 |
+
"width": "",
|
89 |
+
"class": "",
|
90 |
+
"id": ""
|
91 |
+
},
|
92 |
+
"placement": "top",
|
93 |
+
"endpoint": 0
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"key": "field_5cc70f3700841",
|
97 |
+
"label": "Background Color",
|
98 |
+
"name": "acfb_click_to_tweet_bg_color",
|
99 |
+
"type": "color_picker",
|
100 |
+
"instructions": "",
|
101 |
+
"required": 0,
|
102 |
+
"conditional_logic": 0,
|
103 |
+
"wrapper": {
|
104 |
+
"width": "",
|
105 |
+
"class": "",
|
106 |
+
"id": ""
|
107 |
+
},
|
108 |
+
"default_value": "#f3f4f5"
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"key": "field_5cc70f7c00842",
|
112 |
+
"label": "Text Color",
|
113 |
+
"name": "acfb_click_to_tweet_text_color",
|
114 |
+
"type": "color_picker",
|
115 |
+
"instructions": "",
|
116 |
+
"required": 0,
|
117 |
+
"conditional_logic": 0,
|
118 |
+
"wrapper": {
|
119 |
+
"width": "",
|
120 |
+
"class": "",
|
121 |
+
"id": ""
|
122 |
+
},
|
123 |
+
"default_value": "#191e23"
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"key": "field_5cc70fb000843",
|
127 |
+
"label": "Text Size",
|
128 |
+
"name": "acfb_click_to_tweet_text_size",
|
129 |
+
"type": "range",
|
130 |
+
"instructions": "",
|
131 |
+
"required": 0,
|
132 |
+
"conditional_logic": 0,
|
133 |
+
"wrapper": {
|
134 |
+
"width": "",
|
135 |
+
"class": "",
|
136 |
+
"id": ""
|
137 |
+
},
|
138 |
+
"default_value": 24,
|
139 |
+
"min": "",
|
140 |
+
"max": "",
|
141 |
+
"step": "",
|
142 |
+
"prepend": "",
|
143 |
+
"append": "px"
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"key": "field_5cc7101700844",
|
147 |
+
"label": "Button Color",
|
148 |
+
"name": "acfb_click_to_tweet_button_color",
|
149 |
+
"type": "color_picker",
|
150 |
+
"instructions": "",
|
151 |
+
"required": 0,
|
152 |
+
"conditional_logic": 0,
|
153 |
+
"wrapper": {
|
154 |
+
"width": "",
|
155 |
+
"class": "",
|
156 |
+
"id": ""
|
157 |
+
},
|
158 |
+
"default_value": "rgba(25, 30, 35, 0.6)"
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"key": "field_5cc711a7d4787",
|
162 |
+
"label": "Button Hover Color",
|
163 |
+
"name": "acfb_click_to_tweet_button_hover_color",
|
164 |
+
"type": "color_picker",
|
165 |
+
"instructions": "",
|
166 |
+
"required": 0,
|
167 |
+
"conditional_logic": 0,
|
168 |
+
"wrapper": {
|
169 |
+
"width": "",
|
170 |
+
"class": "",
|
171 |
+
"id": ""
|
172 |
+
},
|
173 |
+
"default_value": "#191e23"
|
174 |
+
},
|
175 |
+
{
|
176 |
+
"key": "field_5cc7108600846",
|
177 |
+
"label": "Button Size",
|
178 |
+
"name": "acfb_click_to_tweet_button_size",
|
179 |
+
"type": "range",
|
180 |
+
"instructions": "",
|
181 |
+
"required": 0,
|
182 |
+
"conditional_logic": 0,
|
183 |
+
"wrapper": {
|
184 |
+
"width": "",
|
185 |
+
"class": "",
|
186 |
+
"id": ""
|
187 |
+
},
|
188 |
+
"default_value": 12,
|
189 |
+
"min": "",
|
190 |
+
"max": "",
|
191 |
+
"step": "",
|
192 |
+
"prepend": "",
|
193 |
+
"append": "px"
|
194 |
+
}
|
195 |
+
],
|
196 |
+
"location": [
|
197 |
+
[
|
198 |
+
{
|
199 |
+
"param": "block",
|
200 |
+
"operator": "==",
|
201 |
+
"value": "acf\/acfb-clicktotweet"
|
202 |
+
}
|
203 |
+
]
|
204 |
+
],
|
205 |
+
"menu_order": 0,
|
206 |
+
"position": "normal",
|
207 |
+
"style": "default",
|
208 |
+
"label_placement": "top",
|
209 |
+
"instruction_placement": "label",
|
210 |
+
"hide_on_screen": "",
|
211 |
+
"active": 1,
|
212 |
+
"description": "",
|
213 |
+
"modified": 1556892233
|
214 |
+
}
|
acf-json/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
?>
|
block-templates/click-to-tweet.php
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php $uid = $block['id'];?>
|
2 |
+
<div class="<?php echo $uid; ?>">
|
3 |
+
<style type="text/css">
|
4 |
+
.<?php echo $uid; ?> .acfb_click_to_tweet {
|
5 |
+
background-color: <?php the_field('acfb_click_to_tweet_bg_color'); ?>;
|
6 |
+
}
|
7 |
+
|
8 |
+
.<?php echo $uid; ?> .acfb_click_to_tweet a {
|
9 |
+
color: <?php the_field('acfb_click_to_tweet_text_color'); ?> !important;
|
10 |
+
font-size: <?php the_field('acfb_click_to_tweet_text_size'); ?>px;
|
11 |
+
}
|
12 |
+
|
13 |
+
.<?php echo $uid; ?> .acfb_click_to_tweet a:hover, .<?php echo $uid; ?> .acfb_click_to_tweet:hover a:after{
|
14 |
+
color: <?php the_field('acfb_click_to_tweet_button_hover_color'); ?>;
|
15 |
+
}
|
16 |
+
|
17 |
+
.<?php echo $uid; ?> .acfb_click_to_tweet a:after {
|
18 |
+
content: '<?php the_field('acfb_click_to_tweet_button_text'); ?>';
|
19 |
+
color: <?php the_field('acfb_click_to_tweet_button_color'); ?>;
|
20 |
+
font-size: <?php the_field('acfb_click_to_tweet_button_size'); ?>px;
|
21 |
+
}
|
22 |
+
|
23 |
+
</style>
|
24 |
+
|
25 |
+
<?php
|
26 |
+
$acfb_by_line = '';
|
27 |
+
if(get_field('acfb_click_to_tweet_handler')){
|
28 |
+
$acfb_by_line = 'by: @' . get_field('acfb_click_to_tweet_handler');
|
29 |
+
}
|
30 |
+
?>
|
31 |
+
|
32 |
+
|
33 |
+
<div class="acfb_click_to_tweet">
|
34 |
+
<a onclick="window.open("https://twitter.com/share?url=" +
|
35 |
+
document.querySelector("link[rel='canonical']").href + "&text=" + encodeURIComponent(this.innerText) + " - <?php echo $acfb_by_line; ?> ", "sharer", "; toolbar=0, status=0, width=626, height=436"); return false;" rel="nofollow" title="Share to Twitter">
|
36 |
+
<?php the_field('acfb_click_to_tweet_content'); ?>
|
37 |
+
</a>
|
38 |
+
</div>
|
39 |
+
|
40 |
+
</div><!-- Uid -->
|
block-templates/counter-number.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php $uid = $block['id'];?>
|
2 |
+
<div class="<?php echo $uid; ?>">
|
3 |
+
<style type="text/css">
|
4 |
+
.<?php echo $uid; ?> .acfb_counter_number_wrapper{
|
5 |
+
color: <?php the_field('acfb_counter_number_color'); ?>;
|
6 |
+
font-size: <?php the_field('acfb_counter_number_size'); ?>px;
|
7 |
+
}
|
8 |
+
|
9 |
+
.<?php echo $uid; ?> .acfb_counter .acfb_counter_title{
|
10 |
+
color: <?php the_field('acfb_counter_number_title_color'); ?>;
|
11 |
+
font-size: <?php the_field('acfb_counter_number_title_size'); ?>px;
|
12 |
+
}
|
13 |
+
</style>
|
14 |
+
|
15 |
+
<div class="acfb_counter">
|
16 |
+
<div class="acfb_counter_number_wrapper">
|
17 |
+
<span class="acfb_counter_number_prefix"><?php the_field('acfb_counter_number_prefix'); ?></span>
|
18 |
+
<span class="acfb_counter_number"><?php the_field('acfb_counter_number'); ?></span>
|
19 |
+
<span class="acfb_counter_number_suffix"><?php the_field('acfb_counter_number_suffix'); ?></span>
|
20 |
+
</div>
|
21 |
+
<div class="acfb_counter_title"><?php the_field('acfb_counter_number_title'); ?></div>
|
22 |
+
</div>
|
23 |
+
|
24 |
+
</div><!-- Uid -->
|
block-templates/multi-buttons.php
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php $uid = $block['id'];?>
|
2 |
+
<div class="<?php echo $uid; ?>">
|
3 |
+
<style type="text/css">
|
4 |
+
.<?php echo $uid; ?> .acfb_multibuttons_wrap .acfb_button{
|
5 |
+
font-size: <?php the_field('acfb_multibutton_text_size'); ?>px;
|
6 |
+
}
|
7 |
+
</style>
|
8 |
+
|
9 |
+
<div class="acfb_multibuttons_wrap">
|
10 |
+
<?php
|
11 |
+
if( have_rows('acfb_multi_buttons') ):
|
12 |
+
while ( have_rows('acfb_multi_buttons') ) : the_row(); ?>
|
13 |
+
|
14 |
+
<style type="text/css">
|
15 |
+
.<?php echo $uid; ?> .acfb_multibuttons_wrap .acfb_order_<?php echo get_row_index(); ?>{
|
16 |
+
background-color: <?php the_sub_field('acfb_multibutton_background_color'); ?>;
|
17 |
+
color: <?php the_sub_field('acfb_multibutton_text_color'); ?> !important;
|
18 |
+
}
|
19 |
+
|
20 |
+
.<?php echo $uid; ?> .acfb_multibuttons_wrap .acfb_order_<?php echo get_row_index(); ?>:hover{
|
21 |
+
background-color: <?php the_sub_field('acfb_multibutton_background_hover_color'); ?>;
|
22 |
+
color: <?php the_sub_field('acfb_multibutton_text_hover_color'); ?> !important;
|
23 |
+
}
|
24 |
+
|
25 |
+
</style>
|
26 |
+
|
27 |
+
|
28 |
+
<a href="<?php the_sub_field('acfb_multibutton_url'); ?>" class="acfb_button acfb_order_<?php echo get_row_index(); ?>">
|
29 |
+
<?php the_sub_field('acfb_multibutton_text'); ?>
|
30 |
+
</a>
|
31 |
+
|
32 |
+
<?php
|
33 |
+
endwhile;
|
34 |
+
endif;
|
35 |
+
?>
|
36 |
+
|
37 |
+
</div>
|
38 |
+
|
39 |
+
|
40 |
+
</div><!-- Uid -->
|
block-templates/price-list.php
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php $uid = $block['id'];?>
|
2 |
+
<div class="<?php echo $uid; ?>">
|
3 |
+
<style type="text/css">
|
4 |
+
|
5 |
+
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text .acfb_price_list_header{
|
6 |
+
color: <?php the_field('acfb_price_list_title_&_price_color'); ?>;
|
7 |
+
font-size: <?php the_field('acfb_price_list_title_&_price_size'); ?>px;
|
8 |
+
}
|
9 |
+
|
10 |
+
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text .acfb_price_list_header .acfb_price_list_separator {
|
11 |
+
border-bottom-style: <?php the_field('acfb_price_list_separator_styles'); ?>;
|
12 |
+
border-bottom-width: <?php the_field('acfb_price_list_separator_size'); ?>px;
|
13 |
+
border-bottom-color: <?php the_field('acfb_price_list_separator_color'); ?>;
|
14 |
+
|
15 |
+
}
|
16 |
+
|
17 |
+
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text p.acfb_price_list_description {
|
18 |
+
color: <?php the_field('acfb_price_list_description_color'); ?>;
|
19 |
+
font-size: <?php the_field('acfb_price_list_description_size'); ?>px;
|
20 |
+
}
|
21 |
+
|
22 |
+
</style>
|
23 |
+
|
24 |
+
|
25 |
+
<?php
|
26 |
+
$acfb_image = '';
|
27 |
+
if(!get_field('acfb_price_list_image')){
|
28 |
+
$acfb_image = plugin_dir_url( __FILE__ ) . '../img/placeholder-image.jpg';
|
29 |
+
} else{
|
30 |
+
$acfb_image = get_field('acfb_price_list_image');
|
31 |
+
}
|
32 |
+
?>
|
33 |
+
|
34 |
+
<div class="acfb_price_list_wrap">
|
35 |
+
<a href="<?php the_field('acfb_price_list_link'); ?>" class="acfb_price_list_item">
|
36 |
+
<div class="acfb_price_list_image">
|
37 |
+
<img src="<?php echo $acfb_image; ?>" alt="<?php the_field('acfb_price_list_image_alt'); ?>">
|
38 |
+
</div>
|
39 |
+
<div class="acfb_price_list_text">
|
40 |
+
<div class="acfb_price_list_header">
|
41 |
+
<span class="acfb_price_list_title"><?php the_field('acfb_price_list_title'); ?></span>
|
42 |
+
<span class="acfb_price_list_separator"></span>
|
43 |
+
<span class="acfb_price_list_price"><?php the_field('acfb_price_list_price_prefix'); ?><?php the_field('acfb_price_list_price'); ?></span>
|
44 |
+
</div>
|
45 |
+
<p class="acfb_price_list_description"><?php the_field('acfb_price_list_description'); ?></p>
|
46 |
+
</div>
|
47 |
+
</a>
|
48 |
+
</div>
|
49 |
+
|
50 |
+
</div><!-- Uid -->
|
block-templates/pricing-box.php
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php $uid = $block['id'];?>
|
2 |
+
<div class="<?php echo $uid; ?>">
|
3 |
+
<style type="text/css">
|
4 |
+
.<?php echo $uid; ?> .acfb_pricing_table_wrap{
|
5 |
+
background-color: <?php the_field('acfb_pricingbox_background_color'); ?>;
|
6 |
+
}
|
7 |
+
|
8 |
+
.<?php echo $uid; ?> .acfb_pricing_table_wrap img{
|
9 |
+
width: <?php the_field('acfb_pricingbox_image_size'); ?>%;
|
10 |
+
}
|
11 |
+
|
12 |
+
.<?php echo $uid; ?> h3.acfb_pricing_box_title{
|
13 |
+
color: <?php the_field('acfb_pricingbox_title_color'); ?>;
|
14 |
+
font-size: <?php the_field('acfb_pricingbox_title_size'); ?>px;
|
15 |
+
}
|
16 |
+
|
17 |
+
.<?php echo $uid; ?> .acfb_pricing_box_price_line .acfb_pricing_box_price_prefix{
|
18 |
+
color: <?php the_field('acfb_pricingbox_prefix_color'); ?>;
|
19 |
+
font-size: <?php the_field('acfb_pricingbox_prefix_size'); ?>px;
|
20 |
+
}
|
21 |
+
|
22 |
+
.<?php echo $uid; ?> .acfb_pricing_box_price_line .acfb_pricing_box_price{
|
23 |
+
color: <?php the_field('acfb_pricingbox_price_color'); ?>;
|
24 |
+
font-size: <?php the_field('acfb_pricingbox_price_size'); ?>px;
|
25 |
+
}
|
26 |
+
|
27 |
+
.<?php echo $uid; ?> .acfb_pricing_box_price_line .acfb_pricing_box_price_suffix{
|
28 |
+
color: <?php the_field('acfb_pricingbox_suffix_color'); ?>;
|
29 |
+
font-size: <?php the_field('acfb_pricingbox_suffix_size'); ?>px;
|
30 |
+
}
|
31 |
+
|
32 |
+
.<?php echo $uid; ?> .acfb_pricing_box_subprice{
|
33 |
+
color: <?php the_field('acfb_pricingbox_subtext_color'); ?>;
|
34 |
+
font-size: <?php the_field('acfb_pricingbox_subtext_size'); ?>px;
|
35 |
+
}
|
36 |
+
|
37 |
+
.<?php echo $uid; ?> .acfb_pricing_box_button a{
|
38 |
+
background-color: <?php the_field('acfb_pricingbox_button_background_color'); ?>;
|
39 |
+
color: <?php the_field('acfb_pricingbox_button_text_color'); ?> !important;
|
40 |
+
font-size: <?php the_field('acfb_pricingbox_button_size'); ?>px;
|
41 |
+
}
|
42 |
+
|
43 |
+
.<?php echo $uid; ?> .acfb_pricing_box_button a:hover{
|
44 |
+
background-color: <?php the_field('acfb_pricingbox_button_background_hover_color'); ?>;
|
45 |
+
color: <?php the_field('acfb_pricingbox_button_text_hover_color'); ?> !important;
|
46 |
+
}
|
47 |
+
|
48 |
+
.<?php echo $uid; ?> .acfb_pricing_box_description{
|
49 |
+
color: <?php the_field('acfb_pricingbox_description_color'); ?>;
|
50 |
+
font-size: <?php the_field('acfb_pricingbox_description_size'); ?>px;
|
51 |
+
}
|
52 |
+
</style>
|
53 |
+
|
54 |
+
|
55 |
+
<?php
|
56 |
+
$acfb_image = '';
|
57 |
+
if(!get_field('acfb_pricingbox_image')){
|
58 |
+
$acfb_image = plugin_dir_url( __FILE__ ) . '../img/placeholder-image.jpg';
|
59 |
+
} else{
|
60 |
+
$acfb_image = get_field('acfb_pricingbox_image');
|
61 |
+
}
|
62 |
+
?>
|
63 |
+
|
64 |
+
<div class="acfb_pricing_table_wrap">
|
65 |
+
<img src="<?php echo $acfb_image; ?>" alt="<?php the_field('acfb_pricingbox_image_alt'); ?>">
|
66 |
+
<h3 class="acfb_pricing_box_title"><?php the_field('acfb_pricingbox_title'); ?></h3>
|
67 |
+
<div class="acfb_pricing_box_price_wrapper">
|
68 |
+
<div class="acfb_pricing_box_price_line">
|
69 |
+
<span class="acfb_pricing_box_price_prefix"><?php the_field('acfb_pricingbox_price_prefix'); ?></span>
|
70 |
+
<span class="acfb_pricing_box_price"><?php the_field('acfb_pricingbox_price'); ?></span>
|
71 |
+
<span class="acfb_pricing_box_price_suffix"><?php the_field('acfb_pricingbox_price_suffix'); ?></span>
|
72 |
+
</div>
|
73 |
+
<span class="acfb_pricing_box_subprice"><?php the_field('acfb_pricingbox_sub_text'); ?></span>
|
74 |
+
</div>
|
75 |
+
<div class="acfb_pricing_box_button">
|
76 |
+
<a href="<?php the_field('acfb_pricingbox_button_url'); ?>"><?php the_field('acfb_pricingbox_button_text'); ?></a>
|
77 |
+
</div>
|
78 |
+
<p class="acfb_pricing_box_description"><?php the_field('acfb_pricingbox_description'); ?></p>
|
79 |
+
|
80 |
+
</div><!-- Uid -->
|
block-templates/progress-bar.php
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php $uid = $block['id']; ?>
|
2 |
+
<div class="<?php echo $uid; ?>">
|
3 |
+
<style type="text/css">
|
4 |
+
.<?php echo $uid; ?> .acfb_progress_wrapper .acfb_inner_wrap{
|
5 |
+
background-color: <?php the_field('acfb_progressbar_unactive_bg_color'); ?>;
|
6 |
+
color: <?php the_field('acfb_progressbar_text_color'); ?>;
|
7 |
+
}
|
8 |
+
|
9 |
+
.<?php echo $uid; ?> .acfb_progress_wrapper .acfb_progress_bar_title{
|
10 |
+
color: <?php the_field('acfb_progressbar_title_color'); ?>;
|
11 |
+
font-size: <?php the_field('acfb_progressbar_title_size'); ?>px;
|
12 |
+
}
|
13 |
+
|
14 |
+
.<?php echo $uid; ?> .acfb_progress_wrapper .acfb_progress_bar{
|
15 |
+
background-color: <?php the_field('acfb_progressbar_bg_color'); ?>;
|
16 |
+
font-size: <?php the_field('acfb_progressbar_text_size'); ?>px;
|
17 |
+
}
|
18 |
+
</style>
|
19 |
+
|
20 |
+
<div class="acfb_progress_wrapper">
|
21 |
+
<span class="acfb_progress_bar_title"><?php the_field('acfb_progressbar_title'); ?></span>
|
22 |
+
<div class="acfb_inner_wrap">
|
23 |
+
<div class="acfb_progress_bar" style="width: <?php the_field('acfb_progressbar_percentage'); ?>%;">
|
24 |
+
<span class="acfb_progress_text"><?php the_field('acfb_progressbar_inner_text'); ?></span>
|
25 |
+
<?php if( '1' == get_field('acfb_progressbar_display_percentage') ): ?>
|
26 |
+
<span class="acfb_progress_percentage"><?php the_field('acfb_progressbar_percentage'); ?>%</span>
|
27 |
+
<?php endif; ?>
|
28 |
+
</div>
|
29 |
+
</div>
|
30 |
+
</div>
|
31 |
+
|
32 |
+
</div><!-- Uid -->
|
block-templates/star-rating.php
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php $uid = $block['id'];?>
|
2 |
+
<div class="<?php echo $uid; ?>">
|
3 |
+
<style type="text/css">
|
4 |
+
.<?php echo $uid; ?> .acfb_star_rating .acfb_before{
|
5 |
+
font-size: <?php the_field('acfb_rating_before_text_size'); ?>px;
|
6 |
+
color: <?php the_field('acfb_rating_before_text_color'); ?>;
|
7 |
+
margin-right: <?php the_field('acfb_rating_before_text_gap'); ?>px;
|
8 |
+
}
|
9 |
+
|
10 |
+
.<?php echo $uid; ?> .acfb_star_rating .acfb_star:nth-child(-n+<?php the_field('acfb_rating'); ?>) {
|
11 |
+
color: <?php the_field('acfb_marked_star_color'); ?>;
|
12 |
+
}
|
13 |
+
|
14 |
+
.<?php echo $uid; ?> .acfb_star_rating .acfb_star{
|
15 |
+
font-size: <?php the_field('acfb_star_icon_size'); ?>px;
|
16 |
+
color: <?php the_field('acfb_unmarked_star_color'); ?>;
|
17 |
+
}
|
18 |
+
</style>
|
19 |
+
|
20 |
+
<div class="acfb_star_rating">
|
21 |
+
<div class="acfb_before">
|
22 |
+
<?php the_field('acfb_rating_before_text'); ?>
|
23 |
+
</div>
|
24 |
+
<div class="acfb_stars">
|
25 |
+
<span class="acfb_star"></span>
|
26 |
+
<span class="acfb_star"></span>
|
27 |
+
<span class="acfb_star"></span>
|
28 |
+
<span class="acfb_star"></span>
|
29 |
+
<span class="acfb_star"></span>
|
30 |
+
</div>
|
31 |
+
</div>
|
32 |
+
|
33 |
+
</div><!-- Uid -->
|
block-templates/team.php
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php $uid = $block['id'];?>
|
2 |
+
<div class="<?php echo $uid; ?>">
|
3 |
+
<style type="text/css">
|
4 |
+
.<?php echo $uid; ?> .acfb_team_wrap{
|
5 |
+
background: <?php the_field('acfb_team_background_color'); ?>;
|
6 |
+
}
|
7 |
+
|
8 |
+
.<?php echo $uid; ?> .acfb_team_wrap .acfb_team_avatar{
|
9 |
+
width: <?php the_field('acfb_team_image_size'); ?>px;
|
10 |
+
height: <?php the_field('acfb_team_image_size'); ?>px;
|
11 |
+
}
|
12 |
+
|
13 |
+
.<?php echo $uid; ?> .acfb_team_wrap .acfb_team_info .acfb_team_name{
|
14 |
+
color: <?php the_field('acfb_team_name_color'); ?>;
|
15 |
+
font-size: <?php the_field('acfb_team_name_size'); ?>px;
|
16 |
+
}
|
17 |
+
|
18 |
+
.<?php echo $uid; ?> .acfb_team_wrap .acfb_team_info .acfb_team_position{
|
19 |
+
color: <?php the_field('acfb_team_position_color'); ?>;
|
20 |
+
font-size: <?php the_field('acfb_team_position_size'); ?>px;
|
21 |
+
}
|
22 |
+
|
23 |
+
.<?php echo $uid; ?> .acfb_team_wrap .acfb_team_info .acfb_team_description{
|
24 |
+
color: <?php the_field('acfb_team_description_color'); ?>;
|
25 |
+
font-size: <?php the_field('acfb_team_description_size'); ?>px;
|
26 |
+
}
|
27 |
+
|
28 |
+
</style>
|
29 |
+
|
30 |
+
|
31 |
+
<?php
|
32 |
+
$acfb_image = '';
|
33 |
+
if(!get_field('acfb_team_image')){
|
34 |
+
$acfb_image = plugin_dir_url( __FILE__ ) . '../img/placeholder-image.jpg';
|
35 |
+
} else{
|
36 |
+
$acfb_image = get_field('acfb_team_image');
|
37 |
+
}
|
38 |
+
?>
|
39 |
+
|
40 |
+
<div class="acfb_team_wrap acfb_team_<?php the_field('acfb_team_image_position') ?>">
|
41 |
+
<div class="acfb_team_avatar">
|
42 |
+
<img src="<?php echo $acfb_image; ?>" alt="<?php the_field('acfb_team_image_alt'); ?>">
|
43 |
+
</div>
|
44 |
+
<div class="acfb_team_info">
|
45 |
+
<h4 class="acfb_team_name"><?php the_field('acfb_team_name'); ?></h4>
|
46 |
+
<span class="acfb_team_position"><?php the_field('acfb_team_position'); ?></span>
|
47 |
+
<p class="acfb_team_description">
|
48 |
+
<?php the_field('acfb_team_description'); ?>
|
49 |
+
</p>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
|
53 |
+
|
54 |
+
</div><!-- Uid -->
|
block-templates/testimonial.php
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$uid = $block['id'];
|
3 |
+
?>
|
4 |
+
<div class="<?php echo $uid; ?>">
|
5 |
+
<style type="text/css">
|
6 |
+
.<?php echo $uid; ?> .acfb_testimonial_wrap{
|
7 |
+
background-color: <?php the_field('acfb_testimonial_background_color'); ?>;
|
8 |
+
}
|
9 |
+
|
10 |
+
.<?php echo $uid; ?> .acfb_testimonial_wrap .acfb_testimonial_text{
|
11 |
+
color: <?php the_field('acfb_testimonial_text_color'); ?>;
|
12 |
+
font-size: <?php the_field('acfb_testimonial_text_size'); ?>px;
|
13 |
+
}
|
14 |
+
|
15 |
+
.<?php echo $uid; ?> .acfb_testimonial_wrap .acfb_testimonial_bio .acfb_testimonial_avatar_wrap{
|
16 |
+
height: <?php the_field('acfb_testimonial_image_size'); ?>px;
|
17 |
+
width: <?php the_field('acfb_testimonial_image_size'); ?>px;
|
18 |
+
}
|
19 |
+
|
20 |
+
.<?php echo $uid; ?> .acfb_testimonial_wrap .acfb_testimonial_bio .acfb_testimonial_name{
|
21 |
+
color: <?php the_field('acfb_testimonial_name_color'); ?>;
|
22 |
+
font-size: <?php the_field('acfb_testimonial_name_size'); ?>px;
|
23 |
+
}
|
24 |
+
|
25 |
+
.<?php echo $uid; ?> .acfb_testimonial_wrap .acfb_testimonial_bio .acfb_testimonial_position{
|
26 |
+
color: <?php the_field('acfb_testimonial_position_color'); ?>;
|
27 |
+
font-size: <?php the_field('acfb_testimonial_position_size'); ?>px;
|
28 |
+
}
|
29 |
+
|
30 |
+
</style>
|
31 |
+
|
32 |
+
<?php
|
33 |
+
$acfb_image = '';
|
34 |
+
if(!get_field('acfb_testimonial_image')){
|
35 |
+
$acfb_image = plugin_dir_url( __FILE__ ) . '../img/placeholder-image.jpg';
|
36 |
+
} else{
|
37 |
+
$acfb_image = get_field('acfb_testimonial_image');
|
38 |
+
}
|
39 |
+
?>
|
40 |
+
|
41 |
+
|
42 |
+
<div class="acfb_testimonial_wrap">
|
43 |
+
<div class="acfb_testimonial_text">
|
44 |
+
<?php the_field('acfb_testimonial_text'); ?>
|
45 |
+
</div>
|
46 |
+
<div class="acfb_testimonial_bio">
|
47 |
+
<div class="acfb_testimonial_avatar_wrap">
|
48 |
+
<img class="acfb_testimonial_avatar" src="<?php echo $acfb_image; ?>" alt="<?php the_field('acfb_testimonial_image_alt'); ?>">
|
49 |
+
</div>
|
50 |
+
<div class="acfb_testimonial_info_wrap">
|
51 |
+
<h2 class="acfb_testimonial_name"><?php the_field('acfb_testimonial_name'); ?></h2>
|
52 |
+
<small class="acfb_testimonial_position"><?php the_field('acfb_testimonial_position'); ?></small>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
|
57 |
+
|
58 |
+
</div><!-- Uid -->
|
css/acfblocks.css
ADDED
@@ -0,0 +1,265 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/************ Testimonial CSS ************/
|
2 |
+
.acfb_testimonial_wrap{
|
3 |
+
padding: 5%;
|
4 |
+
border-radius: 5px;
|
5 |
+
}
|
6 |
+
|
7 |
+
.acfb_testimonial_wrap .acfb_testimonial_bio{
|
8 |
+
display: flex;
|
9 |
+
align-items: center;
|
10 |
+
margin-top: 40px;
|
11 |
+
}
|
12 |
+
|
13 |
+
.acfb_testimonial_wrap .acfb_testimonial_bio .acfb_testimonial_avatar_wrap{
|
14 |
+
border-radius: 100%;
|
15 |
+
margin-right: 15px;
|
16 |
+
}
|
17 |
+
|
18 |
+
.acfb_testimonial_wrap .acfb_testimonial_bio .acfb_testimonial_avatar{
|
19 |
+
object-fit: cover;
|
20 |
+
height: 100%;
|
21 |
+
width: 100%;
|
22 |
+
position: relative;
|
23 |
+
z-index: 10;
|
24 |
+
border-radius: 100%;
|
25 |
+
z-index: 5;
|
26 |
+
border: solid 2px #000;
|
27 |
+
}
|
28 |
+
|
29 |
+
.acfb_testimonial_wrap .acfb_testimonial_bio .acfb_testimonial_name{
|
30 |
+
font-family: "Europa", sans-serif;
|
31 |
+
font-weight: 700;
|
32 |
+
line-height: 1.2;
|
33 |
+
margin: 0;
|
34 |
+
padding: 0;
|
35 |
+
}
|
36 |
+
|
37 |
+
/************ Team CSS ************/
|
38 |
+
.acfb_team_wrap.acfb_team_top{
|
39 |
+
display: grid;
|
40 |
+
grid-template-columns: 100%;
|
41 |
+
justify-items: center;
|
42 |
+
text-align: center;
|
43 |
+
}
|
44 |
+
|
45 |
+
.acfb_team_wrap.acfb_team_left{
|
46 |
+
display: grid;
|
47 |
+
grid-gap: 25px;
|
48 |
+
grid-template-columns: 150px auto;
|
49 |
+
align-items: center;
|
50 |
+
}
|
51 |
+
|
52 |
+
.acfb_team_wrap{
|
53 |
+
padding: 60px 35px;
|
54 |
+
}
|
55 |
+
|
56 |
+
.acfb_team_wrap .acfb_team_avatar img{
|
57 |
+
object-fit: cover;
|
58 |
+
height: 100%;
|
59 |
+
width: 100%;
|
60 |
+
border-radius: 100%;
|
61 |
+
}
|
62 |
+
.acfb_team_wrap .acfb_team_info{
|
63 |
+
margin-top: 20px;
|
64 |
+
}
|
65 |
+
|
66 |
+
|
67 |
+
/************ Star Rating CSS ************/
|
68 |
+
.acfb_star_rating{
|
69 |
+
display: flex;
|
70 |
+
align-items: center;
|
71 |
+
}
|
72 |
+
|
73 |
+
.acfb_star_rating .acfb_star:before{
|
74 |
+
content: "\f155";
|
75 |
+
font-family: dashicons;
|
76 |
+
}
|
77 |
+
|
78 |
+
|
79 |
+
/************ Progress Bar CSS ************/
|
80 |
+
.acfb_progress_wrapper .acfb_progress_bar_title{
|
81 |
+
display: block;
|
82 |
+
margin-bottom: 5px;
|
83 |
+
}
|
84 |
+
|
85 |
+
.acfb_progress_wrapper .acfb_inner_wrap{
|
86 |
+
position: relative;
|
87 |
+
}
|
88 |
+
|
89 |
+
.acfb_progress_wrapper .acfb_progress_bar{
|
90 |
+
display: -webkit-box;
|
91 |
+
display: -webkit-flex;
|
92 |
+
display: -ms-flexbox;
|
93 |
+
display: flex;
|
94 |
+
padding: 7px 15px;
|
95 |
+
}
|
96 |
+
|
97 |
+
.acfb_progress_wrapper .acfb_progress_bar .acfb_progress_text{
|
98 |
+
-webkit-box-flex: 1;
|
99 |
+
-webkit-flex-grow: 1;
|
100 |
+
-ms-flex-positive: 1;
|
101 |
+
flex-grow: 1;
|
102 |
+
white-space: nowrap;
|
103 |
+
overflow: hidden;
|
104 |
+
-o-text-overflow: ellipsis;
|
105 |
+
text-overflow: ellipsis;
|
106 |
+
}
|
107 |
+
|
108 |
+
|
109 |
+
|
110 |
+
/************ Pricing Box CSS ************/
|
111 |
+
.acfb_pricing_table_wrap{
|
112 |
+
font-family: Lato,sans-serif;
|
113 |
+
text-align: center;
|
114 |
+
padding: 60px 35px;
|
115 |
+
border-radius: 12px;
|
116 |
+
}
|
117 |
+
.acfb_pricing_table_wrap .acfb_pricing_box_title{
|
118 |
+
font-weight: 700;
|
119 |
+
}
|
120 |
+
.acfb_pricing_table_wrap .acfb_pricing_box_price_wrapper{
|
121 |
+
margin: 20px 0;
|
122 |
+
}
|
123 |
+
.acfb_pricing_table_wrap .acfb_pricing_box_price_line{
|
124 |
+
display: flex;
|
125 |
+
justify-content: center;
|
126 |
+
}
|
127 |
+
.acfb_pricing_table_wrap .acfb_pricing_box_price_line .acfb_pricing_box_price_prefix{
|
128 |
+
align-self: flex-start;
|
129 |
+
}
|
130 |
+
.acfb_pricing_table_wrap .acfb_pricing_box_price_line .acfb_pricing_box_price{
|
131 |
+
line-height: 100%!important;
|
132 |
+
}
|
133 |
+
.acfb_pricing_table_wrap .acfb_pricing_box_price_line .acfb_pricing_box_price_suffix{
|
134 |
+
align-self: flex-end;
|
135 |
+
}
|
136 |
+
.acfb_pricing_table_wrap .acfb_pricing_box_subprice{
|
137 |
+
text-transform: uppercase;
|
138 |
+
line-height: 100%!important;
|
139 |
+
}
|
140 |
+
.acfb_pricing_table_wrap .acfb_pricing_box_button a{
|
141 |
+
border-radius: 7px;
|
142 |
+
align-items: center;
|
143 |
+
font-weight: 600;
|
144 |
+
cursor: pointer;
|
145 |
+
padding: 10px 25px;
|
146 |
+
display: inline-block;
|
147 |
+
margin: 15px 0;
|
148 |
+
text-decoration: none;
|
149 |
+
}
|
150 |
+
|
151 |
+
|
152 |
+
/************ Price List CSS ************/
|
153 |
+
.acfb_price_list_wrap .acfb_price_list_item {
|
154 |
+
display: grid;
|
155 |
+
grid-column-gap: 15px;
|
156 |
+
grid-template-columns: 20% auto;
|
157 |
+
text-decoration: none;
|
158 |
+
}
|
159 |
+
|
160 |
+
.acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text .acfb_price_list_header{
|
161 |
+
display: grid;
|
162 |
+
grid-template-columns: max-content auto max-content;
|
163 |
+
align-items: center;
|
164 |
+
grid-gap: 15px;
|
165 |
+
font-weight: 600;
|
166 |
+
}
|
167 |
+
|
168 |
+
.acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text p.acfb_price_list_description {
|
169 |
+
margin-top: 10px;
|
170 |
+
}
|
171 |
+
|
172 |
+
|
173 |
+
/************ Multi Button CSS ************/
|
174 |
+
.acfb_multibuttons_wrap{
|
175 |
+
/*display: grid;*/
|
176 |
+
/*grid-template-columns: auto;*/
|
177 |
+
}
|
178 |
+
.acfb_multibuttons_wrap .acfb_button{
|
179 |
+
padding: 15px 20px;
|
180 |
+
display: inline-block;
|
181 |
+
text-decoration: none;
|
182 |
+
margin-bottom: 5px;
|
183 |
+
}
|
184 |
+
|
185 |
+
|
186 |
+
/************ Counter Number CSS ************/
|
187 |
+
.acfb_counter_number_wrapper{
|
188 |
+
display: -webkit-box;
|
189 |
+
display: -webkit-flex;
|
190 |
+
display: -ms-flexbox;
|
191 |
+
display: flex;
|
192 |
+
font-weight: 600;
|
193 |
+
line-height: 1;
|
194 |
+
}
|
195 |
+
|
196 |
+
.acfb_counter_number_wrapper .acfb_counter_number_prefix{
|
197 |
+
text-align: right;
|
198 |
+
}
|
199 |
+
|
200 |
+
.acfb_counter_number_wrapper .acfb_counter_number_suffix{
|
201 |
+
text-align: left;
|
202 |
+
}
|
203 |
+
|
204 |
+
.acfb_counter_number_wrapper .acfb_counter_number_prefix, .acfb_counter_number_wrapper .acfb_counter_number_suffix{
|
205 |
+
-webkit-box-flex: 1;
|
206 |
+
-webkit-flex-grow: 1;
|
207 |
+
-ms-flex-positive: 1;
|
208 |
+
flex-grow: 1;
|
209 |
+
white-space: pre-wrap;
|
210 |
+
}
|
211 |
+
|
212 |
+
.acfb_counter .acfb_counter_title{
|
213 |
+
text-align: center;
|
214 |
+
font-weight: 400;
|
215 |
+
line-height: 2.5;
|
216 |
+
}
|
217 |
+
|
218 |
+
|
219 |
+
/************ Click To Tweet CSS ************/
|
220 |
+
.acfb_click_to_tweet {
|
221 |
+
display: block;
|
222 |
+
-moz-border-radius: 4px;
|
223 |
+
border-radius: 4px;
|
224 |
+
padding: 15px 30px;
|
225 |
+
text-align: left;
|
226 |
+
}
|
227 |
+
|
228 |
+
.acfb_click_to_tweet a {
|
229 |
+
display: block;
|
230 |
+
text-decoration: none;
|
231 |
+
text-transform: none;
|
232 |
+
cursor: pointer;
|
233 |
+
line-height: 140%;
|
234 |
+
letter-spacing: 0.05em;
|
235 |
+
}
|
236 |
+
|
237 |
+
.acfb_click_to_tweet a:hover, .acfb_click_to_tweet:hover a:after{
|
238 |
+
text-decoration: none;
|
239 |
+
}
|
240 |
+
|
241 |
+
.acfb_click_to_tweet a:before {
|
242 |
+
content: '';
|
243 |
+
display: inline-block;
|
244 |
+
width: 50px;
|
245 |
+
height: 50px;
|
246 |
+
vertical-align: bottom;
|
247 |
+
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10,7L8,11H11V17H5V11L7,7H10M18,7L16,11H19V17H13V11L15,7H18Z' fill='%23666'/%3E%3C/svg%3E") no-repeat right center;
|
248 |
+
}
|
249 |
+
|
250 |
+
.acfb_click_to_tweet a:after {
|
251 |
+
margin-top: 20px;
|
252 |
+
padding-right: 25px;
|
253 |
+
position: relative;
|
254 |
+
display: block;
|
255 |
+
text-transform: uppercase;
|
256 |
+
text-align: right;
|
257 |
+
text-decoration: none;
|
258 |
+
transition: all 0.5s ease;
|
259 |
+
line-height: 20px;
|
260 |
+
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22.46,6C21.69,6.35 20.86,6.58 20,6.69C20.88,6.16 21.56,5.32 21.88,4.31C21.05,4.81 20.13,5.16 19.16,5.36C18.37,4.5 17.26,4 16,4C13.65,4 11.73,5.92 11.73,8.29C11.73,8.63 11.77,8.96 11.84,9.27C8.28,9.09 5.11,7.38 3,4.79C2.63,5.42 2.42,6.16 2.42,6.94C2.42,8.43 3.17,9.75 4.33,10.5C3.62,10.5 2.96,10.3 2.38,10C2.38,10 2.38,10 2.38,10.03C2.38,12.11 3.86,13.85 5.82,14.24C5.46,14.34 5.08,14.39 4.69,14.39C4.42,14.39 4.15,14.36 3.89,14.31C4.43,16 6,17.26 7.89,17.29C6.43,18.45 4.58,19.13 2.56,19.13C2.22,19.13 1.88,19.11 1.54,19.07C3.44,20.29 5.7,21 8.12,21C16,21 20.33,14.46 20.33,8.79C20.33,8.6 20.33,8.42 20.32,8.23C21.16,7.63 21.88,6.87 22.46,6Z' fill='%2300abf0'/%3E%3C/svg%3E") no-repeat right center;
|
261 |
+
}
|
262 |
+
|
263 |
+
|
264 |
+
|
265 |
+
.acfb_svg_icon{fill:none;stroke:#555d66;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}
|
freemius/.gitignore
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
output/
|
2 |
+
assets/img/*.*
|
3 |
+
!assets/img/plugin-icon.png
|
4 |
+
!assets/img/theme-icon.png
|
5 |
+
!assets/img/index.php
|
6 |
+
.idea
|
7 |
+
node_modules
|
8 |
+
transifex-config.json
|
9 |
+
*.orig
|
10 |
+
npm-debug.log
|
11 |
+
package-lock.json
|
freemius/LICENSE.txt
ADDED
@@ -0,0 +1,674 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
GNU GENERAL PUBLIC LICENSE
|
2 |
+
Version 3, 29 June 2007
|
3 |
+
|
4 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
5 |
+
Everyone is permitted to copy and distribute verbatim copies
|
6 |
+
of this license document, but changing it is not allowed.
|
7 |
+
|
8 |
+
Preamble
|
9 |
+
|
10 |
+
The GNU General Public License is a free, copyleft license for
|
11 |
+
software and other kinds of works.
|
12 |
+
|
13 |
+
The licenses for most software and other practical works are designed
|
14 |
+
to take away your freedom to share and change the works. By contrast,
|
15 |
+
the GNU General Public License is intended to guarantee your freedom to
|
16 |
+
share and change all versions of a program--to make sure it remains free
|
17 |
+
software for all its users. We, the Free Software Foundation, use the
|
18 |
+
GNU General Public License for most of our software; it applies also to
|
19 |
+
any other work released this way by its authors. You can apply it to
|
20 |
+
your programs, too.
|
21 |
+
|
22 |
+
When we speak of free software, we are referring to freedom, not
|
23 |
+
price. Our General Public Licenses are designed to make sure that you
|
24 |
+
have the freedom to distribute copies of free software (and charge for
|
25 |
+
them if you wish), that you receive source code or can get it if you
|
26 |
+
want it, that you can change the software or use pieces of it in new
|
27 |
+
free programs, and that you know you can do these things.
|
28 |
+
|
29 |
+
To protect your rights, we need to prevent others from denying you
|
30 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
31 |
+
certain responsibilities if you distribute copies of the software, or if
|
32 |
+
you modify it: responsibilities to respect the freedom of others.
|
33 |
+
|
34 |
+
For example, if you distribute copies of such a program, whether
|
35 |
+
gratis or for a fee, you must pass on to the recipients the same
|
36 |
+
freedoms that you received. You must make sure that they, too, receive
|
37 |
+
or can get the source code. And you must show them these terms so they
|
38 |
+
know their rights.
|
39 |
+
|
40 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
41 |
+
(1) assert copyright on the software, and (2) offer you this License
|
42 |
+
giving you legal permission to copy, distribute and/or modify it.
|
43 |
+
|
44 |
+
For the developers' and authors' protection, the GPL clearly explains
|
45 |
+
that there is no warranty for this free software. For both users' and
|
46 |
+
authors' sake, the GPL requires that modified versions be marked as
|
47 |
+
changed, so that their problems will not be attributed erroneously to
|
48 |
+
authors of previous versions.
|
49 |
+
|
50 |
+
Some devices are designed to deny users access to install or run
|
51 |
+
modified versions of the software inside them, although the manufacturer
|
52 |
+
can do so. This is fundamentally incompatible with the aim of
|
53 |
+
protecting users' freedom to change the software. The systematic
|
54 |
+
pattern of such abuse occurs in the area of products for individuals to
|
55 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
56 |
+
have designed this version of the GPL to prohibit the practice for those
|
57 |
+
products. If such problems arise substantially in other domains, we
|
58 |
+
stand ready to extend this provision to those domains in future versions
|
59 |
+
of the GPL, as needed to protect the freedom of users.
|
60 |
+
|
61 |
+
Finally, every program is threatened constantly by software patents.
|
62 |
+
States should not allow patents to restrict development and use of
|
63 |
+
software on general-purpose computers, but in those that do, we wish to
|
64 |
+
avoid the special danger that patents applied to a free program could
|
65 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
66 |
+
patents cannot be used to render the program non-free.
|
67 |
+
|
68 |
+
The precise terms and conditions for copying, distribution and
|
69 |
+
modification follow.
|
70 |
+
|
71 |
+
TERMS AND CONDITIONS
|
72 |
+
|
73 |
+
0. Definitions.
|
74 |
+
|
75 |
+
"This License" refers to version 3 of the GNU General Public License.
|
76 |
+
|
77 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
78 |
+
works, such as semiconductor masks.
|
79 |
+
|
80 |
+
"The Program" refers to any copyrightable work licensed under this
|
81 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
82 |
+
"recipients" may be individuals or organizations.
|
83 |
+
|
84 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
85 |
+
in a fashion requiring copyright permission, other than the making of an
|
86 |
+
exact copy. The resulting work is called a "modified version" of the
|
87 |
+
earlier work or a work "based on" the earlier work.
|
88 |
+
|
89 |
+
A "covered work" means either the unmodified Program or a work based
|
90 |
+
on the Program.
|
91 |
+
|
92 |
+
To "propagate" a work means to do anything with it that, without
|
93 |
+
permission, would make you directly or secondarily liable for
|
94 |
+
infringement under applicable copyright law, except executing it on a
|
95 |
+
computer or modifying a private copy. Propagation includes copying,
|
96 |
+
distribution (with or without modification), making available to the
|
97 |
+
public, and in some countries other activities as well.
|
98 |
+
|
99 |
+
To "convey" a work means any kind of propagation that enables other
|
100 |
+
parties to make or receive copies. Mere interaction with a user through
|
101 |
+
a computer network, with no transfer of a copy, is not conveying.
|
102 |
+
|
103 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
104 |
+
to the extent that it includes a convenient and prominently visible
|
105 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
106 |
+
tells the user that there is no warranty for the work (except to the
|
107 |
+
extent that warranties are provided), that licensees may convey the
|
108 |
+
work under this License, and how to view a copy of this License. If
|
109 |
+
the interface presents a list of user commands or options, such as a
|
110 |
+
menu, a prominent item in the list meets this criterion.
|
111 |
+
|
112 |
+
1. Source Code.
|
113 |
+
|
114 |
+
The "source code" for a work means the preferred form of the work
|
115 |
+
for making modifications to it. "Object code" means any non-source
|
116 |
+
form of a work.
|
117 |
+
|
118 |
+
A "Standard Interface" means an interface that either is an official
|
119 |
+
standard defined by a recognized standards body, or, in the case of
|
120 |
+
interfaces specified for a particular programming language, one that
|
121 |
+
is widely used among developers working in that language.
|
122 |
+
|
123 |
+
The "System Libraries" of an executable work include anything, other
|
124 |
+
than the work as a whole, that (a) is included in the normal form of
|
125 |
+
packaging a Major Component, but which is not part of that Major
|
126 |
+
Component, and (b) serves only to enable use of the work with that
|
127 |
+
Major Component, or to implement a Standard Interface for which an
|
128 |
+
implementation is available to the public in source code form. A
|
129 |
+
"Major Component", in this context, means a major essential component
|
130 |
+
(kernel, window system, and so on) of the specific operating system
|
131 |
+
(if any) on which the executable work runs, or a compiler used to
|
132 |
+
produce the work, or an object code interpreter used to run it.
|
133 |
+
|
134 |
+
The "Corresponding Source" for a work in object code form means all
|
135 |
+
the source code needed to generate, install, and (for an executable
|
136 |
+
work) run the object code and to modify the work, including scripts to
|
137 |
+
control those activities. However, it does not include the work's
|
138 |
+
System Libraries, or general-purpose tools or generally available free
|
139 |
+
programs which are used unmodified in performing those activities but
|
140 |
+
which are not part of the work. For example, Corresponding Source
|
141 |
+
includes interface definition files associated with source files for
|
142 |
+
the work, and the source code for shared libraries and dynamically
|
143 |
+
linked subprograms that the work is specifically designed to require,
|
144 |
+
such as by intimate data communication or control flow between those
|
145 |
+
subprograms and other parts of the work.
|
146 |
+
|
147 |
+
The Corresponding Source need not include anything that users
|
148 |
+
can regenerate automatically from other parts of the Corresponding
|
149 |
+
Source.
|
150 |
+
|
151 |
+
The Corresponding Source for a work in source code form is that
|
152 |
+
same work.
|
153 |
+
|
154 |
+
2. Basic Permissions.
|
155 |
+
|
156 |
+
All rights granted under this License are granted for the term of
|
157 |
+
copyright on the Program, and are irrevocable provided the stated
|
158 |
+
conditions are met. This License explicitly affirms your unlimited
|
159 |
+
permission to run the unmodified Program. The output from running a
|
160 |
+
covered work is covered by this License only if the output, given its
|
161 |
+
content, constitutes a covered work. This License acknowledges your
|
162 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
163 |
+
|
164 |
+
You may make, run and propagate covered works that you do not
|
165 |
+
convey, without conditions so long as your license otherwise remains
|
166 |
+
in force. You may convey covered works to others for the sole purpose
|
167 |
+
of having them make modifications exclusively for you, or provide you
|
168 |
+
with facilities for running those works, provided that you comply with
|
169 |
+
the terms of this License in conveying all material for which you do
|
170 |
+
not control copyright. Those thus making or running the covered works
|
171 |
+
for you must do so exclusively on your behalf, under your direction
|
172 |
+
and control, on terms that prohibit them from making any copies of
|
173 |
+
your copyrighted material outside their relationship with you.
|
174 |
+
|
175 |
+
Conveying under any other circumstances is permitted solely under
|
176 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
177 |
+
makes it unnecessary.
|
178 |
+
|
179 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
180 |
+
|
181 |
+
No covered work shall be deemed part of an effective technological
|
182 |
+
measure under any applicable law fulfilling obligations under article
|
183 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
184 |
+
similar laws prohibiting or restricting circumvention of such
|
185 |
+
measures.
|
186 |
+
|
187 |
+
When you convey a covered work, you waive any legal power to forbid
|
188 |
+
circumvention of technological measures to the extent such circumvention
|
189 |
+
is effected by exercising rights under this License with respect to
|
190 |
+
the covered work, and you disclaim any intention to limit operation or
|
191 |
+
modification of the work as a means of enforcing, against the work's
|
192 |
+
users, your or third parties' legal rights to forbid circumvention of
|
193 |
+
technological measures.
|
194 |
+
|
195 |
+
4. Conveying Verbatim Copies.
|
196 |
+
|
197 |
+
You may convey verbatim copies of the Program's source code as you
|
198 |
+
receive it, in any medium, provided that you conspicuously and
|
199 |
+
appropriately publish on each copy an appropriate copyright notice;
|
200 |
+
keep intact all notices stating that this License and any
|
201 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
202 |
+
keep intact all notices of the absence of any warranty; and give all
|
203 |
+
recipients a copy of this License along with the Program.
|
204 |
+
|
205 |
+
You may charge any price or no price for each copy that you convey,
|
206 |
+
and you may offer support or warranty protection for a fee.
|
207 |
+
|
208 |
+
5. Conveying Modified Source Versions.
|
209 |
+
|
210 |
+
You may convey a work based on the Program, or the modifications to
|
211 |
+
produce it from the Program, in the form of source code under the
|
212 |
+
terms of section 4, provided that you also meet all of these conditions:
|
213 |
+
|
214 |
+
a) The work must carry prominent notices stating that you modified
|
215 |
+
it, and giving a relevant date.
|
216 |
+
|
217 |
+
b) The work must carry prominent notices stating that it is
|
218 |
+
released under this License and any conditions added under section
|
219 |
+
7. This requirement modifies the requirement in section 4 to
|
220 |
+
"keep intact all notices".
|
221 |
+
|
222 |
+
c) You must license the entire work, as a whole, under this
|
223 |
+
License to anyone who comes into possession of a copy. This
|
224 |
+
License will therefore apply, along with any applicable section 7
|
225 |
+
additional terms, to the whole of the work, and all its parts,
|
226 |
+
regardless of how they are packaged. This License gives no
|
227 |
+
permission to license the work in any other way, but it does not
|
228 |
+
invalidate such permission if you have separately received it.
|
229 |
+
|
230 |
+
d) If the work has interactive user interfaces, each must display
|
231 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
232 |
+
interfaces that do not display Appropriate Legal Notices, your
|
233 |
+
work need not make them do so.
|
234 |
+
|
235 |
+
A compilation of a covered work with other separate and independent
|
236 |
+
works, which are not by their nature extensions of the covered work,
|
237 |
+
and which are not combined with it such as to form a larger program,
|
238 |
+
in or on a volume of a storage or distribution medium, is called an
|
239 |
+
"aggregate" if the compilation and its resulting copyright are not
|
240 |
+
used to limit the access or legal rights of the compilation's users
|
241 |
+
beyond what the individual works permit. Inclusion of a covered work
|
242 |
+
in an aggregate does not cause this License to apply to the other
|
243 |
+
parts of the aggregate.
|
244 |
+
|
245 |
+
6. Conveying Non-Source Forms.
|
246 |
+
|
247 |
+
You may convey a covered work in object code form under the terms
|
248 |
+
of sections 4 and 5, provided that you also convey the
|
249 |
+
machine-readable Corresponding Source under the terms of this License,
|
250 |
+
in one of these ways:
|
251 |
+
|
252 |
+
a) Convey the object code in, or embodied in, a physical product
|
253 |
+
(including a physical distribution medium), accompanied by the
|
254 |
+
Corresponding Source fixed on a durable physical medium
|
255 |
+
customarily used for software interchange.
|
256 |
+
|
257 |
+
b) Convey the object code in, or embodied in, a physical product
|
258 |
+
(including a physical distribution medium), accompanied by a
|
259 |
+
written offer, valid for at least three years and valid for as
|
260 |
+
long as you offer spare parts or customer support for that product
|
261 |
+
model, to give anyone who possesses the object code either (1) a
|
262 |
+
copy of the Corresponding Source for all the software in the
|
263 |
+
product that is covered by this License, on a durable physical
|
264 |
+
medium customarily used for software interchange, for a price no
|
265 |
+
more than your reasonable cost of physically performing this
|
266 |
+
conveying of source, or (2) access to copy the
|
267 |
+
Corresponding Source from a network server at no charge.
|
268 |
+
|
269 |
+
c) Convey individual copies of the object code with a copy of the
|
270 |
+
written offer to provide the Corresponding Source. This
|
271 |
+
alternative is allowed only occasionally and noncommercially, and
|
272 |
+
only if you received the object code with such an offer, in accord
|
273 |
+
with subsection 6b.
|
274 |
+
|
275 |
+
d) Convey the object code by offering access from a designated
|
276 |
+
place (gratis or for a charge), and offer equivalent access to the
|
277 |
+
Corresponding Source in the same way through the same place at no
|
278 |
+
further charge. You need not require recipients to copy the
|
279 |
+
Corresponding Source along with the object code. If the place to
|
280 |
+
copy the object code is a network server, the Corresponding Source
|
281 |
+
may be on a different server (operated by you or a third party)
|
282 |
+
that supports equivalent copying facilities, provided you maintain
|
283 |
+
clear directions next to the object code saying where to find the
|
284 |
+
Corresponding Source. Regardless of what server hosts the
|
285 |
+
Corresponding Source, you remain obligated to ensure that it is
|
286 |
+
available for as long as needed to satisfy these requirements.
|
287 |
+
|
288 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
289 |
+
you inform other peers where the object code and Corresponding
|
290 |
+
Source of the work are being offered to the general public at no
|
291 |
+
charge under subsection 6d.
|
292 |
+
|
293 |
+
A separable portion of the object code, whose source code is excluded
|
294 |
+
from the Corresponding Source as a System Library, need not be
|
295 |
+
included in conveying the object code work.
|
296 |
+
|
297 |
+
A "User Product" is either (1) a "consumer product", which means any
|
298 |
+
tangible personal property which is normally used for personal, family,
|
299 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
300 |
+
into a dwelling. In determining whether a product is a consumer product,
|
301 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
302 |
+
product received by a particular user, "normally used" refers to a
|
303 |
+
typical or common use of that class of product, regardless of the status
|
304 |
+
of the particular user or of the way in which the particular user
|
305 |
+
actually uses, or expects or is expected to use, the product. A product
|
306 |
+
is a consumer product regardless of whether the product has substantial
|
307 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
308 |
+
the only significant mode of use of the product.
|
309 |
+
|
310 |
+
"Installation Information" for a User Product means any methods,
|
311 |
+
procedures, authorization keys, or other information required to install
|
312 |
+
and execute modified versions of a covered work in that User Product from
|
313 |
+
a modified version of its Corresponding Source. The information must
|
314 |
+
suffice to ensure that the continued functioning of the modified object
|
315 |
+
code is in no case prevented or interfered with solely because
|
316 |
+
modification has been made.
|
317 |
+
|
318 |
+
If you convey an object code work under this section in, or with, or
|
319 |
+
specifically for use in, a User Product, and the conveying occurs as
|
320 |
+
part of a transaction in which the right of possession and use of the
|
321 |
+
User Product is transferred to the recipient in perpetuity or for a
|
322 |
+
fixed term (regardless of how the transaction is characterized), the
|
323 |
+
Corresponding Source conveyed under this section must be accompanied
|
324 |
+
by the Installation Information. But this requirement does not apply
|
325 |
+
if neither you nor any third party retains the ability to install
|
326 |
+
modified object code on the User Product (for example, the work has
|
327 |
+
been installed in ROM).
|
328 |
+
|
329 |
+
The requirement to provide Installation Information does not include a
|
330 |
+
requirement to continue to provide support service, warranty, or updates
|
331 |
+
for a work that has been modified or installed by the recipient, or for
|
332 |
+
the User Product in which it has been modified or installed. Access to a
|
333 |
+
network may be denied when the modification itself materially and
|
334 |
+
adversely affects the operation of the network or violates the rules and
|
335 |
+
protocols for communication across the network.
|
336 |
+
|
337 |
+
Corresponding Source conveyed, and Installation Information provided,
|
338 |
+
in accord with this section must be in a format that is publicly
|
339 |
+
documented (and with an implementation available to the public in
|
340 |
+
source code form), and must require no special password or key for
|
341 |
+
unpacking, reading or copying.
|
342 |
+
|
343 |
+
7. Additional Terms.
|
344 |
+
|
345 |
+
"Additional permissions" are terms that supplement the terms of this
|
346 |
+
License by making exceptions from one or more of its conditions.
|
347 |
+
Additional permissions that are applicable to the entire Program shall
|
348 |
+
be treated as though they were included in this License, to the extent
|
349 |
+
that they are valid under applicable law. If additional permissions
|
350 |
+
apply only to part of the Program, that part may be used separately
|
351 |
+
under those permissions, but the entire Program remains governed by
|
352 |
+
this License without regard to the additional permissions.
|
353 |
+
|
354 |
+
When you convey a copy of a covered work, you may at your option
|
355 |
+
remove any additional permissions from that copy, or from any part of
|
356 |
+
it. (Additional permissions may be written to require their own
|
357 |
+
removal in certain cases when you modify the work.) You may place
|
358 |
+
additional permissions on material, added by you to a covered work,
|
359 |
+
for which you have or can give appropriate copyright permission.
|
360 |
+
|
361 |
+
Notwithstanding any other provision of this License, for material you
|
362 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
363 |
+
that material) supplement the terms of this License with terms:
|
364 |
+
|
365 |
+
a) Disclaiming warranty or limiting liability differently from the
|
366 |
+
terms of sections 15 and 16 of this License; or
|
367 |
+
|
368 |
+
b) Requiring preservation of specified reasonable legal notices or
|
369 |
+
author attributions in that material or in the Appropriate Legal
|
370 |
+
Notices displayed by works containing it; or
|
371 |
+
|
372 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
373 |
+
requiring that modified versions of such material be marked in
|
374 |
+
reasonable ways as different from the original version; or
|
375 |
+
|
376 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
377 |
+
authors of the material; or
|
378 |
+
|
379 |
+
e) Declining to grant rights under trademark law for use of some
|
380 |
+
trade names, trademarks, or service marks; or
|
381 |
+
|
382 |
+
f) Requiring indemnification of licensors and authors of that
|
383 |
+
material by anyone who conveys the material (or modified versions of
|
384 |
+
it) with contractual assumptions of liability to the recipient, for
|
385 |
+
any liability that these contractual assumptions directly impose on
|
386 |
+
those licensors and authors.
|
387 |
+
|
388 |
+
All other non-permissive additional terms are considered "further
|
389 |
+
restrictions" within the meaning of section 10. If the Program as you
|
390 |
+
received it, or any part of it, contains a notice stating that it is
|
391 |
+
governed by this License along with a term that is a further
|
392 |
+
restriction, you may remove that term. If a license document contains
|
393 |
+
a further restriction but permits relicensing or conveying under this
|
394 |
+
License, you may add to a covered work material governed by the terms
|
395 |
+
of that license document, provided that the further restriction does
|
396 |
+
not survive such relicensing or conveying.
|
397 |
+
|
398 |
+
If you add terms to a covered work in accord with this section, you
|
399 |
+
must place, in the relevant source files, a statement of the
|
400 |
+
additional terms that apply to those files, or a notice indicating
|
401 |
+
where to find the applicable terms.
|
402 |
+
|
403 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
404 |
+
form of a separately written license, or stated as exceptions;
|
405 |
+
the above requirements apply either way.
|
406 |
+
|
407 |
+
8. Termination.
|
408 |
+
|
409 |
+
You may not propagate or modify a covered work except as expressly
|
410 |
+
provided under this License. Any attempt otherwise to propagate or
|
411 |
+
modify it is void, and will automatically terminate your rights under
|
412 |
+
this License (including any patent licenses granted under the third
|
413 |
+
paragraph of section 11).
|
414 |
+
|
415 |
+
However, if you cease all violation of this License, then your
|
416 |
+
license from a particular copyright holder is reinstated (a)
|
417 |
+
provisionally, unless and until the copyright holder explicitly and
|
418 |
+
finally terminates your license, and (b) permanently, if the copyright
|
419 |
+
holder fails to notify you of the violation by some reasonable means
|
420 |
+
prior to 60 days after the cessation.
|
421 |
+
|
422 |
+
Moreover, your license from a particular copyright holder is
|
423 |
+
reinstated permanently if the copyright holder notifies you of the
|
424 |
+
violation by some reasonable means, this is the first time you have
|
425 |
+
received notice of violation of this License (for any work) from that
|
426 |
+
copyright holder, and you cure the violation prior to 30 days after
|
427 |
+
your receipt of the notice.
|
428 |
+
|
429 |
+
Termination of your rights under this section does not terminate the
|
430 |
+
licenses of parties who have received copies or rights from you under
|
431 |
+
this License. If your rights have been terminated and not permanently
|
432 |
+
reinstated, you do not qualify to receive new licenses for the same
|
433 |
+
material under section 10.
|
434 |
+
|
435 |
+
9. Acceptance Not Required for Having Copies.
|
436 |
+
|
437 |
+
You are not required to accept this License in order to receive or
|
438 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
439 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
440 |
+
to receive a copy likewise does not require acceptance. However,
|
441 |
+
nothing other than this License grants you permission to propagate or
|
442 |
+
modify any covered work. These actions infringe copyright if you do
|
443 |
+
not accept this License. Therefore, by modifying or propagating a
|
444 |
+
covered work, you indicate your acceptance of this License to do so.
|
445 |
+
|
446 |
+
10. Automatic Licensing of Downstream Recipients.
|
447 |
+
|
448 |
+
Each time you convey a covered work, the recipient automatically
|
449 |
+
receives a license from the original licensors, to run, modify and
|
450 |
+
propagate that work, subject to this License. You are not responsible
|
451 |
+
for enforcing compliance by third parties with this License.
|
452 |
+
|
453 |
+
An "entity transaction" is a transaction transferring control of an
|
454 |
+
organization, or substantially all assets of one, or subdividing an
|
455 |
+
organization, or merging organizations. If propagation of a covered
|
456 |
+
work results from an entity transaction, each party to that
|
457 |
+
transaction who receives a copy of the work also receives whatever
|
458 |
+
licenses to the work the party's predecessor in interest had or could
|
459 |
+
give under the previous paragraph, plus a right to possession of the
|
460 |
+
Corresponding Source of the work from the predecessor in interest, if
|
461 |
+
the predecessor has it or can get it with reasonable efforts.
|
462 |
+
|
463 |
+
You may not impose any further restrictions on the exercise of the
|
464 |
+
rights granted or affirmed under this License. For example, you may
|
465 |
+
not impose a license fee, royalty, or other charge for exercise of
|
466 |
+
rights granted under this License, and you may not initiate litigation
|
467 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
468 |
+
any patent claim is infringed by making, using, selling, offering for
|
469 |
+
sale, or importing the Program or any portion of it.
|
470 |
+
|
471 |
+
11. Patents.
|
472 |
+
|
473 |
+
A "contributor" is a copyright holder who authorizes use under this
|
474 |
+
License of the Program or a work on which the Program is based. The
|
475 |
+
work thus licensed is called the contributor's "contributor version".
|
476 |
+
|
477 |
+
A contributor's "essential patent claims" are all patent claims
|
478 |
+
owned or controlled by the contributor, whether already acquired or
|
479 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
480 |
+
by this License, of making, using, or selling its contributor version,
|
481 |
+
but do not include claims that would be infringed only as a
|
482 |
+
consequence of further modification of the contributor version. For
|
483 |
+
purposes of this definition, "control" includes the right to grant
|
484 |
+
patent sublicenses in a manner consistent with the requirements of
|
485 |
+
this License.
|
486 |
+
|
487 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
488 |
+
patent license under the contributor's essential patent claims, to
|
489 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
490 |
+
propagate the contents of its contributor version.
|
491 |
+
|
492 |
+
In the following three paragraphs, a "patent license" is any express
|
493 |
+
agreement or commitment, however denominated, not to enforce a patent
|
494 |
+
(such as an express permission to practice a patent or covenant not to
|
495 |
+
sue for patent infringement). To "grant" such a patent license to a
|
496 |
+
party means to make such an agreement or commitment not to enforce a
|
497 |
+
patent against the party.
|
498 |
+
|
499 |
+
If you convey a covered work, knowingly relying on a patent license,
|
500 |
+
and the Corresponding Source of the work is not available for anyone
|
501 |
+
to copy, free of charge and under the terms of this License, through a
|
502 |
+
publicly available network server or other readily accessible means,
|
503 |
+
then you must either (1) cause the Corresponding Source to be so
|
504 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
505 |
+
patent license for this particular work, or (3) arrange, in a manner
|
506 |
+
consistent with the requirements of this License, to extend the patent
|
507 |
+
license to downstream recipients. "Knowingly relying" means you have
|
508 |
+
actual knowledge that, but for the patent license, your conveying the
|
509 |
+
covered work in a country, or your recipient's use of the covered work
|
510 |
+
in a country, would infringe one or more identifiable patents in that
|
511 |
+
country that you have reason to believe are valid.
|
512 |
+
|
513 |
+
If, pursuant to or in connection with a single transaction or
|
514 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
515 |
+
covered work, and grant a patent license to some of the parties
|
516 |
+
receiving the covered work authorizing them to use, propagate, modify
|
517 |
+
or convey a specific copy of the covered work, then the patent license
|
518 |
+
you grant is automatically extended to all recipients of the covered
|
519 |
+
work and works based on it.
|
520 |
+
|
521 |
+
A patent license is "discriminatory" if it does not include within
|
522 |
+
the scope of its coverage, prohibits the exercise of, or is
|
523 |
+
conditioned on the non-exercise of one or more of the rights that are
|
524 |
+
specifically granted under this License. You may not convey a covered
|
525 |
+
work if you are a party to an arrangement with a third party that is
|
526 |
+
in the business of distributing software, under which you make payment
|
527 |
+
to the third party based on the extent of your activity of conveying
|
528 |
+
the work, and under which the third party grants, to any of the
|
529 |
+
parties who would receive the covered work from you, a discriminatory
|
530 |
+
patent license (a) in connection with copies of the covered work
|
531 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
532 |
+
for and in connection with specific products or compilations that
|
533 |
+
contain the covered work, unless you entered into that arrangement,
|
534 |
+
or that patent license was granted, prior to 28 March 2007.
|
535 |
+
|
536 |
+
Nothing in this License shall be construed as excluding or limiting
|
537 |
+
any implied license or other defenses to infringement that may
|
538 |
+
otherwise be available to you under applicable patent law.
|
539 |
+
|
540 |
+
12. No Surrender of Others' Freedom.
|
541 |
+
|
542 |
+
If conditions are imposed on you (whether by court order, agreement or
|
543 |
+
otherwise) that contradict the conditions of this License, they do not
|
544 |
+
excuse you from the conditions of this License. If you cannot convey a
|
545 |
+
covered work so as to satisfy simultaneously your obligations under this
|
546 |
+
License and any other pertinent obligations, then as a consequence you may
|
547 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
548 |
+
to collect a royalty for further conveying from those to whom you convey
|
549 |
+
the Program, the only way you could satisfy both those terms and this
|
550 |
+
License would be to refrain entirely from conveying the Program.
|
551 |
+
|
552 |
+
13. Use with the GNU Affero General Public License.
|
553 |
+
|
554 |
+
Notwithstanding any other provision of this License, you have
|
555 |
+
permission to link or combine any covered work with a work licensed
|
556 |
+
under version 3 of the GNU Affero General Public License into a single
|
557 |
+
combined work, and to convey the resulting work. The terms of this
|
558 |
+
License will continue to apply to the part which is the covered work,
|
559 |
+
but the special requirements of the GNU Affero General Public License,
|
560 |
+
section 13, concerning interaction through a network will apply to the
|
561 |
+
combination as such.
|
562 |
+
|
563 |
+
14. Revised Versions of this License.
|
564 |
+
|
565 |
+
The Free Software Foundation may publish revised and/or new versions of
|
566 |
+
the GNU General Public License from time to time. Such new versions will
|
567 |
+
be similar in spirit to the present version, but may differ in detail to
|
568 |
+
address new problems or concerns.
|
569 |
+
|
570 |
+
Each version is given a distinguishing version number. If the
|
571 |
+
Program specifies that a certain numbered version of the GNU General
|
572 |
+
Public License "or any later version" applies to it, you have the
|
573 |
+
option of following the terms and conditions either of that numbered
|
574 |
+
version or of any later version published by the Free Software
|
575 |
+
Foundation. If the Program does not specify a version number of the
|
576 |
+
GNU General Public License, you may choose any version ever published
|
577 |
+
by the Free Software Foundation.
|
578 |
+
|
579 |
+
If the Program specifies that a proxy can decide which future
|
580 |
+
versions of the GNU General Public License can be used, that proxy's
|
581 |
+
public statement of acceptance of a version permanently authorizes you
|
582 |
+
to choose that version for the Program.
|
583 |
+
|
584 |
+
Later license versions may give you additional or different
|
585 |
+
permissions. However, no additional obligations are imposed on any
|
586 |
+
author or copyright holder as a result of your choosing to follow a
|
587 |
+
later version.
|
588 |
+
|
589 |
+
15. Disclaimer of Warranty.
|
590 |
+
|
591 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
592 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
593 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
594 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
595 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
596 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
597 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
598 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
599 |
+
|
600 |
+
16. Limitation of Liability.
|
601 |
+
|
602 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
603 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
604 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
605 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
606 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
607 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
608 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
609 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
610 |
+
SUCH DAMAGES.
|
611 |
+
|
612 |
+
17. Interpretation of Sections 15 and 16.
|
613 |
+
|
614 |
+
If the disclaimer of warranty and limitation of liability provided
|
615 |
+
above cannot be given local legal effect according to their terms,
|
616 |
+
reviewing courts shall apply local law that most closely approximates
|
617 |
+
an absolute waiver of all civil liability in connection with the
|
618 |
+
Program, unless a warranty or assumption of liability accompanies a
|
619 |
+
copy of the Program in return for a fee.
|
620 |
+
|
621 |
+
END OF TERMS AND CONDITIONS
|
622 |
+
|
623 |
+
How to Apply These Terms to Your New Programs
|
624 |
+
|
625 |
+
If you develop a new program, and you want it to be of the greatest
|
626 |
+
possible use to the public, the best way to achieve this is to make it
|
627 |
+
free software which everyone can redistribute and change under these terms.
|
628 |
+
|
629 |
+
To do so, attach the following notices to the program. It is safest
|
630 |
+
to attach them to the start of each source file to most effectively
|
631 |
+
state the exclusion of warranty; and each file should have at least
|
632 |
+
the "copyright" line and a pointer to where the full notice is found.
|
633 |
+
|
634 |
+
{one line to give the program's name and a brief idea of what it does.}
|
635 |
+
Copyright (C) {year} {name of author}
|
636 |
+
|
637 |
+
This program is free software: you can redistribute it and/or modify
|
638 |
+
it under the terms of the GNU General Public License as published by
|
639 |
+
the Free Software Foundation, either version 3 of the License, or
|
640 |
+
(at your option) any later version.
|
641 |
+
|
642 |
+
This program is distributed in the hope that it will be useful,
|
643 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
644 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
645 |
+
GNU General Public License for more details.
|
646 |
+
|
647 |
+
You should have received a copy of the GNU General Public License
|
648 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
649 |
+
|
650 |
+
Also add information on how to contact you by electronic and paper mail.
|
651 |
+
|
652 |
+
If the program does terminal interaction, make it output a short
|
653 |
+
notice like this when it starts in an interactive mode:
|
654 |
+
|
655 |
+
{project} Copyright (C) {year} {fullname}
|
656 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
657 |
+
This is free software, and you are welcome to redistribute it
|
658 |
+
under certain conditions; type `show c' for details.
|
659 |
+
|
660 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
661 |
+
parts of the General Public License. Of course, your program's commands
|
662 |
+
might be different; for a GUI interface, you would use an "about box".
|
663 |
+
|
664 |
+
You should also get your employer (if you work as a programmer) or school,
|
665 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
666 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
667 |
+
<http://www.gnu.org/licenses/>.
|
668 |
+
|
669 |
+
The GNU General Public License does not permit incorporating your program
|
670 |
+
into proprietary programs. If your program is a subroutine library, you
|
671 |
+
may consider it more useful to permit linking proprietary applications with
|
672 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
673 |
+
Public License instead of this License. But first, please read
|
674 |
+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
freemius/README.md
ADDED
@@ -0,0 +1,253 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Freemius WordPress SDK
|
2 |
+
======================
|
3 |
+
|
4 |
+
[Monetization](https://freemius.com/wordpress/), [analytics](https://freemius.com/wordpress/insights/), and marketing automation platform for plugin & theme developers. Freemius empower developers to create prosperous subscription based businesses.
|
5 |
+
|
6 |
+
You can see some of the WordPress.org plugins & themes that are utilizing the power of Freemius here:
|
7 |
+
|
8 |
+
https://includewp.com/freemius/#focus
|
9 |
+
|
10 |
+
If you are a WordPress plugin or theme developer and you are interested to monetize with Freemius you can [sign-up here for free](https://dashboard.freemius.com/register/):
|
11 |
+
|
12 |
+
https://dashboard.freemius.com/register/
|
13 |
+
|
14 |
+
**Below you'll find the integration instructions for our WordPress SDK.**
|
15 |
+
|
16 |
+
## Code Documentation
|
17 |
+
|
18 |
+
You can find the SDK's PHP-Doc documentation here:
|
19 |
+
https://codedoc.pub/freemius/wordpress-sdk/master/
|
20 |
+
|
21 |
+
## Initializing the SDK
|
22 |
+
|
23 |
+
Copy the code below and paste it into the top of your main plugin's PHP file, right after the plugin's header comment:
|
24 |
+
|
25 |
+
```php
|
26 |
+
<?php
|
27 |
+
// Create a helper function for easy SDK access.
|
28 |
+
function my_prefix_fs() {
|
29 |
+
global $my_prefix_fs;
|
30 |
+
if ( ! isset( $my_prefix_fs ) ) {
|
31 |
+
// Include Freemius SDK.
|
32 |
+
require_once dirname(__FILE__) . '/freemius/start.php';
|
33 |
+
|
34 |
+
$my_prefix_fs = fs_dynamic_init( array(
|
35 |
+
'id' => '1234',
|
36 |
+
'slug' => 'my-plugin-slug',
|
37 |
+
'menu_slug' => 'my_menu_slug', // You can also use __FILE__
|
38 |
+
'public_key' => 'pk_MY_PUBLIC_KEY',
|
39 |
+
'is_live' => true,
|
40 |
+
'is_premium' => true,
|
41 |
+
'has_addons' => false,
|
42 |
+
'has_paid_plans' => false,
|
43 |
+
// Set the SDK to work in a sandbox mode (for development & testing).
|
44 |
+
// IMPORTANT: MAKE SURE TO REMOVE SECRET KEY BEFORE DEPLOYMENT.
|
45 |
+
'secret_key' => 'sk_MY_SECRET_KEY',
|
46 |
+
) );
|
47 |
+
}
|
48 |
+
|
49 |
+
return $my_prefix_fs;
|
50 |
+
}
|
51 |
+
|
52 |
+
// Init Freemius.
|
53 |
+
my_prefix_fs();
|
54 |
+
?>
|
55 |
+
```
|
56 |
+
|
57 |
+
- **1234** - Replace with your plugin's ID.
|
58 |
+
- **pk_MY_PUBLIC_KEY** - Replace with your plugin's public key.
|
59 |
+
- **sk_MY_SECRET_KEY** - Replace with your plugin's secret key.
|
60 |
+
- **my-plugin-slug** - Replace with your plugin's WordPress.org slug.
|
61 |
+
- **my_menu_slug** - Replace with your admin dashboard settings menu slug.
|
62 |
+
|
63 |
+
|
64 |
+
## Usage example
|
65 |
+
|
66 |
+
You can call the SDK by using the shortcode function:
|
67 |
+
|
68 |
+
```php
|
69 |
+
<?php my_prefix_fs()->get_upgrade_url(); ?>
|
70 |
+
```
|
71 |
+
|
72 |
+
Or when calling Freemius multiple times in a scope, it's recommended to use it with the global variable:
|
73 |
+
|
74 |
+
```php
|
75 |
+
<?php
|
76 |
+
global $my_prefix_fs;
|
77 |
+
$my_prefix_fs->get_account_url();
|
78 |
+
?>
|
79 |
+
```
|
80 |
+
|
81 |
+
## Adding license based logic examples
|
82 |
+
|
83 |
+
Add marketing content to encourage your users to upgrade for your paid version:
|
84 |
+
|
85 |
+
```php
|
86 |
+
<?php
|
87 |
+
if ( my_prefix_fs()->is_not_paying() ) {
|
88 |
+
echo '<section><h1>' . esc_html__('Awesome Premium Features', 'my-plugin-slug') . '</h1>';
|
89 |
+
echo '<a href="' . my_prefix_fs()->get_upgrade_url() . '">' .
|
90 |
+
esc_html__('Upgrade Now!', 'my-plugin-slug') .
|
91 |
+
'</a>';
|
92 |
+
echo '</section>';
|
93 |
+
}
|
94 |
+
?>
|
95 |
+
```
|
96 |
+
|
97 |
+
Add logic which will only be available in your premium plugin version:
|
98 |
+
|
99 |
+
```php
|
100 |
+
<?php
|
101 |
+
// This "if" block will be auto removed from the Free version.
|
102 |
+
if ( my_prefix_fs()->is__premium_only() ) {
|
103 |
+
|
104 |
+
// ... premium only logic ...
|
105 |
+
|
106 |
+
}
|
107 |
+
?>
|
108 |
+
```
|
109 |
+
|
110 |
+
To add a function which will only be available in your premium plugin version, simply add __premium_only as the suffix of the function name. Just make sure that all lines that call that method directly or by hooks, are also wrapped in premium only logic:
|
111 |
+
|
112 |
+
```php
|
113 |
+
<?php
|
114 |
+
class My_Plugin {
|
115 |
+
function init() {
|
116 |
+
...
|
117 |
+
|
118 |
+
// This "if" block will be auto removed from the free version.
|
119 |
+
if ( my_prefix_fs()->is__premium_only() ) {
|
120 |
+
// Init premium version.
|
121 |
+
$this->admin_init__premium_only();
|
122 |
+
|
123 |
+
add_action( 'admin_init', array( &$this, 'admin_init_hook__premium_only' );
|
124 |
+
}
|
125 |
+
|
126 |
+
...
|
127 |
+
}
|
128 |
+
|
129 |
+
// This method will be only included in the premium version.
|
130 |
+
function admin_init__premium_only() {
|
131 |
+
...
|
132 |
+
}
|
133 |
+
|
134 |
+
// This method will be only included in the premium version.
|
135 |
+
function admin_init_hook__premium_only() {
|
136 |
+
...
|
137 |
+
}
|
138 |
+
}
|
139 |
+
?>
|
140 |
+
```
|
141 |
+
|
142 |
+
Add logic which will only be executed for customers in your 'professional' plan:
|
143 |
+
|
144 |
+
```php
|
145 |
+
<?php
|
146 |
+
if ( my_prefix_fs()->is_plan('professional', true) ) {
|
147 |
+
// .. logic related to Professional plan only ...
|
148 |
+
}
|
149 |
+
?>
|
150 |
+
```
|
151 |
+
|
152 |
+
Add logic which will only be executed for customers in your 'professional' plan or higher plans:
|
153 |
+
|
154 |
+
```php
|
155 |
+
<?php
|
156 |
+
if ( my_prefix_fs()->is_plan('professional') ) {
|
157 |
+
// ... logic related to Professional plan and higher plans ...
|
158 |
+
}
|
159 |
+
?>
|
160 |
+
```
|
161 |
+
|
162 |
+
Add logic which will only be available in your premium plugin version AND will only be executed for customers in your 'professional' plan (and higher plans):
|
163 |
+
|
164 |
+
```php
|
165 |
+
<?php
|
166 |
+
// This "if" block will be auto removed from the Free version.
|
167 |
+
if ( my_prefix_fs()->is_plan__premium_only('professional') ) {
|
168 |
+
// ... logic related to Professional plan and higher plans ...
|
169 |
+
}
|
170 |
+
?>
|
171 |
+
```
|
172 |
+
|
173 |
+
Add logic only for users in trial:
|
174 |
+
|
175 |
+
```php
|
176 |
+
<?php
|
177 |
+
if ( my_prefix_fs()->is_trial() ) {
|
178 |
+
// ... logic for users in trial ...
|
179 |
+
}
|
180 |
+
?>
|
181 |
+
```
|
182 |
+
|
183 |
+
Add logic for specified paid plan:
|
184 |
+
|
185 |
+
```php
|
186 |
+
<?php
|
187 |
+
// This "if" block will be auto removed from the Free version.
|
188 |
+
if ( my_prefix_fs()->is__premium_only() ) {
|
189 |
+
if ( my_prefix_fs()->is_plan( 'professional', true ) ) {
|
190 |
+
|
191 |
+
// ... logic related to Professional plan only ...
|
192 |
+
|
193 |
+
} else if ( my_prefix_fs()->is_plan( 'business' ) ) {
|
194 |
+
|
195 |
+
// ... logic related to Business plan and higher plans ...
|
196 |
+
|
197 |
+
}
|
198 |
+
}
|
199 |
+
?>
|
200 |
+
```
|
201 |
+
|
202 |
+
## Excluding files and folders from the free plugin version
|
203 |
+
There are two ways to exclude files from your free version.
|
204 |
+
|
205 |
+
1. Add `__premium_only` just before the file extension. For example, functions__premium_only.php will be only included in the premium plugin version. This works for all type of files, not only PHP.
|
206 |
+
2. Add `@fs_premium_only` a sepcial meta tag to the plugin's main PHP file header. Example:
|
207 |
+
```php
|
208 |
+
<?php
|
209 |
+
/**
|
210 |
+
* Plugin Name: My Very Awesome Plugin
|
211 |
+
* Plugin URI: http://my-awesome-plugin.com
|
212 |
+
* Description: Create and manage Awesomeness right in WordPress.
|
213 |
+
* Version: 1.0.0
|
214 |
+
* Author: Awesomattic
|
215 |
+
* Author URI: http://my-awesome-plugin.com/me/
|
216 |
+
* License: GPLv2
|
217 |
+
* Text Domain: myplugin
|
218 |
+
* Domain Path: /langs
|
219 |
+
*
|
220 |
+
* @fs_premium_only /lib/functions.php, /premium-files/
|
221 |
+
*/
|
222 |
+
|
223 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
224 |
+
exit;
|
225 |
+
}
|
226 |
+
|
227 |
+
// ... my code ...
|
228 |
+
?>
|
229 |
+
```
|
230 |
+
The file `/lib/functions.php` and the directory `/premium-files/` will be removed from the free plugin version.
|
231 |
+
|
232 |
+
# WordPress.org Compliance
|
233 |
+
Based on [WordPress.org Guidelines](https://wordpress.org/plugins/about/guidelines/) you are not allowed to submit a plugin that has premium code in it:
|
234 |
+
> All code hosted by WordPress.org servers must be free and fully-functional. If you want to sell advanced features for a plugin (such as a "pro" version), then you must sell and serve that code from your own site, we will not host it on our servers.
|
235 |
+
|
236 |
+
Therefore, if you want to deploy your free plugin's version to WordPress.org, make sure you wrap all your premium code with `if ( my_prefix_fs()->{{ method }}__premium_only() )` or the other methods provided to exclude premium features & files from the free version.
|
237 |
+
|
238 |
+
## Deployment
|
239 |
+
Zip your plugin's root folder and upload it in the Deployment section in the *Freemius Developer's Dashboard*.
|
240 |
+
The plugin will be scanned and processed by a custom developed *PHP Processor* which will auto-generate two versions of your plugin:
|
241 |
+
|
242 |
+
1. **Premium version**: Identical to your uploaded version, including all code (except your `secret_key`). Will be enabled for download ONLY for your paying or in trial customers.
|
243 |
+
2. **Free version**: The code stripped from all your paid features (based on the logic added wrapped in `{ method }__premium_only()`).
|
244 |
+
|
245 |
+
The free version is the one that you should give your users to download. Therefore, download the free generated version and upload to your site. Or, if your plugin was WordPress.org complaint and you made sure to exclude all your premium code with the different provided techniques, you can deploy the downloaded free version to the .org repo.
|
246 |
+
|
247 |
+
## Reporting Bugs
|
248 |
+
Email dev [at] freemius [dot] com
|
249 |
+
|
250 |
+
## FAQ
|
251 |
+
|
252 |
+
## Copyright
|
253 |
+
Freemius, Inc.
|
freemius/assets/css/admin/account.css
ADDED
@@ -0,0 +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%}
|
freemius/assets/css/admin/add-ons.css
ADDED
@@ -0,0 +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 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 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-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{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:772px !important}#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}@media screen and (max-width: 961px){#fs_addons .fs-cards-list .fs-card{height:265px}}
|
freemius/assets/css/admin/affiliation.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
@charset "UTF-8";#fs_affiliation_content_wrapper #messages{margin-top:25px}#fs_affiliation_content_wrapper h3{font-size:24px;padding:0;margin-left:0}#fs_affiliation_content_wrapper ul li{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;list-style-type:none}#fs_affiliation_content_wrapper ul li:before{content:'✓';margin-right:10px;font-weight:bold}#fs_affiliation_content_wrapper p:not(.description),#fs_affiliation_content_wrapper li,#fs_affiliation_content_wrapper label{font-size:16px !important;line-height:26px !important}#fs_affiliation_content_wrapper .button{margin-top:20px;margin-bottom:7px;line-height:35px;height:40px;font-size:16px}#fs_affiliation_content_wrapper .button#cancel_button{margin-right:5px}#fs_affiliation_content_wrapper form .input-container{margin-bottom:15px}#fs_affiliation_content_wrapper form .input-container .input-label{font-weight:bold;display:block;width:100%}#fs_affiliation_content_wrapper form .input-container.input-container-text label,#fs_affiliation_content_wrapper form .input-container.input-container-text input,#fs_affiliation_content_wrapper form .input-container.input-container-text textarea{display:block}#fs_affiliation_content_wrapper form .input-container #add_domain,#fs_affiliation_content_wrapper form .input-container .remove-domain{text-decoration:none;display:inline-block;margin-top:3px}#fs_affiliation_content_wrapper form .input-container #add_domain:focus,#fs_affiliation_content_wrapper form .input-container .remove-domain:focus{box-shadow:none}#fs_affiliation_content_wrapper form .input-container #add_domain.disabled,#fs_affiliation_content_wrapper form .input-container .remove-domain.disabled{color:#aaa;cursor:default}#fs_affiliation_content_wrapper form #extra_domains_container .description{margin-top:0;position:relative;top:-4px}#fs_affiliation_content_wrapper form #extra_domains_container .extra-domain-input-container{margin-bottom:15px}#fs_affiliation_content_wrapper form #extra_domains_container .extra-domain-input-container .domain{display:inline-block;margin-right:5px}#fs_affiliation_content_wrapper form #extra_domains_container .extra-domain-input-container .domain:last-of-type{margin-bottom:0}
|
freemius/assets/css/admin/checkout.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
@media screen and (max-width: 782px){#wpbody-content{padding-bottom:0 !important}}
|
freemius/assets/css/admin/common.css
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
.theme-browser .theme .fs-premium-theme-badge{position:absolute;top:10px;right:0;background:#71ae00;color:#fff;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);font-size:1.1em}#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}
|
freemius/assets/css/admin/connect.css
ADDED
@@ -0,0 +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 #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}#multisite_options_container{margin-top:10px;border:1px solid #ccc;padding:5px}#multisite_options_container a{text-decoration:none}#multisite_options_container a:focus{box-shadow:none}#multisite_options_container a.selected{font-weight:bold}#multisite_options_container.apply-on-all-sites{border:0 none;padding:0}#multisite_options_container.apply-on-all-sites #all_sites_options{border-spacing:0}#multisite_options_container.apply-on-all-sites #all_sites_options td:not(:first-child){display:none}#multisite_options_container #sites_list_container{display:none;overflow:auto}#multisite_options_container #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}
|
freemius/assets/css/admin/debug.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.switch{position:relative;display:inline-block;font-size:1.6em;font-weight:bold;color:#ccc;text-shadow:0px 1px 1px rgba(255,255,255,0.8);height:18px;padding:6px 6px 5px 6px;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:4px;background:#ececec;box-shadow:0px 0px 4px rgba(0,0,0,0.1),inset 0px 1px 3px 0px rgba(0,0,0,0.1);cursor:pointer}.switch span{display:inline-block;width:35px;text-transform:uppercase}.switch span.on{color:#6bc406}.switch .toggle{position:absolute;top:1px;width:37px;height:25px;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.3);border-radius:4px;background:#fff;background:-moz-linear-gradient(top, #ececec 0%, #fff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ececec), color-stop(100%, #fff));background:-webkit-linear-gradient(top, #ececec 0%, #fff 100%);background:-o-linear-gradient(top, #ececec 0%, #fff 100%);background:-ms-linear-gradient(top, #ececec 0%, #fff 100%);background:linear-gradient(top, #ececec 0%, #fff 100%);box-shadow:inset 0px 1px 0px 0px rgba(255,255,255,0.5);z-index:999;-moz-transition:all 0.15s ease-in-out;-o-transition:all 0.15s ease-in-out;-ms-transition:all 0.15s ease-in-out;-webkit-transition:all 0.15s ease-in-out;transition:all 0.15s ease-in-out}.switch.on .toggle{left:2%}.switch.off .toggle{left:54%}.switch.round{padding:0px 20px;border-radius:40px}.switch.round .toggle{border-radius:40px;width:14px;height:14px}.switch.round.on .toggle{left:3%;background:#6bc406}.switch.round.off .toggle{left:58%}.switch-label{font-size:20px;line-height:31px;margin:0 5px}#fs_log_book table{font-family:Consolas,Monaco,monospace;font-size:12px}#fs_log_book table th{color:#ccc}#fs_log_book table tr{background:#232525}#fs_log_book table tr.alternate{background:#2b2b2b}#fs_log_book table tr td.fs-col--logger{color:#5a7435}#fs_log_book table tr td.fs-col--type{color:#ffc861}#fs_log_book table tr td.fs-col--function{color:#a7b7b1;font-weight:bold}#fs_log_book table tr td.fs-col--message,#fs_log_book table tr td.fs-col--message a{color:#9a73ac !important}#fs_log_book table tr td.fs-col--file{color:#d07922}#fs_log_book table tr td.fs-col--timestamp{color:#6596be}
|
freemius/assets/css/admin/dialog-boxes.css
ADDED
@@ -0,0 +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.license_key{width:100%}#license_options_container table,#license_options_container table select,#license_options_container table #available_license_key{width:100%}#license_options_container table td:first-child{width:1%}#license_options_container table #other_license_key_container label{position:relative;top:6px;float:left;margin-right:5px}#license_options_container table #other_license_key_container div{overflow:hidden;width:auto;height:30px;display:block;top:2px;position:relative}#license_options_container table #other_license_key_container div input{margin:0}#sites_list_container td{cursor:pointer}#multisite_options_container{margin-top:10px;border:1px solid #ccc;padding:5px}#multisite_options_container a{text-decoration:none}#multisite_options_container a:focus{box-shadow:none}#multisite_options_container a.selected{font-weight:bold}#multisite_options_container.apply-on-all-sites{border:0 none;padding:0}#multisite_options_container.apply-on-all-sites #all_sites_options{border-spacing:0}#multisite_options_container.apply-on-all-sites #all_sites_options td:not(:first-child){display:none}#multisite_options_container #sites_list_container{display:none;overflow:auto}#multisite_options_container #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}
|
freemius/assets/css/admin/gdpr-optin-notice.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.fs-notice[data-id^="gdpr_optin_actions"] .underlined{text-decoration:underline}.fs-notice[data-id^="gdpr_optin_actions"] ul .button,.fs-notice[data-id^="gdpr_optin_actions"] ul .action-description{vertical-align:middle}.fs-notice[data-id^="gdpr_optin_actions"] ul .action-description{display:inline-block;margin-left:3px}
|
freemius/assets/css/admin/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
// Hide file structure from users on unprotected servers.
|
freemius/assets/css/customizer.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
#fs_customizer_upsell .fs-customizer-plan{padding:10px 20px 20px 20px;border-radius:3px;background:#fff}#fs_customizer_upsell .fs-customizer-plan h2{position:relative;margin:0;line-height:2em;text-transform:uppercase}#fs_customizer_upsell .fs-customizer-plan h2 .button-link{top:-2px}#fs_customizer_upsell .fs-feature{position:relative}#fs_customizer_upsell .dashicons-yes{color:#0085ba;font-size:2em;vertical-align:bottom;margin-left:-7px;margin-right:10px}.rtl #fs_customizer_upsell .dashicons-yes{margin-left:10px;margin-right:-7px}#fs_customizer_upsell .dashicons-editor-help{color:#bbb;cursor:help}#fs_customizer_upsell .dashicons-editor-help .fs-feature-desc{opacity:0;visibility:hidden;-moz-transition:opacity 0.3s ease-in-out;-o-transition:opacity 0.3s ease-in-out;-ms-transition:opacity 0.3s ease-in-out;-webkit-transition:opacity 0.3s ease-in-out;transition:opacity 0.3s ease-in-out;position:absolute;background:#000;color:#fff;font-family:'arial', serif;font-size:12px;padding:10px;z-index:999999;bottom:100%;margin-bottom:5px;left:0;right:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:1px 1px 1px rgba(0,0,0,0.2);-webkit-box-shadow:1px 1px 1px rgba(0,0,0,0.2);box-shadow:1px 1px 1px rgba(0,0,0,0.2);line-height:1.3em;font-weight:bold;text-align:left}.rtl #fs_customizer_upsell .dashicons-editor-help .fs-feature-desc{text-align:right}#fs_customizer_upsell .dashicons-editor-help .fs-feature-desc::after{content:' ';display:block;width:0;height:0;border-style:solid;border-width:5px 5px 0 5px;border-color:#000 transparent transparent transparent;position:absolute;top:100%;left:21px}.rtl #fs_customizer_upsell .dashicons-editor-help .fs-feature-desc::after{right:21px;left:auto}#fs_customizer_upsell .dashicons-editor-help:hover .fs-feature-desc{visibility:visible;opacity:1}#fs_customizer_upsell .button-primary{display:block;text-align:center;margin-top:10px}#fs_customizer_support{display:block !important}#fs_customizer_support .button{float:right}#fs_customizer_support .button-group{width:100%;display:block;margin-top:10px}#fs_customizer_support .button-group .button{float:none;width:50%;text-align:center}
|
freemius/assets/css/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
// Hide file structure from users on unprotected servers.
|
freemius/assets/img/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
// Hide file structure from users on unprotected servers.
|
freemius/assets/img/plugin-icon.png
ADDED
Binary file
|
freemius/assets/img/theme-icon.png
ADDED
Binary file
|
freemius/assets/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
// Hide file structure from users on unprotected servers.
|
freemius/assets/js/index.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Silence is golden.
|
3 |
+
// Hide file structure from users on unprotected servers.
|
freemius/assets/js/nojquery.ba-postmessage.js
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* jQuery postMessage - v0.5 - 9/11/2009
|
3 |
+
* http://benalman.com/projects/jquery-postmessage-plugin/
|
4 |
+
*
|
5 |
+
* Copyright (c) 2009 "Cowboy" Ben Alman
|
6 |
+
* Dual licensed under the MIT and GPL licenses.
|
7 |
+
* http://benalman.com/about/license/
|
8 |
+
*
|
9 |
+
* Non-jQuery fork by Jeff Lee
|
10 |
+
*
|
11 |
+
* This fork consists of the following changes:
|
12 |
+
* 1. Basic code cleanup and restructuring, for legibility.
|
13 |
+
* 2. The `postMessage` and `receiveMessage` functions can be bound arbitrarily,
|
14 |
+
* in terms of both function names and object scope. Scope is specified by
|
15 |
+
* the the "this" context of NoJQueryPostMessageMixin();
|
16 |
+
* 3. I've removed the check for Opera 9.64, which used `$.browser`. There were
|
17 |
+
* at least three different GitHub users requesting the removal of this
|
18 |
+
* "Opera sniff" on the original project's Issues page, so I figured this
|
19 |
+
* would be a relatively safe change.
|
20 |
+
* 4. `postMessage` no longer uses `$.param` to serialize messages that are not
|
21 |
+
* strings. I actually prefer this structure anyway. `receiveMessage` does
|
22 |
+
* not implement a corresponding deserialization step, and as such it seems
|
23 |
+
* cleaner and more symmetric to leave both data serialization and
|
24 |
+
* deserialization to the client.
|
25 |
+
* 5. The use of `$.isFunction` is replaced by a functionally-identical check.
|
26 |
+
* 6. The `$:nomunge` YUI option is no longer necessary.
|
27 |
+
*/
|
28 |
+
|
29 |
+
function NoJQueryPostMessageMixin(postBinding, receiveBinding) {
|
30 |
+
|
31 |
+
var setMessageCallback, unsetMessageCallback, currentMsgCallback,
|
32 |
+
intervalId, lastHash, cacheBust = 1;
|
33 |
+
|
34 |
+
if (window.postMessage) {
|
35 |
+
|
36 |
+
if (window.addEventListener) {
|
37 |
+
setMessageCallback = function(callback) {
|
38 |
+
window.addEventListener('message', callback, false);
|
39 |
+
}
|
40 |
+
|
41 |
+
unsetMessageCallback = function(callback) {
|
42 |
+
window.removeEventListener('message', callback, false);
|
43 |
+
}
|
44 |
+
} else {
|
45 |
+
setMessageCallback = function(callback) {
|
46 |
+
window.attachEvent('onmessage', callback);
|
47 |
+
}
|
48 |
+
|
49 |
+
unsetMessageCallback = function(callback) {
|
50 |
+
window.detachEvent('onmessage', callback);
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
this[postBinding] = function(message, targetUrl, target) {
|
55 |
+
if (!targetUrl) {
|
56 |
+
return;
|
57 |
+
}
|
58 |
+
|
59 |
+
// The browser supports window.postMessage, so call it with a targetOrigin
|
60 |
+
// set appropriately, based on the targetUrl parameter.
|
61 |
+
target.postMessage( message, targetUrl.replace( /([^:]+:\/\/[^\/]+).*/, '$1' ) );
|
62 |
+
}
|
63 |
+
|
64 |
+
// Since the browser supports window.postMessage, the callback will be
|
65 |
+
// bound to the actual event associated with window.postMessage.
|
66 |
+
this[receiveBinding] = function(callback, sourceOrigin, delay) {
|
67 |
+
// Unbind an existing callback if it exists.
|
68 |
+
if (currentMsgCallback) {
|
69 |
+
unsetMessageCallback(currentMsgCallback);
|
70 |
+
currentMsgCallback = null;
|
71 |
+
}
|
72 |
+
|
73 |
+
if (!callback) {
|
74 |
+
return false;
|
75 |
+
}
|
76 |
+
|
77 |
+
// Bind the callback. A reference to the callback is stored for ease of
|
78 |
+
// unbinding.
|
79 |
+
currentMsgCallback = setMessageCallback(function(e) {
|
80 |
+
switch(Object.prototype.toString.call(sourceOrigin)) {
|
81 |
+
case '[object String]':
|
82 |
+
if (sourceOrigin !== e.origin) {
|
83 |
+
return false;
|
84 |
+
}
|
85 |
+
break;
|
86 |
+
case '[object Function]':
|
87 |
+
if (sourceOrigin(e.origin)) {
|
88 |
+
return false;
|
89 |
+
}
|
90 |
+
break;
|
91 |
+
}
|
92 |
+
|
93 |
+
callback(e);
|
94 |
+
});
|
95 |
+
};
|
96 |
+
|
97 |
+
} else {
|
98 |
+
|
99 |
+
this[postBinding] = function(message, targetUrl, target) {
|
100 |
+
if (!targetUrl) {
|
101 |
+
return;
|
102 |
+
}
|
103 |
+
|
104 |
+
// The browser does not support window.postMessage, so set the location
|
105 |
+
// of the target to targetUrl#message. A bit ugly, but it works! A cache
|
106 |
+
// bust parameter is added to ensure that repeat messages trigger the
|
107 |
+
// callback.
|
108 |
+
target.location = targetUrl.replace( /#.*$/, '' ) + '#' + (+new Date) + (cacheBust++) + '&' + message;
|
109 |
+
}
|
110 |
+
|
111 |
+
// Since the browser sucks, a polling loop will be started, and the
|
112 |
+
// callback will be called whenever the location.hash changes.
|
113 |
+
this[receiveBinding] = function(callback, sourceOrigin, delay) {
|
114 |
+
if (intervalId) {
|
115 |
+
clearInterval(intervalId);
|
116 |
+
intervalId = null;
|
117 |
+
}
|
118 |
+
|
119 |
+
if (callback) {
|
120 |
+
delay = typeof sourceOrigin === 'number'
|
121 |
+
? sourceOrigin
|
122 |
+
: typeof delay === 'number'
|
123 |
+
? delay
|
124 |
+
: 100;
|
125 |
+
|
126 |
+
intervalId = setInterval(function(){
|
127 |
+
var hash = document.location.hash,
|
128 |
+
re = /^#?\d+&/;
|
129 |
+
if ( hash !== lastHash && re.test( hash ) ) {
|
130 |
+
lastHash = hash;
|
131 |
+
callback({ data: hash.replace( re, '' ) });
|
132 |
+
}
|
133 |
+
}, delay );
|
134 |
+
}
|
135 |
+
};
|
136 |
+
|
137 |
+
}
|
138 |
+
|
139 |
+
return this;
|
140 |
+
}
|
freemius/assets/js/nojquery.ba-postmessage.min.js
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* nojquery-postmessage by Jeff Lee
|
3 |
+
* a non-jQuery fork of:
|
4 |
+
*
|
5 |
+
* jQuery postMessage - v0.5 - 9/11/2009
|
6 |
+
* http://benalman.com/projects/jquery-postmessage-plugin/
|
7 |
+
*
|
8 |
+
* Copyright (c) 2009 "Cowboy" Ben Alman
|
9 |
+
* Dual licensed under the MIT and GPL licenses.
|
10 |
+
* http://benalman.com/about/license/
|
11 |
+
*/
|
12 |
+
function NoJQueryPostMessageMixin(g,a){var b,h,e,d,f,c=1;if(window.postMessage){if(window.addEventListener){b=function(i){window.addEventListener("message",i,false)};h=function(i){window.removeEventListener("message",i,false)}}else{b=function(i){window.attachEvent("onmessage",i)};h=function(i){window.detachEvent("onmessage",i)}}this[g]=function(i,k,j){if(!k){return}j.postMessage(i,k.replace(/([^:]+:\/\/[^\/]+).*/,"$1"))};this[a]=function(k,j,i){if(e){h(e);e=null}if(!k){return false}e=b(function(l){switch(Object.prototype.toString.call(j)){case"[object String]":if(j!==l.origin){return false}break;case"[object Function]":if(j(l.origin)){return false}break}k(l)})}}else{this[g]=function(i,k,j){if(!k){return}j.location=k.replace(/#.*$/,"")+"#"+(+new Date)+(c++)+"&"+i};this[a]=function(k,j,i){if(d){clearInterval(d);d=null}if(k){i=typeof j==="number"?j:typeof i==="number"?i:100;d=setInterval(function(){var m=document.location.hash,l=/^#?\d+&/;if(m!==f&&l.test(m)){f=m;k({data:m.replace(l,"")})}},i)}}}return this};
|
freemius/assets/js/postmessage.js
ADDED
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function ($, undef) {
|
2 |
+
var global = this;
|
3 |
+
|
4 |
+
// Namespace.
|
5 |
+
global.FS = global.FS || {};
|
6 |
+
|
7 |
+
global.FS.PostMessage = function ()
|
8 |
+
{
|
9 |
+
var
|
10 |
+
_is_child = false,
|
11 |
+
_postman = new NoJQueryPostMessageMixin('postMessage', 'receiveMessage'),
|
12 |
+
_callbacks = {},
|
13 |
+
_base_url,
|
14 |
+
_parent_url = decodeURIComponent(document.location.hash.replace(/^#/, '')),
|
15 |
+
_parent_subdomain = _parent_url.substring(0, _parent_url.indexOf('/', ('https://' === _parent_url.substring(0, ('https://').length)) ? 8 : 7)),
|
16 |
+
_init = function () {
|
17 |
+
_postman.receiveMessage(function (e) {
|
18 |
+
var data = JSON.parse(e.data);
|
19 |
+
|
20 |
+
if (_callbacks[data.type]) {
|
21 |
+
for (var i = 0; i < _callbacks[data.type].length; i++) {
|
22 |
+
// Execute type callbacks.
|
23 |
+
_callbacks[data.type][i](data.data);
|
24 |
+
}
|
25 |
+
}
|
26 |
+
}, _base_url);
|
27 |
+
},
|
28 |
+
_hasParent = ('' !== _parent_url),
|
29 |
+
$window = $(window),
|
30 |
+
$html = $('html');
|
31 |
+
|
32 |
+
return {
|
33 |
+
init : function (url, iframes)
|
34 |
+
{
|
35 |
+
_base_url = url;
|
36 |
+
_init();
|
37 |
+
|
38 |
+
// Automatically receive forward messages.
|
39 |
+
FS.PostMessage.receiveOnce('forward', function (data){
|
40 |
+
window.location = data.url;
|
41 |
+
});
|
42 |
+
|
43 |
+
iframes = iframes || [];
|
44 |
+
|
45 |
+
if (iframes.length > 0) {
|
46 |
+
$window.on('scroll', function () {
|
47 |
+
for (var i = 0; i < iframes.length; i++) {
|
48 |
+
FS.PostMessage.postScroll(iframes[i]);
|
49 |
+
}
|
50 |
+
});
|
51 |
+
}
|
52 |
+
},
|
53 |
+
init_child : function ()
|
54 |
+
{
|
55 |
+
this.init(_parent_subdomain);
|
56 |
+
|
57 |
+
_is_child = true;
|
58 |
+
|
59 |
+
// Post height of a child right after window is loaded.
|
60 |
+
$(window).bind('load', function () {
|
61 |
+
FS.PostMessage.postHeight();
|
62 |
+
|
63 |
+
// Post message that window was loaded.
|
64 |
+
FS.PostMessage.post('loaded');
|
65 |
+
});
|
66 |
+
},
|
67 |
+
hasParent : function ()
|
68 |
+
{
|
69 |
+
return _hasParent;
|
70 |
+
},
|
71 |
+
postHeight : function (diff, wrapper) {
|
72 |
+
diff = diff || 0;
|
73 |
+
wrapper = wrapper || '#wrap_section';
|
74 |
+
this.post('height', {
|
75 |
+
height: diff + $(wrapper).outerHeight(true)
|
76 |
+
});
|
77 |
+
},
|
78 |
+
postScroll : function (iframe) {
|
79 |
+
this.post('scroll', {
|
80 |
+
top: $window.scrollTop(),
|
81 |
+
height: ($window.height() - parseFloat($html.css('paddingTop')) - parseFloat($html.css('marginTop')))
|
82 |
+
}, iframe);
|
83 |
+
},
|
84 |
+
post : function (type, data, iframe)
|
85 |
+
{
|
86 |
+
console.debug('PostMessage.post', type);
|
87 |
+
|
88 |
+
if (iframe)
|
89 |
+
{
|
90 |
+
// Post to iframe.
|
91 |
+
_postman.postMessage(JSON.stringify({
|
92 |
+
type: type,
|
93 |
+
data: data
|
94 |
+
}), iframe.src, iframe.contentWindow);
|
95 |
+
}
|
96 |
+
else {
|
97 |
+
// Post to parent.
|
98 |
+
_postman.postMessage(JSON.stringify({
|
99 |
+
type: type,
|
100 |
+
data: data
|
101 |
+
}), _parent_url, window.parent);
|
102 |
+
}
|
103 |
+
},
|
104 |
+
receive: function (type, callback)
|
105 |
+
{
|
106 |
+
console.debug('PostMessage.receive', type);
|
107 |
+
|
108 |
+
if (undef === _callbacks[type])
|
109 |
+
_callbacks[type] = [];
|
110 |
+
|
111 |
+
_callbacks[type].push(callback);
|
112 |
+
},
|
113 |
+
receiveOnce: function (type, callback)
|
114 |
+
{
|
115 |
+
if (this.is_set(type))
|
116 |
+
return;
|
117 |
+
|
118 |
+
this.receive(type, callback);
|
119 |
+
},
|
120 |
+
// Check if any callbacks assigned to a specified message type.
|
121 |
+
is_set: function (type)
|
122 |
+
{
|
123 |
+
return (undef != _callbacks[type]);
|
124 |
+
},
|
125 |
+
parent_url: function ()
|
126 |
+
{
|
127 |
+
return _parent_url;
|
128 |
+
},
|
129 |
+
parent_subdomain: function ()
|
130 |
+
{
|
131 |
+
return _parent_subdomain;
|
132 |
+
}
|
133 |
+
};
|
134 |
+
}();
|
135 |
+
})(jQuery);
|
freemius/assets/scss/_colors.scss
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
$menu-hover-color: #333;
|
2 |
+
$darkest-color: #000;
|
3 |
+
$fms-live-color: #71ae00;
|
4 |
+
$fms-test-color: #f7941d;
|
5 |
+
$fms-link-color: #29abe1;
|
6 |
+
$fms-link-hover-color: darken(#29abe1, 10%);
|
7 |
+
$body-bkg: #111;
|
8 |
+
$special-color: #d3135a;
|
9 |
+
$body-color: #f1f1f1;
|
10 |
+
$fms-white: #f1f1f1;
|
11 |
+
$container-bkg: #222;
|
12 |
+
$container-bkg-odd: #262626;
|
13 |
+
$container-border-color: #333;
|
14 |
+
$table-head-bkg: #333;
|
15 |
+
$table-head-color: #999;
|
16 |
+
$info-color: #999;
|
17 |
+
$error-color: #ff0000;
|
18 |
+
|
19 |
+
$fs-logo-blue-color: #29abe1;
|
20 |
+
$fs-logo-green-color: #71ae00;
|
21 |
+
$fs-logo-magenta-color: #d3135a;
|
22 |
+
|
23 |
+
// WordPress colors.
|
24 |
+
$page-header-bkg: #333;
|
25 |
+
$page-header-color: $fms-white;
|
26 |
+
$text-dark-color: #333;
|
27 |
+
$text-light-color: #666;
|
28 |
+
$text-lightest-color: #999;
|
29 |
+
|
30 |
+
// Notices.
|
31 |
+
$wp-notice-success-color: #f7fff7;
|
32 |
+
$wp-notice-success-dark-color: #46b450;
|
33 |
+
$wp-notice-error-color: #ffeaea;
|
34 |
+
$wp-notice-error-dark-color: #dc3232;
|
35 |
+
$wp-notice-warn-color: #fff8e5;
|
36 |
+
$wp-notice-warn-dark-color: #ffb900;
|
37 |
+
$fs-notice-promotion-border-color: #00a0d2;
|
38 |
+
$fs-notice-promotion-bkg: #f2fcff;
|
39 |
+
|
40 |
+
// WP Buttons.
|
41 |
+
$button-primary-bkg: #6bc406;
|
42 |
+
$button-primary-color: $fms-white;
|
43 |
+
$button-secondary-bkg: #333;
|
44 |
+
$button-secondary-color: $fms-white;
|
45 |
+
$featured-color: #6bc406;
|
46 |
+
$wp-selected-color: #0074a3;
|
47 |
+
$wp-button-alert-border-color: #d2593c;
|
48 |
+
$wp-button-alert-border-top-color: #ec6544;
|
49 |
+
$wp-button-alert-shadow-color: #d2593c;
|
50 |
+
$wp-button-alert-focused-shadow1-color: #dd6041;
|
51 |
+
$wp-button-alert-focused-shadow2-color: #e4a796;
|
52 |
+
$wp-button-alert-background-color: #f56a48;
|
53 |
+
$wp-button-alert-hovered-background-color: #fd6d4a;
|
54 |
+
$wp-button-alert-active-background-color: #dd6041;
|
55 |
+
$wp-button-alert-disabled-color: #f5b3a1;
|
56 |
+
$wp-button-alert-disabled-background-color: #e76444;
|
57 |
+
$wp-button-alert-disabled-border-color: #d85e40;
|
58 |
+
|
59 |
+
$wordpress_color: #01749A;
|
60 |
+
$blogger_color: #ff8100;
|
61 |
+
$wix_color: #fac102;
|
62 |
+
$shopify_color: #80d100;
|
63 |
+
$addthis_color: #fe6d4e;
|
64 |
+
$tumblr_color: #34506b;
|
65 |
+
$zepo_color: #00baf2;
|
66 |
+
$jquery_color: #000919;
|
67 |
+
$javascript_color: #00baf2;
|
68 |
+
$squarespace_color: #000;
|
69 |
+
|
70 |
+
$blog_color: #ff6600;
|
71 |
+
$facebook_color: #3b5998;
|
72 |
+
$twitter_color: #4099ff;
|
73 |
+
$linkedin_color: #4875b4;
|
74 |
+
$youtube_color: #ff3333;
|
75 |
+
$gplus_color: #c63d2d;
|
76 |
+
|
77 |
+
// Tooltip
|
78 |
+
$tooltip-color: #fff;
|
79 |
+
$tooltip-bkg-color: rgba(0,0,0,0.8);
|
freemius/assets/scss/_functions.scss
ADDED
File without changes
|
freemius/assets/scss/_load.scss
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
@import 'mixins';
|
2 |
+
@import "vars";
|
3 |
+
@import "functions";
|
4 |
+
@import "colors";
|
freemius/assets/scss/_mixins.scss
ADDED
@@ -0,0 +1,270 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// ---- CSS3 SASS MIXINS ----
|
2 |
+
// https://github.com/madr/css3-sass-mixins
|
3 |
+
//
|
4 |
+
// Copyright (C) 2011 by Anders Ytterström
|
5 |
+
//
|
6 |
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
7 |
+
// of this software and associated documentation files (the "Software"), to deal
|
8 |
+
// in the Software without restriction, including without limitation the rights
|
9 |
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10 |
+
// copies of the Software, and to permit persons to whom the Software is
|
11 |
+
// furnished to do so, subject to the following conditions:
|
12 |
+
//
|
13 |
+
// The above copyright notice and this permission notice shall be included in
|
14 |
+
// all copies or substantial portions of the Software.
|
15 |
+
//
|
16 |
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17 |
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18 |
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19 |
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20 |
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21 |
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22 |
+
// THE SOFTWARE.
|
23 |
+
//
|
24 |
+
|
25 |
+
// ---- LEGACY IE SUPPORT USING FILTERS ----
|
26 |
+
// Should IE filters be used or not?
|
27 |
+
// PROS: gradients, drop shadows etc will be handled by css.
|
28 |
+
// CONS: will harm the site performance badly,
|
29 |
+
// especially on sites with heavy rendering and scripting.
|
30 |
+
$useIEFilters: 0;
|
31 |
+
// might be 0 or 1. disabled by default.
|
32 |
+
// ---- /LEGACY IE SUPPORT USING FILTERS ----
|
33 |
+
|
34 |
+
|
35 |
+
@mixin background-size ($value) {
|
36 |
+
-webkit-background-size: $value;
|
37 |
+
background-size: $value;
|
38 |
+
}
|
39 |
+
|
40 |
+
@mixin border-image ($path, $offsets, $repeats) {
|
41 |
+
-moz-border-image: $path $offsets $repeats;
|
42 |
+
-o-border-image: $path $offsets $repeats;
|
43 |
+
-webkit-border-image: $path $offsets $repeats;
|
44 |
+
border-image: $path $offsets $repeats;
|
45 |
+
}
|
46 |
+
|
47 |
+
@mixin border-radius ($values...) {
|
48 |
+
-moz-border-radius: $values;
|
49 |
+
-webkit-border-radius: $values;
|
50 |
+
border-radius: $values;
|
51 |
+
/*-moz-background-clip: padding;
|
52 |
+
-webkit-background-clip: padding-box;
|
53 |
+
background-clip: padding-box;*/
|
54 |
+
}
|
55 |
+
|
56 |
+
@mixin box-shadow ($values...) {
|
57 |
+
-moz-box-shadow: $values;
|
58 |
+
-webkit-box-shadow: $values;
|
59 |
+
box-shadow: $values;
|
60 |
+
}
|
61 |
+
|
62 |
+
//@mixin box-shadow ($x, $y, $offset, $hex, $ie: $useIEFilters, $inset: null, $spread:null) {
|
63 |
+
// -moz-box-shadow: $x $y $offset $spread $hex $inset;
|
64 |
+
// -webkit-box-shadow: $x $y $offset $spread $hex $inset;
|
65 |
+
// box-shadow: $x $y $offset $spread $hex $inset;
|
66 |
+
//
|
67 |
+
// @if $ie == 1 {
|
68 |
+
// $iecolor: '#' + red($hex) + green($hex) + blue($hex);
|
69 |
+
// filter: progid:DXImageTransform.Microsoft.dropshadow(OffX=#{$x}, OffY=#{$y}, Color='#{$iecolor}');
|
70 |
+
// -ms-filter: quote(progid:DXImageTransform.Microsoft.dropshadow(OffX=#{$x}, OffY=#{$y}, Color='#{$iecolor}'));
|
71 |
+
// }
|
72 |
+
//}
|
73 |
+
|
74 |
+
@mixin box-sizing($value) {
|
75 |
+
-moz-box-sizing: $value;
|
76 |
+
-webkit-box-sizing: $value;
|
77 |
+
box-sizing: $value;
|
78 |
+
}
|
79 |
+
|
80 |
+
// requires sass 3.2
|
81 |
+
@mixin keyframes($name){
|
82 |
+
@-moz-keyframes #{$name} { @content; }
|
83 |
+
@-ms-keyframes #{$name} { @content; }
|
84 |
+
@-o-keyframes #{$name} { @content; }
|
85 |
+
@-webkit-keyframes #{$name} { @content; }
|
86 |
+
@keyframes #{$name} { @content; }
|
87 |
+
}
|
88 |
+
|
89 |
+
@mixin linear-gradient($from, $to, $ie: $useIEFilters) {
|
90 |
+
@if $ie != 1 { background-color: $to; }
|
91 |
+
|
92 |
+
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, $from),color-stop(1, $to));
|
93 |
+
background-image: -webkit-linear-gradient(top, $from, $to);
|
94 |
+
background-image: -moz-linear-gradient(top, $from, $to);
|
95 |
+
background-image: -ms-linear-gradient(top, $from, $to);
|
96 |
+
background-image: -o-linear-gradient(top, $from, $to);
|
97 |
+
background-image: linear-gradient(top, bottom, $from, $to);
|
98 |
+
|
99 |
+
@if $ie == 1 {
|
100 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$from}', endColorstr='#{$to}');
|
101 |
+
}
|
102 |
+
}
|
103 |
+
|
104 |
+
@mixin horizontal-gradient($startColor: #555, $endColor: #333, $ie: $useIEFilters) {
|
105 |
+
@if $ie != 1 { background-color: $endColor; }
|
106 |
+
|
107 |
+
background-color: $endColor;
|
108 |
+
background-image: -webkit-gradient(linear, 0 0, 100% 0, from($startColor), to($endColor)); // Safari 4+, Chrome 2+
|
109 |
+
background-image: -webkit-linear-gradient(left, $startColor, $endColor); // Safari 5.1+, Chrome 10+
|
110 |
+
background-image: -moz-linear-gradient(left, $startColor, $endColor); // FF 3.6+
|
111 |
+
background-image: -o-linear-gradient(left, $startColor, $endColor); // Opera 11.10
|
112 |
+
background-image: linear-gradient(to right, $startColor, $endColor); // Standard, IE10
|
113 |
+
background-repeat: repeat-x;
|
114 |
+
@if $ie == 1 {
|
115 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$startColor}', endColorstr='#{$endColor}', GradientType=1);
|
116 |
+
}
|
117 |
+
}
|
118 |
+
|
119 |
+
@mixin radial-gradient($from, $to, $ie: $useIEFilters) {
|
120 |
+
@if $ie != 1 { background-color: $to; }
|
121 |
+
|
122 |
+
background: -moz-radial-gradient(center, circle cover, $from 0%, $to 100%);
|
123 |
+
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, $from), color-stop(100%, $to));
|
124 |
+
background: -webkit-radial-gradient(center, circle cover, $from 0%, $to 100%);
|
125 |
+
background: -o-radial-gradient(center, circle cover, $from 0%, $to 100%);
|
126 |
+
background: -ms-radial-gradient(center, circle cover, $from 0%, $to 100%);
|
127 |
+
background: radial-gradient(center, circle cover, $from 0%, $to 100%);
|
128 |
+
background-color: $from;
|
129 |
+
|
130 |
+
@if $ie == 1 {
|
131 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{$from}', endColorstr='#{$to}', GradientType=1); /* IE6-9 fallback on horizontal gradient */
|
132 |
+
}
|
133 |
+
}
|
134 |
+
|
135 |
+
@mixin perspective($perspective) {
|
136 |
+
-moz-perspective: $perspective;
|
137 |
+
-ms-perspective: $perspective;
|
138 |
+
-webkit-perspective: $perspective;
|
139 |
+
perspective: $perspective;
|
140 |
+
-moz-transform-style: preserve-3d;
|
141 |
+
-ms-transform-style: preserve-3d;
|
142 |
+
-webkit-transform-style: preserve-3d;
|
143 |
+
transform-style: preserve-3d;
|
144 |
+
}
|
145 |
+
|
146 |
+
@mixin transform ($transforms) {
|
147 |
+
-moz-transform: $transforms;
|
148 |
+
-o-transform: $transforms;
|
149 |
+
-ms-transform: $transforms;
|
150 |
+
-webkit-transform: $transforms;
|
151 |
+
transform: $transforms;
|
152 |
+
}
|
153 |
+
|
154 |
+
@mixin matrix ($a, $b, $c, $d, $e, $f) {
|
155 |
+
-moz-transform: matrix($a, $b, $c, $d, #{$e}px, #{$f}px);
|
156 |
+
-o-transform: matrix($a, $b, $c, $d, $e, $f);
|
157 |
+
-ms-transform: matrix($a, $b, $c, $d, $e, $f);
|
158 |
+
-webkit-transform: matrix($a, $b, $c, $d, $e, $f);
|
159 |
+
transform: matrix($a, $b, $c, $d, $e, $f);
|
160 |
+
}
|
161 |
+
|
162 |
+
@mixin rotate ($deg) {
|
163 |
+
@include transform(rotate(#{$deg}deg));
|
164 |
+
}
|
165 |
+
|
166 |
+
@mixin scale ($size) {
|
167 |
+
@include transform(scale(#{$size}));
|
168 |
+
}
|
169 |
+
|
170 |
+
@mixin translate ($x, $y) {
|
171 |
+
@include transform(translate($x, $y));
|
172 |
+
}
|
173 |
+
|
174 |
+
@mixin transition ($value...) {
|
175 |
+
-moz-transition: $value;
|
176 |
+
-o-transition: $value;
|
177 |
+
-ms-transition: $value;
|
178 |
+
-webkit-transition: $value;
|
179 |
+
transition: $value;
|
180 |
+
}
|
181 |
+
|
182 |
+
@mixin animation($str) {
|
183 |
+
-webkit-animation: #{$str};
|
184 |
+
-moz-animation: #{$str};
|
185 |
+
-ms-animation: #{$str};
|
186 |
+
-o-animation: #{$str};
|
187 |
+
animation: #{$str};
|
188 |
+
}
|
189 |
+
|
190 |
+
@mixin animation-name($str) {
|
191 |
+
-webkit-animation-name: #{$str};
|
192 |
+
-moz-animation-name: #{$str};
|
193 |
+
-ms-animation-name: #{$str};
|
194 |
+
-o-animation-name: #{$str};
|
195 |
+
animation-name: #{$str};
|
196 |
+
}
|
197 |
+
|
198 |
+
@mixin animation-duration($str) {
|
199 |
+
-webkit-animation-duration: #{$str};
|
200 |
+
-moz-animation-duration: #{$str};
|
201 |
+
-ms-animation-duration: #{$str};
|
202 |
+
-o-animation-duration: #{$str};
|
203 |
+
animation-duration: #{$str};
|
204 |
+
}
|
205 |
+
|
206 |
+
@mixin animation-direction($str) {
|
207 |
+
-webkit-animation-direction: #{$str};
|
208 |
+
-moz-animation-direction: #{$str};
|
209 |
+
-ms-animation-direction: #{$str};
|
210 |
+
-o-animation-direction: #{$str};
|
211 |
+
animation-direction: #{$str};
|
212 |
+
}
|
213 |
+
|
214 |
+
@mixin animation-delay($str) {
|
215 |
+
animation-delay:#{$str};
|
216 |
+
-o-animation-delay:#{$str};
|
217 |
+
-ms-animation-delay:#{$str};
|
218 |
+
-webkit-animation-delay:#{$str};
|
219 |
+
-moz-animation-delay:#{$str};
|
220 |
+
}
|
221 |
+
|
222 |
+
@mixin animation-iteration-count($str) {
|
223 |
+
animation-iteration-count:#{$str};
|
224 |
+
-o-animation-iteration-count:#{$str};
|
225 |
+
-ms-animation-iteration-count:#{$str};
|
226 |
+
-webkit-animation-iteration-count:#{$str};
|
227 |
+
-moz-animation-iteration-count:#{$str};
|
228 |
+
}
|
229 |
+
|
230 |
+
@mixin animation-timing-function($str) {
|
231 |
+
-webkit-animation-timing-function: #{$str};
|
232 |
+
-moz-animation-timing-function: #{$str};
|
233 |
+
-ms-animation-timing-function: #{$str};
|
234 |
+
-o-animation-timing-function: #{$str};
|
235 |
+
animation-timing-function: #{$str};
|
236 |
+
}
|
237 |
+
|
238 |
+
// ==== /CSS3 SASS MIXINS ====
|
239 |
+
|
240 |
+
@mixin opacity($opacity) {
|
241 |
+
opacity: $opacity;
|
242 |
+
$opacity-ie: $opacity * 100;
|
243 |
+
filter: alpha(opacity=$opacity-ie); //IE8
|
244 |
+
}
|
245 |
+
|
246 |
+
@mixin size($width, $height: $width)
|
247 |
+
{
|
248 |
+
width: $width;
|
249 |
+
height: $height;
|
250 |
+
}
|
251 |
+
|
252 |
+
@mixin clearfix
|
253 |
+
{
|
254 |
+
&:after {
|
255 |
+
content: "";
|
256 |
+
display: table;
|
257 |
+
clear: both;
|
258 |
+
}
|
259 |
+
}
|
260 |
+
|
261 |
+
// Placeholder text
|
262 |
+
@mixin placeholder($color: $input-color-placeholder) {
|
263 |
+
// Firefox
|
264 |
+
&::-moz-placeholder {
|
265 |
+
color: $color;
|
266 |
+
opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
|
267 |
+
}
|
268 |
+
&:-ms-input-placeholder { color: $color; } // Internet Explorer 10+
|
269 |
+
&::-webkit-input-placeholder { color: $color; } // Safari and Chrome
|
270 |
+
}
|
freemius/assets/scss/_start.scss
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
@import "vars";
|
2 |
+
@import "colors";
|
3 |
+
@import "mixins";
|
4 |
+
@import "functions";
|
freemius/assets/scss/_vars.scss
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
$is_production: true;
|
2 |
+
|
3 |
+
$img_common: if($is_production == true, '//img.freemius.com', 'http://img.freemius:8080');
|
4 |
+
|
5 |
+
$layout_width: 960px;
|
6 |
+
$admin_mobile_max_width: 782px;
|
freemius/assets/scss/admin/_ajax-loader.scss
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
$color: $wp-selected-color;
|
2 |
+
$bkg-color: #fff;
|
3 |
+
$size: 20;
|
4 |
+
|
5 |
+
.fs-ajax-loader
|
6 |
+
{
|
7 |
+
position: relative;
|
8 |
+
width: #{8*$size + 10}px;
|
9 |
+
height: #{$size}px;
|
10 |
+
margin: auto;
|
11 |
+
|
12 |
+
.fs-ajax-loader-bar
|
13 |
+
{
|
14 |
+
position: absolute;
|
15 |
+
top: 0;
|
16 |
+
background-color: $color;
|
17 |
+
width: #{$size}px;
|
18 |
+
height: #{$size}px;
|
19 |
+
@include animation-name(bounce_ajaxLoader);
|
20 |
+
@include animation-duration(1.5s);
|
21 |
+
@include animation-iteration-count(infinite);
|
22 |
+
@include animation-direction(normal);
|
23 |
+
@include transform(.3);
|
24 |
+
}
|
25 |
+
|
26 |
+
@for $i from 0 through 7
|
27 |
+
{
|
28 |
+
.fs-ajax-loader-bar-#{$i + 1}
|
29 |
+
{
|
30 |
+
left: #{$i*($size - 1)}px;
|
31 |
+
@include animation-delay(#{0.6 + $i*0.15}s);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
@include keyframes(bounce_ajaxLoader)
|
37 |
+
{
|
38 |
+
0%
|
39 |
+
{
|
40 |
+
@include transform(scale(1));
|
41 |
+
background-color: $color;
|
42 |
+
}
|
43 |
+
|
44 |
+
100%
|
45 |
+
{
|
46 |
+
@include transform(scale(.3));
|
47 |
+
background-color: $bkg-color;
|
48 |
+
}
|
49 |
+
}
|
freemius/assets/scss/admin/_auto-install.scss
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.fs-modal-auto-install
|
2 |
+
{
|
3 |
+
$max-width: 300px;
|
4 |
+
|
5 |
+
#request-filesystem-credentials-form
|
6 |
+
{
|
7 |
+
h2,
|
8 |
+
.request-filesystem-credentials-action-buttons
|
9 |
+
{
|
10 |
+
display: none;
|
11 |
+
}
|
12 |
+
|
13 |
+
input[type=password],
|
14 |
+
input[type=email],
|
15 |
+
input[type=text]
|
16 |
+
{
|
17 |
+
-webkit-appearance: none;
|
18 |
+
padding: 10px 10px 5px 10px;
|
19 |
+
width: $max-width;
|
20 |
+
max-width: 100%;
|
21 |
+
}
|
22 |
+
|
23 |
+
> div,
|
24 |
+
label,
|
25 |
+
fieldset
|
26 |
+
{
|
27 |
+
width: $max-width;
|
28 |
+
max-width: 100%;
|
29 |
+
margin: 0 auto;
|
30 |
+
display: block;
|
31 |
+
}
|
32 |
+
}
|
33 |
+
}
|
freemius/assets/scss/admin/_buttons.scss
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.button-primary.warn {
|
2 |
+
box-shadow: 0 1px 0 $wp-button-alert-shadow-color;
|
3 |
+
text-shadow: 0 -1px 1px $wp-button-alert-shadow-color, 1px 0 1px $wp-button-alert-shadow-color, 0 1px 1px $wp-button-alert-shadow-color, -1px 0 1px $wp-button-alert-shadow-color;
|
4 |
+
background: $wp-button-alert-background-color;
|
5 |
+
border-color: $wp-button-alert-border-top-color $wp-button-alert-border-color $wp-button-alert-border-color;
|
6 |
+
|
7 |
+
&:hover {
|
8 |
+
background: $wp-button-alert-hovered-background-color;
|
9 |
+
border-color: $wp-button-alert-border-color;
|
10 |
+
}
|
11 |
+
|
12 |
+
&:focus {
|
13 |
+
box-shadow: 0 1px 0 $wp-button-alert-focused-shadow1-color, 0 0 2px 1px $wp-button-alert-focused-shadow2-color;
|
14 |
+
}
|
15 |
+
|
16 |
+
&:active {
|
17 |
+
background: $wp-button-alert-active-background-color;
|
18 |
+
border-color: $wp-button-alert-border-color;
|
19 |
+
box-shadow: inset 0 2px 0 $wp-button-alert-shadow-color;
|
20 |
+
}
|
21 |
+
|
22 |
+
&.disabled {
|
23 |
+
color: $wp-button-alert-disabled-color !important;
|
24 |
+
background: $wp-button-alert-disabled-background-color !important;
|
25 |
+
border-color: $wp-button-alert-disabled-border-color !important;
|
26 |
+
text-shadow: 0 -1px 0 rgba(0,0,0,.1) !important;
|
27 |
+
}
|
28 |
+
}
|
freemius/assets/scss/admin/_deactivation-feedback.scss
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../colors";
|
2 |
+
|
3 |
+
.fs-modal.fs-modal-deactivation-feedback {
|
4 |
+
.reason-input, .internal-message {
|
5 |
+
margin: 3px 0 3px 22px;
|
6 |
+
|
7 |
+
input, textarea {
|
8 |
+
width: 100%;
|
9 |
+
}
|
10 |
+
}
|
11 |
+
|
12 |
+
li.reason {
|
13 |
+
&.has-internal-message .internal-message {
|
14 |
+
border: 1px solid lighten($darkest-color, 80%);
|
15 |
+
padding: 7px;
|
16 |
+
display: none;
|
17 |
+
}
|
18 |
+
|
19 |
+
@media (max-width: 650px) {
|
20 |
+
li.reason {
|
21 |
+
margin-bottom: 10px;
|
22 |
+
|
23 |
+
.reason-input, .internal-message {
|
24 |
+
margin-left: 29px;
|
25 |
+
}
|
26 |
+
|
27 |
+
label {
|
28 |
+
display: table;
|
29 |
+
|
30 |
+
> span {
|
31 |
+
display: table-cell;
|
32 |
+
font-size: 1.3em;
|
33 |
+
}
|
34 |
+
}
|
35 |
+
}
|
36 |
+
}
|
37 |
+
}
|
38 |
+
|
39 |
+
.anonymous-feedback-label {
|
40 |
+
float: left;
|
41 |
+
}
|
42 |
+
|
43 |
+
.fs-modal-panel {
|
44 |
+
margin-top: 0 !important;
|
45 |
+
|
46 |
+
h3 {
|
47 |
+
margin-top: 0;
|
48 |
+
line-height: 1.5em;
|
49 |
+
}
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
#the-list .deactivate > .fs-slug {
|
54 |
+
display: none;
|
55 |
+
}
|
freemius/assets/scss/admin/_gdpr-consent.scss
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#fs_marketing_optin
|
2 |
+
{
|
3 |
+
display: none;
|
4 |
+
margin-top: 10px;
|
5 |
+
border: 1px solid #ccc;
|
6 |
+
padding: 10px;
|
7 |
+
line-height: 1.5em;
|
8 |
+
|
9 |
+
.fs-message
|
10 |
+
{
|
11 |
+
display: block;
|
12 |
+
margin-bottom: 5px;
|
13 |
+
font-size: 1.05em;
|
14 |
+
font-weight: 600;
|
15 |
+
}
|
16 |
+
|
17 |
+
&.error
|
18 |
+
{
|
19 |
+
border: 1px solid $fs-logo-magenta-color;
|
20 |
+
background: #fee;
|
21 |
+
|
22 |
+
.fs-message
|
23 |
+
{
|
24 |
+
color: $fs-logo-magenta-color;
|
25 |
+
}
|
26 |
+
}
|
27 |
+
|
28 |
+
.fs-input-container
|
29 |
+
{
|
30 |
+
margin-top: 5px;
|
31 |
+
|
32 |
+
label
|
33 |
+
{
|
34 |
+
margin-top: 5px;
|
35 |
+
display: block;
|
36 |
+
|
37 |
+
input
|
38 |
+
{
|
39 |
+
float: left;
|
40 |
+
margin: 1px 0 0 0;
|
41 |
+
}
|
42 |
+
|
43 |
+
&:first-child
|
44 |
+
{
|
45 |
+
display: block;
|
46 |
+
margin-bottom: 2px;
|
47 |
+
}
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
.fs-input-label
|
52 |
+
{
|
53 |
+
display: block;
|
54 |
+
margin-left: 20px;
|
55 |
+
|
56 |
+
.underlined
|
57 |
+
{
|
58 |
+
text-decoration: underline;
|
59 |
+
}
|
60 |
+
}
|
61 |
+
}
|
62 |
+
|
63 |
+
.rtl
|
64 |
+
{
|
65 |
+
#fs_marketing_optin
|
66 |
+
{
|
67 |
+
.fs-input-container
|
68 |
+
{
|
69 |
+
label input
|
70 |
+
{
|
71 |
+
float: right;
|
72 |
+
}
|
73 |
+
}
|
74 |
+
|
75 |
+
.fs-input-label
|
76 |
+
{
|
77 |
+
margin-left: 0;
|
78 |
+
margin-right: 20px;
|
79 |
+
}
|
80 |
+
}
|
81 |
+
}
|
freemius/assets/scss/admin/_license-activation.scss
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.fs-modal.fs-modal-license-activation {
|
2 |
+
.fs-modal-body {
|
3 |
+
input.license_key {
|
4 |
+
width: 100%;
|
5 |
+
}
|
6 |
+
}
|
7 |
+
}
|
8 |
+
|
9 |
+
#license_options_container {
|
10 |
+
table {
|
11 |
+
&, select, #available_license_key {
|
12 |
+
width: 100%;
|
13 |
+
}
|
14 |
+
|
15 |
+
td:first-child {
|
16 |
+
width: 1%;
|
17 |
+
}
|
18 |
+
|
19 |
+
#other_license_key_container {
|
20 |
+
label {
|
21 |
+
position: relative;
|
22 |
+
top: 6px;
|
23 |
+
float: left;
|
24 |
+
margin-right: 5px;
|
25 |
+
}
|
26 |
+
|
27 |
+
div {
|
28 |
+
overflow: hidden;
|
29 |
+
width: auto;
|
30 |
+
height: 30px;
|
31 |
+
display: block;
|
32 |
+
top: 2px;
|
33 |
+
position: relative;
|
34 |
+
|
35 |
+
input {
|
36 |
+
margin: 0;
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
#sites_list_container {
|
44 |
+
td {
|
45 |
+
cursor: pointer;
|
46 |
+
}
|
47 |
+
}
|
freemius/assets/scss/admin/_license-key-resend.scss
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.fs-modal.fs-modal-license-key-resend
|
2 |
+
{
|
3 |
+
.email-address-container
|
4 |
+
{
|
5 |
+
overflow: hidden;
|
6 |
+
padding-right: 2px;
|
7 |
+
}
|
8 |
+
|
9 |
+
&.fs-freemium
|
10 |
+
{
|
11 |
+
input.email-address
|
12 |
+
{
|
13 |
+
width: 300px;
|
14 |
+
}
|
15 |
+
|
16 |
+
label
|
17 |
+
{
|
18 |
+
display: block;
|
19 |
+
margin-bottom: 10px;
|
20 |
+
}
|
21 |
+
}
|
22 |
+
|
23 |
+
&.fs-premium
|
24 |
+
{
|
25 |
+
input.email-address
|
26 |
+
{
|
27 |
+
width: 100%;
|
28 |
+
}
|
29 |
+
|
30 |
+
.button-container
|
31 |
+
{
|
32 |
+
float: right;
|
33 |
+
margin-left: 7px;
|
34 |
+
|
35 |
+
@media (max-width: 650px) {
|
36 |
+
margin-top: 2px;
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|
41 |
+
|
42 |
+
.rtl
|
43 |
+
{
|
44 |
+
.fs-modal.fs-modal-license-key-resend
|
45 |
+
{
|
46 |
+
.fs-modal-body
|
47 |
+
{
|
48 |
+
.input-container > .email-address-container
|
49 |
+
{
|
50 |
+
padding-left: 2px;
|
51 |
+
padding-right: 0;
|
52 |
+
}
|
53 |
+
|
54 |
+
.button-container
|
55 |
+
{
|
56 |
+
float: left;
|
57 |
+
margin-right: 7px;
|
58 |
+
margin-left: 0;
|
59 |
+
}
|
60 |
+
}
|
61 |
+
}
|
62 |
+
}
|
63 |
+
|
64 |
+
a.show-license-resend-modal
|
65 |
+
{
|
66 |
+
margin-top: 4px;
|
67 |
+
display: inline-block;
|
68 |
+
}
|
freemius/assets/scss/admin/_modal-common.scss
ADDED
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../colors";
|
2 |
+
@import "../mixins";
|
3 |
+
|
4 |
+
.fs-modal {
|
5 |
+
position: fixed;
|
6 |
+
overflow: auto;
|
7 |
+
height: 100%;
|
8 |
+
width: 100%;
|
9 |
+
top: 0;
|
10 |
+
z-index: 100000;
|
11 |
+
display: none;
|
12 |
+
background: rgba(0, 0, 0, 0.6);
|
13 |
+
|
14 |
+
.fs-modal-dialog {
|
15 |
+
background: transparent;
|
16 |
+
position: absolute;
|
17 |
+
left: 50%;
|
18 |
+
margin-left: -298px;
|
19 |
+
padding-bottom: 30px;
|
20 |
+
top: -100%;
|
21 |
+
z-index: 100001;
|
22 |
+
width: 596px;
|
23 |
+
|
24 |
+
@media (max-width: 650px) {
|
25 |
+
margin-left: -50%;
|
26 |
+
box-sizing: border-box;
|
27 |
+
padding-left: 10px;
|
28 |
+
padding-right: 10px;
|
29 |
+
width: 100%;
|
30 |
+
|
31 |
+
.fs-modal-panel > h3 > strong {
|
32 |
+
font-size: 1.3em;
|
33 |
+
}
|
34 |
+
}
|
35 |
+
}
|
36 |
+
|
37 |
+
&.active {
|
38 |
+
display: block;
|
39 |
+
|
40 |
+
&:before {
|
41 |
+
display: block;
|
42 |
+
}
|
43 |
+
|
44 |
+
.fs-modal-dialog {
|
45 |
+
top: 10%;
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
&.fs-success {
|
50 |
+
.fs-modal-header {
|
51 |
+
border-bottom-color: $wp-notice-success-dark-color;
|
52 |
+
}
|
53 |
+
|
54 |
+
.fs-modal-body {
|
55 |
+
background-color: $wp-notice-success-color;
|
56 |
+
}
|
57 |
+
}
|
58 |
+
|
59 |
+
&.fs-warn {
|
60 |
+
.fs-modal-header {
|
61 |
+
border-bottom-color: $wp-notice-warn-dark-color;
|
62 |
+
}
|
63 |
+
|
64 |
+
.fs-modal-body {
|
65 |
+
background-color: $wp-notice-warn-color;
|
66 |
+
}
|
67 |
+
}
|
68 |
+
|
69 |
+
&.fs-error {
|
70 |
+
.fs-modal-header {
|
71 |
+
border-bottom-color: $wp-notice-error-dark-color;
|
72 |
+
}
|
73 |
+
|
74 |
+
.fs-modal-body {
|
75 |
+
background-color: $wp-notice-error-color;
|
76 |
+
}
|
77 |
+
}
|
78 |
+
|
79 |
+
|
80 |
+
.fs-modal-body,
|
81 |
+
.fs-modal-footer {
|
82 |
+
border: 0;
|
83 |
+
background: #fefefe;
|
84 |
+
padding: 20px;
|
85 |
+
}
|
86 |
+
|
87 |
+
.fs-modal-header {
|
88 |
+
border-bottom: #eeeeee solid 1px;
|
89 |
+
background: #fbfbfb;
|
90 |
+
padding: 15px 20px;
|
91 |
+
position: relative;
|
92 |
+
margin-bottom: -10px;
|
93 |
+
// z-index: 2;
|
94 |
+
|
95 |
+
h4 {
|
96 |
+
margin: 0;
|
97 |
+
padding: 0;
|
98 |
+
text-transform: uppercase;
|
99 |
+
font-size: 1.2em;
|
100 |
+
font-weight: bold;
|
101 |
+
color: #cacaca;
|
102 |
+
text-shadow: 1px 1px 1px #fff;
|
103 |
+
letter-spacing: 0.6px;
|
104 |
+
-webkit-font-smoothing: antialiased;
|
105 |
+
}
|
106 |
+
|
107 |
+
.fs-close {
|
108 |
+
position: absolute;
|
109 |
+
right: 10px;
|
110 |
+
top: 12px;
|
111 |
+
cursor: pointer;
|
112 |
+
color: #bbb;
|
113 |
+
@include border-radius(20px);
|
114 |
+
padding: 3px;
|
115 |
+
@include transition(all 0.2s ease-in-out);
|
116 |
+
|
117 |
+
&:hover {
|
118 |
+
color: #fff;
|
119 |
+
background: #aaa;
|
120 |
+
}
|
121 |
+
|
122 |
+
&, &:hover
|
123 |
+
{
|
124 |
+
.dashicons
|
125 |
+
{
|
126 |
+
text-decoration: none;
|
127 |
+
}
|
128 |
+
}
|
129 |
+
}
|
130 |
+
}
|
131 |
+
|
132 |
+
.fs-modal-body {
|
133 |
+
border-bottom: 0;
|
134 |
+
|
135 |
+
p {
|
136 |
+
font-size: 14px;
|
137 |
+
}
|
138 |
+
|
139 |
+
h2 {
|
140 |
+
font-size: 20px;
|
141 |
+
line-height: 1.5em;
|
142 |
+
}
|
143 |
+
|
144 |
+
> div {
|
145 |
+
margin-top: 10px;
|
146 |
+
|
147 |
+
h2 {
|
148 |
+
font-weight: bold;
|
149 |
+
font-size: 20px;
|
150 |
+
margin-top: 0;
|
151 |
+
}
|
152 |
+
}
|
153 |
+
}
|
154 |
+
|
155 |
+
.fs-modal-footer {
|
156 |
+
border-top: #eeeeee solid 1px;
|
157 |
+
text-align: right;
|
158 |
+
|
159 |
+
> .button {
|
160 |
+
margin: 0 7px;
|
161 |
+
|
162 |
+
&:first-child {
|
163 |
+
margin: 0;
|
164 |
+
}
|
165 |
+
}
|
166 |
+
}
|
167 |
+
|
168 |
+
.fs-modal-panel {
|
169 |
+
> .notice.inline {
|
170 |
+
margin: 0;
|
171 |
+
display: none;
|
172 |
+
}
|
173 |
+
|
174 |
+
&:not(.active) {
|
175 |
+
display: none;
|
176 |
+
}
|
177 |
+
}
|
178 |
+
}
|
179 |
+
|
180 |
+
.rtl
|
181 |
+
{
|
182 |
+
.fs-modal {
|
183 |
+
.fs-modal-header {
|
184 |
+
.fs-close {
|
185 |
+
right: auto;
|
186 |
+
left: 20px;
|
187 |
+
}
|
188 |
+
}
|
189 |
+
}
|
190 |
+
}
|
191 |
+
|
192 |
+
body.has-fs-modal {
|
193 |
+
overflow: hidden;
|
194 |
+
}
|
freemius/assets/scss/admin/_multisite-options.scss
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#multisite_options_container {
|
2 |
+
margin-top: 10px;
|
3 |
+
border: 1px solid #ccc;
|
4 |
+
padding: 5px;
|
5 |
+
|
6 |
+
a {
|
7 |
+
text-decoration: none;
|
8 |
+
|
9 |
+
&:focus {
|
10 |
+
box-shadow: none;
|
11 |
+
}
|
12 |
+
|
13 |
+
&.selected {
|
14 |
+
font-weight: bold;
|
15 |
+
}
|
16 |
+
}
|
17 |
+
|
18 |
+
&.apply-on-all-sites {
|
19 |
+
border: 0 none;
|
20 |
+
padding: 0;
|
21 |
+
|
22 |
+
#all_sites_options {
|
23 |
+
border-spacing: 0;
|
24 |
+
|
25 |
+
td:not(:first-child) {
|
26 |
+
display: none;
|
27 |
+
}
|
28 |
+
}
|
29 |
+
}
|
30 |
+
|
31 |
+
#sites_list_container {
|
32 |
+
display: none;
|
33 |
+
overflow: auto;
|
34 |
+
|
35 |
+
table td {
|
36 |
+
border-top: 1px solid #ccc;
|
37 |
+
padding: 4px 2px;
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|
freemius/assets/scss/admin/_plugin-upgrade-notice.scss
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.plugins p.fs-upgrade-notice
|
2 |
+
{
|
3 |
+
border: 0;
|
4 |
+
background-color: #d54e21;
|
5 |
+
padding: 10px;
|
6 |
+
color: #f9f9f9;
|
7 |
+
margin-top: 10px;
|
8 |
+
}
|
freemius/assets/scss/admin/_subscription-cancellation.scss
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.fs-modal.fs-modal-subscription-cancellation {
|
2 |
+
.fs-price-increase-warning {
|
3 |
+
color: red;
|
4 |
+
font-weight: bold;
|
5 |
+
padding: 0 25px;
|
6 |
+
margin-bottom: 0;
|
7 |
+
}
|
8 |
+
|
9 |
+
ul.subscription-actions label {
|
10 |
+
input {
|
11 |
+
float: left;
|
12 |
+
top: 5px;
|
13 |
+
position: relative;
|
14 |
+
|
15 |
+
.rtl & {
|
16 |
+
float: right;
|
17 |
+
}
|
18 |
+
}
|
19 |
+
|
20 |
+
span {
|
21 |
+
display: block;
|
22 |
+
margin-left: 24px;
|
23 |
+
|
24 |
+
.rtl & {
|
25 |
+
margin-left: 0;
|
26 |
+
margin-right: 24px;
|
27 |
+
}
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}
|
freemius/assets/scss/admin/_themes.scss
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.theme-browser
|
2 |
+
{
|
3 |
+
.theme
|
4 |
+
{
|
5 |
+
.fs-premium-theme-badge
|
6 |
+
{
|
7 |
+
position: absolute;
|
8 |
+
top: 10px;
|
9 |
+
right: 0;
|
10 |
+
background: $fs-logo-green-color;
|
11 |
+
color: #fff;
|
12 |
+
text-transform: uppercase;
|
13 |
+
padding: 5px 10px;
|
14 |
+
@include border-radius(3px 0 0 3px);
|
15 |
+
font-weight: bold;
|
16 |
+
border-right: 0;
|
17 |
+
@include box-shadow(0 2px 1px -1px rgba(0, 0, 0, .3));
|
18 |
+
font-size: 1.1em;
|
19 |
+
}
|
20 |
+
}
|
21 |
+
}
|
freemius/assets/scss/admin/_tooltip.scss
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.fs-tooltip-trigger
|
2 |
+
{
|
3 |
+
&:not(a)
|
4 |
+
{
|
5 |
+
cursor: help;
|
6 |
+
}
|
7 |
+
|
8 |
+
position: relative;
|
9 |
+
|
10 |
+
.fs-tooltip
|
11 |
+
{
|
12 |
+
opacity: 0;
|
13 |
+
visibility: hidden;
|
14 |
+
@include transition(opacity 0.3s ease-in-out);
|
15 |
+
position: absolute;
|
16 |
+
background: $tooltip-bkg-color;
|
17 |
+
color: $tooltip-color;
|
18 |
+
font-family: 'arial', serif;
|
19 |
+
font-size: 12px;
|
20 |
+
padding: 10px;
|
21 |
+
z-index: 999999;
|
22 |
+
bottom: 100%;
|
23 |
+
margin-bottom: 5px;
|
24 |
+
left: 0;
|
25 |
+
right: 0;
|
26 |
+
@include border-radius(5px);
|
27 |
+
@include box-shadow(1px 1px 1px rgba(0, 0, 0, 0.2));
|
28 |
+
line-height: 1.3em;
|
29 |
+
font-weight: bold;
|
30 |
+
text-align: left;
|
31 |
+
|
32 |
+
.rtl &
|
33 |
+
{
|
34 |
+
text-align: right;
|
35 |
+
}
|
36 |
+
|
37 |
+
&::after
|
38 |
+
{
|
39 |
+
content: ' ';
|
40 |
+
display: block;
|
41 |
+
width: 0;
|
42 |
+
height: 0;
|
43 |
+
border-style: solid;
|
44 |
+
border-width: 5px 5px 0 5px;
|
45 |
+
border-color: $tooltip-bkg-color transparent transparent transparent;
|
46 |
+
position: absolute;
|
47 |
+
top: 100%;
|
48 |
+
left: 21px;
|
49 |
+
|
50 |
+
.rtl &
|
51 |
+
{
|
52 |
+
right: 21px;
|
53 |
+
left: auto;
|
54 |
+
}
|
55 |
+
}
|
56 |
+
}
|
57 |
+
|
58 |
+
&:hover
|
59 |
+
{
|
60 |
+
.fs-tooltip
|
61 |
+
{
|
62 |
+
visibility: visible;
|
63 |
+
opacity: 1;
|
64 |
+
}
|
65 |
+
}
|
66 |
+
}
|
freemius/assets/scss/admin/account.scss
ADDED
@@ -0,0 +1,302 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../start";
|
2 |
+
|
3 |
+
#fs_account
|
4 |
+
{
|
5 |
+
.postbox,
|
6 |
+
.widefat
|
7 |
+
{
|
8 |
+
max-width: 700px;
|
9 |
+
}
|
10 |
+
|
11 |
+
h3
|
12 |
+
{
|
13 |
+
font-size: 1.3em;
|
14 |
+
padding: 12px 15px;
|
15 |
+
margin: 0 0 12px 0;
|
16 |
+
line-height: 1.4;
|
17 |
+
border-bottom: 1px solid #F1F1F1;
|
18 |
+
|
19 |
+
.dashicons {
|
20 |
+
width: 26px;
|
21 |
+
height: 26px;
|
22 |
+
font-size: 1.3em;
|
23 |
+
}
|
24 |
+
}
|
25 |
+
|
26 |
+
i.dashicons
|
27 |
+
{
|
28 |
+
font-size: 1.2em;
|
29 |
+
height: 1.2em;
|
30 |
+
width: 1.2em;
|
31 |
+
}
|
32 |
+
|
33 |
+
.dashicons
|
34 |
+
{
|
35 |
+
vertical-align: middle;
|
36 |
+
}
|
37 |
+
|
38 |
+
.fs-header-actions
|
39 |
+
{
|
40 |
+
position: absolute;
|
41 |
+
top: 17px;
|
42 |
+
right: 15px;
|
43 |
+
font-size: 0.9em;
|
44 |
+
|
45 |
+
ul
|
46 |
+
{
|
47 |
+
margin: 0;
|
48 |
+
}
|
49 |
+
|
50 |
+
li
|
51 |
+
{
|
52 |
+
form
|
53 |
+
{
|
54 |
+
display: inline-block;
|
55 |
+
}
|
56 |
+
|
57 |
+
float: left;
|
58 |
+
a
|
59 |
+
{
|
60 |
+
text-decoration: none;
|
61 |
+
}
|
62 |
+
}
|
63 |
+
}
|
64 |
+
}
|
65 |
+
|
66 |
+
#fs_account_details .button-group {
|
67 |
+
float: right;
|
68 |
+
}
|
69 |
+
|
70 |
+
.rtl #fs_account .fs-header-actions
|
71 |
+
{
|
72 |
+
left: 15px;
|
73 |
+
right: auto;
|
74 |
+
}
|
75 |
+
|
76 |
+
.fs-key-value-table
|
77 |
+
{
|
78 |
+
width: 100%;
|
79 |
+
|
80 |
+
form
|
81 |
+
{
|
82 |
+
display: inline-block;
|
83 |
+
}
|
84 |
+
|
85 |
+
tr
|
86 |
+
{
|
87 |
+
td:first-child
|
88 |
+
{
|
89 |
+
nobr
|
90 |
+
{
|
91 |
+
font-weight: bold;
|
92 |
+
}
|
93 |
+
|
94 |
+
text-align: right;
|
95 |
+
|
96 |
+
form
|
97 |
+
{
|
98 |
+
display: block;
|
99 |
+
}
|
100 |
+
}
|
101 |
+
|
102 |
+
td.fs-right
|
103 |
+
{
|
104 |
+
text-align: right;
|
105 |
+
}
|
106 |
+
|
107 |
+
&.fs-odd
|
108 |
+
{
|
109 |
+
background: #ebebeb;
|
110 |
+
}
|
111 |
+
}
|
112 |
+
|
113 |
+
td, th
|
114 |
+
{
|
115 |
+
padding: 10px;
|
116 |
+
}
|
117 |
+
|
118 |
+
code {
|
119 |
+
line-height: 28px;
|
120 |
+
}
|
121 |
+
|
122 |
+
var, code, input[type="text"]
|
123 |
+
{
|
124 |
+
color: #0073AA;
|
125 |
+
font-size: 16px;
|
126 |
+
background: none;
|
127 |
+
}
|
128 |
+
|
129 |
+
input[type="text"] {
|
130 |
+
width: 100%;
|
131 |
+
font-weight: bold;
|
132 |
+
}
|
133 |
+
}
|
134 |
+
|
135 |
+
label.fs-tag
|
136 |
+
{
|
137 |
+
background: #ffba00;
|
138 |
+
color: #fff;
|
139 |
+
display: inline-block;
|
140 |
+
border-radius: 3px;
|
141 |
+
padding: 5px;
|
142 |
+
font-size: 11px;
|
143 |
+
line-height: 11px;
|
144 |
+
vertical-align: baseline;
|
145 |
+
|
146 |
+
&.fs-warn
|
147 |
+
{
|
148 |
+
background: #ffba00;
|
149 |
+
}
|
150 |
+
&.fs-success
|
151 |
+
{
|
152 |
+
background: #46b450;
|
153 |
+
}
|
154 |
+
&.fs-error
|
155 |
+
{
|
156 |
+
background: #dc3232;
|
157 |
+
}
|
158 |
+
}
|
159 |
+
|
160 |
+
#fs_sites
|
161 |
+
{
|
162 |
+
.fs-scrollable-table
|
163 |
+
{
|
164 |
+
.fs-table-body {
|
165 |
+
max-height: 200px;
|
166 |
+
overflow: auto;
|
167 |
+
border: 1px solid #e5e5e5;
|
168 |
+
|
169 |
+
& > table.widefat {
|
170 |
+
border: none !important;
|
171 |
+
}
|
172 |
+
}
|
173 |
+
|
174 |
+
.fs-main-column {
|
175 |
+
width: 100%;
|
176 |
+
}
|
177 |
+
|
178 |
+
.fs-site-details
|
179 |
+
{
|
180 |
+
td:first-of-type
|
181 |
+
{
|
182 |
+
text-align: right;
|
183 |
+
color: grey;
|
184 |
+
width: 1px;
|
185 |
+
}
|
186 |
+
|
187 |
+
td:last-of-type
|
188 |
+
{
|
189 |
+
text-align: right;
|
190 |
+
}
|
191 |
+
}
|
192 |
+
|
193 |
+
.fs-install-details table
|
194 |
+
{
|
195 |
+
tr td
|
196 |
+
{
|
197 |
+
width: 1px;
|
198 |
+
white-space: nowrap;
|
199 |
+
|
200 |
+
&:last-of-type
|
201 |
+
{
|
202 |
+
width: auto;
|
203 |
+
}
|
204 |
+
}
|
205 |
+
}
|
206 |
+
}
|
207 |
+
}
|
208 |
+
|
209 |
+
#fs_addons
|
210 |
+
{
|
211 |
+
h3
|
212 |
+
{
|
213 |
+
border: none;
|
214 |
+
margin-bottom: 0;
|
215 |
+
padding: 4px 5px;
|
216 |
+
}
|
217 |
+
|
218 |
+
td
|
219 |
+
{
|
220 |
+
vertical-align: middle;
|
221 |
+
}
|
222 |
+
|
223 |
+
thead {
|
224 |
+
white-space: nowrap;
|
225 |
+
}
|
226 |
+
|
227 |
+
td:first-child,
|
228 |
+
th:first-child
|
229 |
+
{
|
230 |
+
text-align: left;
|
231 |
+
font-weight: bold;
|
232 |
+
}
|
233 |
+
td:last-child,
|
234 |
+
th:last-child
|
235 |
+
{
|
236 |
+
text-align: right;
|
237 |
+
}
|
238 |
+
th
|
239 |
+
{
|
240 |
+
font-weight: bold;
|
241 |
+
}
|
242 |
+
}
|
243 |
+
|
244 |
+
#fs_billing_address {
|
245 |
+
width: 100%;
|
246 |
+
|
247 |
+
tr {
|
248 |
+
td {
|
249 |
+
width: 50%;
|
250 |
+
padding: 5px;
|
251 |
+
}
|
252 |
+
|
253 |
+
&:first-of-type {
|
254 |
+
td {
|
255 |
+
padding-top: 0;
|
256 |
+
}
|
257 |
+
}
|
258 |
+
}
|
259 |
+
|
260 |
+
@mixin read-mode {
|
261 |
+
border-color: transparent;
|
262 |
+
color: #777;
|
263 |
+
border-bottom: 1px dashed #ccc;
|
264 |
+
padding-left: 0;
|
265 |
+
background: none;
|
266 |
+
}
|
267 |
+
|
268 |
+
span {
|
269 |
+
font-weight: bold;
|
270 |
+
}
|
271 |
+
|
272 |
+
input, select {
|
273 |
+
@include placeholder(transparent);
|
274 |
+
|
275 |
+
display: block;
|
276 |
+
width: 100%;
|
277 |
+
margin-top: 5px;
|
278 |
+
|
279 |
+
&.fs-read-mode {
|
280 |
+
@include read-mode();
|
281 |
+
}
|
282 |
+
}
|
283 |
+
|
284 |
+
|
285 |
+
&.fs-read-mode {
|
286 |
+
td span {
|
287 |
+
display: none;
|
288 |
+
}
|
289 |
+
|
290 |
+
input, select
|
291 |
+
{
|
292 |
+
@include read-mode();
|
293 |
+
@include placeholder(#ccc);
|
294 |
+
}
|
295 |
+
}
|
296 |
+
|
297 |
+
|
298 |
+
button {
|
299 |
+
display: block;
|
300 |
+
width: 100%;
|
301 |
+
}
|
302 |
+
}
|
freemius/assets/scss/admin/add-ons.scss
ADDED
@@ -0,0 +1,449 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../start";
|
2 |
+
|
3 |
+
#fs_addons
|
4 |
+
{
|
5 |
+
.fs-cards-list
|
6 |
+
{
|
7 |
+
list-style: none;
|
8 |
+
|
9 |
+
.fs-card
|
10 |
+
{
|
11 |
+
float: left;
|
12 |
+
// height: 185px; // With reviews/ratings
|
13 |
+
height: 152px;
|
14 |
+
width: 310px;
|
15 |
+
padding: 0;
|
16 |
+
margin: 0 0 30px 30px;
|
17 |
+
font-size: 14px;
|
18 |
+
list-style: none;
|
19 |
+
border: 1px solid #ddd;
|
20 |
+
cursor: pointer;
|
21 |
+
position: relative;
|
22 |
+
|
23 |
+
.fs-overlay
|
24 |
+
{
|
25 |
+
position: absolute;
|
26 |
+
left: 0;
|
27 |
+
right: 0;
|
28 |
+
bottom: 0;
|
29 |
+
top: 0;
|
30 |
+
z-index: 9;
|
31 |
+
}
|
32 |
+
|
33 |
+
.fs-inner
|
34 |
+
{
|
35 |
+
background-color: #fff;
|
36 |
+
overflow: hidden;
|
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 |
+
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 |
+
.fs-card-banner
|
60 |
+
{
|
61 |
+
padding: 0;
|
62 |
+
margin: 0;
|
63 |
+
line-height: 0;
|
64 |
+
display: block;
|
65 |
+
height: 100px;
|
66 |
+
background-repeat: repeat-x;
|
67 |
+
background-size: 100% 100%;
|
68 |
+
@include transition(all, 0.15s);
|
69 |
+
}
|
70 |
+
|
71 |
+
.fs-title
|
72 |
+
{
|
73 |
+
margin: 10px 0 0 0;
|
74 |
+
height: 18px;
|
75 |
+
overflow: hidden;
|
76 |
+
color: #000;
|
77 |
+
white-space: nowrap;
|
78 |
+
text-overflow: ellipsis;
|
79 |
+
font-weight: bold;
|
80 |
+
}
|
81 |
+
|
82 |
+
.fs-offer
|
83 |
+
{
|
84 |
+
font-size: 0.9em;
|
85 |
+
}
|
86 |
+
|
87 |
+
.fs-description
|
88 |
+
{
|
89 |
+
background-color: #f9f9f9;
|
90 |
+
padding: 10px 15px 100px 15px;
|
91 |
+
border-top: 1px solid #eee;
|
92 |
+
margin: 0 0 10px 0;
|
93 |
+
color: #777;
|
94 |
+
}
|
95 |
+
|
96 |
+
.fs-tag
|
97 |
+
{
|
98 |
+
position: absolute;
|
99 |
+
top: 10px;
|
100 |
+
right: 0px;
|
101 |
+
background: greenyellow;
|
102 |
+
display: block;
|
103 |
+
padding: 2px 10px;
|
104 |
+
@include box-shadow(1px 1px 1px rgba(0,0,0,0.3));
|
105 |
+
text-transform: uppercase;
|
106 |
+
font-size: 0.9em;
|
107 |
+
font-weight: bold;
|
108 |
+
}
|
109 |
+
|
110 |
+
.fs-cta
|
111 |
+
{
|
112 |
+
.button
|
113 |
+
{
|
114 |
+
position: absolute;
|
115 |
+
top: 112px;
|
116 |
+
right: 10px;
|
117 |
+
}
|
118 |
+
}
|
119 |
+
}
|
120 |
+
|
121 |
+
@media screen and (min-width: 960px) {
|
122 |
+
&:hover
|
123 |
+
{
|
124 |
+
.fs-overlay
|
125 |
+
{
|
126 |
+
border: 2px solid $fms-link-color;
|
127 |
+
margin-left: -1px;
|
128 |
+
margin-top: -1px;
|
129 |
+
}
|
130 |
+
|
131 |
+
.fs-inner
|
132 |
+
{
|
133 |
+
ul
|
134 |
+
{
|
135 |
+
top: -100px;
|
136 |
+
}
|
137 |
+
|
138 |
+
.fs-card-banner
|
139 |
+
{
|
140 |
+
// background-position: 50% -100px;
|
141 |
+
}
|
142 |
+
|
143 |
+
.fs-title,
|
144 |
+
.fs-offer
|
145 |
+
{
|
146 |
+
color: $fms-link-color;
|
147 |
+
}
|
148 |
+
}
|
149 |
+
}
|
150 |
+
}
|
151 |
+
}
|
152 |
+
}
|
153 |
+
}
|
154 |
+
|
155 |
+
#TB_window
|
156 |
+
{
|
157 |
+
&, iframe
|
158 |
+
{
|
159 |
+
width: 772px !important;
|
160 |
+
}
|
161 |
+
}
|
162 |
+
|
163 |
+
#plugin-information
|
164 |
+
{
|
165 |
+
#section-description
|
166 |
+
{
|
167 |
+
h2, h3, p, b, i, blockquote, li, ul, ol
|
168 |
+
{
|
169 |
+
clear: none;
|
170 |
+
}
|
171 |
+
|
172 |
+
.fs-selling-points
|
173 |
+
{
|
174 |
+
padding-bottom: 10px;
|
175 |
+
border-bottom: 1px solid #ddd;
|
176 |
+
|
177 |
+
ul
|
178 |
+
{
|
179 |
+
margin: 0;
|
180 |
+
|
181 |
+
li
|
182 |
+
{
|
183 |
+
padding: 0;
|
184 |
+
list-style: none outside none;
|
185 |
+
|
186 |
+
i.dashicons
|
187 |
+
{
|
188 |
+
color: $fs-logo-green-color;
|
189 |
+
font-size: 3em;
|
190 |
+
vertical-align: middle;
|
191 |
+
line-height: 30px;
|
192 |
+
float: left;
|
193 |
+
margin: 0 0 0 -15px;
|
194 |
+
}
|
195 |
+
|
196 |
+
h3
|
197 |
+
{
|
198 |
+
margin: 1em 30px !important;
|
199 |
+
}
|
200 |
+
}
|
201 |
+
}
|
202 |
+
}
|
203 |
+
|
204 |
+
.fs-screenshots
|
205 |
+
{
|
206 |
+
@include clearfix();
|
207 |
+
ul
|
208 |
+
{
|
209 |
+
list-style: none;
|
210 |
+
margin: 0;
|
211 |
+
|
212 |
+
li
|
213 |
+
{
|
214 |
+
width: 225px;
|
215 |
+
height: 225px;
|
216 |
+
float: left;
|
217 |
+
margin-bottom: 20px;
|
218 |
+
@include box-sizing(content-box);
|
219 |
+
|
220 |
+
a
|
221 |
+
{
|
222 |
+
display: block;
|
223 |
+
width: 100%;
|
224 |
+
height: 100%;
|
225 |
+
border: 1px solid;
|
226 |
+
@include box-shadow(1px 1px 1px rgba(0, 0, 0, 0.2));
|
227 |
+
background-size: cover;
|
228 |
+
}
|
229 |
+
|
230 |
+
&.odd
|
231 |
+
{
|
232 |
+
margin-right: 20px;
|
233 |
+
}
|
234 |
+
}
|
235 |
+
}
|
236 |
+
}
|
237 |
+
}
|
238 |
+
|
239 |
+
.plugin-information-pricing
|
240 |
+
{
|
241 |
+
$pricing_color: #FFFEEC;
|
242 |
+
$borders_color: #DDD;
|
243 |
+
margin: -16px;
|
244 |
+
// padding: 20px;
|
245 |
+
border-bottom: 1px solid $borders_color;
|
246 |
+
|
247 |
+
.fs-plan
|
248 |
+
{
|
249 |
+
|
250 |
+
h3
|
251 |
+
{
|
252 |
+
margin-top: 0;
|
253 |
+
padding: 20px;
|
254 |
+
font-size: 16px;
|
255 |
+
}
|
256 |
+
|
257 |
+
.nav-tab-wrapper
|
258 |
+
{
|
259 |
+
border-bottom: 1px solid $borders_color;
|
260 |
+
|
261 |
+
.nav-tab
|
262 |
+
{
|
263 |
+
cursor: pointer;
|
264 |
+
position: relative;
|
265 |
+
padding: 0 10px;
|
266 |
+
font-size: 0.9em;
|
267 |
+
|
268 |
+
label
|
269 |
+
{
|
270 |
+
text-transform: uppercase;
|
271 |
+
color: green;
|
272 |
+
background: greenyellow;
|
273 |
+
position: absolute;
|
274 |
+
left: -1px;
|
275 |
+
right: -1px;
|
276 |
+
bottom: 100%;
|
277 |
+
border: 1px solid darkgreen;
|
278 |
+
padding: 2px;
|
279 |
+
text-align: center;
|
280 |
+
font-size: 0.9em;
|
281 |
+
line-height: 1em;
|
282 |
+
}
|
283 |
+
|
284 |
+
&.nav-tab-active
|
285 |
+
{
|
286 |
+
cursor: default;
|
287 |
+
background: $pricing_color;
|
288 |
+
border-bottom-color: $pricing_color;
|
289 |
+
}
|
290 |
+
}
|
291 |
+
}
|
292 |
+
|
293 |
+
&.fs-single-cycle
|
294 |
+
{
|
295 |
+
h3
|
296 |
+
{
|
297 |
+
background: $pricing_color;
|
298 |
+
margin: 0;
|
299 |
+
padding-bottom: 0;
|
300 |
+
color: #0073aa;
|
301 |
+
}
|
302 |
+
|
303 |
+
.nav-tab-wrapper,
|
304 |
+
.fs-billing-frequency
|
305 |
+
{
|
306 |
+
display: none;
|
307 |
+
}
|
308 |
+
}
|
309 |
+
|
310 |
+
.fs-pricing-body
|
311 |
+
{
|
312 |
+
background: $pricing_color;
|
313 |
+
padding: 20px;
|
314 |
+
}
|
315 |
+
|
316 |
+
.button
|
317 |
+
{
|
318 |
+
width: 100%;
|
319 |
+
text-align: center;
|
320 |
+
font-weight: bold;
|
321 |
+
text-transform: uppercase;
|
322 |
+
font-size: 1.1em;
|
323 |
+
}
|
324 |
+
|
325 |
+
label
|
326 |
+
{
|
327 |
+
white-space: nowrap;
|
328 |
+
}
|
329 |
+
|
330 |
+
var {
|
331 |
+
font-style: normal;
|
332 |
+
}
|
333 |
+
|
334 |
+
.fs-billing-frequency,
|
335 |
+
.fs-annual-discount
|
336 |
+
{
|
337 |
+
text-align: center;
|
338 |
+
display: block;
|
339 |
+
font-weight: bold;
|
340 |
+
margin-bottom: 10px;
|
341 |
+
text-transform: uppercase;
|
342 |
+
background: #F3F3F3;
|
343 |
+
padding: 2px;
|
344 |
+
border: 1px solid #ccc;
|
345 |
+
}
|
346 |
+
|
347 |
+
.fs-annual-discount
|
348 |
+
{
|
349 |
+
text-transform: none;
|
350 |
+
color: green;
|
351 |
+
background: greenyellow;
|
352 |
+
}
|
353 |
+
|
354 |
+
ul.fs-trial-terms
|
355 |
+
{
|
356 |
+
font-size: 0.9em;
|
357 |
+
|
358 |
+
i
|
359 |
+
{
|
360 |
+
float: left;
|
361 |
+
margin: 0 0 0 -15px;
|
362 |
+
}
|
363 |
+
|
364 |
+
li
|
365 |
+
{
|
366 |
+
margin: 10px 0 0 0;
|
367 |
+
}
|
368 |
+
}
|
369 |
+
}
|
370 |
+
}
|
371 |
+
|
372 |
+
#section-features
|
373 |
+
{
|
374 |
+
.fs-features
|
375 |
+
{
|
376 |
+
margin: -20px -26px;
|
377 |
+
}
|
378 |
+
|
379 |
+
table
|
380 |
+
{
|
381 |
+
width: 100%;
|
382 |
+
border-spacing: 0;
|
383 |
+
border-collapse: separate;
|
384 |
+
|
385 |
+
thead
|
386 |
+
{
|
387 |
+
th
|
388 |
+
{
|
389 |
+
padding: 10px 0;
|
390 |
+
}
|
391 |
+
|
392 |
+
.fs-price
|
393 |
+
{
|
394 |
+
color: $fs-logo-green-color;
|
395 |
+
font-weight: normal;
|
396 |
+
display: block;
|
397 |
+
text-align: center;
|
398 |
+
}
|
399 |
+
}
|
400 |
+
|
401 |
+
tbody
|
402 |
+
{
|
403 |
+
td
|
404 |
+
{
|
405 |
+
border-top: 1px solid #ccc;
|
406 |
+
padding: 10px 0;
|
407 |
+
text-align: center;
|
408 |
+
width: 100px;
|
409 |
+
color: $fs-logo-green-color;
|
410 |
+
|
411 |
+
&:first-child
|
412 |
+
{
|
413 |
+
text-align: left;
|
414 |
+
width: auto;
|
415 |
+
color: inherit;
|
416 |
+
padding-left: 26px;
|
417 |
+
}
|
418 |
+
}
|
419 |
+
tr.fs-odd
|
420 |
+
{
|
421 |
+
td
|
422 |
+
{
|
423 |
+
background: #fefefe;
|
424 |
+
}
|
425 |
+
}
|
426 |
+
}
|
427 |
+
}
|
428 |
+
|
429 |
+
.dashicons-yes
|
430 |
+
{
|
431 |
+
width: 30px;
|
432 |
+
height: 30px;
|
433 |
+
font-size: 30px;
|
434 |
+
}
|
435 |
+
}
|
436 |
+
}
|
437 |
+
|
438 |
+
@media screen and (max-width: 961px) {
|
439 |
+
#fs_addons
|
440 |
+
{
|
441 |
+
.fs-cards-list
|
442 |
+
{
|
443 |
+
.fs-card
|
444 |
+
{
|
445 |
+
height: 265px;
|
446 |
+
}
|
447 |
+
}
|
448 |
+
}
|
449 |
+
}
|
freemius/assets/scss/admin/affiliation.scss
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../start";
|
2 |
+
|
3 |
+
#fs_affiliation_content_wrapper {
|
4 |
+
#messages {
|
5 |
+
margin-top: 25px;
|
6 |
+
}
|
7 |
+
|
8 |
+
h3 {
|
9 |
+
font-size: 24px;
|
10 |
+
padding: 0;
|
11 |
+
margin-left: 0;
|
12 |
+
}
|
13 |
+
|
14 |
+
ul {
|
15 |
+
li {
|
16 |
+
@include box-sizing(border-box);
|
17 |
+
list-style-type: none;
|
18 |
+
|
19 |
+
&:before {
|
20 |
+
content: '✓';
|
21 |
+
margin-right: 10px;
|
22 |
+
font-weight: bold;
|
23 |
+
}
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
p:not(.description), li, label {
|
28 |
+
font-size: 16px !important;
|
29 |
+
line-height: 26px !important;
|
30 |
+
}
|
31 |
+
|
32 |
+
.button {
|
33 |
+
margin-top: 20px;
|
34 |
+
margin-bottom: 7px;
|
35 |
+
line-height: 35px;
|
36 |
+
height: 40px;
|
37 |
+
font-size: 16px;
|
38 |
+
|
39 |
+
&#cancel_button {
|
40 |
+
margin-right: 5px;
|
41 |
+
}
|
42 |
+
}
|
43 |
+
|
44 |
+
form {
|
45 |
+
.input-container {
|
46 |
+
.input-label {
|
47 |
+
font-weight: bold;
|
48 |
+
display: block;
|
49 |
+
width: 100%;
|
50 |
+
}
|
51 |
+
|
52 |
+
&.input-container-text {
|
53 |
+
label, input, textarea {
|
54 |
+
display: block;
|
55 |
+
}
|
56 |
+
}
|
57 |
+
|
58 |
+
margin-bottom: 15px;
|
59 |
+
|
60 |
+
#add_domain, .remove-domain {
|
61 |
+
text-decoration: none;
|
62 |
+
display: inline-block;
|
63 |
+
margin-top: 3px;
|
64 |
+
|
65 |
+
&:focus {
|
66 |
+
box-shadow: none;
|
67 |
+
}
|
68 |
+
|
69 |
+
&.disabled {
|
70 |
+
color: #aaa;
|
71 |
+
cursor: default;
|
72 |
+
}
|
73 |
+
}
|
74 |
+
}
|
75 |
+
|
76 |
+
#extra_domains_container {
|
77 |
+
.description {
|
78 |
+
margin-top: 0;
|
79 |
+
position: relative;
|
80 |
+
top: -4px;
|
81 |
+
}
|
82 |
+
|
83 |
+
.extra-domain-input-container {
|
84 |
+
margin-bottom: 15px;
|
85 |
+
|
86 |
+
.domain {
|
87 |
+
display: inline-block;
|
88 |
+
margin-right: 5px;
|
89 |
+
|
90 |
+
&:last-of-type {
|
91 |
+
margin-bottom: 0;
|
92 |
+
}
|
93 |
+
}
|
94 |
+
}
|
95 |
+
}
|
96 |
+
}
|
97 |
+
}
|
freemius/assets/scss/admin/checkout.scss
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@media screen and (max-width: 782px) {
|
2 |
+
#wpbody-content {
|
3 |
+
padding-bottom: 0 !important;
|
4 |
+
}
|
5 |
+
}
|
freemius/assets/scss/admin/common.scss
ADDED
@@ -0,0 +1,220 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../start";
|
2 |
+
@import "themes";
|
3 |
+
|
4 |
+
#fs_frame
|
5 |
+
{
|
6 |
+
line-height: 0;
|
7 |
+
font-size: 0;
|
8 |
+
}
|
9 |
+
|
10 |
+
.fs-full-size-wrapper
|
11 |
+
{
|
12 |
+
margin: 40px 0 -65px -20px;
|
13 |
+
|
14 |
+
@media (max-width: 600px) {
|
15 |
+
margin: 0 0 -65px -10px;
|
16 |
+
}
|
17 |
+
}
|
18 |
+
|
19 |
+
.fs-notice
|
20 |
+
{
|
21 |
+
position: relative;
|
22 |
+
|
23 |
+
&.fs-has-title
|
24 |
+
{
|
25 |
+
margin-bottom: 30px !important;
|
26 |
+
}
|
27 |
+
|
28 |
+
&.success
|
29 |
+
{
|
30 |
+
color: green;
|
31 |
+
// font-weight: normal;
|
32 |
+
}
|
33 |
+
|
34 |
+
&.promotion
|
35 |
+
{
|
36 |
+
border-color: $fs-notice-promotion-border-color !important;
|
37 |
+
background-color: $fs-notice-promotion-bkg !important;
|
38 |
+
}
|
39 |
+
|
40 |
+
.fs-notice-body
|
41 |
+
{
|
42 |
+
margin: .5em 0;
|
43 |
+
padding: 2px;
|
44 |
+
}
|
45 |
+
|
46 |
+
.fs-close
|
47 |
+
{
|
48 |
+
// position: absolute;
|
49 |
+
// top: 2px;
|
50 |
+
// bottom: 2px;
|
51 |
+
// right: 2px;
|
52 |
+
// min-width: 100px;
|
53 |
+
// text-align: center;
|
54 |
+
// padding-right: 2px;
|
55 |
+
cursor: pointer;
|
56 |
+
color: #aaa;
|
57 |
+
float: right;
|
58 |
+
|
59 |
+
&:hover
|
60 |
+
{
|
61 |
+
color: #666;
|
62 |
+
// background: #A9A9A9;
|
63 |
+
}
|
64 |
+
|
65 |
+
> *
|
66 |
+
{
|
67 |
+
margin-top: 7px;
|
68 |
+
display: inline-block;
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
label.fs-plugin-title
|
73 |
+
{
|
74 |
+
background: rgba(0, 0, 0, 0.3);
|
75 |
+
color: #fff;
|
76 |
+
padding: 2px 10px;
|
77 |
+
position: absolute;
|
78 |
+
top: 100%;
|
79 |
+
bottom: auto;
|
80 |
+
right: auto;
|
81 |
+
@include border-radius(0 0 3px 3px);
|
82 |
+
left: 10px;
|
83 |
+
font-size: 12px;
|
84 |
+
font-weight: bold;
|
85 |
+
cursor: auto;
|
86 |
+
}
|
87 |
+
}
|
88 |
+
|
89 |
+
div.fs-notice
|
90 |
+
{
|
91 |
+
&.updated,
|
92 |
+
&.success,
|
93 |
+
&.promotion
|
94 |
+
{
|
95 |
+
display: block !important;
|
96 |
+
}
|
97 |
+
}
|
98 |
+
|
99 |
+
.rtl .fs-notice
|
100 |
+
{
|
101 |
+
.fs-close
|
102 |
+
{
|
103 |
+
// left: 2px;
|
104 |
+
// right: auto;
|
105 |
+
// padding-right: 0;
|
106 |
+
// padding-left: 2px;
|
107 |
+
float: left;
|
108 |
+
}
|
109 |
+
}
|
110 |
+
|
111 |
+
.fs-secure-notice
|
112 |
+
{
|
113 |
+
position: fixed;
|
114 |
+
top: 32px;
|
115 |
+
left: 160px;
|
116 |
+
right: 0;
|
117 |
+
background: rgb(235, 253, 235);
|
118 |
+
padding: 10px 20px;
|
119 |
+
color: green;
|
120 |
+
z-index: 9999;
|
121 |
+
@include box-shadow(0 2px 2px rgba(6, 113, 6, 0.3));
|
122 |
+
@include opacity(0.95);
|
123 |
+
|
124 |
+
&:hover
|
125 |
+
{
|
126 |
+
@include opacity(1);
|
127 |
+
}
|
128 |
+
|
129 |
+
a.fs-security-proof
|
130 |
+
{
|
131 |
+
color: green;
|
132 |
+
text-decoration: none;
|
133 |
+
}
|
134 |
+
}
|
135 |
+
|
136 |
+
@media screen and (max-width: 960px) {
|
137 |
+
.fs-secure-notice
|
138 |
+
{
|
139 |
+
left: 36px;
|
140 |
+
}
|
141 |
+
}
|
142 |
+
|
143 |
+
@media screen and (max-width: 600px) {
|
144 |
+
.fs-secure-notice
|
145 |
+
{
|
146 |
+
display: none;
|
147 |
+
}
|
148 |
+
}
|
149 |
+
|
150 |
+
@media screen and (max-width: 500px) {
|
151 |
+
#fs_promo_tab
|
152 |
+
{
|
153 |
+
display: none;
|
154 |
+
}
|
155 |
+
}
|
156 |
+
|
157 |
+
@media screen and (max-width: 782px) {
|
158 |
+
.fs-secure-notice
|
159 |
+
{
|
160 |
+
left: 0;
|
161 |
+
top: 46px;
|
162 |
+
text-align: center;
|
163 |
+
}
|
164 |
+
}
|
165 |
+
|
166 |
+
span.fs-submenu-item.fs-sub:before
|
167 |
+
{
|
168 |
+
// Add small arrow.
|
169 |
+
content: '\21B3';
|
170 |
+
padding: 0 5px;
|
171 |
+
}
|
172 |
+
|
173 |
+
.rtl
|
174 |
+
{
|
175 |
+
span.fs-submenu-item.fs-sub:before
|
176 |
+
{
|
177 |
+
// Add small RTL arrow.
|
178 |
+
content: '\21B2';
|
179 |
+
}
|
180 |
+
}
|
181 |
+
|
182 |
+
.fs-submenu-item
|
183 |
+
{
|
184 |
+
&.pricing
|
185 |
+
{
|
186 |
+
&.upgrade-mode
|
187 |
+
{
|
188 |
+
color: greenyellow;
|
189 |
+
}
|
190 |
+
|
191 |
+
&.trial-mode
|
192 |
+
{
|
193 |
+
color: #83e2ff;
|
194 |
+
}
|
195 |
+
}
|
196 |
+
}
|
197 |
+
|
198 |
+
#adminmenu .update-plugins.fs-trial
|
199 |
+
{
|
200 |
+
background-color: #00b9eb;
|
201 |
+
}
|
202 |
+
.fs-ajax-spinner
|
203 |
+
{
|
204 |
+
border: 0;
|
205 |
+
width: 20px;
|
206 |
+
height: 20px;
|
207 |
+
margin-right: 5px;
|
208 |
+
vertical-align: sub;
|
209 |
+
display: inline-block;
|
210 |
+
background: url('/wp-admin/images/wpspin_light-2x.gif');
|
211 |
+
background-size: contain;
|
212 |
+
}
|
213 |
+
|
214 |
+
.wrap.fs-section {
|
215 |
+
h2 {
|
216 |
+
text-align: left;
|
217 |
+
}
|
218 |
+
}
|
219 |
+
|
220 |
+
@import "plugin-upgrade-notice";
|
freemius/assets/scss/admin/connect.scss
ADDED
@@ -0,0 +1,548 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|