Version Description
Download this release
Release Info
Developer | dcooney |
Plugin | WordPress Infinite Scroll – Ajax Load More |
Version | 3.2 |
Comparing to | |
See all releases |
Code changes from version 3.1.2 to 3.2
- .editorconfig +1 -3
- README.txt +18 -4
- admin/admin-functions.php +2 -1
- admin/admin.php +10 -13
- admin/css/tooltipster/themes/tooltipster-light.css +0 -12
- admin/css/tooltipster/themes/tooltipster-noir.css +0 -12
- admin/css/tooltipster/themes/tooltipster-punk.css +0 -12
- admin/css/tooltipster/themes/tooltipster-shadow.css +0 -12
- admin/dist/css/admin.css +3909 -0
- admin/dist/js/admin.js +1643 -0
- admin/editor/editor-build.php +4 -8
- admin/includes/cta/writeable.php +3 -3
- admin/shortcode-builder/includes/tax-query-options.php +1 -1
- admin/shortcode-builder/js/shortcode-builder.js +31 -9
- admin/shortcode-builder/shortcode-builder.php +91 -16
- admin/{js → src/js}/admin.js +108 -19
- admin/{js → src/js}/libs/jquery.drops.js +0 -0
- admin/{js → src/js}/libs/jquery.tooltipster.min.js +0 -0
- admin/{js → src/js}/libs/select2.min.js +0 -0
- admin/{css/admin.css → src/scss/admin.scss} +94 -67
- admin/{css/select2.css → src/scss/libs/select2.scss} +4 -4
- admin/{css/tooltipster/tooltipster.css → src/scss/libs/tooltipster.scss} +0 -0
- admin/src/scss/partials/_alm-settings-feedback.scss +58 -0
- admin/views/settings.php +9 -16
- ajax-load-more.php +5 -5
- core/classes/class.alm-shortcode.php +13 -3
- core/dist/css/ajax-load-more.min.css +1 -1
- core/dist/js/ajax-load-more.js +116 -47
- core/dist/js/ajax-load-more.min.js +1 -1
- core/js/modules/almMasonry.js +0 -50
- core/repeater/default.php +3 -3
- core/{js → src/js}/ajax-load-more.js +57 -20
- core/{js → src/js}/libs/jquery.waitforimages.js +0 -0
- core/src/js/modules/almMasonry.js +86 -0
- core/{js → src/js}/vendor/pace/pace.js +0 -0
- core/{js → src/js}/vendor/pace/pace.min.js +0 -0
- core/{scss → src/scss}/ajax-load-more.scss +0 -0
- gulpfile.js +59 -21
- lang/ajax-load-more.pot +330 -246
.editorconfig
CHANGED
@@ -1,6 +1,4 @@
|
|
1 |
-
# EditorConfig
|
2 |
-
# coding styles between different editors and IDEs
|
3 |
-
# editorconfig.org
|
4 |
|
5 |
root = true
|
6 |
|
1 |
+
# EditorConfig
|
|
|
|
|
2 |
|
3 |
root = true
|
4 |
|
README.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: dcooney, connekthq
|
|
3 |
Donate link: https://connekthq.com/donate/
|
4 |
Tags: infinite scroll, infinite scrolling, scroll, infinite, lazy load, lazy loading, endless scroll, pagination, ajax pagination, ajax, ajax posts, ajax load posts, woocommerce, ajax load more
|
5 |
Requires at least: 3.6
|
6 |
-
Tested up to: 4.8
|
7 |
-
Stable tag: 3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -100,6 +100,7 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
|
|
100 |
* **posts_per_page** - Number of posts to load with each Ajax request. Default = ’5′
|
101 |
* **scroll** - Load more posts as the user scrolls the page (true/false). Default = ‘true’
|
102 |
* **scroll_distance** - The distance from the bottom of the screen to trigger the loading of posts while scrolling. Default = '150'
|
|
|
103 |
* **max_pages** - Maximum number of pages to load while user is scrolling (activated on when scroll = true). Default = '0'
|
104 |
* **pause_override** - Allow scrolling to override the Pause parameter and trigger the loading of posts on scroll. Default = null
|
105 |
* **pause** - Do not load posts until user clicks the Load More button (true/false). Default = 'false'
|
@@ -107,6 +108,7 @@ Ajax Load More accepts a number of parameters that are passed to the WordPress q
|
|
107 |
* **transition_speed** - The speed of the loading transition in milliseconds. (slide/fade/none). Default = '250'
|
108 |
* **transition_container** - Display the Ajax Load More (.alm-reveal) loading container. Default = 'true'
|
109 |
* **masonry_selector** - The target classname of each masonry item. Default = null
|
|
|
110 |
* **images_loaded** - Wait for all images to load before displaying ajax loaded content (true/false). Default = 'false'
|
111 |
* **destroy_after** - Remove ajax load more functionality after 'n' number of pages have been loaded. Default = null
|
112 |
* **progress_bar** - Display progress bar indicator at the top of the window while loading Ajax content. Default = 'false'
|
@@ -354,6 +356,20 @@ How to install Ajax Load More.
|
|
354 |
|
355 |
== Changelog ==
|
356 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
357 |
= 3.1.2 - July 11, 2017 =
|
358 |
|
359 |
* FIX - Bug fix for JavaScript issues introduced for IE11 & Edge browsers in ALM 3.1.1 - I reverted the problematic new functions and everything is working as expected.
|
@@ -833,5 +849,3 @@ How to install Ajax Load More.
|
|
833 |
== Upgrade Notice ==
|
834 |
|
835 |
* None
|
836 |
-
|
837 |
-
|
3 |
Donate link: https://connekthq.com/donate/
|
4 |
Tags: infinite scroll, infinite scrolling, scroll, infinite, lazy load, lazy loading, endless scroll, pagination, ajax pagination, ajax, ajax posts, ajax load posts, woocommerce, ajax load more
|
5 |
Requires at least: 3.6
|
6 |
+
Tested up to: 4.8.1
|
7 |
+
Stable tag: 3.2.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
100 |
* **posts_per_page** - Number of posts to load with each Ajax request. Default = ’5′
|
101 |
* **scroll** - Load more posts as the user scrolls the page (true/false). Default = ‘true’
|
102 |
* **scroll_distance** - The distance from the bottom of the screen to trigger the loading of posts while scrolling. Default = '150'
|
103 |
+
* **scroll_container** - Constrain Ajax Load More infinite scrolling to a parent container. Default = null
|
104 |
* **max_pages** - Maximum number of pages to load while user is scrolling (activated on when scroll = true). Default = '0'
|
105 |
* **pause_override** - Allow scrolling to override the Pause parameter and trigger the loading of posts on scroll. Default = null
|
106 |
* **pause** - Do not load posts until user clicks the Load More button (true/false). Default = 'false'
|
108 |
* **transition_speed** - The speed of the loading transition in milliseconds. (slide/fade/none). Default = '250'
|
109 |
* **transition_container** - Display the Ajax Load More (.alm-reveal) loading container. Default = 'true'
|
110 |
* **masonry_selector** - The target classname of each masonry item. Default = null
|
111 |
+
* **masonry_animation** - Select a loading transition type for Masonry items. (default/zoom-out/slide-up/slide-down/none). Default = default
|
112 |
* **images_loaded** - Wait for all images to load before displaying ajax loaded content (true/false). Default = 'false'
|
113 |
* **destroy_after** - Remove ajax load more functionality after 'n' number of pages have been loaded. Default = null
|
114 |
* **progress_bar** - Display progress bar indicator at the top of the window while loading Ajax content. Default = 'false'
|
356 |
|
357 |
== Changelog ==
|
358 |
|
359 |
+
= 3.2.0 - August 8, 2017 =
|
360 |
+
|
361 |
+
* NEW - Added new `masonry_animation` setting to allow for adjusting of Masonry transitions (Default, zoom-out, slide-up, slide-down, none).
|
362 |
+
* NEW - Added new `scroll_container` setting that will allow for posts to be loaded on scroll when Ajax load more has been placed inside of a container.
|
363 |
+
* NEW - Added required support for new excluded terms feature in the Previous Post add-on.
|
364 |
+
* NEW - Added support for entering html into the `button_label` and `button_loading_label` shortcode parameters. This will allow for users to enter font icons in the button.
|
365 |
+
* FIX -Fixed issue where ACF options where not displaying in Shortcode Builder.
|
366 |
+
* UPDATE - Updated image thumbnail size in default repeater template.
|
367 |
+
* UPDATE - Updated save functionality of the ALM Settings screen.
|
368 |
+
* UPDATE -Updated Font Awesome to 4.7.0
|
369 |
+
* UPDATE - Updated build process/gulpfile to include admin css/js.
|
370 |
+
* UPDATE - Various admin UI/UX updates.
|
371 |
+
|
372 |
+
|
373 |
= 3.1.2 - July 11, 2017 =
|
374 |
|
375 |
* FIX - Bug fix for JavaScript issues introduced for IE11 & Edge browsers in ALM 3.1.1 - I reverted the problematic new functions and everything is working as expected.
|
849 |
== Upgrade Notice ==
|
850 |
|
851 |
* None
|
|
|
|
admin/admin-functions.php
CHANGED
@@ -22,6 +22,7 @@ function alm_is_admin_screen(){
|
|
22 |
/*
|
23 |
* alm_has_addon
|
24 |
* Does user have add-ons installed and activated
|
|
|
25 |
*
|
26 |
* @return boolean
|
27 |
* @since 2.13.0
|
@@ -46,7 +47,7 @@ function alm_has_addon(){
|
|
46 |
*/
|
47 |
|
48 |
function alm_has_addon_shortcodes(){
|
49 |
-
if(has_action('alm_cache_installed') || has_action('alm_cache_installed') || has_action('alm_cta_installed') || has_action('alm_comments_installed') || has_action('alm_unlimited_installed') || has_action('alm_nextpage_installed') || has_action('alm_preload_installed') || has_action('alm_paging_installed') || has_action('alm_prev_post_installed') || has_action('alm_rest_api_installed') || has_action('alm_seo_installed') || has_action('alm_theme_repeaters_installed')) {
|
50 |
return true;
|
51 |
} else {
|
52 |
return false;
|
22 |
/*
|
23 |
* alm_has_addon
|
24 |
* Does user have add-ons installed and activated
|
25 |
+
* License Page
|
26 |
*
|
27 |
* @return boolean
|
28 |
* @since 2.13.0
|
47 |
*/
|
48 |
|
49 |
function alm_has_addon_shortcodes(){
|
50 |
+
if(has_action('alm_acf_installed') || has_action('alm_cache_installed') || has_action('alm_cache_installed') || has_action('alm_cta_installed') || has_action('alm_comments_installed') || has_action('alm_unlimited_installed') || has_action('alm_nextpage_installed') || has_action('alm_preload_installed') || has_action('alm_paging_installed') || has_action('alm_prev_post_installed') || has_action('alm_rest_api_installed') || has_action('alm_seo_installed') || has_action('alm_theme_repeaters_installed')) {
|
51 |
return true;
|
52 |
} else {
|
53 |
return false;
|
admin/admin.php
CHANGED
@@ -179,6 +179,7 @@ function alm_admin_vars() { ?>
|
|
179 |
/* <![CDATA[ */
|
180 |
var alm_admin_localize = <?php echo json_encode( array(
|
181 |
'ajax_admin_url' => admin_url( 'admin-ajax.php' ),
|
|
|
182 |
'active' => __('Active', 'ajax-load-more'),
|
183 |
'inactive' => __('Inactive', 'ajax-load-more'),
|
184 |
'applying_layout' => __('Applying layout', 'ajax-load-more'),
|
@@ -192,7 +193,9 @@ function alm_admin_vars() { ?>
|
|
192 |
'install_now' => __('Are you sure you want to install this Ajax Load More extension?', 'ajax-load-more'),
|
193 |
'install_btn' => __('Install Now', 'ajax-load-more'),
|
194 |
'activate_btn' => __('Activate', 'ajax-load-more'),
|
195 |
-
'
|
|
|
|
|
196 |
)); ?>
|
197 |
/* ]]> */
|
198 |
</script>
|
@@ -587,11 +590,8 @@ function alm_load_cache_admin_js(){
|
|
587 |
function alm_enqueue_admin_scripts(){
|
588 |
|
589 |
// Admin CSS
|
590 |
-
wp_enqueue_style( 'alm-admin', ALM_ADMIN_URL. 'css/admin.css');
|
591 |
-
wp_enqueue_style( 'alm-
|
592 |
-
wp_enqueue_style( 'alm-tooltipster', ALM_ADMIN_URL. 'css/tooltipster/tooltipster.css');
|
593 |
-
wp_enqueue_style( 'alm-core', ALM_URL. '/core/dist/css/ajax-load-more.css');
|
594 |
-
wp_enqueue_style( 'alm-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css');
|
595 |
|
596 |
// disable ACF select2 on ALM pages
|
597 |
wp_dequeue_style( 'acf-input' );
|
@@ -613,15 +613,12 @@ function alm_enqueue_admin_scripts(){
|
|
613 |
wp_enqueue_script( 'alm-codemirror-clike', ALM_ADMIN_URL. 'codemirror/mode/clike/clike.js' );
|
614 |
wp_enqueue_script( 'alm-codemirror-php', ALM_ADMIN_URL. 'codemirror/mode/php/php.js' );
|
615 |
|
616 |
-
}
|
617 |
|
618 |
// Admin JS
|
619 |
wp_enqueue_script( 'jquery-form' );
|
620 |
-
wp_enqueue_script( 'alm-
|
621 |
-
wp_enqueue_script( 'alm-
|
622 |
-
wp_enqueue_script( 'alm-tipster', ALM_ADMIN_URL. 'js/libs/jquery.tooltipster.min.js', array( 'jquery' ));
|
623 |
-
wp_enqueue_script( 'alm-admin', ALM_ADMIN_URL. 'js/admin.js', array( 'jquery' ));
|
624 |
-
wp_enqueue_script( 'alm-shortcode-builder', ALM_ADMIN_URL. 'shortcode-builder/js/shortcode-builder.js', array( 'jquery' ));
|
625 |
|
626 |
}
|
627 |
|
@@ -1122,7 +1119,7 @@ function alm_disable_css_callback(){
|
|
1122 |
|
1123 |
$html = '<input type="hidden" name="alm_settings[_alm_disable_css]" value="0" />';
|
1124 |
$html .= '<input type="checkbox" id="alm_disable_css_input" name="alm_settings[_alm_disable_css]" value="1"'. (($options['_alm_disable_css']) ? ' checked="checked"' : '') .' />';
|
1125 |
-
$html .= '<label for="alm_disable_css_input">'.__('I want to use my own CSS styles.', 'ajax-load-more').'<br/><span style="display:block;"><i class="fa fa-file-text-o"></i> <a href="'.ALM_URL.'/core/css/ajax-load-more.css" target="blank">'.__('View Ajax Load More CSS', 'ajax-load-more').'</a></span></label>';
|
1126 |
|
1127 |
echo $html;
|
1128 |
}
|
179 |
/* <![CDATA[ */
|
180 |
var alm_admin_localize = <?php echo json_encode( array(
|
181 |
'ajax_admin_url' => admin_url( 'admin-ajax.php' ),
|
182 |
+
'ajax_load_more' => __('Ajax Load More', 'ajax-load-more'),
|
183 |
'active' => __('Active', 'ajax-load-more'),
|
184 |
'inactive' => __('Inactive', 'ajax-load-more'),
|
185 |
'applying_layout' => __('Applying layout', 'ajax-load-more'),
|
193 |
'install_now' => __('Are you sure you want to install this Ajax Load More extension?', 'ajax-load-more'),
|
194 |
'install_btn' => __('Install Now', 'ajax-load-more'),
|
195 |
'activate_btn' => __('Activate', 'ajax-load-more'),
|
196 |
+
'settings_saving' => '<i class="fa fa-spinner fa-spin" aria-hidden="true"></i> ' . __('Saving Settings', 'ajax-load-more'),
|
197 |
+
'settings_saved' => '<i class="fa fa-check" aria-hidden="true"></i> ' . __('Settings Saved Successfully', 'ajax-load-more'),
|
198 |
+
'settings_error' => '<i class="fa fa-exclamation-circle" aria-hidden="true"></i> ' . __('Error Saving Settings', 'ajax-load-more')
|
199 |
)); ?>
|
200 |
/* ]]> */
|
201 |
</script>
|
590 |
function alm_enqueue_admin_scripts(){
|
591 |
|
592 |
// Admin CSS
|
593 |
+
wp_enqueue_style( 'alm-admin', ALM_ADMIN_URL. 'dist/css/admin.css', '', ALM_VERSION);
|
594 |
+
wp_enqueue_style( 'alm-core', ALM_URL. '/core/dist/css/ajax-load-more.css', '', ALM_VERSION);
|
|
|
|
|
|
|
595 |
|
596 |
// disable ACF select2 on ALM pages
|
597 |
wp_dequeue_style( 'acf-input' );
|
613 |
wp_enqueue_script( 'alm-codemirror-clike', ALM_ADMIN_URL. 'codemirror/mode/clike/clike.js' );
|
614 |
wp_enqueue_script( 'alm-codemirror-php', ALM_ADMIN_URL. 'codemirror/mode/php/php.js' );
|
615 |
|
616 |
+
}
|
617 |
|
618 |
// Admin JS
|
619 |
wp_enqueue_script( 'jquery-form' );
|
620 |
+
wp_enqueue_script( 'alm-admin', ALM_ADMIN_URL. 'dist/js/admin.js', array( 'jquery' ), ALM_VERSION);
|
621 |
+
wp_enqueue_script( 'alm-shortcode-builder', ALM_ADMIN_URL. 'shortcode-builder/js/shortcode-builder.js', array( 'jquery' ), ALM_VERSION);
|
|
|
|
|
|
|
622 |
|
623 |
}
|
624 |
|
1119 |
|
1120 |
$html = '<input type="hidden" name="alm_settings[_alm_disable_css]" value="0" />';
|
1121 |
$html .= '<input type="checkbox" id="alm_disable_css_input" name="alm_settings[_alm_disable_css]" value="1"'. (($options['_alm_disable_css']) ? ' checked="checked"' : '') .' />';
|
1122 |
+
$html .= '<label for="alm_disable_css_input">'.__('I want to use my own CSS styles.', 'ajax-load-more').'<br/><span style="display:block;"><i class="fa fa-file-text-o"></i> <a href="'.ALM_URL.'/core/dist/css/ajax-load-more.css" target="blank">'.__('View Ajax Load More CSS', 'ajax-load-more').'</a></span></label>';
|
1123 |
|
1124 |
echo $html;
|
1125 |
}
|
admin/css/tooltipster/themes/tooltipster-light.css
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
.tooltipster-light {
|
2 |
-
border-radius: 5px;
|
3 |
-
border: 1px solid #cccccc;
|
4 |
-
background: #ededed;
|
5 |
-
color: #666666;
|
6 |
-
}
|
7 |
-
.tooltipster-light .tooltipster-content {
|
8 |
-
font-family: Arial, sans-serif;
|
9 |
-
font-size: 14px;
|
10 |
-
line-height: 16px;
|
11 |
-
padding: 8px 10px;
|
12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/css/tooltipster/themes/tooltipster-noir.css
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
.tooltipster-noir {
|
2 |
-
border-radius: 0px;
|
3 |
-
border: 3px solid #2c2c2c;
|
4 |
-
background: #fff;
|
5 |
-
color: #2c2c2c;
|
6 |
-
}
|
7 |
-
.tooltipster-noir .tooltipster-content {
|
8 |
-
font-family: 'Georgia', serif;
|
9 |
-
font-size: 14px;
|
10 |
-
line-height: 16px;
|
11 |
-
padding: 8px 10px;
|
12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/css/tooltipster/themes/tooltipster-punk.css
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
.tooltipster-punk {
|
2 |
-
border-radius: 5px;
|
3 |
-
border-bottom: 3px solid #f71169;
|
4 |
-
background: #2a2a2a;
|
5 |
-
color: #fff;
|
6 |
-
}
|
7 |
-
.tooltipster-punk .tooltipster-content {
|
8 |
-
font-family: 'Courier', monospace;
|
9 |
-
font-size: 14px;
|
10 |
-
line-height: 16px;
|
11 |
-
padding: 8px 10px;
|
12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/css/tooltipster/themes/tooltipster-shadow.css
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
.tooltipster-shadow {
|
2 |
-
border-radius: 5px;
|
3 |
-
background: #fff;
|
4 |
-
box-shadow: 0px 0px 14px rgba(0,0,0,0.3);
|
5 |
-
color: #2c2c2c;
|
6 |
-
}
|
7 |
-
.tooltipster-shadow .tooltipster-content {
|
8 |
-
font-family: 'Arial', sans-serif;
|
9 |
-
font-size: 14px;
|
10 |
-
line-height: 16px;
|
11 |
-
padding: 8px 10px;
|
12 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/dist/css/admin.css
ADDED
@@ -0,0 +1,3909 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* This is the default Tooltipster theme (feel free to modify or duplicate and create multiple themes!): */
|
2 |
+
@import '//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css';
|
3 |
+
.tooltipster-default {
|
4 |
+
border-radius: 3px;
|
5 |
+
border: 2px solid #222;
|
6 |
+
border: none;
|
7 |
+
background: #0073aa;
|
8 |
+
background: rgba(33, 149, 204, 0.95);
|
9 |
+
color: #e7f3f8; }
|
10 |
+
|
11 |
+
/* Use this next selector to style things like font-size and line-height: */
|
12 |
+
.tooltipster-default .tooltipster-content {
|
13 |
+
font-size: 12px;
|
14 |
+
line-height: 20px;
|
15 |
+
padding: 12px 16px;
|
16 |
+
overflow: hidden;
|
17 |
+
text-align: center; }
|
18 |
+
|
19 |
+
/* This next selector defines the color of the border on the outside of the arrow. This will automatically match the color and size of the border set on the main tooltip styles. Set display: none; if you would like a border around the tooltip but no border around the arrow */
|
20 |
+
.tooltipster-default .tooltipster-arrow .tooltipster-arrow-border {
|
21 |
+
/* border-color: ... !important; */ }
|
22 |
+
|
23 |
+
/* If you're using the icon option, use this next selector to style them */
|
24 |
+
.tooltipster-icon {
|
25 |
+
cursor: help;
|
26 |
+
margin-left: 4px; }
|
27 |
+
|
28 |
+
/* This is the base styling required to make all Tooltipsters work */
|
29 |
+
.tooltipster-base {
|
30 |
+
padding: 0;
|
31 |
+
font-size: 0;
|
32 |
+
line-height: 0;
|
33 |
+
position: absolute;
|
34 |
+
left: 0;
|
35 |
+
top: 0;
|
36 |
+
z-index: 9999999;
|
37 |
+
pointer-events: none;
|
38 |
+
width: auto;
|
39 |
+
overflow: visible; }
|
40 |
+
|
41 |
+
.tooltipster-base .tooltipster-content {
|
42 |
+
overflow: hidden; }
|
43 |
+
|
44 |
+
/* These next classes handle the styles for the little arrow attached to the tooltip. By default, the arrow will inherit the same colors and border as what is set on the main tooltip itself. */
|
45 |
+
.tooltipster-arrow {
|
46 |
+
display: block;
|
47 |
+
text-align: center;
|
48 |
+
width: 100%;
|
49 |
+
height: 100%;
|
50 |
+
position: absolute;
|
51 |
+
top: 0;
|
52 |
+
left: 0;
|
53 |
+
z-index: -1; }
|
54 |
+
|
55 |
+
.tooltipster-arrow span, .tooltipster-arrow-border {
|
56 |
+
display: block;
|
57 |
+
width: 0;
|
58 |
+
height: 0;
|
59 |
+
position: absolute; }
|
60 |
+
|
61 |
+
.tooltipster-arrow-top span, .tooltipster-arrow-top-right span, .tooltipster-arrow-top-left span {
|
62 |
+
border-left: 8px solid transparent !important;
|
63 |
+
border-right: 8px solid transparent !important;
|
64 |
+
border-top: 8px solid;
|
65 |
+
bottom: -7px; }
|
66 |
+
|
67 |
+
.tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-top-left .tooltipster-arrow-border {
|
68 |
+
border-left: 9px solid transparent !important;
|
69 |
+
border-right: 9px solid transparent !important;
|
70 |
+
border-top: 9px solid;
|
71 |
+
bottom: -7px; }
|
72 |
+
|
73 |
+
.tooltipster-arrow-bottom span, .tooltipster-arrow-bottom-right span, .tooltipster-arrow-bottom-left span {
|
74 |
+
border-left: 8px solid transparent !important;
|
75 |
+
border-right: 8px solid transparent !important;
|
76 |
+
border-bottom: 8px solid;
|
77 |
+
top: -7px; }
|
78 |
+
|
79 |
+
.tooltipster-arrow-bottom .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {
|
80 |
+
border-left: 9px solid transparent !important;
|
81 |
+
border-right: 9px solid transparent !important;
|
82 |
+
border-bottom: 9px solid;
|
83 |
+
top: -7px; }
|
84 |
+
|
85 |
+
.tooltipster-arrow-top span, .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom .tooltipster-arrow-border {
|
86 |
+
left: 0;
|
87 |
+
right: 0;
|
88 |
+
margin: 0 auto; }
|
89 |
+
|
90 |
+
.tooltipster-arrow-top-left span, .tooltipster-arrow-bottom-left span {
|
91 |
+
left: 6px; }
|
92 |
+
|
93 |
+
.tooltipster-arrow-top-left .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {
|
94 |
+
left: 5px; }
|
95 |
+
|
96 |
+
.tooltipster-arrow-top-right span, .tooltipster-arrow-bottom-right span {
|
97 |
+
right: 6px; }
|
98 |
+
|
99 |
+
.tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border {
|
100 |
+
right: 5px; }
|
101 |
+
|
102 |
+
.tooltipster-arrow-left span, .tooltipster-arrow-left .tooltipster-arrow-border {
|
103 |
+
border-top: 8px solid transparent !important;
|
104 |
+
border-bottom: 8px solid transparent !important;
|
105 |
+
border-left: 8px solid;
|
106 |
+
top: 50%;
|
107 |
+
margin-top: -7px;
|
108 |
+
right: -7px; }
|
109 |
+
|
110 |
+
.tooltipster-arrow-left .tooltipster-arrow-border {
|
111 |
+
border-top: 9px solid transparent !important;
|
112 |
+
border-bottom: 9px solid transparent !important;
|
113 |
+
border-left: 9px solid;
|
114 |
+
margin-top: -8px; }
|
115 |
+
|
116 |
+
.tooltipster-arrow-right span, .tooltipster-arrow-right .tooltipster-arrow-border {
|
117 |
+
border-top: 8px solid transparent !important;
|
118 |
+
border-bottom: 8px solid transparent !important;
|
119 |
+
border-right: 8px solid;
|
120 |
+
top: 50%;
|
121 |
+
margin-top: -7px;
|
122 |
+
left: -7px; }
|
123 |
+
|
124 |
+
.tooltipster-arrow-right .tooltipster-arrow-border {
|
125 |
+
border-top: 9px solid transparent !important;
|
126 |
+
border-bottom: 9px solid transparent !important;
|
127 |
+
border-right: 9px solid;
|
128 |
+
margin-top: -8px; }
|
129 |
+
|
130 |
+
/* Some CSS magic for the awesome animations - feel free to make your own custom animations and reference it in your Tooltipster settings! */
|
131 |
+
.tooltipster-fade {
|
132 |
+
opacity: 0;
|
133 |
+
-webkit-transition-property: opacity;
|
134 |
+
transition-property: opacity; }
|
135 |
+
|
136 |
+
.tooltipster-fade-show {
|
137 |
+
opacity: 1; }
|
138 |
+
|
139 |
+
.tooltipster-grow {
|
140 |
+
-webkit-transform: scale(0, 0);
|
141 |
+
-ms-transform: scale(0, 0);
|
142 |
+
transform: scale(0, 0);
|
143 |
+
-webkit-transition-property: -webkit-transform;
|
144 |
+
transition-property: -webkit-transform;
|
145 |
+
transition-property: transform;
|
146 |
+
transition-property: transform, -webkit-transform;
|
147 |
+
-webkit-backface-visibility: hidden; }
|
148 |
+
|
149 |
+
.tooltipster-grow-show {
|
150 |
+
-webkit-transform: scale(1, 1);
|
151 |
+
-ms-transform: scale(1, 1);
|
152 |
+
transform: scale(1, 1);
|
153 |
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
154 |
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
|
155 |
+
transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); }
|
156 |
+
|
157 |
+
.tooltipster-swing {
|
158 |
+
opacity: 0;
|
159 |
+
-webkit-transform: rotateZ(4deg);
|
160 |
+
-ms-transform: rotateZ(4deg);
|
161 |
+
transform: rotateZ(4deg);
|
162 |
+
-webkit-transition-property: -webkit-transform, opacity;
|
163 |
+
-webkit-transition-property: -webkit-transform;
|
164 |
+
transition-property: -webkit-transform;
|
165 |
+
transition-property: transform;
|
166 |
+
transition-property: transform, -webkit-transform; }
|
167 |
+
|
168 |
+
.tooltipster-swing-show {
|
169 |
+
opacity: 1;
|
170 |
+
-webkit-transform: rotateZ(0deg);
|
171 |
+
-ms-transform: rotateZ(0deg);
|
172 |
+
transform: rotateZ(0deg);
|
173 |
+
-webkit-transition-timing-function: cubic-bezier(0.23, 0.635, 0.495, 1);
|
174 |
+
-webkit-transition-timing-function: cubic-bezier(0.23, 0.635, 0.495, 2.4);
|
175 |
+
transition-timing-function: cubic-bezier(0.23, 0.635, 0.495, 2.4); }
|
176 |
+
|
177 |
+
.tooltipster-fall {
|
178 |
+
top: 0;
|
179 |
+
-webkit-transition-property: top;
|
180 |
+
transition-property: top;
|
181 |
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
182 |
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
|
183 |
+
transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); }
|
184 |
+
|
185 |
+
.tooltipster-fall.tooltipster-dying {
|
186 |
+
-webkit-transition-property: all;
|
187 |
+
transition-property: all;
|
188 |
+
top: 0px !important;
|
189 |
+
opacity: 0; }
|
190 |
+
|
191 |
+
.tooltipster-slide {
|
192 |
+
left: -40px;
|
193 |
+
-webkit-transition-property: left;
|
194 |
+
transition-property: left;
|
195 |
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
196 |
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15);
|
197 |
+
transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.15); }
|
198 |
+
|
199 |
+
.tooltipster-slide.tooltipster-dying {
|
200 |
+
-webkit-transition-property: all;
|
201 |
+
transition-property: all;
|
202 |
+
left: 0px !important;
|
203 |
+
opacity: 0; }
|
204 |
+
|
205 |
+
/* CSS transition for when contenting is changing in a tooltip that is still open. The only properties that will NOT transition are: width, height, top, and left */
|
206 |
+
.tooltipster-content-changing {
|
207 |
+
opacity: 0.5;
|
208 |
+
-webkit-transform: scale(1.1, 1.1);
|
209 |
+
-ms-transform: scale(1.1, 1.1);
|
210 |
+
transform: scale(1.1, 1.1); }
|
211 |
+
|
212 |
+
/*
|
213 |
+
* Select2 - form replacement - http://ivaynberg.github.io/select2/
|
214 |
+
*
|
215 |
+
* @since 1.0
|
216 |
+
*/
|
217 |
+
.select2-container {
|
218 |
+
position: relative;
|
219 |
+
display: inline-block;
|
220 |
+
zoom: 1;
|
221 |
+
*display: inline;
|
222 |
+
vertical-align: middle;
|
223 |
+
min-width: 60%; }
|
224 |
+
|
225 |
+
.inner.half .select2-container {
|
226 |
+
min-width: 90%;
|
227 |
+
width: 90%; }
|
228 |
+
|
229 |
+
#alm-builder .select2-container li {
|
230 |
+
padding-right: 0; }
|
231 |
+
|
232 |
+
.select2-container a.select2-choice {
|
233 |
+
display: block;
|
234 |
+
height: 40px;
|
235 |
+
line-height: 38px;
|
236 |
+
padding: 0 10px;
|
237 |
+
overflow: hidden;
|
238 |
+
position: relative;
|
239 |
+
border: 1px solid #e7e7e7;
|
240 |
+
white-space: nowrap;
|
241 |
+
color: #333;
|
242 |
+
text-decoration: none;
|
243 |
+
background: #fff;
|
244 |
+
background: #f7f7f7;
|
245 |
+
border-radius: 2px;
|
246 |
+
background-clip: padding-box;
|
247 |
+
-webkit-touch-callout: none;
|
248 |
+
-webkit-user-select: none;
|
249 |
+
-moz-user-select: none;
|
250 |
+
-ms-user-select: none;
|
251 |
+
user-select: none;
|
252 |
+
font-size: 14px; }
|
253 |
+
|
254 |
+
.select2-dropdown-open.select2-container-active .select2-choice {
|
255 |
+
border-radius: 4px 4px 0 0; }
|
256 |
+
|
257 |
+
.select2-container.select2-drop-above .select2-choice {
|
258 |
+
background: #fff;
|
259 |
+
border-radius: 0 0 4px 4px; }
|
260 |
+
|
261 |
+
.select2-container .select2-choice span {
|
262 |
+
margin-right: 30px;
|
263 |
+
margin-left: 2px;
|
264 |
+
display: block;
|
265 |
+
overflow: hidden;
|
266 |
+
white-space: nowrap;
|
267 |
+
color: #666;
|
268 |
+
-ms-text-overflow: ellipsis;
|
269 |
+
text-overflow: ellipsis; }
|
270 |
+
|
271 |
+
.select2-container .select2-choice abbr:hover {
|
272 |
+
background-position: right -11px;
|
273 |
+
cursor: pointer; }
|
274 |
+
|
275 |
+
.select2-drop-mask {
|
276 |
+
position: absolute;
|
277 |
+
left: 0;
|
278 |
+
top: 0;
|
279 |
+
z-index: 8;
|
280 |
+
background-color: #fff;
|
281 |
+
opacity: 0;
|
282 |
+
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
283 |
+
/* works in IE 8 */
|
284 |
+
filter: "alpha(opacity=0)";
|
285 |
+
/* expected to work in IE 8 */
|
286 |
+
filter: alpha(opacity=0);
|
287 |
+
/* IE 4-7 */ }
|
288 |
+
|
289 |
+
.select2-drop {
|
290 |
+
overflow: hidden;
|
291 |
+
width: 100%;
|
292 |
+
margin-top: -1px;
|
293 |
+
position: absolute;
|
294 |
+
z-index: 9;
|
295 |
+
top: 100%;
|
296 |
+
background: #fff;
|
297 |
+
color: #000;
|
298 |
+
border: 1px solid #efefef;
|
299 |
+
border-top: 0;
|
300 |
+
border-radius: 0 0 2px 2px;
|
301 |
+
-webkit-box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
|
302 |
+
box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
|
303 |
+
font-size: 14px; }
|
304 |
+
|
305 |
+
.select2-drop.select2-drop-above {
|
306 |
+
margin-top: 1px;
|
307 |
+
border-top: 1px solid #efefef;
|
308 |
+
border-bottom: 0;
|
309 |
+
border-radius: 2px 2px 0 0;
|
310 |
+
-webkit-box-shadow: 0 -2px -1px rgba(0, 0, 0, 0.1);
|
311 |
+
box-shadow: 0 -2px -1px rgba(0, 0, 0, 0.1); }
|
312 |
+
|
313 |
+
.select2-container .select2-choice div {
|
314 |
+
display: block;
|
315 |
+
width: 30px;
|
316 |
+
height: 100%;
|
317 |
+
position: absolute;
|
318 |
+
right: 0;
|
319 |
+
top: 0; }
|
320 |
+
|
321 |
+
.select2-container .select2-choice div b {
|
322 |
+
display: block;
|
323 |
+
width: 100%;
|
324 |
+
height: 100%;
|
325 |
+
background: #fff url("../../img/bkg-select.png") no-repeat center center; }
|
326 |
+
|
327 |
+
.select2-dropdown-open.select2-container-active div b {
|
328 |
+
display: block;
|
329 |
+
width: 100%;
|
330 |
+
height: 100%;
|
331 |
+
background-color: #fff; }
|
332 |
+
|
333 |
+
/* Search */
|
334 |
+
.select2-search {
|
335 |
+
display: none !important;
|
336 |
+
padding: 2px;
|
337 |
+
display: block;
|
338 |
+
background-color: #fff; }
|
339 |
+
|
340 |
+
.select2-search .select2-input {
|
341 |
+
width: 99%;
|
342 |
+
height: 26px !important;
|
343 |
+
border-color: #efefef !important;
|
344 |
+
-webkit-box-shadow: none !important;
|
345 |
+
box-shadow: none !important;
|
346 |
+
background: url("../../img/select2.png") no-repeat scroll 100% -22px !important; }
|
347 |
+
|
348 |
+
/* Multi select box */
|
349 |
+
#alm-builder .select2-container-multi {
|
350 |
+
width: 60%; }
|
351 |
+
|
352 |
+
#alm-builder .select2-results li {
|
353 |
+
width: 100%; }
|
354 |
+
|
355 |
+
#alm-builder .select2-container-multi .select2-input {
|
356 |
+
cursor: pointer;
|
357 |
+
margin: 0 !important; }
|
358 |
+
|
359 |
+
#alm-builder ul.select2-choices {
|
360 |
+
width: 100%;
|
361 |
+
overflow: hidden; }
|
362 |
+
|
363 |
+
#alm-builder ul.select2-choices li.select2-search-field,
|
364 |
+
#alm-builder ul.select2-choices li.select2-search-field input {
|
365 |
+
width: 100% !important;
|
366 |
+
display: block; }
|
367 |
+
|
368 |
+
/* Selected Choice */
|
369 |
+
#alm-builder ul.select2-choices li.select2-search-choice {
|
370 |
+
display: inline-block;
|
371 |
+
font-size: 12px;
|
372 |
+
line-height: 13px;
|
373 |
+
margin: 0 5px 5px 0;
|
374 |
+
padding: 5px 10px 5px 24px;
|
375 |
+
border-radius: 3px;
|
376 |
+
background: #fff;
|
377 |
+
border: 1px solid #ccc;
|
378 |
+
width: auto;
|
379 |
+
position: relative; }
|
380 |
+
|
381 |
+
#alm-builder ul.select2-choices .select2-input {
|
382 |
+
background: #f7f7f7 url("../../img/bkg-select.png") no-repeat right center; }
|
383 |
+
|
384 |
+
#alm-builder ul.select2-choices li.select2-search-choice a {
|
385 |
+
position: absolute;
|
386 |
+
left: 5px;
|
387 |
+
top: 5px;
|
388 |
+
width: 13px;
|
389 |
+
height: 13px;
|
390 |
+
background: #999 url("../../img/ico-close.png") no-repeat center center;
|
391 |
+
color: #fff;
|
392 |
+
display: block;
|
393 |
+
border-radius: 2px; }
|
394 |
+
|
395 |
+
#alm-builder ul.select2-choices li.select2-search-choice a:hover {
|
396 |
+
background-color: #ff0000; }
|
397 |
+
|
398 |
+
/* results UL */
|
399 |
+
.select2-results {
|
400 |
+
max-height: 311px;
|
401 |
+
padding: 0 0 0 0;
|
402 |
+
margin: 0 0 0 0;
|
403 |
+
position: relative;
|
404 |
+
overflow-x: hidden;
|
405 |
+
overflow-y: auto;
|
406 |
+
-webkit-tap-highlight-color: transparent; }
|
407 |
+
|
408 |
+
.select2-result-sub {
|
409 |
+
margin: 0;
|
410 |
+
padding: 0; }
|
411 |
+
|
412 |
+
.select2-results li {
|
413 |
+
list-style: none;
|
414 |
+
display: block;
|
415 |
+
background-image: none;
|
416 |
+
padding: 0;
|
417 |
+
margin: 0 !important;
|
418 |
+
border-top: 1px solid #efefef;
|
419 |
+
color: #666;
|
420 |
+
width: auto;
|
421 |
+
font-size: 13px; }
|
422 |
+
|
423 |
+
.select2-results li.select2-result-with-children > .select2-result-label {
|
424 |
+
font-weight: 600;
|
425 |
+
font-size: 14px;
|
426 |
+
cursor: default;
|
427 |
+
color: #222; }
|
428 |
+
|
429 |
+
.select2-results .select2-result-label {
|
430 |
+
margin: 0;
|
431 |
+
cursor: pointer;
|
432 |
+
min-height: 1em;
|
433 |
+
padding: 10px 8px;
|
434 |
+
-webkit-touch-callout: none;
|
435 |
+
-webkit-user-select: none;
|
436 |
+
-moz-user-select: none;
|
437 |
+
-ms-user-select: none;
|
438 |
+
user-select: none; }
|
439 |
+
|
440 |
+
.select2-results .select2-highlighted .select2-result-label {
|
441 |
+
/* Hover */
|
442 |
+
background: #f7f7f7;
|
443 |
+
color: #ca5252; }
|
444 |
+
|
445 |
+
.select2-results .select2-highlighted:active {
|
446 |
+
background: #fff; }
|
447 |
+
|
448 |
+
.select2-results li em {
|
449 |
+
background: #feffde;
|
450 |
+
font-style: normal; }
|
451 |
+
|
452 |
+
.select2-results .select2-highlighted em {
|
453 |
+
background: transparent; }
|
454 |
+
|
455 |
+
.select2-results .select2-highlighted ul {
|
456 |
+
background: white;
|
457 |
+
color: #000; }
|
458 |
+
|
459 |
+
.select2-results .select2-no-results,
|
460 |
+
.select2-results .select2-searching,
|
461 |
+
.select2-results .select2-selection-limit {
|
462 |
+
background: #f4f4f4;
|
463 |
+
display: list-item; }
|
464 |
+
|
465 |
+
.select2-results .select2-no-results {
|
466 |
+
min-height: 1em;
|
467 |
+
padding: 10px 7px;
|
468 |
+
font-size: 13px; }
|
469 |
+
|
470 |
+
/*
|
471 |
+
disabled look for disabled choices in the results dropdown
|
472 |
+
*/
|
473 |
+
.select2-results .select2-disabled.select2-highlighted {
|
474 |
+
color: #666;
|
475 |
+
background: #f4f4f4;
|
476 |
+
display: list-item;
|
477 |
+
cursor: default; }
|
478 |
+
|
479 |
+
.select2-results .select2-disabled {
|
480 |
+
background: #f4f4f4;
|
481 |
+
display: list-item;
|
482 |
+
cursor: default; }
|
483 |
+
|
484 |
+
.select2-results .select2-selected {
|
485 |
+
display: none; }
|
486 |
+
|
487 |
+
.select2-more-results {
|
488 |
+
background: #f4f4f4;
|
489 |
+
display: list-item; }
|
490 |
+
|
491 |
+
/* disabled styles */
|
492 |
+
.select2-container.select2-container-disabled .select2-choice {
|
493 |
+
background-color: #f4f4f4;
|
494 |
+
background-image: none;
|
495 |
+
border: 1px solid #ddd;
|
496 |
+
cursor: default; }
|
497 |
+
|
498 |
+
.select2-container.select2-container-disabled .select2-choice div {
|
499 |
+
background-color: #f4f4f4;
|
500 |
+
background-image: none;
|
501 |
+
border-left: 0; }
|
502 |
+
|
503 |
+
.select2-container.select2-container-disabled .select2-choice abbr {
|
504 |
+
display: none; }
|
505 |
+
|
506 |
+
.select2-offscreen {
|
507 |
+
border: 0;
|
508 |
+
clip: rect(0 0 0 0);
|
509 |
+
height: 1px;
|
510 |
+
margin: -1px;
|
511 |
+
overflow: hidden;
|
512 |
+
padding: 0;
|
513 |
+
position: absolute;
|
514 |
+
width: 1px;
|
515 |
+
left: 0; }
|
516 |
+
|
517 |
+
.alm-settings-feedback {
|
518 |
+
position: fixed;
|
519 |
+
bottom: 20px;
|
520 |
+
right: 20px;
|
521 |
+
width: auto;
|
522 |
+
height: auto;
|
523 |
+
background: #5cc583;
|
524 |
+
color: #fff;
|
525 |
+
padding: 15px 20px 15px 15px;
|
526 |
+
line-height: 1;
|
527 |
+
z-index: 999;
|
528 |
+
border-radius: 2px;
|
529 |
+
opacity: 0;
|
530 |
+
visibility: hidden;
|
531 |
+
-webkit-transition: all 0.2s ease;
|
532 |
+
transition: all 0.2s ease;
|
533 |
+
-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
|
534 |
+
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); }
|
535 |
+
.alm-settings-feedback.--saving {
|
536 |
+
background-color: #e0bd5e;
|
537 |
+
opacity: 1;
|
538 |
+
visibility: visible; }
|
539 |
+
.alm-settings-feedback.--saved {
|
540 |
+
opacity: 1;
|
541 |
+
visibility: visible; }
|
542 |
+
.alm-settings-feedback.--error {
|
543 |
+
background-color: #e03e3e;
|
544 |
+
opacity: 1;
|
545 |
+
visibility: visible; }
|
546 |
+
.alm-settings-feedback i {
|
547 |
+
opacity: 0.7;
|
548 |
+
margin: 0 3px 0 0; }
|
549 |
+
|
550 |
+
#alm_OptionsForm {
|
551 |
+
position: relative; }
|
552 |
+
#alm_OptionsForm .save-in-progress {
|
553 |
+
width: 100%;
|
554 |
+
height: 100%;
|
555 |
+
position: absolute;
|
556 |
+
left: 0;
|
557 |
+
top: 0;
|
558 |
+
z-index: 10;
|
559 |
+
background: rgba(255, 255, 255, 0.5);
|
560 |
+
-webkit-transition: all 0.2s ease;
|
561 |
+
transition: all 0.2s ease;
|
562 |
+
opacity: 0;
|
563 |
+
visibility: hidden; }
|
564 |
+
#alm_OptionsForm.--saving .save-in-progress {
|
565 |
+
opacity: 1;
|
566 |
+
visibility: visible;
|
567 |
+
cursor: not-allowed !important; }
|
568 |
+
|
569 |
+
/* Custom buttom/loading styles */
|
570 |
+
.select2-results .select2-result.alm-color .select2-result-label {
|
571 |
+
position: relative; }
|
572 |
+
|
573 |
+
.select2-results .select2-result.alm-color .select2-result-label:after {
|
574 |
+
width: 10px;
|
575 |
+
height: 10px;
|
576 |
+
border-radius: 100%;
|
577 |
+
content: '';
|
578 |
+
display: block;
|
579 |
+
position: absolute;
|
580 |
+
right: 20px;
|
581 |
+
top: 50%;
|
582 |
+
margin-top: -5px;
|
583 |
+
z-index: 1; }
|
584 |
+
|
585 |
+
.select2-results .select2-result.alm-color.default .select2-result-label:after {
|
586 |
+
background-color: #ed7070; }
|
587 |
+
|
588 |
+
.select2-results .select2-result.alm-color.blue .select2-result-label:after {
|
589 |
+
background-color: #0081bf; }
|
590 |
+
|
591 |
+
.select2-results .select2-result.alm-color.green .select2-result-label:after {
|
592 |
+
background-color: #6fca68; }
|
593 |
+
|
594 |
+
.select2-results .select2-result.alm-color.purple .select2-result-label:after {
|
595 |
+
background-color: #a86bb9; }
|
596 |
+
|
597 |
+
.select2-results .select2-result.alm-color.grey .select2-result-label:after {
|
598 |
+
background-color: #888; }
|
599 |
+
|
600 |
+
.select2-results .select2-result.infinite .select2-result-label:after {
|
601 |
+
display: none; }
|
602 |
+
|
603 |
+
.select2-results .select2-result.infinite .select2-result-label {
|
604 |
+
background-size: 20px 20px;
|
605 |
+
background-repeat: no-repeat;
|
606 |
+
background-position: 93% center; }
|
607 |
+
|
608 |
+
.select2-results .select2-result.classic .select2-result-label {
|
609 |
+
background-image: url("../../../core/img/spinner.gif"); }
|
610 |
+
|
611 |
+
.select2-results .select2-result.skype .select2-result-label {
|
612 |
+
background-image: url("../../../core/img/spinner-skype.gif"); }
|
613 |
+
|
614 |
+
.select2-results .select2-result.ring .select2-result-label {
|
615 |
+
background-image: url("../../../core/img/spinner-ring.gif"); }
|
616 |
+
|
617 |
+
.select2-results .select2-result.chasing-arrows .select2-result-label {
|
618 |
+
background-image: url("../../../core/img/spinner-chasing-arrows.gif"); }
|
619 |
+
|
620 |
+
.select2-results .select2-result.fading-blocks .select2-result-label {
|
621 |
+
background-image: url("../../../core/img/loader-fading-blocks.gif");
|
622 |
+
background-size: 20px 16px; }
|
623 |
+
|
624 |
+
.select2-results .select2-result.fading-circles .select2-result-label {
|
625 |
+
background-image: url("../../../core/img/loader-fading-circles.gif");
|
626 |
+
background-size: 30px 10px;
|
627 |
+
background-position: 95% center; }
|
628 |
+
|
629 |
+
/*
|
630 |
+
* Admin - Popup Generator
|
631 |
+
*
|
632 |
+
* @since 1.0
|
633 |
+
*/
|
634 |
+
.ajax-load-more * {
|
635 |
+
-webkit-box-sizing: border-box;
|
636 |
+
box-sizing: border-box; }
|
637 |
+
|
638 |
+
.forceColors {
|
639 |
+
background: #fff !important; }
|
640 |
+
|
641 |
+
.offscreen {
|
642 |
+
position: absolute;
|
643 |
+
left: -9999px; }
|
644 |
+
|
645 |
+
.ajax-load-more {
|
646 |
+
font-size: 14px;
|
647 |
+
color: #666;
|
648 |
+
position: relative;
|
649 |
+
max-width: 1250px; }
|
650 |
+
|
651 |
+
#alm-help.ajax-load-more {
|
652 |
+
max-width: 1600px; }
|
653 |
+
|
654 |
+
.ajax-load-more a:focus {
|
655 |
+
-webkit-box-shadow: none;
|
656 |
+
box-shadow: none; }
|
657 |
+
|
658 |
+
.ajax-load-more img {
|
659 |
+
max-width: 100%; }
|
660 |
+
|
661 |
+
#alm-container {
|
662 |
+
overflow: hidden;
|
663 |
+
padding: 15px 10px 140px !important; }
|
664 |
+
|
665 |
+
#alm-settings .admin-select {
|
666 |
+
width: 100%;
|
667 |
+
display: block;
|
668 |
+
padding: 0 0 25px;
|
669 |
+
margin: -10px 0 0; }
|
670 |
+
|
671 |
+
#alm-settings .admin-select .select2-container {
|
672 |
+
width: 48%;
|
673 |
+
min-width: 48%;
|
674 |
+
display: inline-block;
|
675 |
+
vertical-align: top; }
|
676 |
+
|
677 |
+
/* Saved Settings */
|
678 |
+
#alm-settings .row.alm-save-settings {
|
679 |
+
padding-bottom: 5px !important; }
|
680 |
+
|
681 |
+
#alm-settings form h2 {
|
682 |
+
background: #f7f7f7;
|
683 |
+
border: 1px solid #efefef;
|
684 |
+
border-bottom: none;
|
685 |
+
padding: 20px 20px 6px;
|
686 |
+
margin: 20px 0 0;
|
687 |
+
font-weight: 600;
|
688 |
+
font-size: 18px;
|
689 |
+
border-radius: 2px 2px 0 0; }
|
690 |
+
|
691 |
+
#alm-settings form h2:first-of-type {
|
692 |
+
margin: 0; }
|
693 |
+
|
694 |
+
#alm-settings form h2 + p {
|
695 |
+
color: #999;
|
696 |
+
padding: 0 20px 17px;
|
697 |
+
border-right: 1px solid #efefef;
|
698 |
+
border-left: 1px solid #efefef;
|
699 |
+
background: #f7f7f7;
|
700 |
+
margin: 0;
|
701 |
+
font-size: 13px; }
|
702 |
+
|
703 |
+
.ajax-load-more p.file-location {
|
704 |
+
border: 1px solid #efefef;
|
705 |
+
background: #fff;
|
706 |
+
margin: 0 0 10px;
|
707 |
+
padding: 15px;
|
708 |
+
line-height: 1;
|
709 |
+
display: block;
|
710 |
+
font-family: Consolas, Monaco, monospace;
|
711 |
+
border-radius: 3px; }
|
712 |
+
|
713 |
+
.ajax-load-more code {
|
714 |
+
background: #fcf3d0; }
|
715 |
+
|
716 |
+
.ajax-load-more p {
|
717 |
+
display: block;
|
718 |
+
color: #777;
|
719 |
+
width: 100%;
|
720 |
+
display: block;
|
721 |
+
clear: both;
|
722 |
+
text-transform: none;
|
723 |
+
padding: 0;
|
724 |
+
margin: 0 0 15px; }
|
725 |
+
|
726 |
+
.ajax-load-more p,
|
727 |
+
.ajax-load-more li,
|
728 |
+
.ajax-load-more input,
|
729 |
+
.ajax-load-more textarea,
|
730 |
+
.ajax-load-more label {
|
731 |
+
font-size: 14px; }
|
732 |
+
|
733 |
+
textarea#_alm_layouts_css {
|
734 |
+
height: 240px; }
|
735 |
+
|
736 |
+
a.layout-hover {
|
737 |
+
width: 20px !important;
|
738 |
+
height: 20px !important;
|
739 |
+
background: #ccc;
|
740 |
+
display: inline-block;
|
741 |
+
position: relative; }
|
742 |
+
|
743 |
+
a.layout-hover img {
|
744 |
+
position: absolute;
|
745 |
+
left: 100%;
|
746 |
+
top: 0;
|
747 |
+
z-index: 999;
|
748 |
+
opacity: 0;
|
749 |
+
filter: alpha(opacity=0); }
|
750 |
+
|
751 |
+
a.layout-hover:hover img {
|
752 |
+
position: absolute;
|
753 |
+
left: 100%;
|
754 |
+
top: 0;
|
755 |
+
z-index: 999;
|
756 |
+
opacity: 1;
|
757 |
+
filter: alpha(opacity=100); }
|
758 |
+
|
759 |
+
.ajax-load-more p.highlight {
|
760 |
+
background-color: #fffbd4;
|
761 |
+
color: #333;
|
762 |
+
padding: 5px 10px;
|
763 |
+
border-radius: 3px;
|
764 |
+
margin: -5px 0 10px; }
|
765 |
+
|
766 |
+
.ajax-load-more h1 {
|
767 |
+
font-weight: 600;
|
768 |
+
line-height: 28px; }
|
769 |
+
|
770 |
+
.ajax-load-more h1,
|
771 |
+
.ajax-load-more h3,
|
772 |
+
.ajax-load-more h4 {
|
773 |
+
color: #444;
|
774 |
+
margin-top: 0; }
|
775 |
+
|
776 |
+
.ajax-load-more h4 + p {
|
777 |
+
margin-top: -6px; }
|
778 |
+
|
779 |
+
.ajax-load-more p.small {
|
780 |
+
font-size: 12px;
|
781 |
+
margin-top: -10px;
|
782 |
+
opacity: 0.7; }
|
783 |
+
|
784 |
+
.ajax-load-more p.small.reset-shortcode-builder {
|
785 |
+
text-align: right;
|
786 |
+
margin: 10px 0 0;
|
787 |
+
display: none; }
|
788 |
+
|
789 |
+
.ajax-load-more p.small.reset-shortcode-builder a {
|
790 |
+
text-decoration: none; }
|
791 |
+
|
792 |
+
/* Expand Collapse Headings */
|
793 |
+
.ajax-load-more h3.heading {
|
794 |
+
font-weight: 700;
|
795 |
+
padding: 15px 10px 15px 40px !important;
|
796 |
+
line-height: normal !important;
|
797 |
+
margin: 0 !important;
|
798 |
+
color: #555;
|
799 |
+
cursor: pointer;
|
800 |
+
width: 100%;
|
801 |
+
position: relative;
|
802 |
+
font-size: 17px;
|
803 |
+
background: #f7f7f7;
|
804 |
+
border-bottom: 1px solid #efefef; }
|
805 |
+
|
806 |
+
.ajax-load-more h3.heading:hover:after,
|
807 |
+
.ajax-load-more .add-on h3.heading:hover:after {
|
808 |
+
color: #f05452; }
|
809 |
+
|
810 |
+
.ajax-load-more h3.heading:hover {
|
811 |
+
color: #222; }
|
812 |
+
|
813 |
+
.ajax-load-more h3.heading:after {
|
814 |
+
font-family: 'FontAwesome';
|
815 |
+
content: '\f056';
|
816 |
+
color: #ccc;
|
817 |
+
font-size: 18px;
|
818 |
+
position: absolute;
|
819 |
+
left: 13px;
|
820 |
+
top: 17px;
|
821 |
+
height: 20px;
|
822 |
+
width: 20px; }
|
823 |
+
|
824 |
+
.ajax-load-more h3.heading.open:after {
|
825 |
+
content: '\f055'; }
|
826 |
+
|
827 |
+
.ajax-load-more h3.heading.open {
|
828 |
+
border-bottom-color: transparent; }
|
829 |
+
|
830 |
+
.ajax-load-more .add-on h3.heading:after {
|
831 |
+
color: #999; }
|
832 |
+
|
833 |
+
.ajax-load-more .add-on h3.heading {
|
834 |
+
background-color: #fefeed; }
|
835 |
+
|
836 |
+
/* Expand/Collapse all rows */
|
837 |
+
.ajax-load-more .toggle-all {
|
838 |
+
position: absolute;
|
839 |
+
top: -16px;
|
840 |
+
right: 20px;
|
841 |
+
width: auto;
|
842 |
+
display: inline-block;
|
843 |
+
font-size: 11px;
|
844 |
+
text-transform: uppercase;
|
845 |
+
border-radius: 3px;
|
846 |
+
padding: 0 12px 0 10px;
|
847 |
+
height: 31px;
|
848 |
+
line-height: 30px;
|
849 |
+
background: #fff;
|
850 |
+
border: 1px solid #e1e1e1;
|
851 |
+
color: #777;
|
852 |
+
cursor: pointer;
|
853 |
+
z-index: 20; }
|
854 |
+
|
855 |
+
#alm-container.ajax-load-more .toggle-all {
|
856 |
+
display: none; }
|
857 |
+
|
858 |
+
.ajax-load-more .toggle-all:hover {
|
859 |
+
color: #ca5252; }
|
860 |
+
|
861 |
+
.ajax-load-more .toggle-all .inner-wrap {
|
862 |
+
position: relative;
|
863 |
+
padding-left: 16px;
|
864 |
+
line-height: 24px; }
|
865 |
+
|
866 |
+
.ajax-load-more .toggle-all .expand {
|
867 |
+
display: none; }
|
868 |
+
|
869 |
+
.ajax-load-more .toggle-all .collapse {
|
870 |
+
display: inline-block; }
|
871 |
+
|
872 |
+
.ajax-load-more .toggle-all em {
|
873 |
+
font-style: normal; }
|
874 |
+
|
875 |
+
.ajax-load-more .toggle-all.closed .expand {
|
876 |
+
display: inline-block; }
|
877 |
+
|
878 |
+
.ajax-load-more .toggle-all.closed .collapse {
|
879 |
+
display: none; }
|
880 |
+
|
881 |
+
.ajax-load-more .toggle-all .inner-wrap:before {
|
882 |
+
font-family: 'FontAwesome';
|
883 |
+
content: '\f068';
|
884 |
+
font-size: 10px;
|
885 |
+
position: absolute;
|
886 |
+
left: 0;
|
887 |
+
top: -5px; }
|
888 |
+
|
889 |
+
.ajax-load-more .toggle-all.closed .inner-wrap:before {
|
890 |
+
content: '\f067'; }
|
891 |
+
|
892 |
+
#alm-builder{
|
893 |
+
font-family: -apple-system,BlinkMacSystemFont, "Segoe UI", Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; }
|
894 |
+
|
895 |
+
.ajax-load-more ul {
|
896 |
+
padding: 0;
|
897 |
+
margin: 0;
|
898 |
+
list-style: none; }
|
899 |
+
|
900 |
+
#alm-builder li,
|
901 |
+
.forceColors li {
|
902 |
+
padding: 0 5% 0 0;
|
903 |
+
margin: 0 0 5px;
|
904 |
+
width: 48.666%;
|
905 |
+
clear: both;
|
906 |
+
display: inline-block;
|
907 |
+
vertical-align: top;
|
908 |
+
overflow: visible; }
|
909 |
+
|
910 |
+
.ajax-load-more label.full {
|
911 |
+
display: block;
|
912 |
+
clear: both;
|
913 |
+
width: 100%;
|
914 |
+
color: #444;
|
915 |
+
font-weight: 600;
|
916 |
+
padding: 0 0 10px;
|
917 |
+
cursor: default;
|
918 |
+
font-size: 12px;
|
919 |
+
text-transform: uppercase; }
|
920 |
+
|
921 |
+
.ajax-load-more .border-top {
|
922 |
+
display: block;
|
923 |
+
border-top: 1px solid #efefef;
|
924 |
+
width: 100%;
|
925 |
+
clear: both;
|
926 |
+
margin: 0 0 20px;
|
927 |
+
padding: 20px 0 0 !important;
|
928 |
+
overflow: visible;
|
929 |
+
position: relative; }
|
930 |
+
|
931 |
+
.ajax-load-more .border-top.controls {
|
932 |
+
padding: 0 !important; }
|
933 |
+
|
934 |
+
.ajax-load-more .border-top.controls button {
|
935 |
+
margin-top: 20px !important; }
|
936 |
+
|
937 |
+
.ajax-load-more .border-top.highlighted {
|
938 |
+
background-color: #feffe3;
|
939 |
+
padding: 15px !important;
|
940 |
+
border: 1px solid #eeefd4; }
|
941 |
+
|
942 |
+
.ajax-load-more .alm-settings-nav {
|
943 |
+
margin: 0 0 5px;
|
944 |
+
padding: 0;
|
945 |
+
overflow: hidden;
|
946 |
+
position: relative;
|
947 |
+
width: calc(100% + 40px);
|
948 |
+
top: -20px;
|
949 |
+
left: -20px;
|
950 |
+
border-bottom: 1px solid #ebebeb;
|
951 |
+
background: #f7f7f7;
|
952 |
+
border-radius: 3px 3px 0 0; }
|
953 |
+
|
954 |
+
.alm-settings-nav li {
|
955 |
+
float: left;
|
956 |
+
margin: 0;
|
957 |
+
padding: 0;
|
958 |
+
font-weight: 600;
|
959 |
+
background: none;
|
960 |
+
font-size: 13px; }
|
961 |
+
|
962 |
+
.alm-settings-nav a {
|
963 |
+
text-decoration: none;
|
964 |
+
padding: 8px 16px 8px 16px;
|
965 |
+
border-left: 1px solid #ebebeb;
|
966 |
+
display: block; }
|
967 |
+
|
968 |
+
.alm-settings-nav a:hover {
|
969 |
+
color: #fff;
|
970 |
+
background-color: #ff5a58; }
|
971 |
+
|
972 |
+
.alm-settings-nav li:first-of-type a {
|
973 |
+
border: none;
|
974 |
+
border-radius: 3px 0 0 0; }
|
975 |
+
|
976 |
+
#meta-query-relation {
|
977 |
+
margin: 10px 0 0; }
|
978 |
+
|
979 |
+
#meta-query-relation .inner {
|
980 |
+
margin: 5px 0 0 !important; }
|
981 |
+
|
982 |
+
#alm-meta-key .meta-query-wrap,
|
983 |
+
.taxonomy-wrap {
|
984 |
+
padding: 15px;
|
985 |
+
border: 1px solid #efefef;
|
986 |
+
margin: 20px 0 0;
|
987 |
+
position: relative;
|
988 |
+
border-radius: 2px; }
|
989 |
+
|
990 |
+
.meta-query-wrap.removing,
|
991 |
+
.taxonomy-wrap.removing {
|
992 |
+
background-color: #f5d0d0; }
|
993 |
+
|
994 |
+
#alm-meta-key .meta-query-wrap-first .meta-query-wrap {
|
995 |
+
border: none;
|
996 |
+
background-color: none;
|
997 |
+
padding: 0;
|
998 |
+
margin: 0; }
|
999 |
+
|
1000 |
+
#meta-key .border-top {
|
1001 |
+
border: none !important; }
|
1002 |
+
|
1003 |
+
.row .controls {
|
1004 |
+
display: block;
|
1005 |
+
clear: both;
|
1006 |
+
padding: 20px 0 10px;
|
1007 |
+
overflow: hidden; }
|
1008 |
+
|
1009 |
+
.row.taxonomy .controls {
|
1010 |
+
padding-bottom: 20px; }
|
1011 |
+
|
1012 |
+
.row.taxonomy .highlighted {
|
1013 |
+
margin-bottom: 0 !important; }
|
1014 |
+
|
1015 |
+
.meta-query-wrap .remove-meta-query,
|
1016 |
+
.taxonomy-wrap .remove-tax-query {
|
1017 |
+
position: absolute;
|
1018 |
+
right: 7px;
|
1019 |
+
top: 7px;
|
1020 |
+
width: 24px;
|
1021 |
+
height: 24px;
|
1022 |
+
line-height: 24px;
|
1023 |
+
text-align: center;
|
1024 |
+
font-weight: 400;
|
1025 |
+
font-size: 17px;
|
1026 |
+
background-color: transparent;
|
1027 |
+
color: #666;
|
1028 |
+
text-decoration: none;
|
1029 |
+
border-radius: 2px; }
|
1030 |
+
.meta-query-wrap .remove-meta-query:hover, .meta-query-wrap .remove-meta-query:hover,
|
1031 |
+
.taxonomy-wrap .remove-tax-query:hover,
|
1032 |
+
.taxonomy-wrap .remove-tax-query:hover {
|
1033 |
+
background-color: #cb2222;
|
1034 |
+
color: #fff; }
|
1035 |
+
|
1036 |
+
.ajax-load-more .meta-query-wrap .border-top:first-of-type {
|
1037 |
+
padding: 0 0 0 !important;
|
1038 |
+
border: none; }
|
1039 |
+
|
1040 |
+
.ajax-load-more #taxonomy-extended,
|
1041 |
+
.ajax-load-more #nav-controls,
|
1042 |
+
.ajax-load-more #seo-extended,
|
1043 |
+
.ajax-load-more #meta-query-relation,
|
1044 |
+
.ajax-load-more #tax-query-relation,
|
1045 |
+
.ajax-load-more .comments_extras,
|
1046 |
+
.ajax-load-more .taxonomy-extended {
|
1047 |
+
display: none;
|
1048 |
+
overflow: hidden; }
|
1049 |
+
|
1050 |
+
.ajax-load-more .taxonomy-extended {
|
1051 |
+
padding-top: 20px; }
|
1052 |
+
|
1053 |
+
.ajax-load-more #tax-query-relation {
|
1054 |
+
margin-top: 20px; }
|
1055 |
+
|
1056 |
+
.ajax-load-more .taxonomy-wrap {
|
1057 |
+
display: none;
|
1058 |
+
position: relative; }
|
1059 |
+
|
1060 |
+
.ajax-load-more .row .wrap .inner
|
1061 |
+
.ajax-load-more p.warning {
|
1062 |
+
color: #d24646;
|
1063 |
+
font-size: 13px;
|
1064 |
+
border-left: 3px solid #d24646;
|
1065 |
+
margin: 0;
|
1066 |
+
padding: 0 0 0 10px; }
|
1067 |
+
|
1068 |
+
.ajax-load-more .row .wrap .inner.taxonomy {
|
1069 |
+
padding-bottom: 0; }
|
1070 |
+
|
1071 |
+
.ajax-load-more p.warning-callout {
|
1072 |
+
background-color: #cbecf7;
|
1073 |
+
border-left: 5px solid #5e99ac;
|
1074 |
+
color: #333;
|
1075 |
+
font-size: 13px;
|
1076 |
+
margin: 0;
|
1077 |
+
display: block;
|
1078 |
+
padding: 12px 12px 12px 17px;
|
1079 |
+
border-radius: 3px;
|
1080 |
+
margin: 10px;
|
1081 |
+
width: auto;
|
1082 |
+
line-height: 1.55; }
|
1083 |
+
|
1084 |
+
.ajax-load-more p.warning-callout strong {
|
1085 |
+
display: inline-block;
|
1086 |
+
font-weight: normal;
|
1087 |
+
font-family: Consolas, monaco, monospace;
|
1088 |
+
background-color: #edfbff;
|
1089 |
+
color: #525c5f;
|
1090 |
+
padding: 0 6px;
|
1091 |
+
border-radius: 2px; }
|
1092 |
+
|
1093 |
+
.ajax-load-more p.warning-callout.notify {
|
1094 |
+
background-color: #ad4141;
|
1095 |
+
border-color: #903030;
|
1096 |
+
color: #fff; }
|
1097 |
+
|
1098 |
+
.ajax-load-more p.warning-callout.notify strong {
|
1099 |
+
background-color: #cb5858;
|
1100 |
+
color: #fff; }
|
1101 |
+
|
1102 |
+
.ajax-load-more label,
|
1103 |
+
.ajax-load-more input,
|
1104 |
+
.ajax-load-more select,
|
1105 |
+
.ajax-load-more textarea {
|
1106 |
+
font-size: 14px;
|
1107 |
+
padding: 5px 8px;
|
1108 |
+
width: auto;
|
1109 |
+
margin-top: 0;
|
1110 |
+
display: inline-block;
|
1111 |
+
clear: both;
|
1112 |
+
border-radius: 3px;
|
1113 |
+
color: #444;
|
1114 |
+
-webkit-box-shadow: none;
|
1115 |
+
box-shadow: none; }
|
1116 |
+
|
1117 |
+
.controls button.disabled {
|
1118 |
+
opacity: 0.5; }
|
1119 |
+
|
1120 |
+
.ajax-load-more textarea._alm_repeater {
|
1121 |
+
font-family: Consolas, monaco, monospace;
|
1122 |
+
font-size: 13px;
|
1123 |
+
line-height: 19px;
|
1124 |
+
padding: 10px; }
|
1125 |
+
|
1126 |
+
.ajax-load-more textarea._alm_repeater:focus {
|
1127 |
+
color: #222; }
|
1128 |
+
|
1129 |
+
.ajax-load-more label {
|
1130 |
+
padding: 5px 0;
|
1131 |
+
border-radius: 0; }
|
1132 |
+
|
1133 |
+
.checkboxes input,
|
1134 |
+
.radio input {
|
1135 |
+
margin-top: 2px; }
|
1136 |
+
|
1137 |
+
.checkboxes input,
|
1138 |
+
.checkboxes label,
|
1139 |
+
.radio input,
|
1140 |
+
.radio label {
|
1141 |
+
float: left;
|
1142 |
+
width: auto;
|
1143 |
+
margin-right: 10px;
|
1144 |
+
padding: 0;
|
1145 |
+
clear: none; }
|
1146 |
+
|
1147 |
+
.radio input {
|
1148 |
+
margin-left: 3px; }
|
1149 |
+
|
1150 |
+
.ajax-load-more input[type=text],
|
1151 |
+
.ajax-load-more input[type=number] {
|
1152 |
+
padding: 10px 12px;
|
1153 |
+
line-height: 1.3;
|
1154 |
+
border: 1px solid #e1e1e1;
|
1155 |
+
width: 60%; }
|
1156 |
+
|
1157 |
+
.ajax-load-more input[type=text].full {
|
1158 |
+
width: 100%; }
|
1159 |
+
|
1160 |
+
.ajax-load-more .wrap-30 {
|
1161 |
+
width: 32.333%;
|
1162 |
+
padding-right: 3%;
|
1163 |
+
display: inline-block;
|
1164 |
+
vertical-align: top; }
|
1165 |
+
|
1166 |
+
.ajax-load-more .wrap-30.wrap-50 {
|
1167 |
+
width: 48.6666%; }
|
1168 |
+
|
1169 |
+
.ajax-load-more .wrap-30.wrap-50.padding-top {
|
1170 |
+
padding-top: 15px; }
|
1171 |
+
|
1172 |
+
.ajax-load-more .wrap-30 input[type=text].sm,
|
1173 |
+
.ajax-load-more .wrap-30 .select2-container {
|
1174 |
+
width: 100%;
|
1175 |
+
margin: 0; }
|
1176 |
+
|
1177 |
+
.ajax-load-more input[type=number].sm {
|
1178 |
+
width: 100px; }
|
1179 |
+
|
1180 |
+
.ajax-load-more ::-webkit-input-placeholder {
|
1181 |
+
color: #999;
|
1182 |
+
font-style: italic; }
|
1183 |
+
|
1184 |
+
.ajax-load-more :-moz-placeholder {
|
1185 |
+
/* Firefox 18- */
|
1186 |
+
color: #999;
|
1187 |
+
font-style: italic; }
|
1188 |
+
|
1189 |
+
.ajax-load-more ::-moz-placeholder {
|
1190 |
+
/* Firefox 19+ */
|
1191 |
+
color: #999;
|
1192 |
+
font-style: italic; }
|
1193 |
+
|
1194 |
+
.ajax-load-more :-ms-input-placeholder {
|
1195 |
+
color: #999;
|
1196 |
+
font-style: italic; }
|
1197 |
+
|
1198 |
+
.ajax-load-more input[type=text],
|
1199 |
+
.ajax-load-more input[type=number],
|
1200 |
+
.ajax-load-more textarea {
|
1201 |
+
background: #f7f7f7; }
|
1202 |
+
|
1203 |
+
.ajax-load-more .repeaters input[type=text] {
|
1204 |
+
padding: 9px 10px; }
|
1205 |
+
|
1206 |
+
.ajax-load-more input[type=number] {
|
1207 |
+
height: auto; }
|
1208 |
+
|
1209 |
+
.ajax-load-more input.disabled-input {
|
1210 |
+
opacity: 0.5;
|
1211 |
+
filter: alpha(opacity=50);
|
1212 |
+
cursor: not-allowed;
|
1213 |
+
background: #f7f7f7 !important;
|
1214 |
+
border-color: #ccc !important;
|
1215 |
+
-webkit-box-shadow: none !important;
|
1216 |
+
box-shadow: none !important; }
|
1217 |
+
|
1218 |
+
.ajax-load-more input[type=text]:focus,
|
1219 |
+
.ajax-load-more textarea:focus {
|
1220 |
+
border-color: #999;
|
1221 |
+
-webkit-box-shadow: 0 0 3px #ccc;
|
1222 |
+
box-shadow: 0 0 3px #ccc;
|
1223 |
+
background: #efefef; }
|
1224 |
+
|
1225 |
+
.checkboxes label {
|
1226 |
+
margin-right: 5px; }
|
1227 |
+
|
1228 |
+
.ajax-load-more .one_half {
|
1229 |
+
display: inline-block;
|
1230 |
+
width: 47.333%;
|
1231 |
+
margin: 0 0 1% 2%;
|
1232 |
+
vertical-align: top; }
|
1233 |
+
|
1234 |
+
.ajax-load-more .one_half:first-of-type {
|
1235 |
+
margin: 0 2% 1% 0; }
|
1236 |
+
|
1237 |
+
/* --------------------------------------------------------------------------- */
|
1238 |
+
/* Row */
|
1239 |
+
/* --------------------------------------------------------------------------- */
|
1240 |
+
.ajax-load-more .row {
|
1241 |
+
padding: 0 !important;
|
1242 |
+
margin: 20px 0 0;
|
1243 |
+
height: auto;
|
1244 |
+
width: 100%;
|
1245 |
+
display: block;
|
1246 |
+
overflow: hidden;
|
1247 |
+
clear: both;
|
1248 |
+
border: 1px solid #efefef;
|
1249 |
+
border-radius: 2px; }
|
1250 |
+
|
1251 |
+
.ajax-load-more#alm-repeaters .row {
|
1252 |
+
overflow: visible; }
|
1253 |
+
|
1254 |
+
.ajax-load-more .row.no-brd {
|
1255 |
+
border: none !important;
|
1256 |
+
padding: 0 !important; }
|
1257 |
+
|
1258 |
+
.admin.ajax-load-more .row {
|
1259 |
+
border-color: #efefef; }
|
1260 |
+
|
1261 |
+
.admin.ajax-load-more .repeaters .row:hover,
|
1262 |
+
.admin.ajax-load-more.shortcode-builder .row:hover {
|
1263 |
+
border-color: #d9d9d9;
|
1264 |
+
-webkit-box-shadow: 0 0 0 3px #f7f7f7;
|
1265 |
+
box-shadow: 0 0 0 3px #f7f7f7; }
|
1266 |
+
|
1267 |
+
.admin.ajax-load-more .row:first-of-type {
|
1268 |
+
margin: 0;
|
1269 |
+
padding-top: 0; }
|
1270 |
+
|
1271 |
+
.ajax-load-more .intro {
|
1272 |
+
height: auto;
|
1273 |
+
width: 100%;
|
1274 |
+
display: block;
|
1275 |
+
overflow: hidden; }
|
1276 |
+
|
1277 |
+
/* Jump Menu */
|
1278 |
+
.pop-up-jump {
|
1279 |
+
display: block;
|
1280 |
+
width: 100%; }
|
1281 |
+
|
1282 |
+
.pop-up-jump .jump-menu-wrap {
|
1283 |
+
position: relative;
|
1284 |
+
float: right;
|
1285 |
+
width: 30%; }
|
1286 |
+
|
1287 |
+
.pop-up-jump .jump-menu-wrap .select2-container {
|
1288 |
+
width: 100% !important;
|
1289 |
+
margin-bottom: 15px;
|
1290 |
+
position: relative;
|
1291 |
+
top: -5px; }
|
1292 |
+
|
1293 |
+
.pop-up-jump .intro-wrap {
|
1294 |
+
position: relative;
|
1295 |
+
float: left;
|
1296 |
+
width: 65%;
|
1297 |
+
padding-right: 5%; }
|
1298 |
+
|
1299 |
+
.admin.ajax-load-more .jump-menu {
|
1300 |
+
display: none; }
|
1301 |
+
|
1302 |
+
/* Table of Contents */
|
1303 |
+
.table-of-contents.attached {
|
1304 |
+
position: fixed;
|
1305 |
+
width: auto;
|
1306 |
+
top: 70px; }
|
1307 |
+
|
1308 |
+
.table-of-contents .select2-container {
|
1309 |
+
width: 100%; }
|
1310 |
+
|
1311 |
+
.table-of-contents ul {
|
1312 |
+
margin: 0 !important; }
|
1313 |
+
|
1314 |
+
.table-of-contents li {
|
1315 |
+
width: auto !important;
|
1316 |
+
display: inline-block;
|
1317 |
+
vertical-align: top;
|
1318 |
+
padding: 0;
|
1319 |
+
margin: 5px 5px 5px 0; }
|
1320 |
+
|
1321 |
+
.ajax-load-more .expand-wrap {
|
1322 |
+
display: block; }
|
1323 |
+
|
1324 |
+
#alm-examples.ajax-load-more .expand-wrap {
|
1325 |
+
padding: 10px 10px 0; }
|
1326 |
+
|
1327 |
+
.ajax-load-more .expand-wrap hr {
|
1328 |
+
border: 0;
|
1329 |
+
height: 0;
|
1330 |
+
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
1331 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
|
1332 |
+
|
1333 |
+
.ajax-load-more .section-title {
|
1334 |
+
float: left;
|
1335 |
+
padding: 20px 0 20px 36px;
|
1336 |
+
width: 40%; }
|
1337 |
+
|
1338 |
+
.ajax-load-more .section-title.full {
|
1339 |
+
width: 100%;
|
1340 |
+
float: none; }
|
1341 |
+
|
1342 |
+
.ajax-load-more .section-title h4 {
|
1343 |
+
font-size: 15px;
|
1344 |
+
margin-bottom: 13px; }
|
1345 |
+
|
1346 |
+
.ajax-load-more .section-title p,
|
1347 |
+
.ajax-load-more .wrap p.descriptor {
|
1348 |
+
font-size: 13px;
|
1349 |
+
line-height: 20px;
|
1350 |
+
color: #999; }
|
1351 |
+
|
1352 |
+
.ajax-load-more .wrap p.descriptor {
|
1353 |
+
margin: 0;
|
1354 |
+
font-style: italic; }
|
1355 |
+
|
1356 |
+
.ajax-load-more .section-title p .fa.tooltip,
|
1357 |
+
.form-table label .fa.tooltip {
|
1358 |
+
margin: 0 2px;
|
1359 |
+
display: inline-block;
|
1360 |
+
font-size: 15px;
|
1361 |
+
opacity: 0.9;
|
1362 |
+
top: 0; }
|
1363 |
+
|
1364 |
+
.ajax-load-more .section-title p .fa.tooltip:hover,
|
1365 |
+
.form-table label .fa.tooltip:hover {
|
1366 |
+
opacity: 1; }
|
1367 |
+
|
1368 |
+
.fa.tooltip {
|
1369 |
+
text-decoration: none;
|
1370 |
+
cursor: help;
|
1371 |
+
position: relative;
|
1372 |
+
top: -1px; }
|
1373 |
+
|
1374 |
+
.ajax-load-more .section-title p span,
|
1375 |
+
.admin.ajax-load-more.settings .form-table p.notify span {
|
1376 |
+
display: inline-block;
|
1377 |
+
padding: 0 4px;
|
1378 |
+
border-radius: 2px;
|
1379 |
+
background: #f7f7f7;
|
1380 |
+
border: 1px solid #efefef;
|
1381 |
+
color: #666; }
|
1382 |
+
|
1383 |
+
.ajax-load-more .section-title h4 {
|
1384 |
+
margin: 0 0 10px; }
|
1385 |
+
|
1386 |
+
.ajax-load-more .repeaters .section-title,
|
1387 |
+
.ajax-load-more .repeaters .row .wrap {
|
1388 |
+
width: 100%;
|
1389 |
+
float: none;
|
1390 |
+
padding: 0; }
|
1391 |
+
|
1392 |
+
.ajax-load-more .repeaters .section-title p {
|
1393 |
+
padding-left: 0 !important; }
|
1394 |
+
|
1395 |
+
.ajax-load-more label.template-title {
|
1396 |
+
padding: 10px 0;
|
1397 |
+
margin: 0;
|
1398 |
+
font-size: 13px;
|
1399 |
+
color: #888; }
|
1400 |
+
|
1401 |
+
.ajax-load-more label input._alm_repeater_alias {
|
1402 |
+
height: auto;
|
1403 |
+
line-height: normal !important; }
|
1404 |
+
|
1405 |
+
.preload_amount,
|
1406 |
+
.cache_id,
|
1407 |
+
.alternate_template_wrap,
|
1408 |
+
.cta_template_wrap,
|
1409 |
+
.restapi_options,
|
1410 |
+
.next-page-content,
|
1411 |
+
.acf-options,
|
1412 |
+
.masonry-options,
|
1413 |
+
.progress-bar-options {
|
1414 |
+
display: none; }
|
1415 |
+
|
1416 |
+
.ajax-load-more .row .wrap {
|
1417 |
+
padding: 20px 0 0 5%;
|
1418 |
+
margin: 0;
|
1419 |
+
border: none;
|
1420 |
+
width: 58%;
|
1421 |
+
float: left;
|
1422 |
+
position: relative; }
|
1423 |
+
|
1424 |
+
.ajax-load-more .row .wrap.full {
|
1425 |
+
float: none;
|
1426 |
+
width: 100%;
|
1427 |
+
padding: 0 15px 15px 36px; }
|
1428 |
+
|
1429 |
+
/* ***********************************
|
1430 |
+
-- Shortcode Output
|
1431 |
+
**************************************/
|
1432 |
+
.ajax-load-more .output-wrap {
|
1433 |
+
padding: 0 50px 0 15px;
|
1434 |
+
margin: 0;
|
1435 |
+
position: fixed;
|
1436 |
+
bottom: 0;
|
1437 |
+
left: 0;
|
1438 |
+
background: #FF5A58;
|
1439 |
+
border-top: 1px solid #ca5252;
|
1440 |
+
-webkit-box-shadow: 0 -5px 5px #efefef;
|
1441 |
+
box-shadow: 0 -5px 5px #efefef;
|
1442 |
+
width: 100%;
|
1443 |
+
display: block;
|
1444 |
+
z-index: 1; }
|
1445 |
+
|
1446 |
+
.admin.ajax-load-more .output-wrap {
|
1447 |
+
position: static;
|
1448 |
+
overflow: hidden;
|
1449 |
+
margin-top: 20px;
|
1450 |
+
border-radius: 2px;
|
1451 |
+
border: none;
|
1452 |
+
padding: 0;
|
1453 |
+
-webkit-box-shadow: none;
|
1454 |
+
box-shadow: none; }
|
1455 |
+
|
1456 |
+
.ajax-load-more .row .wrap.output {
|
1457 |
+
display: block !important; }
|
1458 |
+
|
1459 |
+
.ajax-load-more .row .wrap .inner {
|
1460 |
+
padding: 0 0 20px; }
|
1461 |
+
|
1462 |
+
.ajax-load-more .row .wrap .inner.half {
|
1463 |
+
padding: 0 0 20px;
|
1464 |
+
width: 49.333%;
|
1465 |
+
display: inline-block; }
|
1466 |
+
|
1467 |
+
.output-wrap .copy {
|
1468 |
+
background: #fff;
|
1469 |
+
color: #FF5A58;
|
1470 |
+
margin: 0;
|
1471 |
+
display: inline-block;
|
1472 |
+
z-index: 9;
|
1473 |
+
padding: 3px 8px;
|
1474 |
+
cursor: pointer;
|
1475 |
+
border-radius: 2px;
|
1476 |
+
position: fixed;
|
1477 |
+
right: 10px;
|
1478 |
+
bottom: 10px;
|
1479 |
+
font-size: 11px;
|
1480 |
+
font-weight: 600;
|
1481 |
+
text-transform: uppercase;
|
1482 |
+
opacity: 0.6;
|
1483 |
+
filter: alpha(opacity=60); }
|
1484 |
+
|
1485 |
+
.admin.ajax-load-more .output-wrap .copy {
|
1486 |
+
float: right;
|
1487 |
+
position: relative;
|
1488 |
+
top: -10px; }
|
1489 |
+
|
1490 |
+
.output-wrap .copy:hover,
|
1491 |
+
.output-wrap .copy:active {
|
1492 |
+
opacity: 1;
|
1493 |
+
filter: alpha(opacity=100); }
|
1494 |
+
|
1495 |
+
.output-wrap .copy:active {
|
1496 |
+
-webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
|
1497 |
+
box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1); }
|
1498 |
+
|
1499 |
+
.shortcode-display {
|
1500 |
+
float: right;
|
1501 |
+
width: 75%; }
|
1502 |
+
|
1503 |
+
.admin.ajax-load-more .shortcode-display {
|
1504 |
+
float: none;
|
1505 |
+
width: 100%; }
|
1506 |
+
|
1507 |
+
#shortcode_output {
|
1508 |
+
border-left: 1px solid #ca5252;
|
1509 |
+
padding: 26px 10px 26px 30px;
|
1510 |
+
font-family: monospace;
|
1511 |
+
font-size: 13px;
|
1512 |
+
color: #fff;
|
1513 |
+
cursor: pointer;
|
1514 |
+
word-wrap: break-word; }
|
1515 |
+
|
1516 |
+
.admin.ajax-load-more #shortcode_output {
|
1517 |
+
border: none;
|
1518 |
+
padding: 12px 12px 24px; }
|
1519 |
+
|
1520 |
+
#shortcode_output::-moz-selection {
|
1521 |
+
background: #fff;
|
1522 |
+
color: #ca5252;
|
1523 |
+
text-shadow: none; }
|
1524 |
+
|
1525 |
+
#shortcode_output::selection {
|
1526 |
+
background: #fff;
|
1527 |
+
color: #ca5252;
|
1528 |
+
text-shadow: none; }
|
1529 |
+
|
1530 |
+
/*
|
1531 |
+
* Insert Shortcode Button
|
1532 |
+
*
|
1533 |
+
* @since 1.0
|
1534 |
+
*/
|
1535 |
+
#insert.insert_alm {
|
1536 |
+
background: #fff !important;
|
1537 |
+
color: #ca5252 !important;
|
1538 |
+
border: none;
|
1539 |
+
font-size: 14px !important;
|
1540 |
+
font-weight: 600;
|
1541 |
+
padding: 8px 13px;
|
1542 |
+
display: inline-block;
|
1543 |
+
text-align: center;
|
1544 |
+
margin: 15px 0;
|
1545 |
+
float: left;
|
1546 |
+
line-height: normal !important;
|
1547 |
+
height: auto !important;
|
1548 |
+
-webkit-box-shadow: inset 0 -15px 15px rgba(0, 0, 0, 0.1), 0 1px 0px #ca5252;
|
1549 |
+
box-shadow: inset 0 -15px 15px rgba(0, 0, 0, 0.1), 0 1px 0px #ca5252;
|
1550 |
+
text-shadow: none !important;
|
1551 |
+
max-width: 20%;
|
1552 |
+
border-radius: 2px; }
|
1553 |
+
|
1554 |
+
.admin.ajax-load-more #insert.insert_alm {
|
1555 |
+
display: none; }
|
1556 |
+
|
1557 |
+
#insert.insert_alm:hover {
|
1558 |
+
-webkit-box-shadow: inset 0 -15px 15px rgba(0, 0, 0, 0.1), 0 0 3px white;
|
1559 |
+
box-shadow: inset 0 -15px 15px rgba(0, 0, 0, 0.1), 0 0 3px white; }
|
1560 |
+
|
1561 |
+
#insert.insert_alm:active {
|
1562 |
+
background: #d0413f !important;
|
1563 |
+
-webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
|
1564 |
+
box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
|
1565 |
+
color: #fff !important; }
|
1566 |
+
|
1567 |
+
.ajax-load-more .clear {
|
1568 |
+
clear: both;
|
1569 |
+
height: auto;
|
1570 |
+
overflow: hidden;
|
1571 |
+
width: 100%;
|
1572 |
+
padding: 0;
|
1573 |
+
margin: 0; }
|
1574 |
+
|
1575 |
+
/*
|
1576 |
+
* Admin Screens - Setting pages
|
1577 |
+
*
|
1578 |
+
* @since 1.0
|
1579 |
+
*/
|
1580 |
+
.form-table label {
|
1581 |
+
display: inline-block;
|
1582 |
+
clear: both;
|
1583 |
+
float: none;
|
1584 |
+
vertical-align: top;
|
1585 |
+
padding: 0 0 10px;
|
1586 |
+
max-width: 90%;
|
1587 |
+
cursor: pointer !important;
|
1588 |
+
line-height: 1.5; }
|
1589 |
+
|
1590 |
+
.form-table input[type=radio],
|
1591 |
+
.form-table input[type=checkbox] {
|
1592 |
+
vertical-align: top;
|
1593 |
+
margin-top: 0 !important;
|
1594 |
+
max-width: 8%; }
|
1595 |
+
|
1596 |
+
.form-table label + textarea {
|
1597 |
+
margin-top: 10px; }
|
1598 |
+
|
1599 |
+
.form-table label span,
|
1600 |
+
#alm-shortcode-builder-form label span.description {
|
1601 |
+
font-size: 13px;
|
1602 |
+
color: #999;
|
1603 |
+
padding-top: 10px; }
|
1604 |
+
|
1605 |
+
#alm-shortcode-builder-form label span.description {
|
1606 |
+
display: block;
|
1607 |
+
padding-top: 5px;
|
1608 |
+
padding-bottom: 5px; }
|
1609 |
+
|
1610 |
+
.form-table .template-tags {
|
1611 |
+
overflow: hidden;
|
1612 |
+
border-left: 5px solid #dfd8c2;
|
1613 |
+
padding: 16px;
|
1614 |
+
background: #fff9ea;
|
1615 |
+
margin: 10px 0 0;
|
1616 |
+
border-radius: 2px; }
|
1617 |
+
|
1618 |
+
.form-table .template-tags h4,
|
1619 |
+
.form-table .template-tags li {
|
1620 |
+
margin: 0 0 8px;
|
1621 |
+
padding: 0;
|
1622 |
+
font-size: 13px; }
|
1623 |
+
|
1624 |
+
.form-table .template-tags li {
|
1625 |
+
margin: 2px 0; }
|
1626 |
+
|
1627 |
+
.form-table .template-tags ul {
|
1628 |
+
margin: 0;
|
1629 |
+
padding: 0; }
|
1630 |
+
|
1631 |
+
.form-table .template-tags pre {
|
1632 |
+
display: inline-block;
|
1633 |
+
min-width: 120px;
|
1634 |
+
padding: 0;
|
1635 |
+
margin: 0;
|
1636 |
+
color: #888; }
|
1637 |
+
|
1638 |
+
.admin.ajax-load-more .form-table textarea {
|
1639 |
+
clear: both;
|
1640 |
+
display: inline-block;
|
1641 |
+
float: none;
|
1642 |
+
width: 100%; }
|
1643 |
+
|
1644 |
+
.admin.ajax-load-more textarea.disabled,
|
1645 |
+
.admin.ajax-load-more input.disabled {
|
1646 |
+
opacity: 0.9;
|
1647 |
+
filter: alpha(opacity=90);
|
1648 |
+
cursor: default;
|
1649 |
+
border: 1px solid #ccc;
|
1650 |
+
background: #efefef;
|
1651 |
+
color: #666;
|
1652 |
+
text-shadow: 1px 1px 0 #fff;
|
1653 |
+
resize: none; }
|
1654 |
+
|
1655 |
+
.admin.ajax-load-more .form-table input[type=radio],
|
1656 |
+
.admin.ajax-load-more .form-table input[type=checkbox] {
|
1657 |
+
margin-right: 10px;
|
1658 |
+
margin-top: 0 !important; }
|
1659 |
+
|
1660 |
+
.admin.ajax-load-more.settings input[type=text],
|
1661 |
+
.admin.ajax-load-more.settings input[type=number],
|
1662 |
+
.admin.ajax-load-more.settings .select2-container {
|
1663 |
+
margin-top: 10px; }
|
1664 |
+
|
1665 |
+
.admin.ajax-load-more .ajax-load-more-wrap {
|
1666 |
+
position: relative;
|
1667 |
+
top: 10px;
|
1668 |
+
padding: 20px;
|
1669 |
+
border: 1px dashed #ccc;
|
1670 |
+
display: inline-block;
|
1671 |
+
margin-top: 10px;
|
1672 |
+
margin-bottom: 10px; }
|
1673 |
+
|
1674 |
+
.admin.ajax-load-more .ajax-load-more-wrap.preview-pane.none {
|
1675 |
+
display: none; }
|
1676 |
+
|
1677 |
+
.admin.ajax-load-more .ajax-load-more-wrap button {
|
1678 |
+
margin: 0 !important; }
|
1679 |
+
|
1680 |
+
.admin.ajax-load-more .ajax-load-more-wrap > span {
|
1681 |
+
display: block;
|
1682 |
+
font-size: 11px;
|
1683 |
+
opacity: 0.7;
|
1684 |
+
padding: 0 0 8px;
|
1685 |
+
text-transform: uppercase; }
|
1686 |
+
|
1687 |
+
.admin.ajax-load-more.settings .ajax-load-more-wrap.pages li {
|
1688 |
+
font-size: 14px; }
|
1689 |
+
|
1690 |
+
.admin.ajax-load-more.settings .ajax-load-more-wrap.pages li a {
|
1691 |
+
text-decoration: none; }
|
1692 |
+
|
1693 |
+
/* Table Overrides */
|
1694 |
+
.admin.ajax-load-more.settings .form-table td,
|
1695 |
+
.admin.ajax-load-more.settings .form-table th {
|
1696 |
+
padding: 30px 0;
|
1697 |
+
line-height: 1.5; }
|
1698 |
+
|
1699 |
+
.admin.ajax-load-more.settings .form-table td {
|
1700 |
+
padding-right: 20px; }
|
1701 |
+
|
1702 |
+
.admin.ajax-load-more.settings .form-table th {
|
1703 |
+
padding-left: 20px; }
|
1704 |
+
|
1705 |
+
.admin.ajax-load-more.settings .form-table p {
|
1706 |
+
margin-top: 0; }
|
1707 |
+
|
1708 |
+
.admin.ajax-load-more.settings .form-table p.notify {
|
1709 |
+
font-size: 12px;
|
1710 |
+
padding: 5px 0;
|
1711 |
+
margin: 5px 0 20px;
|
1712 |
+
overflow: hidden;
|
1713 |
+
color: #999; }
|
1714 |
+
|
1715 |
+
.header-wrap {
|
1716 |
+
overflow: hidden;
|
1717 |
+
padding: 10px 0; }
|
1718 |
+
|
1719 |
+
.ajax-load-more .header-wrap h1 {
|
1720 |
+
padding-left: 60px;
|
1721 |
+
min-height: 48px;
|
1722 |
+
padding-top: 0;
|
1723 |
+
background: url("../../img/alm-logo-48x48.png") no-repeat left 0;
|
1724 |
+
background: url("../../img/alm-logo-48x48.svg") no-repeat left 0; }
|
1725 |
+
|
1726 |
+
.ajax-load-more .header-wrap h1 em {
|
1727 |
+
display: block;
|
1728 |
+
position: relative;
|
1729 |
+
margin-top: 1px;
|
1730 |
+
font-size: 14px;
|
1731 |
+
opacity: 0.7;
|
1732 |
+
font-style: normal;
|
1733 |
+
font-weight: 400;
|
1734 |
+
line-height: 1.35; }
|
1735 |
+
|
1736 |
+
.ajax-load-more .header-wrap h1 strong {
|
1737 |
+
font-weight: 700; }
|
1738 |
+
|
1739 |
+
.ajax-load-more h1 span {
|
1740 |
+
color: #999;
|
1741 |
+
font-weight: 300;
|
1742 |
+
background: #fff;
|
1743 |
+
padding: 5px 6px;
|
1744 |
+
border-radius: 2px;
|
1745 |
+
font-size: 0.8em;
|
1746 |
+
position: relative;
|
1747 |
+
top: -2px;
|
1748 |
+
left: 5px; }
|
1749 |
+
|
1750 |
+
.ajax-load-more h2.addon-title {
|
1751 |
+
font-size: 19px !important;
|
1752 |
+
line-height: 24px;
|
1753 |
+
font-weight: 600 !important;
|
1754 |
+
color: #444 !important;
|
1755 |
+
padding: 0;
|
1756 |
+
margin: 0 0 10px; }
|
1757 |
+
|
1758 |
+
.ajax-load-more p.addon-intro {
|
1759 |
+
font-size: 16px !important;
|
1760 |
+
line-height: 22px !important;
|
1761 |
+
color: #999 !important; }
|
1762 |
+
|
1763 |
+
.ajax-load-more h3.add-on-title {
|
1764 |
+
padding: 0 0 10px;
|
1765 |
+
margin: 0 0 20px;
|
1766 |
+
border-bottom: 1px solid #efefef; }
|
1767 |
+
|
1768 |
+
.ajax-load-more h3 {
|
1769 |
+
margin-bottom: 10px; }
|
1770 |
+
|
1771 |
+
.ajax-load-more h3.add-on-title,
|
1772 |
+
.ajax-load-more .cnkt-sidebar h3 {
|
1773 |
+
padding: 0 0 10px;
|
1774 |
+
margin: 0 0 20px;
|
1775 |
+
border-bottom: 1px solid #efefef; }
|
1776 |
+
|
1777 |
+
.ajax-load-more p.desc,
|
1778 |
+
.ajax-load-more p.writeable-title {
|
1779 |
+
padding: 0 0 2px 28px; }
|
1780 |
+
|
1781 |
+
.ajax-load-more p.desc {
|
1782 |
+
font-size: 13px !important;
|
1783 |
+
line-height: 19px !important; }
|
1784 |
+
|
1785 |
+
.ajax-load-more p.writeable-title {
|
1786 |
+
position: relative; }
|
1787 |
+
|
1788 |
+
.ajax-load-more p.writeable-title i {
|
1789 |
+
position: absolute !important;
|
1790 |
+
left: 0 !important;
|
1791 |
+
top: 1px !important; }
|
1792 |
+
|
1793 |
+
.ajax-load-more p.back2top {
|
1794 |
+
font-size: 14px;
|
1795 |
+
margin: 0;
|
1796 |
+
padding: 0;
|
1797 |
+
text-align: center; }
|
1798 |
+
|
1799 |
+
.ajax-load-more p.back2top a {
|
1800 |
+
text-decoration: none;
|
1801 |
+
display: block; }
|
1802 |
+
|
1803 |
+
.saved-response,
|
1804 |
+
p.loading {
|
1805 |
+
font-size: 12px;
|
1806 |
+
padding: 8px 0;
|
1807 |
+
color: #999;
|
1808 |
+
background: none;
|
1809 |
+
-webkit-transition: padding 0.2s ease;
|
1810 |
+
transition: padding 0.2s ease;
|
1811 |
+
display: inline-block;
|
1812 |
+
width: auto;
|
1813 |
+
position: relative;
|
1814 |
+
top: 12px;
|
1815 |
+
left: 15px; }
|
1816 |
+
|
1817 |
+
.saved-error {
|
1818 |
+
color: #e03e3e; }
|
1819 |
+
|
1820 |
+
.saved-response em {
|
1821 |
+
color: #333;
|
1822 |
+
display: block;
|
1823 |
+
padding: 5px 0; }
|
1824 |
+
|
1825 |
+
.saved {
|
1826 |
+
color: #90be59;
|
1827 |
+
font-weight: 700; }
|
1828 |
+
|
1829 |
+
p.loading {
|
1830 |
+
position: static; }
|
1831 |
+
|
1832 |
+
.saved-response.loading,
|
1833 |
+
p.loading,
|
1834 |
+
.alm-dropdown ul li a.updating {
|
1835 |
+
background: url("../../img/loader.gif") no-repeat left center;
|
1836 |
+
padding-left: 24px; }
|
1837 |
+
|
1838 |
+
.alm-dropdown ul li a.updating {
|
1839 |
+
background-position: 6px center;
|
1840 |
+
padding-left: 42px; }
|
1841 |
+
|
1842 |
+
input.save-repeater {
|
1843 |
+
margin-bottom: 5px !important; }
|
1844 |
+
|
1845 |
+
.restore-default {
|
1846 |
+
float: right;
|
1847 |
+
margin: 19px 20px 0 0;
|
1848 |
+
font-size: 12px; }
|
1849 |
+
|
1850 |
+
.restore-default a {
|
1851 |
+
text-decoration: none; }
|
1852 |
+
|
1853 |
+
.alm-save-settings p.submit {
|
1854 |
+
float: left;
|
1855 |
+
margin: 0 5px 0 0;
|
1856 |
+
width: auto; }
|
1857 |
+
|
1858 |
+
.alm-save-settings .spinner {
|
1859 |
+
display: none;
|
1860 |
+
float: left;
|
1861 |
+
visibility: visible !important; }
|
1862 |
+
|
1863 |
+
table.highlight {
|
1864 |
+
background: #fff !important; }
|
1865 |
+
|
1866 |
+
/* Columns */
|
1867 |
+
.ajax-load-more .cnkt-main {
|
1868 |
+
width: 69%;
|
1869 |
+
float: left;
|
1870 |
+
margin-top: 10px;
|
1871 |
+
background: none !important; }
|
1872 |
+
|
1873 |
+
.ajax-load-more .cnkt-main .group {
|
1874 |
+
background: #fff;
|
1875 |
+
padding: 20px;
|
1876 |
+
margin: 0 0 20px;
|
1877 |
+
position: relative;
|
1878 |
+
display: block;
|
1879 |
+
clear: both; }
|
1880 |
+
|
1881 |
+
.ajax-load-more .cnkt-main .group,
|
1882 |
+
.ajax-load-more .cnkt-sidebar .cta,
|
1883 |
+
.call-out.light {
|
1884 |
+
border: 1px solid #e1e1e1;
|
1885 |
+
border-radius: 3px; }
|
1886 |
+
|
1887 |
+
.ajax-load-more .cnkt-main.full {
|
1888 |
+
width: 100%;
|
1889 |
+
float: none; }
|
1890 |
+
|
1891 |
+
.ajax-load-more .cnkt-main h2,
|
1892 |
+
.ajax-load-more .cnkt-main h3,
|
1893 |
+
.ajax-load-more .cnkt-main h4 {
|
1894 |
+
margin-top: 0; }
|
1895 |
+
|
1896 |
+
.form-table tr {
|
1897 |
+
border-top: 1px solid #efefef; }
|
1898 |
+
|
1899 |
+
.form-table {
|
1900 |
+
border: 1px solid #efefef;
|
1901 |
+
margin: 0 0 25px; }
|
1902 |
+
|
1903 |
+
#alm_OptionsForm .form-table:last-of-type {
|
1904 |
+
margin-bottom: 0; }
|
1905 |
+
|
1906 |
+
.ajax-load-more .cnkt-main .group a.dismiss {
|
1907 |
+
position: absolute;
|
1908 |
+
right: 0;
|
1909 |
+
top: 0;
|
1910 |
+
text-decoration: none;
|
1911 |
+
width: 40px;
|
1912 |
+
height: 40px;
|
1913 |
+
line-height: 38px;
|
1914 |
+
padding: 0;
|
1915 |
+
text-align: center;
|
1916 |
+
background: #f7f7f7;
|
1917 |
+
color: #777;
|
1918 |
+
border: 1px solid #e1e1e1;
|
1919 |
+
border-right: none;
|
1920 |
+
border-top: none;
|
1921 |
+
display: block;
|
1922 |
+
font-size: 24px;
|
1923 |
+
border-radius: 0 2px 0 2px; }
|
1924 |
+
|
1925 |
+
.ajax-load-more .cnkt-main .group a.dismiss:hover {
|
1926 |
+
background-color: #be3f3f;
|
1927 |
+
color: #fff; }
|
1928 |
+
|
1929 |
+
/* Repeaters */
|
1930 |
+
.repeaters .repeater-wrap {
|
1931 |
+
padding: 12px 15px 8px !important; }
|
1932 |
+
|
1933 |
+
.repeater-wrap label {
|
1934 |
+
cursor: default; }
|
1935 |
+
|
1936 |
+
.repeaters input.save-repeater {
|
1937 |
+
display: inline-block;
|
1938 |
+
margin: 15px 0 0;
|
1939 |
+
clear: none;
|
1940 |
+
max-width: 25%; }
|
1941 |
+
|
1942 |
+
.repeater-wrap textarea,
|
1943 |
+
.repeater-wrap input[type=text] {
|
1944 |
+
width: 100%; }
|
1945 |
+
|
1946 |
+
.repeaters input.save-repeater.saving {
|
1947 |
+
cursor: default !important;
|
1948 |
+
opacity: 0.3 !important; }
|
1949 |
+
|
1950 |
+
.repeaters .saved-response {
|
1951 |
+
max-width: 72%;
|
1952 |
+
opacity: 0; }
|
1953 |
+
|
1954 |
+
/* Add-ons & Extensions */
|
1955 |
+
.flexbox-wrap {
|
1956 |
+
display: -webkit-box;
|
1957 |
+
display: -ms-flexbox;
|
1958 |
+
display: flex;
|
1959 |
+
-ms-flex-wrap: wrap;
|
1960 |
+
flex-wrap: wrap; }
|
1961 |
+
|
1962 |
+
#alm-add-ons .group {
|
1963 |
+
overflow: hidden;
|
1964 |
+
width: 31.333%;
|
1965 |
+
display: inline-block;
|
1966 |
+
vertical-align: top;
|
1967 |
+
text-align: center;
|
1968 |
+
margin: 0 1.5% 2% 0;
|
1969 |
+
word-spacing: -4px;
|
1970 |
+
padding: 0; }
|
1971 |
+
|
1972 |
+
#alm-add-ons .group .expand-wrap {
|
1973 |
+
display: block;
|
1974 |
+
padding-bottom: 50px;
|
1975 |
+
position: relative;
|
1976 |
+
word-spacing: 0; }
|
1977 |
+
|
1978 |
+
#alm-add-ons .group span.cnkt-button {
|
1979 |
+
position: absolute;
|
1980 |
+
left: 0;
|
1981 |
+
bottom: 0;
|
1982 |
+
width: 100%;
|
1983 |
+
display: block;
|
1984 |
+
font-size: 14px;
|
1985 |
+
padding: 10px 14px;
|
1986 |
+
-webkit-transition: all 0.15s ease;
|
1987 |
+
transition: all 0.15s ease; }
|
1988 |
+
|
1989 |
+
.ajax-load-more .cnkt-main .group.installed {
|
1990 |
+
opacity: 0.85;
|
1991 |
+
-webkit-filter: grayscale(0.85);
|
1992 |
+
filter: grayscale(0.85); }
|
1993 |
+
|
1994 |
+
.ajax-load-more .cnkt-main .group.installed p:before {
|
1995 |
+
display: none !important; }
|
1996 |
+
|
1997 |
+
#alm-add-ons .group img {
|
1998 |
+
padding: 12px 18px 12px; }
|
1999 |
+
|
2000 |
+
#alm-add-ons .group a {
|
2001 |
+
text-decoration: none;
|
2002 |
+
display: block;
|
2003 |
+
padding: 15px; }
|
2004 |
+
|
2005 |
+
#alm-add-ons .group:hover {
|
2006 |
+
border-color: #ccc; }
|
2007 |
+
|
2008 |
+
#alm-add-ons .group a h2 {
|
2009 |
+
-webkit-transition: all 0.15s ease;
|
2010 |
+
transition: all 0.15s ease; }
|
2011 |
+
|
2012 |
+
#alm-add-ons .group a:hover h2 {
|
2013 |
+
color: #ff5a58 !important; }
|
2014 |
+
|
2015 |
+
#alm-add-ons .group.installed a:hover h2 {
|
2016 |
+
color: #444 !important; }
|
2017 |
+
|
2018 |
+
/* Add-on Callout! */
|
2019 |
+
.call-out {
|
2020 |
+
background: #63ddbf;
|
2021 |
+
padding: 18px 100px 18px 18px;
|
2022 |
+
border-radius: 3px;
|
2023 |
+
margin: 0;
|
2024 |
+
width: 100%;
|
2025 |
+
display: block;
|
2026 |
+
color: #fff;
|
2027 |
+
font-size: 14px;
|
2028 |
+
font-weight: 400;
|
2029 |
+
position: relative; }
|
2030 |
+
|
2031 |
+
.call-out.light {
|
2032 |
+
background: #fdfdec;
|
2033 |
+
width: 97.666%; }
|
2034 |
+
|
2035 |
+
.call-out.light p {
|
2036 |
+
margin: 0;
|
2037 |
+
padding: 0 30px;
|
2038 |
+
text-align: center;
|
2039 |
+
font-weight: 400; }
|
2040 |
+
|
2041 |
+
.call-out.light p a {
|
2042 |
+
color: #ff5a58 !important; }
|
2043 |
+
|
2044 |
+
.call-out.light p a:hover {
|
2045 |
+
text-decoration: underline; }
|
2046 |
+
|
2047 |
+
#alm-builder .call-out,
|
2048 |
+
.forceColors .call-out {
|
2049 |
+
/* Shortcode builder */
|
2050 |
+
width: 90%;
|
2051 |
+
width: calc(100% - 20px);
|
2052 |
+
margin: 10px; }
|
2053 |
+
|
2054 |
+
.call-out .cnkt-button {
|
2055 |
+
padding: 6px 8px;
|
2056 |
+
display: inline-block;
|
2057 |
+
background: #fff;
|
2058 |
+
border: none;
|
2059 |
+
border-radius: 3px;
|
2060 |
+
position: absolute;
|
2061 |
+
right: 11px;
|
2062 |
+
top: 11px;
|
2063 |
+
color: #387061 !important;
|
2064 |
+
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
2065 |
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
2066 |
+
font-size: 13px; }
|
2067 |
+
|
2068 |
+
.call-out a {
|
2069 |
+
color: #387061 !important;
|
2070 |
+
text-decoration: none;
|
2071 |
+
font-weight: 500; }
|
2072 |
+
|
2073 |
+
.call-out a:hover {
|
2074 |
+
color: #222 !important; }
|
2075 |
+
|
2076 |
+
a.cnkt-button,
|
2077 |
+
span.cnkt-button {
|
2078 |
+
padding: 6px 10px;
|
2079 |
+
display: inline-block;
|
2080 |
+
background: #5acfb2;
|
2081 |
+
border: 1px solid #5acfb2;
|
2082 |
+
border-radius: 3px;
|
2083 |
+
position: static;
|
2084 |
+
text-decoration: none !important;
|
2085 |
+
color: #fff !important;
|
2086 |
+
font-size: 14px;
|
2087 |
+
font-weight: 600; }
|
2088 |
+
|
2089 |
+
a.cnkt-button:hover,
|
2090 |
+
a.cnkt-button:hover i,
|
2091 |
+
.group:hover span.cnkt-button,
|
2092 |
+
.group:hover span.cnkt-button i {
|
2093 |
+
background-color: #935eaf;
|
2094 |
+
border-color: #935eaf;
|
2095 |
+
color: #fff !important;
|
2096 |
+
-webkit-box-shadow: none;
|
2097 |
+
box-shadow: none; }
|
2098 |
+
|
2099 |
+
a.cnkt-button:focus,
|
2100 |
+
.group:focus span.cnkt-button {
|
2101 |
+
background-color: #83519d;
|
2102 |
+
border-color: #935eaf;
|
2103 |
+
color: #fff !important;
|
2104 |
+
outline: none; }
|
2105 |
+
|
2106 |
+
a.cnkt-button i,
|
2107 |
+
span.cnkt-button i {
|
2108 |
+
color: #397666;
|
2109 |
+
margin-right: 3px;
|
2110 |
+
position: relative;
|
2111 |
+
top: 1px;
|
2112 |
+
background: none !important;
|
2113 |
+
-webkit-transition: all 0.15s ease;
|
2114 |
+
transition: all 0.15s ease; }
|
2115 |
+
|
2116 |
+
a.cnkt-button.installed,
|
2117 |
+
span.cnkt-button.installed,
|
2118 |
+
.group span.cnkt-button.installed {
|
2119 |
+
background: #f7f7f7 !important;
|
2120 |
+
border-color: #efefef !important;
|
2121 |
+
color: #888 !important;
|
2122 |
+
-webkit-box-shadow: none !important;
|
2123 |
+
box-shadow: none !important; }
|
2124 |
+
|
2125 |
+
a.cnkt-button.installed i,
|
2126 |
+
span.cnkt-button.installed i,
|
2127 |
+
.group:hover span.cnkt-button.installed i {
|
2128 |
+
background: none !important;
|
2129 |
+
color: #5da592 !important;
|
2130 |
+
top: 0; }
|
2131 |
+
|
2132 |
+
/*
|
2133 |
+
* Licenses
|
2134 |
+
*
|
2135 |
+
* @since 2.7.0
|
2136 |
+
*/
|
2137 |
+
.license {
|
2138 |
+
overflow: hidden;
|
2139 |
+
margin: 0;
|
2140 |
+
display: block;
|
2141 |
+
padding: 20px 0 0;
|
2142 |
+
position: relative; }
|
2143 |
+
|
2144 |
+
.license:first-of-type {
|
2145 |
+
padding: 10px 0 0; }
|
2146 |
+
|
2147 |
+
.license-title {
|
2148 |
+
border-radius: 3px 3px 0 0;
|
2149 |
+
border: 1px solid #ccc;
|
2150 |
+
background-color: #efefef;
|
2151 |
+
position: relative; }
|
2152 |
+
|
2153 |
+
.license-title .status {
|
2154 |
+
width: 12px;
|
2155 |
+
height: 12px;
|
2156 |
+
border-radius: 100%;
|
2157 |
+
background: #d45656;
|
2158 |
+
position: absolute;
|
2159 |
+
left: 15px;
|
2160 |
+
top: 50%;
|
2161 |
+
margin-top: -6px;
|
2162 |
+
-webkit-box-shadow: inset 0 -6px 6px rgba(0, 0, 0, 0.05), 0 1px 0 #fff;
|
2163 |
+
box-shadow: inset 0 -6px 6px rgba(0, 0, 0, 0.05), 0 1px 0 #fff; }
|
2164 |
+
|
2165 |
+
.license-title .status.valid {
|
2166 |
+
background-color: #acd481; }
|
2167 |
+
|
2168 |
+
.license h2 {
|
2169 |
+
margin: 0;
|
2170 |
+
padding: 15px 15px 15px 35px;
|
2171 |
+
font-size: 16px;
|
2172 |
+
font-weight: 600;
|
2173 |
+
line-height: 1.2; }
|
2174 |
+
|
2175 |
+
.license p,
|
2176 |
+
.license label {
|
2177 |
+
font-size: 400;
|
2178 |
+
font-size: 14px; }
|
2179 |
+
|
2180 |
+
.license .cnkt-button {
|
2181 |
+
position: absolute;
|
2182 |
+
top: 9px;
|
2183 |
+
right: 15px;
|
2184 |
+
padding: 5px 7px !important; }
|
2185 |
+
|
2186 |
+
.license a.cnkt-button.installed {
|
2187 |
+
background-color: none !important;
|
2188 |
+
-webkit-box-shadow: none !important;
|
2189 |
+
box-shadow: none !important;
|
2190 |
+
border-color: transparent !important; }
|
2191 |
+
|
2192 |
+
.license .no-license {
|
2193 |
+
display: block;
|
2194 |
+
padding: 12px 10px 12px 20px;
|
2195 |
+
margin: 0 0 15px 0;
|
2196 |
+
border: 1px solid #e7e7c6;
|
2197 |
+
border-left: 5px solid #e7e7c6;
|
2198 |
+
background-color: #ffffe5;
|
2199 |
+
border-radius: 3px; }
|
2200 |
+
|
2201 |
+
.license .no-license h4 {
|
2202 |
+
margin: 0 0 3px; }
|
2203 |
+
|
2204 |
+
.license .no-license p {
|
2205 |
+
margin: 5px 0 0;
|
2206 |
+
padding: 0; }
|
2207 |
+
|
2208 |
+
.license .loading {
|
2209 |
+
position: absolute;
|
2210 |
+
left: 0;
|
2211 |
+
top: 0;
|
2212 |
+
width: 100%;
|
2213 |
+
height: 100%;
|
2214 |
+
background: rgba(255, 255, 255, 0.6) url("../../img/loader.gif") no-repeat center center;
|
2215 |
+
z-index: 9;
|
2216 |
+
display: none; }
|
2217 |
+
|
2218 |
+
.license-btn.hide {
|
2219 |
+
display: none; }
|
2220 |
+
|
2221 |
+
.license-btn-wrap {
|
2222 |
+
display: block; }
|
2223 |
+
|
2224 |
+
.license-btn-wrap .msg {
|
2225 |
+
display: block;
|
2226 |
+
padding: 10px 0 0;
|
2227 |
+
font-size: 14px;
|
2228 |
+
line-height: 18px; }
|
2229 |
+
|
2230 |
+
.license-btn-wrap .msg strong {
|
2231 |
+
display: block; }
|
2232 |
+
|
2233 |
+
.license-btn-wrap .msg em {
|
2234 |
+
opacity: 0.7;
|
2235 |
+
font-style: normal; }
|
2236 |
+
|
2237 |
+
.license-wrap,
|
2238 |
+
.license-no-addons {
|
2239 |
+
overflow: hidden;
|
2240 |
+
display: block;
|
2241 |
+
padding: 15px;
|
2242 |
+
border: 1px solid #ccc;
|
2243 |
+
border-top: none;
|
2244 |
+
background-color: #f7f7f7;
|
2245 |
+
border-radius: 0 0 3px 3px; }
|
2246 |
+
|
2247 |
+
.license-wrap label {
|
2248 |
+
font-weight: 600;
|
2249 |
+
/* position: relative; */
|
2250 |
+
top: -3px; }
|
2251 |
+
|
2252 |
+
.license-wrap input[type=text] {
|
2253 |
+
background-color: #fff;
|
2254 |
+
margin: 0 0 15px;
|
2255 |
+
width: 100% !important;
|
2256 |
+
border-color: #ccc;
|
2257 |
+
padding: 14px; }
|
2258 |
+
|
2259 |
+
.license-wrap input[type=text]:focus {
|
2260 |
+
background-color: #fff; }
|
2261 |
+
|
2262 |
+
.license-wrap .button-primary {
|
2263 |
+
margin-right: 5px; }
|
2264 |
+
|
2265 |
+
.license-key-field {
|
2266 |
+
position: relative;
|
2267 |
+
display: block; }
|
2268 |
+
|
2269 |
+
.license-key-field .status {
|
2270 |
+
position: absolute;
|
2271 |
+
right: 9px;
|
2272 |
+
top: 9px;
|
2273 |
+
display: inline-block;
|
2274 |
+
border-radius: 2px;
|
2275 |
+
padding: 6px 12px;
|
2276 |
+
line-height: 1.3;
|
2277 |
+
color: #fff;
|
2278 |
+
border-color: #999; }
|
2279 |
+
|
2280 |
+
.license-key-field .status.active {
|
2281 |
+
background-color: #acd481; }
|
2282 |
+
|
2283 |
+
.license-key-field .status.inactive {
|
2284 |
+
background-color: #d45656; }
|
2285 |
+
|
2286 |
+
.ajax-load-more .alm-nav {
|
2287 |
+
font-size: 600;
|
2288 |
+
font-size: 14px;
|
2289 |
+
margin: 0 !important;
|
2290 |
+
padding: 5px 0 5px; }
|
2291 |
+
|
2292 |
+
.ajax-load-more .alm-nav a {
|
2293 |
+
display: inline-block; }
|
2294 |
+
|
2295 |
+
.license-no-addons {
|
2296 |
+
border: 1px solid #bad0da;
|
2297 |
+
border-radius: 3px;
|
2298 |
+
background-color: #e0f5ff; }
|
2299 |
+
|
2300 |
+
.license-no-addons p {
|
2301 |
+
margin: 0;
|
2302 |
+
padding: 0; }
|
2303 |
+
|
2304 |
+
/*
|
2305 |
+
* Plugin Sidebar
|
2306 |
+
*
|
2307 |
+
* @since 1.0
|
2308 |
+
*/
|
2309 |
+
.ajax-load-more .cnkt-sidebar {
|
2310 |
+
width: 29.5%;
|
2311 |
+
float: right;
|
2312 |
+
margin-top: 10px; }
|
2313 |
+
|
2314 |
+
.ajax-load-more .cnkt-sidebar .cta {
|
2315 |
+
background: #fff;
|
2316 |
+
padding: 0;
|
2317 |
+
margin: 0 0 20px;
|
2318 |
+
overflow: visible;
|
2319 |
+
position: relative; }
|
2320 |
+
|
2321 |
+
.ajax-load-more .cnkt-sidebar .cta-inner {
|
2322 |
+
padding: 20px;
|
2323 |
+
display: block; }
|
2324 |
+
|
2325 |
+
.ajax-load-more .cnkt-sidebar .cta-inner.padding-bottom {
|
2326 |
+
padding-bottom: 80px; }
|
2327 |
+
|
2328 |
+
.ajax-load-more .cnkt-sidebar .cta.mailing-list {
|
2329 |
+
padding: 0; }
|
2330 |
+
|
2331 |
+
.ajax-load-more .cnkt-sidebar .cta.mailing-list .head-wrap {
|
2332 |
+
display: block;
|
2333 |
+
padding: 20px; }
|
2334 |
+
|
2335 |
+
.ajax-load-more .cnkt-sidebar .cta.padding-bottom {
|
2336 |
+
padding-bottom: 50px; }
|
2337 |
+
|
2338 |
+
.ajax-load-more .cnkt-sidebar h3,
|
2339 |
+
.ajax-load-more .cnkt-sidebar h4 {
|
2340 |
+
margin-top: 0; }
|
2341 |
+
|
2342 |
+
.ajax-load-more .cnkt-sidebar h3 {
|
2343 |
+
padding: 15px 20px;
|
2344 |
+
border-bottom: 1px solid #e1e1e1;
|
2345 |
+
background: #f7f7f7;
|
2346 |
+
margin: 0;
|
2347 |
+
display: block;
|
2348 |
+
font-size: 14px;
|
2349 |
+
text-transform: uppercase;
|
2350 |
+
border-radius: 2px 2px 0 0; }
|
2351 |
+
|
2352 |
+
.ajax-load-more .cnkt-sidebar .item {
|
2353 |
+
overflow: hidden; }
|
2354 |
+
|
2355 |
+
.ajax-load-more .cnkt-sidebar .item h4 {
|
2356 |
+
margin: 0 0 5px;
|
2357 |
+
font-size: 0.9em;
|
2358 |
+
text-transform: uppercase;
|
2359 |
+
opacity: 0.5; }
|
2360 |
+
|
2361 |
+
.ajax-load-more .cnkt-sidebar h4 {
|
2362 |
+
margin-bottom: 5px; }
|
2363 |
+
|
2364 |
+
.ajax-load-more .cnkt-sidebar p {
|
2365 |
+
line-height: 22px;
|
2366 |
+
margin: 0 0 5px;
|
2367 |
+
font-size: 14px; }
|
2368 |
+
|
2369 |
+
.ajax-load-more .cnkt-sidebar .cta.dyk img {
|
2370 |
+
padding: 0 20px; }
|
2371 |
+
|
2372 |
+
.ajax-load-more .cnkt-sidebar .cta.dyk p {
|
2373 |
+
margin: 15px 0 0;
|
2374 |
+
display: block;
|
2375 |
+
overflow: hidden; }
|
2376 |
+
|
2377 |
+
.ajax-load-more .cnkt-sidebar ul {
|
2378 |
+
padding: 5px 0 0;
|
2379 |
+
margin: 0;
|
2380 |
+
overflow: hidden; }
|
2381 |
+
|
2382 |
+
.ajax-load-more .cnkt-sidebar li {
|
2383 |
+
font-size: 14px;
|
2384 |
+
margin: 0 0 10px;
|
2385 |
+
line-height: 1.5; }
|
2386 |
+
|
2387 |
+
.ajax-load-more .cnkt-sidebar .cta.resources li {
|
2388 |
+
display: block;
|
2389 |
+
width: 100%;
|
2390 |
+
line-height: 1;
|
2391 |
+
margin: 1px 0; }
|
2392 |
+
|
2393 |
+
.ajax-load-more .cnkt-sidebar .cta.resources li a {
|
2394 |
+
text-decoration: none;
|
2395 |
+
padding: 10px 0;
|
2396 |
+
display: block;
|
2397 |
+
border-top: 1px solid #efefef; }
|
2398 |
+
|
2399 |
+
.ajax-load-more .cnkt-sidebar .cta.resources li:first-of-type a {
|
2400 |
+
border: none;
|
2401 |
+
padding-top: 0; }
|
2402 |
+
|
2403 |
+
.ajax-load-more .cnkt-sidebar .cta.resources li i {
|
2404 |
+
display: inline-block;
|
2405 |
+
width: 20px;
|
2406 |
+
text-align: center;
|
2407 |
+
color: #ccc;
|
2408 |
+
text-decoration: none;
|
2409 |
+
font-size: 14px; }
|
2410 |
+
|
2411 |
+
.ajax-load-more .cnkt-sidebar .item i {
|
2412 |
+
font-size: 12px;
|
2413 |
+
float: left;
|
2414 |
+
width: 18px;
|
2415 |
+
height: 18px;
|
2416 |
+
border-radius: 100%;
|
2417 |
+
background: #efefef;
|
2418 |
+
line-height: 18px;
|
2419 |
+
text-align: center;
|
2420 |
+
margin: 2px 7px 0 0;
|
2421 |
+
position: relative; }
|
2422 |
+
|
2423 |
+
.ajax-load-more .cnkt-sidebar .item i.fa-check {
|
2424 |
+
background: #90be59;
|
2425 |
+
color: #fff; }
|
2426 |
+
|
2427 |
+
.ajax-load-more .cnkt-sidebar .item i.fa-exclamation {
|
2428 |
+
background: #c43a3a;
|
2429 |
+
color: #fff; }
|
2430 |
+
|
2431 |
+
.ajax-load-more .cnkt-sidebar a.visit {
|
2432 |
+
background: #ed7070;
|
2433 |
+
padding: 17px 20px 18px 44px;
|
2434 |
+
position: absolute;
|
2435 |
+
bottom: 0;
|
2436 |
+
left: 0;
|
2437 |
+
width: 100%;
|
2438 |
+
display: block;
|
2439 |
+
color: #fff !important;
|
2440 |
+
z-index: 2;
|
2441 |
+
text-decoration: none;
|
2442 |
+
line-height: 1;
|
2443 |
+
border-radius: 0 0 2px 2px; }
|
2444 |
+
|
2445 |
+
.ajax-load-more .cnkt-sidebar a.visit i {
|
2446 |
+
font-size: 21px;
|
2447 |
+
opacity: 0.6;
|
2448 |
+
margin: 0 5px 0 0;
|
2449 |
+
position: absolute;
|
2450 |
+
top: 13px;
|
2451 |
+
left: 18px;
|
2452 |
+
display: inline-block; }
|
2453 |
+
|
2454 |
+
.ajax-load-more .cnkt-sidebar a.visit:hover,
|
2455 |
+
.ajax-load-more .cnkt-sidebar a.visit:focus {
|
2456 |
+
background: #f06060; }
|
2457 |
+
|
2458 |
+
.ajax-load-more .cnkt-sidebar a.visit:hover i {
|
2459 |
+
opacity: 1; }
|
2460 |
+
|
2461 |
+
.ajax-load-more .cnkt-sidebar .project-listing {
|
2462 |
+
padding: 0; }
|
2463 |
+
|
2464 |
+
.ajax-load-more .cnkt-sidebar .project-listing li {
|
2465 |
+
margin: 20px 0 0;
|
2466 |
+
padding: 0;
|
2467 |
+
position: relative;
|
2468 |
+
clear: both; }
|
2469 |
+
|
2470 |
+
.ajax-load-more .cnkt-sidebar .project-listing li a {
|
2471 |
+
display: block;
|
2472 |
+
position: static;
|
2473 |
+
padding-left: 60px;
|
2474 |
+
min-height: 58px;
|
2475 |
+
text-decoration: none; }
|
2476 |
+
|
2477 |
+
.ajax-load-more .cnkt-sidebar .project-listing li:first-of-type {
|
2478 |
+
margin-top: 0; }
|
2479 |
+
|
2480 |
+
.ajax-load-more .cnkt-sidebar .project-listing img {
|
2481 |
+
height: 48px;
|
2482 |
+
left: 0;
|
2483 |
+
position: absolute;
|
2484 |
+
top: 2px;
|
2485 |
+
width: 48px; }
|
2486 |
+
|
2487 |
+
.ajax-load-more .cnkt-sidebar .project-listing li strong {
|
2488 |
+
display: block; }
|
2489 |
+
|
2490 |
+
.ajax-load-more .cnkt-sidebar .project-listing li span {
|
2491 |
+
color: #777; }
|
2492 |
+
|
2493 |
+
/*
|
2494 |
+
* CodeMirror Syntax Highlighting
|
2495 |
+
*
|
2496 |
+
* @since 2.2.0
|
2497 |
+
*/
|
2498 |
+
.ajax-load-more .CodeMirror {
|
2499 |
+
height: auto;
|
2500 |
+
border-radius: 3px;
|
2501 |
+
padding: 8px;
|
2502 |
+
background: #f7f7f7;
|
2503 |
+
border: 1px solid #e1e1e1;
|
2504 |
+
color: #999;
|
2505 |
+
line-height: 1.3; }
|
2506 |
+
|
2507 |
+
.ajax-load-more .cm-readonly .CodeMirror {
|
2508 |
+
margin: 0 0 20px;
|
2509 |
+
opacity: 0.8; }
|
2510 |
+
|
2511 |
+
.ajax-load-more .cm-readonly .CodeMirror pre {
|
2512 |
+
cursor: default !important; }
|
2513 |
+
|
2514 |
+
.ajax-load-more .cm-readonly.sm-margin .CodeMirror {
|
2515 |
+
margin: 0 0 10px; }
|
2516 |
+
|
2517 |
+
.ajax-load-more .cm-readonly p.warning-callout {
|
2518 |
+
margin: 0 0 10px; }
|
2519 |
+
|
2520 |
+
.ajax-load-more .CodeMirror.loading {
|
2521 |
+
background: #f7f7f7 url("../../img/loader-unlimited.gif") no-repeat center center;
|
2522 |
+
opacity: 0.6; }
|
2523 |
+
|
2524 |
+
.ajax-load-more .cm-s-pastel-on-dark.CodeMirror {
|
2525 |
+
/* Bkg color */
|
2526 |
+
background: #333; }
|
2527 |
+
|
2528 |
+
.ajax-load-more .CodeMirror-gutters {
|
2529 |
+
/* Line Number color */
|
2530 |
+
background: #fff;
|
2531 |
+
border-right: 1px solid #ccc;
|
2532 |
+
border-radius: 2px 0 0 2px; }
|
2533 |
+
|
2534 |
+
.ajax-load-more .CodeMirror pre {
|
2535 |
+
font-size: 13px; }
|
2536 |
+
|
2537 |
+
.ajax-load-more .CodeMirror-scroll {
|
2538 |
+
overflow-y: hidden;
|
2539 |
+
overflow-x: auto; }
|
2540 |
+
|
2541 |
+
.ajax-load-more .cm-tag {
|
2542 |
+
/* <li> <h2> html elements */
|
2543 |
+
color: #0a4b83 !important; }
|
2544 |
+
|
2545 |
+
.ajax-load-more .cm-string {
|
2546 |
+
/* Elements in " " */
|
2547 |
+
color: #c75050 !important; }
|
2548 |
+
|
2549 |
+
.ajax-load-more .cm-attribute {
|
2550 |
+
/* class names */
|
2551 |
+
color: #008080 !important; }
|
2552 |
+
|
2553 |
+
.ajax-load-more .cm-keyword {
|
2554 |
+
/* if, array, echo */
|
2555 |
+
color: #ae5fb3 !important; }
|
2556 |
+
|
2557 |
+
.ajax-load-more span.CodeMirror-matchingbracket {
|
2558 |
+
color: #ff0000 !important; }
|
2559 |
+
|
2560 |
+
.ajax-load-more .CodeMirror span.cm-meta {
|
2561 |
+
/* <?php */
|
2562 |
+
color: #999; }
|
2563 |
+
|
2564 |
+
.ajax-load-more .CodeMirror span.cm-variable {
|
2565 |
+
/* Function names */
|
2566 |
+
color: #111;
|
2567 |
+
font-weight: 500;
|
2568 |
+
padding: 0 1px; }
|
2569 |
+
|
2570 |
+
.ajax-load-more .CodeMirror span.cm-number {
|
2571 |
+
/* Numbers */
|
2572 |
+
color: #009999 !important; }
|
2573 |
+
|
2574 |
+
/*
|
2575 |
+
* Delete Template (Unlimited Repeaters
|
2576 |
+
*
|
2577 |
+
* @since 2.2.7
|
2578 |
+
*/
|
2579 |
+
#unlmited-container {
|
2580 |
+
margin: 0;
|
2581 |
+
display: block;
|
2582 |
+
overflow: visible; }
|
2583 |
+
|
2584 |
+
.admin.ajax-load-more .row.unlimited:first-of-type {
|
2585 |
+
margin-top: 15px; }
|
2586 |
+
|
2587 |
+
.repeaters .row,
|
2588 |
+
.shortcode-builder .row {
|
2589 |
+
-webkit-transition: background-color 0.3s ease;
|
2590 |
+
transition: background-color 0.3s ease; }
|
2591 |
+
|
2592 |
+
.repeaters .row.no-brd:hover,
|
2593 |
+
.shortcode-builder .row.no-brd:hover {
|
2594 |
+
-webkit-box-shadow: none;
|
2595 |
+
box-shadow: none;
|
2596 |
+
border-color: transparent; }
|
2597 |
+
|
2598 |
+
.unlimited-wrap {
|
2599 |
+
display: none; }
|
2600 |
+
|
2601 |
+
.admin.ajax-load-more .row.unlimited.deleting {
|
2602 |
+
/* Deleting Row */
|
2603 |
+
background: #fff url("../../img/loader-unlimited.gif") no-repeat center center;
|
2604 |
+
border-color: #fff;
|
2605 |
+
opacity: 0.4; }
|
2606 |
+
|
2607 |
+
.admin.ajax-load-more .row.unlimited.deleting.deleted {
|
2608 |
+
/* Deleting Row */
|
2609 |
+
background-image: none !important; }
|
2610 |
+
|
2611 |
+
.admin.ajax-load-more .row.unlimited.new {
|
2612 |
+
/* New Row */
|
2613 |
+
background: url("../../img/loader-unlimited.gif") no-repeat center center;
|
2614 |
+
border-color: #efefef !important;
|
2615 |
+
min-height: 60px;
|
2616 |
+
display: none; }
|
2617 |
+
|
2618 |
+
.admin.ajax-load-more .row.unlimited.new.done {
|
2619 |
+
background-image: none !important; }
|
2620 |
+
|
2621 |
+
.admin.ajax-load-more .row.unlimited.loaded {
|
2622 |
+
/* Loading complete */
|
2623 |
+
background-color: #64e49d;
|
2624 |
+
border-color: #64e49d; }
|
2625 |
+
|
2626 |
+
.admin.ajax-load-more .row.unlimited.deleting .expand-wrap,
|
2627 |
+
.row.unlimited.deleting h3.heading {
|
2628 |
+
opacity: 0.6; }
|
2629 |
+
|
2630 |
+
.row.unlimited.deleting .alm-delete {
|
2631 |
+
display: none; }
|
2632 |
+
|
2633 |
+
.row.unlimited.deleting .save-repeater {
|
2634 |
+
opacity: 0;
|
2635 |
+
cursor: default; }
|
2636 |
+
|
2637 |
+
.ajax-load-more .row.unlimited input[type=text] {
|
2638 |
+
width: 100.75%; }
|
2639 |
+
|
2640 |
+
.repeaters .alm-delete {
|
2641 |
+
clear: none;
|
2642 |
+
display: inline-block;
|
2643 |
+
margin: 15px 0 0;
|
2644 |
+
width: auto;
|
2645 |
+
float: right;
|
2646 |
+
opacity: 0;
|
2647 |
+
-webkit-transition: all 0.2s ease;
|
2648 |
+
transition: all 0.2s ease;
|
2649 |
+
position: absolute;
|
2650 |
+
right: 15px;
|
2651 |
+
bottom: 17px; }
|
2652 |
+
|
2653 |
+
.repeaters .alm-delete a {
|
2654 |
+
border-radius: 2px;
|
2655 |
+
background: none;
|
2656 |
+
color: #c94141;
|
2657 |
+
font-size: 14px;
|
2658 |
+
text-decoration: none;
|
2659 |
+
display: block;
|
2660 |
+
padding: 5px 10px; }
|
2661 |
+
|
2662 |
+
.repeaters .alm-delete a:hover {
|
2663 |
+
background-color: #c94141;
|
2664 |
+
color: #fff; }
|
2665 |
+
|
2666 |
+
.repeaters .alm-delete a:focus {
|
2667 |
+
-webkit-box-shadow: none;
|
2668 |
+
box-shadow: none; }
|
2669 |
+
|
2670 |
+
.repeaters .alm-delete a:active {
|
2671 |
+
-webkit-box-shadow: inset 0 1px 1px #ccc !important;
|
2672 |
+
box-shadow: inset 0 1px 1px #ccc !important;
|
2673 |
+
background-color: #b93636; }
|
2674 |
+
|
2675 |
+
.repeaters .row:hover .alm-delete {
|
2676 |
+
opacity: 1; }
|
2677 |
+
|
2678 |
+
.alm-add-template {
|
2679 |
+
text-align: center;
|
2680 |
+
margin: 15px 0 0 !important;
|
2681 |
+
display: block;
|
2682 |
+
font-size: 15px !important;
|
2683 |
+
font-weight: 700;
|
2684 |
+
text-transform: none !important;
|
2685 |
+
text-align: center; }
|
2686 |
+
|
2687 |
+
.alm-add-template a {
|
2688 |
+
background: #efefef;
|
2689 |
+
border: 1px solid #e1e1e1;
|
2690 |
+
color: #333;
|
2691 |
+
display: inline-block;
|
2692 |
+
padding: 11px 16px 13px;
|
2693 |
+
line-height: 1;
|
2694 |
+
border-radius: 3px;
|
2695 |
+
text-decoration: none;
|
2696 |
+
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 1px 0 rgba(0, 0, 0, 0.07);
|
2697 |
+
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 1px 0 rgba(0, 0, 0, 0.07);
|
2698 |
+
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4); }
|
2699 |
+
|
2700 |
+
.alm-add-template a.active {
|
2701 |
+
opacity: 0.5;
|
2702 |
+
cursor: default;
|
2703 |
+
color: #333 !important;
|
2704 |
+
background: #efefef !important;
|
2705 |
+
border-color: #efefef !important; }
|
2706 |
+
|
2707 |
+
.alm-add-template a:hover {
|
2708 |
+
background: #ff5a58;
|
2709 |
+
border-color: #ff5a58;
|
2710 |
+
color: #fff;
|
2711 |
+
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 0 rgba(0, 0, 0, 0.07);
|
2712 |
+
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 0 rgba(0, 0, 0, 0.07);
|
2713 |
+
text-shadow: none; }
|
2714 |
+
|
2715 |
+
.alm-add-template a:focus {
|
2716 |
+
-webkit-box-shadow: none;
|
2717 |
+
box-shadow: none;
|
2718 |
+
text-shadow: none; }
|
2719 |
+
|
2720 |
+
.alm-add-template a:active {
|
2721 |
+
color: #fff;
|
2722 |
+
background: #ec4745;
|
2723 |
+
border-color: #ec4745;
|
2724 |
+
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
2725 |
+
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
2726 |
+
text-shadow: none; }
|
2727 |
+
|
2728 |
+
.alm-add-template a i {
|
2729 |
+
font-size: 20px;
|
2730 |
+
color: #ec4745;
|
2731 |
+
margin: 0 3px 0 0;
|
2732 |
+
position: relative;
|
2733 |
+
top: 2px;
|
2734 |
+
left: -1px; }
|
2735 |
+
|
2736 |
+
.alm-add-template a:hover i,
|
2737 |
+
.alm-add-template a:active i {
|
2738 |
+
color: #fff; }
|
2739 |
+
|
2740 |
+
.spacer {
|
2741 |
+
height: 10px;
|
2742 |
+
clear: both;
|
2743 |
+
display: block; }
|
2744 |
+
|
2745 |
+
/*
|
2746 |
+
* Cache
|
2747 |
+
*
|
2748 |
+
* @since 2.6.0
|
2749 |
+
*/
|
2750 |
+
.generate-id {
|
2751 |
+
margin: 10px 0 0 !important;
|
2752 |
+
font-size: 12px !important; }
|
2753 |
+
|
2754 |
+
.generate-cache-id i {
|
2755 |
+
margin: 0 5px 0 0; }
|
2756 |
+
|
2757 |
+
/* Live Search */
|
2758 |
+
.ajax-load-more .alm-cache-search-wrap {
|
2759 |
+
position: relative;
|
2760 |
+
display: block;
|
2761 |
+
margin: -5px 0 25px; }
|
2762 |
+
|
2763 |
+
.ajax-load-more .alm-cache-search-wrap input {
|
2764 |
+
width: 100% !important;
|
2765 |
+
margin: 0 !important;
|
2766 |
+
padding: 16px;
|
2767 |
+
display: block;
|
2768 |
+
font-size: 16px; }
|
2769 |
+
|
2770 |
+
.ajax-load-more .alm-cache-search-wrap i {
|
2771 |
+
position: absolute;
|
2772 |
+
right: 18px;
|
2773 |
+
top: 15px;
|
2774 |
+
color: #ccc;
|
2775 |
+
font-size: 24px;
|
2776 |
+
z-index: 1; }
|
2777 |
+
|
2778 |
+
/* Directory Listing */
|
2779 |
+
.alm-dir-listing {
|
2780 |
+
border: 1px solid #efefef;
|
2781 |
+
padding: 0;
|
2782 |
+
margin: 10px 0; }
|
2783 |
+
|
2784 |
+
.alm-dir-listing.theme-repeaters {
|
2785 |
+
padding: 15px;
|
2786 |
+
margin: 0; }
|
2787 |
+
|
2788 |
+
.alm-dir-listing.theme-repeaters ul {
|
2789 |
+
border: none;
|
2790 |
+
padding: 0;
|
2791 |
+
margin: 0; }
|
2792 |
+
|
2793 |
+
.alm-dir-listing.theme-repeaters p.theme-title {
|
2794 |
+
font-weight: 600;
|
2795 |
+
margin: 0 0 15px;
|
2796 |
+
padding: 0 5px; }
|
2797 |
+
|
2798 |
+
.alm-dir-listing.theme-repeaters i {
|
2799 |
+
color: #ccc;
|
2800 |
+
font-size: 1.1em; }
|
2801 |
+
|
2802 |
+
.alm-dir-listing.deleting {
|
2803 |
+
opacity: 0.5;
|
2804 |
+
background: #fff url("../../img/loader-unlimited.gif") no-repeat center center; }
|
2805 |
+
|
2806 |
+
.alm-dir-listing .dir-title {
|
2807 |
+
margin: 0 0 5px;
|
2808 |
+
position: relative; }
|
2809 |
+
|
2810 |
+
.ajax-load-more .alm-dir-listing h3.heading {
|
2811 |
+
padding-left: 40px !important; }
|
2812 |
+
|
2813 |
+
.ajax-load-more .alm-dir-listing h3.heading:after {
|
2814 |
+
content: "\f07c"; }
|
2815 |
+
|
2816 |
+
.ajax-load-more .alm-dir-listing h3.heading.open:after {
|
2817 |
+
content: "\f07b"; }
|
2818 |
+
|
2819 |
+
.alm-dir-listing .dir-title .delete {
|
2820 |
+
position: absolute;
|
2821 |
+
right: 8px;
|
2822 |
+
top: 11px;
|
2823 |
+
font-weight: 400;
|
2824 |
+
font-size: 14px;
|
2825 |
+
text-decoration: none;
|
2826 |
+
padding: 5px 10px;
|
2827 |
+
border: 1px solid #efefef;
|
2828 |
+
color: #ccc;
|
2829 |
+
border-radius: 2px; }
|
2830 |
+
|
2831 |
+
.alm-dir-listing:hover .dir-title .delete {
|
2832 |
+
border-color: #ccc;
|
2833 |
+
color: #666; }
|
2834 |
+
|
2835 |
+
.alm-dir-listing .dir-title .delete:hover {
|
2836 |
+
background-color: #c94141;
|
2837 |
+
border-color: #c94141;
|
2838 |
+
color: #fff;
|
2839 |
+
-webkit-box-shadow: 0 0 3px #ccc;
|
2840 |
+
box-shadow: 0 0 3px #ccc; }
|
2841 |
+
|
2842 |
+
.alm-dir-listing .dir-title .delete:active {
|
2843 |
+
-webkit-box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2);
|
2844 |
+
box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.2); }
|
2845 |
+
|
2846 |
+
.alm-dir-listing ul {
|
2847 |
+
padding: 10px;
|
2848 |
+
margin: 0;
|
2849 |
+
border: 1px solid #efefef; }
|
2850 |
+
|
2851 |
+
.alm-dir-listing ul li {
|
2852 |
+
margin: 0 -2px;
|
2853 |
+
padding: 7px 0 7px 40px;
|
2854 |
+
display: inline-block;
|
2855 |
+
vertical-align: top;
|
2856 |
+
overflow: hidden;
|
2857 |
+
width: 47%;
|
2858 |
+
font-size: 14px;
|
2859 |
+
background: transparent url(../../img/directory-list.gif) no-repeat left center; }
|
2860 |
+
|
2861 |
+
.alm-dir-listing.theme-repeaters ul li {
|
2862 |
+
display: block;
|
2863 |
+
width: 100%;
|
2864 |
+
padding-top: 12px; }
|
2865 |
+
|
2866 |
+
.alm-dir-listing.theme-repeaters ul li label {
|
2867 |
+
display: block;
|
2868 |
+
width: 100%; }
|
2869 |
+
|
2870 |
+
.alm-dir-listing ul li:last-child,
|
2871 |
+
.alm-dir-listing ul li:nth-last-child(2) {
|
2872 |
+
background-image: url(../../img/directory-list-btm.gif); }
|
2873 |
+
|
2874 |
+
.alm-dir-listing.theme-repeaters ul li:nth-last-child(2) {
|
2875 |
+
background: transparent url(../../img/directory-list.gif) no-repeat left center; }
|
2876 |
+
|
2877 |
+
.alm-dir-listing ul li a {
|
2878 |
+
text-decoration: none; }
|
2879 |
+
|
2880 |
+
.alm-dir-listing li i {
|
2881 |
+
color: #999;
|
2882 |
+
padding: 0 5px 0 0; }
|
2883 |
+
|
2884 |
+
.cache-page-title {
|
2885 |
+
font-size: 14px;
|
2886 |
+
display: block;
|
2887 |
+
width: 100%;
|
2888 |
+
padding: 0 0 10px 12px;
|
2889 |
+
font-weight: 600; }
|
2890 |
+
|
2891 |
+
.cache-page-wrap {
|
2892 |
+
padding: 0 15px 15px; }
|
2893 |
+
|
2894 |
+
.alm-dir-listing ul.cache-details {
|
2895 |
+
display: block;
|
2896 |
+
padding: 6px 10px 12px;
|
2897 |
+
margin: 0;
|
2898 |
+
border: none; }
|
2899 |
+
|
2900 |
+
.alm-dir-listing ul.cache-details li {
|
2901 |
+
display: block;
|
2902 |
+
width: 100%;
|
2903 |
+
background: none;
|
2904 |
+
padding: 6px 4px 6px;
|
2905 |
+
color: #333; }
|
2906 |
+
|
2907 |
+
.alm-dir-listing ul.cache-details li i {
|
2908 |
+
color: #ccc;
|
2909 |
+
font-size: 18px;
|
2910 |
+
position: relative;
|
2911 |
+
top: 1px; }
|
2912 |
+
|
2913 |
+
.dir-empty,
|
2914 |
+
.cache-cleared {
|
2915 |
+
background-color: #fefeed;
|
2916 |
+
border: 1px solid #efefef;
|
2917 |
+
padding: 10px;
|
2918 |
+
display: block;
|
2919 |
+
color: #222; }
|
2920 |
+
|
2921 |
+
.cache-cleared {
|
2922 |
+
margin: 0 0 20px;
|
2923 |
+
background-color: #e0f5ff;
|
2924 |
+
border-color: #bad0da;
|
2925 |
+
color: #666; }
|
2926 |
+
|
2927 |
+
.cache-cleared i {
|
2928 |
+
color: #111;
|
2929 |
+
margin: 0 5px 0 0; }
|
2930 |
+
|
2931 |
+
.cache-cleared .remove {
|
2932 |
+
float: right;
|
2933 |
+
font-size: 12px;
|
2934 |
+
font-weight: 600; }
|
2935 |
+
|
2936 |
+
#alm-cache.ajax-load-more .cnkt-sidebar .item {
|
2937 |
+
padding: 20px;
|
2938 |
+
display: block; }
|
2939 |
+
|
2940 |
+
p.cache-stats {
|
2941 |
+
min-height: 38px;
|
2942 |
+
line-height: 37px;
|
2943 |
+
margin: 0;
|
2944 |
+
display: block;
|
2945 |
+
padding: 20px 20px 0 20px; }
|
2946 |
+
|
2947 |
+
p.cache-stats span {
|
2948 |
+
display: inline-block;
|
2949 |
+
width: 38px;
|
2950 |
+
height: 38px;
|
2951 |
+
line-height: 36px;
|
2952 |
+
text-align: center;
|
2953 |
+
margin: 0 9px 0 0;
|
2954 |
+
font-weight: 700;
|
2955 |
+
font-size: 15px;
|
2956 |
+
border-radius: 2px;
|
2957 |
+
background: #a4a5e2;
|
2958 |
+
background: -webkit-gradient(linear, left top, left bottom, from(#a4a5e2), color-stop(50%, #9ea0d9), color-stop(51%, #8d8fce), to(#a4a5e2));
|
2959 |
+
background: linear-gradient(to bottom, #a4a5e2 0%, #9ea0d9 50%, #8d8fce 51%, #a4a5e2 100%);
|
2960 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a4a5e2', endColorstr='#a4a5e2',GradientType=0 );
|
2961 |
+
border: 1px solid #8586be;
|
2962 |
+
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
|
2963 |
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
|
2964 |
+
color: #fff;
|
2965 |
+
text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.1); }
|
2966 |
+
|
2967 |
+
form#delete-all-cache {
|
2968 |
+
display: block;
|
2969 |
+
padding: 20px;
|
2970 |
+
border-top: 1px solid #efefef;
|
2971 |
+
margin-top: 10px; }
|
2972 |
+
|
2973 |
+
/*
|
2974 |
+
* Error Handling
|
2975 |
+
*
|
2976 |
+
* @since 2.6
|
2977 |
+
*/
|
2978 |
+
.alm-error {
|
2979 |
+
position: absolute;
|
2980 |
+
z-index: 9999;
|
2981 |
+
background: #fff;
|
2982 |
+
padding: 10px; }
|
2983 |
+
|
2984 |
+
/*
|
2985 |
+
* Form Replacements
|
2986 |
+
*
|
2987 |
+
* @since 2.4
|
2988 |
+
*/
|
2989 |
+
.shortcode-builder input[type=checkbox],
|
2990 |
+
.shortcode-builder input[type=radio],
|
2991 |
+
.ajax-load-more .form-table input[type=checkbox],
|
2992 |
+
.ajax-load-more .form-table input[type=radio] {
|
2993 |
+
display: none; }
|
2994 |
+
|
2995 |
+
.shortcode-builder input[type=checkbox] + label,
|
2996 |
+
.ajax-load-more .form-table input[type=checkbox] + label,
|
2997 |
+
.shortcode-builder input[type=radio] + label,
|
2998 |
+
.ajax-load-more .form-table input[type=radio] + label {
|
2999 |
+
background: #fff url("../../img/bkg-chkbox_off.png") no-repeat left 1px;
|
3000 |
+
height: auto;
|
3001 |
+
min-height: 22px;
|
3002 |
+
width: 100%;
|
3003 |
+
display: inline-block;
|
3004 |
+
padding: 1px 0 0 30px;
|
3005 |
+
margin: 0 0 5px;
|
3006 |
+
font-size: 14px;
|
3007 |
+
line-height: 1.42;
|
3008 |
+
cursor: pointer !important; }
|
3009 |
+
|
3010 |
+
.shortcode-builder input[type=radio] + label,
|
3011 |
+
.ajax-load-more .form-table input[type=radio] + label {
|
3012 |
+
background: #fff url("../../img/bkg-radio_off.png") no-repeat left 1px; }
|
3013 |
+
|
3014 |
+
.shortcode-builder input[type=checkbox]:hover + label,
|
3015 |
+
.ajax-load-more .form-table input[type=checkbox]:hover + label {
|
3016 |
+
/* hover */
|
3017 |
+
background-image: url("../../img/bkg-chkbox_on.png"); }
|
3018 |
+
|
3019 |
+
.shortcode-builder input[type=radio]:hover + label,
|
3020 |
+
.ajax-load-more .form-table input[type=radio]:hover + label {
|
3021 |
+
/* hover */
|
3022 |
+
background-image: url("../../img/bkg-radio_on.png"); }
|
3023 |
+
|
3024 |
+
.shortcode-builder input[type=checkbox]:checked + label,
|
3025 |
+
.ajax-load-more .form-table input[type=checkbox]:checked + label {
|
3026 |
+
/* selected */
|
3027 |
+
background-image: url("../../img/bkg-chkbox_selected.png");
|
3028 |
+
color: #000; }
|
3029 |
+
|
3030 |
+
.shortcode-builder input[type=radio]:checked + label,
|
3031 |
+
.ajax-load-more .form-table input[type=radio]:checked + label {
|
3032 |
+
/* selected */
|
3033 |
+
background-image: url("../../img/bkg-radio_selected.png");
|
3034 |
+
color: #000; }
|
3035 |
+
|
3036 |
+
.shortcode-builder input[type=checkbox] + label:hover,
|
3037 |
+
.ajax-load-more .form-table input[type=checkbox] + label:hover,
|
3038 |
+
.shortcode-builder input[type=radio] + label:hover,
|
3039 |
+
.ajax-load-more .form-table input[type=radio] + label:hover {
|
3040 |
+
color: #000; }
|
3041 |
+
|
3042 |
+
/*
|
3043 |
+
* Shortcode Builder
|
3044 |
+
*
|
3045 |
+
* @since 2.13.0
|
3046 |
+
*/
|
3047 |
+
#alm-shortcode-builder-form {
|
3048 |
+
position: relative; }
|
3049 |
+
|
3050 |
+
#alm-shortcode-builder-form .shortcode-parameter-wrap {
|
3051 |
+
padding: 0 20px 20px;
|
3052 |
+
display: block;
|
3053 |
+
background: #fff;
|
3054 |
+
border: 1px solid #e1e1e1;
|
3055 |
+
border-radius: 3px;
|
3056 |
+
margin-bottom: 20px; }
|
3057 |
+
|
3058 |
+
#alm-shortcode-builder-form .shortcode-parameter-wrap h2 {
|
3059 |
+
padding: 20px 22px;
|
3060 |
+
margin: 0 -20px 20px;
|
3061 |
+
display: block;
|
3062 |
+
font-size: 22px;
|
3063 |
+
width: calc(100% + 40px);
|
3064 |
+
border-bottom: 1px solid #efefef;
|
3065 |
+
background-color: #f7f7f7;
|
3066 |
+
border-radius: 2px 2px 0 0;
|
3067 |
+
color: #23282d; }
|
3068 |
+
|
3069 |
+
.forceColors #alm-shortcode-builder-form .shortcode-parameter-wrap h2 {
|
3070 |
+
padding: 12px 22px;
|
3071 |
+
font-size: 20px; }
|
3072 |
+
|
3073 |
+
#alm-shortcode-builder-form .shortcode-parameter-wrap:first-of-type {
|
3074 |
+
margin-top: 0; }
|
3075 |
+
|
3076 |
+
.progress_bar_color_indicator {
|
3077 |
+
position: absolute;
|
3078 |
+
left: 11px;
|
3079 |
+
top: 9px;
|
3080 |
+
width: 0;
|
3081 |
+
height: 0;
|
3082 |
+
padding: 11px;
|
3083 |
+
border-radius: 2px;
|
3084 |
+
z-index: 1;
|
3085 |
+
display: block;
|
3086 |
+
background-color: #ed7070;
|
3087 |
+
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
|
3088 |
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); }
|
3089 |
+
|
3090 |
+
/*
|
3091 |
+
* Repeater Template options dropdown
|
3092 |
+
*
|
3093 |
+
* @since 2.4.1
|
3094 |
+
*/
|
3095 |
+
.ajax-load-more .row.template {
|
3096 |
+
position: relative; }
|
3097 |
+
|
3098 |
+
.ajax-load-more .row.template:hover .alm-repeater-options {
|
3099 |
+
opacity: 1; }
|
3100 |
+
|
3101 |
+
.alm-drop-btn.alm-repeater-options {
|
3102 |
+
position: absolute;
|
3103 |
+
top: -43px;
|
3104 |
+
right: 11px;
|
3105 |
+
z-index: 99; }
|
3106 |
+
|
3107 |
+
.alm-drop-btn a.target {
|
3108 |
+
font-weight: 500;
|
3109 |
+
position: relative;
|
3110 |
+
color: #999;
|
3111 |
+
text-decoration: none !important;
|
3112 |
+
padding: 8px 12px 8px 32px;
|
3113 |
+
border: 1px solid #e1e1e1;
|
3114 |
+
border-radius: 3px;
|
3115 |
+
font-size: 13px;
|
3116 |
+
line-height: 1.25;
|
3117 |
+
display: block;
|
3118 |
+
-webkit-box-shadow: 0 0 0 1px #fff;
|
3119 |
+
box-shadow: 0 0 0 1px #fff; }
|
3120 |
+
|
3121 |
+
.alm-drop-btn a.target > i {
|
3122 |
+
color: #999;
|
3123 |
+
font-size: 16px;
|
3124 |
+
position: absolute;
|
3125 |
+
top: 9px;
|
3126 |
+
left: 10px; }
|
3127 |
+
|
3128 |
+
.alm-repeater-options a.target:hover {
|
3129 |
+
background-color: #fff;
|
3130 |
+
color: #666;
|
3131 |
+
border-color: #c9c9c9;
|
3132 |
+
-webkit-box-shadow: 0 0 3px #ccc;
|
3133 |
+
box-shadow: 0 0 3px #ccc; }
|
3134 |
+
|
3135 |
+
.alm-repeater-options a.target:hover i.fa-cog {
|
3136 |
+
color: #444; }
|
3137 |
+
|
3138 |
+
/* Active state */
|
3139 |
+
.alm-repeater-options a.target:active,
|
3140 |
+
.alm-repeater-options.active a.target {
|
3141 |
+
background-color: #fff;
|
3142 |
+
border-color: #c9c9c9;
|
3143 |
+
-webkit-box-shadow: inset 0 1px 1px #ccc !important;
|
3144 |
+
box-shadow: inset 0 1px 1px #ccc !important; }
|
3145 |
+
|
3146 |
+
.alm-repeater-options.active a.target,
|
3147 |
+
.alm-repeater-options.active a.target i.fa-cog {
|
3148 |
+
color: #444; }
|
3149 |
+
|
3150 |
+
/* Layout Dropdown */
|
3151 |
+
.alm-drop-btn.alm-layout-selection {
|
3152 |
+
display: inline-block;
|
3153 |
+
float: none;
|
3154 |
+
margin: 0 0 13px; }
|
3155 |
+
|
3156 |
+
.alm-drop-btn.alm-layout-selection a.target {
|
3157 |
+
background-color: #f7f7f7;
|
3158 |
+
border-color: #e1e1e1;
|
3159 |
+
color: #555;
|
3160 |
+
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2); }
|
3161 |
+
|
3162 |
+
.alm-drop-btn.alm-layout-selection > a > i {
|
3163 |
+
left: 12px; }
|
3164 |
+
|
3165 |
+
.alm-drop-btn.alm-layout-selection li.type {
|
3166 |
+
height: 36px;
|
3167 |
+
line-height: 36px;
|
3168 |
+
padding: 0 0 0 8px;
|
3169 |
+
position: relative; }
|
3170 |
+
|
3171 |
+
.alm-dropdown ul li.layout i {
|
3172 |
+
top: 11px; }
|
3173 |
+
|
3174 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select {
|
3175 |
+
float: right;
|
3176 |
+
text-align: right;
|
3177 |
+
width: auto;
|
3178 |
+
height: 33px;
|
3179 |
+
line-height: 33px; }
|
3180 |
+
|
3181 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a {
|
3182 |
+
width: 32px;
|
3183 |
+
height: 30px;
|
3184 |
+
margin: 3px 3px 0 0;
|
3185 |
+
padding: 0;
|
3186 |
+
float: left;
|
3187 |
+
text-align: center;
|
3188 |
+
background-position: center center;
|
3189 |
+
background-repeat: no-repeat;
|
3190 |
+
vertical-align: top;
|
3191 |
+
text-indent: -99999px;
|
3192 |
+
overflow: hidden;
|
3193 |
+
opacity: 1;
|
3194 |
+
border-radius: 2px;
|
3195 |
+
border: 1px solid transparent; }
|
3196 |
+
|
3197 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-1 {
|
3198 |
+
background-image: url("../../img/column-1.png"); }
|
3199 |
+
|
3200 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-2 {
|
3201 |
+
background-image: url("../../img/column-2.png"); }
|
3202 |
+
|
3203 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-3 {
|
3204 |
+
background-image: url("../../img/column-3.png");
|
3205 |
+
width: 36px; }
|
3206 |
+
|
3207 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-1.updating,
|
3208 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-2.updating,
|
3209 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-3.updating {
|
3210 |
+
background-image: url("../../img/loader.gif");
|
3211 |
+
padding: 0 !important; }
|
3212 |
+
|
3213 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a:hover,
|
3214 |
+
.alm-drop-btn.alm-layout-selection li.type .col-select a.updating {
|
3215 |
+
opacity: 1;
|
3216 |
+
background-color: #fff;
|
3217 |
+
border-color: #ccc; }
|
3218 |
+
|
3219 |
+
.alm-drop-btn.alm-layout-selection li.type:hover {
|
3220 |
+
background-color: #faf8e6; }
|
3221 |
+
|
3222 |
+
/* External Link + Add-on */
|
3223 |
+
.alm-drop-btn.alm-layout-selection a.external,
|
3224 |
+
.alm-drop-btn.alm-layout-selection a.add-on {
|
3225 |
+
background-color: #f7f7f7;
|
3226 |
+
padding: 13px 10px 13px 42px;
|
3227 |
+
display: block; }
|
3228 |
+
|
3229 |
+
.alm-drop-btn.alm-layout-selection a.external {
|
3230 |
+
padding: 0 10px 0 42px; }
|
3231 |
+
|
3232 |
+
.alm-drop-btn.alm-layout-selection a.external i {
|
3233 |
+
color: #999;
|
3234 |
+
border-color: #ccc;
|
3235 |
+
top: 10px; }
|
3236 |
+
|
3237 |
+
.alm-drop-btn.alm-layout-selection a.external:hover i {
|
3238 |
+
color: #666; }
|
3239 |
+
|
3240 |
+
.alm-drop-btn.alm-layout-selection a.add-on {
|
3241 |
+
line-height: 1.5;
|
3242 |
+
background-color: #63ddbf;
|
3243 |
+
border: none;
|
3244 |
+
color: #fff;
|
3245 |
+
font-weight: 400;
|
3246 |
+
text-overflow: inherit;
|
3247 |
+
height: auto;
|
3248 |
+
white-space: normal; }
|
3249 |
+
|
3250 |
+
.alm-drop-btn.alm-layout-selection a.add-on:hover {
|
3251 |
+
background-color: #935eaf; }
|
3252 |
+
|
3253 |
+
.alm-drop-btn.alm-layout-selection a.add-on:hover i {
|
3254 |
+
opacity: 1; }
|
3255 |
+
|
3256 |
+
.alm-drop-btn.alm-layout-selection a.add-on:hover strong {
|
3257 |
+
color: #fff;
|
3258 |
+
opacity: 0.7; }
|
3259 |
+
|
3260 |
+
.alm-drop-btn.alm-layout-selection a.add-on strong {
|
3261 |
+
color: #387061;
|
3262 |
+
font-weight: 600; }
|
3263 |
+
|
3264 |
+
.alm-drop-btn.alm-layout-selection a.add-on i {
|
3265 |
+
top: 14px; }
|
3266 |
+
|
3267 |
+
.alm-drop-btn.alm-layout-selection a.add-on i {
|
3268 |
+
color: #fff !important;
|
3269 |
+
border-color: rgba(255, 255, 255, 0.3); }
|
3270 |
+
|
3271 |
+
.alm-drop-btn.alm-layout-selection a.target:hover,
|
3272 |
+
.alm-drop-btn.alm-layout-selection a.target:active,
|
3273 |
+
.alm-drop-btn.alm-layout-selection.active a.target {
|
3274 |
+
color: #222;
|
3275 |
+
background-color: #fff;
|
3276 |
+
border-color: #ccc;
|
3277 |
+
-webkit-box-shadow: 0 0 3px #efefef;
|
3278 |
+
box-shadow: 0 0 3px #efefef;
|
3279 |
+
opacity: 1; }
|
3280 |
+
|
3281 |
+
.alm-drop-btn.alm-layout-selection.active a.target,
|
3282 |
+
.alm-drop-btn.alm-layout-selection a.target:active {
|
3283 |
+
-webkit-box-shadow: inset 0 1px 1px #ccc !important;
|
3284 |
+
box-shadow: inset 0 1px 1px #ccc !important; }
|
3285 |
+
|
3286 |
+
.alm-drop-btn.alm-layout-selection .alm-dropdown {
|
3287 |
+
display: none;
|
3288 |
+
position: absolute;
|
3289 |
+
right: auto;
|
3290 |
+
left: -2px;
|
3291 |
+
top: 108%;
|
3292 |
+
z-index: 9; }
|
3293 |
+
|
3294 |
+
.alm-drop-btn .alm-dropdown:hover {
|
3295 |
+
display: block !important; }
|
3296 |
+
|
3297 |
+
.alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner:after,
|
3298 |
+
.alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner:before {
|
3299 |
+
right: auto;
|
3300 |
+
left: 36px; }
|
3301 |
+
|
3302 |
+
.alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner::after {
|
3303 |
+
margin-left: 0; }
|
3304 |
+
|
3305 |
+
.alm-drop-btn.alm-layout-selection .alm-dropdown .alm-drop-inner:before {
|
3306 |
+
right: auto;
|
3307 |
+
left: 35px; }
|
3308 |
+
|
3309 |
+
.add-layout-cta {
|
3310 |
+
border-radius: 2px;
|
3311 |
+
border: 1px solid #e1e1e1;
|
3312 |
+
background-color: #fefeed;
|
3313 |
+
padding: 10px 100px 10px 10px;
|
3314 |
+
display: block;
|
3315 |
+
margin: 5px 0 15px;
|
3316 |
+
font-weight: 600;
|
3317 |
+
position: relative; }
|
3318 |
+
|
3319 |
+
.add-layout-cta p {
|
3320 |
+
margin: 0;
|
3321 |
+
font-size: 13px; }
|
3322 |
+
|
3323 |
+
span.dismiss {
|
3324 |
+
position: absolute;
|
3325 |
+
right: 10px;
|
3326 |
+
top: 11px;
|
3327 |
+
font-size: 13px; }
|
3328 |
+
|
3329 |
+
span.dismiss a {
|
3330 |
+
text-decoration: none; }
|
3331 |
+
|
3332 |
+
/* Dropwbown */
|
3333 |
+
.alm-drop-btn {
|
3334 |
+
position: relative;
|
3335 |
+
width: auto; }
|
3336 |
+
|
3337 |
+
.alm-dropdown {
|
3338 |
+
display: none;
|
3339 |
+
position: absolute;
|
3340 |
+
top: 108%;
|
3341 |
+
right: -2px;
|
3342 |
+
z-index: 9; }
|
3343 |
+
|
3344 |
+
.alm-dropdown .alm-drop-inner {
|
3345 |
+
display: block;
|
3346 |
+
position: relative;
|
3347 |
+
background: #fff;
|
3348 |
+
border-radius: 3px;
|
3349 |
+
border: 1px solid #ccc;
|
3350 |
+
-webkit-box-shadow: 0 0 4px #ccc;
|
3351 |
+
box-shadow: 0 0 4px #ccc;
|
3352 |
+
padding: 8px;
|
3353 |
+
width: 260px; }
|
3354 |
+
|
3355 |
+
.alm-layout-selection .alm-dropdown .alm-drop-inner {
|
3356 |
+
width: 280px; }
|
3357 |
+
|
3358 |
+
.alm-drop-inner:after,
|
3359 |
+
.alm-drop-inner:before {
|
3360 |
+
bottom: 100%;
|
3361 |
+
right: 36px;
|
3362 |
+
border: solid transparent;
|
3363 |
+
content: " ";
|
3364 |
+
height: 0;
|
3365 |
+
width: 0;
|
3366 |
+
position: absolute;
|
3367 |
+
pointer-events: none; }
|
3368 |
+
|
3369 |
+
.alm-drop-inner:after {
|
3370 |
+
border-color: rgba(247, 247, 247, 0);
|
3371 |
+
border-bottom-color: #fff;
|
3372 |
+
border-width: 7px;
|
3373 |
+
margin-left: -7px; }
|
3374 |
+
|
3375 |
+
.alm-drop-inner:before {
|
3376 |
+
border-color: rgba(204, 204, 204, 0);
|
3377 |
+
border-bottom-color: #ccc;
|
3378 |
+
border-width: 8px;
|
3379 |
+
right: 35px; }
|
3380 |
+
|
3381 |
+
.alm-dropdown.active {
|
3382 |
+
display: block !important; }
|
3383 |
+
|
3384 |
+
.alm-dropdown ul {
|
3385 |
+
padding: 0;
|
3386 |
+
margin: 0;
|
3387 |
+
border-radius: 2px;
|
3388 |
+
border: 1px solid #efefef;
|
3389 |
+
overflow: hidden; }
|
3390 |
+
|
3391 |
+
.alm-dropdown ul li {
|
3392 |
+
margin: 0;
|
3393 |
+
padding: 0;
|
3394 |
+
list-style: none;
|
3395 |
+
clear: both;
|
3396 |
+
font-size: 12px;
|
3397 |
+
margin: 0;
|
3398 |
+
padding: 0;
|
3399 |
+
line-height: 1.2;
|
3400 |
+
border-top: 1px solid #efefef;
|
3401 |
+
font-weight: 400; }
|
3402 |
+
|
3403 |
+
.alm-dropdown ul li:first-child {
|
3404 |
+
border: none; }
|
3405 |
+
|
3406 |
+
.alm-dropdown ul li a {
|
3407 |
+
padding: 0 10px 0 42px;
|
3408 |
+
line-height: 37px;
|
3409 |
+
height: 36px;
|
3410 |
+
display: block;
|
3411 |
+
text-decoration: none;
|
3412 |
+
background-position: 4px center;
|
3413 |
+
color: #666;
|
3414 |
+
-webkit-box-shadow: none !important;
|
3415 |
+
box-shadow: none !important;
|
3416 |
+
position: relative;
|
3417 |
+
width: 100%;
|
3418 |
+
white-space: nowrap;
|
3419 |
+
overflow: hidden;
|
3420 |
+
text-overflow: ellipsis; }
|
3421 |
+
|
3422 |
+
.alm-dropdown ul li a i {
|
3423 |
+
margin: 0;
|
3424 |
+
color: #ccc;
|
3425 |
+
position: absolute;
|
3426 |
+
left: 0;
|
3427 |
+
top: 11px;
|
3428 |
+
font-size: 13px;
|
3429 |
+
width: 32px;
|
3430 |
+
height: 16px;
|
3431 |
+
line-height: 16px;
|
3432 |
+
border-right: 1px solid #e1e1e1;
|
3433 |
+
display: inline-block;
|
3434 |
+
text-align: center; }
|
3435 |
+
|
3436 |
+
.alm-dropdown ul li a:hover {
|
3437 |
+
color: #111;
|
3438 |
+
background-color: #f7f7f7; }
|
3439 |
+
|
3440 |
+
.alm-dropdown ul li a:hover i {
|
3441 |
+
color: #999; }
|
3442 |
+
|
3443 |
+
/*
|
3444 |
+
* Mailchimp Sign-up
|
3445 |
+
*
|
3446 |
+
* @since 2.7.2
|
3447 |
+
*/
|
3448 |
+
#alm-mailing-list .center {
|
3449 |
+
text-align: center;
|
3450 |
+
display: block;
|
3451 |
+
background: #f7f7f7;
|
3452 |
+
border: 1px solid #efefef;
|
3453 |
+
padding: 15px;
|
3454 |
+
margin: -5px 0 20px;
|
3455 |
+
border-radius: 2px;
|
3456 |
+
-webkit-box-shadow: inset 0 0 0 1px #fff;
|
3457 |
+
box-shadow: inset 0 0 0 1px #fff; }
|
3458 |
+
|
3459 |
+
.center-text {
|
3460 |
+
text-align: center; }
|
3461 |
+
|
3462 |
+
#alm-mailing-list .center p {
|
3463 |
+
margin-bottom: 15px; }
|
3464 |
+
|
3465 |
+
.ajax-load-more .cnkt-sidebar .cta.social .follow-btn {
|
3466 |
+
display: inline-block;
|
3467 |
+
background-color: #fff;
|
3468 |
+
color: #333;
|
3469 |
+
font-size: 20px;
|
3470 |
+
padding: 0;
|
3471 |
+
width: 44px;
|
3472 |
+
height: 44px;
|
3473 |
+
line-height: 44px;
|
3474 |
+
text-align: center;
|
3475 |
+
vertical-align: top;
|
3476 |
+
border-radius: 100%;
|
3477 |
+
margin: 0 1px 0 0;
|
3478 |
+
opacity: 0.8; }
|
3479 |
+
|
3480 |
+
.ajax-load-more .cnkt-sidebar .cta.social .follow-btn.facebook {
|
3481 |
+
background-color: #3b5998;
|
3482 |
+
color: #fff; }
|
3483 |
+
|
3484 |
+
.ajax-load-more .cnkt-sidebar .cta.social .follow-btn.twitter {
|
3485 |
+
background-color: #00aced;
|
3486 |
+
color: #fff; }
|
3487 |
+
|
3488 |
+
.ajax-load-more .cnkt-sidebar .cta.social .follow-btn:hover {
|
3489 |
+
opacity: 1; }
|
3490 |
+
|
3491 |
+
#alm-mailing-list .form-wrap {
|
3492 |
+
background-color: #fff;
|
3493 |
+
padding: 12px;
|
3494 |
+
border: 1px solid #e1e1e1;
|
3495 |
+
-webkit-box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.025);
|
3496 |
+
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.025);
|
3497 |
+
position: relative;
|
3498 |
+
border-radius: 2px; }
|
3499 |
+
|
3500 |
+
#alm-mailing-list .form-wrap .inner-wrap {
|
3501 |
+
position: relative;
|
3502 |
+
display: block; }
|
3503 |
+
|
3504 |
+
#alm-mailing-list .form-wrap input {
|
3505 |
+
width: 100%;
|
3506 |
+
display: block;
|
3507 |
+
margin: 0;
|
3508 |
+
background: #fff;
|
3509 |
+
font-size: 13px;
|
3510 |
+
border-color: #eee;
|
3511 |
+
padding: 0 7px 0 46px;
|
3512 |
+
height: 40px;
|
3513 |
+
line-height: 40px; }
|
3514 |
+
|
3515 |
+
#alm-mailing-list .form-wrap i.fa-envelope {
|
3516 |
+
color: #fff;
|
3517 |
+
background: #ff5a58;
|
3518 |
+
position: absolute;
|
3519 |
+
top: 0;
|
3520 |
+
left: 0;
|
3521 |
+
font-size: 18px;
|
3522 |
+
z-index: 1;
|
3523 |
+
height: 40px;
|
3524 |
+
width: 40px;
|
3525 |
+
text-align: center;
|
3526 |
+
line-height: 40px;
|
3527 |
+
border-radius: 2px 0 0 2px; }
|
3528 |
+
|
3529 |
+
#alm-mailing-list .form-wrap button {
|
3530 |
+
padding: 0;
|
3531 |
+
margin: 0;
|
3532 |
+
height: auto;
|
3533 |
+
line-height: 1.2;
|
3534 |
+
font-weight: 600;
|
3535 |
+
position: absolute;
|
3536 |
+
right: 0;
|
3537 |
+
top: 0;
|
3538 |
+
z-index: 1;
|
3539 |
+
height: 100%;
|
3540 |
+
font-size: 13px;
|
3541 |
+
border-radius: 0;
|
3542 |
+
width: 40px;
|
3543 |
+
height: 40px;
|
3544 |
+
color: #ff5a58;
|
3545 |
+
background: none !important;
|
3546 |
+
cursor: pointer; }
|
3547 |
+
|
3548 |
+
#alm-mailing-list .form-wrap button i {
|
3549 |
+
color: #ccc;
|
3550 |
+
line-height: 40px;
|
3551 |
+
width: 20px;
|
3552 |
+
text-align: center;
|
3553 |
+
position: absolute;
|
3554 |
+
right: 5px;
|
3555 |
+
top: 0;
|
3556 |
+
font-size: 19px; }
|
3557 |
+
|
3558 |
+
#alm-mailing-list .form-wrap button:hover i {
|
3559 |
+
color: #999; }
|
3560 |
+
|
3561 |
+
#alm-mailing-list .form-wrap button span {
|
3562 |
+
position: absolute;
|
3563 |
+
left: -9999px;
|
3564 |
+
top: -9999px; }
|
3565 |
+
|
3566 |
+
#alm-mailing-list .form-wrap label {
|
3567 |
+
font-size: 11px;
|
3568 |
+
text-transform: uppercase;
|
3569 |
+
margin: 0 0;
|
3570 |
+
padding: 0;
|
3571 |
+
font-weight: 600;
|
3572 |
+
position: absolute;
|
3573 |
+
left: -9999px;
|
3574 |
+
top: -9999px; }
|
3575 |
+
|
3576 |
+
#alm-mailing-list .form-wrap #response {
|
3577 |
+
padding-top: 11px;
|
3578 |
+
font-size: 13px;
|
3579 |
+
display: none;
|
3580 |
+
text-align: center;
|
3581 |
+
position: absolute;
|
3582 |
+
left: 0;
|
3583 |
+
top: 0;
|
3584 |
+
width: 100%;
|
3585 |
+
height: 100%;
|
3586 |
+
background: #fff;
|
3587 |
+
z-index: 1; }
|
3588 |
+
|
3589 |
+
#alm-mailing-list .form-wrap #response p {
|
3590 |
+
font-style: normal !important; }
|
3591 |
+
|
3592 |
+
/* share-alm*/
|
3593 |
+
.dotted {
|
3594 |
+
border: 1px dashed #ccc;
|
3595 |
+
background: #f7f7f7;
|
3596 |
+
padding: 20px 20px 25px; }
|
3597 |
+
|
3598 |
+
.share-alm .dotted {
|
3599 |
+
border: none;
|
3600 |
+
border-bottom: 1px dashed #ccc;
|
3601 |
+
background: none;
|
3602 |
+
margin: 0 0 20px;
|
3603 |
+
padding: 0 0 15px; }
|
3604 |
+
|
3605 |
+
.share-alm h3,
|
3606 |
+
.share-alm h4 {
|
3607 |
+
font-size: 16px; }
|
3608 |
+
|
3609 |
+
.share-alm i.fa-star,
|
3610 |
+
.share-alm i.fa-share-alt {
|
3611 |
+
color: #efc919;
|
3612 |
+
position: relative;
|
3613 |
+
left: 2px; }
|
3614 |
+
|
3615 |
+
.share-alm i.fa-share-alt {
|
3616 |
+
color: #ff5a58; }
|
3617 |
+
|
3618 |
+
.share-alm p {
|
3619 |
+
color: #777; }
|
3620 |
+
|
3621 |
+
.share-alm .sharing {
|
3622 |
+
padding-right: 20px;
|
3623 |
+
width: 46%;
|
3624 |
+
margin-right: 0 !important; }
|
3625 |
+
|
3626 |
+
.share-alm .mailing {
|
3627 |
+
width: 52%;
|
3628 |
+
margin-left: 0 !important;
|
3629 |
+
padding-left: 40px;
|
3630 |
+
padding-right: 30px;
|
3631 |
+
border-left: 1px dashed #ccc; }
|
3632 |
+
|
3633 |
+
ul.share {
|
3634 |
+
margin: 0;
|
3635 |
+
padding: 0 0 0;
|
3636 |
+
width: auto;
|
3637 |
+
clear: both;
|
3638 |
+
display: inline-block;
|
3639 |
+
overflow: hidden;
|
3640 |
+
text-align: center;
|
3641 |
+
width: 100%;
|
3642 |
+
margin: 0;
|
3643 |
+
padding: 0;
|
3644 |
+
height: auto;
|
3645 |
+
overflow: visible; }
|
3646 |
+
|
3647 |
+
ul.share li {
|
3648 |
+
background: none;
|
3649 |
+
float: left;
|
3650 |
+
vertical-align: top;
|
3651 |
+
height: 40px;
|
3652 |
+
line-height: 40px;
|
3653 |
+
font-size: 13px;
|
3654 |
+
width: auto;
|
3655 |
+
position: relative;
|
3656 |
+
font-weight: 400;
|
3657 |
+
text-align: left;
|
3658 |
+
background: none;
|
3659 |
+
color: #787878;
|
3660 |
+
width: auto;
|
3661 |
+
text-align: center;
|
3662 |
+
height: 36px;
|
3663 |
+
margin: 5px 10px 0 0;
|
3664 |
+
padding: 0; }
|
3665 |
+
|
3666 |
+
ul.share li i {
|
3667 |
+
height: 36px;
|
3668 |
+
line-height: 36px;
|
3669 |
+
left: 0;
|
3670 |
+
width: 36px; }
|
3671 |
+
|
3672 |
+
ul.share li a {
|
3673 |
+
display: block;
|
3674 |
+
line-height: 40px;
|
3675 |
+
height: 40px;
|
3676 |
+
width: auto;
|
3677 |
+
padding: 0 25px 0 50px;
|
3678 |
+
text-decoration: none;
|
3679 |
+
color: #fff;
|
3680 |
+
background: none;
|
3681 |
+
border-radius: 3px;
|
3682 |
+
position: relative;
|
3683 |
+
font-weight: 600;
|
3684 |
+
background: #33cf92; }
|
3685 |
+
|
3686 |
+
ul.share li a:hover {
|
3687 |
+
background-color: #45dfa3; }
|
3688 |
+
|
3689 |
+
ul.share li i {
|
3690 |
+
font-size: 17px;
|
3691 |
+
line-height: 41px;
|
3692 |
+
height: 40px;
|
3693 |
+
width: 36px;
|
3694 |
+
position: absolute;
|
3695 |
+
top: 0;
|
3696 |
+
left: 0;
|
3697 |
+
text-align: center;
|
3698 |
+
border-right: 1px solid rgba(0, 0, 0, 0.1);
|
3699 |
+
background-color: rgba(0, 0, 0, 0.1);
|
3700 |
+
border-radius: 2px 0 0 2px; }
|
3701 |
+
|
3702 |
+
ul.share li a:hover,
|
3703 |
+
ul.share li a:hover i {
|
3704 |
+
text-decoration: none;
|
3705 |
+
color: #fff !important; }
|
3706 |
+
|
3707 |
+
ul.share li a:hover span {
|
3708 |
+
text-decoration: none; }
|
3709 |
+
|
3710 |
+
ul.share li.twitter a {
|
3711 |
+
background: #00aced; }
|
3712 |
+
|
3713 |
+
ul.share li.twitter a:hover {
|
3714 |
+
background: #13beff !important; }
|
3715 |
+
|
3716 |
+
ul.share li.facebook a {
|
3717 |
+
background: #3b5998; }
|
3718 |
+
|
3719 |
+
ul.share li.facebook a:hover {
|
3720 |
+
background: #466cbc !important; }
|
3721 |
+
|
3722 |
+
/*
|
3723 |
+
* Local templates Add-on
|
3724 |
+
*
|
3725 |
+
* @since 2.7.3
|
3726 |
+
*/
|
3727 |
+
.select-theme-repeater {
|
3728 |
+
display: block;
|
3729 |
+
position: relative; }
|
3730 |
+
|
3731 |
+
.select-theme-repeater .or {
|
3732 |
+
position: absolute;
|
3733 |
+
left: 70px;
|
3734 |
+
top: -20px;
|
3735 |
+
background: #fefeed;
|
3736 |
+
color: #333;
|
3737 |
+
width: 40px;
|
3738 |
+
height: 40px;
|
3739 |
+
line-height: 40px;
|
3740 |
+
text-align: center;
|
3741 |
+
z-index: 1;
|
3742 |
+
font-weight: 700;
|
3743 |
+
border-radius: 100%;
|
3744 |
+
text-transform: uppercase;
|
3745 |
+
border: 1px solid #e1e1e1;
|
3746 |
+
font-size: 13px; }
|
3747 |
+
|
3748 |
+
.alm-template-section-nav {
|
3749 |
+
display: block;
|
3750 |
+
margin: 0 0;
|
3751 |
+
padding: 0; }
|
3752 |
+
|
3753 |
+
.alm-template-section-nav li {
|
3754 |
+
display: inline-block;
|
3755 |
+
vertical-align: top; }
|
3756 |
+
|
3757 |
+
.alm-template-section-nav li a {
|
3758 |
+
padding: 5px;
|
3759 |
+
display: block; }
|
3760 |
+
|
3761 |
+
.alm-template-section-nav li.active a {
|
3762 |
+
background: #ff0000; }
|
3763 |
+
|
3764 |
+
/*
|
3765 |
+
* Toggle Switch
|
3766 |
+
*
|
3767 |
+
* @since 2.14.0
|
3768 |
+
*/
|
3769 |
+
.ajax-load-more .alm-toggle-switch {
|
3770 |
+
display: block;
|
3771 |
+
clear: both;
|
3772 |
+
margin: 0;
|
3773 |
+
padding: 0 10px;
|
3774 |
+
overflow: hidden;
|
3775 |
+
position: relative;
|
3776 |
+
top: 1px;
|
3777 |
+
z-index: 9; }
|
3778 |
+
|
3779 |
+
.ajax-load-more .alm-toggle-switch li {
|
3780 |
+
float: left;
|
3781 |
+
margin: 0 2px 0 0;
|
3782 |
+
padding: 0;
|
3783 |
+
background: none;
|
3784 |
+
list-style: none; }
|
3785 |
+
|
3786 |
+
.ajax-load-more .alm-toggle-switch li a {
|
3787 |
+
display: block;
|
3788 |
+
padding: 16px 26px;
|
3789 |
+
line-height: 1;
|
3790 |
+
border-radius: 2px;
|
3791 |
+
text-decoration: none;
|
3792 |
+
border: 1px solid #e1e1e1;
|
3793 |
+
border-radius: 2px 2px 0 0;
|
3794 |
+
background: #f7f7f7;
|
3795 |
+
color: #666; }
|
3796 |
+
|
3797 |
+
.ajax-load-more .alm-toggle-switch li a:hover {
|
3798 |
+
color: #222;
|
3799 |
+
background-color: #fff; }
|
3800 |
+
|
3801 |
+
.ajax-load-more .alm-toggle-switch li a.active {
|
3802 |
+
background: #fff;
|
3803 |
+
font-weight: 600;
|
3804 |
+
border-bottom-color: #fff;
|
3805 |
+
color: #111; }
|
3806 |
+
|
3807 |
+
/*
|
3808 |
+
* Admin screen media queries
|
3809 |
+
*
|
3810 |
+
* @since 1.0
|
3811 |
+
*/
|
3812 |
+
@media screen and (max-width: 1200px) {
|
3813 |
+
.ajax-load-more input[type=text],
|
3814 |
+
.ajax-load-more input[type=number],
|
3815 |
+
.select2-container,
|
3816 |
+
#alm-builder .select2-container-multi {
|
3817 |
+
width: 95%; }
|
3818 |
+
#alm-builder .select2-container-multi {
|
3819 |
+
width: 95% !important; } }
|
3820 |
+
|
3821 |
+
@media screen and (max-width: 900px) {
|
3822 |
+
.table-of-contents {
|
3823 |
+
position: static !important;
|
3824 |
+
width: 100% !important; }
|
3825 |
+
.ajax-load-more .cnkt-main,
|
3826 |
+
.ajax-load-more .cnkt-sidebar,
|
3827 |
+
.ajax-load-more .cnkt-main.full {
|
3828 |
+
float: none;
|
3829 |
+
clear: both;
|
3830 |
+
margin: 10px 0 20px;
|
3831 |
+
width: 100%; }
|
3832 |
+
.admin.ajax-load-more.settings .form-table td {
|
3833 |
+
padding: 24px 17px 20px; }
|
3834 |
+
#alm-add-ons .group {
|
3835 |
+
width: 48%; }
|
3836 |
+
.call-out.light {
|
3837 |
+
padding: 15px !important; }
|
3838 |
+
.repeaters input.save-repeater {
|
3839 |
+
max-width: 50%; } }
|
3840 |
+
|
3841 |
+
@media screen and (max-width: 768px) {
|
3842 |
+
.share-alm .sharing {
|
3843 |
+
padding-right: 0;
|
3844 |
+
width: 100%;
|
3845 |
+
margin-right: 0 !important; }
|
3846 |
+
.share-alm .mailing {
|
3847 |
+
width: 100%;
|
3848 |
+
margin-left: 0 !important;
|
3849 |
+
padding-left: 0;
|
3850 |
+
padding-top: 40px;
|
3851 |
+
border-left: none; } }
|
3852 |
+
|
3853 |
+
@media screen and (max-width: 480px) {
|
3854 |
+
.ajax-load-more .section-title,
|
3855 |
+
.ajax-load-more .row .wrap {
|
3856 |
+
clear: both;
|
3857 |
+
width: 100%;
|
3858 |
+
display: block;
|
3859 |
+
float: none;
|
3860 |
+
padding: 10px; }
|
3861 |
+
.ajax-load-more .section-title {
|
3862 |
+
padding: 20px 20px 10px; }
|
3863 |
+
.ajax-load-more .row .wrap {
|
3864 |
+
padding: 10px 20px; }
|
3865 |
+
.ajax-load-more input[type=text],
|
3866 |
+
.ajax-load-more input[type=number],
|
3867 |
+
.select2-container,
|
3868 |
+
#alm-builder .select2-container-multi {
|
3869 |
+
width: 100% !important; }
|
3870 |
+
.ajax-load-more .row .wrap .inner.half {
|
3871 |
+
display: block;
|
3872 |
+
padding: 0 0 20px;
|
3873 |
+
width: 100%; }
|
3874 |
+
.ajax-load-more .section-title p {
|
3875 |
+
color: #999;
|
3876 |
+
padding: 0 !important; }
|
3877 |
+
#alm-add-ons .row .wrap {
|
3878 |
+
padding-bottom: 60px;
|
3879 |
+
width: 100%; }
|
3880 |
+
#alm-add-ons .section-title {
|
3881 |
+
width: 100%; }
|
3882 |
+
.alm-repeater-options {
|
3883 |
+
display: none !important; }
|
3884 |
+
.ajax-load-more .wrap-30 {
|
3885 |
+
width: 100%;
|
3886 |
+
display: block;
|
3887 |
+
padding: 0 0 10px; }
|
3888 |
+
.ajax-load-more .row .wrap.full {
|
3889 |
+
padding: 10px; }
|
3890 |
+
#alm-add-ons .group {
|
3891 |
+
width: 100%;
|
3892 |
+
display: block;
|
3893 |
+
margin: 0 0 2% 0; }
|
3894 |
+
.call-out.light {
|
3895 |
+
background: #fdfdec none repeat scroll 0 0;
|
3896 |
+
width: 100%; }
|
3897 |
+
.call-out.light p {
|
3898 |
+
padding: 0; }
|
3899 |
+
.ajax-load-more .one_half {
|
3900 |
+
width: 100%;
|
3901 |
+
margin: 0 0 2%;
|
3902 |
+
display: block; }
|
3903 |
+
.add-layout-cta {
|
3904 |
+
padding: 10px; }
|
3905 |
+
span.dismiss {
|
3906 |
+
position: static;
|
3907 |
+
padding-top: 20px;
|
3908 |
+
display: block;
|
3909 |
+
font-size: 12px; } }
|
admin/dist/js/admin.js
ADDED
@@ -0,0 +1,1643 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
'use strict';
|
2 |
+
|
3 |
+
var drops = drops || {};
|
4 |
+
|
5 |
+
jQuery(document).ready(function ($) {
|
6 |
+
"use strict";
|
7 |
+
|
8 |
+
drops.dropdown = function (e) {
|
9 |
+
var el = e.parent();
|
10 |
+
var dropdown = $('.alm-dropdown', el);
|
11 |
+
var text = $('input[type="text"]', el);
|
12 |
+
|
13 |
+
if ($(el).hasClass('active')) {
|
14 |
+
//If is currently active, hide it
|
15 |
+
el.removeClass('active');
|
16 |
+
$('.alm-dropdown', el).removeClass('active');
|
17 |
+
return false;
|
18 |
+
} else if ($('.alm-dropdown').hasClass('active')) {
|
19 |
+
$('.alm-dropdown').each(function (i) {
|
20 |
+
$(this).removeClass('active');
|
21 |
+
$(this).parent().removeClass('active');
|
22 |
+
});
|
23 |
+
}
|
24 |
+
|
25 |
+
$('.alm-dropdown').removeClass('active'); //remove active states from currently open dropdowns
|
26 |
+
el.addClass('active');
|
27 |
+
$('.alm-dropdown', el).addClass('active');
|
28 |
+
text.focus(); //Focus on input boxes
|
29 |
+
|
30 |
+
$(window).unbind('click').bind('click', drops.closeDropDown); // Bind click event to site container
|
31 |
+
|
32 |
+
dropdown.unbind('click').bind('click', function (event) {
|
33 |
+
//event.stopPropagation();
|
34 |
+
});
|
35 |
+
//http://stackoverflow.com/questions/10439779/closing-modal-popup-by-clicking-away-from-it
|
36 |
+
};
|
37 |
+
drops.closeDropDown = function () {
|
38 |
+
$('.alm-dropdown').each(function (i) {
|
39 |
+
$(this).removeClass('active');
|
40 |
+
$(this).parent().removeClass('active');
|
41 |
+
});
|
42 |
+
};
|
43 |
+
|
44 |
+
//Dropdown links
|
45 |
+
$(document).on('click', '.alm-drop-btn a.target', function () {
|
46 |
+
var e = $(this);
|
47 |
+
drops.dropdown(e);
|
48 |
+
return false;
|
49 |
+
});
|
50 |
+
});
|
51 |
+
"use strict";
|
52 |
+
|
53 |
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
54 |
+
|
55 |
+
/* Tooltipster v3.3.0 */;(function (e, t, n) {
|
56 |
+
function s(t, n) {
|
57 |
+
this.bodyOverflowX;this.callbacks = { hide: [], show: [] };this.checkInterval = null;this.Content;this.$el = e(t);this.$elProxy;this.elProxyPosition;this.enabled = true;this.options = e.extend({}, i, n);this.mouseIsOverProxy = false;this.namespace = "tooltipster-" + Math.round(Math.random() * 1e5);this.Status = "hidden";this.timerHide = null;this.timerShow = null;this.$tooltip;this.options.iconTheme = this.options.iconTheme.replace(".", "");this.options.theme = this.options.theme.replace(".", "");this._init();
|
58 |
+
}function o(t, n) {
|
59 |
+
var r = true;e.each(t, function (e, i) {
|
60 |
+
if (typeof n[e] === "undefined" || t[e] !== n[e]) {
|
61 |
+
r = false;return false;
|
62 |
+
}
|
63 |
+
});return r;
|
64 |
+
}function f() {
|
65 |
+
return !a && u;
|
66 |
+
}function l() {
|
67 |
+
var e = n.body || n.documentElement,
|
68 |
+
t = e.style,
|
69 |
+
r = "transition";if (typeof t[r] == "string") {
|
70 |
+
return true;
|
71 |
+
}v = ["Moz", "Webkit", "Khtml", "O", "ms"], r = r.charAt(0).toUpperCase() + r.substr(1);for (var i = 0; i < v.length; i++) {
|
72 |
+
if (typeof t[v[i] + r] == "string") {
|
73 |
+
return true;
|
74 |
+
}
|
75 |
+
}return false;
|
76 |
+
}var r = "tooltipster",
|
77 |
+
i = { animation: "fade", arrow: true, arrowColor: "", autoClose: true, content: null, contentAsHTML: false, contentCloning: true, debug: true, delay: 200, minWidth: 0, maxWidth: null, functionInit: function functionInit(e, t) {}, functionBefore: function functionBefore(e, t) {
|
78 |
+
t();
|
79 |
+
}, functionReady: function functionReady(e, t) {}, functionAfter: function functionAfter(e) {}, hideOnClick: false, icon: "(?)", iconCloning: true, iconDesktop: false, iconTouch: false, iconTheme: "tooltipster-icon", interactive: false, interactiveTolerance: 350, multiple: false, offsetX: 0, offsetY: 0, onlyOne: false, position: "top", positionTracker: false, positionTrackerCallback: function positionTrackerCallback(e) {
|
80 |
+
if (this.option("trigger") == "hover" && this.option("autoClose")) {
|
81 |
+
this.hide();
|
82 |
+
}
|
83 |
+
}, restoration: "current", speed: 350, timer: 0, theme: "tooltipster-default", touchDevices: true, trigger: "hover", updateAnimation: true };s.prototype = { _init: function _init() {
|
84 |
+
var t = this;if (n.querySelector) {
|
85 |
+
var r = null;if (t.$el.data("tooltipster-initialTitle") === undefined) {
|
86 |
+
r = t.$el.attr("title");if (r === undefined) r = null;t.$el.data("tooltipster-initialTitle", r);
|
87 |
+
}if (t.options.content !== null) {
|
88 |
+
t._content_set(t.options.content);
|
89 |
+
} else {
|
90 |
+
t._content_set(r);
|
91 |
+
}var i = t.options.functionInit.call(t.$el, t.$el, t.Content);if (typeof i !== "undefined") t._content_set(i);t.$el.removeAttr("title").addClass("tooltipstered");if (!u && t.options.iconDesktop || u && t.options.iconTouch) {
|
92 |
+
if (typeof t.options.icon === "string") {
|
93 |
+
t.$elProxy = e('<span class="' + t.options.iconTheme + '"></span>');t.$elProxy.text(t.options.icon);
|
94 |
+
} else {
|
95 |
+
if (t.options.iconCloning) t.$elProxy = t.options.icon.clone(true);else t.$elProxy = t.options.icon;
|
96 |
+
}t.$elProxy.insertAfter(t.$el);
|
97 |
+
} else {
|
98 |
+
t.$elProxy = t.$el;
|
99 |
+
}if (t.options.trigger == "hover") {
|
100 |
+
t.$elProxy.on("mouseenter." + t.namespace, function () {
|
101 |
+
if (!f() || t.options.touchDevices) {
|
102 |
+
t.mouseIsOverProxy = true;t._show();
|
103 |
+
}
|
104 |
+
}).on("mouseleave." + t.namespace, function () {
|
105 |
+
if (!f() || t.options.touchDevices) {
|
106 |
+
t.mouseIsOverProxy = false;
|
107 |
+
}
|
108 |
+
});if (u && t.options.touchDevices) {
|
109 |
+
t.$elProxy.on("touchstart." + t.namespace, function () {
|
110 |
+
t._showNow();
|
111 |
+
});
|
112 |
+
}
|
113 |
+
} else if (t.options.trigger == "click") {
|
114 |
+
t.$elProxy.on("click." + t.namespace, function () {
|
115 |
+
if (!f() || t.options.touchDevices) {
|
116 |
+
t._show();
|
117 |
+
}
|
118 |
+
});
|
119 |
+
}
|
120 |
+
}
|
121 |
+
}, _show: function _show() {
|
122 |
+
var e = this;if (e.Status != "shown" && e.Status != "appearing") {
|
123 |
+
if (e.options.delay) {
|
124 |
+
e.timerShow = setTimeout(function () {
|
125 |
+
if (e.options.trigger == "click" || e.options.trigger == "hover" && e.mouseIsOverProxy) {
|
126 |
+
e._showNow();
|
127 |
+
}
|
128 |
+
}, e.options.delay);
|
129 |
+
} else e._showNow();
|
130 |
+
}
|
131 |
+
}, _showNow: function _showNow(n) {
|
132 |
+
var r = this;r.options.functionBefore.call(r.$el, r.$el, function () {
|
133 |
+
if (r.enabled && r.Content !== null) {
|
134 |
+
if (n) r.callbacks.show.push(n);r.callbacks.hide = [];clearTimeout(r.timerShow);r.timerShow = null;clearTimeout(r.timerHide);r.timerHide = null;if (r.options.onlyOne) {
|
135 |
+
e(".tooltipstered").not(r.$el).each(function (t, n) {
|
136 |
+
var r = e(n),
|
137 |
+
i = r.data("tooltipster-ns");e.each(i, function (e, t) {
|
138 |
+
var n = r.data(t),
|
139 |
+
i = n.status(),
|
140 |
+
s = n.option("autoClose");if (i !== "hidden" && i !== "disappearing" && s) {
|
141 |
+
n.hide();
|
142 |
+
}
|
143 |
+
});
|
144 |
+
});
|
145 |
+
}var i = function i() {
|
146 |
+
r.Status = "shown";e.each(r.callbacks.show, function (e, t) {
|
147 |
+
t.call(r.$el);
|
148 |
+
});r.callbacks.show = [];
|
149 |
+
};if (r.Status !== "hidden") {
|
150 |
+
var s = 0;if (r.Status === "disappearing") {
|
151 |
+
r.Status = "appearing";if (l()) {
|
152 |
+
r.$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-" + r.options.animation + "-show");if (r.options.speed > 0) r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i);
|
153 |
+
} else {
|
154 |
+
r.$tooltip.stop().fadeIn(i);
|
155 |
+
}
|
156 |
+
} else if (r.Status === "shown") {
|
157 |
+
i();
|
158 |
+
}
|
159 |
+
} else {
|
160 |
+
r.Status = "appearing";var s = r.options.speed;r.bodyOverflowX = e("body").css("overflow-x");e("body").css("overflow-x", "hidden");var o = "tooltipster-" + r.options.animation,
|
161 |
+
a = "-webkit-transition-duration: " + r.options.speed + "ms; -webkit-animation-duration: " + r.options.speed + "ms; -moz-transition-duration: " + r.options.speed + "ms; -moz-animation-duration: " + r.options.speed + "ms; -o-transition-duration: " + r.options.speed + "ms; -o-animation-duration: " + r.options.speed + "ms; -ms-transition-duration: " + r.options.speed + "ms; -ms-animation-duration: " + r.options.speed + "ms; transition-duration: " + r.options.speed + "ms; animation-duration: " + r.options.speed + "ms;",
|
162 |
+
f = r.options.minWidth ? "min-width:" + Math.round(r.options.minWidth) + "px;" : "",
|
163 |
+
c = r.options.maxWidth ? "max-width:" + Math.round(r.options.maxWidth) + "px;" : "",
|
164 |
+
h = r.options.interactive ? "pointer-events: auto;" : "";r.$tooltip = e('<div class="tooltipster-base ' + r.options.theme + '" style="' + f + " " + c + " " + h + " " + a + '"><div class="tooltipster-content"></div></div>');if (l()) r.$tooltip.addClass(o);r._content_insert();r.$tooltip.appendTo("body");r.reposition();r.options.functionReady.call(r.$el, r.$el, r.$tooltip);if (l()) {
|
165 |
+
r.$tooltip.addClass(o + "-show");if (r.options.speed > 0) r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i);
|
166 |
+
} else {
|
167 |
+
r.$tooltip.css("display", "none").fadeIn(r.options.speed, i);
|
168 |
+
}r._interval_set();e(t).on("scroll." + r.namespace + " resize." + r.namespace, function () {
|
169 |
+
r.reposition();
|
170 |
+
});if (r.options.autoClose) {
|
171 |
+
e("body").off("." + r.namespace);if (r.options.trigger == "hover") {
|
172 |
+
if (u) {
|
173 |
+
setTimeout(function () {
|
174 |
+
e("body").on("touchstart." + r.namespace, function () {
|
175 |
+
r.hide();
|
176 |
+
});
|
177 |
+
}, 0);
|
178 |
+
}if (r.options.interactive) {
|
179 |
+
if (u) {
|
180 |
+
r.$tooltip.on("touchstart." + r.namespace, function (e) {
|
181 |
+
e.stopPropagation();
|
182 |
+
});
|
183 |
+
}var p = null;r.$elProxy.add(r.$tooltip).on("mouseleave." + r.namespace + "-autoClose", function () {
|
184 |
+
clearTimeout(p);p = setTimeout(function () {
|
185 |
+
r.hide();
|
186 |
+
}, r.options.interactiveTolerance);
|
187 |
+
}).on("mouseenter." + r.namespace + "-autoClose", function () {
|
188 |
+
clearTimeout(p);
|
189 |
+
});
|
190 |
+
} else {
|
191 |
+
r.$elProxy.on("mouseleave." + r.namespace + "-autoClose", function () {
|
192 |
+
r.hide();
|
193 |
+
});
|
194 |
+
}if (r.options.hideOnClick) {
|
195 |
+
r.$elProxy.on("click." + r.namespace + "-autoClose", function () {
|
196 |
+
r.hide();
|
197 |
+
});
|
198 |
+
}
|
199 |
+
} else if (r.options.trigger == "click") {
|
200 |
+
setTimeout(function () {
|
201 |
+
e("body").on("click." + r.namespace + " touchstart." + r.namespace, function () {
|
202 |
+
r.hide();
|
203 |
+
});
|
204 |
+
}, 0);if (r.options.interactive) {
|
205 |
+
r.$tooltip.on("click." + r.namespace + " touchstart." + r.namespace, function (e) {
|
206 |
+
e.stopPropagation();
|
207 |
+
});
|
208 |
+
}
|
209 |
+
}
|
210 |
+
}
|
211 |
+
}if (r.options.timer > 0) {
|
212 |
+
r.timerHide = setTimeout(function () {
|
213 |
+
r.timerHide = null;r.hide();
|
214 |
+
}, r.options.timer + s);
|
215 |
+
}
|
216 |
+
}
|
217 |
+
});
|
218 |
+
}, _interval_set: function _interval_set() {
|
219 |
+
var t = this;t.checkInterval = setInterval(function () {
|
220 |
+
if (e("body").find(t.$el).length === 0 || e("body").find(t.$elProxy).length === 0 || t.Status == "hidden" || e("body").find(t.$tooltip).length === 0) {
|
221 |
+
if (t.Status == "shown" || t.Status == "appearing") t.hide();t._interval_cancel();
|
222 |
+
} else {
|
223 |
+
if (t.options.positionTracker) {
|
224 |
+
var n = t._repositionInfo(t.$elProxy),
|
225 |
+
r = false;if (o(n.dimension, t.elProxyPosition.dimension)) {
|
226 |
+
if (t.$elProxy.css("position") === "fixed") {
|
227 |
+
if (o(n.position, t.elProxyPosition.position)) r = true;
|
228 |
+
} else {
|
229 |
+
if (o(n.offset, t.elProxyPosition.offset)) r = true;
|
230 |
+
}
|
231 |
+
}if (!r) {
|
232 |
+
t.reposition();t.options.positionTrackerCallback.call(t, t.$el);
|
233 |
+
}
|
234 |
+
}
|
235 |
+
}
|
236 |
+
}, 200);
|
237 |
+
}, _interval_cancel: function _interval_cancel() {
|
238 |
+
clearInterval(this.checkInterval);this.checkInterval = null;
|
239 |
+
}, _content_set: function _content_set(e) {
|
240 |
+
if ((typeof e === "undefined" ? "undefined" : _typeof(e)) === "object" && e !== null && this.options.contentCloning) {
|
241 |
+
e = e.clone(true);
|
242 |
+
}this.Content = e;
|
243 |
+
}, _content_insert: function _content_insert() {
|
244 |
+
var e = this,
|
245 |
+
t = this.$tooltip.find(".tooltipster-content");if (typeof e.Content === "string" && !e.options.contentAsHTML) {
|
246 |
+
t.text(e.Content);
|
247 |
+
} else {
|
248 |
+
t.empty().append(e.Content);
|
249 |
+
}
|
250 |
+
}, _update: function _update(e) {
|
251 |
+
var t = this;t._content_set(e);if (t.Content !== null) {
|
252 |
+
if (t.Status !== "hidden") {
|
253 |
+
t._content_insert();t.reposition();if (t.options.updateAnimation) {
|
254 |
+
if (l()) {
|
255 |
+
t.$tooltip.css({ width: "", "-webkit-transition": "all " + t.options.speed + "ms, width 0ms, height 0ms, left 0ms, top 0ms", "-moz-transition": "all " + t.options.speed + "ms, width 0ms, height 0ms, left 0ms, top 0ms", "-o-transition": "all " + t.options.speed + "ms, width 0ms, height 0ms, left 0ms, top 0ms", "-ms-transition": "all " + t.options.speed + "ms, width 0ms, height 0ms, left 0ms, top 0ms", transition: "all " + t.options.speed + "ms, width 0ms, height 0ms, left 0ms, top 0ms" }).addClass("tooltipster-content-changing");setTimeout(function () {
|
256 |
+
if (t.Status != "hidden") {
|
257 |
+
t.$tooltip.removeClass("tooltipster-content-changing");setTimeout(function () {
|
258 |
+
if (t.Status !== "hidden") {
|
259 |
+
t.$tooltip.css({ "-webkit-transition": t.options.speed + "ms", "-moz-transition": t.options.speed + "ms", "-o-transition": t.options.speed + "ms", "-ms-transition": t.options.speed + "ms", transition: t.options.speed + "ms" });
|
260 |
+
}
|
261 |
+
}, t.options.speed);
|
262 |
+
}
|
263 |
+
}, t.options.speed);
|
264 |
+
} else {
|
265 |
+
t.$tooltip.fadeTo(t.options.speed, .5, function () {
|
266 |
+
if (t.Status != "hidden") {
|
267 |
+
t.$tooltip.fadeTo(t.options.speed, 1);
|
268 |
+
}
|
269 |
+
});
|
270 |
+
}
|
271 |
+
}
|
272 |
+
}
|
273 |
+
} else {
|
274 |
+
t.hide();
|
275 |
+
}
|
276 |
+
}, _repositionInfo: function _repositionInfo(e) {
|
277 |
+
return { dimension: { height: e.outerHeight(false), width: e.outerWidth(false) }, offset: e.offset(), position: { left: parseInt(e.css("left")), top: parseInt(e.css("top")) } };
|
278 |
+
}, hide: function hide(n) {
|
279 |
+
var r = this;if (n) r.callbacks.hide.push(n);r.callbacks.show = [];clearTimeout(r.timerShow);r.timerShow = null;clearTimeout(r.timerHide);r.timerHide = null;var i = function i() {
|
280 |
+
e.each(r.callbacks.hide, function (e, t) {
|
281 |
+
t.call(r.$el);
|
282 |
+
});r.callbacks.hide = [];
|
283 |
+
};if (r.Status == "shown" || r.Status == "appearing") {
|
284 |
+
r.Status = "disappearing";var s = function s() {
|
285 |
+
r.Status = "hidden";if (_typeof(r.Content) == "object" && r.Content !== null) {
|
286 |
+
r.Content.detach();
|
287 |
+
}r.$tooltip.remove();r.$tooltip = null;e(t).off("." + r.namespace);e("body").off("." + r.namespace).css("overflow-x", r.bodyOverflowX);e("body").off("." + r.namespace);r.$elProxy.off("." + r.namespace + "-autoClose");r.options.functionAfter.call(r.$el, r.$el);i();
|
288 |
+
};if (l()) {
|
289 |
+
r.$tooltip.clearQueue().removeClass("tooltipster-" + r.options.animation + "-show").addClass("tooltipster-dying");if (r.options.speed > 0) r.$tooltip.delay(r.options.speed);r.$tooltip.queue(s);
|
290 |
+
} else {
|
291 |
+
r.$tooltip.stop().fadeOut(r.options.speed, s);
|
292 |
+
}
|
293 |
+
} else if (r.Status == "hidden") {
|
294 |
+
i();
|
295 |
+
}return r;
|
296 |
+
}, show: function show(e) {
|
297 |
+
this._showNow(e);return this;
|
298 |
+
}, update: function update(e) {
|
299 |
+
return this.content(e);
|
300 |
+
}, content: function content(e) {
|
301 |
+
if (typeof e === "undefined") {
|
302 |
+
return this.Content;
|
303 |
+
} else {
|
304 |
+
this._update(e);return this;
|
305 |
+
}
|
306 |
+
}, reposition: function reposition() {
|
307 |
+
var n = this;if (e("body").find(n.$tooltip).length !== 0) {
|
308 |
+
var H = function H() {
|
309 |
+
var n = e(t).scrollLeft();if (A - n < 0) {
|
310 |
+
r = A - n;A = n;
|
311 |
+
}if (A + o - n > i) {
|
312 |
+
r = A - (i + n - o);A = i + n - o;
|
313 |
+
}
|
314 |
+
};
|
315 |
+
|
316 |
+
var B = function B(n, r) {
|
317 |
+
if (s.offset.top - e(t).scrollTop() - a - _ - 12 < 0 && r.indexOf("top") > -1) {
|
318 |
+
P = n;
|
319 |
+
}if (s.offset.top + s.dimension.height + a + 12 + _ > e(t).scrollTop() + e(t).height() && r.indexOf("bottom") > -1) {
|
320 |
+
P = n;M = s.offset.top - a - _ - 12;
|
321 |
+
}
|
322 |
+
};
|
323 |
+
|
324 |
+
n.$tooltip.css("width", "");n.elProxyPosition = n._repositionInfo(n.$elProxy);var r = null,
|
325 |
+
i = e(t).width(),
|
326 |
+
s = n.elProxyPosition,
|
327 |
+
o = n.$tooltip.outerWidth(false),
|
328 |
+
u = n.$tooltip.innerWidth() + 1,
|
329 |
+
a = n.$tooltip.outerHeight(false);if (n.$elProxy.is("area")) {
|
330 |
+
var f = n.$elProxy.attr("shape"),
|
331 |
+
l = n.$elProxy.parent().attr("name"),
|
332 |
+
c = e('img[usemap="#' + l + '"]'),
|
333 |
+
h = c.offset().left,
|
334 |
+
p = c.offset().top,
|
335 |
+
d = n.$elProxy.attr("coords") !== undefined ? n.$elProxy.attr("coords").split(",") : undefined;if (f == "circle") {
|
336 |
+
var v = parseInt(d[0]),
|
337 |
+
m = parseInt(d[1]),
|
338 |
+
g = parseInt(d[2]);s.dimension.height = g * 2;s.dimension.width = g * 2;s.offset.top = p + m - g;s.offset.left = h + v - g;
|
339 |
+
} else if (f == "rect") {
|
340 |
+
var v = parseInt(d[0]),
|
341 |
+
m = parseInt(d[1]),
|
342 |
+
y = parseInt(d[2]),
|
343 |
+
b = parseInt(d[3]);s.dimension.height = b - m;s.dimension.width = y - v;s.offset.top = p + m;s.offset.left = h + v;
|
344 |
+
} else if (f == "poly") {
|
345 |
+
var w = [],
|
346 |
+
E = [],
|
347 |
+
S = 0,
|
348 |
+
x = 0,
|
349 |
+
T = 0,
|
350 |
+
N = 0,
|
351 |
+
C = "even";for (var k = 0; k < d.length; k++) {
|
352 |
+
var L = parseInt(d[k]);if (C == "even") {
|
353 |
+
if (L > T) {
|
354 |
+
T = L;if (k === 0) {
|
355 |
+
S = T;
|
356 |
+
}
|
357 |
+
}if (L < S) {
|
358 |
+
S = L;
|
359 |
+
}C = "odd";
|
360 |
+
} else {
|
361 |
+
if (L > N) {
|
362 |
+
N = L;if (k == 1) {
|
363 |
+
x = N;
|
364 |
+
}
|
365 |
+
}if (L < x) {
|
366 |
+
x = L;
|
367 |
+
}C = "even";
|
368 |
+
}
|
369 |
+
}s.dimension.height = N - x;s.dimension.width = T - S;s.offset.top = p + x;s.offset.left = h + S;
|
370 |
+
} else {
|
371 |
+
s.dimension.height = c.outerHeight(false);s.dimension.width = c.outerWidth(false);s.offset.top = p;s.offset.left = h;
|
372 |
+
}
|
373 |
+
}var A = 0,
|
374 |
+
O = 0,
|
375 |
+
M = 0,
|
376 |
+
_ = parseInt(n.options.offsetY),
|
377 |
+
D = parseInt(n.options.offsetX),
|
378 |
+
P = n.options.position;if (P == "top") {
|
379 |
+
var j = s.offset.left + o - (s.offset.left + s.dimension.width);A = s.offset.left + D - j / 2;M = s.offset.top - a - _ - 12;H();B("bottom", "top");
|
380 |
+
}if (P == "top-left") {
|
381 |
+
A = s.offset.left + D;M = s.offset.top - a - _ - 12;H();B("bottom-left", "top-left");
|
382 |
+
}if (P == "top-right") {
|
383 |
+
A = s.offset.left + s.dimension.width + D - o;M = s.offset.top - a - _ - 12;H();B("bottom-right", "top-right");
|
384 |
+
}if (P == "bottom") {
|
385 |
+
var j = s.offset.left + o - (s.offset.left + s.dimension.width);A = s.offset.left - j / 2 + D;M = s.offset.top + s.dimension.height + _ + 12;H();B("top", "bottom");
|
386 |
+
}if (P == "bottom-left") {
|
387 |
+
A = s.offset.left + D;M = s.offset.top + s.dimension.height + _ + 12;H();B("top-left", "bottom-left");
|
388 |
+
}if (P == "bottom-right") {
|
389 |
+
A = s.offset.left + s.dimension.width + D - o;M = s.offset.top + s.dimension.height + _ + 12;H();B("top-right", "bottom-right");
|
390 |
+
}if (P == "left") {
|
391 |
+
A = s.offset.left - D - o - 12;O = s.offset.left + D + s.dimension.width + 12;var F = s.offset.top + a - (s.offset.top + s.dimension.height);M = s.offset.top - F / 2 - _;if (A < 0 && O + o > i) {
|
392 |
+
var I = parseFloat(n.$tooltip.css("border-width")) * 2,
|
393 |
+
q = o + A - I;n.$tooltip.css("width", q + "px");a = n.$tooltip.outerHeight(false);A = s.offset.left - D - q - 12 - I;F = s.offset.top + a - (s.offset.top + s.dimension.height);M = s.offset.top - F / 2 - _;
|
394 |
+
} else if (A < 0) {
|
395 |
+
A = s.offset.left + D + s.dimension.width + 12;r = "left";
|
396 |
+
}
|
397 |
+
}if (P == "right") {
|
398 |
+
A = s.offset.left + D + s.dimension.width + 12;O = s.offset.left - D - o - 12;var F = s.offset.top + a - (s.offset.top + s.dimension.height);M = s.offset.top - F / 2 - _;if (A + o > i && O < 0) {
|
399 |
+
var I = parseFloat(n.$tooltip.css("border-width")) * 2,
|
400 |
+
q = i - A - I;n.$tooltip.css("width", q + "px");a = n.$tooltip.outerHeight(false);F = s.offset.top + a - (s.offset.top + s.dimension.height);M = s.offset.top - F / 2 - _;
|
401 |
+
} else if (A + o > i) {
|
402 |
+
A = s.offset.left - D - o - 12;r = "right";
|
403 |
+
}
|
404 |
+
}if (n.options.arrow) {
|
405 |
+
var R = "tooltipster-arrow-" + P;if (n.options.arrowColor.length < 1) {
|
406 |
+
var U = n.$tooltip.css("background-color");
|
407 |
+
} else {
|
408 |
+
var U = n.options.arrowColor;
|
409 |
+
}if (!r) {
|
410 |
+
r = "";
|
411 |
+
} else if (r == "left") {
|
412 |
+
R = "tooltipster-arrow-right";r = "";
|
413 |
+
} else if (r == "right") {
|
414 |
+
R = "tooltipster-arrow-left";r = "";
|
415 |
+
} else {
|
416 |
+
r = "left:" + Math.round(r) + "px;";
|
417 |
+
}if (P == "top" || P == "top-left" || P == "top-right") {
|
418 |
+
var z = parseFloat(n.$tooltip.css("border-bottom-width")),
|
419 |
+
W = n.$tooltip.css("border-bottom-color");
|
420 |
+
} else if (P == "bottom" || P == "bottom-left" || P == "bottom-right") {
|
421 |
+
var z = parseFloat(n.$tooltip.css("border-top-width")),
|
422 |
+
W = n.$tooltip.css("border-top-color");
|
423 |
+
} else if (P == "left") {
|
424 |
+
var z = parseFloat(n.$tooltip.css("border-right-width")),
|
425 |
+
W = n.$tooltip.css("border-right-color");
|
426 |
+
} else if (P == "right") {
|
427 |
+
var z = parseFloat(n.$tooltip.css("border-left-width")),
|
428 |
+
W = n.$tooltip.css("border-left-color");
|
429 |
+
} else {
|
430 |
+
var z = parseFloat(n.$tooltip.css("border-bottom-width")),
|
431 |
+
W = n.$tooltip.css("border-bottom-color");
|
432 |
+
}if (z > 1) {
|
433 |
+
z++;
|
434 |
+
}var X = "";if (z !== 0) {
|
435 |
+
var V = "",
|
436 |
+
J = "border-color: " + W + ";";if (R.indexOf("bottom") !== -1) {
|
437 |
+
V = "margin-top: -" + Math.round(z) + "px;";
|
438 |
+
} else if (R.indexOf("top") !== -1) {
|
439 |
+
V = "margin-bottom: -" + Math.round(z) + "px;";
|
440 |
+
} else if (R.indexOf("left") !== -1) {
|
441 |
+
V = "margin-right: -" + Math.round(z) + "px;";
|
442 |
+
} else if (R.indexOf("right") !== -1) {
|
443 |
+
V = "margin-left: -" + Math.round(z) + "px;";
|
444 |
+
}X = '<span class="tooltipster-arrow-border" style="' + V + " " + J + ';"></span>';
|
445 |
+
}n.$tooltip.find(".tooltipster-arrow").remove();var K = '<div class="' + R + ' tooltipster-arrow" style="' + r + '">' + X + '<span style="border-color:' + U + ';"></span></div>';n.$tooltip.append(K);
|
446 |
+
}n.$tooltip.css({ top: Math.round(M) + "px", left: Math.round(A) + "px" });
|
447 |
+
}return n;
|
448 |
+
}, enable: function enable() {
|
449 |
+
this.enabled = true;return this;
|
450 |
+
}, disable: function disable() {
|
451 |
+
this.hide();this.enabled = false;return this;
|
452 |
+
}, destroy: function destroy() {
|
453 |
+
var t = this;t.hide();if (t.$el[0] !== t.$elProxy[0]) {
|
454 |
+
t.$elProxy.remove();
|
455 |
+
}t.$el.removeData(t.namespace).off("." + t.namespace);var n = t.$el.data("tooltipster-ns");if (n.length === 1) {
|
456 |
+
var r = null;if (t.options.restoration === "previous") {
|
457 |
+
r = t.$el.data("tooltipster-initialTitle");
|
458 |
+
} else if (t.options.restoration === "current") {
|
459 |
+
r = typeof t.Content === "string" ? t.Content : e("<div></div>").append(t.Content).html();
|
460 |
+
}if (r) {
|
461 |
+
t.$el.attr("title", r);
|
462 |
+
}t.$el.removeClass("tooltipstered").removeData("tooltipster-ns").removeData("tooltipster-initialTitle");
|
463 |
+
} else {
|
464 |
+
n = e.grep(n, function (e, n) {
|
465 |
+
return e !== t.namespace;
|
466 |
+
});t.$el.data("tooltipster-ns", n);
|
467 |
+
}return t;
|
468 |
+
}, elementIcon: function elementIcon() {
|
469 |
+
return this.$el[0] !== this.$elProxy[0] ? this.$elProxy[0] : undefined;
|
470 |
+
}, elementTooltip: function elementTooltip() {
|
471 |
+
return this.$tooltip ? this.$tooltip[0] : undefined;
|
472 |
+
}, option: function option(e, t) {
|
473 |
+
if (typeof t == "undefined") return this.options[e];else {
|
474 |
+
this.options[e] = t;return this;
|
475 |
+
}
|
476 |
+
}, status: function status() {
|
477 |
+
return this.Status;
|
478 |
+
} };e.fn[r] = function () {
|
479 |
+
var t = arguments;if (this.length === 0) {
|
480 |
+
if (typeof t[0] === "string") {
|
481 |
+
var n = true;switch (t[0]) {case "setDefaults":
|
482 |
+
e.extend(i, t[1]);break;default:
|
483 |
+
n = false;break;}if (n) return true;else return this;
|
484 |
+
} else {
|
485 |
+
return this;
|
486 |
+
}
|
487 |
+
} else {
|
488 |
+
if (typeof t[0] === "string") {
|
489 |
+
var r = "#*$~&";this.each(function () {
|
490 |
+
var n = e(this).data("tooltipster-ns"),
|
491 |
+
i = n ? e(this).data(n[0]) : null;if (i) {
|
492 |
+
if (typeof i[t[0]] === "function") {
|
493 |
+
var s = i[t[0]](t[1], t[2]);
|
494 |
+
} else {
|
495 |
+
throw new Error('Unknown method .tooltipster("' + t[0] + '")');
|
496 |
+
}if (s !== i) {
|
497 |
+
r = s;return false;
|
498 |
+
}
|
499 |
+
} else {
|
500 |
+
throw new Error("You called Tooltipster's \"" + t[0] + '" method on an uninitialized element');
|
501 |
+
}
|
502 |
+
});return r !== "#*$~&" ? r : this;
|
503 |
+
} else {
|
504 |
+
var o = [],
|
505 |
+
u = t[0] && typeof t[0].multiple !== "undefined",
|
506 |
+
a = u && t[0].multiple || !u && i.multiple,
|
507 |
+
f = t[0] && typeof t[0].debug !== "undefined",
|
508 |
+
l = f && t[0].debug || !f && i.debug;this.each(function () {
|
509 |
+
var n = false,
|
510 |
+
r = e(this).data("tooltipster-ns"),
|
511 |
+
i = null;if (!r) {
|
512 |
+
n = true;
|
513 |
+
} else if (a) {
|
514 |
+
n = true;
|
515 |
+
} else if (l) {
|
516 |
+
console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the "multiple" option to attach more tooltips.');
|
517 |
+
}if (n) {
|
518 |
+
i = new s(this, t[0]);if (!r) r = [];r.push(i.namespace);e(this).data("tooltipster-ns", r);e(this).data(i.namespace, i);
|
519 |
+
}o.push(i);
|
520 |
+
});if (a) return o;else return this;
|
521 |
+
}
|
522 |
+
}
|
523 |
+
};var u = !!("ontouchstart" in t);var a = false;e("body").one("mousemove", function () {
|
524 |
+
a = true;
|
525 |
+
});
|
526 |
+
})(jQuery, window, document);
|
527 |
+
"use strict";
|
528 |
+
|
529 |
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
530 |
+
|
531 |
+
/*
|
532 |
+
SELECT 2 FORM REPLACEMNT
|
533 |
+
*/
|
534 |
+
(function (a) {
|
535 |
+
a.fn.each2 === void 0 && a.fn.extend({ each2: function each2(b) {
|
536 |
+
for (var c = a([0]), d = -1, e = this.length; e > ++d && (c.context = c[0] = this[d]) && b.call(c[0], d, c) !== !1;) {}return this;
|
537 |
+
} });
|
538 |
+
})(jQuery), function (a, b) {
|
539 |
+
"use strict";
|
540 |
+
function k(a, b) {
|
541 |
+
for (var c = 0, d = b.length; d > c; c += 1) {
|
542 |
+
if (l(a, b[c])) return c;
|
543 |
+
}return -1;
|
544 |
+
}function l(a, c) {
|
545 |
+
return a === c ? !0 : a === b || c === b ? !1 : null === a || null === c ? !1 : a.constructor === String ? a + "" == c + "" : c.constructor === String ? c + "" == a + "" : !1;
|
546 |
+
}function m(b, c) {
|
547 |
+
var d, e, f;if (null === b || 1 > b.length) return [];for (d = b.split(c), e = 0, f = d.length; f > e; e += 1) {
|
548 |
+
d[e] = a.trim(d[e]);
|
549 |
+
}return d;
|
550 |
+
}function n(a) {
|
551 |
+
return a.outerWidth(!1) - a.width();
|
552 |
+
}function o(c) {
|
553 |
+
var d = "keyup-change-value";c.bind("keydown", function () {
|
554 |
+
a.data(c, d) === b && a.data(c, d, c.val());
|
555 |
+
}), c.bind("keyup", function () {
|
556 |
+
var e = a.data(c, d);e !== b && c.val() !== e && (a.removeData(c, d), c.trigger("keyup-change"));
|
557 |
+
});
|
558 |
+
}function p(c) {
|
559 |
+
c.bind("mousemove", function (c) {
|
560 |
+
var d = i;(d === b || d.x !== c.pageX || d.y !== c.pageY) && a(c.target).trigger("mousemove-filtered", c);
|
561 |
+
});
|
562 |
+
}function q(a, c, d) {
|
563 |
+
d = d || b;var e;return function () {
|
564 |
+
var b = arguments;window.clearTimeout(e), e = window.setTimeout(function () {
|
565 |
+
c.apply(d, b);
|
566 |
+
}, a);
|
567 |
+
};
|
568 |
+
}function r(a) {
|
569 |
+
var c,
|
570 |
+
b = !1;return function () {
|
571 |
+
return b === !1 && (c = a(), b = !0), c;
|
572 |
+
};
|
573 |
+
}function s(a, b) {
|
574 |
+
var c = q(a, function (a) {
|
575 |
+
b.trigger("scroll-debounced", a);
|
576 |
+
});b.bind("scroll", function (a) {
|
577 |
+
k(a.target, b.get()) >= 0 && c(a);
|
578 |
+
});
|
579 |
+
}function t(a) {
|
580 |
+
a[0] !== document.activeElement && window.setTimeout(function () {
|
581 |
+
var d,
|
582 |
+
b = a[0],
|
583 |
+
c = a.val().length;a.focus(), a.is(":visible") && b === document.activeElement && (b.setSelectionRange ? b.setSelectionRange(c, c) : b.createTextRange && (d = b.createTextRange(), d.collapse(!1), d.select()));
|
584 |
+
}, 0);
|
585 |
+
}function u(a) {
|
586 |
+
a.preventDefault(), a.stopPropagation();
|
587 |
+
}function v(a) {
|
588 |
+
a.preventDefault(), a.stopImmediatePropagation();
|
589 |
+
}function w(b) {
|
590 |
+
if (!h) {
|
591 |
+
var c = b[0].currentStyle || window.getComputedStyle(b[0], null);h = a(document.createElement("div")).css({ position: "absolute", left: "-10000px", top: "-10000px", display: "none", fontSize: c.fontSize, fontFamily: c.fontFamily, fontStyle: c.fontStyle, fontWeight: c.fontWeight, letterSpacing: c.letterSpacing, textTransform: c.textTransform, whiteSpace: "nowrap" }), h.attr("class", "select2-sizer"), a("body").append(h);
|
592 |
+
}return h.text(b.val()), h.width();
|
593 |
+
}function x(b, c, d) {
|
594 |
+
var e,
|
595 |
+
g,
|
596 |
+
f = [];e = b.attr("class"), e && (e = "" + e, a(e.split(" ")).each2(function () {
|
597 |
+
0 === this.indexOf("select2-") && f.push(this);
|
598 |
+
})), e = c.attr("class"), e && (e = "" + e, a(e.split(" ")).each2(function () {
|
599 |
+
0 !== this.indexOf("select2-") && (g = d(this), g && f.push(this));
|
600 |
+
})), b.attr("class", f.join(" "));
|
601 |
+
}function y(a, c, d, e) {
|
602 |
+
var f = a.toUpperCase().indexOf(c.toUpperCase()),
|
603 |
+
g = c.length;return 0 > f ? (d.push(e(a)), b) : (d.push(e(a.substring(0, f))), d.push("<span class='select2-match'>"), d.push(e(a.substring(f, f + g))), d.push("</span>"), d.push(e(a.substring(f + g, a.length))), b);
|
604 |
+
}function z(b) {
|
605 |
+
var c,
|
606 |
+
d = 0,
|
607 |
+
e = null,
|
608 |
+
f = b.quietMillis || 100,
|
609 |
+
g = b.url,
|
610 |
+
h = this;return function (i) {
|
611 |
+
window.clearTimeout(c), c = window.setTimeout(function () {
|
612 |
+
d += 1;var c = d,
|
613 |
+
f = b.data,
|
614 |
+
j = g,
|
615 |
+
k = b.transport || a.ajax,
|
616 |
+
l = b.type || "GET",
|
617 |
+
m = {};f = f ? f.call(h, i.term, i.page, i.context) : null, j = "function" == typeof j ? j.call(h, i.term, i.page, i.context) : j, null !== e && e.abort(), b.params && (a.isFunction(b.params) ? a.extend(m, b.params.call(h)) : a.extend(m, b.params)), a.extend(m, { url: j, dataType: b.dataType, data: f, type: l, cache: !1, success: function success(a) {
|
618 |
+
if (!(d > c)) {
|
619 |
+
var e = b.results(a, i.page);i.callback(e);
|
620 |
+
}
|
621 |
+
} }), e = k.call(h, m);
|
622 |
+
}, f);
|
623 |
+
};
|
624 |
+
}function A(c) {
|
625 |
+
var e,
|
626 |
+
f,
|
627 |
+
d = c,
|
628 |
+
g = function g(a) {
|
629 |
+
return "" + a.text;
|
630 |
+
};a.isArray(d) && (f = d, d = { results: f }), a.isFunction(d) === !1 && (f = d, d = function d() {
|
631 |
+
return f;
|
632 |
+
});var h = d();return h.text && (g = h.text, a.isFunction(g) || (e = d.text, g = function g(a) {
|
633 |
+
return a[e];
|
634 |
+
})), function (c) {
|
635 |
+
var _h,
|
636 |
+
e = c.term,
|
637 |
+
f = { results: [] };return "" === e ? (c.callback(d()), b) : (_h = function h(b, d) {
|
638 |
+
var f, i;if (b = b[0], b.children) {
|
639 |
+
f = {};for (i in b) {
|
640 |
+
b.hasOwnProperty(i) && (f[i] = b[i]);
|
641 |
+
}f.children = [], a(b.children).each2(function (a, b) {
|
642 |
+
_h(b, f.children);
|
643 |
+
}), (f.children.length || c.matcher(e, g(f), b)) && d.push(f);
|
644 |
+
} else c.matcher(e, g(b), b) && d.push(b);
|
645 |
+
}, a(d().results).each2(function (a, b) {
|
646 |
+
_h(b, f.results);
|
647 |
+
}), c.callback(f), b);
|
648 |
+
};
|
649 |
+
}function B(c) {
|
650 |
+
var d = a.isFunction(c);return function (e) {
|
651 |
+
var f = e.term,
|
652 |
+
g = { results: [] };a(d ? c() : c).each(function () {
|
653 |
+
var a = this.text !== b,
|
654 |
+
c = a ? this.text : this;("" === f || e.matcher(f, c)) && g.results.push(a ? this : { id: this, text: this });
|
655 |
+
}), e.callback(g);
|
656 |
+
};
|
657 |
+
}function C(b) {
|
658 |
+
if (a.isFunction(b)) return !0;if (!b) return !1;throw Error("formatterName must be a function or a falsy value");
|
659 |
+
}function D(b) {
|
660 |
+
return a.isFunction(b) ? b() : b;
|
661 |
+
}function E(b) {
|
662 |
+
var c = 0;return a.each(b, function (a, b) {
|
663 |
+
b.children ? c += E(b.children) : c++;
|
664 |
+
}), c;
|
665 |
+
}function F(a, c, d, e) {
|
666 |
+
var h,
|
667 |
+
i,
|
668 |
+
j,
|
669 |
+
k,
|
670 |
+
m,
|
671 |
+
f = a,
|
672 |
+
g = !1;if (!e.createSearchChoice || !e.tokenSeparators || 1 > e.tokenSeparators.length) return b;for (;;) {
|
673 |
+
for (i = -1, j = 0, k = e.tokenSeparators.length; k > j && (m = e.tokenSeparators[j], i = a.indexOf(m), !(i >= 0)); j++) {}if (0 > i) break;if (h = a.substring(0, i), a = a.substring(i + m.length), h.length > 0 && (h = e.createSearchChoice(h, c), h !== b && null !== h && e.id(h) !== b && null !== e.id(h))) {
|
674 |
+
for (g = !1, j = 0, k = c.length; k > j; j++) {
|
675 |
+
if (l(e.id(h), e.id(c[j]))) {
|
676 |
+
g = !0;break;
|
677 |
+
}
|
678 |
+
}g || d(h);
|
679 |
+
}
|
680 |
+
}return f !== a ? a : b;
|
681 |
+
}function G(b, c) {
|
682 |
+
var d = function d() {};return d.prototype = new b(), d.prototype.constructor = d, d.prototype.parent = b.prototype, d.prototype = a.extend(d.prototype, c), d;
|
683 |
+
}if (window.Select2 === b) {
|
684 |
+
var c, d, e, f, g, h, i, j;c = { TAB: 9, ENTER: 13, ESC: 27, SPACE: 32, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40, SHIFT: 16, CTRL: 17, ALT: 18, PAGE_UP: 33, PAGE_DOWN: 34, HOME: 36, END: 35, BACKSPACE: 8, DELETE: 46, isArrow: function isArrow(a) {
|
685 |
+
switch (a = a.which ? a.which : a) {case c.LEFT:case c.RIGHT:case c.UP:case c.DOWN:
|
686 |
+
return !0;}return !1;
|
687 |
+
}, isControl: function isControl(a) {
|
688 |
+
var b = a.which;switch (b) {case c.SHIFT:case c.CTRL:case c.ALT:
|
689 |
+
return !0;}return a.metaKey ? !0 : !1;
|
690 |
+
}, isFunctionKey: function isFunctionKey(a) {
|
691 |
+
return a = a.which ? a.which : a, a >= 112 && 123 >= a;
|
692 |
+
} }, j = a(document), g = function () {
|
693 |
+
var a = 1;return function () {
|
694 |
+
return a++;
|
695 |
+
};
|
696 |
+
}(), j.bind("mousemove", function (a) {
|
697 |
+
i = { x: a.pageX, y: a.pageY };
|
698 |
+
}), d = G(Object, { bind: function bind(a) {
|
699 |
+
var b = this;return function () {
|
700 |
+
a.apply(b, arguments);
|
701 |
+
};
|
702 |
+
}, init: function init(c) {
|
703 |
+
var d,
|
704 |
+
e,
|
705 |
+
f = ".select2-results";this.opts = c = this.prepareOpts(c), this.id = c.id, c.element.data("select2") !== b && null !== c.element.data("select2") && this.destroy(), this.enabled = !0, this.container = this.createContainer(), this.containerId = "s2id_" + (c.element.attr("id") || "autogen" + g()), this.containerSelector = "#" + this.containerId.replace(/([;&,\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g, "\\$1"), this.container.attr("id", this.containerId), this.body = r(function () {
|
706 |
+
return c.element.closest("body");
|
707 |
+
}), x(this.container, this.opts.element, this.opts.adaptContainerCssClass), this.container.css(D(c.containerCss)), this.container.addClass(D(c.containerCssClass)), this.elementTabIndex = this.opts.element.attr("tabIndex"), this.opts.element.data("select2", this).addClass("select2-offscreen").bind("focus.select2", function () {
|
708 |
+
a(this).select2("focus");
|
709 |
+
}).attr("tabIndex", "-1").before(this.container), this.container.data("select2", this), this.dropdown = this.container.find(".select2-drop"), this.dropdown.addClass(D(c.dropdownCssClass)), this.dropdown.data("select2", this), this.results = d = this.container.find(f), this.search = e = this.container.find("input.select2-input"), e.attr("tabIndex", this.elementTabIndex), this.resultsPage = 0, this.context = null, this.initContainer(), p(this.results), this.dropdown.delegate(f, "mousemove-filtered touchstart touchmove touchend", this.bind(this.highlightUnderEvent)), s(80, this.results), this.dropdown.delegate(f, "scroll-debounced", this.bind(this.loadMoreIfNeeded)), a.fn.mousewheel && d.mousewheel(function (a, b, c, e) {
|
710 |
+
var f = d.scrollTop();e > 0 && 0 >= f - e ? (d.scrollTop(0), u(a)) : 0 > e && d.get(0).scrollHeight - d.scrollTop() + e <= d.height() && (d.scrollTop(d.get(0).scrollHeight - d.height()), u(a));
|
711 |
+
}), o(e), e.bind("keyup-change input paste", this.bind(this.updateResults)), e.bind("focus", function () {
|
712 |
+
e.addClass("select2-focused");
|
713 |
+
}), e.bind("blur", function () {
|
714 |
+
e.removeClass("select2-focused");
|
715 |
+
}), this.dropdown.delegate(f, "mouseup", this.bind(function (b) {
|
716 |
+
a(b.target).closest(".select2-result-selectable").length > 0 && (this.highlightUnderEvent(b), this.selectHighlighted(b));
|
717 |
+
})), this.dropdown.bind("click mouseup mousedown", function (a) {
|
718 |
+
a.stopPropagation();
|
719 |
+
}), a.isFunction(this.opts.initSelection) && (this.initSelection(), this.monitorSource()), (c.element.is(":disabled") || c.element.is("[readonly='readonly']")) && this.disable();
|
720 |
+
}, destroy: function destroy() {
|
721 |
+
var a = this.opts.element.data("select2");this.propertyObserver && (delete this.propertyObserver, this.propertyObserver = null), a !== b && (a.container.remove(), a.dropdown.remove(), a.opts.element.removeClass("select2-offscreen").removeData("select2").unbind(".select2").attr({ tabIndex: this.elementTabIndex }).show());
|
722 |
+
}, prepareOpts: function prepareOpts(c) {
|
723 |
+
var d, e, f, g;if (d = c.element, "select" === d.get(0).tagName.toLowerCase() && (this.select = e = c.element), e && a.each(["id", "multiple", "ajax", "query", "createSearchChoice", "initSelection", "data", "tags"], function () {
|
724 |
+
if (this in c) throw Error("Option '" + this + "' is not allowed for Select2 when attached to a <select> element.");
|
725 |
+
}), c = a.extend({}, { populateResults: function populateResults(d, e, f) {
|
726 |
+
var _g,
|
727 |
+
k = this.opts.id,
|
728 |
+
l = this;_g = function g(d, e, h) {
|
729 |
+
var i, j, m, n, o, p, q, r, s, t;for (d = c.sortResults(d, e, f), i = 0, j = d.length; j > i; i += 1) {
|
730 |
+
m = d[i], o = m.disabled === !0, n = !o && k(m) !== b, p = m.children && m.children.length > 0, q = a("<li></li>"), q.addClass("select2-results-dept-" + h), q.addClass("select2-result"), q.addClass(n ? "select2-result-selectable" : "select2-result-unselectable"), o && q.addClass("select2-disabled"), p && q.addClass("select2-result-with-children"), q.addClass(l.opts.formatResultCssClass(m)), r = a(document.createElement("div")), r.addClass("select2-result-label"), t = c.formatResult(m, r, f, l.opts.escapeMarkup), t !== b && r.html(t), q.append(r), p && (s = a("<ul></ul>"), s.addClass("select2-result-sub"), _g(m.children, s, h + 1), q.append(s)), q.data("select2-data", m), e.append(q);
|
731 |
+
}
|
732 |
+
}, _g(e, d, 0);
|
733 |
+
} }, a.fn.select2.defaults, c), "function" != typeof c.id && (f = c.id, c.id = function (a) {
|
734 |
+
return a[f];
|
735 |
+
}), a.isArray(c.element.data("select2Tags"))) {
|
736 |
+
if ("tags" in c) throw "tags specified as both an attribute 'data-select2-tags' and in options of Select2 " + c.element.attr("id");c.tags = c.element.data("select2Tags");
|
737 |
+
}if (e ? (c.query = this.bind(function (c) {
|
738 |
+
var g,
|
739 |
+
h,
|
740 |
+
_i,
|
741 |
+
e = { results: [], more: !1 },
|
742 |
+
f = c.term;_i = function i(a, b) {
|
743 |
+
var d;a.is("option") ? c.matcher(f, a.text(), a) && b.push({ id: a.attr("value"), text: a.text(), element: a.get(), css: a.attr("class"), disabled: l(a.attr("disabled"), "disabled") }) : a.is("optgroup") && (d = { text: a.attr("label"), children: [], element: a.get(), css: a.attr("class") }, a.children().each2(function (a, b) {
|
744 |
+
_i(b, d.children);
|
745 |
+
}), d.children.length > 0 && b.push(d));
|
746 |
+
}, g = d.children(), this.getPlaceholder() !== b && g.length > 0 && (h = g[0], "" === a(h).text() && (g = g.not(h))), g.each2(function (a, b) {
|
747 |
+
_i(b, e.results);
|
748 |
+
}), c.callback(e);
|
749 |
+
}), c.id = function (a) {
|
750 |
+
return a.id;
|
751 |
+
}, c.formatResultCssClass = function (a) {
|
752 |
+
return a.css;
|
753 |
+
}) : "query" in c || ("ajax" in c ? (g = c.element.data("ajax-url"), g && g.length > 0 && (c.ajax.url = g), c.query = z.call(c.element, c.ajax)) : "data" in c ? c.query = A(c.data) : "tags" in c && (c.query = B(c.tags), c.createSearchChoice === b && (c.createSearchChoice = function (a) {
|
754 |
+
return { id: a, text: a };
|
755 |
+
}), c.initSelection === b && (c.initSelection = function (d, e) {
|
756 |
+
var f = [];a(m(d.val(), c.separator)).each(function () {
|
757 |
+
var d = this,
|
758 |
+
e = this,
|
759 |
+
g = c.tags;a.isFunction(g) && (g = g()), a(g).each(function () {
|
760 |
+
return l(this.id, d) ? (e = this.text, !1) : b;
|
761 |
+
}), f.push({ id: d, text: e });
|
762 |
+
}), e(f);
|
763 |
+
}))), "function" != typeof c.query) throw "query function not defined for Select2 " + c.element.attr("id");return c;
|
764 |
+
}, monitorSource: function monitorSource() {
|
765 |
+
var b,
|
766 |
+
a = this.opts.element;a.bind("change.select2", this.bind(function () {
|
767 |
+
this.opts.element.data("select2-change-triggered") !== !0 && this.initSelection();
|
768 |
+
})), b = this.bind(function () {
|
769 |
+
var a, b;a = "disabled" !== this.opts.element.attr("disabled"), b = "readonly" === this.opts.element.attr("readonly"), a = a && !b, this.enabled !== a && (a ? this.enable() : this.disable()), x(this.container, this.opts.element, this.opts.adaptContainerCssClass), this.container.addClass(D(this.opts.containerCssClass)), x(this.dropdown, this.opts.element, this.opts.adaptDropdownCssClass), this.dropdown.addClass(D(this.opts.dropdownCssClass));
|
770 |
+
}), a.bind("propertychange.select2 DOMAttrModified.select2", b), "undefined" != typeof WebKitMutationObserver && (this.propertyObserver && (delete this.propertyObserver, this.propertyObserver = null), this.propertyObserver = new WebKitMutationObserver(function (a) {
|
771 |
+
a.forEach(b);
|
772 |
+
}), this.propertyObserver.observe(a.get(0), { attributes: !0, subtree: !1 }));
|
773 |
+
}, triggerChange: function triggerChange(b) {
|
774 |
+
b = b || {}, b = a.extend({}, b, { type: "change", val: this.val() }), this.opts.element.data("select2-change-triggered", !0), this.opts.element.trigger(b), this.opts.element.data("select2-change-triggered", !1), this.opts.element.click(), this.opts.blurOnChange && this.opts.element.blur();
|
775 |
+
}, enable: function enable() {
|
776 |
+
this.enabled || (this.enabled = !0, this.container.removeClass("select2-container-disabled"), this.opts.element.removeAttr("disabled"));
|
777 |
+
}, disable: function disable() {
|
778 |
+
this.enabled && (this.close(), this.enabled = !1, this.container.addClass("select2-container-disabled"), this.opts.element.attr("disabled", "disabled"));
|
779 |
+
}, opened: function opened() {
|
780 |
+
return this.container.hasClass("select2-dropdown-open");
|
781 |
+
}, positionDropdown: function positionDropdown() {
|
782 |
+
var o,
|
783 |
+
p,
|
784 |
+
q,
|
785 |
+
b = this.container.offset(),
|
786 |
+
c = this.container.outerHeight(!1),
|
787 |
+
d = this.container.outerWidth(!1),
|
788 |
+
e = this.dropdown.outerHeight(!1),
|
789 |
+
f = a(window).scrollLeft() + a(window).width(),
|
790 |
+
g = a(window).scrollTop() + a(window).height(),
|
791 |
+
h = b.top + c,
|
792 |
+
i = b.left,
|
793 |
+
j = g >= h + e,
|
794 |
+
k = b.top - e >= this.body().scrollTop(),
|
795 |
+
l = this.dropdown.outerWidth(!1),
|
796 |
+
m = f >= i + l,
|
797 |
+
n = this.dropdown.hasClass("select2-drop-above");"static" !== this.body().css("position") && (o = this.body().offset(), h -= o.top, i -= o.left), n ? (p = !0, !k && j && (p = !1)) : (p = !1, !j && k && (p = !0)), m || (i = b.left + d - l), p ? (h = b.top - e, this.container.addClass("select2-drop-above"), this.dropdown.addClass("select2-drop-above")) : (this.container.removeClass("select2-drop-above"), this.dropdown.removeClass("select2-drop-above")), q = a.extend({ top: h, left: i, width: d }, D(this.opts.dropdownCss)), this.dropdown.css(q);
|
798 |
+
}, shouldOpen: function shouldOpen() {
|
799 |
+
var b;return this.opened() ? !1 : (b = a.Event("opening"), this.opts.element.trigger(b), !b.isDefaultPrevented());
|
800 |
+
}, clearDropdownAlignmentPreference: function clearDropdownAlignmentPreference() {
|
801 |
+
this.container.removeClass("select2-drop-above"), this.dropdown.removeClass("select2-drop-above");
|
802 |
+
}, open: function open() {
|
803 |
+
return this.shouldOpen() ? (window.setTimeout(this.bind(this.opening), 1), !0) : !1;
|
804 |
+
}, opening: function opening() {
|
805 |
+
function h() {
|
806 |
+
return { width: Math.max(document.documentElement.scrollWidth, a(window).width()), height: Math.max(document.documentElement.scrollHeight, a(window).height()) };
|
807 |
+
}var f,
|
808 |
+
b = this.containerId,
|
809 |
+
c = "scroll." + b,
|
810 |
+
d = "resize." + b,
|
811 |
+
e = "orientationchange." + b;this.clearDropdownAlignmentPreference(), this.container.addClass("select2-dropdown-open").addClass("select2-container-active"), this.dropdown[0] !== this.body().children().last()[0] && this.dropdown.detach().appendTo(this.body()), this.updateResults(!0), f = a("#select2-drop-mask"), 0 == f.length && (f = a(document.createElement("div")), f.attr("id", "select2-drop-mask").attr("class", "select2-drop-mask"), f.hide(), f.appendTo(this.body()), f.bind("mousedown touchstart", function () {
|
812 |
+
var d,
|
813 |
+
c = a("#select2-drop");c.length > 0 && (d = c.data("select2"), d.opts.selectOnBlur && d.selectHighlighted({ noFocus: !0 }), d.close());
|
814 |
+
})), this.dropdown.prev()[0] !== f[0] && this.dropdown.before(f), a("#select2-drop").removeAttr("id"), this.dropdown.attr("id", "select2-drop"), f.css(h()), f.show(), this.dropdown.show(), this.positionDropdown(), this.dropdown.addClass("select2-drop-active"), this.ensureHighlightVisible();var g = this;this.container.parents().add(window).each(function () {
|
815 |
+
a(this).bind(d + " " + c + " " + e, function () {
|
816 |
+
a("#select2-drop-mask").css(h()), g.positionDropdown();
|
817 |
+
});
|
818 |
+
}), this.focusSearch();
|
819 |
+
}, close: function close() {
|
820 |
+
if (this.opened()) {
|
821 |
+
var b = this.containerId,
|
822 |
+
c = "scroll." + b,
|
823 |
+
d = "resize." + b,
|
824 |
+
e = "orientationchange." + b;this.container.parents().add(window).each(function () {
|
825 |
+
a(this).unbind(c).unbind(d).unbind(e);
|
826 |
+
}), this.clearDropdownAlignmentPreference(), a("#select2-drop-mask").hide(), this.dropdown.removeAttr("id"), this.dropdown.hide(), this.container.removeClass("select2-dropdown-open"), this.results.empty(), this.clearSearch(), this.search.removeClass("select2-active"), this.opts.element.trigger(a.Event("close"));
|
827 |
+
}
|
828 |
+
}, clearSearch: function clearSearch() {}, getMaximumSelectionSize: function getMaximumSelectionSize() {
|
829 |
+
return D(this.opts.maximumSelectionSize);
|
830 |
+
}, ensureHighlightVisible: function ensureHighlightVisible() {
|
831 |
+
var d,
|
832 |
+
e,
|
833 |
+
f,
|
834 |
+
g,
|
835 |
+
h,
|
836 |
+
i,
|
837 |
+
j,
|
838 |
+
c = this.results;if (e = this.highlight(), !(0 > e)) {
|
839 |
+
if (0 == e) return c.scrollTop(0), b;d = this.findHighlightableChoices(), f = a(d[e]), g = f.offset().top + f.outerHeight(!0), e === d.length - 1 && (j = c.find("li.select2-more-results"), j.length > 0 && (g = j.offset().top + j.outerHeight(!0))), h = c.offset().top + c.outerHeight(!0), g > h && c.scrollTop(c.scrollTop() + (g - h)), i = f.offset().top - c.offset().top, 0 > i && "none" != f.css("display") && c.scrollTop(c.scrollTop() + i);
|
840 |
+
}
|
841 |
+
}, findHighlightableChoices: function findHighlightableChoices() {
|
842 |
+
return this.results.find(".select2-result-selectable:not(.select2-selected):not(.select2-disabled)"), this.results.find(".select2-result-selectable:not(.select2-selected):not(.select2-disabled)");
|
843 |
+
}, moveHighlight: function moveHighlight(b) {
|
844 |
+
for (var c = this.findHighlightableChoices(), d = this.highlight(); d > -1 && c.length > d;) {
|
845 |
+
d += b;var e = a(c[d]);if (e.hasClass("select2-result-selectable") && !e.hasClass("select2-disabled") && !e.hasClass("select2-selected")) {
|
846 |
+
this.highlight(d);break;
|
847 |
+
}
|
848 |
+
}
|
849 |
+
}, highlight: function highlight(c) {
|
850 |
+
var e,
|
851 |
+
f,
|
852 |
+
d = this.findHighlightableChoices();return 0 === arguments.length ? k(d.filter(".select2-highlighted")[0], d.get()) : (c >= d.length && (c = d.length - 1), 0 > c && (c = 0), this.results.find(".select2-highlighted").removeClass("select2-highlighted"), e = a(d[c]), e.addClass("select2-highlighted"), this.ensureHighlightVisible(), f = e.data("select2-data"), f && this.opts.element.trigger({ type: "highlight", val: this.id(f), choice: f }), b);
|
853 |
+
}, countSelectableResults: function countSelectableResults() {
|
854 |
+
return this.findHighlightableChoices().length;
|
855 |
+
}, highlightUnderEvent: function highlightUnderEvent(b) {
|
856 |
+
var c = a(b.target).closest(".select2-result-selectable");if (c.length > 0 && !c.is(".select2-highlighted")) {
|
857 |
+
var d = this.findHighlightableChoices();this.highlight(d.index(c));
|
858 |
+
} else 0 == c.length && this.results.find(".select2-highlighted").removeClass("select2-highlighted");
|
859 |
+
}, loadMoreIfNeeded: function loadMoreIfNeeded() {
|
860 |
+
var c,
|
861 |
+
a = this.results,
|
862 |
+
b = a.find("li.select2-more-results"),
|
863 |
+
e = this.resultsPage + 1,
|
864 |
+
f = this,
|
865 |
+
g = this.search.val(),
|
866 |
+
h = this.context;0 !== b.length && (c = b.offset().top - a.offset().top - a.height(), this.opts.loadMorePadding >= c && (b.addClass("select2-active"), this.opts.query({ element: this.opts.element, term: g, page: e, context: h, matcher: this.opts.matcher, callback: this.bind(function (c) {
|
867 |
+
f.opened() && (f.opts.populateResults.call(this, a, c.results, { term: g, page: e, context: h }), f.postprocessResults(c, !1, !1), c.more === !0 ? (b.detach().appendTo(a).text(f.opts.formatLoadMore(e + 1)), window.setTimeout(function () {
|
868 |
+
f.loadMoreIfNeeded();
|
869 |
+
}, 10)) : b.remove(), f.positionDropdown(), f.resultsPage = e, f.context = c.context);
|
870 |
+
}) })));
|
871 |
+
}, tokenize: function tokenize() {}, updateResults: function updateResults(c) {
|
872 |
+
function m() {
|
873 |
+
e.scrollTop(0), d.removeClass("select2-active"), h.positionDropdown();
|
874 |
+
}function n(a) {
|
875 |
+
e.html(a), m();
|
876 |
+
}var g,
|
877 |
+
i,
|
878 |
+
d = this.search,
|
879 |
+
e = this.results,
|
880 |
+
f = this.opts,
|
881 |
+
h = this,
|
882 |
+
j = d.val(),
|
883 |
+
k = a.data(this.container, "select2-last-term");if ((c === !0 || !k || !l(j, k)) && (a.data(this.container, "select2-last-term", j), c === !0 || this.showSearchInput !== !1 && this.opened())) {
|
884 |
+
var o = this.getMaximumSelectionSize();if (o >= 1 && (g = this.data(), a.isArray(g) && g.length >= o && C(f.formatSelectionTooBig, "formatSelectionTooBig"))) return n("<li class='select2-selection-limit'>" + f.formatSelectionTooBig(o) + "</li>"), b;if (d.val().length < f.minimumInputLength) return C(f.formatInputTooShort, "formatInputTooShort") ? n("<li class='select2-no-results'>" + f.formatInputTooShort(d.val(), f.minimumInputLength) + "</li>") : n(""), b;if (f.maximumInputLength && d.val().length > f.maximumInputLength) return C(f.formatInputTooLong, "formatInputTooLong") ? n("<li class='select2-no-results'>" + f.formatInputTooLong(d.val(), f.maximumInputLength) + "</li>") : n(""), b;f.formatSearching && 0 === this.findHighlightableChoices().length && n("<li class='select2-searching'>" + f.formatSearching() + "</li>"), d.addClass("select2-active"), i = this.tokenize(), i != b && null != i && d.val(i), this.resultsPage = 1, f.query({ element: f.element, term: d.val(), page: this.resultsPage, context: null, matcher: f.matcher, callback: this.bind(function (g) {
|
885 |
+
var i;return this.opened() ? (this.context = g.context === b ? null : g.context, this.opts.createSearchChoice && "" !== d.val() && (i = this.opts.createSearchChoice.call(null, d.val(), g.results), i !== b && null !== i && h.id(i) !== b && null !== h.id(i) && 0 === a(g.results).filter(function () {
|
886 |
+
return l(h.id(this), h.id(i));
|
887 |
+
}).length && g.results.unshift(i)), 0 === g.results.length && C(f.formatNoMatches, "formatNoMatches") ? (n("<li class='select2-no-results'>" + f.formatNoMatches(d.val()) + "</li>"), b) : (e.empty(), h.opts.populateResults.call(this, e, g.results, { term: d.val(), page: this.resultsPage, context: null }), g.more === !0 && C(f.formatLoadMore, "formatLoadMore") && (e.append("<li class='select2-more-results'>" + h.opts.escapeMarkup(f.formatLoadMore(this.resultsPage)) + "</li>"), window.setTimeout(function () {
|
888 |
+
h.loadMoreIfNeeded();
|
889 |
+
}, 10)), this.postprocessResults(g, c), m(), this.opts.element.trigger({ type: "loaded", data: g }), b)) : (this.search.removeClass("select2-active"), b);
|
890 |
+
}) });
|
891 |
+
}
|
892 |
+
}, cancel: function cancel() {
|
893 |
+
this.close();
|
894 |
+
}, blur: function blur() {
|
895 |
+
this.opts.selectOnBlur && this.selectHighlighted({ noFocus: !0 }), this.close(), this.container.removeClass("select2-container-active"), this.search[0] === document.activeElement && this.search.blur(), this.clearSearch(), this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
|
896 |
+
}, focusSearch: function focusSearch() {
|
897 |
+
t(this.search);
|
898 |
+
}, selectHighlighted: function selectHighlighted(a) {
|
899 |
+
var b = this.highlight(),
|
900 |
+
c = this.results.find(".select2-highlighted"),
|
901 |
+
d = c.closest(".select2-result").data("select2-data");d && (this.highlight(b), this.onSelect(d, a));
|
902 |
+
}, getPlaceholder: function getPlaceholder() {
|
903 |
+
return this.opts.element.attr("placeholder") || this.opts.element.attr("data-placeholder") || this.opts.element.data("placeholder") || this.opts.placeholder;
|
904 |
+
}, initContainerWidth: function initContainerWidth() {
|
905 |
+
function c() {
|
906 |
+
var c, d, e, f, g;if ("off" === this.opts.width) return null;if ("element" === this.opts.width) return 0 === this.opts.element.outerWidth(!1) ? "auto" : this.opts.element.outerWidth(!1) + "px";if ("copy" === this.opts.width || "resolve" === this.opts.width) {
|
907 |
+
if (c = this.opts.element.attr("style"), c !== b) for (d = c.split(";"), f = 0, g = d.length; g > f; f += 1) {
|
908 |
+
if (e = d[f].replace(/\s/g, "").match(/width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/), null !== e && e.length >= 1) return e[1];
|
909 |
+
}return "resolve" === this.opts.width ? (c = this.opts.element.css("width"), c.indexOf("%") > 0 ? c : 0 === this.opts.element.outerWidth(!1) ? "auto" : this.opts.element.outerWidth(!1) + "px") : null;
|
910 |
+
}return a.isFunction(this.opts.width) ? this.opts.width() : this.opts.width;
|
911 |
+
}var d = c.call(this);null !== d && this.container.css("width", d);
|
912 |
+
} }), e = G(d, { createContainer: function createContainer() {
|
913 |
+
var b = a(document.createElement("div")).attr({ "class": "select2-container" }).html(["<a href='javascript:void(0)' onclick='return false;' class='select2-choice' tabindex='-1'>", " <span></span><abbr class='select2-search-choice-close' style='display:none;'></abbr>", " <div><b></b></div>", "</a>", "<input class='select2-focusser select2-offscreen' type='text'/>", "<div class='select2-drop' style='display:none'>", " <div class='select2-search'>", " <input type='text' autocomplete='off' class='select2-input'/>", " </div>", " <ul class='select2-results'>", " </ul>", "</div>"].join(""));return b;
|
914 |
+
}, disable: function disable() {
|
915 |
+
this.enabled && (this.parent.disable.apply(this, arguments), this.focusser.attr("disabled", "disabled"));
|
916 |
+
}, enable: function enable() {
|
917 |
+
this.enabled || (this.parent.enable.apply(this, arguments), this.focusser.removeAttr("disabled"));
|
918 |
+
}, opening: function opening() {
|
919 |
+
this.parent.opening.apply(this, arguments), this.focusser.attr("disabled", "disabled"), this.opts.element.trigger(a.Event("open"));
|
920 |
+
}, close: function close() {
|
921 |
+
this.opened() && (this.parent.close.apply(this, arguments), this.focusser.removeAttr("disabled"), t(this.focusser));
|
922 |
+
}, focus: function focus() {
|
923 |
+
this.opened() ? this.close() : (this.focusser.removeAttr("disabled"), this.focusser.focus());
|
924 |
+
}, isFocused: function isFocused() {
|
925 |
+
return this.container.hasClass("select2-container-active");
|
926 |
+
}, cancel: function cancel() {
|
927 |
+
this.parent.cancel.apply(this, arguments), this.focusser.removeAttr("disabled"), this.focusser.focus();
|
928 |
+
}, initContainer: function initContainer() {
|
929 |
+
var d,
|
930 |
+
e = this.container,
|
931 |
+
f = this.dropdown,
|
932 |
+
h = !1;this.showSearch(this.opts.minimumResultsForSearch >= 0), this.selection = d = e.find(".select2-choice"), this.focusser = e.find(".select2-focusser"), this.focusser.attr("id", "s2id_autogen" + g()), a("label[for='" + this.opts.element.attr("id") + "']").attr("for", this.focusser.attr("id")), this.search.bind("keydown", this.bind(function (a) {
|
933 |
+
if (this.enabled) {
|
934 |
+
if (a.which === c.PAGE_UP || a.which === c.PAGE_DOWN) return u(a), b;switch (a.which) {case c.UP:case c.DOWN:
|
935 |
+
return this.moveHighlight(a.which === c.UP ? -1 : 1), u(a), b;case c.TAB:case c.ENTER:
|
936 |
+
return this.selectHighlighted(), u(a), b;case c.ESC:
|
937 |
+
return this.cancel(a), u(a), b;}
|
938 |
+
}
|
939 |
+
})), this.search.bind("blur", this.bind(function () {
|
940 |
+
document.activeElement === this.body().get(0) && window.setTimeout(this.bind(function () {
|
941 |
+
this.search.focus();
|
942 |
+
}), 0);
|
943 |
+
})), this.focusser.bind("keydown", this.bind(function (a) {
|
944 |
+
return !this.enabled || a.which === c.TAB || c.isControl(a) || c.isFunctionKey(a) || a.which === c.ESC ? b : this.opts.openOnEnter === !1 && a.which === c.ENTER ? (u(a), b) : a.which == c.DOWN || a.which == c.UP || a.which == c.ENTER && this.opts.openOnEnter ? (this.open(), u(a), b) : a.which == c.DELETE || a.which == c.BACKSPACE ? (this.opts.allowClear && this.clear(), u(a), b) : b;
|
945 |
+
})), o(this.focusser), this.focusser.bind("keyup-change input", this.bind(function (a) {
|
946 |
+
this.opened() || (this.open(), this.showSearchInput !== !1 && this.search.val(this.focusser.val()), this.focusser.val(""), u(a));
|
947 |
+
})), d.delegate("abbr", "mousedown", this.bind(function (a) {
|
948 |
+
this.enabled && (this.clear(), v(a), this.close(), this.selection.focus());
|
949 |
+
})), d.bind("mousedown", this.bind(function (a) {
|
950 |
+
h = !0, this.opened() ? this.close() : this.enabled && this.open(), u(a), h = !1;
|
951 |
+
})), f.bind("mousedown", this.bind(function () {
|
952 |
+
this.search.focus();
|
953 |
+
})), d.bind("focus", this.bind(function (a) {
|
954 |
+
u(a);
|
955 |
+
})), this.focusser.bind("focus", this.bind(function () {
|
956 |
+
this.container.addClass("select2-container-active");
|
957 |
+
})).bind("blur", this.bind(function () {
|
958 |
+
this.opened() || this.container.removeClass("select2-container-active");
|
959 |
+
})), this.search.bind("focus", this.bind(function () {
|
960 |
+
this.container.addClass("select2-container-active");
|
961 |
+
})), this.initContainerWidth(), this.setPlaceholder();
|
962 |
+
}, clear: function clear(a) {
|
963 |
+
var b = this.selection.data("select2-data");b && (this.opts.element.val(""), this.selection.find("span").empty(), this.selection.removeData("select2-data"), this.setPlaceholder(), a !== !1 && (this.opts.element.trigger({ type: "removed", val: this.id(b), choice: b }), this.triggerChange({ removed: b })));
|
964 |
+
}, initSelection: function initSelection() {
|
965 |
+
if ("" === this.opts.element.val() && "" === this.opts.element.text()) this.close(), this.setPlaceholder();else {
|
966 |
+
var c = this;this.opts.initSelection.call(null, this.opts.element, function (a) {
|
967 |
+
a !== b && null !== a && (c.updateSelection(a), c.close(), c.setPlaceholder());
|
968 |
+
});
|
969 |
+
}
|
970 |
+
}, prepareOpts: function prepareOpts() {
|
971 |
+
var b = this.parent.prepareOpts.apply(this, arguments);return "select" === b.element.get(0).tagName.toLowerCase() ? b.initSelection = function (b, c) {
|
972 |
+
var d = b.find(":selected");a.isFunction(c) && c({ id: d.attr("value"), text: d.text(), element: d });
|
973 |
+
} : "data" in b && (b.initSelection = b.initSelection || function (c, d) {
|
974 |
+
var e = c.val(),
|
975 |
+
f = null;b.query({ matcher: function matcher(a, c, d) {
|
976 |
+
var g = l(e, b.id(d));return g && (f = d), g;
|
977 |
+
}, callback: a.isFunction(d) ? function () {
|
978 |
+
d(f);
|
979 |
+
} : a.noop });
|
980 |
+
}), b;
|
981 |
+
}, getPlaceholder: function getPlaceholder() {
|
982 |
+
return this.select && "" !== this.select.find("option").first().text() ? b : this.parent.getPlaceholder.apply(this, arguments);
|
983 |
+
}, setPlaceholder: function setPlaceholder() {
|
984 |
+
var a = this.getPlaceholder();if ("" === this.opts.element.val() && a !== b) {
|
985 |
+
if (this.select && "" !== this.select.find("option:first").text()) return;this.selection.find("span").html(this.opts.escapeMarkup(a)), this.selection.addClass("select2-default"), this.selection.find("abbr").hide();
|
986 |
+
}
|
987 |
+
}, postprocessResults: function postprocessResults(a, c, d) {
|
988 |
+
var e = 0,
|
989 |
+
f = this,
|
990 |
+
g = !0;if (this.findHighlightableChoices().each2(function (a, c) {
|
991 |
+
return l(f.id(c.data("select2-data")), f.opts.element.val()) ? (e = a, !1) : b;
|
992 |
+
}), d !== !1 && this.highlight(e), c === !0) {
|
993 |
+
var h = this.opts.minimumResultsForSearch;g = 0 > h ? !1 : E(a.results) >= h, this.showSearch(g);
|
994 |
+
}
|
995 |
+
}, showSearch: function showSearch(b) {
|
996 |
+
this.showSearchInput = b, this.dropdown.find(".select2-search")[b ? "removeClass" : "addClass"]("select2-search-hidden"), a(this.dropdown, this.container)[b ? "addClass" : "removeClass"]("select2-with-searchbox");
|
997 |
+
}, onSelect: function onSelect(a, b) {
|
998 |
+
var c = this.opts.element.val();this.opts.element.val(this.id(a)), this.updateSelection(a), this.opts.element.trigger({ type: "selected", val: this.id(a), choice: a }), this.close(), b && b.noFocus || this.selection.focus(), l(c, this.id(a)) || this.triggerChange();
|
999 |
+
}, updateSelection: function updateSelection(a) {
|
1000 |
+
var d,
|
1001 |
+
c = this.selection.find("span");this.selection.data("select2-data", a), c.empty(), d = this.opts.formatSelection(a, c), d !== b && c.append(this.opts.escapeMarkup(d)), this.selection.removeClass("select2-default"), this.opts.allowClear && this.getPlaceholder() !== b && this.selection.find("abbr").show();
|
1002 |
+
}, val: function val() {
|
1003 |
+
var a,
|
1004 |
+
c = !1,
|
1005 |
+
d = null,
|
1006 |
+
e = this;if (0 === arguments.length) return this.opts.element.val();if (a = arguments[0], arguments.length > 1 && (c = arguments[1]), this.select) this.select.val(a).find(":selected").each2(function (a, b) {
|
1007 |
+
return d = { id: b.attr("value"), text: b.text(), element: b.get(0) }, !1;
|
1008 |
+
}), this.updateSelection(d), this.setPlaceholder(), c && this.triggerChange();else {
|
1009 |
+
if (this.opts.initSelection === b) throw Error("cannot call val() if initSelection() is not defined");if (!a && 0 !== a) return this.clear(c), c && this.triggerChange(), b;this.opts.element.val(a), this.opts.initSelection(this.opts.element, function (a) {
|
1010 |
+
e.opts.element.val(a ? e.id(a) : ""), e.updateSelection(a), e.setPlaceholder(), c && e.triggerChange();
|
1011 |
+
});
|
1012 |
+
}
|
1013 |
+
}, clearSearch: function clearSearch() {
|
1014 |
+
this.search.val(""), this.focusser.val("");
|
1015 |
+
}, data: function data(a) {
|
1016 |
+
var c;return 0 === arguments.length ? (c = this.selection.data("select2-data"), c == b && (c = null), c) : (a && "" !== a ? (this.opts.element.val(a ? this.id(a) : ""), this.updateSelection(a)) : this.clear(), b);
|
1017 |
+
} }), f = G(d, { createContainer: function createContainer() {
|
1018 |
+
var b = a(document.createElement("div")).attr({ "class": "select2-container select2-container-multi" }).html([" <ul class='select2-choices'>", " <li class='select2-search-field'>", " <input type='text' autocomplete='off' class='select2-input'>", " </li>", "</ul>", "<div class='select2-drop select2-drop-multi' style='display:none;'>", " <ul class='select2-results'>", " </ul>", "</div>"].join(""));return b;
|
1019 |
+
}, prepareOpts: function prepareOpts() {
|
1020 |
+
var b = this.parent.prepareOpts.apply(this, arguments);return "select" === b.element.get(0).tagName.toLowerCase() ? b.initSelection = function (a, b) {
|
1021 |
+
var c = [];a.find(":selected").each2(function (a, b) {
|
1022 |
+
c.push({ id: b.attr("value"), text: b.text(), element: b[0] });
|
1023 |
+
}), b(c);
|
1024 |
+
} : "data" in b && (b.initSelection = b.initSelection || function (c, d) {
|
1025 |
+
var e = m(c.val(), b.separator),
|
1026 |
+
f = [];b.query({ matcher: function matcher(c, d, g) {
|
1027 |
+
var h = a.grep(e, function (a) {
|
1028 |
+
return l(a, b.id(g));
|
1029 |
+
}).length;return h && f.push(g), h;
|
1030 |
+
}, callback: a.isFunction(d) ? function () {
|
1031 |
+
d(f);
|
1032 |
+
} : a.noop });
|
1033 |
+
}), b;
|
1034 |
+
}, initContainer: function initContainer() {
|
1035 |
+
var e,
|
1036 |
+
d = ".select2-choices";this.searchContainer = this.container.find(".select2-search-field"), this.selection = e = this.container.find(d), this.search.attr("id", "s2id_autogen" + g()), a("label[for='" + this.opts.element.attr("id") + "']").attr("for", this.search.attr("id")), this.search.bind("input paste", this.bind(function () {
|
1037 |
+
this.enabled && (this.opened() || this.open());
|
1038 |
+
})), this.search.bind("keydown", this.bind(function (a) {
|
1039 |
+
if (this.enabled) {
|
1040 |
+
if (a.which === c.BACKSPACE && "" === this.search.val()) {
|
1041 |
+
this.close();var d,
|
1042 |
+
f = e.find(".select2-search-choice-focus");if (f.length > 0) return this.unselect(f.first()), this.search.width(10), u(a), b;d = e.find(".select2-search-choice:not(.select2-locked)"), d.length > 0 && d.last().addClass("select2-search-choice-focus");
|
1043 |
+
} else e.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");if (this.opened()) switch (a.which) {case c.UP:case c.DOWN:
|
1044 |
+
return this.moveHighlight(a.which === c.UP ? -1 : 1), u(a), b;case c.ENTER:case c.TAB:
|
1045 |
+
return this.selectHighlighted(), u(a), b;case c.ESC:
|
1046 |
+
return this.cancel(a), u(a), b;}if (a.which !== c.TAB && !c.isControl(a) && !c.isFunctionKey(a) && a.which !== c.BACKSPACE && a.which !== c.ESC) {
|
1047 |
+
if (a.which === c.ENTER) {
|
1048 |
+
if (this.opts.openOnEnter === !1) return;if (a.altKey || a.ctrlKey || a.shiftKey || a.metaKey) return;
|
1049 |
+
}this.open(), (a.which === c.PAGE_UP || a.which === c.PAGE_DOWN) && u(a), a.which === c.ENTER && u(a);
|
1050 |
+
}
|
1051 |
+
}
|
1052 |
+
})), this.search.bind("keyup", this.bind(this.resizeSearch)), this.search.bind("blur", this.bind(function (a) {
|
1053 |
+
this.container.removeClass("select2-container-active"), this.search.removeClass("select2-focused"), this.opened() || this.clearSearch(), a.stopImmediatePropagation();
|
1054 |
+
})), this.container.delegate(d, "mousedown", this.bind(function (b) {
|
1055 |
+
this.enabled && (a(b.target).closest(".select2-search-choice").length > 0 || (this.clearPlaceholder(), this.open(), this.focusSearch(), b.preventDefault()));
|
1056 |
+
})), this.container.delegate(d, "focus", this.bind(function () {
|
1057 |
+
this.enabled && (this.container.addClass("select2-container-active"), this.dropdown.addClass("select2-drop-active"), this.clearPlaceholder());
|
1058 |
+
})), this.initContainerWidth(), this.clearSearch();
|
1059 |
+
}, enable: function enable() {
|
1060 |
+
this.enabled || (this.parent.enable.apply(this, arguments), this.search.removeAttr("disabled"));
|
1061 |
+
}, disable: function disable() {
|
1062 |
+
this.enabled && (this.parent.disable.apply(this, arguments), this.search.attr("disabled", !0));
|
1063 |
+
}, initSelection: function initSelection() {
|
1064 |
+
if ("" === this.opts.element.val() && "" === this.opts.element.text() && (this.updateSelection([]), this.close(), this.clearSearch()), this.select || "" !== this.opts.element.val()) {
|
1065 |
+
var c = this;this.opts.initSelection.call(null, this.opts.element, function (a) {
|
1066 |
+
a !== b && null !== a && (c.updateSelection(a), c.close(), c.clearSearch());
|
1067 |
+
});
|
1068 |
+
}
|
1069 |
+
}, clearSearch: function clearSearch() {
|
1070 |
+
var a = this.getPlaceholder();a !== b && 0 === this.getVal().length && this.search.hasClass("select2-focused") === !1 ? (this.search.val(a).addClass("select2-default"), this.search.width(this.getMaxSearchWidth())) : this.search.val("").width(10);
|
1071 |
+
}, clearPlaceholder: function clearPlaceholder() {
|
1072 |
+
this.search.hasClass("select2-default") && this.search.val("").removeClass("select2-default");
|
1073 |
+
}, opening: function opening() {
|
1074 |
+
this.clearPlaceholder(), this.resizeSearch(), this.parent.opening.apply(this, arguments), this.focusSearch(), this.opts.element.trigger(a.Event("open"));
|
1075 |
+
}, close: function close() {
|
1076 |
+
this.opened() && this.parent.close.apply(this, arguments);
|
1077 |
+
}, focus: function focus() {
|
1078 |
+
this.close(), this.search.focus();
|
1079 |
+
}, isFocused: function isFocused() {
|
1080 |
+
return this.search.hasClass("select2-focused");
|
1081 |
+
}, updateSelection: function updateSelection(b) {
|
1082 |
+
var c = [],
|
1083 |
+
d = [],
|
1084 |
+
e = this;a(b).each(function () {
|
1085 |
+
0 > k(e.id(this), c) && (c.push(e.id(this)), d.push(this));
|
1086 |
+
}), b = d, this.selection.find(".select2-search-choice").remove(), a(b).each(function () {
|
1087 |
+
e.addSelectedChoice(this);
|
1088 |
+
}), e.postprocessResults();
|
1089 |
+
}, tokenize: function tokenize() {
|
1090 |
+
var a = this.search.val();a = this.opts.tokenizer(a, this.data(), this.bind(this.onSelect), this.opts), null != a && a != b && (this.search.val(a), a.length > 0 && this.open());
|
1091 |
+
}, onSelect: function onSelect(a, b) {
|
1092 |
+
this.addSelectedChoice(a), this.opts.element.trigger({ type: "selected", val: this.id(a), choice: a }), (this.select || !this.opts.closeOnSelect) && this.postprocessResults(), this.opts.closeOnSelect ? (this.close(), this.search.width(10)) : this.countSelectableResults() > 0 ? (this.search.width(10), this.resizeSearch(), this.getMaximumSelectionSize() > 0 && this.val().length >= this.getMaximumSelectionSize() && this.updateResults(!0), this.positionDropdown()) : (this.close(), this.search.width(10)), this.triggerChange({ added: a }), b && b.noFocus || this.focusSearch();
|
1093 |
+
}, cancel: function cancel() {
|
1094 |
+
this.close(), this.focusSearch();
|
1095 |
+
}, addSelectedChoice: function addSelectedChoice(c) {
|
1096 |
+
var j,
|
1097 |
+
d = !c.locked,
|
1098 |
+
e = a("<li class='select2-search-choice'> <div></div> <a href='#' onclick='return false;' class='select2-search-choice-close' tabindex='-1'></a></li>"),
|
1099 |
+
f = a("<li class='select2-search-choice select2-locked'><div></div></li>"),
|
1100 |
+
g = d ? e : f,
|
1101 |
+
h = this.id(c),
|
1102 |
+
i = this.getVal();j = this.opts.formatSelection(c, g.find("div")), j != b && g.find("div").replaceWith("<div>" + this.opts.escapeMarkup(j) + "</div>"), d && g.find(".select2-search-choice-close").bind("mousedown", u).bind("click dblclick", this.bind(function (b) {
|
1103 |
+
this.enabled && (a(b.target).closest(".select2-search-choice").fadeOut("fast", this.bind(function () {
|
1104 |
+
this.unselect(a(b.target)), this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"), this.close(), this.focusSearch();
|
1105 |
+
})).dequeue(), u(b));
|
1106 |
+
})).bind("focus", this.bind(function () {
|
1107 |
+
this.enabled && (this.container.addClass("select2-container-active"), this.dropdown.addClass("select2-drop-active"));
|
1108 |
+
})), g.data("select2-data", c), g.insertBefore(this.searchContainer), i.push(h), this.setVal(i);
|
1109 |
+
}, unselect: function unselect(a) {
|
1110 |
+
var c,
|
1111 |
+
d,
|
1112 |
+
b = this.getVal();if (a = a.closest(".select2-search-choice"), 0 === a.length) throw "Invalid argument: " + a + ". Must be .select2-search-choice";c = a.data("select2-data"), c && (d = k(this.id(c), b), d >= 0 && (b.splice(d, 1), this.setVal(b), this.select && this.postprocessResults()), a.remove(), this.opts.element.trigger({ type: "removed", val: this.id(c), choice: c }), this.triggerChange({ removed: c }));
|
1113 |
+
}, postprocessResults: function postprocessResults() {
|
1114 |
+
var a = this.getVal(),
|
1115 |
+
b = this.results.find(".select2-result"),
|
1116 |
+
c = this.results.find(".select2-result-with-children"),
|
1117 |
+
d = this;b.each2(function (b, c) {
|
1118 |
+
var e = d.id(c.data("select2-data"));k(e, a) >= 0 && (c.addClass("select2-selected"), c.find(".select2-result-selectable").addClass("select2-selected"));
|
1119 |
+
}), c.each2(function (a, b) {
|
1120 |
+
b.is(".select2-result-selectable") || 0 !== b.find(".select2-result-selectable:not(.select2-selected)").length || b.addClass("select2-selected");
|
1121 |
+
}), -1 == this.highlight() && d.highlight(0);
|
1122 |
+
}, getMaxSearchWidth: function getMaxSearchWidth() {
|
1123 |
+
return this.selection.width() - n(this.search);
|
1124 |
+
}, resizeSearch: function resizeSearch() {
|
1125 |
+
var a,
|
1126 |
+
b,
|
1127 |
+
c,
|
1128 |
+
d,
|
1129 |
+
e,
|
1130 |
+
f = n(this.search);a = w(this.search) + 10, b = this.search.offset().left, c = this.selection.width(), d = this.selection.offset().left, e = c - (b - d) - f, a > e && (e = c - f), 40 > e && (e = c - f), 0 >= e && (e = a), this.search.width(e);
|
1131 |
+
}, getVal: function getVal() {
|
1132 |
+
var a;return this.select ? (a = this.select.val(), null === a ? [] : a) : (a = this.opts.element.val(), m(a, this.opts.separator));
|
1133 |
+
}, setVal: function setVal(b) {
|
1134 |
+
var c;this.select ? this.select.val(b) : (c = [], a(b).each(function () {
|
1135 |
+
0 > k(this, c) && c.push(this);
|
1136 |
+
}), this.opts.element.val(0 === c.length ? "" : c.join(this.opts.separator)));
|
1137 |
+
}, val: function val() {
|
1138 |
+
var c,
|
1139 |
+
d = !1,
|
1140 |
+
f = this;if (0 === arguments.length) return this.getVal();if (c = arguments[0], arguments.length > 1 && (d = arguments[1]), !c && 0 !== c) return this.opts.element.val(""), this.updateSelection([]), this.clearSearch(), d && this.triggerChange(), b;if (this.setVal(c), this.select) this.opts.initSelection(this.select, this.bind(this.updateSelection)), d && this.triggerChange();else {
|
1141 |
+
if (this.opts.initSelection === b) throw Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element, function (b) {
|
1142 |
+
var c = a(b).map(f.id);f.setVal(c), f.updateSelection(b), f.clearSearch(), d && f.triggerChange();
|
1143 |
+
});
|
1144 |
+
}this.clearSearch();
|
1145 |
+
}, onSortStart: function onSortStart() {
|
1146 |
+
if (this.select) throw Error("Sorting of elements is not supported when attached to <select>. Attach to <input type='hidden'/> instead.");this.search.width(0), this.searchContainer.hide();
|
1147 |
+
}, onSortEnd: function onSortEnd() {
|
1148 |
+
var b = [],
|
1149 |
+
c = this;this.searchContainer.show(), this.searchContainer.appendTo(this.searchContainer.parent()), this.resizeSearch(), this.selection.find(".select2-search-choice").each(function () {
|
1150 |
+
b.push(c.opts.id(a(this).data("select2-data")));
|
1151 |
+
}), this.setVal(b), this.triggerChange();
|
1152 |
+
}, data: function data(c) {
|
1153 |
+
var e,
|
1154 |
+
d = this;return 0 === arguments.length ? this.selection.find(".select2-search-choice").map(function () {
|
1155 |
+
return a(this).data("select2-data");
|
1156 |
+
}).get() : (c || (c = []), e = a.map(c, function (a) {
|
1157 |
+
return d.opts.id(a);
|
1158 |
+
}), this.setVal(e), this.updateSelection(c), this.clearSearch(), b);
|
1159 |
+
} }), a.fn.select2 = function () {
|
1160 |
+
var d,
|
1161 |
+
g,
|
1162 |
+
h,
|
1163 |
+
i,
|
1164 |
+
c = Array.prototype.slice.call(arguments, 0),
|
1165 |
+
j = ["val", "destroy", "opened", "open", "close", "focus", "isFocused", "container", "onSortStart", "onSortEnd", "enable", "disable", "positionDropdown", "data"];return this.each(function () {
|
1166 |
+
if (0 === c.length || "object" == _typeof(c[0])) d = 0 === c.length ? {} : a.extend({}, c[0]), d.element = a(this), "select" === d.element.get(0).tagName.toLowerCase() ? i = d.element.attr("multiple") : (i = d.multiple || !1, "tags" in d && (d.multiple = i = !0)), g = i ? new f() : new e(), g.init(d);else {
|
1167 |
+
if ("string" != typeof c[0]) throw "Invalid arguments to select2 plugin: " + c;if (0 > k(c[0], j)) throw "Unknown method: " + c[0];if (h = b, g = a(this).data("select2"), g === b) return;if (h = "container" === c[0] ? g.container : g[c[0]].apply(g, c.slice(1)), h !== b) return !1;
|
1168 |
+
}
|
1169 |
+
}), h === b ? this : h;
|
1170 |
+
}, a.fn.select2.defaults = { width: "copy", loadMorePadding: 0, closeOnSelect: !0, openOnEnter: !0, containerCss: {}, dropdownCss: {}, containerCssClass: "", dropdownCssClass: "", formatResult: function formatResult(a, b, c, d) {
|
1171 |
+
var e = [];return y(a.text, c.term, e, d), e.join("");
|
1172 |
+
}, formatSelection: function formatSelection(a) {
|
1173 |
+
return a ? a.text : b;
|
1174 |
+
}, sortResults: function sortResults(a) {
|
1175 |
+
return a;
|
1176 |
+
}, formatResultCssClass: function formatResultCssClass() {
|
1177 |
+
return b;
|
1178 |
+
}, formatNoMatches: function formatNoMatches() {
|
1179 |
+
return "No matches found";
|
1180 |
+
}, formatInputTooShort: function formatInputTooShort(a, b) {
|
1181 |
+
var c = b - a.length;return "Please enter " + c + " more character" + (1 == c ? "" : "s");
|
1182 |
+
}, formatInputTooLong: function formatInputTooLong(a, b) {
|
1183 |
+
var c = a.length - b;return "Please delete " + c + " character" + (1 == c ? "" : "s");
|
1184 |
+
}, formatSelectionTooBig: function formatSelectionTooBig(a) {
|
1185 |
+
return "You can only select " + a + " item" + (1 == a ? "" : "s");
|
1186 |
+
}, formatLoadMore: function formatLoadMore() {
|
1187 |
+
return "Loading more results...";
|
1188 |
+
}, formatSearching: function formatSearching() {
|
1189 |
+
return "Searching...";
|
1190 |
+
}, minimumResultsForSearch: 0, minimumInputLength: 0, maximumInputLength: null, maximumSelectionSize: 0, id: function id(a) {
|
1191 |
+
return a.id;
|
1192 |
+
}, matcher: function matcher(a, b) {
|
1193 |
+
return ("" + b).toUpperCase().indexOf(("" + a).toUpperCase()) >= 0;
|
1194 |
+
}, separator: ",", tokenSeparators: [], tokenizer: F, escapeMarkup: function escapeMarkup(a) {
|
1195 |
+
var b = { "\\": "\", "&": "&", "<": "<", ">": ">", '"': """, "'": "'", "/": "/" };return (a + "").replace(/[&<>"'\/\\]/g, function (a) {
|
1196 |
+
return b[a[0]];
|
1197 |
+
});
|
1198 |
+
}, blurOnChange: !1, selectOnBlur: !1, adaptContainerCssClass: function adaptContainerCssClass(a) {
|
1199 |
+
return a;
|
1200 |
+
}, adaptDropdownCssClass: function adaptDropdownCssClass() {
|
1201 |
+
return null;
|
1202 |
+
} }, window.Select2 = { query: { ajax: z, local: A, tags: B }, util: { debounce: q, markMatch: y }, "class": { "abstract": d, single: e, multi: f } };
|
1203 |
+
}
|
1204 |
+
}(jQuery);
|
1205 |
+
'use strict';
|
1206 |
+
|
1207 |
+
var _alm = _alm || {};
|
1208 |
+
|
1209 |
+
jQuery(document).ready(function ($) {
|
1210 |
+
"use strict";
|
1211 |
+
|
1212 |
+
/*
|
1213 |
+
* _alm.saveSettings
|
1214 |
+
* Setting panel save actions
|
1215 |
+
*
|
1216 |
+
* @since 3.2.0
|
1217 |
+
*/
|
1218 |
+
|
1219 |
+
var almSettings = $('#alm_OptionsForm'),
|
1220 |
+
savingSettings = false,
|
1221 |
+
settingsForm = document.querySelector('#alm_OptionsForm'),
|
1222 |
+
settingsTarget = document.querySelector('.alm-settings-feedback');
|
1223 |
+
|
1224 |
+
if (settingsForm) {
|
1225 |
+
document.body.appendChild(settingsTarget);
|
1226 |
+
}
|
1227 |
+
|
1228 |
+
_alm.saveSettings = function () {
|
1229 |
+
|
1230 |
+
if (savingSettings) return false;
|
1231 |
+
|
1232 |
+
savingSettings = true;
|
1233 |
+
settingsForm.classList.add('--saving');
|
1234 |
+
settingsTarget.classList.add('--saving');
|
1235 |
+
settingsTarget.innerHTML = alm_admin_localize.settings_saving;
|
1236 |
+
|
1237 |
+
almSettings.ajaxSubmit({
|
1238 |
+
|
1239 |
+
// Success
|
1240 |
+
success: function success() {
|
1241 |
+
|
1242 |
+
// Delay for effect
|
1243 |
+
setTimeout(function () {
|
1244 |
+
settingsTarget.classList.remove('--saving');
|
1245 |
+
settingsTarget.classList.add('--saved');
|
1246 |
+
settingsTarget.innerHTML = alm_admin_localize.settings_saved;
|
1247 |
+
settingsForm.classList.remove('--saving');
|
1248 |
+
console.log(alm_admin_localize.ajax_load_more + ' - ' + alm_admin_localize.settings_saved);
|
1249 |
+
savingSettings = false;
|
1250 |
+
|
1251 |
+
setTimeout(function () {
|
1252 |
+
settingsTarget.classList.remove('--saved');
|
1253 |
+
}, 2500);
|
1254 |
+
}, 1000);
|
1255 |
+
},
|
1256 |
+
|
1257 |
+
// Error
|
1258 |
+
error: function error() {
|
1259 |
+
|
1260 |
+
// Delay for effect
|
1261 |
+
setTimeout(function () {
|
1262 |
+
settingsTarget.classList.remove('--saving');
|
1263 |
+
settingsTarget.classList.add('--error');
|
1264 |
+
settingsTarget.innerHTML = alm_admin_localize.settings_error;
|
1265 |
+
settingsForm.classList.remove('--saving');
|
1266 |
+
console.log(alm_admin_localize.ajax_load_more + ' - ' + alm_admin_localize.settings_error);
|
1267 |
+
savingSettings = false;
|
1268 |
+
|
1269 |
+
setTimeout(function () {
|
1270 |
+
settingsTarget.classList.remove('--error');
|
1271 |
+
}, 2500);
|
1272 |
+
}, 1000);
|
1273 |
+
}
|
1274 |
+
});
|
1275 |
+
return false;
|
1276 |
+
};
|
1277 |
+
|
1278 |
+
// On Change, save the settings
|
1279 |
+
var settingsTimer = void 0;
|
1280 |
+
$(document).on('change', '#alm_OptionsForm input, #alm_OptionsForm textarea, #alm_OptionsForm select', function () {
|
1281 |
+
|
1282 |
+
// Set a timer to avoid updating settings to frequently
|
1283 |
+
if (settingsTimer) clearTimeout(settingsTimer);
|
1284 |
+
settingsTimer = setTimeout(function () {
|
1285 |
+
_alm.saveSettings();
|
1286 |
+
}, 500);
|
1287 |
+
});
|
1288 |
+
|
1289 |
+
/*
|
1290 |
+
* Tooltipster
|
1291 |
+
* http://iamceege.github.io/tooltipster/
|
1292 |
+
*
|
1293 |
+
* @since 2.8.4
|
1294 |
+
*/
|
1295 |
+
|
1296 |
+
$('.tooltip').tooltipster({
|
1297 |
+
delay: 100,
|
1298 |
+
speed: 175,
|
1299 |
+
maxWidth: 400
|
1300 |
+
});
|
1301 |
+
|
1302 |
+
/*
|
1303 |
+
* Button preview pane
|
1304 |
+
* Found on Settings and Shortcode Builder
|
1305 |
+
*
|
1306 |
+
* @since 2.8.4
|
1307 |
+
*/
|
1308 |
+
|
1309 |
+
$("select#alm_settings_btn_color").change(function () {
|
1310 |
+
var color = jQuery(this).val();
|
1311 |
+
// Remove other colors
|
1312 |
+
$('.ajax-load-more-wrap.core.preview-pane').removeClass('none');
|
1313 |
+
$('.ajax-load-more-wrap.core').removeClass('default');
|
1314 |
+
$('.ajax-load-more-wrap.core').removeClass('grey');
|
1315 |
+
$('.ajax-load-more-wrap.core').removeClass('purple');
|
1316 |
+
$('.ajax-load-more-wrap.core').removeClass('green');
|
1317 |
+
$('.ajax-load-more-wrap.core').removeClass('red');
|
1318 |
+
$('.ajax-load-more-wrap.core').removeClass('blue');
|
1319 |
+
$('.ajax-load-more-wrap.core').removeClass('white');
|
1320 |
+
$('.ajax-load-more-wrap.core').removeClass('infinite');
|
1321 |
+
$('.ajax-load-more-wrap.core').removeClass('skype');
|
1322 |
+
$('.ajax-load-more-wrap.core').removeClass('ring');
|
1323 |
+
$('.ajax-load-more-wrap.core').removeClass('fading-blocks');
|
1324 |
+
$('.ajax-load-more-wrap.core').removeClass('fading-circles');
|
1325 |
+
$('.ajax-load-more-wrap.core').removeClass('chasing-arrows');
|
1326 |
+
$('.ajax-load-more-wrap.core').addClass(color);
|
1327 |
+
});
|
1328 |
+
$("select#alm_settings_btn_color").click(function (e) {
|
1329 |
+
e.preventDefault();
|
1330 |
+
});
|
1331 |
+
|
1332 |
+
$('.alm-template-listing li a').click(function (e) {
|
1333 |
+
e.preventDefault();
|
1334 |
+
var el = $(this),
|
1335 |
+
val = el.data('path');
|
1336 |
+
el.parent().parent().next('.template-selection').val(val);
|
1337 |
+
});
|
1338 |
+
|
1339 |
+
$('.alm-template-section-nav li a').click(function (e) {
|
1340 |
+
e.preventDefault();
|
1341 |
+
var el = $(this),
|
1342 |
+
index = el.parent().index(),
|
1343 |
+
parent = el.parent().parent().parent('.repeater-wrap');
|
1344 |
+
|
1345 |
+
if (!el.hasClass('active')) {
|
1346 |
+
el.parent().addClass('active').siblings().removeClass('active');
|
1347 |
+
$('.alm-template-toggle', parent).hide();
|
1348 |
+
$('.alm-template-toggle', parent).eq(index).show();
|
1349 |
+
}
|
1350 |
+
});
|
1351 |
+
|
1352 |
+
/*
|
1353 |
+
* _alm.copyToClipboard
|
1354 |
+
* Copy shortcode to clipboard
|
1355 |
+
*
|
1356 |
+
* @since 2.0.0
|
1357 |
+
*/
|
1358 |
+
|
1359 |
+
_alm.copyToClipboard = function (text) {
|
1360 |
+
window.prompt("Copy link to your clipboard: Press Ctrl + C then hit Enter to copy.", text);
|
1361 |
+
};
|
1362 |
+
|
1363 |
+
// Copy link on shortcode builder
|
1364 |
+
$('.output-wrap .copy').click(function () {
|
1365 |
+
var c = $('#shortcode_output').html();
|
1366 |
+
_alm.copyToClipboard(c);
|
1367 |
+
});
|
1368 |
+
|
1369 |
+
// Copy link on repeater templates
|
1370 |
+
$('.alm-dropdown .copy a').click(function () {
|
1371 |
+
var container = $(this).closest('.repeater-wrap'),
|
1372 |
+
// find closet wrap
|
1373 |
+
el = container.data('name'); // get template name
|
1374 |
+
|
1375 |
+
if (el === 'default') el = 'template-default';
|
1376 |
+
var c = $('#' + el).val(); // Get textarea val()
|
1377 |
+
_alm.copyToClipboard(c);
|
1378 |
+
});
|
1379 |
+
|
1380 |
+
/*
|
1381 |
+
* Expand/Collapse shortcode headings
|
1382 |
+
*
|
1383 |
+
* @since 2.0.0
|
1384 |
+
*/
|
1385 |
+
|
1386 |
+
$(document).on('click', 'h3.heading', function () {
|
1387 |
+
var el = $(this);
|
1388 |
+
if ($(el).hasClass('open')) {
|
1389 |
+
$(el).next('.expand-wrap').slideDown(100, 'alm_easeInOutQuad', function () {
|
1390 |
+
$(el).removeClass('open');
|
1391 |
+
});
|
1392 |
+
} else {
|
1393 |
+
$(el).next('.expand-wrap').slideUp(100, 'alm_easeInOutQuad', function () {
|
1394 |
+
$(el).addClass('open');
|
1395 |
+
});
|
1396 |
+
}
|
1397 |
+
});
|
1398 |
+
|
1399 |
+
$(document).on('click', '.toggle-all', function () {
|
1400 |
+
var el = $(this),
|
1401 |
+
type = el.data('id');
|
1402 |
+
if ($(el).hasClass('closed')) {
|
1403 |
+
$(el).removeClass('closed');
|
1404 |
+
$('h3.heading').removeClass('open');
|
1405 |
+
$('.expand-wrap').slideDown(100, 'alm_easeInOutQuad');
|
1406 |
+
} else {
|
1407 |
+
$(el).addClass('closed');
|
1408 |
+
$('h3.heading').addClass('open');
|
1409 |
+
$('.expand-wrap').slideUp(100, 'alm_easeInOutQuad');
|
1410 |
+
}
|
1411 |
+
});
|
1412 |
+
|
1413 |
+
/*
|
1414 |
+
* Activate License
|
1415 |
+
*
|
1416 |
+
* @since 2.8.3
|
1417 |
+
*/
|
1418 |
+
|
1419 |
+
var almActivating = false;
|
1420 |
+
$(document).on('click', '.license-btn', function (e) {
|
1421 |
+
e.preventDefault();
|
1422 |
+
if (!almActivating) {
|
1423 |
+
$('.license-btn-wrap .msg').remove();
|
1424 |
+
almActivating = true;
|
1425 |
+
var el = $(this),
|
1426 |
+
wrap = el.closest('.license-btn-wrap'),
|
1427 |
+
parent = el.closest('.license'),
|
1428 |
+
type = el.data('type'),
|
1429 |
+
item = wrap.data('name'),
|
1430 |
+
url = wrap.data('url'),
|
1431 |
+
upgrade = wrap.data('upgrade-url'),
|
1432 |
+
status = wrap.data('option-status'),
|
1433 |
+
key = wrap.data('option-key'),
|
1434 |
+
license = parent.find('input[type=text]').val();
|
1435 |
+
|
1436 |
+
$('.loading', parent).fadeIn(300);
|
1437 |
+
|
1438 |
+
// Get value from Ajax
|
1439 |
+
$.ajax({
|
1440 |
+
type: 'GET',
|
1441 |
+
url: alm_admin_localize.ajax_admin_url,
|
1442 |
+
dataType: 'json',
|
1443 |
+
|
1444 |
+
data: {
|
1445 |
+
action: 'alm_license_activation',
|
1446 |
+
nonce: alm_admin_localize.alm_admin_nonce,
|
1447 |
+
type: type,
|
1448 |
+
item: item,
|
1449 |
+
status: status,
|
1450 |
+
url: url,
|
1451 |
+
upgrade: upgrade,
|
1452 |
+
key: key,
|
1453 |
+
license: license
|
1454 |
+
},
|
1455 |
+
|
1456 |
+
success: function success(data) {
|
1457 |
+
|
1458 |
+
//console.log(data);
|
1459 |
+
|
1460 |
+
if (data.msg) {
|
1461 |
+
$('.license-btn-wrap', parent).append('<div class="msg">' + data.msg + '</div>');
|
1462 |
+
}
|
1463 |
+
|
1464 |
+
if (data.license === 'valid') {
|
1465 |
+
$('.license-key-field .status', parent).addClass('active').removeClass('inactive').text(alm_admin_localize.active);
|
1466 |
+
$('.license-title .status', parent).addClass('valid').removeClass('invalid');
|
1467 |
+
$('.activate.license-btn', parent).addClass('hide');
|
1468 |
+
$('.deactivate.license-btn', parent).removeClass('hide');
|
1469 |
+
$('.no-license', parent).slideUp(200);
|
1470 |
+
} else {
|
1471 |
+
$('.license-key-field .status', parent).removeClass('active').addClass('inactive').text(alm_admin_localize.inactive);
|
1472 |
+
$('.license-title .status', parent).removeClass('valid').addClass('invalid');
|
1473 |
+
$('.activate.license-btn', parent).removeClass('hide');
|
1474 |
+
$('.deactivate.license-btn', parent).addClass('hide');
|
1475 |
+
$('.no-license', parent).slideDown(200);
|
1476 |
+
}
|
1477 |
+
|
1478 |
+
$('.loading', parent).delay(250).fadeOut(300);
|
1479 |
+
almActivating = false;
|
1480 |
+
},
|
1481 |
+
error: function error(xhr, status, _error) {
|
1482 |
+
console.log(status);
|
1483 |
+
$('.loading', parent).delay(250).fadeOut(300);
|
1484 |
+
almActivating = false;
|
1485 |
+
}
|
1486 |
+
});
|
1487 |
+
}
|
1488 |
+
});
|
1489 |
+
|
1490 |
+
/*
|
1491 |
+
* Get layout value Ajax
|
1492 |
+
*
|
1493 |
+
* @since 2.8.7
|
1494 |
+
*/
|
1495 |
+
$(document).on('click', '.alm-layout-selection li a.layout', function (e) {
|
1496 |
+
e.preventDefault();
|
1497 |
+
var el = $(this),
|
1498 |
+
type = el.data('type'),
|
1499 |
+
custom = el.hasClass('custom') ? 'true' : 'false',
|
1500 |
+
textarea = el.closest('.repeater-wrap').find('.CodeMirror'),
|
1501 |
+
layout_btn_text = el.html(),
|
1502 |
+
name = el.closest('.repeater-wrap').data('name');
|
1503 |
+
|
1504 |
+
if (!el.hasClass('updating')) {
|
1505 |
+
|
1506 |
+
el.addClass('updating').text(alm_admin_localize.applying_layout + "...");
|
1507 |
+
textarea.addClass('loading');
|
1508 |
+
|
1509 |
+
// Get Codemirror Editor ID
|
1510 |
+
var eid = '';
|
1511 |
+
if (name === 'default') {
|
1512 |
+
// Default Template
|
1513 |
+
eid = window.editorDefault;
|
1514 |
+
} else {
|
1515 |
+
// Repeater Templates
|
1516 |
+
eid = window['editor_' + name];
|
1517 |
+
}
|
1518 |
+
|
1519 |
+
// Get value from Ajax
|
1520 |
+
$.ajax({
|
1521 |
+
type: 'GET',
|
1522 |
+
url: alm_admin_localize.ajax_admin_url,
|
1523 |
+
data: {
|
1524 |
+
action: 'alm_get_layout',
|
1525 |
+
type: type,
|
1526 |
+
custom: custom,
|
1527 |
+
nonce: alm_admin_localize.alm_admin_nonce
|
1528 |
+
},
|
1529 |
+
dataType: "JSON",
|
1530 |
+
success: function success(data) {
|
1531 |
+
|
1532 |
+
eid.setValue(data.value);
|
1533 |
+
|
1534 |
+
// Clear button styles
|
1535 |
+
setTimeout(function () {
|
1536 |
+
el.text(alm_admin_localize.template_updated).blur();
|
1537 |
+
setTimeout(function () {
|
1538 |
+
el.removeClass('updating').html(layout_btn_text).blur(); // CLose drop menu
|
1539 |
+
el.closest('.alm-drop-btn').trigger('click');
|
1540 |
+
textarea.removeClass('loading');
|
1541 |
+
}, 400);
|
1542 |
+
}, 400);
|
1543 |
+
},
|
1544 |
+
error: function error(xhr, status, _error2) {
|
1545 |
+
console.log(status);
|
1546 |
+
textarea.removeClass('loading');
|
1547 |
+
}
|
1548 |
+
});
|
1549 |
+
}
|
1550 |
+
});
|
1551 |
+
|
1552 |
+
/*
|
1553 |
+
* Dismiss Sharing (Transient)
|
1554 |
+
*
|
1555 |
+
* @since 2.8.7
|
1556 |
+
*/
|
1557 |
+
$(document).on('click', '#alm_dismiss_sharing', function (e) {
|
1558 |
+
e.preventDefault();
|
1559 |
+
var el = $(this),
|
1560 |
+
container = el.parent('.group');
|
1561 |
+
// Get value from Ajax
|
1562 |
+
$.ajax({
|
1563 |
+
type: 'POST',
|
1564 |
+
url: alm_admin_localize.ajax_admin_url,
|
1565 |
+
data: {
|
1566 |
+
action: 'alm_dismiss_sharing',
|
1567 |
+
nonce: alm_admin_localize.alm_admin_nonce
|
1568 |
+
},
|
1569 |
+
success: function success(data) {
|
1570 |
+
container.fadeOut();
|
1571 |
+
},
|
1572 |
+
error: function error(xhr, status, _error3) {
|
1573 |
+
console.log(status);
|
1574 |
+
}
|
1575 |
+
});
|
1576 |
+
});
|
1577 |
+
|
1578 |
+
/*
|
1579 |
+
* Scroll to setting section
|
1580 |
+
*
|
1581 |
+
* @since 2.7.3
|
1582 |
+
*/
|
1583 |
+
|
1584 |
+
$(document).on('change', '#alm-settings-nav', function (e) {
|
1585 |
+
e.preventDefault();
|
1586 |
+
var el = $(this),
|
1587 |
+
index = el.val();
|
1588 |
+
|
1589 |
+
if (index !== '#') {
|
1590 |
+
$('html, body').animate({
|
1591 |
+
scrollTop: $("#alm_OptionsForm h2").eq(index).offset().top - 40
|
1592 |
+
}, 500);
|
1593 |
+
}
|
1594 |
+
});
|
1595 |
+
|
1596 |
+
/*
|
1597 |
+
* equalheight()
|
1598 |
+
*
|
1599 |
+
* @since 2.7.3
|
1600 |
+
*/
|
1601 |
+
|
1602 |
+
function equalheight(container) {
|
1603 |
+
|
1604 |
+
var currentTallest = 0,
|
1605 |
+
currentRowStart = 0,
|
1606 |
+
rowDivs = [],
|
1607 |
+
$el,
|
1608 |
+
topPosition = 0;
|
1609 |
+
|
1610 |
+
$(container).each(function () {
|
1611 |
+
$el = $(this);
|
1612 |
+
$($el).height('auto');
|
1613 |
+
topPosition = $el.position().top;
|
1614 |
+
|
1615 |
+
if (currentRowStart != topPosition) {
|
1616 |
+
for (var currentDiv = 0; currentDiv < rowDivs.length; currentDiv++) {
|
1617 |
+
rowDivs[currentDiv].height(currentTallest);
|
1618 |
+
}
|
1619 |
+
rowDivs.length = 0; // empty the array
|
1620 |
+
currentRowStart = topPosition;
|
1621 |
+
currentTallest = $el.height();
|
1622 |
+
rowDivs.push($el);
|
1623 |
+
} else {
|
1624 |
+
rowDivs.push($el);
|
1625 |
+
currentTallest = currentTallest < $el.height() ? $el.height() : currentTallest;
|
1626 |
+
}
|
1627 |
+
for (var currentDivs = 0; currentDivs < rowDivs.length; currentDivs++) {
|
1628 |
+
rowDivs[currentDivs].height(currentTallest);
|
1629 |
+
}
|
1630 |
+
});
|
1631 |
+
}
|
1632 |
+
if ($('#alm-add-ons').length) {
|
1633 |
+
var addOnColumns = $('#alm-add-ons .group .expand-wrap');
|
1634 |
+
$(window).load(function () {
|
1635 |
+
equalheight(addOnColumns);
|
1636 |
+
});
|
1637 |
+
$(window).resize(function () {
|
1638 |
+
setTimeout(function () {
|
1639 |
+
equalheight(addOnColumns);
|
1640 |
+
}, 500);
|
1641 |
+
});
|
1642 |
+
}
|
1643 |
+
});
|
admin/editor/editor-build.php
CHANGED
@@ -2,11 +2,8 @@
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
3 |
<head>
|
4 |
<title>Ajax Load More: Shortcode Builder</title>
|
5 |
-
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
|
6 |
<link rel="stylesheet" src="<?php echo includes_url(); ?>js/tinymce/themes/advanced/skins/wp_theme/dialog.css"></link>
|
7 |
-
<link rel="stylesheet" href="<?php echo ALM_ADMIN_URL; ?>css/admin.css" />
|
8 |
-
<link rel="stylesheet" href="<?php echo ALM_ADMIN_URL; ?>css/select2.css" />
|
9 |
-
<link rel="stylesheet" href="<?php echo ALM_ADMIN_URL; ?>css/tooltipster/tooltipster.css" />
|
10 |
<link rel="stylesheet" href="<?php echo includes_url(); ?>css/buttons.css" />
|
11 |
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.js"></script>
|
12 |
<script type="text/javascript" src="<?php echo includes_url('/js/tinymce/tiny_mce_popup.js'); ?>"></script>
|
@@ -62,9 +59,9 @@ tinyMCEPopup.onInit.add(AjaxLoadMoreModal.init, AjaxLoadMoreModal);
|
|
62 |
|
63 |
</div>
|
64 |
</div>
|
65 |
-
<script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>js/libs/select2.min.js"></script>
|
66 |
<script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>shortcode-builder/js/shortcode-builder.js"></script>
|
67 |
-
<script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>js/libs/jquery.tooltipster.min.js"></script>
|
68 |
<script type='text/javascript'>
|
69 |
/* <![CDATA[ */
|
70 |
var alm_admin_localize = <?php echo json_encode( array(
|
@@ -82,7 +79,6 @@ tinyMCEPopup.onInit.add(AjaxLoadMoreModal.init, AjaxLoadMoreModal);
|
|
82 |
)); ?>
|
83 |
/* ]]> */
|
84 |
</script>
|
85 |
-
<script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>js/
|
86 |
-
<script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>js/admin.js"></script>
|
87 |
</body>
|
88 |
</html>
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
3 |
<head>
|
4 |
<title>Ajax Load More: Shortcode Builder</title>
|
|
|
5 |
<link rel="stylesheet" src="<?php echo includes_url(); ?>js/tinymce/themes/advanced/skins/wp_theme/dialog.css"></link>
|
6 |
+
<link rel="stylesheet" href="<?php echo ALM_ADMIN_URL; ?>dist/css/admin.css" />
|
|
|
|
|
7 |
<link rel="stylesheet" href="<?php echo includes_url(); ?>css/buttons.css" />
|
8 |
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.js"></script>
|
9 |
<script type="text/javascript" src="<?php echo includes_url('/js/tinymce/tiny_mce_popup.js'); ?>"></script>
|
59 |
|
60 |
</div>
|
61 |
</div>
|
62 |
+
<script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>src/js/libs/select2.min.js"></script>
|
63 |
<script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>shortcode-builder/js/shortcode-builder.js"></script>
|
64 |
+
<script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>src/js/libs/jquery.tooltipster.min.js"></script>
|
65 |
<script type='text/javascript'>
|
66 |
/* <![CDATA[ */
|
67 |
var alm_admin_localize = <?php echo json_encode( array(
|
79 |
)); ?>
|
80 |
/* ]]> */
|
81 |
</script>
|
82 |
+
<script type="text/javascript" src="<?php echo ALM_ADMIN_URL; ?>dist/js/admin.js"></script>
|
|
|
83 |
</body>
|
84 |
</html>
|
admin/includes/cta/writeable.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
$alm_file = ALM_PATH .'core/repeater/default.php'; // Default ALM repeater
|
9 |
if(file_exists($alm_file)){
|
10 |
if (is_writable($alm_file))
|
11 |
-
echo __('<p class="writeable-title"><i class="fa fa-check"></i><strong>Ajax Load More</strong></p><p class="desc">
|
12 |
else
|
13 |
echo __('<p class="writeable-title"><i class="fa fa-exclamation"></i><strong>Ajax Load More</strong></p>Access Denied! You must enable read and write access for Ajax Load More directory (/ajax-load-more/core/repeater/) in order to save repeater template data.<br/><br/>Please contact your hosting provider or site administrator for more information.', 'ajax-load-more');
|
14 |
}else{
|
@@ -23,7 +23,7 @@
|
|
23 |
$alm_custom_repeater_file = ALM_REPEATER_PATH. '/repeaters/repeater2.php'; // Test file
|
24 |
if(file_exists($alm_custom_repeater_file)){
|
25 |
if (is_writable($alm_custom_repeater_file))
|
26 |
-
echo __('<p class="writeable-title"><i class="fa fa-check"></i><strong>
|
27 |
else
|
28 |
echo __('<p class="writeable-title"><i class="fa fa-exclamation"></i><strong>ALM Custom Repeaters</strong></p><p class="desc">Access Denied! You must enable read and write access for Ajax Load More Custom Repeaters directory (/ajax-load-more-repeaters/repeaters/) in order to save repeater template data.<br/><br/>Please contact your hosting provider or site administrator for more information.', 'ajax-load-more');
|
29 |
}else{
|
@@ -39,7 +39,7 @@
|
|
39 |
$alm_unlimited_file = ALM_UNLIMITED_REPEATER_PATH .'_is_writeable.php'; // Test file
|
40 |
if(file_exists($alm_unlimited_file)){
|
41 |
if (is_writable($alm_unlimited_file))
|
42 |
-
echo __('<p class="writeable-title"><i class="fa fa-check"></i><strong>
|
43 |
else
|
44 |
echo __('<p class="writeable-title"><i class="fa fa-exclamation"></i><strong>ALM - Custom Repeaters v2</strong></p><p class="desc">Access Denied! You must enable read and write access for Ajax Load More Unlimited directory (/ajax-load-more-repeaters-v2/repeaters/) in order to save repeater template data.<br/><br/>Please contact your hosting provider or site administrator for more information.', 'ajax-load-more');
|
45 |
}else{
|
8 |
$alm_file = ALM_PATH .'core/repeater/default.php'; // Default ALM repeater
|
9 |
if(file_exists($alm_file)){
|
10 |
if (is_writable($alm_file))
|
11 |
+
echo __('<p class="writeable-title"><i class="fa fa-check"></i><strong>Ajax Load More</strong></p><p class="desc">Read/Write access is enabled within the /ajax-load-more/ directory.', 'ajax-load-more');
|
12 |
else
|
13 |
echo __('<p class="writeable-title"><i class="fa fa-exclamation"></i><strong>Ajax Load More</strong></p>Access Denied! You must enable read and write access for Ajax Load More directory (/ajax-load-more/core/repeater/) in order to save repeater template data.<br/><br/>Please contact your hosting provider or site administrator for more information.', 'ajax-load-more');
|
14 |
}else{
|
23 |
$alm_custom_repeater_file = ALM_REPEATER_PATH. '/repeaters/repeater2.php'; // Test file
|
24 |
if(file_exists($alm_custom_repeater_file)){
|
25 |
if (is_writable($alm_custom_repeater_file))
|
26 |
+
echo __('<p class="writeable-title"><i class="fa fa-check"></i><strong>Custom Repeaters</strong></p><p class="desc">Nice! Read/Write access is enabled within the /ajax-load-more-repeaters/repeaters/ directory.', 'ajax-load-more');
|
27 |
else
|
28 |
echo __('<p class="writeable-title"><i class="fa fa-exclamation"></i><strong>ALM Custom Repeaters</strong></p><p class="desc">Access Denied! You must enable read and write access for Ajax Load More Custom Repeaters directory (/ajax-load-more-repeaters/repeaters/) in order to save repeater template data.<br/><br/>Please contact your hosting provider or site administrator for more information.', 'ajax-load-more');
|
29 |
}else{
|
39 |
$alm_unlimited_file = ALM_UNLIMITED_REPEATER_PATH .'_is_writeable.php'; // Test file
|
40 |
if(file_exists($alm_unlimited_file)){
|
41 |
if (is_writable($alm_unlimited_file))
|
42 |
+
echo __('<p class="writeable-title"><i class="fa fa-check"></i><strong>Custom Repeaters</strong></p><p class="desc">Read/Write access is enabled within the /ajax-load-more-repeaters-v2/repeaters/ directory.', 'ajax-load-more');
|
43 |
else
|
44 |
echo __('<p class="writeable-title"><i class="fa fa-exclamation"></i><strong>ALM - Custom Repeaters v2</strong></p><p class="desc">Access Denied! You must enable read and write access for Ajax Load More Unlimited directory (/ajax-load-more-repeaters-v2/repeaters/) in order to save repeater template data.<br/><br/>Please contact your hosting provider or site administrator for more information.', 'ajax-load-more');
|
45 |
}else{
|
admin/shortcode-builder/includes/tax-query-options.php
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
|
33 |
<div id="tax-query-relation">
|
34 |
<div class="inner border-top highlighted">
|
35 |
-
<div class="wrap-
|
36 |
<label for="tax-relation" class="full"><?php _e('Relation:', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('The logical relationship between each taxonomy when there is more than one.','ajax-load-more'); ?>"></a></label>
|
37 |
<select class="alm_element tax-relation" name="tax-relation">
|
38 |
<option value="AND" selected="selected">AND</option>
|
32 |
|
33 |
<div id="tax-query-relation">
|
34 |
<div class="inner border-top highlighted">
|
35 |
+
<div class="wrap-50">
|
36 |
<label for="tax-relation" class="full"><?php _e('Relation:', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('The logical relationship between each taxonomy when there is more than one.','ajax-load-more'); ?>"></a></label>
|
37 |
<select class="alm_element tax-relation" name="tax-relation">
|
38 |
<option value="AND" selected="selected">AND</option>
|
admin/shortcode-builder/js/shortcode-builder.js
CHANGED
@@ -399,7 +399,8 @@ jQuery(document).ready(function($) {
|
|
399 |
if(previous !== 'false' && previous != undefined){
|
400 |
|
401 |
var prev_post_id = $('#prev_post_id').val(),
|
402 |
-
previous_post_taxonomy = $('#pp-taxonomy-select').val()
|
|
|
403 |
$('.prev_post_id').slideDown(150, 'alm_easeInOutQuad');
|
404 |
|
405 |
output += ' previous_post="'+previous+'"';
|
@@ -408,6 +409,9 @@ jQuery(document).ready(function($) {
|
|
408 |
if(previous_post_taxonomy !== '' )
|
409 |
output += ' previous_post_taxonomy="'+previous_post_taxonomy+'"';
|
410 |
|
|
|
|
|
|
|
411 |
}else{
|
412 |
$('.prev_post_id').slideUp(150, 'alm_easeInOutQuad');
|
413 |
}
|
@@ -893,15 +897,22 @@ jQuery(document).ready(function($) {
|
|
893 |
|
894 |
var scroll_load = $('.scroll_load input[name=scroll]:checked').val();
|
895 |
if(scroll_load === 'f'){
|
896 |
-
|
|
|
897 |
if($('.scroll_load input').hasClass('changed'))
|
898 |
output += ' scroll="false"';
|
|
|
899 |
}else{
|
900 |
-
|
|
|
901 |
|
902 |
var scroll_distance = $('.scroll_distance input').val();
|
903 |
if(scroll_distance != 150)
|
904 |
output += ' scroll_distance="'+$('.scroll_distance input').val()+'"';
|
|
|
|
|
|
|
|
|
905 |
|
906 |
var max_pages = $('.max_pages input').val();
|
907 |
if(max_pages != 0)
|
@@ -923,26 +934,33 @@ jQuery(document).ready(function($) {
|
|
923 |
output += ' transition="'+transition+'"';
|
924 |
|
925 |
if(transition === 'masonry'){
|
|
|
926 |
$('.masonry-options').slideDown(150, 'alm_easeInOutQuad');
|
927 |
$('.masonry-options-hide').slideUp(150, 'alm_easeInOutQuad');
|
928 |
var masonry_selector = $('.transition input#masonry-item').val();
|
|
|
929 |
if(masonry_selector !== ''){
|
930 |
output += ' masonry_selector="'+ masonry_selector +'"';
|
931 |
}
|
|
|
|
|
|
|
|
|
932 |
}else{
|
|
|
933 |
$('.masonry-options').slideUp(150, 'alm_easeInOutQuad');
|
934 |
$('.masonry-options-hide').slideDown(150, 'alm_easeInOutQuad');
|
935 |
|
936 |
-
// Hide
|
937 |
-
var transition_speed = $('.transition input[name=transition-speed]').val();
|
938 |
-
if(transition_speed !== '250' && transition !== 'none')
|
939 |
-
output += ' transition_speed="'+ transition_speed +'"';
|
940 |
-
|
941 |
var transition_container = $('.transition input[name=remove_container]:checked').val();
|
942 |
if(transition_container === 'f' && seo !== 'true' && previous !== 'true')
|
943 |
output += ' transition_container="false"';
|
944 |
-
|
945 |
}
|
|
|
|
|
|
|
|
|
946 |
|
947 |
|
948 |
// ---------------------------
|
@@ -954,7 +972,11 @@ jQuery(document).ready(function($) {
|
|
954 |
var progress_bar_color = $('.alm-progress-bar input[name=progress_bar_color]').val();
|
955 |
$('.progress-bar-options').slideDown(150, 'alm_easeInOutQuad');
|
956 |
output += ' progress_bar="true"';
|
|
|
957 |
if(progress_bar_color){
|
|
|
|
|
|
|
958 |
output += ' progress_bar_color="'+ progress_bar_color +'"';
|
959 |
}
|
960 |
}else{
|
399 |
if(previous !== 'false' && previous != undefined){
|
400 |
|
401 |
var prev_post_id = $('#prev_post_id').val(),
|
402 |
+
previous_post_taxonomy = $('#pp-taxonomy-select').val(),
|
403 |
+
previous_post_excluded_terms = $('#pp-term-exclude').val();
|
404 |
$('.prev_post_id').slideDown(150, 'alm_easeInOutQuad');
|
405 |
|
406 |
output += ' previous_post="'+previous+'"';
|
409 |
if(previous_post_taxonomy !== '' )
|
410 |
output += ' previous_post_taxonomy="'+previous_post_taxonomy+'"';
|
411 |
|
412 |
+
if(previous_post_excluded_terms !== '' )
|
413 |
+
output += ' previous_post_excluded_terms="'+previous_post_excluded_terms+'"';
|
414 |
+
|
415 |
}else{
|
416 |
$('.prev_post_id').slideUp(150, 'alm_easeInOutQuad');
|
417 |
}
|
897 |
|
898 |
var scroll_load = $('.scroll_load input[name=scroll]:checked').val();
|
899 |
if(scroll_load === 'f'){
|
900 |
+
|
901 |
+
$('.max_pages, .scroll_distance, .pause_override, .scroll_container').slideUp(150, 'alm_easeInOutQuad');
|
902 |
if($('.scroll_load input').hasClass('changed'))
|
903 |
output += ' scroll="false"';
|
904 |
+
|
905 |
}else{
|
906 |
+
|
907 |
+
$('.max_pages, .scroll_distance, .pause_override, .scroll_container').slideDown(150, 'alm_easeInOutQuad');
|
908 |
|
909 |
var scroll_distance = $('.scroll_distance input').val();
|
910 |
if(scroll_distance != 150)
|
911 |
output += ' scroll_distance="'+$('.scroll_distance input').val()+'"';
|
912 |
+
|
913 |
+
var scroll_container = $('.scroll_container input').val();
|
914 |
+
if(scroll_container != '')
|
915 |
+
output += ' scroll_container="'+$('.scroll_container input').val()+'"';
|
916 |
|
917 |
var max_pages = $('.max_pages input').val();
|
918 |
if(max_pages != 0)
|
934 |
output += ' transition="'+transition+'"';
|
935 |
|
936 |
if(transition === 'masonry'){
|
937 |
+
|
938 |
$('.masonry-options').slideDown(150, 'alm_easeInOutQuad');
|
939 |
$('.masonry-options-hide').slideUp(150, 'alm_easeInOutQuad');
|
940 |
var masonry_selector = $('.transition input#masonry-item').val();
|
941 |
+
var masonry_animation = $('input[name=masonry-animation]:checked').val();
|
942 |
if(masonry_selector !== ''){
|
943 |
output += ' masonry_selector="'+ masonry_selector +'"';
|
944 |
}
|
945 |
+
if(masonry_animation !== '' && masonry_animation !== 'default'){
|
946 |
+
output += ' masonry_animation="'+ masonry_animation +'"';
|
947 |
+
}
|
948 |
+
|
949 |
}else{
|
950 |
+
|
951 |
$('.masonry-options').slideUp(150, 'alm_easeInOutQuad');
|
952 |
$('.masonry-options-hide').slideDown(150, 'alm_easeInOutQuad');
|
953 |
|
954 |
+
// Hide transition_container if masonry is selected
|
|
|
|
|
|
|
|
|
955 |
var transition_container = $('.transition input[name=remove_container]:checked').val();
|
956 |
if(transition_container === 'f' && seo !== 'true' && previous !== 'true')
|
957 |
output += ' transition_container="false"';
|
958 |
+
|
959 |
}
|
960 |
+
// Speed
|
961 |
+
var transition_speed = $('.transition input[name=transition-speed]').val();
|
962 |
+
if(transition_speed !== '250' && transition !== 'none')
|
963 |
+
output += ' transition_speed="'+ transition_speed +'"';
|
964 |
|
965 |
|
966 |
// ---------------------------
|
972 |
var progress_bar_color = $('.alm-progress-bar input[name=progress_bar_color]').val();
|
973 |
$('.progress-bar-options').slideDown(150, 'alm_easeInOutQuad');
|
974 |
output += ' progress_bar="true"';
|
975 |
+
$('.progress_bar_color_indicator').removeAttr('style');
|
976 |
if(progress_bar_color){
|
977 |
+
if(progress_bar_color.length === 6){
|
978 |
+
$('.progress_bar_color_indicator').css("background-color", '#'+progress_bar_color);
|
979 |
+
}
|
980 |
output += ' progress_bar_color="'+ progress_bar_color +'"';
|
981 |
}
|
982 |
}else{
|
admin/shortcode-builder/shortcode-builder.php
CHANGED
@@ -664,8 +664,8 @@
|
|
664 |
<div class="clear"></div>
|
665 |
<hr>
|
666 |
<div class="section-title">
|
667 |
-
<h4><?php _e('Taxonomy', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Selecting a taxonomy means only previous posts from the same taxonomy will be returned','ajax-load-more'); ?>"></a></h4>
|
668 |
-
<p><?php _e('Query previous posts from the same taxonomy.', 'ajax-load-more'); ?></p>
|
669 |
</div>
|
670 |
<div class="wrap">
|
671 |
<div class="inner">
|
@@ -693,6 +693,19 @@
|
|
693 |
</div>
|
694 |
</div>
|
695 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
696 |
<p class="warning-callout">
|
697 |
<?php _e('You must add the Previous Post shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method. » <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/" target="_blank">View documentation</a>', 'ajax-load-more'); ?>
|
698 |
</p>
|
@@ -1044,6 +1057,19 @@
|
|
1044 |
</div>
|
1045 |
</div>
|
1046 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1047 |
<div class="max_pages">
|
1048 |
<div class="clear"></div>
|
1049 |
<hr>
|
@@ -1118,25 +1144,60 @@
|
|
1118 |
<input type="text" class="alm_element" name="masonry-item" id="masonry-item" placeholder=".grid-item">
|
1119 |
</div>
|
1120 |
</div>
|
1121 |
-
|
1122 |
-
</div>
|
1123 |
-
|
1124 |
-
<!-- Hide transition_speed & transition_container if Masonry is selected -->
|
1125 |
-
<div class="masonry-options-hide">
|
1126 |
-
|
1127 |
<div class="clear"></div>
|
1128 |
<hr>
|
1129 |
|
1130 |
<div class="section-title">
|
1131 |
-
<h4><?php _e('
|
1132 |
-
<p><?php _e('
|
|
|
1133 |
</div>
|
1134 |
-
|
1135 |
<div class="inner">
|
1136 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1137 |
</div>
|
1138 |
</div>
|
1139 |
|
|
|
|
|
|
|
|
|
|
|
1140 |
<div class="clear"></div>
|
1141 |
<hr>
|
1142 |
|
@@ -1155,7 +1216,20 @@
|
|
1155 |
</div>
|
1156 |
</div>
|
1157 |
</div>
|
1158 |
-
<!-- End Hide
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1159 |
|
1160 |
</div>
|
1161 |
</div>
|
@@ -1219,15 +1293,16 @@
|
|
1219 |
<div class="clear"></div>
|
1220 |
<hr>
|
1221 |
|
1222 |
-
<div class="section-title">
|
1223 |
<h4><?php _e('Color', 'ajax-load-more'); ?> </h4>
|
1224 |
<p><?php _e('Enter the hex color of the progress bar', 'ajax-load-more'); ?>.<br/>
|
1225 |
Default: #<span>ed7070</span>
|
1226 |
</p>
|
1227 |
</div>
|
1228 |
<div class="wrap">
|
1229 |
-
<div class="inner">
|
1230 |
-
<input type="text" class="alm_element" name="progress_bar_color" id="progress_bar_color" placeholder="ed7070" value="ed7070" maxlength="6">
|
|
|
1231 |
</div>
|
1232 |
</div>
|
1233 |
|
664 |
<div class="clear"></div>
|
665 |
<hr>
|
666 |
<div class="section-title">
|
667 |
+
<h4><?php _e('Taxonomy', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Selecting a taxonomy means only previous posts from the same taxonomy term will be returned. If a post has multiple terms attached, each term will be considered using an OR relationship query','ajax-load-more'); ?>"></a></h4>
|
668 |
+
<p><?php _e('Query previous posts from the same taxonomy term(s).', 'ajax-load-more'); ?></p>
|
669 |
</div>
|
670 |
<div class="wrap">
|
671 |
<div class="inner">
|
693 |
</div>
|
694 |
</div>
|
695 |
|
696 |
+
|
697 |
+
<div class="clear"></div>
|
698 |
+
<hr>
|
699 |
+
<div class="section-title">
|
700 |
+
<h4><?php _e('Excluded Terms ', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('A comma-separated list of excluded terms by ID','ajax-load-more'); ?>"></a></h4>
|
701 |
+
<p><?php _e('Exclude posts by term ID from the previous post query.', 'ajax-load-more'); ?></p>
|
702 |
+
</div>
|
703 |
+
<div class="wrap">
|
704 |
+
<div class="inner">
|
705 |
+
<input type="text" id="pp-term-exclude" class="alm_element numbers-only" value="" placeholder="5, 8, 35">
|
706 |
+
</div>
|
707 |
+
</div>
|
708 |
+
|
709 |
<p class="warning-callout">
|
710 |
<?php _e('You must add the Previous Post shortcode directly to your single template file using the <a href="https://developer.wordpress.org/reference/functions/do_shortcode/" target="_blank">do_shortcode</a> method. » <a href="https://connekthq.com/plugins/ajax-load-more/add-ons/previous-post/" target="_blank">View documentation</a>', 'ajax-load-more'); ?>
|
711 |
</p>
|
1057 |
</div>
|
1058 |
</div>
|
1059 |
</div>
|
1060 |
+
<div class="scroll_container">
|
1061 |
+
<div class="clear"></div>
|
1062 |
+
<hr>
|
1063 |
+
<div class="section-title">
|
1064 |
+
<h4><?php _e('Scroll Container', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('Confine Ajax Load More scrolling to a parent container.','ajax-load-more'); ?>"></a></h4>
|
1065 |
+
<p><?php _e('Enter the ID or classname of the parent container', 'ajax-load-more'); ?></p>
|
1066 |
+
</div>
|
1067 |
+
<div class="wrap">
|
1068 |
+
<div class="inner">
|
1069 |
+
<input type="text" class="alm_element" name="scroll-container" id="scroll-container" placeholder="#my-div">
|
1070 |
+
</div>
|
1071 |
+
</div>
|
1072 |
+
</div>
|
1073 |
<div class="max_pages">
|
1074 |
<div class="clear"></div>
|
1075 |
<hr>
|
1144 |
<input type="text" class="alm_element" name="masonry-item" id="masonry-item" placeholder=".grid-item">
|
1145 |
</div>
|
1146 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
1147 |
<div class="clear"></div>
|
1148 |
<hr>
|
1149 |
|
1150 |
<div class="section-title">
|
1151 |
+
<h4><?php _e('Masonry Animation', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('All Masonry animations include a fade-in effect as items are loaded','ajax-load-more'); ?>"></a></h4>
|
1152 |
+
<p><?php _e('Select a loading transition for Masonry items', 'ajax-load-more'); ?>.
|
1153 |
+
</p>
|
1154 |
</div>
|
1155 |
+
<div class="wrap">
|
1156 |
<div class="inner">
|
1157 |
+
<ul>
|
1158 |
+
<li style="width:100%;">
|
1159 |
+
<input class="alm_element" type="radio" name="masonry-animation" value="default" id="masonry-animation-default" checked>
|
1160 |
+
<label for="masonry-animation-default">
|
1161 |
+
<?php _e('Default (Zoom)', 'ajax-load-more'); ?>
|
1162 |
+
<span class="description"><?php _e('Items will scale up from 50% to 100% size on load','ajax-load-more'); ?>.</span>
|
1163 |
+
</label>
|
1164 |
+
</li>
|
1165 |
+
<li style="width:100%;">
|
1166 |
+
<input class="alm_element" type="radio" name="masonry-animation" value="zoom-out" id="masonry-animation-zoom-out">
|
1167 |
+
<label for="masonry-animation-zoom-out">
|
1168 |
+
<?php _e('Zoom Out', 'ajax-load-more'); ?>
|
1169 |
+
<span class="description"><?php _e('The reverse of the Default animation - Items will scale down from 125% to 100% size on load','ajax-load-more'); ?>.</span>
|
1170 |
+
</label>
|
1171 |
+
</li>
|
1172 |
+
<li style="width:100%;">
|
1173 |
+
<input class="alm_element" type="radio" name="masonry-animation" value="slide-up" id="masonry-animation-up">
|
1174 |
+
<label for="masonry-animation-up">
|
1175 |
+
<?php _e('Slide Up', 'ajax-load-more'); ?>
|
1176 |
+
<span class="description"><?php _e('Items will animate up as they are loaded into view.','ajax-load-more'); ?></span>
|
1177 |
+
</label>
|
1178 |
+
</li>
|
1179 |
+
<li style="width:100%;">
|
1180 |
+
<input class="alm_element" type="radio" name="masonry-animation" value="slide-down" id="masonry-animation-down">
|
1181 |
+
<label for="masonry-animation-down">
|
1182 |
+
<?php _e('Slide Down', 'ajax-load-more'); ?>
|
1183 |
+
<span class="description"><?php _e('Items will animate down as they are loaded into view.','ajax-load-more'); ?></span>
|
1184 |
+
</label>
|
1185 |
+
</li>
|
1186 |
+
<li style="width:100%;">
|
1187 |
+
<input class="alm_element" type="radio" name="masonry-animation" value="none" id="masonry-animation-none">
|
1188 |
+
<label for="masonry-animation-none">
|
1189 |
+
<?php _e('None', 'ajax-load-more'); ?>
|
1190 |
+
</label>
|
1191 |
+
</li>
|
1192 |
+
</ul>
|
1193 |
</div>
|
1194 |
</div>
|
1195 |
|
1196 |
+
</div>
|
1197 |
+
|
1198 |
+
<!-- Hide transition_container if Masonry is selected -->
|
1199 |
+
<div class="masonry-options-hide">
|
1200 |
+
|
1201 |
<div class="clear"></div>
|
1202 |
<hr>
|
1203 |
|
1216 |
</div>
|
1217 |
</div>
|
1218 |
</div>
|
1219 |
+
<!-- End Hide transition_container if Masonry is selected -->
|
1220 |
+
|
1221 |
+
<div class="clear"></div>
|
1222 |
+
<hr>
|
1223 |
+
|
1224 |
+
<div class="section-title">
|
1225 |
+
<h4><?php _e('Speed', 'ajax-load-more'); ?> <a href="javascript:void(0)" class="fa fa-question-circle tooltip" title="<?php _e('0.5 seconds = 500, 1 second = 1000 etc.','ajax-load-more'); ?>"></a></h4>
|
1226 |
+
<p><?php _e('The speed of the loading transition in milliseconds', 'ajax-load-more'); ?>.<br/></p>
|
1227 |
+
</div>
|
1228 |
+
<div class="wrap">
|
1229 |
+
<div class="inner">
|
1230 |
+
<input type="number" class="alm_element numbers-only" name="transition-speed" id="transition-speed" step="50" min="50" value="250">
|
1231 |
+
</div>
|
1232 |
+
</div>
|
1233 |
|
1234 |
</div>
|
1235 |
</div>
|
1293 |
<div class="clear"></div>
|
1294 |
<hr>
|
1295 |
|
1296 |
+
<div class="section-title">
|
1297 |
<h4><?php _e('Color', 'ajax-load-more'); ?> </h4>
|
1298 |
<p><?php _e('Enter the hex color of the progress bar', 'ajax-load-more'); ?>.<br/>
|
1299 |
Default: #<span>ed7070</span>
|
1300 |
</p>
|
1301 |
</div>
|
1302 |
<div class="wrap">
|
1303 |
+
<div class="inner" style="position: relative;">
|
1304 |
+
<input type="text" class="alm_element" name="progress_bar_color" id="progress_bar_color" placeholder="ed7070" value="ed7070" maxlength="6" style="padding-left: 40px;">
|
1305 |
+
<span class="progress_bar_color_indicator"></span>
|
1306 |
</div>
|
1307 |
</div>
|
1308 |
|
admin/{js → src/js}/admin.js
RENAMED
@@ -2,6 +2,93 @@ var _alm = _alm || {};
|
|
2 |
|
3 |
jQuery(document).ready(function($) {
|
4 |
"use strict";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
|
7 |
/*
|
@@ -69,7 +156,7 @@ jQuery(document).ready(function($) {
|
|
69 |
|
70 |
if(!el.hasClass('active')){
|
71 |
el.parent().addClass('active').siblings().removeClass('active');
|
72 |
-
$('.alm-template-toggle', parent).hide()
|
73 |
$('.alm-template-toggle', parent).eq(index).show();
|
74 |
}
|
75 |
});
|
@@ -85,7 +172,7 @@ jQuery(document).ready(function($) {
|
|
85 |
|
86 |
_alm.copyToClipboard = function(text) {
|
87 |
window.prompt ("Copy link to your clipboard: Press Ctrl + C then hit Enter to copy.", text);
|
88 |
-
}
|
89 |
|
90 |
// Copy link on shortcode builder
|
91 |
$('.output-wrap .copy').click(function(){
|
@@ -186,11 +273,11 @@ jQuery(document).ready(function($) {
|
|
186 |
|
187 |
//console.log(data);
|
188 |
|
189 |
-
if(data
|
190 |
-
$('.license-btn-wrap', parent).append('<div class="msg">'+data
|
191 |
}
|
192 |
|
193 |
-
if(data
|
194 |
$('.license-key-field .status', parent).addClass('active').removeClass('inactive').text(alm_admin_localize.active);
|
195 |
$('.license-title .status', parent).addClass('valid').removeClass('invalid');
|
196 |
$('.activate.license-btn', parent).addClass('hide');
|
@@ -228,7 +315,7 @@ jQuery(document).ready(function($) {
|
|
228 |
*/
|
229 |
$(document).on('click', '.alm-layout-selection li a.layout', function(e){
|
230 |
e.preventDefault();
|
231 |
-
var el = $(this),
|
232 |
type = el.data('type'),
|
233 |
custom = (el.hasClass('custom')) ? 'true' : 'false',
|
234 |
textarea = el.closest('.repeater-wrap').find('.CodeMirror'),
|
@@ -240,12 +327,14 @@ jQuery(document).ready(function($) {
|
|
240 |
el.addClass('updating').text(alm_admin_localize.applying_layout+"...");
|
241 |
textarea.addClass('loading');
|
242 |
|
243 |
-
// Get
|
244 |
var eid = '';
|
245 |
-
if(name === 'default'){
|
246 |
-
|
247 |
-
|
248 |
-
|
|
|
|
|
249 |
}
|
250 |
|
251 |
// Get value from Ajax
|
@@ -346,14 +435,14 @@ jQuery(document).ready(function($) {
|
|
346 |
function equalheight(container){
|
347 |
|
348 |
var currentTallest = 0,
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
|
|
353 |
$(container).each(function() {
|
354 |
-
|
355 |
$el = $(this);
|
356 |
-
$($el).height('auto')
|
357 |
topPosition = $el.position().top;
|
358 |
|
359 |
if (currentRowStart != topPosition) {
|
@@ -368,8 +457,8 @@ jQuery(document).ready(function($) {
|
|
368 |
rowDivs.push($el);
|
369 |
currentTallest = (currentTallest < $el.height()) ? ($el.height()) : (currentTallest);
|
370 |
}
|
371 |
-
for (
|
372 |
-
rowDivs[
|
373 |
}
|
374 |
});
|
375 |
}
|
2 |
|
3 |
jQuery(document).ready(function($) {
|
4 |
"use strict";
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
/*
|
9 |
+
* _alm.saveSettings
|
10 |
+
* Setting panel save actions
|
11 |
+
*
|
12 |
+
* @since 3.2.0
|
13 |
+
*/
|
14 |
+
|
15 |
+
let almSettings = $('#alm_OptionsForm'),
|
16 |
+
savingSettings = false,
|
17 |
+
settingsForm = document.querySelector('#alm_OptionsForm'),
|
18 |
+
settingsTarget = document.querySelector('.alm-settings-feedback');
|
19 |
+
|
20 |
+
if(settingsForm){
|
21 |
+
document.body.appendChild(settingsTarget);
|
22 |
+
}
|
23 |
+
|
24 |
+
_alm.saveSettings = function(){
|
25 |
+
|
26 |
+
if(savingSettings)
|
27 |
+
return false;
|
28 |
+
|
29 |
+
savingSettings = true;
|
30 |
+
settingsForm.classList.add('--saving');
|
31 |
+
settingsTarget.classList.add('--saving');
|
32 |
+
settingsTarget.innerHTML = alm_admin_localize.settings_saving;
|
33 |
+
|
34 |
+
almSettings.ajaxSubmit({
|
35 |
+
|
36 |
+
// Success
|
37 |
+
success: function(){
|
38 |
+
|
39 |
+
// Delay for effect
|
40 |
+
setTimeout(function(){
|
41 |
+
settingsTarget.classList.remove('--saving');
|
42 |
+
settingsTarget.classList.add('--saved');
|
43 |
+
settingsTarget.innerHTML = alm_admin_localize.settings_saved;
|
44 |
+
settingsForm.classList.remove('--saving');
|
45 |
+
console.log(alm_admin_localize.ajax_load_more +' - '+ alm_admin_localize.settings_saved);
|
46 |
+
savingSettings = false;
|
47 |
+
|
48 |
+
setTimeout(function(){
|
49 |
+
settingsTarget.classList.remove('--saved');
|
50 |
+
}, 2500);
|
51 |
+
|
52 |
+
}, 1000);
|
53 |
+
|
54 |
+
},
|
55 |
+
|
56 |
+
// Error
|
57 |
+
error: function(){
|
58 |
+
|
59 |
+
// Delay for effect
|
60 |
+
setTimeout(function(){
|
61 |
+
settingsTarget.classList.remove('--saving');
|
62 |
+
settingsTarget.classList.add('--error');
|
63 |
+
settingsTarget.innerHTML = alm_admin_localize.settings_error;
|
64 |
+
settingsForm.classList.remove('--saving');
|
65 |
+
console.log(alm_admin_localize.ajax_load_more +' - '+ alm_admin_localize.settings_error);
|
66 |
+
savingSettings = false;
|
67 |
+
|
68 |
+
setTimeout(function(){
|
69 |
+
settingsTarget.classList.remove('--error');
|
70 |
+
}, 2500);
|
71 |
+
|
72 |
+
}, 1000);
|
73 |
+
}
|
74 |
+
});
|
75 |
+
return false;
|
76 |
+
|
77 |
+
};
|
78 |
+
|
79 |
+
// On Change, save the settings
|
80 |
+
let settingsTimer;
|
81 |
+
$(document).on('change', '#alm_OptionsForm input, #alm_OptionsForm textarea, #alm_OptionsForm select', function(){
|
82 |
+
|
83 |
+
// Set a timer to avoid updating settings to frequently
|
84 |
+
if(settingsTimer) clearTimeout(settingsTimer);
|
85 |
+
settingsTimer = setTimeout(function(){
|
86 |
+
_alm.saveSettings();
|
87 |
+
}, 500);
|
88 |
+
|
89 |
+
});
|
90 |
+
|
91 |
+
|
92 |
|
93 |
|
94 |
/*
|
156 |
|
157 |
if(!el.hasClass('active')){
|
158 |
el.parent().addClass('active').siblings().removeClass('active');
|
159 |
+
$('.alm-template-toggle', parent).hide();
|
160 |
$('.alm-template-toggle', parent).eq(index).show();
|
161 |
}
|
162 |
});
|
172 |
|
173 |
_alm.copyToClipboard = function(text) {
|
174 |
window.prompt ("Copy link to your clipboard: Press Ctrl + C then hit Enter to copy.", text);
|
175 |
+
};
|
176 |
|
177 |
// Copy link on shortcode builder
|
178 |
$('.output-wrap .copy').click(function(){
|
273 |
|
274 |
//console.log(data);
|
275 |
|
276 |
+
if(data.msg){
|
277 |
+
$('.license-btn-wrap', parent).append('<div class="msg">'+data.msg+'</div>');
|
278 |
}
|
279 |
|
280 |
+
if(data.license === 'valid'){
|
281 |
$('.license-key-field .status', parent).addClass('active').removeClass('inactive').text(alm_admin_localize.active);
|
282 |
$('.license-title .status', parent).addClass('valid').removeClass('invalid');
|
283 |
$('.activate.license-btn', parent).addClass('hide');
|
315 |
*/
|
316 |
$(document).on('click', '.alm-layout-selection li a.layout', function(e){
|
317 |
e.preventDefault();
|
318 |
+
var el = $(this),
|
319 |
type = el.data('type'),
|
320 |
custom = (el.hasClass('custom')) ? 'true' : 'false',
|
321 |
textarea = el.closest('.repeater-wrap').find('.CodeMirror'),
|
327 |
el.addClass('updating').text(alm_admin_localize.applying_layout+"...");
|
328 |
textarea.addClass('loading');
|
329 |
|
330 |
+
// Get Codemirror Editor ID
|
331 |
var eid = '';
|
332 |
+
if(name === 'default'){
|
333 |
+
// Default Template
|
334 |
+
eid = window.editorDefault;
|
335 |
+
}else{
|
336 |
+
// Repeater Templates
|
337 |
+
eid = window['editor_'+name];
|
338 |
}
|
339 |
|
340 |
// Get value from Ajax
|
435 |
function equalheight(container){
|
436 |
|
437 |
var currentTallest = 0,
|
438 |
+
currentRowStart = 0,
|
439 |
+
rowDivs = [],
|
440 |
+
$el,
|
441 |
+
topPosition = 0;
|
442 |
+
|
443 |
$(container).each(function() {
|
|
|
444 |
$el = $(this);
|
445 |
+
$($el).height('auto');
|
446 |
topPosition = $el.position().top;
|
447 |
|
448 |
if (currentRowStart != topPosition) {
|
457 |
rowDivs.push($el);
|
458 |
currentTallest = (currentTallest < $el.height()) ? ($el.height()) : (currentTallest);
|
459 |
}
|
460 |
+
for (var currentDivs = 0 ; currentDivs < rowDivs.length ; currentDivs++) {
|
461 |
+
rowDivs[currentDivs].height(currentTallest);
|
462 |
}
|
463 |
});
|
464 |
}
|
admin/{js → src/js}/libs/jquery.drops.js
RENAMED
File without changes
|
admin/{js → src/js}/libs/jquery.tooltipster.min.js
RENAMED
File without changes
|
admin/{js → src/js}/libs/select2.min.js
RENAMED
File without changes
|
admin/{css/admin.css → src/scss/admin.scss}
RENAMED
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
/* Custom buttom/loading styles */
|
3 |
.select2-results .select2-result.alm-color .select2-result-label{
|
@@ -5,14 +11,14 @@
|
|
5 |
}
|
6 |
.select2-results .select2-result.alm-color .select2-result-label:after{
|
7 |
width: 10px;
|
8 |
-
height: 10px;
|
9 |
border-radius: 100%;
|
10 |
content: '';
|
11 |
display: block;
|
12 |
position: absolute;
|
13 |
right: 20px;
|
14 |
top: 50%;
|
15 |
-
margin-top: -5px;
|
16 |
z-index: 1;
|
17 |
}
|
18 |
.select2-results .select2-result.alm-color.default .select2-result-label:after{
|
@@ -30,7 +36,6 @@
|
|
30 |
.select2-results .select2-result.alm-color.grey .select2-result-label:after{
|
31 |
background-color: #888;
|
32 |
}
|
33 |
-
|
34 |
.select2-results .select2-result.infinite .select2-result-label:after{
|
35 |
display: none;
|
36 |
}
|
@@ -42,25 +47,25 @@
|
|
42 |
background-position: 93% center;
|
43 |
}
|
44 |
.select2-results .select2-result.classic .select2-result-label{
|
45 |
-
background-image: url("
|
46 |
}
|
47 |
.select2-results .select2-result.skype .select2-result-label{
|
48 |
-
background-image: url("
|
49 |
}
|
50 |
.select2-results .select2-result.ring .select2-result-label{
|
51 |
-
background-image: url("
|
52 |
}
|
53 |
.select2-results .select2-result.chasing-arrows .select2-result-label{
|
54 |
-
background-image: url("
|
55 |
}
|
56 |
.select2-results .select2-result.fading-blocks .select2-result-label{
|
57 |
-
background-image: url("
|
58 |
-webkit-background-size: 20px 16px;
|
59 |
-moz-background-size: 20px 16px;
|
60 |
background-size: 20px 16px;
|
61 |
}
|
62 |
.select2-results .select2-result.fading-circles .select2-result-label{
|
63 |
-
background-image: url("
|
64 |
-webkit-background-size: 30px 10px;
|
65 |
-moz-background-size: 30px 10px;
|
66 |
background-size: 30px 10px;
|
@@ -68,7 +73,6 @@
|
|
68 |
}
|
69 |
|
70 |
|
71 |
-
|
72 |
/*
|
73 |
* Admin - Popup Generator
|
74 |
*
|
@@ -101,16 +105,13 @@
|
|
101 |
-moz-box-shadow: none;
|
102 |
box-shadow: none;
|
103 |
}
|
104 |
-
|
105 |
.ajax-load-more img{
|
106 |
max-width: 100%;
|
107 |
}
|
108 |
-
|
109 |
#alm-container{
|
110 |
overflow: hidden;
|
111 |
padding: 15px 10px 140px !important;
|
112 |
}
|
113 |
-
|
114 |
#alm-settings .admin-select{
|
115 |
width: 100%;
|
116 |
display: block;
|
@@ -123,6 +124,9 @@
|
|
123 |
display: inline-block;
|
124 |
vertical-align: top;
|
125 |
}
|
|
|
|
|
|
|
126 |
#alm-settings .row.alm-save-settings{
|
127 |
padding-bottom: 5px !important;
|
128 |
}
|
@@ -132,9 +136,9 @@
|
|
132 |
border: 1px solid #efefef;
|
133 |
border-bottom: none;
|
134 |
padding: 20px 20px 6px;
|
135 |
-
margin:
|
136 |
font-weight: 600;
|
137 |
-
font-size:
|
138 |
border-radius: 2px 2px 0 0;
|
139 |
}
|
140 |
#alm-settings form h2:first-of-type{
|
@@ -307,7 +311,7 @@ a.layout-hover{
|
|
307 |
border:1px solid #e1e1e1;
|
308 |
color: #777;
|
309 |
cursor: pointer;
|
310 |
-
z-index:
|
311 |
}
|
312 |
#alm-container.ajax-load-more .toggle-all{
|
313 |
display: none;
|
@@ -349,6 +353,10 @@ a.layout-hover{
|
|
349 |
.ajax-load-more .toggle-all.closed .inner-wrap:before{
|
350 |
content:'\f067';
|
351 |
}
|
|
|
|
|
|
|
|
|
352 |
|
353 |
|
354 |
.ajax-load-more ul{
|
@@ -449,6 +457,7 @@ a.layout-hover{
|
|
449 |
border: 1px solid #efefef;
|
450 |
margin: 20px 0 0;
|
451 |
position: relative;
|
|
|
452 |
}
|
453 |
.meta-query-wrap.removing,
|
454 |
.taxonomy-wrap.removing{
|
@@ -479,26 +488,24 @@ a.layout-hover{
|
|
479 |
.meta-query-wrap .remove-meta-query,
|
480 |
.taxonomy-wrap .remove-tax-query{
|
481 |
position: absolute;
|
482 |
-
right:
|
483 |
-
top:
|
484 |
-
width:
|
485 |
-
height:
|
486 |
-
line-height:
|
487 |
-
text-align: center;
|
488 |
-
font-weight:
|
489 |
-
font-size:
|
490 |
-
background-color:
|
491 |
color: #666;
|
492 |
text-decoration: none;
|
493 |
-
border:
|
494 |
-
|
495 |
-
|
496 |
-
}
|
497 |
-
.meta-query-wrap .remove-meta-query:hover,
|
498 |
-
.taxonomy-wrap .remove-tax-query:hover{
|
499 |
background-color: #cb2222;
|
500 |
color: #fff;
|
501 |
}
|
|
|
502 |
|
503 |
.ajax-load-more .meta-query-wrap .border-top:first-of-type{
|
504 |
padding: 0 0 0 !important;
|
@@ -1122,11 +1129,16 @@ a.layout-hover{
|
|
1122 |
.form-table label + textarea{
|
1123 |
margin-top: 10px;
|
1124 |
}
|
1125 |
-
.form-table label span
|
|
|
1126 |
font-size: 13px;
|
1127 |
color: #999;
|
1128 |
-
padding-top:
|
1129 |
-
|
|
|
|
|
|
|
|
|
1130 |
}
|
1131 |
|
1132 |
.form-table .template-tags{
|
@@ -1250,8 +1262,8 @@ a.layout-hover{
|
|
1250 |
padding-left: 60px;
|
1251 |
min-height: 48px;
|
1252 |
padding-top: 0;
|
1253 |
-
background: url(
|
1254 |
-
background: url(
|
1255 |
}
|
1256 |
.ajax-load-more .header-wrap h1 em{
|
1257 |
display: block;
|
@@ -1367,7 +1379,7 @@ p.loading{
|
|
1367 |
.saved-response.loading,
|
1368 |
p.loading,
|
1369 |
.alm-dropdown ul li a.updating{
|
1370 |
-
background: url("
|
1371 |
padding-left: 24px;
|
1372 |
}
|
1373 |
|
@@ -1448,6 +1460,11 @@ table.highlight{
|
|
1448 |
border: 1px solid #efefef;
|
1449 |
margin: 0 0 25px;
|
1450 |
}
|
|
|
|
|
|
|
|
|
|
|
1451 |
|
1452 |
.ajax-load-more .cnkt-main .group a.dismiss{
|
1453 |
position: absolute;
|
@@ -1768,7 +1785,7 @@ table.highlight{
|
|
1768 |
top: 0;
|
1769 |
width: 100%;
|
1770 |
height: 100%;
|
1771 |
-
background: rgba(255, 255, 255, 0.6) url("
|
1772 |
z-index: 9;
|
1773 |
display: none;
|
1774 |
}
|
@@ -2000,8 +2017,8 @@ table.highlight{
|
|
2000 |
|
2001 |
|
2002 |
.ajax-load-more .cnkt-sidebar a.visit{
|
2003 |
-
background: #
|
2004 |
-
padding:
|
2005 |
position: absolute;
|
2006 |
bottom: 0;
|
2007 |
left: 0;
|
@@ -2016,17 +2033,17 @@ table.highlight{
|
|
2016 |
border-radius: 0 0 2px 2px;
|
2017 |
}
|
2018 |
.ajax-load-more .cnkt-sidebar a.visit i{
|
2019 |
-
font-size:
|
2020 |
opacity: 0.6;
|
2021 |
margin: 0 5px 0 0;
|
2022 |
position: absolute;
|
2023 |
-
top:
|
2024 |
left: 18px;
|
2025 |
display: inline-block;
|
2026 |
}
|
2027 |
.ajax-load-more .cnkt-sidebar a.visit:hover,
|
2028 |
.ajax-load-more .cnkt-sidebar a.visit:focus{
|
2029 |
-
background: #
|
2030 |
}
|
2031 |
.ajax-load-more .cnkt-sidebar a.visit:hover i{
|
2032 |
opacity: 1;
|
@@ -2098,7 +2115,7 @@ table.highlight{
|
|
2098 |
margin: 0 0 10px;
|
2099 |
}
|
2100 |
.ajax-load-more .CodeMirror.loading {
|
2101 |
-
background: #f7f7f7 url("
|
2102 |
opacity: 0.6;
|
2103 |
}
|
2104 |
|
@@ -2182,7 +2199,7 @@ table.highlight{
|
|
2182 |
}
|
2183 |
|
2184 |
.admin.ajax-load-more .row.unlimited.deleting{ /* Deleting Row */
|
2185 |
-
background: #fff url("
|
2186 |
border-color: #fff;
|
2187 |
opacity: 0.4;
|
2188 |
}
|
@@ -2190,7 +2207,7 @@ table.highlight{
|
|
2190 |
background-image: none !important;
|
2191 |
}
|
2192 |
.admin.ajax-load-more .row.unlimited.new{ /* New Row */
|
2193 |
-
background: url("
|
2194 |
border-color: #efefef !important;
|
2195 |
min-height: 60px;
|
2196 |
display: none;
|
@@ -2403,7 +2420,7 @@ table.highlight{
|
|
2403 |
|
2404 |
.alm-dir-listing.deleting{
|
2405 |
opacity: 0.5;
|
2406 |
-
background: #fff url("
|
2407 |
}
|
2408 |
|
2409 |
.alm-dir-listing .dir-title{
|
@@ -2463,7 +2480,7 @@ table.highlight{
|
|
2463 |
overflow: hidden;
|
2464 |
width: 47%;
|
2465 |
font-size: 14px;
|
2466 |
-
background: transparent url(
|
2467 |
}
|
2468 |
.alm-dir-listing.theme-repeaters ul li{
|
2469 |
display: block;
|
@@ -2477,10 +2494,10 @@ table.highlight{
|
|
2477 |
|
2478 |
.alm-dir-listing ul li:last-child,
|
2479 |
.alm-dir-listing ul li:nth-last-child(2){
|
2480 |
-
background-image: url(
|
2481 |
}
|
2482 |
.alm-dir-listing.theme-repeaters ul li:nth-last-child(2){
|
2483 |
-
background: transparent url(
|
2484 |
}
|
2485 |
.alm-dir-listing ul li a{
|
2486 |
text-decoration: none;
|
@@ -2625,7 +2642,7 @@ form#delete-all-cache{
|
|
2625 |
.ajax-load-more .form-table input[type=checkbox] + label,
|
2626 |
.shortcode-builder input[type=radio] + label,
|
2627 |
.ajax-load-more .form-table input[type=radio] + label{
|
2628 |
-
background: #fff url('
|
2629 |
height: auto;
|
2630 |
min-height: 22px;
|
2631 |
width: 100%;
|
@@ -2638,28 +2655,28 @@ form#delete-all-cache{
|
|
2638 |
}
|
2639 |
.shortcode-builder input[type=radio] + label,
|
2640 |
.ajax-load-more .form-table input[type=radio] + label{
|
2641 |
-
background: #fff url('
|
2642 |
}
|
2643 |
|
2644 |
.shortcode-builder input[type=checkbox]:hover + label,
|
2645 |
.ajax-load-more .form-table input[type=checkbox]:hover + label{ /* hover */
|
2646 |
-
background-image: url('
|
2647 |
}
|
2648 |
|
2649 |
.shortcode-builder input[type=radio]:hover + label,
|
2650 |
.ajax-load-more .form-table input[type=radio]:hover + label{ /* hover */
|
2651 |
-
background-image: url('
|
2652 |
}
|
2653 |
|
2654 |
.shortcode-builder input[type=checkbox]:checked + label,
|
2655 |
.ajax-load-more .form-table input[type=checkbox]:checked + label{ /* selected */
|
2656 |
-
background-image: url('
|
2657 |
color: #000;
|
2658 |
}
|
2659 |
|
2660 |
.shortcode-builder input[type=radio]:checked + label,
|
2661 |
.ajax-load-more .form-table input[type=radio]:checked + label{ /* selected */
|
2662 |
-
background-image: url('
|
2663 |
color: #000;
|
2664 |
}
|
2665 |
|
@@ -2707,9 +2724,23 @@ form#delete-all-cache{
|
|
2707 |
font-size: 20px;
|
2708 |
}
|
2709 |
#alm-shortcode-builder-form .shortcode-parameter-wrap:first-of-type{
|
2710 |
-
margin-top: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2711 |
}
|
2712 |
-
|
2713 |
|
2714 |
/*
|
2715 |
* Repeater Template options dropdown
|
@@ -2830,19 +2861,19 @@ form#delete-all-cache{
|
|
2830 |
border: 1px solid transparent;
|
2831 |
}
|
2832 |
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-1{
|
2833 |
-
background-image: url('
|
2834 |
}
|
2835 |
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-2{
|
2836 |
-
background-image: url('
|
2837 |
}
|
2838 |
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-3{
|
2839 |
-
background-image: url('
|
2840 |
width: 36px;
|
2841 |
}
|
2842 |
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-1.updating,
|
2843 |
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-2.updating,
|
2844 |
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-3.updating{
|
2845 |
-
background-image: url("
|
2846 |
padding: 0 !important;
|
2847 |
}
|
2848 |
.alm-drop-btn.alm-layout-selection li.type .col-select a:hover,
|
@@ -3515,10 +3546,6 @@ ul.share li.facebook a:hover{
|
|
3515 |
margin: 10px 0 20px;
|
3516 |
width: 100%;
|
3517 |
}
|
3518 |
-
|
3519 |
-
.admin.ajax-load-more.settings .form-table th{
|
3520 |
-
/* padding-left: 0; */
|
3521 |
-
}
|
3522 |
.admin.ajax-load-more.settings .form-table td{
|
3523 |
padding: 24px 17px 20px
|
3524 |
}
|
@@ -3600,7 +3627,7 @@ ul.share li.facebook a:hover{
|
|
3600 |
padding: 10px;
|
3601 |
}
|
3602 |
|
3603 |
-
#alm-add-ons .group{
|
3604 |
width: 100%;
|
3605 |
display: block;
|
3606 |
margin: 0 0 2% 0;
|
1 |
+
@import 'libs/tooltipster';
|
2 |
+
@import 'libs/select2';
|
3 |
+
@import '//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css';
|
4 |
+
|
5 |
+
@import 'partials/alm-settings-feedback';
|
6 |
+
|
7 |
|
8 |
/* Custom buttom/loading styles */
|
9 |
.select2-results .select2-result.alm-color .select2-result-label{
|
11 |
}
|
12 |
.select2-results .select2-result.alm-color .select2-result-label:after{
|
13 |
width: 10px;
|
14 |
+
height: 10px;
|
15 |
border-radius: 100%;
|
16 |
content: '';
|
17 |
display: block;
|
18 |
position: absolute;
|
19 |
right: 20px;
|
20 |
top: 50%;
|
21 |
+
margin-top: -5px;
|
22 |
z-index: 1;
|
23 |
}
|
24 |
.select2-results .select2-result.alm-color.default .select2-result-label:after{
|
36 |
.select2-results .select2-result.alm-color.grey .select2-result-label:after{
|
37 |
background-color: #888;
|
38 |
}
|
|
|
39 |
.select2-results .select2-result.infinite .select2-result-label:after{
|
40 |
display: none;
|
41 |
}
|
47 |
background-position: 93% center;
|
48 |
}
|
49 |
.select2-results .select2-result.classic .select2-result-label{
|
50 |
+
background-image: url("../../../core/img/spinner.gif");
|
51 |
}
|
52 |
.select2-results .select2-result.skype .select2-result-label{
|
53 |
+
background-image: url("../../../core/img/spinner-skype.gif");
|
54 |
}
|
55 |
.select2-results .select2-result.ring .select2-result-label{
|
56 |
+
background-image: url("../../../core/img/spinner-ring.gif");
|
57 |
}
|
58 |
.select2-results .select2-result.chasing-arrows .select2-result-label{
|
59 |
+
background-image: url("../../../core/img/spinner-chasing-arrows.gif");
|
60 |
}
|
61 |
.select2-results .select2-result.fading-blocks .select2-result-label{
|
62 |
+
background-image: url("../../../core/img/loader-fading-blocks.gif");
|
63 |
-webkit-background-size: 20px 16px;
|
64 |
-moz-background-size: 20px 16px;
|
65 |
background-size: 20px 16px;
|
66 |
}
|
67 |
.select2-results .select2-result.fading-circles .select2-result-label{
|
68 |
+
background-image: url("../../../core/img/loader-fading-circles.gif");
|
69 |
-webkit-background-size: 30px 10px;
|
70 |
-moz-background-size: 30px 10px;
|
71 |
background-size: 30px 10px;
|
73 |
}
|
74 |
|
75 |
|
|
|
76 |
/*
|
77 |
* Admin - Popup Generator
|
78 |
*
|
105 |
-moz-box-shadow: none;
|
106 |
box-shadow: none;
|
107 |
}
|
|
|
108 |
.ajax-load-more img{
|
109 |
max-width: 100%;
|
110 |
}
|
|
|
111 |
#alm-container{
|
112 |
overflow: hidden;
|
113 |
padding: 15px 10px 140px !important;
|
114 |
}
|
|
|
115 |
#alm-settings .admin-select{
|
116 |
width: 100%;
|
117 |
display: block;
|
124 |
display: inline-block;
|
125 |
vertical-align: top;
|
126 |
}
|
127 |
+
|
128 |
+
/* Saved Settings */
|
129 |
+
|
130 |
#alm-settings .row.alm-save-settings{
|
131 |
padding-bottom: 5px !important;
|
132 |
}
|
136 |
border: 1px solid #efefef;
|
137 |
border-bottom: none;
|
138 |
padding: 20px 20px 6px;
|
139 |
+
margin: 20px 0 0;
|
140 |
font-weight: 600;
|
141 |
+
font-size: 18px;
|
142 |
border-radius: 2px 2px 0 0;
|
143 |
}
|
144 |
#alm-settings form h2:first-of-type{
|
311 |
border:1px solid #e1e1e1;
|
312 |
color: #777;
|
313 |
cursor: pointer;
|
314 |
+
z-index: 20;
|
315 |
}
|
316 |
#alm-container.ajax-load-more .toggle-all{
|
317 |
display: none;
|
353 |
.ajax-load-more .toggle-all.closed .inner-wrap:before{
|
354 |
content:'\f067';
|
355 |
}
|
356 |
+
|
357 |
+
#alm-builder * {
|
358 |
+
font-family: -apple-system,BlinkMacSystemFont, "Segoe UI", Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
|
359 |
+
}
|
360 |
|
361 |
|
362 |
.ajax-load-more ul{
|
457 |
border: 1px solid #efefef;
|
458 |
margin: 20px 0 0;
|
459 |
position: relative;
|
460 |
+
border-radius: 2px;
|
461 |
}
|
462 |
.meta-query-wrap.removing,
|
463 |
.taxonomy-wrap.removing{
|
488 |
.meta-query-wrap .remove-meta-query,
|
489 |
.taxonomy-wrap .remove-tax-query{
|
490 |
position: absolute;
|
491 |
+
right: 7px;
|
492 |
+
top: 7px;
|
493 |
+
width: 24px;
|
494 |
+
height: 24px;
|
495 |
+
line-height: 24px;
|
496 |
+
text-align: center;
|
497 |
+
font-weight: 400;
|
498 |
+
font-size: 17px;
|
499 |
+
background-color: transparent;
|
500 |
color: #666;
|
501 |
text-decoration: none;
|
502 |
+
border-radius: 2px;
|
503 |
+
&:hover,
|
504 |
+
&:hover{
|
|
|
|
|
|
|
505 |
background-color: #cb2222;
|
506 |
color: #fff;
|
507 |
}
|
508 |
+
}
|
509 |
|
510 |
.ajax-load-more .meta-query-wrap .border-top:first-of-type{
|
511 |
padding: 0 0 0 !important;
|
1129 |
.form-table label + textarea{
|
1130 |
margin-top: 10px;
|
1131 |
}
|
1132 |
+
.form-table label span,
|
1133 |
+
#alm-shortcode-builder-form label span.description{
|
1134 |
font-size: 13px;
|
1135 |
color: #999;
|
1136 |
+
padding-top: 10px;
|
1137 |
+
}
|
1138 |
+
#alm-shortcode-builder-form label span.description{
|
1139 |
+
display: block;
|
1140 |
+
padding-top: 5px;
|
1141 |
+
padding-bottom: 5px;
|
1142 |
}
|
1143 |
|
1144 |
.form-table .template-tags{
|
1262 |
padding-left: 60px;
|
1263 |
min-height: 48px;
|
1264 |
padding-top: 0;
|
1265 |
+
background: url('../../img/alm-logo-48x48.png') no-repeat left 0;
|
1266 |
+
background: url('../../img/alm-logo-48x48.svg') no-repeat left 0;
|
1267 |
}
|
1268 |
.ajax-load-more .header-wrap h1 em{
|
1269 |
display: block;
|
1379 |
.saved-response.loading,
|
1380 |
p.loading,
|
1381 |
.alm-dropdown ul li a.updating{
|
1382 |
+
background: url("../../img/loader.gif") no-repeat left center;
|
1383 |
padding-left: 24px;
|
1384 |
}
|
1385 |
|
1460 |
border: 1px solid #efefef;
|
1461 |
margin: 0 0 25px;
|
1462 |
}
|
1463 |
+
#alm_OptionsForm{
|
1464 |
+
.form-table:last-of-type{
|
1465 |
+
margin-bottom: 0;
|
1466 |
+
}
|
1467 |
+
}
|
1468 |
|
1469 |
.ajax-load-more .cnkt-main .group a.dismiss{
|
1470 |
position: absolute;
|
1785 |
top: 0;
|
1786 |
width: 100%;
|
1787 |
height: 100%;
|
1788 |
+
background: rgba(255, 255, 255, 0.6) url("../../img/loader.gif") no-repeat center center;
|
1789 |
z-index: 9;
|
1790 |
display: none;
|
1791 |
}
|
2017 |
|
2018 |
|
2019 |
.ajax-load-more .cnkt-sidebar a.visit{
|
2020 |
+
background: #ed7070;
|
2021 |
+
padding: 17px 20px 18px 44px;
|
2022 |
position: absolute;
|
2023 |
bottom: 0;
|
2024 |
left: 0;
|
2033 |
border-radius: 0 0 2px 2px;
|
2034 |
}
|
2035 |
.ajax-load-more .cnkt-sidebar a.visit i{
|
2036 |
+
font-size: 21px;
|
2037 |
opacity: 0.6;
|
2038 |
margin: 0 5px 0 0;
|
2039 |
position: absolute;
|
2040 |
+
top: 13px;
|
2041 |
left: 18px;
|
2042 |
display: inline-block;
|
2043 |
}
|
2044 |
.ajax-load-more .cnkt-sidebar a.visit:hover,
|
2045 |
.ajax-load-more .cnkt-sidebar a.visit:focus{
|
2046 |
+
background: #f06060;
|
2047 |
}
|
2048 |
.ajax-load-more .cnkt-sidebar a.visit:hover i{
|
2049 |
opacity: 1;
|
2115 |
margin: 0 0 10px;
|
2116 |
}
|
2117 |
.ajax-load-more .CodeMirror.loading {
|
2118 |
+
background: #f7f7f7 url("../../img/loader-unlimited.gif") no-repeat center center;
|
2119 |
opacity: 0.6;
|
2120 |
}
|
2121 |
|
2199 |
}
|
2200 |
|
2201 |
.admin.ajax-load-more .row.unlimited.deleting{ /* Deleting Row */
|
2202 |
+
background: #fff url("../../img/loader-unlimited.gif") no-repeat center center;
|
2203 |
border-color: #fff;
|
2204 |
opacity: 0.4;
|
2205 |
}
|
2207 |
background-image: none !important;
|
2208 |
}
|
2209 |
.admin.ajax-load-more .row.unlimited.new{ /* New Row */
|
2210 |
+
background: url("../../img/loader-unlimited.gif") no-repeat center center;
|
2211 |
border-color: #efefef !important;
|
2212 |
min-height: 60px;
|
2213 |
display: none;
|
2420 |
|
2421 |
.alm-dir-listing.deleting{
|
2422 |
opacity: 0.5;
|
2423 |
+
background: #fff url("../../img/loader-unlimited.gif") no-repeat center center;
|
2424 |
}
|
2425 |
|
2426 |
.alm-dir-listing .dir-title{
|
2480 |
overflow: hidden;
|
2481 |
width: 47%;
|
2482 |
font-size: 14px;
|
2483 |
+
background: transparent url(../../img/directory-list.gif) no-repeat left center;
|
2484 |
}
|
2485 |
.alm-dir-listing.theme-repeaters ul li{
|
2486 |
display: block;
|
2494 |
|
2495 |
.alm-dir-listing ul li:last-child,
|
2496 |
.alm-dir-listing ul li:nth-last-child(2){
|
2497 |
+
background-image: url(../../img/directory-list-btm.gif);
|
2498 |
}
|
2499 |
.alm-dir-listing.theme-repeaters ul li:nth-last-child(2){
|
2500 |
+
background: transparent url(../../img/directory-list.gif) no-repeat left center;
|
2501 |
}
|
2502 |
.alm-dir-listing ul li a{
|
2503 |
text-decoration: none;
|
2642 |
.ajax-load-more .form-table input[type=checkbox] + label,
|
2643 |
.shortcode-builder input[type=radio] + label,
|
2644 |
.ajax-load-more .form-table input[type=radio] + label{
|
2645 |
+
background: #fff url('../../img/bkg-chkbox_off.png') no-repeat left 1px;
|
2646 |
height: auto;
|
2647 |
min-height: 22px;
|
2648 |
width: 100%;
|
2655 |
}
|
2656 |
.shortcode-builder input[type=radio] + label,
|
2657 |
.ajax-load-more .form-table input[type=radio] + label{
|
2658 |
+
background: #fff url('../../img/bkg-radio_off.png') no-repeat left 1px;
|
2659 |
}
|
2660 |
|
2661 |
.shortcode-builder input[type=checkbox]:hover + label,
|
2662 |
.ajax-load-more .form-table input[type=checkbox]:hover + label{ /* hover */
|
2663 |
+
background-image: url('../../img/bkg-chkbox_on.png');
|
2664 |
}
|
2665 |
|
2666 |
.shortcode-builder input[type=radio]:hover + label,
|
2667 |
.ajax-load-more .form-table input[type=radio]:hover + label{ /* hover */
|
2668 |
+
background-image: url('../../img/bkg-radio_on.png');
|
2669 |
}
|
2670 |
|
2671 |
.shortcode-builder input[type=checkbox]:checked + label,
|
2672 |
.ajax-load-more .form-table input[type=checkbox]:checked + label{ /* selected */
|
2673 |
+
background-image: url('../../img/bkg-chkbox_selected.png');
|
2674 |
color: #000;
|
2675 |
}
|
2676 |
|
2677 |
.shortcode-builder input[type=radio]:checked + label,
|
2678 |
.ajax-load-more .form-table input[type=radio]:checked + label{ /* selected */
|
2679 |
+
background-image: url('../../img/bkg-radio_selected.png');
|
2680 |
color: #000;
|
2681 |
}
|
2682 |
|
2724 |
font-size: 20px;
|
2725 |
}
|
2726 |
#alm-shortcode-builder-form .shortcode-parameter-wrap:first-of-type{
|
2727 |
+
margin-top: 0;
|
2728 |
+
}
|
2729 |
+
|
2730 |
+
.progress_bar_color_indicator{
|
2731 |
+
position: absolute;
|
2732 |
+
left: 11px;
|
2733 |
+
top: 9px;
|
2734 |
+
width: 0;
|
2735 |
+
height: 0;
|
2736 |
+
padding: 11px;
|
2737 |
+
border-radius: 2px;
|
2738 |
+
z-index: 1;
|
2739 |
+
display: block;
|
2740 |
+
background-color: #ed7070;
|
2741 |
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
|
2742 |
}
|
2743 |
+
|
2744 |
|
2745 |
/*
|
2746 |
* Repeater Template options dropdown
|
2861 |
border: 1px solid transparent;
|
2862 |
}
|
2863 |
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-1{
|
2864 |
+
background-image: url('../../img/column-1.png');
|
2865 |
}
|
2866 |
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-2{
|
2867 |
+
background-image: url('../../img/column-2.png');
|
2868 |
}
|
2869 |
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-3{
|
2870 |
+
background-image: url('../../img/column-3.png');
|
2871 |
width: 36px;
|
2872 |
}
|
2873 |
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-1.updating,
|
2874 |
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-2.updating,
|
2875 |
.alm-drop-btn.alm-layout-selection li.type .col-select a.column-3.updating{
|
2876 |
+
background-image: url("../../img/loader.gif");
|
2877 |
padding: 0 !important;
|
2878 |
}
|
2879 |
.alm-drop-btn.alm-layout-selection li.type .col-select a:hover,
|
3546 |
margin: 10px 0 20px;
|
3547 |
width: 100%;
|
3548 |
}
|
|
|
|
|
|
|
|
|
3549 |
.admin.ajax-load-more.settings .form-table td{
|
3550 |
padding: 24px 17px 20px
|
3551 |
}
|
3627 |
padding: 10px;
|
3628 |
}
|
3629 |
|
3630 |
+
#alm-add-ons .group{
|
3631 |
width: 100%;
|
3632 |
display: block;
|
3633 |
margin: 0 0 2% 0;
|
admin/{css/select2.css → src/scss/libs/select2.scss}
RENAMED
@@ -128,7 +128,7 @@
|
|
128 |
display: block;
|
129 |
width: 100%;
|
130 |
height: 100%;
|
131 |
-
background: #fff url("
|
132 |
}
|
133 |
|
134 |
.select2-dropdown-open.select2-container-active div b {
|
@@ -152,7 +152,7 @@
|
|
152 |
-webkit-box-shadow: none !important;
|
153 |
-moz-box-shadow: none !important;
|
154 |
box-shadow: none !important;
|
155 |
-
background: url("
|
156 |
}
|
157 |
|
158 |
/* Multi select box */
|
@@ -191,7 +191,7 @@
|
|
191 |
position: relative;
|
192 |
}
|
193 |
#alm-builder ul.select2-choices .select2-input{
|
194 |
-
background: #f7f7f7 url("
|
195 |
}
|
196 |
#alm-builder ul.select2-choices li.select2-search-choice a{
|
197 |
position: absolute;
|
@@ -199,7 +199,7 @@
|
|
199 |
top: 5px;
|
200 |
width: 13px;
|
201 |
height: 13px;
|
202 |
-
background: #999 url("
|
203 |
color: #fff;
|
204 |
display: block;
|
205 |
border-radius: 2px;
|
128 |
display: block;
|
129 |
width: 100%;
|
130 |
height: 100%;
|
131 |
+
background: #fff url("../../img/bkg-select.png") no-repeat center center;
|
132 |
}
|
133 |
|
134 |
.select2-dropdown-open.select2-container-active div b {
|
152 |
-webkit-box-shadow: none !important;
|
153 |
-moz-box-shadow: none !important;
|
154 |
box-shadow: none !important;
|
155 |
+
background: url("../../img/select2.png") no-repeat scroll 100% -22px !important;
|
156 |
}
|
157 |
|
158 |
/* Multi select box */
|
191 |
position: relative;
|
192 |
}
|
193 |
#alm-builder ul.select2-choices .select2-input{
|
194 |
+
background: #f7f7f7 url("../../img/bkg-select.png") no-repeat right center;
|
195 |
}
|
196 |
#alm-builder ul.select2-choices li.select2-search-choice a{
|
197 |
position: absolute;
|
199 |
top: 5px;
|
200 |
width: 13px;
|
201 |
height: 13px;
|
202 |
+
background: #999 url("../../img/ico-close.png") no-repeat center center;
|
203 |
color: #fff;
|
204 |
display: block;
|
205 |
border-radius: 2px;
|
admin/{css/tooltipster/tooltipster.css → src/scss/libs/tooltipster.scss}
RENAMED
File without changes
|
admin/src/scss/partials/_alm-settings-feedback.scss
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.alm-settings-feedback{
|
2 |
+
position: fixed;
|
3 |
+
bottom: 20px;
|
4 |
+
right: 20px;
|
5 |
+
width: auto;
|
6 |
+
height: auto;
|
7 |
+
background: #5cc583;
|
8 |
+
color: #fff;
|
9 |
+
padding: 15px 20px 15px 15px;
|
10 |
+
line-height: 1;
|
11 |
+
z-index: 999;
|
12 |
+
border-radius: 2px;
|
13 |
+
opacity: 0;
|
14 |
+
visibility: hidden;
|
15 |
+
transition: all 0.2s ease;
|
16 |
+
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
|
17 |
+
&.--saving{
|
18 |
+
background-color: #e0bd5e;
|
19 |
+
opacity: 1;
|
20 |
+
visibility: visible;
|
21 |
+
}
|
22 |
+
&.--saved{
|
23 |
+
opacity: 1;
|
24 |
+
visibility: visible;
|
25 |
+
}
|
26 |
+
&.--error{
|
27 |
+
background-color: #e03e3e;
|
28 |
+
opacity: 1;
|
29 |
+
visibility: visible;
|
30 |
+
}
|
31 |
+
i{
|
32 |
+
opacity: 0.7;
|
33 |
+
margin: 0 3px 0 0;
|
34 |
+
}
|
35 |
+
}
|
36 |
+
|
37 |
+
#alm_OptionsForm{
|
38 |
+
position: relative;
|
39 |
+
.save-in-progress{
|
40 |
+
width: 100%;
|
41 |
+
height: 100%;
|
42 |
+
position: absolute;
|
43 |
+
left: 0;
|
44 |
+
top: 0;
|
45 |
+
z-index: 10;
|
46 |
+
background: rgba(255, 255, 255, 0.5);
|
47 |
+
transition: all 0.2s ease;
|
48 |
+
opacity: 0;
|
49 |
+
visibility: hidden;
|
50 |
+
}
|
51 |
+
&.--saving{
|
52 |
+
.save-in-progress{
|
53 |
+
opacity: 1;
|
54 |
+
visibility: visible;
|
55 |
+
cursor: not-allowed !important;
|
56 |
+
}
|
57 |
+
}
|
58 |
+
}
|
admin/views/settings.php
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
<div class="admin ajax-load-more settings" id="alm-settings">
|
2 |
<div class="wrap">
|
3 |
|
@@ -75,23 +77,14 @@
|
|
75 |
?>
|
76 |
<?php settings_errors(); ?>
|
77 |
<form action="options.php" method="post" id="alm_OptionsForm">
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
<?php submit_button('Save Settings'); ?>
|
85 |
-
<div class="spinner"></div>
|
86 |
-
</div>
|
87 |
</form>
|
88 |
-
|
89 |
-
jQuery(document).ready(function() {
|
90 |
-
jQuery('#alm_OptionsForm').submit(function() {
|
91 |
-
jQuery('.alm-save-settings .spinner').fadeIn();
|
92 |
-
});
|
93 |
-
});
|
94 |
-
</script>
|
95 |
</div>
|
96 |
</div>
|
97 |
<div class="cnkt-sidebar">
|
1 |
+
<div class="alm-settings-feedback"></div>
|
2 |
+
|
3 |
<div class="admin ajax-load-more settings" id="alm-settings">
|
4 |
<div class="wrap">
|
5 |
|
77 |
?>
|
78 |
<?php settings_errors(); ?>
|
79 |
<form action="options.php" method="post" id="alm_OptionsForm">
|
80 |
+
<?php
|
81 |
+
settings_fields( 'alm-setting-group' );
|
82 |
+
do_settings_sections( 'ajax-load-more' );
|
83 |
+
//get the older values, wont work the first time
|
84 |
+
$options = get_option( '_alm_settings' ); ?>
|
85 |
+
<div class="save-in-progress"></div>
|
|
|
|
|
|
|
86 |
</form>
|
87 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
</div>
|
89 |
</div>
|
90 |
<div class="cnkt-sidebar">
|
ajax-load-more.php
CHANGED
@@ -7,15 +7,15 @@ Text Domain: ajax-load-more
|
|
7 |
Author: Darren Cooney
|
8 |
Twitter: @KaptonKaos
|
9 |
Author URI: https://connekthq.com
|
10 |
-
Version: 3.
|
11 |
License: GPL
|
12 |
Copyright: Darren Cooney & Connekt Media
|
13 |
*/
|
14 |
|
15 |
|
16 |
|
17 |
-
define('ALM_VERSION', '3.
|
18 |
-
define('ALM_RELEASE', '
|
19 |
define('ALM_STORE_URL', 'https://connekthq.com');
|
20 |
|
21 |
|
@@ -66,7 +66,7 @@ function alm_create_table(){
|
|
66 |
$table_name = $wpdb->prefix . "alm";
|
67 |
$blog_id = $wpdb->blogid;
|
68 |
|
69 |
-
$defaultRepeater = '<li <?php if (!has_post_thumbnail()) { ?> class="no-img"<?php } ?>><?php if ( has_post_thumbnail() ) { the_post_thumbnail(
|
70 |
|
71 |
/* MULTISITE */
|
72 |
/* if this is a multisite blog and it's not id = 1, create default template */
|
@@ -264,7 +264,7 @@ if( !class_exists('AjaxLoadMore') ):
|
|
264 |
wp_register_script( 'ajax-load-more', plugins_url( '/core/dist/js/ajax-load-more.min.js', __FILE__ ), $dependencies, ALM_VERSION, true );
|
265 |
|
266 |
// Progress Bar JS
|
267 |
-
wp_register_script( 'ajax-load-more-progress', plugins_url( '/core/js/vendor/pace/pace.min.js', __FILE__ ), 'ajax-load-more', ALM_VERSION, true );
|
268 |
|
269 |
|
270 |
// Load CSS
|
7 |
Author: Darren Cooney
|
8 |
Twitter: @KaptonKaos
|
9 |
Author URI: https://connekthq.com
|
10 |
+
Version: 3.2.0
|
11 |
License: GPL
|
12 |
Copyright: Darren Cooney & Connekt Media
|
13 |
*/
|
14 |
|
15 |
|
16 |
|
17 |
+
define('ALM_VERSION', '3.2.0');
|
18 |
+
define('ALM_RELEASE', 'August 8, 2017');
|
19 |
define('ALM_STORE_URL', 'https://connekthq.com');
|
20 |
|
21 |
|
66 |
$table_name = $wpdb->prefix . "alm";
|
67 |
$blog_id = $wpdb->blogid;
|
68 |
|
69 |
+
$defaultRepeater = '<li <?php if (!has_post_thumbnail()) { ?> class="no-img"<?php } ?>><?php if ( has_post_thumbnail() ) { the_post_thumbnail(\'alm-thumbnail\');}?><h3><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3><p class="entry-meta"><?php the_time("F d, Y"); ?></p><?php the_excerpt(); ?></li>';
|
70 |
|
71 |
/* MULTISITE */
|
72 |
/* if this is a multisite blog and it's not id = 1, create default template */
|
264 |
wp_register_script( 'ajax-load-more', plugins_url( '/core/dist/js/ajax-load-more.min.js', __FILE__ ), $dependencies, ALM_VERSION, true );
|
265 |
|
266 |
// Progress Bar JS
|
267 |
+
wp_register_script( 'ajax-load-more-progress', plugins_url( '/core/src/js/vendor/pace/pace.min.js', __FILE__ ), 'ajax-load-more', ALM_VERSION, true );
|
268 |
|
269 |
|
270 |
// Load CSS
|
core/classes/class.alm-shortcode.php
CHANGED
@@ -73,6 +73,7 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
73 |
'previous_post' => false,
|
74 |
'previous_post_id' => 'null',
|
75 |
'previous_post_taxonomy' => '',
|
|
|
76 |
'cache' => 'false',
|
77 |
'cache_id' => '',
|
78 |
'paging' => 'false',
|
@@ -121,6 +122,7 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
121 |
'posts_per_page' => '5',
|
122 |
'scroll' => 'true',
|
123 |
'scroll_distance' => '150',
|
|
|
124 |
'max_pages' => '0',
|
125 |
'pause_override' => 'false',
|
126 |
'pause' => 'false',
|
@@ -129,6 +131,7 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
129 |
'transition_speed' => '250',
|
130 |
'transition_container' => 'true',
|
131 |
'masonry_selector' => '',
|
|
|
132 |
'progress_bar' => 'false',
|
133 |
'progress_bar_color' => 'ed7070',
|
134 |
'images_loaded' => 'false',
|
@@ -720,6 +723,7 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
720 |
'alm_prev_post_shortcode',
|
721 |
$previous_post_id,
|
722 |
$previous_post_taxonomy,
|
|
|
723 |
$options
|
724 |
);
|
725 |
$ajaxloadmore .= $prev_post_return;
|
@@ -776,9 +780,12 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
776 |
$ajaxloadmore .= ' data-posts-per-page="'.$posts_per_page.'"';
|
777 |
$ajaxloadmore .= ' data-lang="'.$lang.'"';
|
778 |
$ajaxloadmore .= ' data-scroll="'.$scroll.'"';
|
779 |
-
$
|
780 |
-
|
781 |
-
|
|
|
|
|
|
|
782 |
$ajaxloadmore .= ' data-pause="'.$pause.'"';
|
783 |
$ajaxloadmore .= ' data-button-label="'.$button_label.'"';
|
784 |
if(!empty($button_loading_label)){
|
@@ -795,6 +802,9 @@ if( !class_exists('ALM_SHORTCODE') ):
|
|
795 |
}
|
796 |
if(!empty($masonry_selector)){
|
797 |
$ajaxloadmore .= ' data-masonry-selector="'.$masonry_selector.'"';
|
|
|
|
|
|
|
798 |
}
|
799 |
$ajaxloadmore .= ' data-images-loaded="'.$images_loaded.'"';
|
800 |
|
73 |
'previous_post' => false,
|
74 |
'previous_post_id' => 'null',
|
75 |
'previous_post_taxonomy' => '',
|
76 |
+
'previous_post_excluded_terms' => '',
|
77 |
'cache' => 'false',
|
78 |
'cache_id' => '',
|
79 |
'paging' => 'false',
|
122 |
'posts_per_page' => '5',
|
123 |
'scroll' => 'true',
|
124 |
'scroll_distance' => '150',
|
125 |
+
'scroll_container' => '',
|
126 |
'max_pages' => '0',
|
127 |
'pause_override' => 'false',
|
128 |
'pause' => 'false',
|
131 |
'transition_speed' => '250',
|
132 |
'transition_container' => 'true',
|
133 |
'masonry_selector' => '',
|
134 |
+
'masonry_animation' => '',
|
135 |
'progress_bar' => 'false',
|
136 |
'progress_bar_color' => 'ed7070',
|
137 |
'images_loaded' => 'false',
|
723 |
'alm_prev_post_shortcode',
|
724 |
$previous_post_id,
|
725 |
$previous_post_taxonomy,
|
726 |
+
$previous_post_excluded_terms,
|
727 |
$options
|
728 |
);
|
729 |
$ajaxloadmore .= $prev_post_return;
|
780 |
$ajaxloadmore .= ' data-posts-per-page="'.$posts_per_page.'"';
|
781 |
$ajaxloadmore .= ' data-lang="'.$lang.'"';
|
782 |
$ajaxloadmore .= ' data-scroll="'.$scroll.'"';
|
783 |
+
if($scroll === 'true'){
|
784 |
+
$ajaxloadmore .= ' data-scroll-distance="'.$scroll_distance.'"';
|
785 |
+
$ajaxloadmore .= ' data-scroll-container="'.$scroll_container.'"';
|
786 |
+
$ajaxloadmore .= ' data-max-pages="'.$max_pages.'"';
|
787 |
+
$ajaxloadmore .= ' data-pause-override="'.$pause_override.'"';
|
788 |
+
}
|
789 |
$ajaxloadmore .= ' data-pause="'.$pause.'"';
|
790 |
$ajaxloadmore .= ' data-button-label="'.$button_label.'"';
|
791 |
if(!empty($button_loading_label)){
|
802 |
}
|
803 |
if(!empty($masonry_selector)){
|
804 |
$ajaxloadmore .= ' data-masonry-selector="'.$masonry_selector.'"';
|
805 |
+
}
|
806 |
+
if(!empty($masonry_animation)){
|
807 |
+
$ajaxloadmore .= ' data-masonry-animation="'.$masonry_animation.'"';
|
808 |
}
|
809 |
$ajaxloadmore .= ' data-images-loaded="'.$images_loaded.'"';
|
810 |
|
core/dist/css/ajax-load-more.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
button.alm-load-more-btn{font-size:15px;font-weight:600;width:auto;height:42px;line-height:42px;background:#ed7070;color:#fff;border:none;border-radius:3px;margin:0 0 4px;padding:0 20px;display:inline-block;position:relative;-webkit-transition:padding .25s ease-in-out,width .25s ease-in-out;transition:padding .25s ease-in-out,width .25s ease-in-out;text-align:center;text-decoration:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}button.alm-load-more-btn:hover{background-color:#e06464;color:#fff;text-decoration:none}button.alm-load-more-btn:active{-webkit-box-shadow:inset 0 2px 1px rgba(0,0,0,.1);box-shadow:inset 0 2px 1px rgba(0,0,0,.1);text-decoration:none}button.alm-load-more-btn:active,button.alm-load-more-btn:focus{outline:0}button.alm-load-more-btn.loading{padding-left:44px}button.alm-load-more-btn.done{cursor:default;opacity:.2;background-color:#ed7070;outline:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}button.alm-load-more-btn.done:before,button.alm-load-more-btn:before{background:0 0;width:0}button.alm-load-more-btn.loading:before{background:#fff url(
|
1 |
+
button.alm-load-more-btn{font-size:15px;font-weight:600;width:auto;height:42px;line-height:42px;background:#ed7070;color:#fff;border:none;border-radius:3px;margin:0 0 4px;padding:0 20px;display:inline-block;position:relative;-webkit-transition:padding .25s ease-in-out,width .25s ease-in-out;transition:padding .25s ease-in-out,width .25s ease-in-out;text-align:center;text-decoration:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}button.alm-load-more-btn:hover{background-color:#e06464;color:#fff;text-decoration:none}button.alm-load-more-btn:active{-webkit-box-shadow:inset 0 2px 1px rgba(0,0,0,.1);box-shadow:inset 0 2px 1px rgba(0,0,0,.1);text-decoration:none}button.alm-load-more-btn:active,button.alm-load-more-btn:focus{outline:0}button.alm-load-more-btn.loading{padding-left:44px}button.alm-load-more-btn.done{cursor:default;opacity:.2;background-color:#ed7070;outline:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}button.alm-load-more-btn.done:before,button.alm-load-more-btn:before{background:0 0;width:0}button.alm-load-more-btn.loading:before{background:#fff url(../../img/ajax-loader.gif) no-repeat center center;width:30px;height:30px;margin:6px;border-radius:2px;display:inline-block;z-index:0;content:'';position:absolute;left:0;top:0;overflow:hidden;-webkit-transition:width .5s ease-in-out;transition:width .5s ease-in-out}.alm-btn-wrap,.alm-masonry{display:block;overflow:hidden;clear:both}.alm-btn-wrap{text-align:center;padding:10px 0 25px}.ajax-load-more-wrap.blue button.alm-load-more-btn{background-color:#0081bf}.ajax-load-more-wrap.blue button.alm-load-more-btn.done,.ajax-load-more-wrap.blue button.alm-load-more-btn:hover{background-color:#0073aa}.ajax-load-more-wrap.green button.alm-load-more-btn{background-color:#6fca68}.ajax-load-more-wrap.green button.alm-load-more-btn.done,.ajax-load-more-wrap.green button.alm-load-more-btn:hover{background-color:#64b95e}.ajax-load-more-wrap.red button.alm-load-more-btn{background-color:#ca4b4b}.ajax-load-more-wrap.red button.alm-load-more-btn.done,.ajax-load-more-wrap.red button.alm-load-more-btn:hover{background-color:#b13b3b}.ajax-load-more-wrap.purple button.alm-load-more-btn{background-color:#a86bb9}.ajax-load-more-wrap.purple button.alm-load-more-btn.done,.ajax-load-more-wrap.purple button.alm-load-more-btn:hover{background-color:#9963a8}.ajax-load-more-wrap.grey button.alm-load-more-btn{background-color:#888}.ajax-load-more-wrap.grey button.alm-load-more-btn.done,.ajax-load-more-wrap.grey button.alm-load-more-btn:hover{background-color:#777}.ajax-load-more-wrap.white button.alm-load-more-btn{background-color:#fff;color:#666;border:1px solid #efefef}.ajax-load-more-wrap.white button.alm-load-more-btn.done,.ajax-load-more-wrap.white button.alm-load-more-btn:hover{background-color:#efefef;color:#333}.ajax-load-more-wrap.white button.alm-load-more-btn.done{border-color:#fff}.ajax-load-more-wrap.infinite button.alm-load-more-btn{width:100%;background-color:transparent!important;background-position:center center;background-repeat:no-repeat;background-image:url(../../img/spinner.gif);border:none!important;opacity:0;-webkit-transition:opacity .25s ease;transition:opacity .25s ease;-webkit-box-shadow:none!important;box-shadow:none!important;overflow:hidden;text-indent:-9999px;cursor:default!important;outline:0!important}.ajax-load-more-wrap.infinite button.alm-load-more-btn:before{display:none!important}.ajax-load-more-wrap.infinite button.alm-load-more-btn:active{-webkit-box-shadow:none;box-shadow:none}.ajax-load-more-wrap.infinite button.alm-load-more-btn.done{opacity:0}.ajax-load-more-wrap.infinite button.alm-load-more-btn.loading{opacity:1}.ajax-load-more-wrap.infinite.skype button.alm-load-more-btn{background-image:url(../../img/spinner-skype.gif)}.ajax-load-more-wrap.infinite.ring button.alm-load-more-btn{background-image:url(../../img/spinner-ring.gif)}.ajax-load-more-wrap.infinite.fading-blocks button.alm-load-more-btn{background-image:url(../../img/loader-fading-blocks.gif)}.ajax-load-more-wrap.infinite.fading-circles button.alm-load-more-btn{background-image:url(../../img/loader-fading-circles.gif)}.ajax-load-more-wrap.infinite.chasing-arrows button.alm-load-more-btn{background-image:url(../../img/spinner-chasing-arrows.gif)}.alm-listing{margin:0;padding:0}.alm-listing li{background:0 0;margin:0 0 30px;padding:0 0 0 170px;overflow:hidden;position:relative;list-style:none}.alm-listing li.no-img{padding:0}.alm-listing li p{margin:0}.alm-listing li h3{margin:0 0 10px}.alm-listing li img{position:absolute;left:0;top:0;border-radius:2px}
|
core/dist/js/ajax-load-more.js
CHANGED
@@ -8,44 +8,80 @@
|
|
8 |
@param container object
|
9 |
@param items object
|
10 |
@param selector string
|
|
|
|
|
11 |
@param init boolean
|
12 |
-
@param filtering boolean
|
13 |
@since 3.1
|
|
|
14 |
*/
|
15 |
|
16 |
var almMasonryInit = true; // flag
|
17 |
|
18 |
-
var almMasonry = function almMasonry(container, items, selector, init, filtering) {
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
};
|
50 |
'use strict';
|
51 |
|
@@ -107,6 +143,7 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
107 |
alm.theme_repeater = alm.content.attr('data-theme-repeater');
|
108 |
|
109 |
alm.scroll_distance = parseInt(alm.content.attr('data-scroll-distance'));
|
|
|
110 |
alm.max_pages = parseInt(alm.content.attr('data-max-pages'));
|
111 |
alm.pause_override = alm.content.attr('data-pause-override'); // true | false
|
112 |
alm.pause = alm.content.attr('data-pause'); // true | false
|
@@ -142,6 +179,7 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
142 |
alm.previous_post = alm.content.attr('data-previous-post'); // Previous Post add-on
|
143 |
alm.previous_post_id = alm.content.attr('data-previous-post-id'); // Get the post id
|
144 |
alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy'); // Get the post taxonomy
|
|
|
145 |
|
146 |
alm.comments = alm.content.attr('data-comments'); // true | false
|
147 |
if (alm.comments === 'true') {
|
@@ -335,6 +373,9 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
335 |
if (alm.previous_post_taxonomy === undefined) {
|
336 |
alm.previous_post_taxonomy = '';
|
337 |
}
|
|
|
|
|
|
|
338 |
alm.previous_post_title_template = alm.content.attr('data-previous-post-title-template');
|
339 |
alm.siteTitle = alm.content.attr('data-previous-post-site-title');
|
340 |
alm.siteTagline = alm.content.attr('data-previous-post-site-tagline');
|
@@ -387,6 +428,11 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
387 |
alm.scroll_distance = 150;
|
388 |
}
|
389 |
|
|
|
|
|
|
|
|
|
|
|
390 |
/* Transition Params */
|
391 |
if (alm.transition === undefined) {
|
392 |
alm.transition = 'slide';
|
@@ -395,6 +441,10 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
395 |
alm.is_masonry_preloaded = false;
|
396 |
if (alm.transition === 'masonry') {
|
397 |
alm.masonry_selector = alm.content.attr('data-masonry-selector');
|
|
|
|
|
|
|
|
|
398 |
alm.masonry_wrap = alm.content;
|
399 |
alm.transition_container = false;
|
400 |
if (document.body.contains(alm.content_preloaded.get(0))) {
|
@@ -487,7 +537,7 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
487 |
if (!alm.paging) {
|
488 |
alm.button.addClass('loading');
|
489 |
if (alm.button_loading_label !== false) {
|
490 |
-
alm.button.
|
491 |
}
|
492 |
}
|
493 |
alm.container.addClass('alm-loading');
|
@@ -839,7 +889,7 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
839 |
|
840 |
if (!alm.paging) {
|
841 |
|
842 |
-
alm.button.
|
843 |
} else {
|
844 |
|
845 |
// Is pagination
|
@@ -1011,7 +1061,7 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
1011 |
} else if (alm.transition === 'masonry') {
|
1012 |
// masonry
|
1013 |
|
1014 |
-
almMasonry(alm.masonry_wrap, alm.el, alm.masonry_selector, alm.init, alm_is_filtering);
|
1015 |
|
1016 |
if (!alm.paging) {
|
1017 |
alm.button.delay(alm.speed).removeClass('loading');
|
@@ -1209,15 +1259,19 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
1209 |
|
1210 |
alm.AjaxLoadMore.getPreviousPost = function () {
|
1211 |
alm.fetchingPreviousPost = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1212 |
$.ajax({
|
1213 |
type: "GET",
|
1214 |
dataType: "JSON",
|
1215 |
url: alm_localize.ajaxurl,
|
1216 |
-
data:
|
1217 |
-
action: 'alm_query_previous_post',
|
1218 |
-
id: alm.previous_post_id,
|
1219 |
-
taxonomy: alm.previous_post_taxonomy
|
1220 |
-
},
|
1221 |
success: function success(data) {
|
1222 |
if (data.has_previous_post) {
|
1223 |
alm.content.attr('data-previous-post-id', data.prev_id); // update previous-post-id on ALM element
|
@@ -1286,7 +1340,7 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
1286 |
if (alm.button_loading_label !== false) {
|
1287 |
// Reset button text
|
1288 |
if (!alm.paging) {
|
1289 |
-
alm.button.
|
1290 |
}
|
1291 |
}
|
1292 |
};
|
@@ -1368,21 +1422,36 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
1368 |
*
|
1369 |
* Load posts as user scrolls the page
|
1370 |
* @since 1.0
|
|
|
1371 |
*/
|
1372 |
if (alm.scroll && !alm.paging) {
|
|
|
|
|
|
|
|
|
|
|
|
|
1373 |
alm.window.bind("scroll touchstart", function () {
|
|
|
1374 |
if (alm.AjaxLoadMore.isVisible() && !alm.fetchingPreviousPost) {
|
1375 |
-
|
1376 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1377 |
|
1378 |
// If Pause && Pause Override
|
1379 |
-
if (!alm.loading && !alm.finished &&
|
1380 |
alm.button.trigger('click');
|
1381 |
}
|
1382 |
|
1383 |
// Standard Scroll event
|
1384 |
else {
|
1385 |
-
if (!alm.loading && !alm.finished &&
|
1386 |
alm.page++;
|
1387 |
alm.AjaxLoadMore.loadPosts();
|
1388 |
}
|
@@ -1404,7 +1473,7 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
1404 |
alm.button.addClass('done');
|
1405 |
} else {
|
1406 |
if (alm.pause === 'true') {
|
1407 |
-
alm.button.
|
1408 |
alm.loading = false;
|
1409 |
} else {
|
1410 |
alm.AjaxLoadMore.loadPosts();
|
@@ -1435,7 +1504,7 @@ var almMasonry = function almMasonry(container, items, selector, init, filtering
|
|
1435 |
// Masonry + Preloaded
|
1436 |
alm.window.bind('load', function () {
|
1437 |
if (alm.is_masonry_preloaded) {
|
1438 |
-
almMasonry(alm.masonry_wrap, alm.el, alm.masonry_selector, true, false);
|
1439 |
}
|
1440 |
});
|
1441 |
};
|
8 |
@param container object
|
9 |
@param items object
|
10 |
@param selector string
|
11 |
+
@param animation string
|
12 |
+
@param speed int
|
13 |
@param init boolean
|
14 |
+
@param filtering boolean
|
15 |
@since 3.1
|
16 |
+
@updated 3.2
|
17 |
*/
|
18 |
|
19 |
var almMasonryInit = true; // flag
|
20 |
|
21 |
+
var almMasonry = function almMasonry(container, items, selector, animation, speed, init, filtering) {
|
22 |
+
|
23 |
+
var duration = (speed + 100) / 1000 + 's'; // Add 100 for some delay
|
24 |
+
var hidden = 'scale(0.5)';
|
25 |
+
var visible = 'scale(1)';
|
26 |
+
|
27 |
+
if (animation === 'zoom-out') {
|
28 |
+
hidden = 'translateY(-20px) scale(1.25)';
|
29 |
+
visible = 'translateY(0) scale(1)';
|
30 |
+
}
|
31 |
+
|
32 |
+
if (animation === 'slide-up') {
|
33 |
+
hidden = 'translateY(50px)';
|
34 |
+
visible = 'translateY(0)';
|
35 |
+
}
|
36 |
+
|
37 |
+
if (animation === 'slide-down') {
|
38 |
+
hidden = 'translateY(-50px)';
|
39 |
+
visible = 'translateY(0)';
|
40 |
+
}
|
41 |
+
|
42 |
+
if (animation === 'none') {
|
43 |
+
hidden = 'translateY(0)';
|
44 |
+
visible = 'translateY(0)';
|
45 |
+
}
|
46 |
+
|
47 |
+
if (!filtering) {
|
48 |
+
|
49 |
+
// First Run
|
50 |
+
if (almMasonryInit && init) {
|
51 |
+
almMasonryInit = false;
|
52 |
+
container.imagesLoaded(function () {
|
53 |
+
items.fadeIn(speed);
|
54 |
+
container.masonry({
|
55 |
+
itemSelector: selector,
|
56 |
+
transitionDuration: duration,
|
57 |
+
hiddenStyle: {
|
58 |
+
transform: hidden,
|
59 |
+
opacity: 0
|
60 |
+
},
|
61 |
+
visibleStyle: {
|
62 |
+
transform: visible,
|
63 |
+
opacity: 1
|
64 |
+
}
|
65 |
+
});
|
66 |
+
container.masonry('reloadItems');
|
67 |
+
});
|
68 |
+
}
|
69 |
+
|
70 |
+
// Standard
|
71 |
+
else {
|
72 |
+
container.append(items); // Append new items
|
73 |
+
container.imagesLoaded(function () {
|
74 |
+
items.show();
|
75 |
+
container.masonry('appended', items);
|
76 |
+
});
|
77 |
+
}
|
78 |
+
} else {
|
79 |
+
// Filtering Reset
|
80 |
+
container.masonry('destroy'); // destroy masonry
|
81 |
+
almMasonryInit = true; // reset almMasonryInit
|
82 |
+
container.append(items);
|
83 |
+
almMasonry(container, items, selector, animation, speed, true, false);
|
84 |
+
}
|
85 |
};
|
86 |
'use strict';
|
87 |
|
143 |
alm.theme_repeater = alm.content.attr('data-theme-repeater');
|
144 |
|
145 |
alm.scroll_distance = parseInt(alm.content.attr('data-scroll-distance'));
|
146 |
+
alm.scroll_container = alm.content.attr('data-scroll-container');
|
147 |
alm.max_pages = parseInt(alm.content.attr('data-max-pages'));
|
148 |
alm.pause_override = alm.content.attr('data-pause-override'); // true | false
|
149 |
alm.pause = alm.content.attr('data-pause'); // true | false
|
179 |
alm.previous_post = alm.content.attr('data-previous-post'); // Previous Post add-on
|
180 |
alm.previous_post_id = alm.content.attr('data-previous-post-id'); // Get the post id
|
181 |
alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy'); // Get the post taxonomy
|
182 |
+
alm.previous_post_excluded_terms = alm.content.attr('data-previous-post-excluded-terms'); // Get the post excluded terms
|
183 |
|
184 |
alm.comments = alm.content.attr('data-comments'); // true | false
|
185 |
if (alm.comments === 'true') {
|
373 |
if (alm.previous_post_taxonomy === undefined) {
|
374 |
alm.previous_post_taxonomy = '';
|
375 |
}
|
376 |
+
if (alm.previous_post_excluded_terms === undefined) {
|
377 |
+
alm.previous_post_excluded_terms = '';
|
378 |
+
}
|
379 |
alm.previous_post_title_template = alm.content.attr('data-previous-post-title-template');
|
380 |
alm.siteTitle = alm.content.attr('data-previous-post-site-title');
|
381 |
alm.siteTagline = alm.content.attr('data-previous-post-site-tagline');
|
428 |
alm.scroll_distance = 150;
|
429 |
}
|
430 |
|
431 |
+
/* Scroll Container */
|
432 |
+
if (alm.scroll_container === undefined) {
|
433 |
+
alm.scroll_container = '';
|
434 |
+
}
|
435 |
+
|
436 |
/* Transition Params */
|
437 |
if (alm.transition === undefined) {
|
438 |
alm.transition = 'slide';
|
441 |
alm.is_masonry_preloaded = false;
|
442 |
if (alm.transition === 'masonry') {
|
443 |
alm.masonry_selector = alm.content.attr('data-masonry-selector');
|
444 |
+
alm.masonry_animation = alm.content.attr('data-masonry-animation');
|
445 |
+
if (alm.masonry_animation === undefined) {
|
446 |
+
alm.masonry_animation = 'standard';
|
447 |
+
}
|
448 |
alm.masonry_wrap = alm.content;
|
449 |
alm.transition_container = false;
|
450 |
if (document.body.contains(alm.content_preloaded.get(0))) {
|
537 |
if (!alm.paging) {
|
538 |
alm.button.addClass('loading');
|
539 |
if (alm.button_loading_label !== false) {
|
540 |
+
alm.button.html(alm.button_loading_label);
|
541 |
}
|
542 |
}
|
543 |
alm.container.addClass('alm-loading');
|
889 |
|
890 |
if (!alm.paging) {
|
891 |
|
892 |
+
alm.button.html(alm.button_label);
|
893 |
} else {
|
894 |
|
895 |
// Is pagination
|
1061 |
} else if (alm.transition === 'masonry') {
|
1062 |
// masonry
|
1063 |
|
1064 |
+
almMasonry(alm.masonry_wrap, alm.el, alm.masonry_selector, alm.masonry_animation, alm.speed, alm.init, alm_is_filtering);
|
1065 |
|
1066 |
if (!alm.paging) {
|
1067 |
alm.button.delay(alm.speed).removeClass('loading');
|
1259 |
|
1260 |
alm.AjaxLoadMore.getPreviousPost = function () {
|
1261 |
alm.fetchingPreviousPost = true;
|
1262 |
+
|
1263 |
+
var data = {
|
1264 |
+
action: 'alm_query_previous_post',
|
1265 |
+
id: alm.previous_post_id,
|
1266 |
+
taxonomy: alm.previous_post_taxonomy,
|
1267 |
+
excluded_terms: alm.previous_post_excluded_terms
|
1268 |
+
};
|
1269 |
+
|
1270 |
$.ajax({
|
1271 |
type: "GET",
|
1272 |
dataType: "JSON",
|
1273 |
url: alm_localize.ajaxurl,
|
1274 |
+
data: data,
|
|
|
|
|
|
|
|
|
1275 |
success: function success(data) {
|
1276 |
if (data.has_previous_post) {
|
1277 |
alm.content.attr('data-previous-post-id', data.prev_id); // update previous-post-id on ALM element
|
1340 |
if (alm.button_loading_label !== false) {
|
1341 |
// Reset button text
|
1342 |
if (!alm.paging) {
|
1343 |
+
alm.button.html(alm.button_label);
|
1344 |
}
|
1345 |
}
|
1346 |
};
|
1422 |
*
|
1423 |
* Load posts as user scrolls the page
|
1424 |
* @since 1.0
|
1425 |
+
* @updated 3.2.0
|
1426 |
*/
|
1427 |
if (alm.scroll && !alm.paging) {
|
1428 |
+
|
1429 |
+
// If scroll_container specified, set window object to container.
|
1430 |
+
if (alm.scroll_container !== '') {
|
1431 |
+
alm.window = $(alm.scroll_container);
|
1432 |
+
}
|
1433 |
+
|
1434 |
alm.window.bind("scroll touchstart", function () {
|
1435 |
+
|
1436 |
if (alm.AjaxLoadMore.isVisible() && !alm.fetchingPreviousPost) {
|
1437 |
+
|
1438 |
+
var content_offset = alm.button.offset().top,
|
1439 |
+
top = Math.round(content_offset - (alm.window.height() - alm.scroll_distance)),
|
1440 |
+
scrollTrigger = alm.window.scrollTop() >= top ? true : false;
|
1441 |
+
|
1442 |
+
// If scroll_container specified
|
1443 |
+
if (alm.scroll_container !== '') {
|
1444 |
+
scrollTrigger = alm.button.offset().top - (alm.window.height() - alm.scroll_distance) < alm.window.offset().top ? true : false;
|
1445 |
+
}
|
1446 |
|
1447 |
// If Pause && Pause Override
|
1448 |
+
if (!alm.loading && !alm.finished && scrollTrigger && alm.page < alm.max_pages - 1 && alm.proceed && alm.pause === 'true' && alm.pause_override === 'true') {
|
1449 |
alm.button.trigger('click');
|
1450 |
}
|
1451 |
|
1452 |
// Standard Scroll event
|
1453 |
else {
|
1454 |
+
if (!alm.loading && !alm.finished && scrollTrigger && alm.page < alm.max_pages - 1 && alm.proceed && alm.pause !== 'true') {
|
1455 |
alm.page++;
|
1456 |
alm.AjaxLoadMore.loadPosts();
|
1457 |
}
|
1473 |
alm.button.addClass('done');
|
1474 |
} else {
|
1475 |
if (alm.pause === 'true') {
|
1476 |
+
alm.button.html(alm.button_label);
|
1477 |
alm.loading = false;
|
1478 |
} else {
|
1479 |
alm.AjaxLoadMore.loadPosts();
|
1504 |
// Masonry + Preloaded
|
1505 |
alm.window.bind('load', function () {
|
1506 |
if (alm.is_masonry_preloaded) {
|
1507 |
+
almMasonry(alm.masonry_wrap, alm.el, alm.masonry_selector, alm.masonry_animation, alm.speed, true, false);
|
1508 |
}
|
1509 |
});
|
1510 |
};
|
core/dist/js/ajax-load-more.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
"use strict";var almMasonryInit=!0,almMasonry=function t(a,e,o,n,r){r?(a.masonry("destroy"),almMasonryInit=!0,a.append(e),t(a,e,o,!0,!1)):almMasonryInit&&n?(almMasonryInit=!1,a.imagesLoaded(function(){e.fadeIn(250),a.masonry({itemSelector:o}),a.masonry("reloadItems")})):(a.append(e),a.imagesLoaded(function(){e.show(),a.masonry("appended",e)}))};!function(t){var a=!1;t.ajaxloadmore=function(e,o){"true"===alm_localize.scrolltop&&t(window).scrollTop(0);var n=this;n.AjaxLoadMore={},n.window=t(window),n.page=0,n.posts=0,n.totalposts=0,n.proceed=!1,n.disable_ajax=!1,n.init=!0,n.loading=!0,n.finished=!1,n.button_label="",n.el=e,n.container=e,n.container.addClass("alm-"+o).attr("data-alm-id",o),n.content=t(".alm-ajax",n.container),n.content_preloaded=t(".alm-listing.alm-preloaded",n.container),n.canonical_url=n.el.attr("data-canonical-url"),n.is_search=n.el.attr("data-search"),n.slug=n.el.attr("data-slug"),n.post_id=n.el.attr("data-post-id"),n.prefix="alm-",n.cache=n.content.attr("data-cache"),n.cache_id=n.content.attr("data-cache-id"),n.cache_path=n.content.attr("data-cache-path"),n.cache_logged_in=n.content.attr("data-cache-logged-in"),n.repeater=n.content.attr("data-repeater"),n.theme_repeater=n.content.attr("data-theme-repeater"),n.scroll_distance=parseInt(n.content.attr("data-scroll-distance")),n.max_pages=parseInt(n.content.attr("data-max-pages")),n.pause_override=n.content.attr("data-pause-override"),n.pause=n.content.attr("data-pause"),n.transition=n.content.attr("data-transition"),n.transition_container=n.content.attr("data-transition-container"),n.speed=n.content.attr("data-transition-speed"),n.images_loaded=n.content.attr("data-images-loaded"),n.destroy_after=n.content.attr("data-destroy-after"),n.lang=n.content.attr("data-lang"),n.orginal_posts_per_page=n.content.attr("data-posts-per-page"),n.posts_per_page=n.content.attr("data-posts-per-page"),n.cta_array="",n.cta=n.content.attr("data-cta"),n.cta_position=n.content.attr("data-cta-position"),n.cta_repeater=n.content.attr("data-cta-repeater"),n.cta_theme_repeater=n.content.attr("data-cta-theme-repeater"),n.acf_array="",n.acf=n.content.attr("data-acf"),n.acf_field_type=n.content.attr("data-acf-field-type"),n.acf_field_name=n.content.attr("data-acf-field-name"),n.acf_post_id=n.content.attr("data-acf-post-id"),n.nextpage_array="",n.nextpage=n.content.attr("data-nextpage"),n.nextpage_urls=n.content.attr("data-nextpage-urls"),n.nextpage_scroll=n.content.attr("data-nextpage-scroll"),n.nextpage_pageviews=n.content.attr("data-nextpage-pageviews"),n.nextpage_post_id=n.content.attr("data-nextpage-post-id"),n.nextpage_startpage=n.content.attr("data-nextpage-startpage"),n.previous_post=n.content.attr("data-previous-post"),n.previous_post_id=n.content.attr("data-previous-post-id"),n.previous_post_taxonomy=n.content.attr("data-previous-post-taxonomy"),n.comments=n.content.attr("data-comments"),"true"===n.comments&&(n.content=t(".alm-comments",n.container)),n.comments_array="",n.comments_post_id=n.content.attr("data-comments_post_id"),n.comments_per_page=n.content.attr("data-comments_per_page"),n.comments_type=n.content.attr("data-comments_type"),n.comments_style=n.content.attr("data-comments_style"),n.comments_template=n.content.attr("data-comments_template"),n.comments_callback=n.content.attr("data-comments_callback"),n.restapi=n.content.attr("data-restapi"),n.restapi_base_url=n.content.attr("data-restapi-base-url"),n.restapi_namespace=n.content.attr("data-restapi-namespace"),n.restapi_endpoint=n.content.attr("data-restapi-endpoint"),n.restapi_template_id=n.content.attr("data-restapi-template-id"),n.restapi_debug=n.content.attr("data-restapi-debug"),n.seo=n.content.attr("data-seo"),n.preloaded=n.content.attr("data-preloaded"),n.preloaded_amount=n.content.attr("data-preloaded-amount"),n.paging=n.content.attr("data-paging"),n.paging_controls=n.content.attr("data-paging-controls"),n.paging_show_at_most=n.content.attr("data-paging-show-at-most"),n.paging_classes=n.content.attr("data-paging-classes"),n.paging_init=!0,"true"===n.restapi?(n.restapi=!0,void 0===n.restapi_debug&&(n.restapi_debug=!1),""===n.restapi_template_id&&(n.restapi=!1)):n.restapi=!1,"true"===n.paging?(n.paging=!0,void 0===n.paging_show_at_most&&(n.paging_show_at_most=7),"true"===n.preloaded&&(n.pause=!0)):n.paging=!1,"true"===n.paging_controls?n.paging_controls=!0:n.paging_controls=!1,void 0===n.cache&&(n.cache=!1),void 0===n.cache_logged_in&&(n.cache_logged_in=!1),void 0===n.comments_per_page&&(n.comments_per_page="5"),"true"===n.preloaded?(n.preload_wrap=n.content.prev(".alm-preloaded"),n.preloaded_total_posts=parseInt(n.preload_wrap.attr("data-total-posts")),void 0===n.preloaded_amount&&(n.preloaded_amount=!1),n.preloaded_total_posts<=n.preloaded_amount&&(n.disable_ajax=!0)):n.preloaded="false",void 0===n.seo&&(n.seo=!1),"true"===n.seo&&(n.seo=!0),void 0===n.is_search&&(n.is_search=!1),n.search_value="true"===n.is_search?n.slug:"",n.permalink=n.content.attr("data-seo-permalink"),n.pageview=n.content.attr("data-seo-pageview"),n.start_page=n.content.attr("data-seo-start-page"),n.start_page?(n.seo_scroll=n.content.attr("data-seo-scroll"),n.seo_scroll_speed=n.content.attr("data-seo-scroll-speed"),n.seo_scrolltop=n.content.attr("data-seo-scrolltop"),n.isPaged=!1,n.start_page>1&&(n.isPaged=!0,n.posts_per_page=n.start_page*n.posts_per_page),n.paging&&(n.posts_per_page=n.orginal_posts_per_page)):n.start_page=1,"true"===n.nextpage?(n.nextpage=!0,n.posts_per_page=1):n.nextpage=!1,void 0===n.nextpage_urls&&(n.nextpage="true"),void 0===n.nextpage_scroll&&(n.nextpage_scroll="250:30"),void 0===n.nextpage_pageviews&&(n.nextpage_pageviews="true"),void 0===n.nextpage_post_id&&(n.nextpage=!1,n.nextpage_post_id=null),void 0===n.nextpage_startpage&&(n.nextpage_startpage=1),n.nextpage_startpage>1&&(n.isPaged=!0),"true"===n.acf?n.acf=!0:n.acf=!1,void 0!==n.acf_field_type&&void 0!==n.acf_field_name&&void 0!==n.acf_post_id||(n.acf=!1),"true"===n.previous_post?(n.previous_post=!0,n.previous_post_permalink="",n.previous_post_title="",n.previous_post_slug=""):n.previous_post=!1,void 0===n.previous_post_id&&(n.previous_post_id=""),void 0===n.previous_post_taxonomy&&(n.previous_post_taxonomy=""),n.previous_post_title_template=n.content.attr("data-previous-post-title-template"),n.siteTitle=n.content.attr("data-previous-post-site-title"),n.siteTagline=n.content.attr("data-previous-post-site-tagline"),n.previous_post_pageview=n.content.attr("data-previous-post-pageview"),n.previous_post_scroll=n.content.attr("data-previous-post-scroll"),n.previous_post_scroll_speed=n.content.attr("data-previous-post-scroll-speed"),n.previous_post_scroll_top=n.content.attr("data-previous-post-scrolltop"),void 0===n.content.attr("data-offset")?n.offset=0:n.offset=n.content.attr("data-offset"),(void 0===n.pause||n.seo&&n.start_page>1)&&(n.pause=!1),"true"===n.preloaded&&n.seo&&n.start_page>0&&(n.pause=!1),"true"===n.preloaded&&n.paging&&(n.pause=!0),void 0===n.repeater&&(n.repeater="default"),void 0===n.theme_repeater&&(n.theme_repeater="null"),void 0===n.max_pages&&(n.max_pages=0),0===n.max_pages&&(n.max_pages=1e4),void 0===n.scroll_distance&&(n.scroll_distance=150),void 0===n.transition&&(n.transition="slide"),n.is_masonry_preloaded=!1,"masonry"===n.transition&&(n.masonry_selector=n.content.attr("data-masonry-selector"),n.masonry_wrap=n.content,n.transition_container=!1,document.body.contains(n.content_preloaded.get(0))&&(n.masonry_wrap=n.content_preloaded,n.is_masonry_preloaded=!0)),void 0===n.speed?n.speed=250:n.speed=parseInt(n.speed),void 0===n.transition_container||"true"===n.transition_container?n.transition_container=!0:n.transition_container=!1,void 0===n.images_loaded&&(n.images_loaded="false"),n.destroy_after,void 0===n.content.attr("data-button-label")?n.button_label="Older Posts":n.button_label=n.content.attr("data-button-label"),n.button_loading_label=n.content.attr("data-button-loading-label"),void 0===n.button_loading_label&&(n.button_loading_label=!1),void 0===n.content.attr("data-button-class")?n.button_class="":n.button_class=" "+n.content.attr("data-button-class"),void 0===n.content.attr("data-scroll")?n.scroll=!0:"false"===n.content.attr("data-scroll")?n.scroll=!1:n.scroll=!0,n.post_type=n.content.attr("data-post-type"),n.post_type=n.post_type.split(","),n.sticky_posts=n.content.attr("data-sticky-posts"),n.container.append('<div class="'+n.prefix+'btn-wrap"/>'),n.btnWrap=t("."+n.prefix+"btn-wrap",n.container),n.paging?n.content.parent().addClass("loading"):(t("."+n.prefix+"btn-wrap",n.container).append('<button id="load-more" class="'+n.prefix+"load-more-btn more"+n.button_class+'">'+n.button_label+"</button>"),n.button=t(".alm-load-more-btn",n.container)),n.AjaxLoadMore.loadPosts=function(){if(!n.disable_ajax)if(n.paging||(n.button.addClass("loading"),!1!==n.button_loading_label&&n.button.text(n.button_loading_label)),n.container.addClass("alm-loading"),n.loading=!0,"true"!==n.cache||n.cache_logged_in)n.AjaxLoadMore.ajax("standard");else{var a;if(n.init&&n.seo&&n.isPaged){a=n.cache_path+n.cache_id+"/page-1-"+n.start_page+".html"}else if(n.nextpage){var e;n.paging?e=parseInt(n.page)+1:(e=parseInt(n.page)+2,n.isPaged&&(e=parseInt(n.page)+parseInt(n.nextpage_startpage)+1)),a=n.cache_path+n.cache_id+"/page-"+e+".html"}else a=n.previous_post?n.cache_path+n.cache_id+"/"+n.previous_post_slug+".html":n.cache_path+n.cache_id+"/page-"+(n.page+1)+".html";t.get(a,function(t){n.AjaxLoadMore.success(t,!0)}).fail(function(){n.AjaxLoadMore.ajax("standard")})}},n.AjaxLoadMore.ajax=function(a){var o="alm_query_posts";if(n.acf&&("relationship"!==n.acf_field_type&&(o="alm_acf_query"),n.acf_array={acf:"true",post_id:n.acf_post_id,field_type:n.acf_field_type,field_name:n.acf_field_name}),n.nextpage&&(o="alm_nextpage_query",n.nextpage_array={nextpage:"true",urls:n.nextpage_urls,scroll:n.nextpage_scroll,pageviews:n.nextpage_pageviews,post_id:n.nextpage_post_id,startpage:n.nextpage_startpage}),n.previous_post&&(n.previous_post_array={previous_post:"true",id:n.previous_post_id,slug:n.previous_post_slug}),"true"===n.comments&&(o="alm_comments_query",n.posts_per_page=n.comments_per_page,n.comments_array={comments:"true",post_id:n.comments_post_id,per_page:n.comments_per_page,type:n.comments_type,style:n.comments_style,template:n.comments_template,callback:n.comments_callback}),"true"===n.cta&&(n.cta_array={cta:"true",cta_position:n.cta_position,cta_repeater:n.cta_repeater,cta_theme_repeater:n.cta_theme_repeater}),n.restapi){var r=wp.template(n.restapi_template_id),s=n.restapi_base_url+"/"+n.restapi_namespace+"/"+n.restapi_endpoint,i={posts_per_page:n.posts_per_page,page:n.page,offset:n.offset,slug:n.slug,canonical_url:n.canonical_url,post_type:n.post_type,post_format:n.content.attr("data-post-format"),category:n.content.attr("data-category"),category__not_in:n.content.attr("data-category-not-in"),tag:n.content.attr("data-tag"),tag__not_in:n.content.attr("data-tag-not-in"),taxonomy:n.content.attr("data-taxonomy"),taxonomy_terms:n.content.attr("data-taxonomy-terms"),taxonomy_operator:n.content.attr("data-taxonomy-operator"),taxonomy_relation:n.content.attr("data-taxonomy-relation"),meta_key:n.content.attr("data-meta-key"),meta_value:n.content.attr("data-meta-value"),meta_compare:n.content.attr("data-meta-compare"),meta_relation:n.content.attr("data-meta-relation"),meta_type:n.content.attr("data-meta-type"),author:n.content.attr("data-author"),year:n.content.attr("data-year"),month:n.content.attr("data-month"),day:n.content.attr("data-day"),post_status:n.content.attr("data-post-status"),order:n.content.attr("data-order"),orderby:n.content.attr("data-orderby"),post__in:n.content.attr("data-post-in"),post__not_in:n.content.attr("data-post-not-in"),search:n.content.attr("data-search"),custom_args:n.content.attr("data-custom-args"),lang:n.lang,preloaded:n.preloaded,preloaded_amount:n.preloaded_amount,seo_start_page:n.start_page,id:e.attr("data-id")};t.ajax({type:"GET",url:s,data:i,dataType:"JSON",beforeSend:function(){1==n.page||n.paging||n.button.addClass("loading")},success:function(a){var e,o=a.html,s=a.meta,i=s.postcount,p=s.totalposts;t.each(o,function(t){var a=o[t];"true"===n.restapi_debug&&console.log(a),e+=r(a)});var d={html:e,meta:{postcount:i,totalposts:p}};n.AjaxLoadMore.success(d,!1)}})}else t.ajax({type:"GET",url:alm_localize.ajaxurl,dataType:"JSON",data:{action:o,query_type:a,nonce:alm_localize.alm_nonce,cache_id:n.cache_id,repeater:n.repeater,theme_repeater:n.theme_repeater,acf:n.acf_array,nextpage:n.nextpage_array,cta:n.cta_array,comments:n.comments_array,post_type:n.post_type,sticky_posts:n.sticky_posts,post_format:n.content.attr("data-post-format"),category:n.content.attr("data-category"),category__not_in:n.content.attr("data-category-not-in"),tag:n.content.attr("data-tag"),tag__not_in:n.content.attr("data-tag-not-in"),taxonomy:n.content.attr("data-taxonomy"),taxonomy_terms:n.content.attr("data-taxonomy-terms"),taxonomy_operator:n.content.attr("data-taxonomy-operator"),taxonomy_relation:n.content.attr("data-taxonomy-relation"),meta_key:n.content.attr("data-meta-key"),meta_value:n.content.attr("data-meta-value"),meta_compare:n.content.attr("data-meta-compare"),meta_relation:n.content.attr("data-meta-relation"),meta_type:n.content.attr("data-meta-type"),author:n.content.attr("data-author"),year:n.content.attr("data-year"),month:n.content.attr("data-month"),day:n.content.attr("data-day"),post_status:n.content.attr("data-post-status"),order:n.content.attr("data-order"),orderby:n.content.attr("data-orderby"),post__in:n.content.attr("data-post-in"),post__not_in:n.content.attr("data-post-not-in"),exclude:n.content.attr("data-exclude"),search:n.content.attr("data-search"),custom_args:n.content.attr("data-custom-args"),posts_per_page:n.posts_per_page,page:n.page,offset:n.offset,preloaded:n.preloaded,preloaded_amount:n.preloaded_amount,seo_start_page:n.start_page,paging:n.paging,previous_post:n.previous_post_array,lang:n.lang,slug:n.slug,canonical_url:n.canonical_url,id:e.attr("data-id")},beforeSend:function(){1==n.page||n.paging||n.button.addClass("loading")},success:function(e){"standard"===a?n.AjaxLoadMore.success(e,!1):"totalpages"===a&&n.paging&&n.nextpage?t.isFunction(t.fn.almBuildPagination)&&t.fn.almBuildPagination(e,n):"totalposts"===a&&n.paging&&t.isFunction(t.fn.almBuildPagination)&&t.fn.almBuildPagination(e,n)},error:function(t,a,e){n.AjaxLoadMore.error(t,a,e)}})},n.paging&&(n.nextpage?n.AjaxLoadMore.ajax("totalpages"):n.AjaxLoadMore.ajax("totalposts")),n.AjaxLoadMore.success=function(e,o){n.previous_post&&n.AjaxLoadMore.getPreviousPost();var r,s,i;if(o?r=e:(r=e.html,s=e.meta,n.posts=n.posts+s.postcount,i=s.postcount,n.totalposts=s.totalposts,"true"===n.preloaded&&(n.totalposts=n.totalposts-n.preloaded_amount)),n.data=t(r),o&&(i=n.data.length),n.init&&(n.paging?i>0&&(n.el=t('<div class="alm-reveal"/>'),n.el.append('<div class="alm-paging-content"></div><div class="alm-paging-loading"></div>'),t(".alm-paging-content",n.el).append(n.data).hide(),n.content.append(n.el),n.content.parent().removeClass("loading"),n.AjaxLoadMore.resetBtnText(),t(".alm-paging-content",n.el).fadeIn(n.speed,"alm_easeInOutQuad",function(){var a=parseInt(n.content.css("padding-top")),e=parseInt(n.content.css("padding-bottom"));n.content.css("height",n.el.height()+a+e+"px"),t.isFunction(t.fn.almFadePageControls)&&t.fn.almFadePageControls(n.btnWrap)})):n.button.text(n.button_label),0===i&&t.isFunction(t.fn.almEmpty)&&t.fn.almEmpty(n),n.isPaged&&(n.posts_per_page=n.content.attr("data-posts-per-page"),n.page=n.start_page-1)),i>0){if(n.paging)n.init?(n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)):t(".alm-paging-content",n.el).html("").append(n.data).almWaitForImages().done(function(){t(".alm-paging-loading",n.el).fadeOut(n.speed),t.isFunction(t.fn.almOnPagingComplete)&&t.fn.almOnPagingComplete(n),n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)});else{if(n.previous_post)n.el=t('<div class="alm-reveal alm-previous-post post-'+n.previous_post_id+'" data-id="'+n.previous_post_id+'" data-title="'+n.previous_post_title+'" data-url="'+n.previous_post_permalink+'" data-page="'+n.page+'"/>'),n.el.append(n.data).hide();else if(n.transition_container){var p;if(n.init&&n.start_page>1){var d=[],l=parseInt(n.posts_per_page);"true"===n.cta&&(l+=1);Math.ceil(i/l);for(var c=0;c<i;c+=l)d.push(n.data.slice(c,l+c));n.el=n.content;for(var g=0;g<d.length;g++){var _,m="true"===n.preloaded?1:0;g>0||"true"===n.preloaded?(p=g+1+m,_=t("default"===n.permalink?'<div class="alm-reveal alm-seo" data-url="'+n.canonical_url+n.search_value+"&paged="+p+'" data-page="'+p+'" />':'<div class="alm-reveal alm-seo" data-url="'+n.canonical_url+"page/"+p+"/"+n.search_value+'" data-page="'+p+'" />')):_=t('<div class="alm-reveal alm-seo" data-url="'+n.canonical_url+n.search_value+'" data-page="1" />'),_.append(d[g]),_=t(_),n.el.append(_).hide()}}else{if(n.seo&&n.page>0||"true"===n.preloaded){var u="true"===n.preloaded?1:0;p=n.page+1+u,n.seo?"default"===n.permalink?n.el=t('<div class="alm-reveal alm-seo" data-url="'+n.canonical_url+n.search_value+"&paged="+p+'" data-page="'+p+'" />'):n.el=t('<div class="alm-reveal alm-seo" data-url="'+n.canonical_url+"page/"+p+"/"+n.search_value+'" data-page="'+p+'" />'):n.el=t('<div class="alm-reveal" />')}else n.seo?n.el=t('<div class="alm-reveal alm-seo" data-url="'+n.canonical_url+n.search_value+'" data-page="1" />'):n.el=t('<div class="alm-reveal" />');n.el.append(n.data).hide()}}else n.data.hide(),n.el=n.data;("masonry"!==n.transition||n.init&&!n.is_masonry_preloaded)&&n.content.append(n.el),"fade"===n.transition?"true"===n.images_loaded?n.el.almWaitForImages().done(function(){n.el.fadeIn(n.speed,"alm_easeInOutQuad",function(){n.loading=!1,n.paging||(n.button.delay(n.speed).removeClass("loading"),n.AjaxLoadMore.resetBtnText()),n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)})}):n.el.fadeIn(n.speed,"alm_easeInOutQuad",function(){n.loading=!1,n.paging||(n.button.delay(n.speed).removeClass("loading"),n.AjaxLoadMore.resetBtnText()),n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)}):"masonry"===n.transition?(almMasonry(n.masonry_wrap,n.el,n.masonry_selector,n.init,a),n.paging||(n.button.delay(n.speed).removeClass("loading"),n.AjaxLoadMore.resetBtnText()),n.loading=!1,n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)):"none"===n.transition?("true"===n.images_loaded?n.el.almWaitForImages().done(function(){n.el.show(),n.AjaxLoadMore.triggerAddons(n)}):(n.el.show(),n.AjaxLoadMore.triggerAddons(n)),n.loading=!1,n.paging||(n.button.delay(n.speed).removeClass("loading"),n.AjaxLoadMore.resetBtnText())):"true"===n.images_loaded?n.el.almWaitForImages().done(function(){n.el.slideDown(n.speed,"alm_easeInOutQuad",function(){n.loading=!1,n.paging||(n.button.delay(n.speed).removeClass("loading"),n.AjaxLoadMore.resetBtnText()),n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)})}):n.el.slideDown(n.speed,"alm_easeInOutQuad",function(){n.loading=!1,n.paging||(n.button.delay(n.speed).removeClass("loading"),n.AjaxLoadMore.resetBtnText()),n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)})}t.isFunction(t.fn.almComplete)&&("true"===n.images_loaded?n.el.almWaitForImages().done(function(){t.fn.almComplete(n)}):t.fn.almComplete(n)),n.cache?i<n.posts_per_page&&n.AjaxLoadMore.triggerDone():n.posts>=n.totalposts&&!n.previous_post&&n.AjaxLoadMore.triggerDone()}else n.paging||(n.button.delay(n.speed).removeClass("loading").addClass("done"),n.AjaxLoadMore.resetBtnText()),n.AjaxLoadMore.triggerDone();if(void 0!==n.destroy_after&&""!==n.destroy_after){var f=n.page+1;n.preload&&f++,f==n.destroy_after&&(n.disable_ajax=!0,n.paging||n.button.delay(n.speed).fadeOut(n.speed))}a=!1,n.init=!1},n.AjaxLoadMore.pagingPreloadedInit=function(a){n.el=t('<div class="alm-reveal"/>'),n.el.append('<div class="alm-paging-content">'+a+'</div><div class="alm-paging-loading"></div>'),n.content.append(n.el),n.content.parent().removeClass("loading"),n.AjaxLoadMore.resetBtnText();var e=parseInt(n.content.css("padding-top")),o=parseInt(n.content.css("padding-bottom"));n.content.css("height",n.el.height()+e+o+"px"),t.isFunction(t.fn.almFadePageControls)&&t.fn.almFadePageControls(n.btnWrap)},n.AjaxLoadMore.pagingNextpageInit=function(a){n.el=t('<div class="alm-reveal alm-nextpage"/>'),n.el.append('<div class="alm-paging-content">'+a+'</div><div class="alm-paging-loading"></div>'),n.el.appendTo(n.content),n.content.parent().removeClass("loading"),n.AjaxLoadMore.resetBtnText();var e=parseInt(n.content.css("padding-top")),o=parseInt(n.content.css("padding-bottom"));n.content.css("height",n.el.height()+e+o+"px"),t.isFunction(t.fn.almSetNextPageVars)&&t.fn.almSetNextPageVars(n),setTimeout(function(){t.isFunction(t.fn.almFadePageControls)&&t.fn.almFadePageControls(n.btnWrap),t.isFunction(t.fn.almOnWindowResize)&&t.fn.almOnWindowResize(n)},200)},n.fetchingPreviousPost=!1,n.AjaxLoadMore.getPreviousPost=function(){n.fetchingPreviousPost=!0,t.ajax({type:"GET",dataType:"JSON",url:alm_localize.ajaxurl,data:{action:"alm_query_previous_post",id:n.previous_post_id,taxonomy:n.previous_post_taxonomy},success:function(a){a.has_previous_post?(n.content.attr("data-previous-post-id",a.prev_id),n.previous_post_id=a.prev_id,n.previous_post_permalink=a.prev_permalink,n.previous_post_title=a.prev_title,n.previous_post_slug=a.prev_slug):a.has_previous_post||n.AjaxLoadMore.triggerDone(),t.isFunction(t.fn.almSetPreviousPost)&&t.fn.almSetPreviousPost(n,a.current_id,a.permalink,a.title),n.fetchingPreviousPost=!1},error:function(t,a,e){n.AjaxLoadMore.error(t,a,e),n.fetchingPreviousPost=!1}})},n.AjaxLoadMore.triggerAddons=function(a){t.isFunction(t.fn.almSEO)&&a.seo&&t.fn.almSEO(a),t.isFunction(t.fn.almSetNextPage)&&t.fn.almSetNextPage(a)},n.AjaxLoadMore.triggerDone=function(){n.loading=!1,n.finished=!0,n.paging||n.button.addClass("done"),t.isFunction(t.fn.almDone)&&setTimeout(function(){t.fn.almDone(n)},n.speed+10)},n.AjaxLoadMore.resetBtnText=function(){!1!==n.button_loading_label&&(n.paging||n.button.text(n.button_label))},n.AjaxLoadMore.error=function(t,a,e){n.loading=!1,n.paging||(n.button.removeClass("loading"),n.AjaxLoadMore.resetBtnText()),console.log(e)},n.paging||n.fetchingPreviousPost||n.button.on("click",function(){"true"===n.pause&&(n.pause=!1,n.pause_override=!1,n.AjaxLoadMore.loadPosts()),n.loading||n.finished||t(this).hasClass("done")||(n.loading=!0,n.page++,n.AjaxLoadMore.loadPosts())}),n.paging&&(n.window.bind("resizeEnd",function(){t.isFunction(t.fn.almOnWindowResize)&&t.fn.almOnWindowResize(n)}),n.window.resize(function(){this.resizeTO&&clearTimeout(this.resizeTO),this.resizeTO=setTimeout(function(){t(this).trigger("resizeEnd")},250)})),n.AjaxLoadMore.isVisible=function(){return n.visible=!1,n.el.is(":visible")&&(n.visible=!0),n.visible},n.scroll&&!n.paging&&n.window.bind("scroll touchstart",function(){if(n.AjaxLoadMore.isVisible()&&!n.fetchingPreviousPost){var t=n.button.offset(),a=Math.round(t.top-(n.window.height()-n.scroll_distance));!n.loading&&!n.finished&&n.window.scrollTop()>=a&&n.page<n.max_pages-1&&n.proceed&&"true"===n.pause&&"true"===n.pause_override?n.button.trigger("click"):!n.loading&&!n.finished&&n.window.scrollTop()>=a&&n.page<n.max_pages-1&&n.proceed&&"true"!==n.pause&&(n.page++,n.AjaxLoadMore.loadPosts())}}),n.AjaxLoadMore.init=function(){n.paging||n.previous_post||(n.disable_ajax?(n.finished=!0,n.button.addClass("done")):"true"===n.pause?(n.button.text(n.button_label),n.loading=!1):n.AjaxLoadMore.loadPosts()),n.previous_post&&(n.AjaxLoadMore.getPreviousPost(),n.loading=!1),n.nextpage&&t(".alm-nextpage").length>1&&t(".alm-nextpage").length==t(".alm-nextpage").eq(0).data("total-pages")&&n.AjaxLoadMore.triggerDone(),n.window.bind("load",function(){n.is_masonry_preloaded&&almMasonry(n.masonry_wrap,n.el,n.masonry_selector,!0,!1)})},n.AjaxLoadMore.init(),setTimeout(function(){n.proceed=!0},300),t.fn.almUpdateCurrentPage=function(a,e,o){o.page=a,o.nextpage&&!o.paging&&(o.page=o.page-1);var n="";o.paging_init&&"true"===o.preloaded?(n=t(".alm-preloaded .alm-reveal",o.el).html(),t(".alm-preloaded",o.el).remove(),o.preloaded_amount=0,o.AjaxLoadMore.pagingPreloadedInit(n),o.paging_init=!1,o.init=!1):o.paging_init&&o.nextpage?(n=t(".alm-nextpage",o.el).html(),t(".alm-nextpage",o.el).remove(),o.AjaxLoadMore.pagingNextpageInit(n),o.paging_init=!1,o.init=!1):o.AjaxLoadMore.loadPosts()},t.fn.almGetParentContainer=function(){return n.el.closest("#ajax-load-more")},t.fn.almGetObj=function(){return n},t.fn.almTriggerClick=function(){n.button.trigger("click")},t.easing.alm_easeInOutQuad=function(t,a,e,o,n){return(a/=n/2)<1?o/2*a*a+e:-o/2*(--a*(a-2)-1)+e}},t.fn.almFilter=function(a,e,o){o.target?t(".ajax-load-more-wrap[data-id='"+o.target+"']").each(function(n){var r=t(this);t.fn.almFilterTransition(a,e,o,r)}):t(".ajax-load-more-wrap").each(function(n){var r=t(this);t.fn.almFilterTransition(a,e,o,r)})},t.fn.almFilterTransition=function(a,o,n,r){"slide"===a?r.slideUp(o,function(){t(".alm-listing",r).html(""),t(".alm-btn-wrap",r).remove(),r.fadeIn(o),e(r,n)}):"fade"===a?r.fadeOut(o,function(){t(".alm-listing",r).html(""),t(".alm-btn-wrap",r).remove(),r.fadeIn(o),e(r,n)}):"masonry"===a?r.fadeOut(o,function(){t(".alm-listing",r).html(""),t(".alm-btn-wrap",r).remove(),r.fadeIn(o),e(r,n)}):(t(".alm-listing",r).html(""),t(".alm-btn-wrap",r).remove(),r.fadeIn(o),e(r,n))};var e=function(e,o){t.each(o,function(a,o){a=a.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2"),t(".alm-listing",e).attr("data-"+a,o)}),t.isFunction(t.fn.almFilterComplete)&&t.fn.almFilterComplete(),a=!0,o.target?t(".ajax-load-more-wrap[data-id="+o.target+"]").ajaxloadmore():t(".ajax-load-more-wrap").ajaxloadmore()};t.fn.ajaxloadmore=function(){return this.each(function(a){t(this).data("alm",new t.ajaxloadmore(t(this),a))})},t(".ajax-load-more-wrap").length&&t(".ajax-load-more-wrap").ajaxloadmore()}(jQuery);var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"===("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=t(require("jquery")):t(jQuery)}(function(t){t.almWaitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage","cursor"],hasImageAttributes:["srcset"]},t.expr[":"]["has-src"]=function(a){return t(a).is('img[src][src!=""]')},t.expr[":"].uncached=function(a){return!!t(a).is(":has-src")&&!a.complete},t.fn.almWaitForImages=function(){var a,e,o,n=0,r=0,s=t.Deferred();if(t.isPlainObject(arguments[0])?(o=arguments[0].waitForAll,e=arguments[0].each,a=arguments[0].finished):1===arguments.length&&"boolean"===t.type(arguments[0])?o=arguments[0]:(a=arguments[0],e=arguments[1],o=arguments[2]),a=a||t.noop,e=e||t.noop,o=!!o,!t.isFunction(a)||!t.isFunction(e))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var i=t(this),p=[],d=t.almWaitForImages.hasImageProperties||[],l=t.almWaitForImages.hasImageAttributes||[],c=/url\(\s*(['"]?)(.*?)\1\s*\)/g;o?i.find("*").addBack().each(function(){var a=t(this);a.is("img:has-src")&&p.push({src:a.attr("src"),element:a[0]}),t.each(d,function(t,e){var o,n=a.css(e);if(!n)return!0;for(;o=c.exec(n);)p.push({src:o[2],element:a[0]})}),t.each(l,function(e,o){var n,r=a.attr(o);if(!r)return!0;n=r.split(","),t.each(n,function(e,o){o=t.trim(o).split(" ")[0],p.push({src:o,element:a[0]})})})}):i.find("img:has-src").each(function(){p.push({src:this.src,element:this})}),n=p.length,r=0,0===n&&(a.call(i[0]),s.resolveWith(i[0])),t.each(p,function(o,p){var d=new Image,l="load.almWaitForImages error.almWaitForImages";t(d).one(l,function o(d){var c=[r,n,"load"==d.type];if(r++,e.apply(p.element,c),s.notifyWith(p.element,c),t(this).off(l,o),r==n)return a.call(i[0]),s.resolveWith(i[0]),!1}),d.src=p.src})}),s.promise()}});
|
1 |
+
"use strict";var almMasonryInit=!0,almMasonry=function t(a,e,o,n,r,s,i){var l=(r+100)/1e3+"s",d="scale(0.5)",p="scale(1)";"zoom-out"===n&&(d="translateY(-20px) scale(1.25)",p="translateY(0) scale(1)"),"slide-up"===n&&(d="translateY(50px)",p="translateY(0)"),"slide-down"===n&&(d="translateY(-50px)",p="translateY(0)"),"none"===n&&(d="translateY(0)",p="translateY(0)"),i?(a.masonry("destroy"),almMasonryInit=!0,a.append(e),t(a,e,o,n,r,!0,!1)):almMasonryInit&&s?(almMasonryInit=!1,a.imagesLoaded(function(){e.fadeIn(r),a.masonry({itemSelector:o,transitionDuration:l,hiddenStyle:{transform:d,opacity:0},visibleStyle:{transform:p,opacity:1}}),a.masonry("reloadItems")})):(a.append(e),a.imagesLoaded(function(){e.show(),a.masonry("appended",e)}))};!function(t){var a=!1;t.ajaxloadmore=function(e,o){"true"===alm_localize.scrolltop&&t(window).scrollTop(0);var n=this;n.AjaxLoadMore={},n.window=t(window),n.page=0,n.posts=0,n.totalposts=0,n.proceed=!1,n.disable_ajax=!1,n.init=!0,n.loading=!0,n.finished=!1,n.button_label="",n.el=e,n.container=e,n.container.addClass("alm-"+o).attr("data-alm-id",o),n.content=t(".alm-ajax",n.container),n.content_preloaded=t(".alm-listing.alm-preloaded",n.container),n.canonical_url=n.el.attr("data-canonical-url"),n.is_search=n.el.attr("data-search"),n.slug=n.el.attr("data-slug"),n.post_id=n.el.attr("data-post-id"),n.prefix="alm-",n.cache=n.content.attr("data-cache"),n.cache_id=n.content.attr("data-cache-id"),n.cache_path=n.content.attr("data-cache-path"),n.cache_logged_in=n.content.attr("data-cache-logged-in"),n.repeater=n.content.attr("data-repeater"),n.theme_repeater=n.content.attr("data-theme-repeater"),n.scroll_distance=parseInt(n.content.attr("data-scroll-distance")),n.scroll_container=n.content.attr("data-scroll-container"),n.max_pages=parseInt(n.content.attr("data-max-pages")),n.pause_override=n.content.attr("data-pause-override"),n.pause=n.content.attr("data-pause"),n.transition=n.content.attr("data-transition"),n.transition_container=n.content.attr("data-transition-container"),n.speed=n.content.attr("data-transition-speed"),n.images_loaded=n.content.attr("data-images-loaded"),n.destroy_after=n.content.attr("data-destroy-after"),n.lang=n.content.attr("data-lang"),n.orginal_posts_per_page=n.content.attr("data-posts-per-page"),n.posts_per_page=n.content.attr("data-posts-per-page"),n.cta_array="",n.cta=n.content.attr("data-cta"),n.cta_position=n.content.attr("data-cta-position"),n.cta_repeater=n.content.attr("data-cta-repeater"),n.cta_theme_repeater=n.content.attr("data-cta-theme-repeater"),n.acf_array="",n.acf=n.content.attr("data-acf"),n.acf_field_type=n.content.attr("data-acf-field-type"),n.acf_field_name=n.content.attr("data-acf-field-name"),n.acf_post_id=n.content.attr("data-acf-post-id"),n.nextpage_array="",n.nextpage=n.content.attr("data-nextpage"),n.nextpage_urls=n.content.attr("data-nextpage-urls"),n.nextpage_scroll=n.content.attr("data-nextpage-scroll"),n.nextpage_pageviews=n.content.attr("data-nextpage-pageviews"),n.nextpage_post_id=n.content.attr("data-nextpage-post-id"),n.nextpage_startpage=n.content.attr("data-nextpage-startpage"),n.previous_post=n.content.attr("data-previous-post"),n.previous_post_id=n.content.attr("data-previous-post-id"),n.previous_post_taxonomy=n.content.attr("data-previous-post-taxonomy"),n.previous_post_excluded_terms=n.content.attr("data-previous-post-excluded-terms"),n.comments=n.content.attr("data-comments"),"true"===n.comments&&(n.content=t(".alm-comments",n.container)),n.comments_array="",n.comments_post_id=n.content.attr("data-comments_post_id"),n.comments_per_page=n.content.attr("data-comments_per_page"),n.comments_type=n.content.attr("data-comments_type"),n.comments_style=n.content.attr("data-comments_style"),n.comments_template=n.content.attr("data-comments_template"),n.comments_callback=n.content.attr("data-comments_callback"),n.restapi=n.content.attr("data-restapi"),n.restapi_base_url=n.content.attr("data-restapi-base-url"),n.restapi_namespace=n.content.attr("data-restapi-namespace"),n.restapi_endpoint=n.content.attr("data-restapi-endpoint"),n.restapi_template_id=n.content.attr("data-restapi-template-id"),n.restapi_debug=n.content.attr("data-restapi-debug"),n.seo=n.content.attr("data-seo"),n.preloaded=n.content.attr("data-preloaded"),n.preloaded_amount=n.content.attr("data-preloaded-amount"),n.paging=n.content.attr("data-paging"),n.paging_controls=n.content.attr("data-paging-controls"),n.paging_show_at_most=n.content.attr("data-paging-show-at-most"),n.paging_classes=n.content.attr("data-paging-classes"),n.paging_init=!0,"true"===n.restapi?(n.restapi=!0,void 0===n.restapi_debug&&(n.restapi_debug=!1),""===n.restapi_template_id&&(n.restapi=!1)):n.restapi=!1,"true"===n.paging?(n.paging=!0,void 0===n.paging_show_at_most&&(n.paging_show_at_most=7),"true"===n.preloaded&&(n.pause=!0)):n.paging=!1,"true"===n.paging_controls?n.paging_controls=!0:n.paging_controls=!1,void 0===n.cache&&(n.cache=!1),void 0===n.cache_logged_in&&(n.cache_logged_in=!1),void 0===n.comments_per_page&&(n.comments_per_page="5"),"true"===n.preloaded?(n.preload_wrap=n.content.prev(".alm-preloaded"),n.preloaded_total_posts=parseInt(n.preload_wrap.attr("data-total-posts")),void 0===n.preloaded_amount&&(n.preloaded_amount=!1),n.preloaded_total_posts<=n.preloaded_amount&&(n.disable_ajax=!0)):n.preloaded="false",void 0===n.seo&&(n.seo=!1),"true"===n.seo&&(n.seo=!0),void 0===n.is_search&&(n.is_search=!1),n.search_value="true"===n.is_search?n.slug:"",n.permalink=n.content.attr("data-seo-permalink"),n.pageview=n.content.attr("data-seo-pageview"),n.start_page=n.content.attr("data-seo-start-page"),n.start_page?(n.seo_scroll=n.content.attr("data-seo-scroll"),n.seo_scroll_speed=n.content.attr("data-seo-scroll-speed"),n.seo_scrolltop=n.content.attr("data-seo-scrolltop"),n.isPaged=!1,n.start_page>1&&(n.isPaged=!0,n.posts_per_page=n.start_page*n.posts_per_page),n.paging&&(n.posts_per_page=n.orginal_posts_per_page)):n.start_page=1,"true"===n.nextpage?(n.nextpage=!0,n.posts_per_page=1):n.nextpage=!1,void 0===n.nextpage_urls&&(n.nextpage="true"),void 0===n.nextpage_scroll&&(n.nextpage_scroll="250:30"),void 0===n.nextpage_pageviews&&(n.nextpage_pageviews="true"),void 0===n.nextpage_post_id&&(n.nextpage=!1,n.nextpage_post_id=null),void 0===n.nextpage_startpage&&(n.nextpage_startpage=1),n.nextpage_startpage>1&&(n.isPaged=!0),"true"===n.acf?n.acf=!0:n.acf=!1,void 0!==n.acf_field_type&&void 0!==n.acf_field_name&&void 0!==n.acf_post_id||(n.acf=!1),"true"===n.previous_post?(n.previous_post=!0,n.previous_post_permalink="",n.previous_post_title="",n.previous_post_slug=""):n.previous_post=!1,void 0===n.previous_post_id&&(n.previous_post_id=""),void 0===n.previous_post_taxonomy&&(n.previous_post_taxonomy=""),void 0===n.previous_post_excluded_terms&&(n.previous_post_excluded_terms=""),n.previous_post_title_template=n.content.attr("data-previous-post-title-template"),n.siteTitle=n.content.attr("data-previous-post-site-title"),n.siteTagline=n.content.attr("data-previous-post-site-tagline"),n.previous_post_pageview=n.content.attr("data-previous-post-pageview"),n.previous_post_scroll=n.content.attr("data-previous-post-scroll"),n.previous_post_scroll_speed=n.content.attr("data-previous-post-scroll-speed"),n.previous_post_scroll_top=n.content.attr("data-previous-post-scrolltop"),void 0===n.content.attr("data-offset")?n.offset=0:n.offset=n.content.attr("data-offset"),(void 0===n.pause||n.seo&&n.start_page>1)&&(n.pause=!1),"true"===n.preloaded&&n.seo&&n.start_page>0&&(n.pause=!1),"true"===n.preloaded&&n.paging&&(n.pause=!0),void 0===n.repeater&&(n.repeater="default"),void 0===n.theme_repeater&&(n.theme_repeater="null"),void 0===n.max_pages&&(n.max_pages=0),0===n.max_pages&&(n.max_pages=1e4),void 0===n.scroll_distance&&(n.scroll_distance=150),void 0===n.scroll_container&&(n.scroll_container=""),void 0===n.transition&&(n.transition="slide"),n.is_masonry_preloaded=!1,"masonry"===n.transition&&(n.masonry_selector=n.content.attr("data-masonry-selector"),n.masonry_animation=n.content.attr("data-masonry-animation"),void 0===n.masonry_animation&&(n.masonry_animation="standard"),n.masonry_wrap=n.content,n.transition_container=!1,document.body.contains(n.content_preloaded.get(0))&&(n.masonry_wrap=n.content_preloaded,n.is_masonry_preloaded=!0)),void 0===n.speed?n.speed=250:n.speed=parseInt(n.speed),void 0===n.transition_container||"true"===n.transition_container?n.transition_container=!0:n.transition_container=!1,void 0===n.images_loaded&&(n.images_loaded="false"),n.destroy_after,void 0===n.content.attr("data-button-label")?n.button_label="Older Posts":n.button_label=n.content.attr("data-button-label"),n.button_loading_label=n.content.attr("data-button-loading-label"),void 0===n.button_loading_label&&(n.button_loading_label=!1),void 0===n.content.attr("data-button-class")?n.button_class="":n.button_class=" "+n.content.attr("data-button-class"),void 0===n.content.attr("data-scroll")?n.scroll=!0:"false"===n.content.attr("data-scroll")?n.scroll=!1:n.scroll=!0,n.post_type=n.content.attr("data-post-type"),n.post_type=n.post_type.split(","),n.sticky_posts=n.content.attr("data-sticky-posts"),n.container.append('<div class="'+n.prefix+'btn-wrap"/>'),n.btnWrap=t("."+n.prefix+"btn-wrap",n.container),n.paging?n.content.parent().addClass("loading"):(t("."+n.prefix+"btn-wrap",n.container).append('<button id="load-more" class="'+n.prefix+"load-more-btn more"+n.button_class+'">'+n.button_label+"</button>"),n.button=t(".alm-load-more-btn",n.container)),n.AjaxLoadMore.loadPosts=function(){if(!n.disable_ajax)if(n.paging||(n.button.addClass("loading"),!1!==n.button_loading_label&&n.button.html(n.button_loading_label)),n.container.addClass("alm-loading"),n.loading=!0,"true"!==n.cache||n.cache_logged_in)n.AjaxLoadMore.ajax("standard");else{var a;if(n.init&&n.seo&&n.isPaged){a=n.cache_path+n.cache_id+"/page-1-"+n.start_page+".html"}else if(n.nextpage){var e;n.paging?e=parseInt(n.page)+1:(e=parseInt(n.page)+2,n.isPaged&&(e=parseInt(n.page)+parseInt(n.nextpage_startpage)+1)),a=n.cache_path+n.cache_id+"/page-"+e+".html"}else a=n.previous_post?n.cache_path+n.cache_id+"/"+n.previous_post_slug+".html":n.cache_path+n.cache_id+"/page-"+(n.page+1)+".html";t.get(a,function(t){n.AjaxLoadMore.success(t,!0)}).fail(function(){n.AjaxLoadMore.ajax("standard")})}},n.AjaxLoadMore.ajax=function(a){var o="alm_query_posts";if(n.acf&&("relationship"!==n.acf_field_type&&(o="alm_acf_query"),n.acf_array={acf:"true",post_id:n.acf_post_id,field_type:n.acf_field_type,field_name:n.acf_field_name}),n.nextpage&&(o="alm_nextpage_query",n.nextpage_array={nextpage:"true",urls:n.nextpage_urls,scroll:n.nextpage_scroll,pageviews:n.nextpage_pageviews,post_id:n.nextpage_post_id,startpage:n.nextpage_startpage}),n.previous_post&&(n.previous_post_array={previous_post:"true",id:n.previous_post_id,slug:n.previous_post_slug}),"true"===n.comments&&(o="alm_comments_query",n.posts_per_page=n.comments_per_page,n.comments_array={comments:"true",post_id:n.comments_post_id,per_page:n.comments_per_page,type:n.comments_type,style:n.comments_style,template:n.comments_template,callback:n.comments_callback}),"true"===n.cta&&(n.cta_array={cta:"true",cta_position:n.cta_position,cta_repeater:n.cta_repeater,cta_theme_repeater:n.cta_theme_repeater}),n.restapi){var r=wp.template(n.restapi_template_id),s=n.restapi_base_url+"/"+n.restapi_namespace+"/"+n.restapi_endpoint,i={posts_per_page:n.posts_per_page,page:n.page,offset:n.offset,slug:n.slug,canonical_url:n.canonical_url,post_type:n.post_type,post_format:n.content.attr("data-post-format"),category:n.content.attr("data-category"),category__not_in:n.content.attr("data-category-not-in"),tag:n.content.attr("data-tag"),tag__not_in:n.content.attr("data-tag-not-in"),taxonomy:n.content.attr("data-taxonomy"),taxonomy_terms:n.content.attr("data-taxonomy-terms"),taxonomy_operator:n.content.attr("data-taxonomy-operator"),taxonomy_relation:n.content.attr("data-taxonomy-relation"),meta_key:n.content.attr("data-meta-key"),meta_value:n.content.attr("data-meta-value"),meta_compare:n.content.attr("data-meta-compare"),meta_relation:n.content.attr("data-meta-relation"),meta_type:n.content.attr("data-meta-type"),author:n.content.attr("data-author"),year:n.content.attr("data-year"),month:n.content.attr("data-month"),day:n.content.attr("data-day"),post_status:n.content.attr("data-post-status"),order:n.content.attr("data-order"),orderby:n.content.attr("data-orderby"),post__in:n.content.attr("data-post-in"),post__not_in:n.content.attr("data-post-not-in"),search:n.content.attr("data-search"),custom_args:n.content.attr("data-custom-args"),lang:n.lang,preloaded:n.preloaded,preloaded_amount:n.preloaded_amount,seo_start_page:n.start_page,id:e.attr("data-id")};t.ajax({type:"GET",url:s,data:i,dataType:"JSON",beforeSend:function(){1==n.page||n.paging||n.button.addClass("loading")},success:function(a){var e,o=a.html,s=a.meta,i=s.postcount,l=s.totalposts;t.each(o,function(t){var a=o[t];"true"===n.restapi_debug&&console.log(a),e+=r(a)});var d={html:e,meta:{postcount:i,totalposts:l}};n.AjaxLoadMore.success(d,!1)}})}else t.ajax({type:"GET",url:alm_localize.ajaxurl,dataType:"JSON",data:{action:o,query_type:a,nonce:alm_localize.alm_nonce,cache_id:n.cache_id,repeater:n.repeater,theme_repeater:n.theme_repeater,acf:n.acf_array,nextpage:n.nextpage_array,cta:n.cta_array,comments:n.comments_array,post_type:n.post_type,sticky_posts:n.sticky_posts,post_format:n.content.attr("data-post-format"),category:n.content.attr("data-category"),category__not_in:n.content.attr("data-category-not-in"),tag:n.content.attr("data-tag"),tag__not_in:n.content.attr("data-tag-not-in"),taxonomy:n.content.attr("data-taxonomy"),taxonomy_terms:n.content.attr("data-taxonomy-terms"),taxonomy_operator:n.content.attr("data-taxonomy-operator"),taxonomy_relation:n.content.attr("data-taxonomy-relation"),meta_key:n.content.attr("data-meta-key"),meta_value:n.content.attr("data-meta-value"),meta_compare:n.content.attr("data-meta-compare"),meta_relation:n.content.attr("data-meta-relation"),meta_type:n.content.attr("data-meta-type"),author:n.content.attr("data-author"),year:n.content.attr("data-year"),month:n.content.attr("data-month"),day:n.content.attr("data-day"),post_status:n.content.attr("data-post-status"),order:n.content.attr("data-order"),orderby:n.content.attr("data-orderby"),post__in:n.content.attr("data-post-in"),post__not_in:n.content.attr("data-post-not-in"),exclude:n.content.attr("data-exclude"),search:n.content.attr("data-search"),custom_args:n.content.attr("data-custom-args"),posts_per_page:n.posts_per_page,page:n.page,offset:n.offset,preloaded:n.preloaded,preloaded_amount:n.preloaded_amount,seo_start_page:n.start_page,paging:n.paging,previous_post:n.previous_post_array,lang:n.lang,slug:n.slug,canonical_url:n.canonical_url,id:e.attr("data-id")},beforeSend:function(){1==n.page||n.paging||n.button.addClass("loading")},success:function(e){"standard"===a?n.AjaxLoadMore.success(e,!1):"totalpages"===a&&n.paging&&n.nextpage?t.isFunction(t.fn.almBuildPagination)&&t.fn.almBuildPagination(e,n):"totalposts"===a&&n.paging&&t.isFunction(t.fn.almBuildPagination)&&t.fn.almBuildPagination(e,n)},error:function(t,a,e){n.AjaxLoadMore.error(t,a,e)}})},n.paging&&(n.nextpage?n.AjaxLoadMore.ajax("totalpages"):n.AjaxLoadMore.ajax("totalposts")),n.AjaxLoadMore.success=function(e,o){n.previous_post&&n.AjaxLoadMore.getPreviousPost();var r,s,i;if(o?r=e:(r=e.html,s=e.meta,n.posts=n.posts+s.postcount,i=s.postcount,n.totalposts=s.totalposts,"true"===n.preloaded&&(n.totalposts=n.totalposts-n.preloaded_amount)),n.data=t(r),o&&(i=n.data.length),n.init&&(n.paging?i>0&&(n.el=t('<div class="alm-reveal"/>'),n.el.append('<div class="alm-paging-content"></div><div class="alm-paging-loading"></div>'),t(".alm-paging-content",n.el).append(n.data).hide(),n.content.append(n.el),n.content.parent().removeClass("loading"),n.AjaxLoadMore.resetBtnText(),t(".alm-paging-content",n.el).fadeIn(n.speed,"alm_easeInOutQuad",function(){var a=parseInt(n.content.css("padding-top")),e=parseInt(n.content.css("padding-bottom"));n.content.css("height",n.el.height()+a+e+"px"),t.isFunction(t.fn.almFadePageControls)&&t.fn.almFadePageControls(n.btnWrap)})):n.button.html(n.button_label),0===i&&t.isFunction(t.fn.almEmpty)&&t.fn.almEmpty(n),n.isPaged&&(n.posts_per_page=n.content.attr("data-posts-per-page"),n.page=n.start_page-1)),i>0){if(n.paging)n.init?(n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)):t(".alm-paging-content",n.el).html("").append(n.data).almWaitForImages().done(function(){t(".alm-paging-loading",n.el).fadeOut(n.speed),t.isFunction(t.fn.almOnPagingComplete)&&t.fn.almOnPagingComplete(n),n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)});else{if(n.previous_post)n.el=t('<div class="alm-reveal alm-previous-post post-'+n.previous_post_id+'" data-id="'+n.previous_post_id+'" data-title="'+n.previous_post_title+'" data-url="'+n.previous_post_permalink+'" data-page="'+n.page+'"/>'),n.el.append(n.data).hide();else if(n.transition_container){var l;if(n.init&&n.start_page>1){var d=[],p=parseInt(n.posts_per_page);"true"===n.cta&&(p+=1);Math.ceil(i/p);for(var c=0;c<i;c+=p)d.push(n.data.slice(c,p+c));n.el=n.content;for(var g=0;g<d.length;g++){var _,m="true"===n.preloaded?1:0;g>0||"true"===n.preloaded?(l=g+1+m,_=t("default"===n.permalink?'<div class="alm-reveal alm-seo" data-url="'+n.canonical_url+n.search_value+"&paged="+l+'" data-page="'+l+'" />':'<div class="alm-reveal alm-seo" data-url="'+n.canonical_url+"page/"+l+"/"+n.search_value+'" data-page="'+l+'" />')):_=t('<div class="alm-reveal alm-seo" data-url="'+n.canonical_url+n.search_value+'" data-page="1" />'),_.append(d[g]),_=t(_),n.el.append(_).hide()}}else{if(n.seo&&n.page>0||"true"===n.preloaded){var u="true"===n.preloaded?1:0;l=n.page+1+u,n.seo?"default"===n.permalink?n.el=t('<div class="alm-reveal alm-seo" data-url="'+n.canonical_url+n.search_value+"&paged="+l+'" data-page="'+l+'" />'):n.el=t('<div class="alm-reveal alm-seo" data-url="'+n.canonical_url+"page/"+l+"/"+n.search_value+'" data-page="'+l+'" />'):n.el=t('<div class="alm-reveal" />')}else n.seo?n.el=t('<div class="alm-reveal alm-seo" data-url="'+n.canonical_url+n.search_value+'" data-page="1" />'):n.el=t('<div class="alm-reveal" />');n.el.append(n.data).hide()}}else n.data.hide(),n.el=n.data;("masonry"!==n.transition||n.init&&!n.is_masonry_preloaded)&&n.content.append(n.el),"fade"===n.transition?"true"===n.images_loaded?n.el.almWaitForImages().done(function(){n.el.fadeIn(n.speed,"alm_easeInOutQuad",function(){n.loading=!1,n.paging||(n.button.delay(n.speed).removeClass("loading"),n.AjaxLoadMore.resetBtnText()),n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)})}):n.el.fadeIn(n.speed,"alm_easeInOutQuad",function(){n.loading=!1,n.paging||(n.button.delay(n.speed).removeClass("loading"),n.AjaxLoadMore.resetBtnText()),n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)}):"masonry"===n.transition?(almMasonry(n.masonry_wrap,n.el,n.masonry_selector,n.masonry_animation,n.speed,n.init,a),n.paging||(n.button.delay(n.speed).removeClass("loading"),n.AjaxLoadMore.resetBtnText()),n.loading=!1,n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)):"none"===n.transition?("true"===n.images_loaded?n.el.almWaitForImages().done(function(){n.el.show(),n.AjaxLoadMore.triggerAddons(n)}):(n.el.show(),n.AjaxLoadMore.triggerAddons(n)),n.loading=!1,n.paging||(n.button.delay(n.speed).removeClass("loading"),n.AjaxLoadMore.resetBtnText())):"true"===n.images_loaded?n.el.almWaitForImages().done(function(){n.el.slideDown(n.speed,"alm_easeInOutQuad",function(){n.loading=!1,n.paging||(n.button.delay(n.speed).removeClass("loading"),n.AjaxLoadMore.resetBtnText()),n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)})}):n.el.slideDown(n.speed,"alm_easeInOutQuad",function(){n.loading=!1,n.paging||(n.button.delay(n.speed).removeClass("loading"),n.AjaxLoadMore.resetBtnText()),n.container.removeClass("alm-loading"),n.AjaxLoadMore.triggerAddons(n)})}t.isFunction(t.fn.almComplete)&&("true"===n.images_loaded?n.el.almWaitForImages().done(function(){t.fn.almComplete(n)}):t.fn.almComplete(n)),n.cache?i<n.posts_per_page&&n.AjaxLoadMore.triggerDone():n.posts>=n.totalposts&&!n.previous_post&&n.AjaxLoadMore.triggerDone()}else n.paging||(n.button.delay(n.speed).removeClass("loading").addClass("done"),n.AjaxLoadMore.resetBtnText()),n.AjaxLoadMore.triggerDone();if(void 0!==n.destroy_after&&""!==n.destroy_after){var f=n.page+1;n.preload&&f++,f==n.destroy_after&&(n.disable_ajax=!0,n.paging||n.button.delay(n.speed).fadeOut(n.speed))}a=!1,n.init=!1},n.AjaxLoadMore.pagingPreloadedInit=function(a){n.el=t('<div class="alm-reveal"/>'),n.el.append('<div class="alm-paging-content">'+a+'</div><div class="alm-paging-loading"></div>'),n.content.append(n.el),n.content.parent().removeClass("loading"),n.AjaxLoadMore.resetBtnText();var e=parseInt(n.content.css("padding-top")),o=parseInt(n.content.css("padding-bottom"));n.content.css("height",n.el.height()+e+o+"px"),t.isFunction(t.fn.almFadePageControls)&&t.fn.almFadePageControls(n.btnWrap)},n.AjaxLoadMore.pagingNextpageInit=function(a){n.el=t('<div class="alm-reveal alm-nextpage"/>'),n.el.append('<div class="alm-paging-content">'+a+'</div><div class="alm-paging-loading"></div>'),n.el.appendTo(n.content),n.content.parent().removeClass("loading"),n.AjaxLoadMore.resetBtnText();var e=parseInt(n.content.css("padding-top")),o=parseInt(n.content.css("padding-bottom"));n.content.css("height",n.el.height()+e+o+"px"),t.isFunction(t.fn.almSetNextPageVars)&&t.fn.almSetNextPageVars(n),setTimeout(function(){t.isFunction(t.fn.almFadePageControls)&&t.fn.almFadePageControls(n.btnWrap),t.isFunction(t.fn.almOnWindowResize)&&t.fn.almOnWindowResize(n)},200)},n.fetchingPreviousPost=!1,n.AjaxLoadMore.getPreviousPost=function(){n.fetchingPreviousPost=!0;var a={action:"alm_query_previous_post",id:n.previous_post_id,taxonomy:n.previous_post_taxonomy,excluded_terms:n.previous_post_excluded_terms};t.ajax({type:"GET",dataType:"JSON",url:alm_localize.ajaxurl,data:a,success:function(a){a.has_previous_post?(n.content.attr("data-previous-post-id",a.prev_id),n.previous_post_id=a.prev_id,n.previous_post_permalink=a.prev_permalink,n.previous_post_title=a.prev_title,n.previous_post_slug=a.prev_slug):a.has_previous_post||n.AjaxLoadMore.triggerDone(),t.isFunction(t.fn.almSetPreviousPost)&&t.fn.almSetPreviousPost(n,a.current_id,a.permalink,a.title),n.fetchingPreviousPost=!1},error:function(t,a,e){n.AjaxLoadMore.error(t,a,e),n.fetchingPreviousPost=!1}})},n.AjaxLoadMore.triggerAddons=function(a){t.isFunction(t.fn.almSEO)&&a.seo&&t.fn.almSEO(a),t.isFunction(t.fn.almSetNextPage)&&t.fn.almSetNextPage(a)},n.AjaxLoadMore.triggerDone=function(){n.loading=!1,n.finished=!0,n.paging||n.button.addClass("done"),t.isFunction(t.fn.almDone)&&setTimeout(function(){t.fn.almDone(n)},n.speed+10)},n.AjaxLoadMore.resetBtnText=function(){!1!==n.button_loading_label&&(n.paging||n.button.html(n.button_label))},n.AjaxLoadMore.error=function(t,a,e){n.loading=!1,n.paging||(n.button.removeClass("loading"),n.AjaxLoadMore.resetBtnText()),console.log(e)},n.paging||n.fetchingPreviousPost||n.button.on("click",function(){"true"===n.pause&&(n.pause=!1,n.pause_override=!1,n.AjaxLoadMore.loadPosts()),n.loading||n.finished||t(this).hasClass("done")||(n.loading=!0,n.page++,n.AjaxLoadMore.loadPosts())}),n.paging&&(n.window.bind("resizeEnd",function(){t.isFunction(t.fn.almOnWindowResize)&&t.fn.almOnWindowResize(n)}),n.window.resize(function(){this.resizeTO&&clearTimeout(this.resizeTO),this.resizeTO=setTimeout(function(){t(this).trigger("resizeEnd")},250)})),n.AjaxLoadMore.isVisible=function(){return n.visible=!1,n.el.is(":visible")&&(n.visible=!0),n.visible},n.scroll&&!n.paging&&(""!==n.scroll_container&&(n.window=t(n.scroll_container)),n.window.bind("scroll touchstart",function(){if(n.AjaxLoadMore.isVisible()&&!n.fetchingPreviousPost){var t=n.button.offset().top,a=Math.round(t-(n.window.height()-n.scroll_distance)),e=n.window.scrollTop()>=a;""!==n.scroll_container&&(e=n.button.offset().top-(n.window.height()-n.scroll_distance)<n.window.offset().top),!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"===n.pause&&"true"===n.pause_override?n.button.trigger("click"):!n.loading&&!n.finished&&e&&n.page<n.max_pages-1&&n.proceed&&"true"!==n.pause&&(n.page++,n.AjaxLoadMore.loadPosts())}})),n.AjaxLoadMore.init=function(){n.paging||n.previous_post||(n.disable_ajax?(n.finished=!0,n.button.addClass("done")):"true"===n.pause?(n.button.html(n.button_label),n.loading=!1):n.AjaxLoadMore.loadPosts()),n.previous_post&&(n.AjaxLoadMore.getPreviousPost(),n.loading=!1),n.nextpage&&t(".alm-nextpage").length>1&&t(".alm-nextpage").length==t(".alm-nextpage").eq(0).data("total-pages")&&n.AjaxLoadMore.triggerDone(),n.window.bind("load",function(){n.is_masonry_preloaded&&almMasonry(n.masonry_wrap,n.el,n.masonry_selector,n.masonry_animation,n.speed,!0,!1)})},n.AjaxLoadMore.init(),setTimeout(function(){n.proceed=!0},300),t.fn.almUpdateCurrentPage=function(a,e,o){o.page=a,o.nextpage&&!o.paging&&(o.page=o.page-1);var n="";o.paging_init&&"true"===o.preloaded?(n=t(".alm-preloaded .alm-reveal",o.el).html(),t(".alm-preloaded",o.el).remove(),o.preloaded_amount=0,o.AjaxLoadMore.pagingPreloadedInit(n),o.paging_init=!1,o.init=!1):o.paging_init&&o.nextpage?(n=t(".alm-nextpage",o.el).html(),t(".alm-nextpage",o.el).remove(),o.AjaxLoadMore.pagingNextpageInit(n),o.paging_init=!1,o.init=!1):o.AjaxLoadMore.loadPosts()},t.fn.almGetParentContainer=function(){return n.el.closest("#ajax-load-more")},t.fn.almGetObj=function(){return n},t.fn.almTriggerClick=function(){n.button.trigger("click")},t.easing.alm_easeInOutQuad=function(t,a,e,o,n){return(a/=n/2)<1?o/2*a*a+e:-o/2*(--a*(a-2)-1)+e}},t.fn.almFilter=function(a,e,o){o.target?t(".ajax-load-more-wrap[data-id='"+o.target+"']").each(function(n){var r=t(this);t.fn.almFilterTransition(a,e,o,r)}):t(".ajax-load-more-wrap").each(function(n){var r=t(this);t.fn.almFilterTransition(a,e,o,r)})},t.fn.almFilterTransition=function(a,o,n,r){"slide"===a?r.slideUp(o,function(){t(".alm-listing",r).html(""),t(".alm-btn-wrap",r).remove(),r.fadeIn(o),e(r,n)}):"fade"===a?r.fadeOut(o,function(){t(".alm-listing",r).html(""),t(".alm-btn-wrap",r).remove(),r.fadeIn(o),e(r,n)}):"masonry"===a?r.fadeOut(o,function(){t(".alm-listing",r).html(""),t(".alm-btn-wrap",r).remove(),r.fadeIn(o),e(r,n)}):(t(".alm-listing",r).html(""),t(".alm-btn-wrap",r).remove(),r.fadeIn(o),e(r,n))};var e=function(e,o){t.each(o,function(a,o){a=a.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2"),t(".alm-listing",e).attr("data-"+a,o)}),t.isFunction(t.fn.almFilterComplete)&&t.fn.almFilterComplete(),a=!0,o.target?t(".ajax-load-more-wrap[data-id="+o.target+"]").ajaxloadmore():t(".ajax-load-more-wrap").ajaxloadmore()};t.fn.ajaxloadmore=function(){return this.each(function(a){t(this).data("alm",new t.ajaxloadmore(t(this),a))})},t(".ajax-load-more-wrap").length&&t(".ajax-load-more-wrap").ajaxloadmore()}(jQuery);var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"===("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=t(require("jquery")):t(jQuery)}(function(t){t.almWaitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage","cursor"],hasImageAttributes:["srcset"]},t.expr[":"]["has-src"]=function(a){return t(a).is('img[src][src!=""]')},t.expr[":"].uncached=function(a){return!!t(a).is(":has-src")&&!a.complete},t.fn.almWaitForImages=function(){var a,e,o,n=0,r=0,s=t.Deferred();if(t.isPlainObject(arguments[0])?(o=arguments[0].waitForAll,e=arguments[0].each,a=arguments[0].finished):1===arguments.length&&"boolean"===t.type(arguments[0])?o=arguments[0]:(a=arguments[0],e=arguments[1],o=arguments[2]),a=a||t.noop,e=e||t.noop,o=!!o,!t.isFunction(a)||!t.isFunction(e))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var i=t(this),l=[],d=t.almWaitForImages.hasImageProperties||[],p=t.almWaitForImages.hasImageAttributes||[],c=/url\(\s*(['"]?)(.*?)\1\s*\)/g;o?i.find("*").addBack().each(function(){var a=t(this);a.is("img:has-src")&&l.push({src:a.attr("src"),element:a[0]}),t.each(d,function(t,e){var o,n=a.css(e);if(!n)return!0;for(;o=c.exec(n);)l.push({src:o[2],element:a[0]})}),t.each(p,function(e,o){var n,r=a.attr(o);if(!r)return!0;n=r.split(","),t.each(n,function(e,o){o=t.trim(o).split(" ")[0],l.push({src:o,element:a[0]})})})}):i.find("img:has-src").each(function(){l.push({src:this.src,element:this})}),n=l.length,r=0,0===n&&(a.call(i[0]),s.resolveWith(i[0])),t.each(l,function(o,l){var d=new Image,p="load.almWaitForImages error.almWaitForImages";t(d).one(p,function o(d){var c=[r,n,"load"==d.type];if(r++,e.apply(l.element,c),s.notifyWith(l.element,c),t(this).off(p,o),r==n)return a.call(i[0]),s.resolveWith(i[0]),!1}),d.src=l.src})}),s.promise()}});
|
core/js/modules/almMasonry.js
DELETED
@@ -1,50 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
almMasonry
|
3 |
-
|
4 |
-
Function to trigger built-in Ajax Load More Masonry
|
5 |
-
|
6 |
-
@param container object
|
7 |
-
@param items object
|
8 |
-
@param selector string
|
9 |
-
@param init boolean
|
10 |
-
@param filtering boolean
|
11 |
-
@since 3.1
|
12 |
-
*/
|
13 |
-
|
14 |
-
let almMasonryInit = true; // flag
|
15 |
-
|
16 |
-
let almMasonry = (container, items, selector, init, filtering) => {
|
17 |
-
|
18 |
-
if(!filtering){
|
19 |
-
|
20 |
-
// First Run
|
21 |
-
if(almMasonryInit && init){
|
22 |
-
almMasonryInit = false;
|
23 |
-
container.imagesLoaded( () => {
|
24 |
-
items.fadeIn(250);
|
25 |
-
container.masonry({
|
26 |
-
itemSelector: selector,
|
27 |
-
});
|
28 |
-
container.masonry('reloadItems');
|
29 |
-
});
|
30 |
-
}
|
31 |
-
|
32 |
-
// Standard
|
33 |
-
else{
|
34 |
-
container.append( items ); // Append new items
|
35 |
-
container.imagesLoaded( () => {
|
36 |
-
items.show();
|
37 |
-
container.masonry( 'appended', items );
|
38 |
-
});
|
39 |
-
}
|
40 |
-
|
41 |
-
} else{
|
42 |
-
// Filtering Reset
|
43 |
-
container.masonry('destroy'); // destroy masonry
|
44 |
-
almMasonryInit = true; // reset almMasonryInit
|
45 |
-
container.append( items );
|
46 |
-
almMasonry(container, items, selector, true, false);
|
47 |
-
|
48 |
-
}
|
49 |
-
|
50 |
-
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
core/repeater/default.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<li<?php if (! has_post_thumbnail() ) { echo ' class="no-img"'; } ?>>
|
2 |
<?php
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
?>
|
7 |
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
8 |
<p class="entry-meta">
|
1 |
<li<?php if (! has_post_thumbnail() ) { echo ' class="no-img"'; } ?>>
|
2 |
<?php
|
3 |
+
if ( has_post_thumbnail() ) {
|
4 |
+
the_post_thumbnail('alm-thumbnail');
|
5 |
+
}
|
6 |
?>
|
7 |
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
8 |
<p class="entry-meta">
|
core/{js → src/js}/ajax-load-more.js
RENAMED
@@ -16,7 +16,7 @@
|
|
16 |
|
17 |
var alm_is_filtering = false; // Global Masonry var
|
18 |
|
19 |
-
$.ajaxloadmore = function (el, e) {
|
20 |
|
21 |
//Prevent loading of unnessasry posts - move user to top of page
|
22 |
if(alm_localize.scrolltop === 'true'){
|
@@ -25,7 +25,7 @@
|
|
25 |
|
26 |
//Set variables
|
27 |
var alm = this;
|
28 |
-
alm.AjaxLoadMore = {};
|
29 |
alm.window = $(window);
|
30 |
alm.page = 0;
|
31 |
alm.posts = 0;
|
@@ -55,7 +55,8 @@
|
|
55 |
alm.repeater = alm.content.attr('data-repeater'); // Repeaters
|
56 |
alm.theme_repeater = alm.content.attr('data-theme-repeater');
|
57 |
|
58 |
-
alm.scroll_distance = parseInt(alm.content.attr('data-scroll-distance'));
|
|
|
59 |
alm.max_pages = parseInt(alm.content.attr('data-max-pages'));
|
60 |
alm.pause_override = alm.content.attr('data-pause-override'); // true | false
|
61 |
alm.pause = alm.content.attr('data-pause'); // true | false
|
@@ -91,6 +92,7 @@
|
|
91 |
alm.previous_post = alm.content.attr('data-previous-post'); // Previous Post add-on
|
92 |
alm.previous_post_id = alm.content.attr('data-previous-post-id'); // Get the post id
|
93 |
alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy'); // Get the post taxonomy
|
|
|
94 |
|
95 |
alm.comments = alm.content.attr('data-comments'); // true | false
|
96 |
if(alm.comments === 'true'){ // if comments, then set alm.content to comments wrap
|
@@ -293,6 +295,9 @@
|
|
293 |
if (alm.previous_post_taxonomy === undefined){
|
294 |
alm.previous_post_taxonomy = '';
|
295 |
}
|
|
|
|
|
|
|
296 |
alm.previous_post_title_template = alm.content.attr('data-previous-post-title-template');
|
297 |
alm.siteTitle = alm.content.attr('data-previous-post-site-title');
|
298 |
alm.siteTagline = alm.content.attr('data-previous-post-site-tagline');
|
@@ -348,6 +353,12 @@
|
|
348 |
}
|
349 |
|
350 |
|
|
|
|
|
|
|
|
|
|
|
|
|
351 |
/* Transition Params */
|
352 |
if (alm.transition === undefined){
|
353 |
alm.transition = 'slide';
|
@@ -356,6 +367,10 @@
|
|
356 |
alm.is_masonry_preloaded = false;
|
357 |
if(alm.transition === 'masonry'){
|
358 |
alm.masonry_selector = alm.content.attr('data-masonry-selector');
|
|
|
|
|
|
|
|
|
359 |
alm.masonry_wrap = alm.content;
|
360 |
alm.transition_container = false;
|
361 |
if(document.body.contains(alm.content_preloaded.get(0))){
|
@@ -459,7 +474,7 @@
|
|
459 |
if(!alm.paging){
|
460 |
alm.button.addClass('loading');
|
461 |
if(alm.button_loading_label !== false){
|
462 |
-
alm.button.
|
463 |
}
|
464 |
}
|
465 |
alm.container.addClass('alm-loading');
|
@@ -831,7 +846,7 @@
|
|
831 |
|
832 |
if(!alm.paging){
|
833 |
|
834 |
-
alm.button.
|
835 |
|
836 |
} else {
|
837 |
|
@@ -1005,7 +1020,8 @@
|
|
1005 |
|
1006 |
}else if(alm.transition === 'masonry') { // masonry
|
1007 |
|
1008 |
-
almMasonry(alm.masonry_wrap, alm.el, alm.masonry_selector, alm.init, alm_is_filtering);
|
|
|
1009 |
|
1010 |
if(!alm.paging){
|
1011 |
alm.button.delay(alm.speed).removeClass('loading');
|
@@ -1215,15 +1231,19 @@
|
|
1215 |
|
1216 |
alm.AjaxLoadMore.getPreviousPost = function () {
|
1217 |
alm.fetchingPreviousPost = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1218 |
$.ajax({
|
1219 |
type: "GET",
|
1220 |
dataType: "JSON",
|
1221 |
url: alm_localize.ajaxurl,
|
1222 |
-
data:
|
1223 |
-
action: 'alm_query_previous_post',
|
1224 |
-
id: alm.previous_post_id,
|
1225 |
-
taxonomy: alm.previous_post_taxonomy
|
1226 |
-
},
|
1227 |
success: function (data) {
|
1228 |
if(data.has_previous_post){
|
1229 |
alm.content.attr('data-previous-post-id', data.prev_id); // update previous-post-id on ALM element
|
@@ -1298,7 +1318,7 @@
|
|
1298 |
|
1299 |
if(alm.button_loading_label !== false){ // Reset button text
|
1300 |
if(!alm.paging){
|
1301 |
-
alm.button.
|
1302 |
}
|
1303 |
}
|
1304 |
|
@@ -1392,21 +1412,38 @@
|
|
1392 |
*
|
1393 |
* Load posts as user scrolls the page
|
1394 |
* @since 1.0
|
|
|
1395 |
*/
|
1396 |
if (alm.scroll && !alm.paging) {
|
1397 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1398 |
if (alm.AjaxLoadMore.isVisible() && !alm.fetchingPreviousPost) {
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1402 |
// If Pause && Pause Override
|
1403 |
-
if(!alm.loading && !alm.finished &&
|
1404 |
alm.button.trigger('click');
|
1405 |
}
|
1406 |
|
1407 |
// Standard Scroll event
|
1408 |
else{
|
1409 |
-
if (!alm.loading && !alm.finished &&
|
1410 |
alm.page++;
|
1411 |
alm.AjaxLoadMore.loadPosts();
|
1412 |
}
|
@@ -1431,7 +1468,7 @@
|
|
1431 |
|
1432 |
}else{
|
1433 |
if (alm.pause === 'true') {
|
1434 |
-
alm.button.
|
1435 |
alm.loading = false;
|
1436 |
} else {
|
1437 |
alm.AjaxLoadMore.loadPosts();
|
@@ -1462,7 +1499,7 @@
|
|
1462 |
// Masonry + Preloaded
|
1463 |
alm.window.bind('load', function(){
|
1464 |
if(alm.is_masonry_preloaded){
|
1465 |
-
almMasonry(alm.masonry_wrap, alm.el, alm.masonry_selector, true, false);
|
1466 |
}
|
1467 |
});
|
1468 |
|
16 |
|
17 |
var alm_is_filtering = false; // Global Masonry var
|
18 |
|
19 |
+
$.ajaxloadmore = function (el, e) {
|
20 |
|
21 |
//Prevent loading of unnessasry posts - move user to top of page
|
22 |
if(alm_localize.scrolltop === 'true'){
|
25 |
|
26 |
//Set variables
|
27 |
var alm = this;
|
28 |
+
alm.AjaxLoadMore = {};
|
29 |
alm.window = $(window);
|
30 |
alm.page = 0;
|
31 |
alm.posts = 0;
|
55 |
alm.repeater = alm.content.attr('data-repeater'); // Repeaters
|
56 |
alm.theme_repeater = alm.content.attr('data-theme-repeater');
|
57 |
|
58 |
+
alm.scroll_distance = parseInt(alm.content.attr('data-scroll-distance'));
|
59 |
+
alm.scroll_container = alm.content.attr('data-scroll-container');
|
60 |
alm.max_pages = parseInt(alm.content.attr('data-max-pages'));
|
61 |
alm.pause_override = alm.content.attr('data-pause-override'); // true | false
|
62 |
alm.pause = alm.content.attr('data-pause'); // true | false
|
92 |
alm.previous_post = alm.content.attr('data-previous-post'); // Previous Post add-on
|
93 |
alm.previous_post_id = alm.content.attr('data-previous-post-id'); // Get the post id
|
94 |
alm.previous_post_taxonomy = alm.content.attr('data-previous-post-taxonomy'); // Get the post taxonomy
|
95 |
+
alm.previous_post_excluded_terms = alm.content.attr('data-previous-post-excluded-terms'); // Get the post excluded terms
|
96 |
|
97 |
alm.comments = alm.content.attr('data-comments'); // true | false
|
98 |
if(alm.comments === 'true'){ // if comments, then set alm.content to comments wrap
|
295 |
if (alm.previous_post_taxonomy === undefined){
|
296 |
alm.previous_post_taxonomy = '';
|
297 |
}
|
298 |
+
if (alm.previous_post_excluded_terms === undefined){
|
299 |
+
alm.previous_post_excluded_terms = '';
|
300 |
+
}
|
301 |
alm.previous_post_title_template = alm.content.attr('data-previous-post-title-template');
|
302 |
alm.siteTitle = alm.content.attr('data-previous-post-site-title');
|
303 |
alm.siteTagline = alm.content.attr('data-previous-post-site-tagline');
|
353 |
}
|
354 |
|
355 |
|
356 |
+
/* Scroll Container */
|
357 |
+
if (alm.scroll_container === undefined){
|
358 |
+
alm.scroll_container = '';
|
359 |
+
}
|
360 |
+
|
361 |
+
|
362 |
/* Transition Params */
|
363 |
if (alm.transition === undefined){
|
364 |
alm.transition = 'slide';
|
367 |
alm.is_masonry_preloaded = false;
|
368 |
if(alm.transition === 'masonry'){
|
369 |
alm.masonry_selector = alm.content.attr('data-masonry-selector');
|
370 |
+
alm.masonry_animation = alm.content.attr('data-masonry-animation');
|
371 |
+
if (alm.masonry_animation === undefined){
|
372 |
+
alm.masonry_animation = 'standard';
|
373 |
+
}
|
374 |
alm.masonry_wrap = alm.content;
|
375 |
alm.transition_container = false;
|
376 |
if(document.body.contains(alm.content_preloaded.get(0))){
|
474 |
if(!alm.paging){
|
475 |
alm.button.addClass('loading');
|
476 |
if(alm.button_loading_label !== false){
|
477 |
+
alm.button.html(alm.button_loading_label);
|
478 |
}
|
479 |
}
|
480 |
alm.container.addClass('alm-loading');
|
846 |
|
847 |
if(!alm.paging){
|
848 |
|
849 |
+
alm.button.html(alm.button_label);
|
850 |
|
851 |
} else {
|
852 |
|
1020 |
|
1021 |
}else if(alm.transition === 'masonry') { // masonry
|
1022 |
|
1023 |
+
almMasonry(alm.masonry_wrap, alm.el, alm.masonry_selector, alm.masonry_animation, alm.speed, alm.init, alm_is_filtering);
|
1024 |
+
|
1025 |
|
1026 |
if(!alm.paging){
|
1027 |
alm.button.delay(alm.speed).removeClass('loading');
|
1231 |
|
1232 |
alm.AjaxLoadMore.getPreviousPost = function () {
|
1233 |
alm.fetchingPreviousPost = true;
|
1234 |
+
|
1235 |
+
let data = {
|
1236 |
+
action: 'alm_query_previous_post',
|
1237 |
+
id: alm.previous_post_id,
|
1238 |
+
taxonomy: alm.previous_post_taxonomy,
|
1239 |
+
excluded_terms: alm.previous_post_excluded_terms
|
1240 |
+
};
|
1241 |
+
|
1242 |
$.ajax({
|
1243 |
type: "GET",
|
1244 |
dataType: "JSON",
|
1245 |
url: alm_localize.ajaxurl,
|
1246 |
+
data: data,
|
|
|
|
|
|
|
|
|
1247 |
success: function (data) {
|
1248 |
if(data.has_previous_post){
|
1249 |
alm.content.attr('data-previous-post-id', data.prev_id); // update previous-post-id on ALM element
|
1318 |
|
1319 |
if(alm.button_loading_label !== false){ // Reset button text
|
1320 |
if(!alm.paging){
|
1321 |
+
alm.button.html(alm.button_label);
|
1322 |
}
|
1323 |
}
|
1324 |
|
1412 |
*
|
1413 |
* Load posts as user scrolls the page
|
1414 |
* @since 1.0
|
1415 |
+
* @updated 3.2.0
|
1416 |
*/
|
1417 |
if (alm.scroll && !alm.paging) {
|
1418 |
+
|
1419 |
+
// If scroll_container specified, set window object to container.
|
1420 |
+
if(alm.scroll_container !== ''){
|
1421 |
+
alm.window = $(alm.scroll_container);
|
1422 |
+
}
|
1423 |
+
|
1424 |
+
alm.window.bind("scroll touchstart", function () {
|
1425 |
+
|
1426 |
if (alm.AjaxLoadMore.isVisible() && !alm.fetchingPreviousPost) {
|
1427 |
+
|
1428 |
+
let content_offset = alm.button.offset().top,
|
1429 |
+
top = Math.round(content_offset - (alm.window.height() - alm.scroll_distance)),
|
1430 |
+
scrollTrigger = (alm.window.scrollTop() >= top) ? true : false;
|
1431 |
+
|
1432 |
+
|
1433 |
+
// If scroll_container specified
|
1434 |
+
if(alm.scroll_container !== ''){
|
1435 |
+
scrollTrigger = ((alm.button.offset().top - (alm.window.height() - alm.scroll_distance)) < alm.window.offset().top) ? true : false;
|
1436 |
+
}
|
1437 |
+
|
1438 |
+
|
1439 |
// If Pause && Pause Override
|
1440 |
+
if(!alm.loading && !alm.finished && scrollTrigger && alm.page < (alm.max_pages - 1) && alm.proceed && alm.pause === 'true' && alm.pause_override === 'true'){
|
1441 |
alm.button.trigger('click');
|
1442 |
}
|
1443 |
|
1444 |
// Standard Scroll event
|
1445 |
else{
|
1446 |
+
if (!alm.loading && !alm.finished && scrollTrigger && alm.page < (alm.max_pages - 1) && alm.proceed && alm.pause !== 'true') {
|
1447 |
alm.page++;
|
1448 |
alm.AjaxLoadMore.loadPosts();
|
1449 |
}
|
1468 |
|
1469 |
}else{
|
1470 |
if (alm.pause === 'true') {
|
1471 |
+
alm.button.html(alm.button_label);
|
1472 |
alm.loading = false;
|
1473 |
} else {
|
1474 |
alm.AjaxLoadMore.loadPosts();
|
1499 |
// Masonry + Preloaded
|
1500 |
alm.window.bind('load', function(){
|
1501 |
if(alm.is_masonry_preloaded){
|
1502 |
+
almMasonry(alm.masonry_wrap, alm.el, alm.masonry_selector, alm.masonry_animation, alm.speed, true, false);
|
1503 |
}
|
1504 |
});
|
1505 |
|
core/{js → src/js}/libs/jquery.waitforimages.js
RENAMED
File without changes
|
core/src/js/modules/almMasonry.js
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
almMasonry
|
3 |
+
|
4 |
+
Function to trigger built-in Ajax Load More Masonry
|
5 |
+
|
6 |
+
@param container object
|
7 |
+
@param items object
|
8 |
+
@param selector string
|
9 |
+
@param animation string
|
10 |
+
@param speed int
|
11 |
+
@param init boolean
|
12 |
+
@param filtering boolean
|
13 |
+
@since 3.1
|
14 |
+
@updated 3.2
|
15 |
+
*/
|
16 |
+
|
17 |
+
let almMasonryInit = true; // flag
|
18 |
+
|
19 |
+
let almMasonry = (container, items, selector, animation, speed, init, filtering) => {
|
20 |
+
|
21 |
+
let duration = (speed+100)/1000 +'s'; // Add 100 for some delay
|
22 |
+
let hidden = 'scale(0.5)';
|
23 |
+
let visible = 'scale(1)';
|
24 |
+
|
25 |
+
if(animation === 'zoom-out'){
|
26 |
+
hidden = 'translateY(-20px) scale(1.25)';
|
27 |
+
visible = 'translateY(0) scale(1)';
|
28 |
+
}
|
29 |
+
|
30 |
+
if(animation === 'slide-up'){
|
31 |
+
hidden = 'translateY(50px)';
|
32 |
+
visible = 'translateY(0)';
|
33 |
+
}
|
34 |
+
|
35 |
+
if(animation === 'slide-down'){
|
36 |
+
hidden = 'translateY(-50px)';
|
37 |
+
visible = 'translateY(0)';
|
38 |
+
}
|
39 |
+
|
40 |
+
if(animation === 'none'){
|
41 |
+
hidden = 'translateY(0)';
|
42 |
+
visible = 'translateY(0)';
|
43 |
+
}
|
44 |
+
|
45 |
+
if(!filtering){
|
46 |
+
|
47 |
+
// First Run
|
48 |
+
if(almMasonryInit && init){
|
49 |
+
almMasonryInit = false;
|
50 |
+
container.imagesLoaded( () => {
|
51 |
+
items.fadeIn(speed);
|
52 |
+
container.masonry({
|
53 |
+
itemSelector: selector,
|
54 |
+
transitionDuration: duration,
|
55 |
+
hiddenStyle: {
|
56 |
+
transform: hidden,
|
57 |
+
opacity: 0
|
58 |
+
},
|
59 |
+
visibleStyle: {
|
60 |
+
transform: visible,
|
61 |
+
opacity: 1
|
62 |
+
}
|
63 |
+
});
|
64 |
+
container.masonry('reloadItems');
|
65 |
+
});
|
66 |
+
}
|
67 |
+
|
68 |
+
// Standard
|
69 |
+
else{
|
70 |
+
container.append( items ); // Append new items
|
71 |
+
container.imagesLoaded( () => {
|
72 |
+
items.show();
|
73 |
+
container.masonry( 'appended', items );
|
74 |
+
});
|
75 |
+
}
|
76 |
+
|
77 |
+
} else{
|
78 |
+
// Filtering Reset
|
79 |
+
container.masonry('destroy'); // destroy masonry
|
80 |
+
almMasonryInit = true; // reset almMasonryInit
|
81 |
+
container.append( items );
|
82 |
+
almMasonry(container, items, selector, animation, speed, true, false);
|
83 |
+
|
84 |
+
}
|
85 |
+
|
86 |
+
};
|
core/{js → src/js}/vendor/pace/pace.js
RENAMED
File without changes
|
core/{js → src/js}/vendor/pace/pace.min.js
RENAMED
File without changes
|
core/{scss → src/scss}/ajax-load-more.scss
RENAMED
File without changes
|
gulpfile.js
CHANGED
@@ -13,28 +13,31 @@ var gulp = require('gulp'),
|
|
13 |
sequence = require('gulp-sequence'),
|
14 |
prefix = require('gulp-autoprefixer');
|
15 |
|
16 |
-
|
17 |
const appname = 'ajax-load-more';
|
18 |
const dist = './core/dist';
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
|
21 |
|
22 |
// JS [Lint JS]
|
23 |
gulp.task('lint', () => {
|
24 |
-
return gulp.src(['./core/js/'+ appname +'.js'])
|
25 |
.pipe(jshint())
|
26 |
.pipe(jshint.reporter('default'))
|
27 |
-
.pipe(notify({ message: '
|
28 |
});
|
29 |
|
30 |
|
31 |
-
|
32 |
-
// JS [Concat custom JS to app.min.js]
|
33 |
gulp.task('scripts', () => {
|
34 |
return gulp.src([
|
35 |
-
'./core/js/modules/*.js',
|
36 |
-
'./core/js/'+ appname +'.js',
|
37 |
-
'./core/js/libs/*.js',
|
38 |
])
|
39 |
.pipe(babel())
|
40 |
.pipe(concat(appname +'.js'))
|
@@ -42,37 +45,72 @@ gulp.task('scripts', () => {
|
|
42 |
.pipe(rename({ suffix: '.min' }))
|
43 |
.pipe(uglify())
|
44 |
.pipe(gulp.dest( dist +'/js/'))
|
45 |
-
.pipe(notify({ message: 'Scripts
|
46 |
});
|
47 |
|
48 |
|
49 |
-
// Sass [Compile]
|
50 |
gulp.task('sass', () => {
|
51 |
-
gulp.src('./core/scss/'+ appname +'.scss')
|
52 |
.pipe(sass())
|
53 |
.pipe(prefix({browsers: ['last 2 versions', 'ie >= 9', 'and_chr >= 2.3']}))
|
54 |
.pipe(gulp.dest( dist +'/css/'))
|
55 |
.pipe(cleanCSS())
|
56 |
.pipe(rename({ suffix: '.min' }))
|
57 |
.pipe(gulp.dest( dist +'/css/'))
|
58 |
-
.pipe(notify({ message: 'Sass
|
59 |
});
|
60 |
|
61 |
|
62 |
-
|
63 |
-
|
64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
});
|
66 |
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
|
69 |
-
// RUN TASKS
|
70 |
|
71 |
-
//
|
72 |
-
gulp.task('
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
});
|
|
|
|
|
|
|
|
13 |
sequence = require('gulp-sequence'),
|
14 |
prefix = require('gulp-autoprefixer');
|
15 |
|
|
|
16 |
const appname = 'ajax-load-more';
|
17 |
const dist = './core/dist';
|
18 |
+
const admin_dist = './admin/dist';
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
+
/* Core ALM Tasks */
|
23 |
|
24 |
|
25 |
|
26 |
// JS [Lint JS]
|
27 |
gulp.task('lint', () => {
|
28 |
+
return gulp.src(['./core/src/js/'+ appname +'.js'])
|
29 |
.pipe(jshint())
|
30 |
.pipe(jshint.reporter('default'))
|
31 |
+
.pipe(notify({ message: 'Lint Complete' }));
|
32 |
});
|
33 |
|
34 |
|
35 |
+
// JS [Concatenate JS]
|
|
|
36 |
gulp.task('scripts', () => {
|
37 |
return gulp.src([
|
38 |
+
'./core/src/js/modules/*.js',
|
39 |
+
'./core/src/js/'+ appname +'.js',
|
40 |
+
'./core/src/js/libs/*.js',
|
41 |
])
|
42 |
.pipe(babel())
|
43 |
.pipe(concat(appname +'.js'))
|
45 |
.pipe(rename({ suffix: '.min' }))
|
46 |
.pipe(uglify())
|
47 |
.pipe(gulp.dest( dist +'/js/'))
|
48 |
+
.pipe(notify({ message: 'Scripts Complete' }));
|
49 |
});
|
50 |
|
51 |
|
52 |
+
// Sass [Core Compile]
|
53 |
gulp.task('sass', () => {
|
54 |
+
gulp.src('./core/src/scss/'+ appname +'.scss')
|
55 |
.pipe(sass())
|
56 |
.pipe(prefix({browsers: ['last 2 versions', 'ie >= 9', 'and_chr >= 2.3']}))
|
57 |
.pipe(gulp.dest( dist +'/css/'))
|
58 |
.pipe(cleanCSS())
|
59 |
.pipe(rename({ suffix: '.min' }))
|
60 |
.pipe(gulp.dest( dist +'/css/'))
|
61 |
+
.pipe(notify({ message: 'Sass Complete' }));
|
62 |
});
|
63 |
|
64 |
|
65 |
+
|
66 |
+
/* Admin Tasks */
|
67 |
+
|
68 |
+
|
69 |
+
|
70 |
+
// JS [Lint JS]
|
71 |
+
gulp.task('admin_lint', () => {
|
72 |
+
return gulp.src(['./admin/src/js/admin.js'])
|
73 |
+
.pipe(jshint())
|
74 |
+
.pipe(jshint.reporter('default'))
|
75 |
+
.pipe(notify({ message: 'Admin Lint Complete' }));
|
76 |
});
|
77 |
|
78 |
|
79 |
+
// JS [Concatenate JS]
|
80 |
+
gulp.task('admin_scripts', () => {
|
81 |
+
return gulp.src([
|
82 |
+
'./admin/src/js/libs/*.js',
|
83 |
+
'./admin/src/js/admin.js',
|
84 |
+
])
|
85 |
+
.pipe(babel())
|
86 |
+
.pipe(concat('admin.js'))
|
87 |
+
.pipe(gulp.dest( admin_dist +'/js/'))
|
88 |
+
.pipe(notify({ message: 'Admin Scripts Complete' }));
|
89 |
+
});
|
90 |
|
|
|
91 |
|
92 |
+
// Sass [Admin Compile]
|
93 |
+
gulp.task('admin_sass', () => {
|
94 |
+
gulp.src('./admin/src/scss/admin.scss')
|
95 |
+
.pipe(sass())
|
96 |
+
.pipe(prefix({browsers: ['last 2 versions', 'ie >= 9', 'and_chr >= 2.3']}))
|
97 |
+
.pipe(gulp.dest( admin_dist +'/css/'))
|
98 |
+
.pipe(notify({ message: 'Admin Sass Complete' }));
|
99 |
+
});
|
100 |
|
101 |
|
102 |
+
|
103 |
+
/* Gulp Run Tasks */
|
104 |
+
|
105 |
+
|
106 |
+
// Watch
|
107 |
+
gulp.task('watch', function() {
|
108 |
+
gulp.watch('core/src/js/**/*.js', ['lint', 'scripts']);
|
109 |
+
gulp.watch('core/src/scss/**/*.scss', ['sass']);
|
110 |
+
gulp.watch('admin/src/js/**/*.js', ['admin_lint', 'admin_scripts']);
|
111 |
+
gulp.watch('admin/src/scss/**/*.scss', ['admin_sass']);
|
112 |
});
|
113 |
+
|
114 |
+
|
115 |
+
// Default - watches all sass and .js changes
|
116 |
+
gulp.task('default', ['sass', 'admin_sass', 'lint', 'admin_lint', 'scripts', 'admin_scripts', 'watch']);
|
lang/ajax-load-more.pot
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ajax Load More\n"
|
4 |
-
"POT-Creation-Date: 2017-
|
5 |
-
"PO-Revision-Date: 2017-
|
6 |
"Last-Translator: Darren Cooney <dcooney@ecentricarts.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: en_CA\n"
|
@@ -15,12 +15,16 @@ msgstr ""
|
|
15 |
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
-
#: ../admin/admin.php:94 ../admin/admin.php:153 ../admin/admin.php:
|
19 |
-
#: ../admin/admin.php:
|
20 |
msgid "You don't belong here."
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: ../admin/admin.php:182
|
|
|
|
|
|
|
|
|
24 |
#: ../admin/views/licenses.php:65 ../admin/views/licenses.php:130
|
25 |
#: ../admin/views/licenses.php:195 ../admin/views/licenses.php:261
|
26 |
#: ../admin/views/licenses.php:328 ../admin/views/licenses.php:394
|
@@ -30,7 +34,7 @@ msgstr ""
|
|
30 |
msgid "Active"
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: ../admin/admin.php:
|
34 |
#: ../admin/views/licenses.php:69 ../admin/views/licenses.php:134
|
35 |
#: ../admin/views/licenses.php:199 ../admin/views/licenses.php:265
|
36 |
#: ../admin/views/licenses.php:332 ../admin/views/licenses.php:398
|
@@ -40,223 +44,231 @@ msgstr ""
|
|
40 |
msgid "Inactive"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: ../admin/admin.php:
|
44 |
msgid "Applying layout"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: ../admin/admin.php:
|
48 |
#: ../admin/views/repeater-templates.php:372
|
49 |
msgid "Template Updated"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: ../admin/admin.php:
|
53 |
msgid "Select Author(s)"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: ../admin/admin.php:
|
57 |
msgid "Select Categories"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: ../admin/admin.php:
|
61 |
msgid "Select Tags"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: ../admin/admin.php:
|
65 |
-
#: ../admin/editor/editor-build.php:
|
66 |
msgid "Jump to Option"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: ../admin/admin.php:
|
70 |
msgid "Jump to Template"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: ../admin/admin.php:
|
74 |
msgid "Are you sure you want to install this Ajax Load More extension?"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: ../admin/admin.php:
|
78 |
#: ../vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:51
|
79 |
#: ../vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:379
|
80 |
msgid "Install Now"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: ../admin/admin.php:
|
84 |
#: ../vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:90
|
85 |
#: ../vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:380
|
86 |
msgid "Activate"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: ../admin/admin.php:
|
90 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: ../admin/admin.php:
|
94 |
msgid ""
|
95 |
"[Ajax Load More] Error opening default repeater template - Please check your "
|
96 |
"file path and ensure your server is configured to allow Ajax Load More to "
|
97 |
"read and write files within the /ajax-load-more/core/repeater directory"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: ../admin/admin.php:
|
101 |
msgid ""
|
102 |
"[Ajax Load More] Error updating default repeater template - Please check "
|
103 |
"your file path and ensure your server is configured to allow Ajax Load More "
|
104 |
"to read and write files within the /ajax-load-more/core/repeater directory."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: ../admin/admin.php:
|
108 |
msgid "[Ajax Load More] Unable to open repeater template - "
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: ../admin/admin.php:
|
112 |
msgid "[Ajax Load More] Error saving repeater template - "
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: ../admin/admin.php:
|
116 |
msgid "Error Writing File"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: ../admin/admin.php:
|
120 |
msgid "Container Type"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: ../admin/admin.php:
|
124 |
msgid "Container Classes"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: ../admin/admin.php:
|
128 |
msgid "Disable CSS"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: ../admin/admin.php:
|
132 |
msgid "Button/Loading Style"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: ../admin/admin.php:
|
136 |
msgid "Button Classes"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: ../admin/admin.php:
|
140 |
msgid "Ajax Security"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: ../admin/admin.php:
|
144 |
msgid "Top of Page"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: ../admin/admin.php:
|
148 |
msgid "Dynamic Content"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: ../admin/admin.php:
|
152 |
msgid "Editor Button"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: ../admin/admin.php:
|
156 |
msgid "Error Notices"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: ../admin/admin.php:
|
160 |
msgid ""
|
161 |
"Customize the user experience of Ajax Load More by updating the fields below."
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: ../admin/admin.php:
|
165 |
msgid "The following settings affect the WordPress admin area only."
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: ../admin/admin.php:
|
169 |
msgid "I want to use my own CSS styles."
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: ../admin/admin.php:
|
173 |
msgid "View Ajax Load More CSS"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: ../admin/admin.php:
|
177 |
msgid "Hide shortcode button in WYSIWYG editor."
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: ../admin/admin.php:
|
181 |
msgid ""
|
182 |
"Display error messaging regarding repeater template updates in the browser "
|
183 |
"console."
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: ../admin/admin.php:
|
187 |
msgid ""
|
188 |
"Disable dynamic population of categories, tags and authors in the Shortcode "
|
189 |
"Builder.<span style=\"display:block\">Recommended if you have an "
|
190 |
"extraordinary number of categories, tags and/or authors."
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: ../admin/admin.php:
|
194 |
msgid "Ajax Posts Here"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: ../admin/admin.php:
|
198 |
msgid "You can modify the container type when building a shortcode."
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: ../admin/admin.php:
|
202 |
msgid ""
|
203 |
"Add classes to Ajax Load More container - classes are applied globally and "
|
204 |
"will appear with every instance of Ajax Load More. <span style=\"display:"
|
205 |
"block\">You can also add classes when building a shortcode.</span>"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: ../admin/admin.php:
|
209 |
msgid ""
|
210 |
"Select an Ajax loading style - you can choose between a <strong>Button</"
|
211 |
"strong> or <strong>Infinite Scroll</strong>"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: ../admin/admin.php:
|
215 |
msgid "Button"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: ../admin/admin.php:
|
219 |
msgid "Infinite Scroll (No Button)"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: ../admin/admin.php:
|
223 |
msgid "Preview"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: ../admin/admin.php:
|
227 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
228 |
-
#: ../core/classes/class.alm-shortcode.php:
|
229 |
msgid "Older Posts"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: ../admin/admin.php:
|
233 |
msgid "Add classes to your <strong>Load More</strong> button"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: ../admin/admin.php:
|
237 |
msgid ""
|
238 |
"On initial page load, move the user's browser window to the top of the "
|
239 |
"screen.<span style=\"display:block\">This <u>may</u> help prevent the "
|
240 |
"loading of unnecessary posts.</span>"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: ../admin/admin.php:
|
244 |
msgid ""
|
245 |
"Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
|
246 |
"\"_blank\">WP nonce</a> verification to help protect URLs against certain "
|
247 |
"types of misuse, malicious or otherwise on each Ajax Load More query."
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: ../admin/editor/editor-build.php:
|
251 |
msgid ""
|
252 |
"Create your own Ajax Load More shortcode by adjusting the parameters below:"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: ../admin/editor/editor-build.php:
|
256 |
msgid "Insert Shortcode"
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: ../admin/editor/editor-build.php:
|
260 |
msgid "Copy"
|
261 |
msgstr ""
|
262 |
|
@@ -340,7 +352,7 @@ msgid ""
|
|
340 |
msgstr ""
|
341 |
|
342 |
#: ../admin/includes/components/repeater-options.php:2
|
343 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
344 |
msgid "Options"
|
345 |
msgstr ""
|
346 |
|
@@ -450,8 +462,8 @@ msgstr ""
|
|
450 |
#: ../admin/includes/cta/writeable.php:11
|
451 |
msgid ""
|
452 |
"<p class=\"writeable-title\"><i class=\"fa fa-check\"></i><strong>Ajax Load "
|
453 |
-
"More</strong></p><p class=\"desc\">
|
454 |
-
"
|
455 |
msgstr ""
|
456 |
|
457 |
#: ../admin/includes/cta/writeable.php:13
|
@@ -472,9 +484,9 @@ msgstr ""
|
|
472 |
|
473 |
#: ../admin/includes/cta/writeable.php:26
|
474 |
msgid ""
|
475 |
-
"<p class=\"writeable-title\"><i class=\"fa fa-check\"></i><strong>
|
476 |
-
"
|
477 |
-
"
|
478 |
msgstr ""
|
479 |
|
480 |
#: ../admin/includes/cta/writeable.php:28
|
@@ -496,9 +508,9 @@ msgstr ""
|
|
496 |
|
497 |
#: ../admin/includes/cta/writeable.php:42
|
498 |
msgid ""
|
499 |
-
"<p class=\"writeable-title\"><i class=\"fa fa-check\"></i><strong>
|
500 |
-
"
|
501 |
-
"
|
502 |
msgstr ""
|
503 |
|
504 |
#: ../admin/includes/cta/writeable.php:44
|
@@ -568,7 +580,7 @@ msgid "Taxonomy Operator:"
|
|
568 |
msgstr ""
|
569 |
|
570 |
#: ../admin/shortcode-builder/includes/tax-query-options.php:36
|
571 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
572 |
msgid "Relation:"
|
573 |
msgstr ""
|
574 |
|
@@ -598,14 +610,14 @@ msgstr ""
|
|
598 |
#: ../admin/shortcode-builder/shortcode-builder.php:545
|
599 |
#: ../admin/shortcode-builder/shortcode-builder.php:599
|
600 |
#: ../admin/shortcode-builder/shortcode-builder.php:640
|
601 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
602 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
603 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
604 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
605 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
606 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
607 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
608 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
609 |
msgid "True"
|
610 |
msgstr ""
|
611 |
|
@@ -618,14 +630,14 @@ msgstr ""
|
|
618 |
#: ../admin/shortcode-builder/shortcode-builder.php:549
|
619 |
#: ../admin/shortcode-builder/shortcode-builder.php:603
|
620 |
#: ../admin/shortcode-builder/shortcode-builder.php:644
|
621 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
622 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
623 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
624 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
625 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
626 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
627 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
628 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
629 |
msgid "False"
|
630 |
msgstr ""
|
631 |
|
@@ -687,7 +699,7 @@ msgstr ""
|
|
687 |
|
688 |
#: ../admin/shortcode-builder/shortcode-builder.php:106
|
689 |
#: ../admin/views/add-ons.php:21 ../admin/views/licenses.php:44
|
690 |
-
#: ../admin/views/settings.php:
|
691 |
msgid "Cache"
|
692 |
msgstr ""
|
693 |
|
@@ -746,7 +758,7 @@ msgid "Post #"
|
|
746 |
msgstr ""
|
747 |
|
748 |
#: ../admin/shortcode-builder/shortcode-builder.php:201
|
749 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
750 |
msgid "Template"
|
751 |
msgstr ""
|
752 |
|
@@ -840,7 +852,8 @@ msgid "Select a repeater template that will display comment data."
|
|
840 |
msgstr ""
|
841 |
|
842 |
#: ../admin/shortcode-builder/shortcode-builder.php:347
|
843 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
844 |
msgid "None"
|
845 |
msgstr ""
|
846 |
|
@@ -966,7 +979,7 @@ msgstr ""
|
|
966 |
|
967 |
#: ../admin/shortcode-builder/shortcode-builder.php:513
|
968 |
#: ../admin/views/add-ons.php:180 ../admin/views/licenses.php:440
|
969 |
-
#: ../admin/views/settings.php:
|
970 |
msgid "Paging"
|
971 |
msgstr ""
|
972 |
|
@@ -1018,7 +1031,7 @@ msgstr ""
|
|
1018 |
|
1019 |
#: ../admin/shortcode-builder/shortcode-builder.php:630
|
1020 |
#: ../admin/views/add-ons.php:233 ../admin/views/licenses.php:569
|
1021 |
-
#: ../admin/views/settings.php:
|
1022 |
msgid "Previous Post"
|
1023 |
msgstr ""
|
1024 |
|
@@ -1027,31 +1040,44 @@ msgid "Enable the infinite scrolling of single posts."
|
|
1027 |
msgstr ""
|
1028 |
|
1029 |
#: ../admin/shortcode-builder/shortcode-builder.php:667
|
1030 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1031 |
msgid "Taxonomy"
|
1032 |
msgstr ""
|
1033 |
|
1034 |
#: ../admin/shortcode-builder/shortcode-builder.php:667
|
1035 |
msgid ""
|
1036 |
-
"Selecting a taxonomy means only previous posts from the same taxonomy
|
1037 |
-
"be returned"
|
|
|
1038 |
msgstr ""
|
1039 |
|
1040 |
#: ../admin/shortcode-builder/shortcode-builder.php:668
|
1041 |
-
msgid "Query previous posts from the same taxonomy."
|
1042 |
msgstr ""
|
1043 |
|
1044 |
#: ../admin/shortcode-builder/shortcode-builder.php:682
|
1045 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1046 |
msgid "Category"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
#: ../admin/shortcode-builder/shortcode-builder.php:683
|
1050 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1051 |
msgid "Tag"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1055 |
msgid ""
|
1056 |
"You must add the Previous Post shortcode directly to your single template "
|
1057 |
"file using the <a href=\"https://developer.wordpress.org/reference/functions/"
|
@@ -1060,85 +1086,85 @@ msgid ""
|
|
1060 |
"target=\"_blank\">View documentation</a>"
|
1061 |
msgstr ""
|
1062 |
|
1063 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1064 |
-
#: ../admin/views/settings.php:
|
1065 |
msgid "REST API"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1069 |
msgid "Enable the WordPress REST API."
|
1070 |
msgstr ""
|
1071 |
|
1072 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1073 |
msgid "Base URL"
|
1074 |
msgstr ""
|
1075 |
|
1076 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1077 |
msgid "Set a default Base URL in the Ajax Load More settings panel"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1081 |
msgid "Enter the base URL to your installation of the REST API."
|
1082 |
msgstr ""
|
1083 |
|
1084 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1085 |
msgid "Namespace"
|
1086 |
msgstr ""
|
1087 |
|
1088 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1089 |
msgid "Set a default Namespace in the Ajax Load More settings panel"
|
1090 |
msgstr ""
|
1091 |
|
1092 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1093 |
msgid "Enter the custom namespace for this Ajax Load More query."
|
1094 |
msgstr ""
|
1095 |
|
1096 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1097 |
msgid "Endpoint"
|
1098 |
msgstr ""
|
1099 |
|
1100 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1101 |
msgid "Set a default Endpoint in the Ajax Load More settings panel"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1105 |
msgid "Enter your custom endpoint for this Ajax Load More query."
|
1106 |
msgstr ""
|
1107 |
|
1108 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1109 |
msgid "Template ID"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1113 |
msgid ""
|
1114 |
"Ajax Load More references this ID while looping and displaying your data. "
|
1115 |
"You must still select a repeater template for this instance of Ajax Load More"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1119 |
msgid ""
|
1120 |
"Enter the ID of your javascript template.<br/><br/>e.g. <em>tmpl-alm-"
|
1121 |
"template</em> = <em>alm-template</em>"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1125 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1126 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1127 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1128 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1129 |
msgid "View Example"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1133 |
msgid "Debug Mode"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1137 |
msgid ""
|
1138 |
"Enable debugging (console.log) of REST API responses in the browser console. "
|
1139 |
msgstr ""
|
1140 |
|
1141 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1142 |
msgid ""
|
1143 |
"Visit <a href=\"http://v2.wp-api.org/\" target=\"_blank\">http://v2.wp-api."
|
1144 |
"org</a> for documentation on creating custom <a href=\"http://v2.wp-api.org/"
|
@@ -1146,498 +1172,556 @@ msgid ""
|
|
1146 |
"More."
|
1147 |
msgstr ""
|
1148 |
|
1149 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1150 |
msgid "SEO (Search Engine Optimization)"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1154 |
msgid ""
|
1155 |
"Enable address bar URL rewrites as users page through ajax loaded content."
|
1156 |
msgstr ""
|
1157 |
|
1158 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1159 |
msgid "Display Settings"
|
1160 |
msgstr ""
|
1161 |
|
1162 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1163 |
msgid "Repeater Template"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1167 |
msgid ""
|
1168 |
"Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
|
1169 |
"\"_parent\">repeater template</a> you would like to use."
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1173 |
msgid "ID"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1177 |
msgid ""
|
1178 |
"Adding a unique ID will allow you target this specific Ajax Load More "
|
1179 |
"instance with the alm_query_args_id() filter."
|
1180 |
msgstr ""
|
1181 |
|
1182 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1183 |
msgid "Set a unique ID for this Ajax Load More instance."
|
1184 |
msgstr ""
|
1185 |
|
1186 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1187 |
msgid "Generate Unique ID"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1191 |
msgid ""
|
1192 |
"You can define a global container type on the Ajax Load More settings screen"
|
1193 |
msgstr ""
|
1194 |
|
1195 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1196 |
msgid ""
|
1197 |
"Override the global Container Type set on the <a href=\"admin.php?page=ajax-"
|
1198 |
"load-more\">ALM Settings page</a>."
|
1199 |
msgstr ""
|
1200 |
|
1201 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1202 |
msgid ""
|
1203 |
"You can define global container classes on the Ajax Load More settings screen"
|
1204 |
msgstr ""
|
1205 |
|
1206 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1207 |
msgid ""
|
1208 |
"Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. "
|
1209 |
"portfolio-listing large-12 etc"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1213 |
msgid "Button Labels"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1217 |
msgid "Label"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1221 |
msgid "Customize the text of the <em>Load More</em> button."
|
1222 |
msgstr ""
|
1223 |
|
1224 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1225 |
msgid "Loading Label"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1229 |
msgid "Leave field empty to not update text while loading content"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1233 |
msgid ""
|
1234 |
"Update the text of the <em>Load More</em> button while content is loading."
|
1235 |
msgstr ""
|
1236 |
|
1237 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1238 |
msgid "Loading Posts..."
|
1239 |
msgstr ""
|
1240 |
|
1241 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1242 |
msgid "Scrolling"
|
1243 |
msgstr ""
|
1244 |
|
1245 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1246 |
msgid "Enable Scrolling"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1250 |
msgid "Load more posts as the user scrolls the page."
|
1251 |
msgstr ""
|
1252 |
|
1253 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1254 |
msgid "Scroll Distance"
|
1255 |
msgstr ""
|
1256 |
|
1257 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1258 |
msgid ""
|
1259 |
"Distance is based on the position of the loading button from the bottom of "
|
1260 |
"the screen"
|
1261 |
msgstr ""
|
1262 |
|
1263 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1264 |
msgid ""
|
1265 |
"The distance from the bottom of the screen to trigger loading of posts. "
|
1266 |
"(Default = 150)"
|
1267 |
msgstr ""
|
1268 |
|
1269 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1270 |
msgid "Maximum Pages"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1274 |
msgid "If using an Infinite Scroll button style you should set this to 0"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1278 |
msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1282 |
msgid "Pause Override"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1286 |
msgid ""
|
1287 |
"Allow scrolling to override the Pause parameter and trigger the loading of "
|
1288 |
"posts on scroll."
|
1289 |
msgstr ""
|
1290 |
|
1291 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1292 |
msgid "Transition"
|
1293 |
msgstr ""
|
1294 |
|
1295 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1296 |
msgid "Type"
|
1297 |
msgstr ""
|
1298 |
|
1299 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1300 |
msgid "Select a loading transition style."
|
1301 |
msgstr ""
|
1302 |
|
1303 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1304 |
msgid "Slide"
|
1305 |
msgstr ""
|
1306 |
|
1307 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1308 |
msgid "Fade"
|
1309 |
msgstr ""
|
1310 |
|
1311 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1312 |
msgid "Masonry"
|
1313 |
msgstr ""
|
1314 |
|
1315 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1316 |
msgid "Masonry Item Selector"
|
1317 |
msgstr ""
|
1318 |
|
1319 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1320 |
msgid ""
|
1321 |
"Item Selector is required for Masonry to target each element loaded with Ajax"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1325 |
msgid "Enter the target classname of each masonry item"
|
1326 |
msgstr ""
|
1327 |
|
1328 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1329 |
-
msgid "
|
1330 |
msgstr ""
|
1331 |
|
1332 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1333 |
-
msgid "
|
1334 |
msgstr ""
|
1335 |
|
1336 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1337 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1338 |
msgstr ""
|
1339 |
|
1340 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1341 |
msgid "Container"
|
1342 |
msgstr ""
|
1343 |
|
1344 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1345 |
msgid ""
|
1346 |
"Removing the transition container may have undesired results and is not "
|
1347 |
"recommended."
|
1348 |
msgstr ""
|
1349 |
|
1350 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1351 |
msgid ""
|
1352 |
"Remove the <span>.alm-reveal</span> loading container from Ajax Load More"
|
1353 |
msgstr ""
|
1354 |
|
1355 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1356 |
msgid "Remove Container"
|
1357 |
msgstr ""
|
1358 |
|
1359 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1360 |
msgid "Pause"
|
1361 |
msgstr ""
|
1362 |
|
1363 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1364 |
msgid ""
|
1365 |
"Do <u>NOT</u> load any posts until user clicks the <em>Load More</em> button."
|
1366 |
msgstr ""
|
1367 |
|
1368 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1369 |
msgid "Progress Bar"
|
1370 |
msgstr ""
|
1371 |
|
1372 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1373 |
msgid ""
|
1374 |
"Display progress bar indicator at the top of the window while loading Ajax "
|
1375 |
"content"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1379 |
msgid "Color"
|
1380 |
msgstr ""
|
1381 |
|
1382 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1383 |
msgid "Enter the hex color of the progress bar"
|
1384 |
msgstr ""
|
1385 |
|
1386 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1387 |
msgid "Images Loaded"
|
1388 |
msgstr ""
|
1389 |
|
1390 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1391 |
msgid "Wait for all images to load before displaying ajax loaded content"
|
1392 |
msgstr ""
|
1393 |
|
1394 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1395 |
msgid "Background images are not supported"
|
1396 |
msgstr ""
|
1397 |
|
1398 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1399 |
msgid "Destroy After"
|
1400 |
msgstr ""
|
1401 |
|
1402 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1403 |
msgid ""
|
1404 |
"Remove Ajax Load More functionality after '<em>n</em>' number of pages have "
|
1405 |
"been loaded."
|
1406 |
msgstr ""
|
1407 |
|
1408 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1409 |
msgid "Query Parameters"
|
1410 |
msgstr ""
|
1411 |
|
1412 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1413 |
msgid "Posts Per Page"
|
1414 |
msgstr ""
|
1415 |
|
1416 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1417 |
msgid "Select the number of posts to load with each request."
|
1418 |
msgstr ""
|
1419 |
|
1420 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1421 |
msgid "Post Type"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1425 |
msgid "Select the Post Types to include in this Ajax Load More query."
|
1426 |
msgstr ""
|
1427 |
|
1428 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1429 |
msgid "Any"
|
1430 |
msgstr ""
|
1431 |
|
1432 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1433 |
msgid "Sticky Posts"
|
1434 |
msgstr ""
|
1435 |
|
1436 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1437 |
msgid "Sticky posts are only available for Posts."
|
1438 |
msgstr ""
|
1439 |
|
1440 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1441 |
msgid ""
|
1442 |
"Preserve the ordering of sticky posts by having them appear first in the "
|
1443 |
"Ajax listing."
|
1444 |
msgstr ""
|
1445 |
|
1446 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1447 |
msgid "Enable Sticky Posts"
|
1448 |
msgstr ""
|
1449 |
|
1450 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1451 |
msgid "Post Format"
|
1452 |
msgstr ""
|
1453 |
|
1454 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1455 |
msgid ""
|
1456 |
"Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
|
1457 |
"\">Post Format</a> to query."
|
1458 |
msgstr ""
|
1459 |
|
1460 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1461 |
msgid "Select Post Format"
|
1462 |
msgstr ""
|
1463 |
|
1464 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1465 |
msgid "Standard"
|
1466 |
msgstr ""
|
1467 |
|
1468 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1469 |
msgid ""
|
1470 |
"A comma separated list of categories to include by slug. (design, research "
|
1471 |
"etc...)"
|
1472 |
msgstr ""
|
1473 |
|
1474 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1475 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1476 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1477 |
msgid "Exclude"
|
1478 |
msgstr ""
|
1479 |
|
1480 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1481 |
msgid ""
|
1482 |
"A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
|
1483 |
msgstr ""
|
1484 |
|
1485 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1486 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1487 |
msgid "Include"
|
1488 |
msgstr ""
|
1489 |
|
1490 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1491 |
msgid ""
|
1492 |
"A comma separated list of tags to include by slug. (toronto, canada etc...)"
|
1493 |
msgstr ""
|
1494 |
|
1495 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1496 |
msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
|
1497 |
msgstr ""
|
1498 |
|
1499 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1500 |
msgid "Select a taxonomy then select the terms and an operator."
|
1501 |
msgstr ""
|
1502 |
|
1503 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1504 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1505 |
msgid "Add Another"
|
1506 |
msgstr ""
|
1507 |
|
1508 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1509 |
msgid "Date"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1513 |
msgid ""
|
1514 |
"Enter a year, month(number) and day to query by date archive.<br/>» <a "
|
1515 |
"href=\"admin.php?page=ajax-load-more-examples#example-date\">View Example</a>"
|
1516 |
msgstr ""
|
1517 |
|
1518 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1519 |
msgid "Year:"
|
1520 |
msgstr ""
|
1521 |
|
1522 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1523 |
msgid "Month:"
|
1524 |
msgstr ""
|
1525 |
|
1526 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1527 |
msgid "Day:"
|
1528 |
msgstr ""
|
1529 |
|
1530 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1531 |
msgid "Custom Fields (Meta_Query)"
|
1532 |
msgstr ""
|
1533 |
|
1534 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1535 |
msgid ""
|
1536 |
"Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
|
1537 |
"\" target=\"_blank\">custom field</a> by entering a custom field key, value "
|
1538 |
"and operator."
|
1539 |
msgstr ""
|
1540 |
|
1541 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1542 |
msgid ""
|
1543 |
"The logical relationship between each custom field when there is more than "
|
1544 |
"one."
|
1545 |
msgstr ""
|
1546 |
|
1547 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1548 |
msgid "Author"
|
1549 |
msgstr ""
|
1550 |
|
1551 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1552 |
msgid "Select an Author to query(by ID)."
|
1553 |
msgstr ""
|
1554 |
|
1555 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1556 |
msgid "Search Term"
|
1557 |
msgstr ""
|
1558 |
|
1559 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1560 |
msgid "Enter a search term to query."
|
1561 |
msgstr ""
|
1562 |
|
1563 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1564 |
msgid "Enter search term"
|
1565 |
msgstr ""
|
1566 |
|
1567 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1568 |
msgid "Post Parameters"
|
1569 |
msgstr ""
|
1570 |
|
1571 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1572 |
msgid "A comma separated list of post ID's to query."
|
1573 |
msgstr ""
|
1574 |
|
1575 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1576 |
msgid "225, 340, 818, etc..."
|
1577 |
msgstr ""
|
1578 |
|
1579 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1580 |
msgid "A comma separated list of post ID's to exclude from query."
|
1581 |
msgstr ""
|
1582 |
|
1583 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1584 |
msgid "Post Status"
|
1585 |
msgstr ""
|
1586 |
|
1587 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1588 |
msgid ""
|
1589 |
"Post Status parameters are only available for logged in (admin) users. Non "
|
1590 |
"logged in users will only have access to view content in a 'publish' or "
|
1591 |
"'inherit' state. "
|
1592 |
msgstr ""
|
1593 |
|
1594 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1595 |
msgid "Select status of the post."
|
1596 |
msgstr ""
|
1597 |
|
1598 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1599 |
msgid "Published"
|
1600 |
msgstr ""
|
1601 |
|
1602 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1603 |
msgid "Ordering"
|
1604 |
msgstr ""
|
1605 |
|
1606 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1607 |
msgid "Sort posts by Order and Orderby parameters."
|
1608 |
msgstr ""
|
1609 |
|
1610 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1611 |
msgid "Order"
|
1612 |
msgstr ""
|
1613 |
|
1614 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1615 |
msgid "Order By"
|
1616 |
msgstr ""
|
1617 |
|
1618 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1619 |
msgid "Offset"
|
1620 |
msgstr ""
|
1621 |
|
1622 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1623 |
msgid "Offset the initial query by <em>'n'</em> number of posts"
|
1624 |
msgstr ""
|
1625 |
|
1626 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1627 |
msgid "Custom Arguments"
|
1628 |
msgstr ""
|
1629 |
|
1630 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1631 |
msgid "A semicolon separated list of custom value:pair arguments."
|
1632 |
msgstr ""
|
1633 |
|
1634 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1635 |
msgid ""
|
1636 |
"Custom Arguments can be used to query by parameters not available in the "
|
1637 |
"Shortcode Builder."
|
1638 |
msgstr ""
|
1639 |
|
1640 |
-
#: ../admin/shortcode-builder/shortcode-builder.php:
|
1641 |
msgid "event_display:upcoming"
|
1642 |
msgstr ""
|
1643 |
|
@@ -1697,7 +1781,7 @@ msgid ""
|
|
1697 |
msgstr ""
|
1698 |
|
1699 |
#: ../admin/views/add-ons.php:128 ../admin/views/licenses.php:307
|
1700 |
-
#: ../admin/views/settings.php:
|
1701 |
msgid "Layouts"
|
1702 |
msgstr ""
|
1703 |
|
@@ -1766,7 +1850,7 @@ msgid ""
|
|
1766 |
msgstr ""
|
1767 |
|
1768 |
#: ../admin/views/add-ons.php:285 ../admin/views/licenses.php:703
|
1769 |
-
#: ../admin/views/repeater-templates.php:28 ../admin/views/settings.php:
|
1770 |
msgid "Theme Repeaters"
|
1771 |
msgstr ""
|
1772 |
|
@@ -2035,31 +2119,31 @@ msgstr ""
|
|
2035 |
msgid "More About Templating"
|
2036 |
msgstr ""
|
2037 |
|
2038 |
-
#: ../admin/views/settings.php:
|
2039 |
msgid "A powerful plugin to add infinite scroll functionality to your website."
|
2040 |
msgstr ""
|
2041 |
|
2042 |
-
#: ../admin/views/settings.php:
|
2043 |
msgid "Thanks for installing Ajax Load More 3.0!"
|
2044 |
msgstr ""
|
2045 |
|
2046 |
-
#: ../admin/views/settings.php:
|
2047 |
msgid "Don't show me this again!"
|
2048 |
msgstr ""
|
2049 |
|
2050 |
-
#: ../admin/views/settings.php:
|
2051 |
msgid "Jump to Setting"
|
2052 |
msgstr ""
|
2053 |
|
2054 |
-
#: ../admin/views/settings.php:
|
2055 |
msgid "Global Settings"
|
2056 |
msgstr ""
|
2057 |
|
2058 |
-
#: ../admin/views/settings.php:
|
2059 |
msgid "Admin"
|
2060 |
msgstr ""
|
2061 |
|
2062 |
-
#: ../admin/views/settings.php:
|
2063 |
msgid "SEO"
|
2064 |
msgstr ""
|
2065 |
|
@@ -2091,7 +2175,7 @@ msgstr ""
|
|
2091 |
msgid "Reset Shortcode Builder"
|
2092 |
msgstr ""
|
2093 |
|
2094 |
-
#: ../ajax-load-more.php:
|
2095 |
msgid "Settings"
|
2096 |
msgstr ""
|
2097 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Ajax Load More\n"
|
4 |
+
"POT-Creation-Date: 2017-08-08 16:12-0500\n"
|
5 |
+
"PO-Revision-Date: 2017-08-08 16:13-0500\n"
|
6 |
"Last-Translator: Darren Cooney <dcooney@ecentricarts.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: en_CA\n"
|
15 |
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
"X-Poedit-SearchPath-0: ..\n"
|
17 |
|
18 |
+
#: ../admin/admin.php:94 ../admin/admin.php:153 ../admin/admin.php:737
|
19 |
+
#: ../admin/admin.php:781 ../admin/admin.php:831
|
20 |
msgid "You don't belong here."
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: ../admin/admin.php:182
|
24 |
+
msgid "Ajax Load More"
|
25 |
+
msgstr ""
|
26 |
+
|
27 |
+
#: ../admin/admin.php:183 ../admin/editor/editor-build.php:69
|
28 |
#: ../admin/views/licenses.php:65 ../admin/views/licenses.php:130
|
29 |
#: ../admin/views/licenses.php:195 ../admin/views/licenses.php:261
|
30 |
#: ../admin/views/licenses.php:328 ../admin/views/licenses.php:394
|
34 |
msgid "Active"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: ../admin/admin.php:184 ../admin/editor/editor-build.php:70
|
38 |
#: ../admin/views/licenses.php:69 ../admin/views/licenses.php:134
|
39 |
#: ../admin/views/licenses.php:199 ../admin/views/licenses.php:265
|
40 |
#: ../admin/views/licenses.php:332 ../admin/views/licenses.php:398
|
44 |
msgid "Inactive"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: ../admin/admin.php:185 ../admin/editor/editor-build.php:71
|
48 |
msgid "Applying layout"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: ../admin/admin.php:186 ../admin/editor/editor-build.php:72
|
52 |
#: ../admin/views/repeater-templates.php:372
|
53 |
msgid "Template Updated"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: ../admin/admin.php:188 ../admin/editor/editor-build.php:74
|
57 |
msgid "Select Author(s)"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: ../admin/admin.php:189 ../admin/editor/editor-build.php:75
|
61 |
msgid "Select Categories"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: ../admin/admin.php:190 ../admin/editor/editor-build.php:76
|
65 |
msgid "Select Tags"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: ../admin/admin.php:191 ../admin/editor/editor-build.php:41
|
69 |
+
#: ../admin/editor/editor-build.php:77
|
70 |
msgid "Jump to Option"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: ../admin/admin.php:192 ../admin/editor/editor-build.php:78
|
74 |
msgid "Jump to Template"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: ../admin/admin.php:193
|
78 |
msgid "Are you sure you want to install this Ajax Load More extension?"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: ../admin/admin.php:194
|
82 |
#: ../vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:51
|
83 |
#: ../vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:379
|
84 |
msgid "Install Now"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: ../admin/admin.php:195
|
88 |
#: ../vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:90
|
89 |
#: ../vendor/connekt-plugin-installer/class-connekt-plugin-installer.php:380
|
90 |
msgid "Activate"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: ../admin/admin.php:196
|
94 |
+
msgid "Saving Settings"
|
95 |
+
msgstr ""
|
96 |
+
|
97 |
+
#: ../admin/admin.php:197
|
98 |
+
msgid "Settings Saved Successfully"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: ../admin/admin.php:198
|
102 |
+
msgid "Error Saving Settings"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: ../admin/admin.php:308
|
106 |
msgid ""
|
107 |
"[Ajax Load More] Error opening default repeater template - Please check your "
|
108 |
"file path and ensure your server is configured to allow Ajax Load More to "
|
109 |
"read and write files within the /ajax-load-more/core/repeater directory"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: ../admin/admin.php:312
|
113 |
msgid ""
|
114 |
"[Ajax Load More] Error updating default repeater template - Please check "
|
115 |
"your file path and ensure your server is configured to allow Ajax Load More "
|
116 |
"to read and write files within the /ajax-load-more/core/repeater directory."
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: ../admin/admin.php:695
|
120 |
msgid "[Ajax Load More] Unable to open repeater template - "
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: ../admin/admin.php:699
|
124 |
msgid "[Ajax Load More] Error saving repeater template - "
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: ../admin/admin.php:732
|
128 |
msgid "Error Writing File"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: ../admin/admin.php:935 ../admin/shortcode-builder/shortcode-builder.php:948
|
132 |
msgid "Container Type"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: ../admin/admin.php:943 ../admin/shortcode-builder/shortcode-builder.php:979
|
136 |
msgid "Container Classes"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: ../admin/admin.php:951
|
140 |
msgid "Disable CSS"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: ../admin/admin.php:959
|
144 |
msgid "Button/Loading Style"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: ../admin/admin.php:967
|
148 |
msgid "Button Classes"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: ../admin/admin.php:975
|
152 |
msgid "Ajax Security"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: ../admin/admin.php:983
|
156 |
msgid "Top of Page"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: ../admin/admin.php:991
|
160 |
msgid "Dynamic Content"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: ../admin/admin.php:999
|
164 |
msgid "Editor Button"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: ../admin/admin.php:1007
|
168 |
msgid "Error Notices"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: ../admin/admin.php:1078
|
172 |
msgid ""
|
173 |
"Customize the user experience of Ajax Load More by updating the fields below."
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: ../admin/admin.php:1091
|
177 |
msgid "The following settings affect the WordPress admin area only."
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: ../admin/admin.php:1122
|
181 |
msgid "I want to use my own CSS styles."
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: ../admin/admin.php:1122
|
185 |
msgid "View Ajax Load More CSS"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: ../admin/admin.php:1142
|
189 |
msgid "Hide shortcode button in WYSIWYG editor."
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: ../admin/admin.php:1163
|
193 |
msgid ""
|
194 |
"Display error messaging regarding repeater template updates in the browser "
|
195 |
"console."
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: ../admin/admin.php:1184
|
199 |
msgid ""
|
200 |
"Disable dynamic population of categories, tags and authors in the Shortcode "
|
201 |
"Builder.<span style=\"display:block\">Recommended if you have an "
|
202 |
"extraordinary number of categories, tags and/or authors."
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: ../admin/admin.php:1205 ../admin/admin.php:1208
|
206 |
msgid "Ajax Posts Here"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: ../admin/admin.php:1210
|
210 |
msgid "You can modify the container type when building a shortcode."
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: ../admin/admin.php:1227
|
214 |
msgid ""
|
215 |
"Add classes to Ajax Load More container - classes are applied globally and "
|
216 |
"will appear with every instance of Ajax Load More. <span style=\"display:"
|
217 |
"block\">You can also add classes when building a shortcode.</span>"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: ../admin/admin.php:1289
|
221 |
msgid ""
|
222 |
"Select an Ajax loading style - you can choose between a <strong>Button</"
|
223 |
"strong> or <strong>Infinite Scroll</strong>"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: ../admin/admin.php:1294
|
227 |
msgid "Button"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: ../admin/admin.php:1302
|
231 |
msgid "Infinite Scroll (No Button)"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: ../admin/admin.php:1313
|
235 |
msgid "Preview"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: ../admin/admin.php:1313
|
239 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1003
|
240 |
+
#: ../core/classes/class.alm-shortcode.php:138
|
241 |
msgid "Older Posts"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: ../admin/admin.php:1332
|
245 |
msgid "Add classes to your <strong>Load More</strong> button"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: ../admin/admin.php:1375
|
249 |
msgid ""
|
250 |
"On initial page load, move the user's browser window to the top of the "
|
251 |
"screen.<span style=\"display:block\">This <u>may</u> help prevent the "
|
252 |
"loading of unnecessary posts.</span>"
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: ../admin/admin.php:1396
|
256 |
msgid ""
|
257 |
"Enable <a href=\"https://codex.wordpress.org/WordPress_Nonces\" target="
|
258 |
"\"_blank\">WP nonce</a> verification to help protect URLs against certain "
|
259 |
"types of misuse, malicious or otherwise on each Ajax Load More query."
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: ../admin/editor/editor-build.php:45
|
263 |
msgid ""
|
264 |
"Create your own Ajax Load More shortcode by adjusting the parameters below:"
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: ../admin/editor/editor-build.php:53
|
268 |
msgid "Insert Shortcode"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: ../admin/editor/editor-build.php:56 ../admin/views/shortcode-builder.php:28
|
272 |
msgid "Copy"
|
273 |
msgstr ""
|
274 |
|
352 |
msgstr ""
|
353 |
|
354 |
#: ../admin/includes/components/repeater-options.php:2
|
355 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:926
|
356 |
msgid "Options"
|
357 |
msgstr ""
|
358 |
|
462 |
#: ../admin/includes/cta/writeable.php:11
|
463 |
msgid ""
|
464 |
"<p class=\"writeable-title\"><i class=\"fa fa-check\"></i><strong>Ajax Load "
|
465 |
+
"More</strong></p><p class=\"desc\">Read/Write access is enabled within the /"
|
466 |
+
"ajax-load-more/ directory."
|
467 |
msgstr ""
|
468 |
|
469 |
#: ../admin/includes/cta/writeable.php:13
|
484 |
|
485 |
#: ../admin/includes/cta/writeable.php:26
|
486 |
msgid ""
|
487 |
+
"<p class=\"writeable-title\"><i class=\"fa fa-check\"></i><strong>Custom "
|
488 |
+
"Repeaters</strong></p><p class=\"desc\">Nice! Read/Write access is enabled "
|
489 |
+
"within the /ajax-load-more-repeaters/repeaters/ directory."
|
490 |
msgstr ""
|
491 |
|
492 |
#: ../admin/includes/cta/writeable.php:28
|
508 |
|
509 |
#: ../admin/includes/cta/writeable.php:42
|
510 |
msgid ""
|
511 |
+
"<p class=\"writeable-title\"><i class=\"fa fa-check\"></i><strong>Custom "
|
512 |
+
"Repeaters</strong></p><p class=\"desc\">Read/Write access is enabled within "
|
513 |
+
"the /ajax-load-more-repeaters-v2/repeaters/ directory."
|
514 |
msgstr ""
|
515 |
|
516 |
#: ../admin/includes/cta/writeable.php:44
|
580 |
msgstr ""
|
581 |
|
582 |
#: ../admin/shortcode-builder/includes/tax-query-options.php:36
|
583 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1661
|
584 |
msgid "Relation:"
|
585 |
msgstr ""
|
586 |
|
610 |
#: ../admin/shortcode-builder/shortcode-builder.php:545
|
611 |
#: ../admin/shortcode-builder/shortcode-builder.php:599
|
612 |
#: ../admin/shortcode-builder/shortcode-builder.php:640
|
613 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:746
|
614 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:826
|
615 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:860
|
616 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1037
|
617 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1097
|
618 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1250
|
619 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1278
|
620 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1326
|
621 |
msgid "True"
|
622 |
msgstr ""
|
623 |
|
630 |
#: ../admin/shortcode-builder/shortcode-builder.php:549
|
631 |
#: ../admin/shortcode-builder/shortcode-builder.php:603
|
632 |
#: ../admin/shortcode-builder/shortcode-builder.php:644
|
633 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:750
|
634 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:830
|
635 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:864
|
636 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1041
|
637 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1101
|
638 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1254
|
639 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1282
|
640 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1330
|
641 |
msgid "False"
|
642 |
msgstr ""
|
643 |
|
699 |
|
700 |
#: ../admin/shortcode-builder/shortcode-builder.php:106
|
701 |
#: ../admin/views/add-ons.php:21 ../admin/views/licenses.php:44
|
702 |
+
#: ../admin/views/settings.php:59
|
703 |
msgid "Cache"
|
704 |
msgstr ""
|
705 |
|
758 |
msgstr ""
|
759 |
|
760 |
#: ../admin/shortcode-builder/shortcode-builder.php:201
|
761 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:886
|
762 |
msgid "Template"
|
763 |
msgstr ""
|
764 |
|
852 |
msgstr ""
|
853 |
|
854 |
#: ../admin/shortcode-builder/shortcode-builder.php:347
|
855 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1124
|
856 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1189
|
857 |
msgid "None"
|
858 |
msgstr ""
|
859 |
|
979 |
|
980 |
#: ../admin/shortcode-builder/shortcode-builder.php:513
|
981 |
#: ../admin/views/add-ons.php:180 ../admin/views/licenses.php:440
|
982 |
+
#: ../admin/views/settings.php:63
|
983 |
msgid "Paging"
|
984 |
msgstr ""
|
985 |
|
1031 |
|
1032 |
#: ../admin/shortcode-builder/shortcode-builder.php:630
|
1033 |
#: ../admin/views/add-ons.php:233 ../admin/views/licenses.php:569
|
1034 |
+
#: ../admin/views/settings.php:65
|
1035 |
msgid "Previous Post"
|
1036 |
msgstr ""
|
1037 |
|
1040 |
msgstr ""
|
1041 |
|
1042 |
#: ../admin/shortcode-builder/shortcode-builder.php:667
|
1043 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1601
|
1044 |
msgid "Taxonomy"
|
1045 |
msgstr ""
|
1046 |
|
1047 |
#: ../admin/shortcode-builder/shortcode-builder.php:667
|
1048 |
msgid ""
|
1049 |
+
"Selecting a taxonomy means only previous posts from the same taxonomy term "
|
1050 |
+
"will be returned. If a post has multiple terms attached, each term will be "
|
1051 |
+
"considered using an OR relationship query"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
#: ../admin/shortcode-builder/shortcode-builder.php:668
|
1055 |
+
msgid "Query previous posts from the same taxonomy term(s)."
|
1056 |
msgstr ""
|
1057 |
|
1058 |
#: ../admin/shortcode-builder/shortcode-builder.php:682
|
1059 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1482
|
1060 |
msgid "Category"
|
1061 |
msgstr ""
|
1062 |
|
1063 |
#: ../admin/shortcode-builder/shortcode-builder.php:683
|
1064 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1542
|
1065 |
msgid "Tag"
|
1066 |
msgstr ""
|
1067 |
|
1068 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:700
|
1069 |
+
msgid "Excluded Terms "
|
1070 |
+
msgstr ""
|
1071 |
+
|
1072 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:700
|
1073 |
+
msgid "A comma-separated list of excluded terms by ID"
|
1074 |
+
msgstr ""
|
1075 |
+
|
1076 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:701
|
1077 |
+
msgid "Exclude posts by term ID from the previous post query."
|
1078 |
+
msgstr ""
|
1079 |
+
|
1080 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:710
|
1081 |
msgid ""
|
1082 |
"You must add the Previous Post shortcode directly to your single template "
|
1083 |
"file using the <a href=\"https://developer.wordpress.org/reference/functions/"
|
1086 |
"target=\"_blank\">View documentation</a>"
|
1087 |
msgstr ""
|
1088 |
|
1089 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:736
|
1090 |
+
#: ../admin/views/settings.php:67
|
1091 |
msgid "REST API"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:739
|
1095 |
msgid "Enable the WordPress REST API."
|
1096 |
msgstr ""
|
1097 |
|
1098 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:763
|
1099 |
msgid "Base URL"
|
1100 |
msgstr ""
|
1101 |
|
1102 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:764
|
1103 |
msgid "Set a default Base URL in the Ajax Load More settings panel"
|
1104 |
msgstr ""
|
1105 |
|
1106 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:765
|
1107 |
msgid "Enter the base URL to your installation of the REST API."
|
1108 |
msgstr ""
|
1109 |
|
1110 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:777
|
1111 |
msgid "Namespace"
|
1112 |
msgstr ""
|
1113 |
|
1114 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:778
|
1115 |
msgid "Set a default Namespace in the Ajax Load More settings panel"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:779
|
1119 |
msgid "Enter the custom namespace for this Ajax Load More query."
|
1120 |
msgstr ""
|
1121 |
|
1122 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:791
|
1123 |
msgid "Endpoint"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:792
|
1127 |
msgid "Set a default Endpoint in the Ajax Load More settings panel"
|
1128 |
msgstr ""
|
1129 |
|
1130 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:793
|
1131 |
msgid "Enter your custom endpoint for this Ajax Load More query."
|
1132 |
msgstr ""
|
1133 |
|
1134 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:805
|
1135 |
msgid "Template ID"
|
1136 |
msgstr ""
|
1137 |
|
1138 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:805
|
1139 |
msgid ""
|
1140 |
"Ajax Load More references this ID while looping and displaying your data. "
|
1141 |
"You must still select a repeater template for this instance of Ajax Load More"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:806
|
1145 |
msgid ""
|
1146 |
"Enter the ID of your javascript template.<br/><br/>e.g. <em>tmpl-alm-"
|
1147 |
"template</em> = <em>alm-template</em>"
|
1148 |
msgstr ""
|
1149 |
|
1150 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:806
|
1151 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1269
|
1152 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1487
|
1153 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1546
|
1154 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1746
|
1155 |
msgid "View Example"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:818
|
1159 |
msgid "Debug Mode"
|
1160 |
msgstr ""
|
1161 |
|
1162 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:819
|
1163 |
msgid ""
|
1164 |
"Enable debugging (console.log) of REST API responses in the browser console. "
|
1165 |
msgstr ""
|
1166 |
|
1167 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:837
|
1168 |
msgid ""
|
1169 |
"Visit <a href=\"http://v2.wp-api.org/\" target=\"_blank\">http://v2.wp-api."
|
1170 |
"org</a> for documentation on creating custom <a href=\"http://v2.wp-api.org/"
|
1172 |
"More."
|
1173 |
msgstr ""
|
1174 |
|
1175 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:850
|
1176 |
msgid "SEO (Search Engine Optimization)"
|
1177 |
msgstr ""
|
1178 |
|
1179 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:853
|
1180 |
msgid ""
|
1181 |
"Enable address bar URL rewrites as users page through ajax loaded content."
|
1182 |
msgstr ""
|
1183 |
|
1184 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:881
|
1185 |
msgid "Display Settings"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:890
|
1189 |
msgid "Repeater Template"
|
1190 |
msgstr ""
|
1191 |
|
1192 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:892
|
1193 |
msgid ""
|
1194 |
"Select which <a href=\"admin.php?page=ajax-load-more-repeaters\" target="
|
1195 |
"\"_parent\">repeater template</a> you would like to use."
|
1196 |
msgstr ""
|
1197 |
|
1198 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:931
|
1199 |
msgid "ID"
|
1200 |
msgstr ""
|
1201 |
|
1202 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:931
|
1203 |
msgid ""
|
1204 |
"Adding a unique ID will allow you target this specific Ajax Load More "
|
1205 |
"instance with the alm_query_args_id() filter."
|
1206 |
msgstr ""
|
1207 |
|
1208 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:932
|
1209 |
msgid "Set a unique ID for this Ajax Load More instance."
|
1210 |
msgstr ""
|
1211 |
|
1212 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:939
|
1213 |
msgid "Generate Unique ID"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:948
|
1217 |
msgid ""
|
1218 |
"You can define a global container type on the Ajax Load More settings screen"
|
1219 |
msgstr ""
|
1220 |
|
1221 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:949
|
1222 |
msgid ""
|
1223 |
"Override the global Container Type set on the <a href=\"admin.php?page=ajax-"
|
1224 |
"load-more\">ALM Settings page</a>."
|
1225 |
msgstr ""
|
1226 |
|
1227 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:979
|
1228 |
msgid ""
|
1229 |
"You can define global container classes on the Ajax Load More settings screen"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:980
|
1233 |
msgid ""
|
1234 |
"Add custom CSS classes to the Ajax Load More container. <br/><br/> e.g. "
|
1235 |
"portfolio-listing large-12 etc"
|
1236 |
msgstr ""
|
1237 |
|
1238 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:993
|
1239 |
msgid "Button Labels"
|
1240 |
msgstr ""
|
1241 |
|
1242 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:998
|
1243 |
msgid "Label"
|
1244 |
msgstr ""
|
1245 |
|
1246 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:999
|
1247 |
msgid "Customize the text of the <em>Load More</em> button."
|
1248 |
msgstr ""
|
1249 |
|
1250 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1011
|
1251 |
msgid "Loading Label"
|
1252 |
msgstr ""
|
1253 |
|
1254 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1011
|
1255 |
msgid "Leave field empty to not update text while loading content"
|
1256 |
msgstr ""
|
1257 |
|
1258 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1012
|
1259 |
msgid ""
|
1260 |
"Update the text of the <em>Load More</em> button while content is loading."
|
1261 |
msgstr ""
|
1262 |
|
1263 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1016
|
1264 |
msgid "Loading Posts..."
|
1265 |
msgstr ""
|
1266 |
|
1267 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1026
|
1268 |
msgid "Scrolling"
|
1269 |
msgstr ""
|
1270 |
|
1271 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1029
|
1272 |
msgid "Enable Scrolling"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1030
|
1276 |
msgid "Load more posts as the user scrolls the page."
|
1277 |
msgstr ""
|
1278 |
|
1279 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1051
|
1280 |
msgid "Scroll Distance"
|
1281 |
msgstr ""
|
1282 |
|
1283 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1051
|
1284 |
msgid ""
|
1285 |
"Distance is based on the position of the loading button from the bottom of "
|
1286 |
"the screen"
|
1287 |
msgstr ""
|
1288 |
|
1289 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1052
|
1290 |
msgid ""
|
1291 |
"The distance from the bottom of the screen to trigger loading of posts. "
|
1292 |
"(Default = 150)"
|
1293 |
msgstr ""
|
1294 |
|
1295 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1064
|
1296 |
+
msgid "Scroll Container"
|
1297 |
+
msgstr ""
|
1298 |
+
|
1299 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1064
|
1300 |
+
msgid "Confine Ajax Load More scrolling to a parent container."
|
1301 |
+
msgstr ""
|
1302 |
+
|
1303 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1065
|
1304 |
+
msgid "Enter the ID or classname of the parent container"
|
1305 |
+
msgstr ""
|
1306 |
+
|
1307 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1077
|
1308 |
msgid "Maximum Pages"
|
1309 |
msgstr ""
|
1310 |
|
1311 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1077
|
1312 |
msgid "If using an Infinite Scroll button style you should set this to 0"
|
1313 |
msgstr ""
|
1314 |
|
1315 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1078
|
1316 |
msgid "Maximum number of pages to load while scrolling. (0 = unlimited)"
|
1317 |
msgstr ""
|
1318 |
|
1319 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1090
|
1320 |
msgid "Pause Override"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1091
|
1324 |
msgid ""
|
1325 |
"Allow scrolling to override the Pause parameter and trigger the loading of "
|
1326 |
"posts on scroll."
|
1327 |
msgstr ""
|
1328 |
|
1329 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1112
|
1330 |
msgid "Transition"
|
1331 |
msgstr ""
|
1332 |
|
1333 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1115
|
1334 |
msgid "Type"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1116
|
1338 |
msgid "Select a loading transition style."
|
1339 |
msgstr ""
|
1340 |
|
1341 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1121
|
1342 |
msgid "Slide"
|
1343 |
msgstr ""
|
1344 |
|
1345 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1122
|
1346 |
msgid "Fade"
|
1347 |
msgstr ""
|
1348 |
|
1349 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1123
|
1350 |
msgid "Masonry"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1137
|
1354 |
msgid "Masonry Item Selector"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1137
|
1358 |
msgid ""
|
1359 |
"Item Selector is required for Masonry to target each element loaded with Ajax"
|
1360 |
msgstr ""
|
1361 |
|
1362 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1138
|
1363 |
msgid "Enter the target classname of each masonry item"
|
1364 |
msgstr ""
|
1365 |
|
1366 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1151
|
1367 |
+
msgid "Masonry Animation"
|
1368 |
msgstr ""
|
1369 |
|
1370 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1151
|
1371 |
+
msgid "All Masonry animations include a fade-in effect as items are loaded"
|
1372 |
msgstr ""
|
1373 |
|
1374 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1152
|
1375 |
+
msgid "Select a loading transition for Masonry items"
|
1376 |
+
msgstr ""
|
1377 |
+
|
1378 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1161
|
1379 |
+
msgid "Default (Zoom)"
|
1380 |
+
msgstr ""
|
1381 |
+
|
1382 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1162
|
1383 |
+
msgid "Items will scale up from 50% to 100% size on load"
|
1384 |
+
msgstr ""
|
1385 |
+
|
1386 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1168
|
1387 |
+
msgid "Zoom Out"
|
1388 |
+
msgstr ""
|
1389 |
+
|
1390 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1169
|
1391 |
+
msgid ""
|
1392 |
+
"The reverse of the Default animation - Items will scale down from 125% to "
|
1393 |
+
"100% size on load"
|
1394 |
+
msgstr ""
|
1395 |
+
|
1396 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1175
|
1397 |
+
msgid "Slide Up"
|
1398 |
+
msgstr ""
|
1399 |
+
|
1400 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1176
|
1401 |
+
msgid "Items will animate up as they are loaded into view."
|
1402 |
msgstr ""
|
1403 |
|
1404 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1182
|
1405 |
+
msgid "Slide Down"
|
1406 |
+
msgstr ""
|
1407 |
+
|
1408 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1183
|
1409 |
+
msgid "Items will animate down as they are loaded into view."
|
1410 |
+
msgstr ""
|
1411 |
+
|
1412 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1205
|
1413 |
msgid "Container"
|
1414 |
msgstr ""
|
1415 |
|
1416 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1205
|
1417 |
msgid ""
|
1418 |
"Removing the transition container may have undesired results and is not "
|
1419 |
"recommended."
|
1420 |
msgstr ""
|
1421 |
|
1422 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1206
|
1423 |
msgid ""
|
1424 |
"Remove the <span>.alm-reveal</span> loading container from Ajax Load More"
|
1425 |
msgstr ""
|
1426 |
|
1427 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1213
|
1428 |
msgid "Remove Container"
|
1429 |
msgstr ""
|
1430 |
|
1431 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1225
|
1432 |
+
msgid "Speed"
|
1433 |
+
msgstr ""
|
1434 |
+
|
1435 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1225
|
1436 |
+
msgid "0.5 seconds = 500, 1 second = 1000 etc."
|
1437 |
+
msgstr ""
|
1438 |
+
|
1439 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1226
|
1440 |
+
msgid "The speed of the loading transition in milliseconds"
|
1441 |
+
msgstr ""
|
1442 |
+
|
1443 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1240
|
1444 |
msgid "Pause"
|
1445 |
msgstr ""
|
1446 |
|
1447 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1243
|
1448 |
msgid ""
|
1449 |
"Do <u>NOT</u> load any posts until user clicks the <em>Load More</em> button."
|
1450 |
msgstr ""
|
1451 |
|
1452 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1265
|
1453 |
msgid "Progress Bar"
|
1454 |
msgstr ""
|
1455 |
|
1456 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1268
|
1457 |
msgid ""
|
1458 |
"Display progress bar indicator at the top of the window while loading Ajax "
|
1459 |
"content"
|
1460 |
msgstr ""
|
1461 |
|
1462 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1297
|
1463 |
msgid "Color"
|
1464 |
msgstr ""
|
1465 |
|
1466 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1298
|
1467 |
msgid "Enter the hex color of the progress bar"
|
1468 |
msgstr ""
|
1469 |
|
1470 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1316
|
1471 |
msgid "Images Loaded"
|
1472 |
msgstr ""
|
1473 |
|
1474 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1319
|
1475 |
msgid "Wait for all images to load before displaying ajax loaded content"
|
1476 |
msgstr ""
|
1477 |
|
1478 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1319
|
1479 |
msgid "Background images are not supported"
|
1480 |
msgstr ""
|
1481 |
|
1482 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1341
|
1483 |
msgid "Destroy After"
|
1484 |
msgstr ""
|
1485 |
|
1486 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1346
|
1487 |
msgid ""
|
1488 |
"Remove Ajax Load More functionality after '<em>n</em>' number of pages have "
|
1489 |
"been loaded."
|
1490 |
msgstr ""
|
1491 |
|
1492 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1366
|
1493 |
msgid "Query Parameters"
|
1494 |
msgstr ""
|
1495 |
|
1496 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1370
|
1497 |
msgid "Posts Per Page"
|
1498 |
msgstr ""
|
1499 |
|
1500 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1373
|
1501 |
msgid "Select the number of posts to load with each request."
|
1502 |
msgstr ""
|
1503 |
|
1504 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1392
|
1505 |
msgid "Post Type"
|
1506 |
msgstr ""
|
1507 |
|
1508 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1397
|
1509 |
msgid "Select the Post Types to include in this Ajax Load More query."
|
1510 |
msgstr ""
|
1511 |
|
1512 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1411
|
1513 |
msgid "Any"
|
1514 |
msgstr ""
|
1515 |
|
1516 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1423
|
1517 |
msgid "Sticky Posts"
|
1518 |
msgstr ""
|
1519 |
|
1520 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1423
|
1521 |
msgid "Sticky posts are only available for Posts."
|
1522 |
msgstr ""
|
1523 |
|
1524 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1424
|
1525 |
msgid ""
|
1526 |
"Preserve the ordering of sticky posts by having them appear first in the "
|
1527 |
"Ajax listing."
|
1528 |
msgstr ""
|
1529 |
|
1530 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1431
|
1531 |
msgid "Enable Sticky Posts"
|
1532 |
msgstr ""
|
1533 |
|
1534 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1453
|
1535 |
msgid "Post Format"
|
1536 |
msgstr ""
|
1537 |
|
1538 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1456
|
1539 |
msgid ""
|
1540 |
"Select a <a href=\"http://codex.wordpress.org/Post_Formats\" target=\"_blank"
|
1541 |
"\">Post Format</a> to query."
|
1542 |
msgstr ""
|
1543 |
|
1544 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1459
|
1545 |
msgid "Select Post Format"
|
1546 |
msgstr ""
|
1547 |
|
1548 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1460
|
1549 |
msgid "Standard"
|
1550 |
msgstr ""
|
1551 |
|
1552 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1486
|
1553 |
msgid ""
|
1554 |
"A comma separated list of categories to include by slug. (design, research "
|
1555 |
"etc...)"
|
1556 |
msgstr ""
|
1557 |
|
1558 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1509
|
1559 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1567
|
1560 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1745
|
1561 |
msgid "Exclude"
|
1562 |
msgstr ""
|
1563 |
|
1564 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1510
|
1565 |
msgid ""
|
1566 |
"A comma separated list of categories to exclude by ID. (3, 12, 35 etc..)"
|
1567 |
msgstr ""
|
1568 |
|
1569 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1545
|
1570 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1734
|
1571 |
msgid "Include"
|
1572 |
msgstr ""
|
1573 |
|
1574 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1546
|
1575 |
msgid ""
|
1576 |
"A comma separated list of tags to include by slug. (toronto, canada etc...)"
|
1577 |
msgstr ""
|
1578 |
|
1579 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1568
|
1580 |
msgid "A comma separated list of tags to exclude by ID. (30, 12, 99 etc..)"
|
1581 |
msgstr ""
|
1582 |
|
1583 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1604
|
1584 |
msgid "Select a taxonomy then select the terms and an operator."
|
1585 |
msgstr ""
|
1586 |
|
1587 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1609
|
1588 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1675
|
1589 |
msgid "Add Another"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1619
|
1593 |
msgid "Date"
|
1594 |
msgstr ""
|
1595 |
|
1596 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1622
|
1597 |
msgid ""
|
1598 |
"Enter a year, month(number) and day to query by date archive.<br/>» <a "
|
1599 |
"href=\"admin.php?page=ajax-load-more-examples#example-date\">View Example</a>"
|
1600 |
msgstr ""
|
1601 |
|
1602 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1628
|
1603 |
msgid "Year:"
|
1604 |
msgstr ""
|
1605 |
|
1606 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1632
|
1607 |
msgid "Month:"
|
1608 |
msgstr ""
|
1609 |
|
1610 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1636
|
1611 |
msgid "Day:"
|
1612 |
msgstr ""
|
1613 |
|
1614 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1647
|
1615 |
msgid "Custom Fields (Meta_Query)"
|
1616 |
msgstr ""
|
1617 |
|
1618 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1650
|
1619 |
msgid ""
|
1620 |
"Query for <a href=\"http://codex.wordpress.org/Class_Reference/WP_Meta_Query"
|
1621 |
"\" target=\"_blank\">custom field</a> by entering a custom field key, value "
|
1622 |
"and operator."
|
1623 |
msgstr ""
|
1624 |
|
1625 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1661
|
1626 |
msgid ""
|
1627 |
"The logical relationship between each custom field when there is more than "
|
1628 |
"one."
|
1629 |
msgstr ""
|
1630 |
|
1631 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1691
|
1632 |
msgid "Author"
|
1633 |
msgstr ""
|
1634 |
|
1635 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1694
|
1636 |
msgid "Select an Author to query(by ID)."
|
1637 |
msgstr ""
|
1638 |
|
1639 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1715
|
1640 |
msgid "Search Term"
|
1641 |
msgstr ""
|
1642 |
|
1643 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1718
|
1644 |
msgid "Enter a search term to query."
|
1645 |
msgstr ""
|
1646 |
|
1647 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1722
|
1648 |
msgid "Enter search term"
|
1649 |
msgstr ""
|
1650 |
|
1651 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1731
|
1652 |
msgid "Post Parameters"
|
1653 |
msgstr ""
|
1654 |
|
1655 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1735
|
1656 |
msgid "A comma separated list of post ID's to query."
|
1657 |
msgstr ""
|
1658 |
|
1659 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1739
|
1660 |
msgid "225, 340, 818, etc..."
|
1661 |
msgstr ""
|
1662 |
|
1663 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1746
|
1664 |
msgid "A comma separated list of post ID's to exclude from query."
|
1665 |
msgstr ""
|
1666 |
|
1667 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1756
|
1668 |
msgid "Post Status"
|
1669 |
msgstr ""
|
1670 |
|
1671 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1756
|
1672 |
msgid ""
|
1673 |
"Post Status parameters are only available for logged in (admin) users. Non "
|
1674 |
"logged in users will only have access to view content in a 'publish' or "
|
1675 |
"'inherit' state. "
|
1676 |
msgstr ""
|
1677 |
|
1678 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1757
|
1679 |
msgid "Select status of the post."
|
1680 |
msgstr ""
|
1681 |
|
1682 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1762
|
1683 |
msgid "Published"
|
1684 |
msgstr ""
|
1685 |
|
1686 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1779
|
1687 |
msgid "Ordering"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1782
|
1691 |
msgid "Sort posts by Order and Orderby parameters."
|
1692 |
msgstr ""
|
1693 |
|
1694 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1786
|
1695 |
msgid "Order"
|
1696 |
msgstr ""
|
1697 |
|
1698 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1793
|
1699 |
msgid "Order By"
|
1700 |
msgstr ""
|
1701 |
|
1702 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1814
|
1703 |
msgid "Offset"
|
1704 |
msgstr ""
|
1705 |
|
1706 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1817
|
1707 |
msgid "Offset the initial query by <em>'n'</em> number of posts"
|
1708 |
msgstr ""
|
1709 |
|
1710 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1830
|
1711 |
msgid "Custom Arguments"
|
1712 |
msgstr ""
|
1713 |
|
1714 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1833
|
1715 |
msgid "A semicolon separated list of custom value:pair arguments."
|
1716 |
msgstr ""
|
1717 |
|
1718 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1833
|
1719 |
msgid ""
|
1720 |
"Custom Arguments can be used to query by parameters not available in the "
|
1721 |
"Shortcode Builder."
|
1722 |
msgstr ""
|
1723 |
|
1724 |
+
#: ../admin/shortcode-builder/shortcode-builder.php:1837
|
1725 |
msgid "event_display:upcoming"
|
1726 |
msgstr ""
|
1727 |
|
1781 |
msgstr ""
|
1782 |
|
1783 |
#: ../admin/views/add-ons.php:128 ../admin/views/licenses.php:307
|
1784 |
+
#: ../admin/views/settings.php:61
|
1785 |
msgid "Layouts"
|
1786 |
msgstr ""
|
1787 |
|
1850 |
msgstr ""
|
1851 |
|
1852 |
#: ../admin/views/add-ons.php:285 ../admin/views/licenses.php:703
|
1853 |
+
#: ../admin/views/repeater-templates.php:28 ../admin/views/settings.php:71
|
1854 |
msgid "Theme Repeaters"
|
1855 |
msgstr ""
|
1856 |
|
2119 |
msgid "More About Templating"
|
2120 |
msgstr ""
|
2121 |
|
2122 |
+
#: ../admin/views/settings.php:8
|
2123 |
msgid "A powerful plugin to add infinite scroll functionality to your website."
|
2124 |
msgstr ""
|
2125 |
|
2126 |
+
#: ../admin/views/settings.php:22
|
2127 |
msgid "Thanks for installing Ajax Load More 3.0!"
|
2128 |
msgstr ""
|
2129 |
|
2130 |
+
#: ../admin/views/settings.php:39
|
2131 |
msgid "Don't show me this again!"
|
2132 |
msgstr ""
|
2133 |
|
2134 |
+
#: ../admin/views/settings.php:51 ../admin/views/settings.php:54
|
2135 |
msgid "Jump to Setting"
|
2136 |
msgstr ""
|
2137 |
|
2138 |
+
#: ../admin/views/settings.php:55
|
2139 |
msgid "Global Settings"
|
2140 |
msgstr ""
|
2141 |
|
2142 |
+
#: ../admin/views/settings.php:56
|
2143 |
msgid "Admin"
|
2144 |
msgstr ""
|
2145 |
|
2146 |
+
#: ../admin/views/settings.php:69
|
2147 |
msgid "SEO"
|
2148 |
msgstr ""
|
2149 |
|
2175 |
msgid "Reset Shortcode Builder"
|
2176 |
msgstr ""
|
2177 |
|
2178 |
+
#: ../ajax-load-more.php:197
|
2179 |
msgid "Settings"
|
2180 |
msgstr ""
|
2181 |
|