Changeset 2358188 for loftloader
- Timestamp:
- 08/12/2020 05:29:07 AM (6 years ago)
- Location:
- loftloader
- Files:
-
- 71 added
- 10 edited
-
tags/2.3.1 (added)
-
tags/2.3.1/assets (added)
-
tags/2.3.1/assets/css (added)
-
tags/2.3.1/assets/css/images (added)
-
tags/2.3.1/assets/css/images/ui-bg_flat_55_999999_40x100.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_flat_75_aaaaaa_40x100.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_glass_100_f6f6f6_1x400.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_glass_100_fdf5ce_1x400.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_glass_45_0078ae_1x400.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_glass_55_f8da4e_1x400.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_glass_65_ffffff_1x400.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_glass_75_79c9ec_1x400.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_gloss-wave_45_e14f1c_500x100.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_gloss-wave_50_6eac2c_500x100.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_gloss-wave_75_2191c0_500x100.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png (added)
-
tags/2.3.1/assets/css/images/ui-bg_inset-hard_100_fcfdfd_1x100.png (added)
-
tags/2.3.1/assets/css/images/ui-icons_0078ae_256x240.png (added)
-
tags/2.3.1/assets/css/images/ui-icons_056b93_256x240.png (added)
-
tags/2.3.1/assets/css/images/ui-icons_acacac_256x240.png (added)
-
tags/2.3.1/assets/css/images/ui-icons_e0fdff_256x240.png (added)
-
tags/2.3.1/assets/css/images/ui-icons_ef8c08_256x240 1.png (added)
-
tags/2.3.1/assets/css/images/ui-icons_ef8c08_256x240.png (added)
-
tags/2.3.1/assets/css/images/ui-icons_f5e175_256x240.png (added)
-
tags/2.3.1/assets/css/images/ui-icons_f7a50d_256x240.png (added)
-
tags/2.3.1/assets/css/images/ui-icons_fcd113_256x240.png (added)
-
tags/2.3.1/assets/css/jquery-ui.css (added)
-
tags/2.3.1/assets/css/loftloader-settings.css (added)
-
tags/2.3.1/assets/css/loftloader-settings.min.css (added)
-
tags/2.3.1/assets/css/loftloader.css (added)
-
tags/2.3.1/assets/css/loftloader.min.css (added)
-
tags/2.3.1/assets/img (added)
-
tags/2.3.1/assets/img/animation-options.png (added)
-
tags/2.3.1/assets/img/loftloader-logo.png (added)
-
tags/2.3.1/assets/img/pro-ad.jpg (added)
-
tags/2.3.1/assets/js (added)
-
tags/2.3.1/assets/js/customize.js (added)
-
tags/2.3.1/assets/js/customize.min.js (added)
-
tags/2.3.1/assets/js/loftloader.js (added)
-
tags/2.3.1/assets/js/loftloader.min.js (added)
-
tags/2.3.1/assets/js/preview.js (added)
-
tags/2.3.1/assets/js/preview.min.js (added)
-
tags/2.3.1/assets/scss (added)
-
tags/2.3.1/assets/scss/_loftloader-animation.scss (added)
-
tags/2.3.1/assets/scss/_loftloader-mixins.scss (added)
-
tags/2.3.1/assets/scss/loftloader-settings.scss (added)
-
tags/2.3.1/assets/scss/loftloader.scss (added)
-
tags/2.3.1/inc (added)
-
tags/2.3.1/inc/any-page (added)
-
tags/2.3.1/inc/any-page/class-any-page-filter.php (added)
-
tags/2.3.1/inc/any-page/class-loftloader-any-page.php (added)
-
tags/2.3.1/inc/any-page/gutenberg (added)
-
tags/2.3.1/inc/any-page/gutenberg/class-gutenberg-any-page.php (added)
-
tags/2.3.1/inc/any-page/gutenberg/plugin.js (added)
-
tags/2.3.1/inc/class-loftloader-customize.php (added)
-
tags/2.3.1/inc/class-loftloader-front.php (added)
-
tags/2.3.1/inc/class-loftloader-upgrade.php (added)
-
tags/2.3.1/inc/configs (added)
-
tags/2.3.1/inc/configs/customize-advanced.php (added)
-
tags/2.3.1/inc/configs/customize-background.php (added)
-
tags/2.3.1/inc/configs/customize-loader.php (added)
-
tags/2.3.1/inc/configs/customize-main.php (added)
-
tags/2.3.1/inc/configs/customize-more.php (added)
-
tags/2.3.1/inc/configs/customize-promo.php (added)
-
tags/2.3.1/inc/configs/customize-range.php (added)
-
tags/2.3.1/inc/configs/default-settings.php (added)
-
tags/2.3.1/languages (added)
-
tags/2.3.1/languages/loftloader.pot (added)
-
tags/2.3.1/loftloader.php (added)
-
tags/2.3.1/readme.txt (added)
-
trunk/assets/css/loftloader-settings.css (modified) (1 diff)
-
trunk/assets/css/loftloader.css (modified) (1 diff)
-
trunk/assets/js/customize.js (modified) (1 diff)
-
trunk/assets/js/customize.min.js (modified) (1 diff)
-
trunk/assets/scss/loftloader-settings.scss (modified) (2 diffs)
-
trunk/assets/scss/loftloader.scss (modified) (1 diff)
-
trunk/inc/class-loftloader-front.php (modified) (1 diff)
-
trunk/languages/loftloader.pot (modified) (2 diffs)
-
trunk/loftloader.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
loftloader/trunk/assets/css/loftloader-settings.css
r2343460 r2358188 7 7 * Author URI: http://www.loftocean.com 8 8 * Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content. 9 * Version: 2.3. 09 * Version: 2.3.1 10 10 */ 11 11 @import url(https://fonts.googleapis.com/css?family=Lato:400,600); -
loftloader/trunk/assets/css/loftloader.css
r2343460 r2358188 7 7 * Author URI: http://www.loftocean.com 8 8 * Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content. 9 * Version: 2.3. 09 * Version: 2.3.1 10 10 */ 11 11 @-webkit-keyframes spinReturn { -
loftloader/trunk/assets/js/customize.js
r2248622 r2358188 54 54 loftloader_lite_i18n ? $('.site-title').text(loftloader_lite_i18n.name) : ''; 55 55 $('#loftloader-hide-site-title').remove(); 56 57 var current_url = document.createElement( 'a' ), current_search; 58 current_url.href = api.previewer.previewUrl(); 59 current_search = api.utils.parseQueryString( current_url.search.substr( 1 ) ); 60 api.previewer.unbind( 'url' ).bind( 'url', function( url ) { 61 var previewer = this, onUrlChange, urlChanged = false, urlParser; 62 urlParser = document.createElement( 'a' ); 63 urlParser.href = url; 64 urlParser.search = $.param( { 'plugin': 'loftloader-lite' } ); 65 url = urlParser.href; 66 previewer.scroll = 0; 67 onUrlChange = function() { 68 urlChanged = true; 69 }; 70 previewer.previewUrl.bind( onUrlChange ); 71 previewer.previewUrl.set( url ); 72 previewer.previewUrl.unbind( onUrlChange ); 73 if ( ! urlChanged ) { 74 previewer.refresh(); 75 } 76 } ); 77 if ( ! current_search['plugin'] ) { 78 current_search['plugin'] = 'loftloader-lite'; 79 current_url.search = $.param( current_search ); 80 api.previewer.previewUrl.set( current_url.href ); 81 } 82 56 83 57 84 // Init for loader 2.0 customizer, when sync from lower version -
loftloader/trunk/assets/js/customize.min.js
r2248622 r2358188 1 !function( r,n){function l(e){var t,o=r.get(),a=!!o[e]&&o[e];return"string"==typeof a&&(a=a.trim()),!0===(t=a)?"on":t}n("head").append(n("<style>",{id:"loftloader-hide-site-title",text:".site-title { opacity: 0; }"})),r.LoftLoaderSwitchSection=r.Section.extend({initialize:function(){return r.Section.prototype.initialize.apply(this,arguments)},ready:function(){this.container.find("input[name=loftloader-main-switch]").attr("checked")||n("#customize-theme-controls").addClass("loftloader-settings-disabled"),n("#customize-theme-controls").addClass("loftloader-controls-wrapper")},attachEvents:function(){var l=this.container;l.on("change","input[name=loftloader-main-switch]",function(e){var t=!!n(this).attr("checked"),o=l.find("#customize-control-loftloader_main_switch input[type=checkbox]"),a=n("#customize-theme-controls");t?o.attr("checked","checked"):o.removeAttr("checked"),o.trigger("change"),t?a.removeClass("loftloader-settings-disabled"):a.addClass("loftloader-settings-disabled")})}}),n.extend(r.sectionConstructor,{loftloader_switch:r.LoftLoaderSwitchSection}),r.controlConstructor.slider=r.Control.extend({ready:function(){var e=this.container.find(".loader-ui-slider"),o=this.container.find("input[data-customize-setting-link]");e.slider({range:"min",min:e.data("min"),max:e.data("max"),value:e.data("value"),step:e.data("step"),slide:function(e,t){o.val(t.value).trigger("change")}})}}),r.bind("ready",function(e){loftloader_lite_i18n&&n(".site-title").text(loftloader_lite_i18n.name),n("#loftloader-hide-site-title").remove();var t=r.get(),o=n("#customize-control-loftloader_custom_img");if(o.length&&!o.find(".attachment-thumb").length&&t&&t.loftloader_custom_img){var a=t.loftloader_custom_img;if(a){var l=o.find(".attachment-media-view").addClass("attachment-media-view-image"),i=n("<div>",{class:"thumbnail thumbnail-image"}).append(n("<img>",{class:"attachment-thumb",src:a}));l.children(".placeholder").css("display","none").after(i).remove()}}n("body").on("change","input[type=number]",function(e){var t=parseInt(n(this).val()),o=n(this).attr("min")?parseInt(n(this).attr("min")):1;t<o&&n(this).val(o).trigger("change")}).on("change","input.loftlader-checkbox",function(e){var t=!!n(this).attr("checked"),o=n(this).siblings("input");o.length&&(t?o.attr("checked","checked"):o.removeAttr("checked"),o.trigger("change"))}).on("click",".customize-more-toggle",function(e){e.preventDefault();var t=n(this),o=n(this).siblings(".customize-control-description");o.length&&(t.hasClass("expanded")?o.slideUp("slow"):o.slideDown("slow",function(){n(this).css("display","block")}),t.toggleClass("expanded"))}).on("click",".loftloader-any-page-generate",function(e){e.preventDefault();var t=r.loftloader_generate_parameters();n(this).siblings(".loftloader-any-page-shortcode").val("[loftloader "+t+"]").select()})}),r.loftloader_generate_parameters=function(){var e={loftloader_bg_color:{},loftloader_bg_opacity:{},loftloader_bg_animation:{},loftloader_loader_type:{sun:["loftloader_loader_color"],circles:["loftloader_loader_color"],wave:["loftloader_loader_color"],square:["loftloader_loader_color"],beating:["loftloader_loader_color"],frame:["loftloader_loader_color","loftloader_custom_img"],imgloading:["loftloader_custom_img","loftloader_img_width"]},loftloader_show_close_timer:{},loftloader_show_close_tip:{},loftloader_max_load_time:{},loftloader_inline_js:{}},t=type_value=loop="";if("on"===l("loftloader_main_switch"))for(var o in t="loftloader_main_switch=on loftloader_show_range=sitewide",e){switch(type_value=l(o),o){case"loftloader_show_close_tip":type_value=type_value?'"'+btoa(unescape(encodeURIComponent(type_value)))+'"':'""';case"loftloader_bg_color":case"loftloader_bg_opacity":case"loftloader_bg_animation":loop=[];break;case"loftloader_max_load_time":type_value=type_value||0;break;default:loop=e[o][type_value]?e[o][type_value]:[]}if(t+=" "+o+"="+type_value,loop)for(var a in loop)t+=" "+loop[a]+"="+l(loop[a])}else t="loftloader_main_switch=false";return t}}(wp.customize,jQuery);1 !function(s,c){function l(e){var t,o=s.get(),a=!!o[e]&&o[e];return"string"==typeof a&&(a=a.trim()),!0===(t=a)?"on":t}c("head").append(c("<style>",{id:"loftloader-hide-site-title",text:".site-title { opacity: 0; }"})),s.LoftLoaderSwitchSection=s.Section.extend({initialize:function(){return s.Section.prototype.initialize.apply(this,arguments)},ready:function(){this.container.find("input[name=loftloader-main-switch]").attr("checked")||c("#customize-theme-controls").addClass("loftloader-settings-disabled"),c("#customize-theme-controls").addClass("loftloader-controls-wrapper")},attachEvents:function(){var l=this.container;l.on("change","input[name=loftloader-main-switch]",function(e){var t=!!c(this).attr("checked"),o=l.find("#customize-control-loftloader_main_switch input[type=checkbox]"),a=c("#customize-theme-controls");t?o.attr("checked","checked"):o.removeAttr("checked"),o.trigger("change"),t?a.removeClass("loftloader-settings-disabled"):a.addClass("loftloader-settings-disabled")})}}),c.extend(s.sectionConstructor,{loftloader_switch:s.LoftLoaderSwitchSection}),s.controlConstructor.slider=s.Control.extend({ready:function(){var e=this.container.find(".loader-ui-slider"),o=this.container.find("input[data-customize-setting-link]");e.slider({range:"min",min:e.data("min"),max:e.data("max"),value:e.data("value"),step:e.data("step"),slide:function(e,t){o.val(t.value).trigger("change")}})}}),s.bind("ready",function(e){loftloader_lite_i18n&&c(".site-title").text(loftloader_lite_i18n.name),c("#loftloader-hide-site-title").remove();var t,o=document.createElement("a");o.href=s.previewer.previewUrl(),t=s.utils.parseQueryString(o.search.substr(1)),s.previewer.unbind("url").bind("url",function(e){var t,o=this,a=!1,l=document.createElement("a");l.href=e,l.search=c.param({plugin:"loftloader-lite"}),e=l.href,o.scroll=0,t=function(){a=!0},o.previewUrl.bind(t),o.previewUrl.set(e),o.previewUrl.unbind(t),a||o.refresh()}),t.plugin||(t.plugin="loftloader-lite",o.search=c.param(t),s.previewer.previewUrl.set(o.href));var a,l,i,r=s.get(),n=c("#customize-control-loftloader_custom_img");n.length&&!n.find(".attachment-thumb").length&&r&&r.loftloader_custom_img&&((a=r.loftloader_custom_img)&&(l=n.find(".attachment-media-view").addClass("attachment-media-view-image"),i=c("<div>",{class:"thumbnail thumbnail-image"}).append(c("<img>",{class:"attachment-thumb",src:a})),l.children(".placeholder").css("display","none").after(i).remove())),c("body").on("change","input[type=number]",function(e){var t=parseInt(c(this).val()),o=c(this).attr("min")?parseInt(c(this).attr("min")):1;t<o&&c(this).val(o).trigger("change")}).on("change","input.loftlader-checkbox",function(e){var t=!!c(this).attr("checked"),o=c(this).siblings("input");o.length&&(t?o.attr("checked","checked"):o.removeAttr("checked"),o.trigger("change"))}).on("click",".customize-more-toggle",function(e){e.preventDefault();var t=c(this),o=c(this).siblings(".customize-control-description");o.length&&(t.hasClass("expanded")?o.slideUp("slow"):o.slideDown("slow",function(){c(this).css("display","block")}),t.toggleClass("expanded"))}).on("click",".loftloader-any-page-generate",function(e){e.preventDefault();var t=s.loftloader_generate_parameters();c(this).siblings(".loftloader-any-page-shortcode").val("[loftloader "+t+"]").select()})}),s.loftloader_generate_parameters=function(){var e={loftloader_bg_color:{},loftloader_bg_opacity:{},loftloader_bg_animation:{},loftloader_loader_type:{sun:["loftloader_loader_color"],circles:["loftloader_loader_color"],wave:["loftloader_loader_color"],square:["loftloader_loader_color"],beating:["loftloader_loader_color"],frame:["loftloader_loader_color","loftloader_custom_img"],imgloading:["loftloader_custom_img","loftloader_img_width"]},loftloader_show_close_timer:{},loftloader_show_close_tip:{},loftloader_max_load_time:{},loftloader_inline_js:{}},t=type_value=loop="";if("on"===l("loftloader_main_switch"))for(var o in t="loftloader_main_switch=on loftloader_show_range=sitewide",e){switch(type_value=l(o),o){case"loftloader_show_close_tip":type_value=type_value?'"'+btoa(unescape(encodeURIComponent(type_value)))+'"':'""';case"loftloader_bg_color":case"loftloader_bg_opacity":case"loftloader_bg_animation":loop=[];break;case"loftloader_max_load_time":type_value=type_value||0;break;default:loop=e[o][type_value]?e[o][type_value]:[]}if(t+=" "+o+"="+type_value,loop)for(var a in loop)t+=" "+loop[a]+"="+l(loop[a])}else t="loftloader_main_switch=false";return t}}(wp.customize,jQuery); -
loftloader/trunk/assets/scss/loftloader-settings.scss
r2343460 r2358188 7 7 * Author URI: http://www.loftocean.com 8 8 * Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content. 9 * Version: 2.3. 09 * Version: 2.3.1 10 10 */ 11 11 … … 144 144 @include roundedcorner; 145 145 } 146 146 147 147 input[type="text"], 148 148 input[type="number"], -
loftloader/trunk/assets/scss/loftloader.scss
r2343460 r2358188 7 7 * Author URI: http://www.loftocean.com 8 8 * Description: LoftLoader (Lite Version) is a plugin for adding beautiful and smooth preload animation to your WordPress website. With setting options, you can choose from preset animations, add custom logo image, choose colours to match your branding, and amuse and impress your visitors while loading site content. 9 * Version: 2.3. 09 * Version: 2.3.1 10 10 */ 11 11 -
loftloader/trunk/inc/class-loftloader-front.php
r2343460 r2358188 302 302 } 303 303 /** 304 * Not show loader in builder and theme customizer 304 * Not show loader in builder and theme customizer 305 305 */ 306 306 protected function test_builder() { -
loftloader/trunk/languages/loftloader.pot
r2343460 r2358188 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: LoftLoader 2.3 \n"5 "Project-Id-Version: LoftLoader 2.3.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/loftloader\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2020-0 7-20T13:13:54+00:00\n"12 "POT-Creation-Date: 2020-08-12T02:52:10+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.4.0\n" -
loftloader/trunk/loftloader.php
r2343460 r2358188 4 4 Plugin URI: http://www.loftocean.com/ 5 5 Description: An easy to use plugin to add an animated preloader to your website with fully customisations. 6 Version: 2.3 6 Version: 2.3.1 7 7 Author: Loft.Ocean 8 8 Author URI: http://www.loftocean.com/ … … 33 33 define( 'LOFTLOADER_NAME', plugin_basename( __FILE__ ) ); 34 34 define( 'LOFTLOADER_URI', plugin_dir_url( __FILE__ ) ); 35 define( 'LOFTLOADER_ASSET_VERSION', '20200 72001' );35 define( 'LOFTLOADER_ASSET_VERSION', '2020081203' ); 36 36 37 37 class LoftLoader { -
loftloader/trunk/readme.txt
r2343460 r2358188 5 5 Requires at least: 4.7 6 6 Tested up to: 5.4 7 Stable tag: 2.3 7 Stable tag: 2.3.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 97 97 98 98 == Changelog == 99 = 2.3.1 = 100 * Fixed: The preview area is not displayed when setting the loader 101 99 102 = 2.3 = 100 103 * Improved: Hide loader when opening theme customizer
Note: See TracChangeset
for help on using the changeset viewer.