From 9c02ed491e3f37292377ed2dc50c86938a8e19ab Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Fri, 1 Sep 2017 20:16:06 -0400 Subject: Update wordpress-mobile-pack 3.1 Signed-off-by: Anthony G. Basile --- .../admin/class-admin-ajax.php | 32 +- .../admin/class-admin-init.php | 3 +- .../admin/js/UI.Modules/Theming/WMP_EDIT_IMAGES.js | 1319 +++++++------- .../js/UI.Modules/Theming/WMP_EDIT_IMAGES.min.js | 2 +- .../js/UI.Modules/Theming/WMP_SERVICE_WORKER.js | 195 +++ .../UI.Modules/Theming/WMP_SERVICE_WORKER.min.js | 1 + .../wordpress-mobile-pack/admin/pages/settings.php | 3 +- .../admin/pages/theme-settings.php | 59 +- plugins/wordpress-mobile-pack/admin/sass/config.rb | 21 - .../admin/sass/core/_buttons.scss | 110 -- .../admin/sass/core/_core.scss | 448 ----- .../admin/sass/core/_fonts.scss | 11 - .../admin/sass/core/_forms.scss | 409 ----- .../wordpress-mobile-pack/admin/sass/core/_ie.scss | 6 - .../admin/sass/core/_variables.scss | 102 -- .../admin/sass/fonts/WP Dashboard.json | 909 ---------- .../admin/sass/fonts/acorde-regular.eot | Bin 25550 -> 0 bytes .../admin/sass/fonts/acorde-regular.otf | Bin 142648 -> 0 bytes .../admin/sass/fonts/acorde-regular.svg | 1449 ---------------- .../admin/sass/fonts/acorde-regular.ttf | Bin 78548 -> 0 bytes .../admin/sass/fonts/acorde-regular.woff | Bin 28940 -> 0 bytes .../admin/sass/fonts/acorde-semibold.eot | Bin 26084 -> 0 bytes .../admin/sass/fonts/acorde-semibold.otf | Bin 140888 -> 0 bytes .../admin/sass/fonts/acorde-semibold.svg | 1522 ---------------- .../admin/sass/fonts/acorde-semibold.ttf | Bin 75088 -> 0 bytes .../admin/sass/fonts/acorde-semibold.woff | Bin 29404 -> 0 bytes .../admin/sass/fonts/ol-round-gothic-light.eot | Bin 15471 -> 0 bytes .../admin/sass/fonts/ol-round-gothic-light.otf | Bin 64032 -> 0 bytes .../admin/sass/fonts/ol-round-gothic-light.svg | 1021 ----------- .../admin/sass/fonts/ol-round-gothic-light.ttf | Bin 36324 -> 0 bytes .../admin/sass/fonts/ol-round-gothic-light.woff | Bin 17720 -> 0 bytes .../admin/sass/fonts/open-sans-regular.eot | Bin 21096 -> 0 bytes .../admin/sass/fonts/open-sans-regular.otf | Bin 54272 -> 0 bytes .../admin/sass/fonts/open-sans-regular.svg | 1825 -------------------- .../admin/sass/fonts/open-sans-regular.ttf | Bin 45112 -> 0 bytes .../admin/sass/fonts/open-sans-regular.woff | Bin 24728 -> 0 bytes .../admin/sass/fonts/opensans-italic.eot | Bin 23404 -> 0 bytes .../admin/sass/fonts/opensans-italic.svg | 1825 -------------------- .../admin/sass/fonts/opensans-italic.ttf | Bin 51188 -> 0 bytes .../admin/sass/fonts/opensans-italic.woff | Bin 27212 -> 0 bytes .../admin/sass/fonts/opensans-semibold.eot | Bin 21299 -> 0 bytes .../admin/sass/fonts/opensans-semibold.svg | 1825 -------------------- .../admin/sass/fonts/opensans-semibold.ttf | Bin 45160 -> 0 bytes .../admin/sass/fonts/opensans-semibold.woff | Bin 24912 -> 0 bytes .../admin/sass/fonts/wp-font.eot | Bin 7212 -> 0 bytes .../admin/sass/fonts/wp-font.svg | 39 - .../admin/sass/fonts/wp-font.ttf | Bin 7020 -> 0 bytes .../admin/sass/fonts/wp-font.woff | Bin 7096 -> 0 bytes .../wordpress-mobile-pack/admin/sass/general.scss | 34 - .../admin/sass/mixins/_display.scss | 154 -- .../admin/sass/mixins/_icon.scss | 59 - .../admin/sass/mixins/_mixins.scss | 115 -- .../admin/sass/modules/_content.scss | 398 ----- .../admin/sass/modules/_look-and-feel.scss | 287 --- .../admin/sass/modules/_perfect-scrollbar.scss | 128 -- .../admin/sass/modules/_pro.scss | 123 -- .../admin/sass/modules/_settings.scss | 40 - .../admin/sass/modules/_themes.scss | 275 --- .../admin/sass/modules/_whats-new.scss | 107 -- plugins/wordpress-mobile-pack/core/class-wmp.php | 28 +- plugins/wordpress-mobile-pack/core/config.php | 2 +- .../export/class-export-settings.php | 50 +- .../wordpress-mobile-pack/export/class-export.php | 43 +- .../frontend/class-application.php | 3 +- .../frontend/locales/bs_BA.json | 52 + .../frontend/locales/nl_NL.json | 2 +- .../frontend/themes/app1/template.php | 7 + .../frontend/themes/app2/template.php | 9 +- .../inc/class-wmp-formatter.php | 2 +- .../inc/class-wmp-options.php | 8 +- .../inc/class-wmp-uploads.php | 509 +++--- plugins/wordpress-mobile-pack/readme.txt | 10 +- plugins/wordpress-mobile-pack/sw.js | 5 + .../wordpress-mobile-pack.php | 6 +- 74 files changed, 1361 insertions(+), 14231 deletions(-) create mode 100755 plugins/wordpress-mobile-pack/admin/js/UI.Modules/Theming/WMP_SERVICE_WORKER.js create mode 100755 plugins/wordpress-mobile-pack/admin/js/UI.Modules/Theming/WMP_SERVICE_WORKER.min.js delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/config.rb delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/core/_buttons.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/core/_core.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/core/_fonts.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/core/_forms.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/core/_ie.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/core/_variables.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/WP Dashboard.json delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.eot delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.otf delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.svg delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.ttf delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.woff delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.eot delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.otf delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.svg delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.ttf delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.woff delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.eot delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.otf delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.svg delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.ttf delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.woff delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.eot delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.otf delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.svg delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.ttf delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.woff delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.eot delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.svg delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.ttf delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.woff delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.eot delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.svg delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.ttf delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.woff delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.eot delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.svg delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.ttf delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.woff delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/general.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/mixins/_display.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/mixins/_icon.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/mixins/_mixins.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/modules/_content.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/modules/_look-and-feel.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/modules/_perfect-scrollbar.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/modules/_pro.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/modules/_settings.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/modules/_themes.scss delete mode 100755 plugins/wordpress-mobile-pack/admin/sass/modules/_whats-new.scss create mode 100755 plugins/wordpress-mobile-pack/frontend/locales/bs_BA.json create mode 100755 plugins/wordpress-mobile-pack/sw.js diff --git a/plugins/wordpress-mobile-pack/admin/class-admin-ajax.php b/plugins/wordpress-mobile-pack/admin/class-admin-ajax.php index bf981416..ef29d790 100755 --- a/plugins/wordpress-mobile-pack/admin/class-admin-ajax.php +++ b/plugins/wordpress-mobile-pack/admin/class-admin-ajax.php @@ -457,7 +457,18 @@ if ( ! class_exists( 'WMobilePack_Admin_Ajax' ) ) { if (!is_wp_error($image)) { - $image_size = $image->get_size(); + $image_size = $image->get_size(); + + if ($file_type == 'icon') { + + foreach (WMobilePack_Uploads::$manifest_sizes as $manifest_size) { + + $manifest_image = wp_get_image_editor($file_path); + $manifest_image->resize($manifest_size, $manifest_size, true); + $manifest_image->save(WMP_FILES_UPLOADS_DIR . $manifest_size . $file_name); + } + + } // if the image exceeds the size limits if ($image_size['width'] > $arrMaximumSize['max_width'] || $image_size['height'] > $arrMaximumSize['max_height']) { @@ -482,7 +493,7 @@ if ( ! class_exists( 'WMobilePack_Admin_Ajax' ) ) { } return $copied_and_resized; - } + } /** @@ -499,8 +510,17 @@ if ( ! class_exists( 'WMobilePack_Admin_Ajax' ) ) { $previous_file_path = WMobilePack_Options::get_setting($file_type); // check the file exists and remove it - if ($previous_file_path != ''){ - $WMP_Uploads = $this->get_uploads_manager(); + if ($previous_file_path != '') { + $WMP_Uploads = $this->get_uploads_manager(); + + if ($file_type == 'icon') { + + foreach (WMobilePack_Uploads::$manifest_sizes as $manifest_size) { + $WMP_Uploads->remove_uploaded_file($manifest_size . $previous_file_path); + } + + } + return $WMP_Uploads->remove_uploaded_file($previous_file_path); } @@ -974,7 +994,7 @@ if ( ! class_exists( 'WMobilePack_Admin_Ajax' ) ) { } exit(); - } + } /** @@ -992,7 +1012,7 @@ if ( ! class_exists( 'WMobilePack_Admin_Ajax' ) ) { if (isset($_POST) && is_array($_POST) && !empty($_POST)) { // handle opt-ins settings - foreach (array('enable_facebook', 'enable_twitter', 'enable_google','allow_tracking', 'upgrade_notice_updated') as $option_name) { + foreach (array('enable_facebook', 'enable_twitter', 'enable_google','allow_tracking', 'upgrade_notice_updated', 'service_worker_installed') as $option_name) { if (isset($_POST['wmp_option_'.$option_name]) && $_POST['wmp_option_'.$option_name] != '' && is_numeric($_POST['wmp_option_'.$option_name])) { diff --git a/plugins/wordpress-mobile-pack/admin/class-admin-init.php b/plugins/wordpress-mobile-pack/admin/class-admin-init.php index 25ae8a62..ca6cc097 100755 --- a/plugins/wordpress-mobile-pack/admin/class-admin-init.php +++ b/plugins/wordpress-mobile-pack/admin/class-admin-init.php @@ -256,7 +256,8 @@ if ( ! class_exists( 'WMobilePack_Admin_Init' ) ) { wp_enqueue_script(WMobilePack_Options::$prefix.'js_theming_edittheme', plugins_url(WMP_DOMAIN.'/admin/js/UI.Modules/Theming/WMP_EDIT_THEME.min.js'), array('wp-color-picker'), WMP_VERSION); wp_enqueue_script(WMobilePack_Options::$prefix.'js_theming_editimages', plugins_url(WMP_DOMAIN.'/admin/js/UI.Modules/Theming/WMP_EDIT_IMAGES.min.js'), array(), WMP_VERSION); - wp_enqueue_script(WMobilePack_Options::$prefix.'js_theming_editcover', plugins_url(WMP_DOMAIN.'/admin/js/UI.Modules/Theming/WMP_EDIT_COVER.min.js'), array(), WMP_VERSION); + wp_enqueue_script(WMobilePack_Options::$prefix.'js_theming_editcover', plugins_url(WMP_DOMAIN.'/admin/js/UI.Modules/Theming/WMP_EDIT_COVER.min.js'), array(), WMP_VERSION); + wp_enqueue_script(WMobilePack_Options::$prefix.'js_service_worker', plugins_url(WMP_DOMAIN.'/admin/js/UI.Modules/Theming/WMP_SERVICE_WORKER.min.js'), array(), WMP_VERSION); } diff --git a/plugins/wordpress-mobile-pack/admin/js/UI.Modules/Theming/WMP_EDIT_IMAGES.js b/plugins/wordpress-mobile-pack/admin/js/UI.Modules/Theming/WMP_EDIT_IMAGES.js index 0c70e214..43e35f2e 100755 --- a/plugins/wordpress-mobile-pack/admin/js/UI.Modules/Theming/WMP_EDIT_IMAGES.js +++ b/plugins/wordpress-mobile-pack/admin/js/UI.Modules/Theming/WMP_EDIT_IMAGES.js @@ -1,657 +1,662 @@ -/*****************************************************************************************************/ -/* */ -/* 'EDIT APP ICON AND LOGO' */ -/* */ -/*****************************************************************************************************/ - -function WMP_EDIT_IMAGES(){ - - var JSObject = this; - - this.type = "wmp_editimages"; - - this.form; - this.DOMDoc; - - this.send_btn; - this.deletingIcon = false; - this.deletingLogo = false; - - - /*****************************************************************************************************/ - /* */ - /* FUNCTION INIT - called from WMPJSInterface */ - /* */ - /*****************************************************************************************************/ - this.init = function(){ - - // save a reference to WMPJSInterface Object - WMPJSInterface = window.parent.WMPJSInterface; - - // save a reference to "SEND" Button - this.send_btn = jQuery('#'+this.type+'_send_btn',this.DOMDoc).get(0); - - // save a reference to the FORM and remove the default submit action - this.form = this.DOMDoc.getElementById(this.type+'_form'); - - // add actions to send, cancel, ... buttons - this.addButtonsActions(); - - if (this.form == null){ - return; - } - - // custom validation for FORM's inputs - this.initValidation(); - } - - - - - /*****************************************************************************************************/ - /* */ - /* FUNCTION INIT VALIDATION */ - /* */ - /*****************************************************************************************************/ - this.initValidation = function(){ - - /*******************************************************/ - /* VALIDATION RULES */ - /*******************************************************/ - - // this is the object that handles the form validations - this.validator = jQuery("#"+this.form.id, this.DOMDoc).validate({ - - rules: { - wmp_editimages_icon : { - accept : "png|jpg|jpeg|gif" - }, - wmp_editimages_logo : { - accept : "png" - } - }, - - messages: { - wmp_editimages_icon : { - accept : "Please add a png, gif or jpeg image." - }, - wmp_editimages_logo: { - accept : "Please add a png image format with a transparent background.", - } - }, - - // the errorPlacement has to take the table layout into account - // all the errors must be handled by containers/divs with custom ids: Ex. "error_fullname_container" - errorPlacement: function(error, element) { - var split_name = element[0].id.split("_"); - var id = (split_name.length > 1) ? split_name[ split_name.length - 1] : split_name[0]; - var errorContainer = jQuery("#error_"+id+"_container",JSObject.DOMDoc); - error.appendTo( errorContainer ); - }, - - errorElement: 'span' - }); - - /*******************************************************/ - /* INPUT "ICON" */ - /*******************************************************/ - - // this is a hack for chrome and safari - var $Icon = jQuery('#'+this.type+'_icon',this.DOMDoc); - var $RemoveIconLink = jQuery('#'+this.type+'_icon_removenew',this.DOMDoc); - - $Icon.bind("change",function(){ - $Icon.focus(); - $Icon.blur(); - if (this.files[0]) - jQuery('#fakefileicon').val( this.files[0].name ); - $RemoveIconLink.css("display", "block"); - }); - - $RemoveIconLink.bind("click",function(){ - jQuery('#fakefileicon').val(""); - - $Icon.val(""); - jQuery(JSObject.form).validate().element( "#" + JSObject.type + "_icon" ); - - $RemoveIconLink.css("display", "none"); - }); - - /*******************************************************/ - /* EDIT ICON LINK */ - /*******************************************************/ - - // attach click functions for the edit icon link - var $EditIconLink = jQuery('.'+this.type+'_changeicon',this.DOMDoc); - if ($EditIconLink.length > 0){ - - $EditIconLink.click( - function(){ - - // if the file field is hidden - if (jQuery('.'+JSObject.type+'_uploadicon',JSObject.DOMDoc).css("display") == 'none') { - - // reset file field value - $Icon.val(""); - jQuery(JSObject.form).validate().element( "#" + JSObject.type + "_icon" ); - jQuery('#fakefileicon').val("") - - // hide the 'remove new icon' link - $RemoveIconLink.css("display", "none"); - - // show upload icon field - jQuery('.'+JSObject.type+'_uploadicon',JSObject.DOMDoc).show(); - - // show cancel button - if (jQuery('#'+JSObject.type+'_currenticon',JSObject.DOMDoc).attr("src") != "") - jQuery('.'+JSObject.type+'_changeicon_cancel',JSObject.DOMDoc).show(); - - // hide current icon - if (jQuery('.'+JSObject.type+'_iconcontainer',JSObject.DOMDoc).css("display") == 'block') - jQuery('.'+JSObject.type+'_iconcontainer',JSObject.DOMDoc).hide(); - } - } - ); - } - - /*******************************************************/ - /* CANCEL EDIT ICON LINK */ - /*******************************************************/ - - // attach click functions for the cancel edit icon link - var $CancelEditIconLink = jQuery('.'+this.type+'_changeicon_cancel a',this.DOMDoc); - if ($CancelEditIconLink.length > 0){ - - $CancelEditIconLink.click( - function(){ - - // if the file field is visible - if (jQuery('.'+JSObject.type+'_uploadicon',JSObject.DOMDoc).css("display") == 'block') { - - // reset file field value - $Icon.val(""); - jQuery(JSObject.form).validate().element( "#" + JSObject.type + "_icon" ); - jQuery('#fakefileicon').val("") - - // hide upload icon field - jQuery('.'+JSObject.type+'_uploadicon',JSObject.DOMDoc).hide(); - - // hide cancel button - jQuery(this).parent().hide(); - - // display current icon (if it exists) - if (jQuery('.'+JSObject.type+'_iconcontainer',JSObject.DOMDoc).css("display") == 'none' && - jQuery('#'+JSObject.type+'_currenticon',JSObject.DOMDoc).attr("src") != "") - - jQuery('.'+JSObject.type+'_iconcontainer',JSObject.DOMDoc).show(); - } - } - ); - } - - /*******************************************************/ - /* DELETE ICON LINK */ - /*******************************************************/ - - // attach click functions for the delete icon link - var $DeleteIconLink = jQuery('.'+this.type+'_deleteicon',this.DOMDoc); - - if ($DeleteIconLink.length > 0){ - - var href = $DeleteIconLink.get(0).href; - $DeleteIconLink.get(0).href = "javascript:void(0);" - - $DeleteIconLink.click( - function(){ - - var isConfirmed = confirm("This app icon is used when the app is added to the homescreen. Are you sure you want to remove it?"); - - if (isConfirmed) { - - jQuery.get( - ajaxurl, - { - 'action': 'wmp_theme_editimages', - 'type': 'delete', - 'source': 'icon' - }, - function(responseJSON){ - - var JSON = eval ("("+responseJSON+")"); - var response = Boolean(Number(String(JSON.status))); - - JSObject.deletingIcon = false; - - if (response == true) { - - // remove image url - jQuery('#'+JSObject.type+'_currenticon',JSObject.DOMDoc).attr("src", ""); - - // trigger the display of the upload field - $EditIconLink.trigger("click"); - - // success message - var message = 'The app icon has been removed.'; - WMPJSInterface.Loader.display({message: message}); - - } else { - - // error message - var message = 'There was an error. Please try again in few seconds.'; - WMPJSInterface.Loader.display({message: message}); - - } - } - ) - } - } - ); - } - - /*******************************************************/ - /* INPUT "LOGO" */ - /*******************************************************/ - - // this is a hack for chrome and safari - var $Logo = jQuery('#'+this.type+'_logo',this.DOMDoc); - var $RemoveLogoLink = jQuery('#'+this.type+'_logo_removenew',this.DOMDoc); - - $Logo.bind("change",function(){ - $Logo.focus(); - $Logo.blur(); - if (this.files[0]) - jQuery('#fakefilelogo').val( this.files[0].name ); - $RemoveLogoLink.css("display", "block"); - }); - - $RemoveLogoLink.bind("click",function(){ - jQuery('#fakefilelogo').val(""); - - $Logo.val(""); - jQuery(JSObject.form).validate().element( "#" + JSObject.type + "_logo" ); - - $RemoveLogoLink.css("display", "none"); - }); - - - /*******************************************************/ - /* EDIT LOGO LINK */ - /*******************************************************/ - - // attach click functions for the edit logo link - var $EditLogoLink = jQuery('.'+this.type+'_changelogo',this.DOMDoc); - if ($EditLogoLink.length > 0){ - - $EditLogoLink.click( - function(){ - - // if the file field is hidden - if (jQuery('.'+JSObject.type+'_uploadlogo',JSObject.DOMDoc).css("display") == 'none') { - - // reset file field value - $Logo.val(""); - jQuery(JSObject.form).validate().element( "#" + JSObject.type + "_logo" ); - jQuery('#fakefilelogo').val("") - - // hide the 'remove new logo' link - $RemoveLogoLink.css("display", "none"); - - // show upload logo field - jQuery('.'+JSObject.type+'_uploadlogo',JSObject.DOMDoc).show(); - - // show cancel button - if (jQuery('#'+JSObject.type+'_currentlogo',JSObject.DOMDoc).css("background-image") != "none") - jQuery('.'+JSObject.type+'_changelogo_cancel',JSObject.DOMDoc).show(); - - // hide current logo - if (jQuery('.'+JSObject.type+'_logocontainer',JSObject.DOMDoc).css("display") == 'block') - jQuery('.'+JSObject.type+'_logocontainer',JSObject.DOMDoc).hide(); - } - } - ); - } - - /*******************************************************/ - /* CANCEL EDIT LOGO LINK */ - /*******************************************************/ - - // attach click functions for the cancel edit logo link - var $CancelEditLogoLink = jQuery('.'+this.type+'_changelogo_cancel a',this.DOMDoc); - if ($CancelEditLogoLink.length > 0){ - - $CancelEditLogoLink.click( - function(){ - - // if the file field is visible - if (jQuery('.'+JSObject.type+'_uploadlogo',JSObject.DOMDoc).css("display") == 'block') { - - // reset file field value - $Logo.val(""); - jQuery(JSObject.form).validate().element( "#" + JSObject.type + "_logo" ); - jQuery('#fakefilelogo').val("") - - // hide upload logo field - jQuery('.'+JSObject.type+'_uploadlogo',JSObject.DOMDoc).hide(); - - // hide cancel button - jQuery(this).parent().hide(); - - // display current logo (if it exists) - if (jQuery('.'+JSObject.type+'_logocontainer',JSObject.DOMDoc).css("display") == 'none' && - jQuery('#'+JSObject.type+'_currentlogo',JSObject.DOMDoc).css("background-image") != "none") - - jQuery('.'+JSObject.type+'_logocontainer',JSObject.DOMDoc).show(); - } - } - ); - } - - /*******************************************************/ - /* DELETE LOGO LINK */ - /*******************************************************/ - - // attach click functions for the delete logo link - var $DeleteLogoLink = jQuery('.'+this.type+'_deletelogo',this.DOMDoc); - - if ($DeleteLogoLink.length > 0){ - - var href = $DeleteLogoLink.get(0).href; - $DeleteLogoLink.get(0).href = "javascript:void(0);" - - $DeleteLogoLink.click( - function(){ - - var isConfirmed = confirm("This app logo is used on the cover of your app. Are you sure you want to remove it?"); - - if (isConfirmed) { - - jQuery.get( - ajaxurl, - { - 'action': 'wmp_theme_editimages', - 'type': 'delete', - 'source': 'logo' - }, - function(responseJSON){ - - var JSON = eval ("("+responseJSON+")"); - var response = Boolean(Number(String(JSON.status))); - - JSObject.deletingIcon = false; - - if (response == true) { - - // remove image url - jQuery('#'+JSObject.type+'_currentlogo',JSObject.DOMDoc).css("background-image", "none"); - - // trigger the display of the upload field - $EditLogoLink.trigger("click"); - - // success message - var message = 'The app logo has been removed.'; - WMPJSInterface.Loader.display({message: message}); - - } else { - - // error message - var message = 'There was an error. Please try again in few seconds.'; - WMPJSInterface.Loader.display({message: message}); - - } - } - ) - } - } - ); - } - } - - /*****************************************************************************************************/ - /* */ - /* FUNCTION DISPLAY NEW IMAGE */ - /* */ - /*****************************************************************************************************/ - this.displayImage = function(type, path){ - - if (type == 'icon') { - - // reset file field value - jQuery('#'+JSObject.type+'_icon',JSObject.DOMDoc).val(""); - jQuery('#fakefileicon').val("") - - // hide upload icon field - jQuery('.'+JSObject.type+'_uploadicon',JSObject.DOMDoc).hide(); - - // hide cancel button - jQuery('.'+JSObject.type+'_changeicon_cancel',JSObject.DOMDoc).hide(); - - // add new path in the src attribute - jQuery('#'+JSObject.type+'_currenticon',JSObject.DOMDoc).attr("src", path); - - // display image container - jQuery('.'+JSObject.type+'_iconcontainer',JSObject.DOMDoc).css("display", "block"); - - } else if (type == 'logo') { - - // reset file field value - jQuery('#'+JSObject.type+'_logo',JSObject.DOMDoc).val(""); - jQuery('#fakefilelogo').val("") - - // hide upload logo field - jQuery('.'+JSObject.type+'_uploadlogo',JSObject.DOMDoc).hide(); - - // hide cancel button - jQuery('.'+JSObject.type+'_changelogo_cancel',JSObject.DOMDoc).hide(); - - // add new path in the src attribute - jQuery('#'+JSObject.type+'_currentlogo',JSObject.DOMDoc).css("background-image", "url("+path+")"); - - // display image container - jQuery('.'+JSObject.type+'_logocontainer',JSObject.DOMDoc).css("display", "block"); - } - - } - - /*****************************************************************************************************/ - /* */ - /* FUNCTION ADD BUTTONS ACTIONS */ - /* */ - /*****************************************************************************************************/ - this.addButtonsActions = function(){ - - /*******************************************************/ - /* SEND "BUTTON" */ - /*******************************************************/ - jQuery(this.send_btn).unbind("click"); - jQuery(this.send_btn).bind("click",function(){ - JSObject.disableButton(this); - JSObject.validate(); - }) - JSObject.enableButton(this.send_btn); - - } - - - /*****************************************************************************************************/ - /* */ - /* FUNCTION ENABLE BUTTON */ - /* */ - /*****************************************************************************************************/ - this.enableButton = function(btn){ - jQuery(btn).css('cursor','pointer'); - jQuery(btn).animate({opacity:1},100); - } - - - /*****************************************************************************************************/ - /* */ - /* FUNCTION DISABLE BUTTON */ - /* */ - /*****************************************************************************************************/ - this.disableButton = function(btn){ - jQuery(btn).unbind("click"); - jQuery(btn).animate({opacity:0.4},100); - jQuery(btn).css('cursor','default'); - } - - - /*****************************************************************************************************/ - /* */ - /* FUNCTION SCROLL TO FIRST ERROR */ - /* */ - /*****************************************************************************************************/ - this.scrollToError = function(yCoord){ - - var container = jQuery('html,body', JSObject.DOMDoc); - var scrollTop = parseInt(jQuery('html,body').scrollTop()) || parseInt(jQuery('body').scrollTop()); - var containerHeight = container.get(0).clientHeight; - var top = parseInt(container.offset().top); - - if (yCoord < scrollTop){ - jQuery(container).animate({scrollTop: yCoord-20 }, 1000); - } - else if (yCoord > scrollTop + containerHeight){ - jQuery(container).animate({scrollTop: scrollTop + containerHeight }, 1000); - } - } - - - /*****************************************************************************************************/ - /* */ - /* FUNCTION VALIDATE INFORMATION */ - /* */ - /*****************************************************************************************************/ - this.validate = function(){ - jQuery(this.form).validate().form(); - - // y coordinates of error inputs - var arr_errorsYCoord = []; - - // find the y coordinate for the errors - for (var name in this.validator.invalid){ - var $input = jQuery(this.form[name]); - arr_errorsYCoord.push($input.offset().top); - } - - // if there are no errors from syntax point of view, then send data - if (arr_errorsYCoord.length == 0){ - this.sendData(); - } - //move container(div) scroll to the first error - else{ - arr_errorsYCoord.sort(function(a, b){ return (a-b); }); - JSObject.scrollToError(arr_errorsYCoord[0]); - - // add actions to send, cancel, ... buttons. At this moment the buttons are disabled. - JSObject.addButtonsActions(); - } - } - - - /*****************************************************************************************************/ - /* */ - /* FUNCTION SUBMIT FORM THROUGH an IFRAME as target */ - /* */ - /*****************************************************************************************************/ - this.submitForm = function(){ - return WMPJSInterface.AjaxUpload.dosubmit(JSObject.form, {'onStart' : JSObject.startUploadingData, 'onComplete' : JSObject.completeUploadingData}); - } - - - /*****************************************************************************************************/ - /* */ - /* FUNCTION SEND DATA */ - /* */ - /*****************************************************************************************************/ - this.sendData = function(){ - - jQuery("#"+this.form.id,this.DOMDoc).unbind("submit"); - jQuery("#"+this.form.id,this.DOMDoc).bind("submit",function(){JSObject.submitForm();}); - jQuery("#"+this.form.id,this.DOMDoc).submit(); - - JSObject.disableButton(JSObject.send_btn); - } - - - /*****************************************************************************************************/ - /* */ - /* FUNCTION START UPLOADING DATA */ - /* */ - /*****************************************************************************************************/ - this.startUploadingData = function(){ - - WMPJSInterface.Preloader.start(); - - //disable form elements - setTimeout(function(){ - var aElems = JSObject.form.elements; - nElems = aElems.length; - - for (j=0; j 1) ? split_name[ split_name.length - 1] : split_name[0]; + var errorContainer = jQuery("#error_"+id+"_container",JSObject.DOMDoc); + error.appendTo( errorContainer ); + }, + + errorElement: 'span' + }); + + /*******************************************************/ + /* INPUT "ICON" */ + /*******************************************************/ + + // this is a hack for chrome and safari + var $Icon = jQuery('#'+this.type+'_icon',this.DOMDoc); + var $RemoveIconLink = jQuery('#'+this.type+'_icon_removenew',this.DOMDoc); + + $Icon.bind("change",function(){ + $Icon.focus(); + $Icon.blur(); + if (this.files[0]) + jQuery('#fakefileicon').val( this.files[0].name ); + $RemoveIconLink.css("display", "block"); + }); + + $RemoveIconLink.bind("click",function(){ + jQuery('#fakefileicon').val(""); + + $Icon.val(""); + jQuery(JSObject.form).validate().element( "#" + JSObject.type + "_icon" ); + + $RemoveIconLink.css("display", "none"); + }); + + /*******************************************************/ + /* EDIT ICON LINK */ + /*******************************************************/ + + // attach click functions for the edit icon link + var $EditIconLink = jQuery('.'+this.type+'_changeicon',this.DOMDoc); + if ($EditIconLink.length > 0){ + + $EditIconLink.click( + function(){ + + // if the file field is hidden + if (jQuery('.'+JSObject.type+'_uploadicon',JSObject.DOMDoc).css("display") == 'none') { + + // reset file field value + $Icon.val(""); + jQuery(JSObject.form).validate().element( "#" + JSObject.type + "_icon" ); + jQuery('#fakefileicon').val("") + + // hide the 'remove new icon' link + $RemoveIconLink.css("display", "none"); + + // show upload icon field + jQuery('.'+JSObject.type+'_uploadicon',JSObject.DOMDoc).show(); + + // show cancel button + if (jQuery('#'+JSObject.type+'_currenticon',JSObject.DOMDoc).attr("src") != "") + jQuery('.'+JSObject.type+'_changeicon_cancel',JSObject.DOMDoc).show(); + + // hide current icon + if (jQuery('.'+JSObject.type+'_iconcontainer',JSObject.DOMDoc).css("display") == 'block') + jQuery('.'+JSObject.type+'_iconcontainer',JSObject.DOMDoc).hide(); + } + } + ); + } + + /*******************************************************/ + /* CANCEL EDIT ICON LINK */ + /*******************************************************/ + + // attach click functions for the cancel edit icon link + var $CancelEditIconLink = jQuery('.'+this.type+'_changeicon_cancel a',this.DOMDoc); + if ($CancelEditIconLink.length > 0){ + + $CancelEditIconLink.click( + function(){ + + // if the file field is visible + if (jQuery('.'+JSObject.type+'_uploadicon',JSObject.DOMDoc).css("display") == 'block') { + + // reset file field value + $Icon.val(""); + jQuery(JSObject.form).validate().element( "#" + JSObject.type + "_icon" ); + jQuery('#fakefileicon').val("") + + // hide upload icon field + jQuery('.'+JSObject.type+'_uploadicon',JSObject.DOMDoc).hide(); + + // hide cancel button + jQuery(this).parent().hide(); + + // display current icon (if it exists) + if (jQuery('.'+JSObject.type+'_iconcontainer',JSObject.DOMDoc).css("display") == 'none' && + jQuery('#'+JSObject.type+'_currenticon',JSObject.DOMDoc).attr("src") != "") + + jQuery('.'+JSObject.type+'_iconcontainer',JSObject.DOMDoc).show(); + } + } + ); + } + + /*******************************************************/ + /* DELETE ICON LINK */ + /*******************************************************/ + + // attach click functions for the delete icon link + var $DeleteIconLink = jQuery('.'+this.type+'_deleteicon',this.DOMDoc); + + if ($DeleteIconLink.length > 0){ + + var href = $DeleteIconLink.get(0).href; + $DeleteIconLink.get(0).href = "javascript:void(0);" + + $DeleteIconLink.click( + function(){ + + var isConfirmed = confirm("This app icon is used when the app is added to the homescreen. Are you sure you want to remove it?"); + + if (isConfirmed) { + + jQuery.get( + ajaxurl, + { + 'action': 'wmp_theme_editimages', + 'type': 'delete', + 'source': 'icon' + }, + function(responseJSON){ + + var JSON = eval ("("+responseJSON+")"); + var response = Boolean(Number(String(JSON.status))); + + JSObject.deletingIcon = false; + + if (response == true) { + + // remove image url + jQuery('#'+JSObject.type+'_currenticon',JSObject.DOMDoc).attr("src", ""); + + // trigger the display of the upload field + $EditIconLink.trigger("click"); + + // success message + var message = 'The app icon has been removed.'; + WMPJSInterface.Loader.display({message: message}); + + } else { + + // error message + var message = 'There was an error. Please try again in few seconds.'; + WMPJSInterface.Loader.display({message: message}); + + } + } + ) + } + } + ); + } + + /*******************************************************/ + /* INPUT "LOGO" */ + /*******************************************************/ + + // this is a hack for chrome and safari + var $Logo = jQuery('#'+this.type+'_logo',this.DOMDoc); + var $RemoveLogoLink = jQuery('#'+this.type+'_logo_removenew',this.DOMDoc); + + $Logo.bind("change",function(){ + $Logo.focus(); + $Logo.blur(); + if (this.files[0]) + jQuery('#fakefilelogo').val( this.files[0].name ); + $RemoveLogoLink.css("display", "block"); + }); + + $RemoveLogoLink.bind("click",function(){ + jQuery('#fakefilelogo').val(""); + + $Logo.val(""); + jQuery(JSObject.form).validate().element( "#" + JSObject.type + "_logo" ); + + $RemoveLogoLink.css("display", "none"); + }); + + + /*******************************************************/ + /* EDIT LOGO LINK */ + /*******************************************************/ + + // attach click functions for the edit logo link + var $EditLogoLink = jQuery('.'+this.type+'_changelogo',this.DOMDoc); + if ($EditLogoLink.length > 0){ + + $EditLogoLink.click( + function(){ + + // if the file field is hidden + if (jQuery('.'+JSObject.type+'_uploadlogo',JSObject.DOMDoc).css("display") == 'none') { + + // reset file field value + $Logo.val(""); + jQuery(JSObject.form).validate().element( "#" + JSObject.type + "_logo" ); + jQuery('#fakefilelogo').val("") + + // hide the 'remove new logo' link + $RemoveLogoLink.css("display", "none"); + + // show upload logo field + jQuery('.'+JSObject.type+'_uploadlogo',JSObject.DOMDoc).show(); + + // show cancel button + if (jQuery('#'+JSObject.type+'_currentlogo',JSObject.DOMDoc).css("background-image") != "none") + jQuery('.'+JSObject.type+'_changelogo_cancel',JSObject.DOMDoc).show(); + + // hide current logo + if (jQuery('.'+JSObject.type+'_logocontainer',JSObject.DOMDoc).css("display") == 'block') + jQuery('.'+JSObject.type+'_logocontainer',JSObject.DOMDoc).hide(); + } + } + ); + } + + /*******************************************************/ + /* CANCEL EDIT LOGO LINK */ + /*******************************************************/ + + // attach click functions for the cancel edit logo link + var $CancelEditLogoLink = jQuery('.'+this.type+'_changelogo_cancel a',this.DOMDoc); + if ($CancelEditLogoLink.length > 0){ + + $CancelEditLogoLink.click( + function(){ + + // if the file field is visible + if (jQuery('.'+JSObject.type+'_uploadlogo',JSObject.DOMDoc).css("display") == 'block') { + + // reset file field value + $Logo.val(""); + jQuery(JSObject.form).validate().element( "#" + JSObject.type + "_logo" ); + jQuery('#fakefilelogo').val("") + + // hide upload logo field + jQuery('.'+JSObject.type+'_uploadlogo',JSObject.DOMDoc).hide(); + + // hide cancel button + jQuery(this).parent().hide(); + + // display current logo (if it exists) + if (jQuery('.'+JSObject.type+'_logocontainer',JSObject.DOMDoc).css("display") == 'none' && + jQuery('#'+JSObject.type+'_currentlogo',JSObject.DOMDoc).css("background-image") != "none") + + jQuery('.'+JSObject.type+'_logocontainer',JSObject.DOMDoc).show(); + } + } + ); + } + + /*******************************************************/ + /* DELETE LOGO LINK */ + /*******************************************************/ + + // attach click functions for the delete logo link + var $DeleteLogoLink = jQuery('.'+this.type+'_deletelogo',this.DOMDoc); + + if ($DeleteLogoLink.length > 0){ + + var href = $DeleteLogoLink.get(0).href; + $DeleteLogoLink.get(0).href = "javascript:void(0);" + + $DeleteLogoLink.click( + function(){ + + var isConfirmed = confirm("This app logo is used on the cover of your app. Are you sure you want to remove it?"); + + if (isConfirmed) { + + jQuery.get( + ajaxurl, + { + 'action': 'wmp_theme_editimages', + 'type': 'delete', + 'source': 'logo' + }, + function(responseJSON){ + + var JSON = eval ("("+responseJSON+")"); + var response = Boolean(Number(String(JSON.status))); + + JSObject.deletingIcon = false; + + if (response == true) { + + // remove image url + jQuery('#'+JSObject.type+'_currentlogo',JSObject.DOMDoc).css("background-image", "none"); + + // trigger the display of the upload field + $EditLogoLink.trigger("click"); + + // success message + var message = 'The app logo has been removed.'; + WMPJSInterface.Loader.display({message: message}); + + } else { + + // error message + var message = 'There was an error. Please try again in few seconds.'; + WMPJSInterface.Loader.display({message: message}); + + } + } + ) + } + } + ); + } + } + + /*****************************************************************************************************/ + /* */ + /* FUNCTION DISPLAY NEW IMAGE */ + /* */ + /*****************************************************************************************************/ + this.displayImage = function(type, path){ + + if (type == 'icon') { + + // reset file field value + jQuery('#'+JSObject.type+'_icon',JSObject.DOMDoc).val(""); + jQuery('#fakefileicon').val("") + + // hide upload icon field + jQuery('.'+JSObject.type+'_uploadicon',JSObject.DOMDoc).hide(); + + // hide cancel button + jQuery('.'+JSObject.type+'_changeicon_cancel',JSObject.DOMDoc).hide(); + + // add new path in the src attribute + jQuery('#'+JSObject.type+'_currenticon',JSObject.DOMDoc).attr("src", path); + + // display image container + jQuery('.'+JSObject.type+'_iconcontainer',JSObject.DOMDoc).css("display", "block"); + + } else if (type == 'logo') { + + // reset file field value + jQuery('#'+JSObject.type+'_logo',JSObject.DOMDoc).val(""); + jQuery('#fakefilelogo').val("") + + // hide upload logo field + jQuery('.'+JSObject.type+'_uploadlogo',JSObject.DOMDoc).hide(); + + // hide cancel button + jQuery('.'+JSObject.type+'_changelogo_cancel',JSObject.DOMDoc).hide(); + + // add new path in the src attribute + jQuery('#'+JSObject.type+'_currentlogo',JSObject.DOMDoc).css("background-image", "url("+path+")"); + + // display image container + jQuery('.'+JSObject.type+'_logocontainer',JSObject.DOMDoc).css("display", "block"); + } + + } + + /*****************************************************************************************************/ + /* */ + /* FUNCTION ADD BUTTONS ACTIONS */ + /* */ + /*****************************************************************************************************/ + this.addButtonsActions = function(){ + + /*******************************************************/ + /* SEND "BUTTON" */ + /*******************************************************/ + jQuery(this.send_btn).unbind("click"); + jQuery(this.send_btn).bind("click",function(){ + JSObject.disableButton(this); + JSObject.validate(); + }) + JSObject.enableButton(this.send_btn); + + // close button action for the inactive categories warning + jQuery( '#' + JSObject.type + '_warning a.close-x', JSObject.DOMDoc).on('click', function(){ + jQuery('#'+JSObject.type+'_warning', JSObject.DOMDoc).hide(); + }); + + } + + + /*****************************************************************************************************/ + /* */ + /* FUNCTION ENABLE BUTTON */ + /* */ + /*****************************************************************************************************/ + this.enableButton = function(btn){ + jQuery(btn).css('cursor','pointer'); + jQuery(btn).animate({opacity:1},100); + } + + + /*****************************************************************************************************/ + /* */ + /* FUNCTION DISABLE BUTTON */ + /* */ + /*****************************************************************************************************/ + this.disableButton = function(btn){ + jQuery(btn).unbind("click"); + jQuery(btn).animate({opacity:0.4},100); + jQuery(btn).css('cursor','default'); + } + + + /*****************************************************************************************************/ + /* */ + /* FUNCTION SCROLL TO FIRST ERROR */ + /* */ + /*****************************************************************************************************/ + this.scrollToError = function(yCoord){ + + var container = jQuery('html,body', JSObject.DOMDoc); + var scrollTop = parseInt(jQuery('html,body').scrollTop()) || parseInt(jQuery('body').scrollTop()); + var containerHeight = container.get(0).clientHeight; + var top = parseInt(container.offset().top); + + if (yCoord < scrollTop){ + jQuery(container).animate({scrollTop: yCoord-20 }, 1000); + } + else if (yCoord > scrollTop + containerHeight){ + jQuery(container).animate({scrollTop: scrollTop + containerHeight }, 1000); + } + } + + + /*****************************************************************************************************/ + /* */ + /* FUNCTION VALIDATE INFORMATION */ + /* */ + /*****************************************************************************************************/ + this.validate = function(){ + jQuery(this.form).validate().form(); + + // y coordinates of error inputs + var arr_errorsYCoord = []; + + // find the y coordinate for the errors + for (var name in this.validator.invalid){ + var $input = jQuery(this.form[name]); + arr_errorsYCoord.push($input.offset().top); + } + + // if there are no errors from syntax point of view, then send data + if (arr_errorsYCoord.length == 0){ + this.sendData(); + } + //move container(div) scroll to the first error + else{ + arr_errorsYCoord.sort(function(a, b){ return (a-b); }); + JSObject.scrollToError(arr_errorsYCoord[0]); + + // add actions to send, cancel, ... buttons. At this moment the buttons are disabled. + JSObject.addButtonsActions(); + } + } + + + /*****************************************************************************************************/ + /* */ + /* FUNCTION SUBMIT FORM THROUGH an IFRAME as target */ + /* */ + /*****************************************************************************************************/ + this.submitForm = function(){ + return WMPJSInterface.AjaxUpload.dosubmit(JSObject.form, {'onStart' : JSObject.startUploadingData, 'onComplete' : JSObject.completeUploadingData}); + } + + + /*****************************************************************************************************/ + /* */ + /* FUNCTION SEND DATA */ + /* */ + /*****************************************************************************************************/ + this.sendData = function(){ + + jQuery("#"+this.form.id,this.DOMDoc).unbind("submit"); + jQuery("#"+this.form.id,this.DOMDoc).bind("submit",function(){JSObject.submitForm();}); + jQuery("#"+this.form.id,this.DOMDoc).submit(); + + JSObject.disableButton(JSObject.send_btn); + } + + + /*****************************************************************************************************/ + /* */ + /* FUNCTION START UPLOADING DATA */ + /* */ + /*****************************************************************************************************/ + this.startUploadingData = function(){ + + WMPJSInterface.Preloader.start(); + + //disable form elements + setTimeout(function(){ + var aElems = JSObject.form.elements; + nElems = aElems.length; + + for (j=0; j1?o[o.length-1]:o[0],n=jQuery("#error_"+c+"_container",JSObject.DOMDoc);e.appendTo(n)},errorElement:"span"});var $Icon=jQuery("#"+this.type+"_icon",this.DOMDoc),$RemoveIconLink=jQuery("#"+this.type+"_icon_removenew",this.DOMDoc);$Icon.bind("change",function(){$Icon.focus(),$Icon.blur(),this.files[0]&&jQuery("#fakefileicon").val(this.files[0].name),$RemoveIconLink.css("display","block")}),$RemoveIconLink.bind("click",function(){jQuery("#fakefileicon").val(""),$Icon.val(""),jQuery(JSObject.form).validate().element("#"+JSObject.type+"_icon"),$RemoveIconLink.css("display","none")});var $EditIconLink=jQuery("."+this.type+"_changeicon",this.DOMDoc);$EditIconLink.length>0&&$EditIconLink.click(function(){"none"==jQuery("."+JSObject.type+"_uploadicon",JSObject.DOMDoc).css("display")&&($Icon.val(""),jQuery(JSObject.form).validate().element("#"+JSObject.type+"_icon"),jQuery("#fakefileicon").val(""),$RemoveIconLink.css("display","none"),jQuery("."+JSObject.type+"_uploadicon",JSObject.DOMDoc).show(),""!=jQuery("#"+JSObject.type+"_currenticon",JSObject.DOMDoc).attr("src")&&jQuery("."+JSObject.type+"_changeicon_cancel",JSObject.DOMDoc).show(),"block"==jQuery("."+JSObject.type+"_iconcontainer",JSObject.DOMDoc).css("display")&&jQuery("."+JSObject.type+"_iconcontainer",JSObject.DOMDoc).hide())});var $CancelEditIconLink=jQuery("."+this.type+"_changeicon_cancel a",this.DOMDoc);$CancelEditIconLink.length>0&&$CancelEditIconLink.click(function(){"block"==jQuery("."+JSObject.type+"_uploadicon",JSObject.DOMDoc).css("display")&&($Icon.val(""),jQuery(JSObject.form).validate().element("#"+JSObject.type+"_icon"),jQuery("#fakefileicon").val(""),jQuery("."+JSObject.type+"_uploadicon",JSObject.DOMDoc).hide(),jQuery(this).parent().hide(),"none"==jQuery("."+JSObject.type+"_iconcontainer",JSObject.DOMDoc).css("display")&&""!=jQuery("#"+JSObject.type+"_currenticon",JSObject.DOMDoc).attr("src")&&jQuery("."+JSObject.type+"_iconcontainer",JSObject.DOMDoc).show())});var $DeleteIconLink=jQuery("."+this.type+"_deleteicon",this.DOMDoc);if($DeleteIconLink.length>0){var href=$DeleteIconLink.get(0).href;$DeleteIconLink.get(0).href="javascript:void(0);",$DeleteIconLink.click(function(){var isConfirmed=confirm("This app icon is used when the app is added to the homescreen. Are you sure you want to remove it?");isConfirmed&&jQuery.get(ajaxurl,{action:"wmp_theme_editimages",type:"delete",source:"icon"},function(responseJSON){var JSON=eval("("+responseJSON+")"),response=Boolean(Number(String(JSON.status)));if(JSObject.deletingIcon=!1,1==response){jQuery("#"+JSObject.type+"_currenticon",JSObject.DOMDoc).attr("src",""),$EditIconLink.trigger("click");var message="The app icon has been removed.";WMPJSInterface.Loader.display({message:message})}else{var message="There was an error. Please try again in few seconds.";WMPJSInterface.Loader.display({message:message})}})})}var $Logo=jQuery("#"+this.type+"_logo",this.DOMDoc),$RemoveLogoLink=jQuery("#"+this.type+"_logo_removenew",this.DOMDoc);$Logo.bind("change",function(){$Logo.focus(),$Logo.blur(),this.files[0]&&jQuery("#fakefilelogo").val(this.files[0].name),$RemoveLogoLink.css("display","block")}),$RemoveLogoLink.bind("click",function(){jQuery("#fakefilelogo").val(""),$Logo.val(""),jQuery(JSObject.form).validate().element("#"+JSObject.type+"_logo"),$RemoveLogoLink.css("display","none")});var $EditLogoLink=jQuery("."+this.type+"_changelogo",this.DOMDoc);$EditLogoLink.length>0&&$EditLogoLink.click(function(){"none"==jQuery("."+JSObject.type+"_uploadlogo",JSObject.DOMDoc).css("display")&&($Logo.val(""),jQuery(JSObject.form).validate().element("#"+JSObject.type+"_logo"),jQuery("#fakefilelogo").val(""),$RemoveLogoLink.css("display","none"),jQuery("."+JSObject.type+"_uploadlogo",JSObject.DOMDoc).show(),"none"!=jQuery("#"+JSObject.type+"_currentlogo",JSObject.DOMDoc).css("background-image")&&jQuery("."+JSObject.type+"_changelogo_cancel",JSObject.DOMDoc).show(),"block"==jQuery("."+JSObject.type+"_logocontainer",JSObject.DOMDoc).css("display")&&jQuery("."+JSObject.type+"_logocontainer",JSObject.DOMDoc).hide())});var $CancelEditLogoLink=jQuery("."+this.type+"_changelogo_cancel a",this.DOMDoc);$CancelEditLogoLink.length>0&&$CancelEditLogoLink.click(function(){"block"==jQuery("."+JSObject.type+"_uploadlogo",JSObject.DOMDoc).css("display")&&($Logo.val(""),jQuery(JSObject.form).validate().element("#"+JSObject.type+"_logo"),jQuery("#fakefilelogo").val(""),jQuery("."+JSObject.type+"_uploadlogo",JSObject.DOMDoc).hide(),jQuery(this).parent().hide(),"none"==jQuery("."+JSObject.type+"_logocontainer",JSObject.DOMDoc).css("display")&&"none"!=jQuery("#"+JSObject.type+"_currentlogo",JSObject.DOMDoc).css("background-image")&&jQuery("."+JSObject.type+"_logocontainer",JSObject.DOMDoc).show())});var $DeleteLogoLink=jQuery("."+this.type+"_deletelogo",this.DOMDoc);if($DeleteLogoLink.length>0){var href=$DeleteLogoLink.get(0).href;$DeleteLogoLink.get(0).href="javascript:void(0);",$DeleteLogoLink.click(function(){var isConfirmed=confirm("This app logo is used on the cover of your app. Are you sure you want to remove it?");isConfirmed&&jQuery.get(ajaxurl,{action:"wmp_theme_editimages",type:"delete",source:"logo"},function(responseJSON){var JSON=eval("("+responseJSON+")"),response=Boolean(Number(String(JSON.status)));if(JSObject.deletingIcon=!1,1==response){jQuery("#"+JSObject.type+"_currentlogo",JSObject.DOMDoc).css("background-image","none"),$EditLogoLink.trigger("click");var message="The app logo has been removed.";WMPJSInterface.Loader.display({message:message})}else{var message="There was an error. Please try again in few seconds.";WMPJSInterface.Loader.display({message:message})}})})}},this.displayImage=function(e,t){"icon"==e?(jQuery("#"+JSObject.type+"_icon",JSObject.DOMDoc).val(""),jQuery("#fakefileicon").val(""),jQuery("."+JSObject.type+"_uploadicon",JSObject.DOMDoc).hide(),jQuery("."+JSObject.type+"_changeicon_cancel",JSObject.DOMDoc).hide(),jQuery("#"+JSObject.type+"_currenticon",JSObject.DOMDoc).attr("src",t),jQuery("."+JSObject.type+"_iconcontainer",JSObject.DOMDoc).css("display","block")):"logo"==e&&(jQuery("#"+JSObject.type+"_logo",JSObject.DOMDoc).val(""),jQuery("#fakefilelogo").val(""),jQuery("."+JSObject.type+"_uploadlogo",JSObject.DOMDoc).hide(),jQuery("."+JSObject.type+"_changelogo_cancel",JSObject.DOMDoc).hide(),jQuery("#"+JSObject.type+"_currentlogo",JSObject.DOMDoc).css("background-image","url("+t+")"),jQuery("."+JSObject.type+"_logocontainer",JSObject.DOMDoc).css("display","block"))},this.addButtonsActions=function(){jQuery(this.send_btn).unbind("click"),jQuery(this.send_btn).bind("click",function(){JSObject.disableButton(this),JSObject.validate()}),JSObject.enableButton(this.send_btn)},this.enableButton=function(e){jQuery(e).css("cursor","pointer"),jQuery(e).animate({opacity:1},100)},this.disableButton=function(e){jQuery(e).unbind("click"),jQuery(e).animate({opacity:.4},100),jQuery(e).css("cursor","default")},this.scrollToError=function(e){var t=jQuery("html,body",JSObject.DOMDoc),o=parseInt(jQuery("html,body").scrollTop())||parseInt(jQuery("body").scrollTop()),c=t.get(0).clientHeight;parseInt(t.offset().top);o>e?jQuery(t).animate({scrollTop:e-20},1e3):e>o+c&&jQuery(t).animate({scrollTop:o+c},1e3)},this.validate=function(){jQuery(this.form).validate().form();var e=[];for(var t in this.validator.invalid){var o=jQuery(this.form[t]);e.push(o.offset().top)}0==e.length?this.sendData():(e.sort(function(e,t){return e-t}),JSObject.scrollToError(e[0]),JSObject.addButtonsActions())},this.submitForm=function(){return WMPJSInterface.AjaxUpload.dosubmit(JSObject.form,{onStart:JSObject.startUploadingData,onComplete:JSObject.completeUploadingData})},this.sendData=function(){jQuery("#"+this.form.id,this.DOMDoc).unbind("submit"),jQuery("#"+this.form.id,this.DOMDoc).bind("submit",function(){JSObject.submitForm()}),jQuery("#"+this.form.id,this.DOMDoc).submit(),JSObject.disableButton(JSObject.send_btn)},this.startUploadingData=function(){return WMPJSInterface.Preloader.start(),setTimeout(function(){var e=JSObject.form.elements;for(nElems=e.length,j=0;j1?o[o.length-1]:o[0],n=jQuery("#error_"+c+"_container",JSObject.DOMDoc);e.appendTo(n)},errorElement:"span"});var $Icon=jQuery("#"+this.type+"_icon",this.DOMDoc),$RemoveIconLink=jQuery("#"+this.type+"_icon_removenew",this.DOMDoc);$Icon.bind("change",function(){$Icon.focus(),$Icon.blur(),this.files[0]&&jQuery("#fakefileicon").val(this.files[0].name),$RemoveIconLink.css("display","block")}),$RemoveIconLink.bind("click",function(){jQuery("#fakefileicon").val(""),$Icon.val(""),jQuery(JSObject.form).validate().element("#"+JSObject.type+"_icon"),$RemoveIconLink.css("display","none")});var $EditIconLink=jQuery("."+this.type+"_changeicon",this.DOMDoc);$EditIconLink.length>0&&$EditIconLink.click(function(){"none"==jQuery("."+JSObject.type+"_uploadicon",JSObject.DOMDoc).css("display")&&($Icon.val(""),jQuery(JSObject.form).validate().element("#"+JSObject.type+"_icon"),jQuery("#fakefileicon").val(""),$RemoveIconLink.css("display","none"),jQuery("."+JSObject.type+"_uploadicon",JSObject.DOMDoc).show(),""!=jQuery("#"+JSObject.type+"_currenticon",JSObject.DOMDoc).attr("src")&&jQuery("."+JSObject.type+"_changeicon_cancel",JSObject.DOMDoc).show(),"block"==jQuery("."+JSObject.type+"_iconcontainer",JSObject.DOMDoc).css("display")&&jQuery("."+JSObject.type+"_iconcontainer",JSObject.DOMDoc).hide())});var $CancelEditIconLink=jQuery("."+this.type+"_changeicon_cancel a",this.DOMDoc);$CancelEditIconLink.length>0&&$CancelEditIconLink.click(function(){"block"==jQuery("."+JSObject.type+"_uploadicon",JSObject.DOMDoc).css("display")&&($Icon.val(""),jQuery(JSObject.form).validate().element("#"+JSObject.type+"_icon"),jQuery("#fakefileicon").val(""),jQuery("."+JSObject.type+"_uploadicon",JSObject.DOMDoc).hide(),jQuery(this).parent().hide(),"none"==jQuery("."+JSObject.type+"_iconcontainer",JSObject.DOMDoc).css("display")&&""!=jQuery("#"+JSObject.type+"_currenticon",JSObject.DOMDoc).attr("src")&&jQuery("."+JSObject.type+"_iconcontainer",JSObject.DOMDoc).show())});var $DeleteIconLink=jQuery("."+this.type+"_deleteicon",this.DOMDoc);if($DeleteIconLink.length>0){var href=$DeleteIconLink.get(0).href;$DeleteIconLink.get(0).href="javascript:void(0);",$DeleteIconLink.click(function(){var isConfirmed=confirm("This app icon is used when the app is added to the homescreen. Are you sure you want to remove it?");isConfirmed&&jQuery.get(ajaxurl,{action:"wmp_theme_editimages",type:"delete",source:"icon"},function(responseJSON){var JSON=eval("("+responseJSON+")"),response=Boolean(Number(String(JSON.status)));if(JSObject.deletingIcon=!1,1==response){jQuery("#"+JSObject.type+"_currenticon",JSObject.DOMDoc).attr("src",""),$EditIconLink.trigger("click");var message="The app icon has been removed.";WMPJSInterface.Loader.display({message:message})}else{var message="There was an error. Please try again in few seconds.";WMPJSInterface.Loader.display({message:message})}})})}var $Logo=jQuery("#"+this.type+"_logo",this.DOMDoc),$RemoveLogoLink=jQuery("#"+this.type+"_logo_removenew",this.DOMDoc);$Logo.bind("change",function(){$Logo.focus(),$Logo.blur(),this.files[0]&&jQuery("#fakefilelogo").val(this.files[0].name),$RemoveLogoLink.css("display","block")}),$RemoveLogoLink.bind("click",function(){jQuery("#fakefilelogo").val(""),$Logo.val(""),jQuery(JSObject.form).validate().element("#"+JSObject.type+"_logo"),$RemoveLogoLink.css("display","none")});var $EditLogoLink=jQuery("."+this.type+"_changelogo",this.DOMDoc);$EditLogoLink.length>0&&$EditLogoLink.click(function(){"none"==jQuery("."+JSObject.type+"_uploadlogo",JSObject.DOMDoc).css("display")&&($Logo.val(""),jQuery(JSObject.form).validate().element("#"+JSObject.type+"_logo"),jQuery("#fakefilelogo").val(""),$RemoveLogoLink.css("display","none"),jQuery("."+JSObject.type+"_uploadlogo",JSObject.DOMDoc).show(),"none"!=jQuery("#"+JSObject.type+"_currentlogo",JSObject.DOMDoc).css("background-image")&&jQuery("."+JSObject.type+"_changelogo_cancel",JSObject.DOMDoc).show(),"block"==jQuery("."+JSObject.type+"_logocontainer",JSObject.DOMDoc).css("display")&&jQuery("."+JSObject.type+"_logocontainer",JSObject.DOMDoc).hide())});var $CancelEditLogoLink=jQuery("."+this.type+"_changelogo_cancel a",this.DOMDoc);$CancelEditLogoLink.length>0&&$CancelEditLogoLink.click(function(){"block"==jQuery("."+JSObject.type+"_uploadlogo",JSObject.DOMDoc).css("display")&&($Logo.val(""),jQuery(JSObject.form).validate().element("#"+JSObject.type+"_logo"),jQuery("#fakefilelogo").val(""),jQuery("."+JSObject.type+"_uploadlogo",JSObject.DOMDoc).hide(),jQuery(this).parent().hide(),"none"==jQuery("."+JSObject.type+"_logocontainer",JSObject.DOMDoc).css("display")&&"none"!=jQuery("#"+JSObject.type+"_currentlogo",JSObject.DOMDoc).css("background-image")&&jQuery("."+JSObject.type+"_logocontainer",JSObject.DOMDoc).show())});var $DeleteLogoLink=jQuery("."+this.type+"_deletelogo",this.DOMDoc);if($DeleteLogoLink.length>0){var href=$DeleteLogoLink.get(0).href;$DeleteLogoLink.get(0).href="javascript:void(0);",$DeleteLogoLink.click(function(){var isConfirmed=confirm("This app logo is used on the cover of your app. Are you sure you want to remove it?");isConfirmed&&jQuery.get(ajaxurl,{action:"wmp_theme_editimages",type:"delete",source:"logo"},function(responseJSON){var JSON=eval("("+responseJSON+")"),response=Boolean(Number(String(JSON.status)));if(JSObject.deletingIcon=!1,1==response){jQuery("#"+JSObject.type+"_currentlogo",JSObject.DOMDoc).css("background-image","none"),$EditLogoLink.trigger("click");var message="The app logo has been removed.";WMPJSInterface.Loader.display({message:message})}else{var message="There was an error. Please try again in few seconds.";WMPJSInterface.Loader.display({message:message})}})})}},this.displayImage=function(e,t){"icon"==e?(jQuery("#"+JSObject.type+"_icon",JSObject.DOMDoc).val(""),jQuery("#fakefileicon").val(""),jQuery("."+JSObject.type+"_uploadicon",JSObject.DOMDoc).hide(),jQuery("."+JSObject.type+"_changeicon_cancel",JSObject.DOMDoc).hide(),jQuery("#"+JSObject.type+"_currenticon",JSObject.DOMDoc).attr("src",t),jQuery("."+JSObject.type+"_iconcontainer",JSObject.DOMDoc).css("display","block")):"logo"==e&&(jQuery("#"+JSObject.type+"_logo",JSObject.DOMDoc).val(""),jQuery("#fakefilelogo").val(""),jQuery("."+JSObject.type+"_uploadlogo",JSObject.DOMDoc).hide(),jQuery("."+JSObject.type+"_changelogo_cancel",JSObject.DOMDoc).hide(),jQuery("#"+JSObject.type+"_currentlogo",JSObject.DOMDoc).css("background-image","url("+t+")"),jQuery("."+JSObject.type+"_logocontainer",JSObject.DOMDoc).css("display","block"))},this.addButtonsActions=function(){jQuery(this.send_btn).unbind("click"),jQuery(this.send_btn).bind("click",function(){JSObject.disableButton(this),JSObject.validate()}),JSObject.enableButton(this.send_btn),jQuery("#"+JSObject.type+"_warning a.close-x",JSObject.DOMDoc).on("click",function(){jQuery("#"+JSObject.type+"_warning",JSObject.DOMDoc).hide()})},this.enableButton=function(e){jQuery(e).css("cursor","pointer"),jQuery(e).animate({opacity:1},100)},this.disableButton=function(e){jQuery(e).unbind("click"),jQuery(e).animate({opacity:.4},100),jQuery(e).css("cursor","default")},this.scrollToError=function(e){var t=jQuery("html,body",JSObject.DOMDoc),o=parseInt(jQuery("html,body").scrollTop())||parseInt(jQuery("body").scrollTop()),c=t.get(0).clientHeight;parseInt(t.offset().top);eo+c&&jQuery(t).animate({scrollTop:o+c},1e3)},this.validate=function(){jQuery(this.form).validate().form();var e=[];for(var t in this.validator.invalid){var o=jQuery(this.form[t]);e.push(o.offset().top)}0==e.length?this.sendData():(e.sort(function(e,t){return e-t}),JSObject.scrollToError(e[0]),JSObject.addButtonsActions())},this.submitForm=function(){return WMPJSInterface.AjaxUpload.dosubmit(JSObject.form,{onStart:JSObject.startUploadingData,onComplete:JSObject.completeUploadingData})},this.sendData=function(){jQuery("#"+this.form.id,this.DOMDoc).unbind("submit"),jQuery("#"+this.form.id,this.DOMDoc).bind("submit",function(){JSObject.submitForm()}),jQuery("#"+this.form.id,this.DOMDoc).submit(),JSObject.disableButton(JSObject.send_btn)},this.startUploadingData=function(){return WMPJSInterface.Preloader.start(),setTimeout(function(){var e=JSObject.form.elements;for(nElems=e.length,j=0;j
-

Language Settings

-

Wordpress Mobile Pack will automatically translate your mobile web app in one of the supported languages: Chinese (zh_CN), Dutch, English, French, German, Hungarian, Italian, Polish, Portuguese (Brazil), Romanian, Spanish or Swedish. This is done based on your Wordpress settings and doesn't require additional changes from the plugin. A big thanks to all of our contributors.

+

Wordpress Mobile Pack will automatically translate your mobile web app in one of the supported languages: Bosnian, Chinese (zh_CN), Dutch, English, French, German, Hungarian, Italian, Polish, Portuguese (Brazil), Romanian, Spanish or Swedish. This is done based on your Wordpress settings and doesn't require additional changes from the plugin. A big thanks to all of our contributors.

However, if you wish to add another language or change the labels for your current one, you can do so by editing the language files located in . To ensure your translation file will not be overwritten by future updates, please send it to our support team.

diff --git a/plugins/wordpress-mobile-pack/admin/pages/theme-settings.php b/plugins/wordpress-mobile-pack/admin/pages/theme-settings.php index 80afb677..dc16af35 100755 --- a/plugins/wordpress-mobile-pack/admin/pages/theme-settings.php +++ b/plugins/wordpress-mobile-pack/admin/pages/theme-settings.php @@ -206,6 +206,31 @@

You can also personalize your app by adding your own logo and icon. The logo will be displayed on the home page of your mobile web app, while the icon will be used when readers add your app to their homescreen.

+ + + +
+
+
+ +
+
+
@@ -305,11 +330,11 @@ Change remove -
+
-
+
- Save + Save
@@ -322,7 +347,30 @@
- + + +
+
+
+

Add to Home Screen

+
+

In order for your users to be prompted to add the app to their home screen you must add a service worker to the root of your domain.

+
+

Move the 'sw.js' file which is located in the 'wordpress-mobile-pack' plugin directory to the root of your domain '/' using FTP.

+
+

Once you have moved the file to your root, check the box bellow and click 'save'. For more details visit the support page.

+
+
+ + + /> + +
+ Save +
+
+
+
@@ -418,7 +466,8 @@ window.WMPJSInterface.add("UI_customizetheme","WMP_EDIT_THEME",{'DOMDoc':window.document}, window); window.WMPJSInterface.add("UI_editimages","WMP_EDIT_IMAGES",{'DOMDoc':window.document}, window); - window.WMPJSInterface.add("UI_editcover","WMP_EDIT_COVER",{'DOMDoc':window.document}, window); + window.WMPJSInterface.add("UI_editcover","WMP_EDIT_COVER",{'DOMDoc':window.document}, window); + window.WMPJSInterface.add("UI_service_worker","WMP_SERVICE_WORKER",{'DOMDoc':window.document}, window); }); } diff --git a/plugins/wordpress-mobile-pack/admin/sass/config.rb b/plugins/wordpress-mobile-pack/admin/sass/config.rb deleted file mode 100755 index 52e432e9..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/config.rb +++ /dev/null @@ -1,21 +0,0 @@ -# Require any additional compass plugins here. - -# Get the directory that this configuration file exists in -dir = File.dirname(__FILE__) - -# Set this to the root of your project when deployed: -http_path = "/" - -sass_path = dir -css_path = File.join(dir, "..", "css") -fonts_path = File.join(dir, "fonts") -images_path = File.join(dir, "..", "images") - -javascripts_path = File.join(dir, "..", "javascripts") - - -output_style = :compressed -environment = :production - -# output_style = :expanded -# environment = :development diff --git a/plugins/wordpress-mobile-pack/admin/sass/core/_buttons.scss b/plugins/wordpress-mobile-pack/admin/sass/core/_buttons.scss deleted file mode 100755 index 0a35abf5..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/core/_buttons.scss +++ /dev/null @@ -1,110 +0,0 @@ -#wmpack-admin{ - .btn{ - @include wbz-display-box(); - @include wbz-box-orient(horizontal); - @include wbz-box-pack(center); - @include wbz-box-align(center); - - display:flex; - - font-family: 'AcordeRegular', sans-serif; - width: $btn-size-normal; - height: $btn-height; - line-height: $btn-height; - min-height: $btn-height; - background: #ffffff; - color: $btn-color; - font-size: $btn-font-size; - @include wbz-border-radius($btn-radius); - border: $btn-border; - padding: 0 15px; - margin: 0; - text-decoration: none; - - &.smallest{ - width: $btn-size-smallest; - } - &.smaller{ - width: $btn-size-smaller; - } - &.small{ - width: $btn-size-small; - } - &.big{ - width: $btn-size-big; - } - &.bigger{ - width: $btn-size-bigger; - } - - strong{ - @include wbz-display-inline-box(); - font-family: 'AcordeSemiBold', sans-serif; - font-weight: normal; - font-style: normal; - } - &:hover{ - background: #fafafa; - border: 1px solid darken($btn-border, $darken-amounth/2); - } - &.green{ - background: $base-green; - color: #ffffff; - border: 1px solid darken($base-green, $darken-amounth/2); - - &:hover{ - background: darken($base-green, $darken-amounth/2); - border: 1px solid darken($base-green, $darken-amounth); - } - } - - &.blue{ - background: $base-blue; - color: #ffffff; - border: 1px solid darken($base-blue, $darken-amounth/2); - - &:hover{ - background: darken($base-blue, $darken-amounth/2); - border: 1px solid darken($base-blue, $darken-amounth); - } - &.spaced-right{ - margin-right:20px; - } - } - &.orange{ - background: $base-orange; - color: #ffffff; - border: 1px solid darken($base-orange, $darken-amounth/2); - - &:hover{ - background: darken($base-orange, $darken-amounth/2); - border: 1px solid darken($base-orange, $darken-amounth); - } - } - &.grey{ - background: $base-grey; - color: #939494; - text-transform: uppercase; - border: 1px solid darken($base-grey, $darken-amounth/2); - - &:hover{ - background: darken($base-grey, $darken-amounth/2); - border: 1px solid darken($base-grey, $darken-amounth); - } - } - &.turquoise { - background: $base-turquoise; - color: #ffffff; - border: 1px solid darken($base-turquoise, $darken-amounth/2); - - &:hover{ - background: darken($base-turquoise, $darken-amounth/2); - border: 1px solid darken($base-turquoise, $darken-amounth); - } - } - } - - .inline-btns-container{ - @include wbz-display-inline-box(); - } -} diff --git a/plugins/wordpress-mobile-pack/admin/sass/core/_core.scss b/plugins/wordpress-mobile-pack/admin/sass/core/_core.scss deleted file mode 100755 index 383c3c74..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/core/_core.scss +++ /dev/null @@ -1,448 +0,0 @@ -#wmpack-admin{ - *, *:after, *:before { - font-weight: normal; - @include wbz-box-sizing(border-box); - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - -webkit-touch-callout: none; - -ms-touch-action: none; - -webkit-user-drag: none; - } - h1{ - font-family: 'OlRoundGothicLight', sans-serif; - font-size: $h1-font-size; - line-height: $h1-font-size; - font-weight: normal; - color: $base-text-color; - margin:0px; - padding:0px; - } - h2{ - font-family: 'AcordeRegular', sans-serif; - font-size: $h2-font-size; - line-height: $h2-font-size; - color: $base-text-color; - letter-spacing: 0.5px; - margin:0px; - padding:0px; - } - .underlined{ - border-bottom: 1px solid #EDF0F0; - margin: 0 0 30px; - padding: 0 0 10px; - } - p, span, a{ - font-family: 'OpenSansRegular', sans-serif; - font-size: 14px; - line-height: 19px; - color: $base-text-color; - } - p, span { - margin:0; - padding:0; - } - strong{ - font-weight: bold; - } - a{ - color: $base-blue; - text-decoration: none; - &:hover{ - color: darken($base-blue, $darken-amounth); - } - &:focus { - outline: none; - } - } - .left{ - float:left; - } - .right{ - float:right; - } - .notification{ - @include wbz-display-box(); - @include wbz-box-pack(center); - @include wbz-box-align(center); - position: relative; - width: 0px; - height: 0px; - - .count{ - @include wbz-border-radius(25px); - background: $base-red; - font-family: 'OpenSansRegular', sans-serif; - text-align: center; - color: #ffffff; - font-size: 12px; - line-height: 25px; - width: 25px; - height: 25px; - } - } - - @for $i from 0 through 100{ - .spacer-#{$i} { - @include wbz-spacer(#{$i}px); - } - } - .grey-line{ - @include wbz-spacer(1px); - border-top: 1px solid $body-color; - } - .grey-dotted-line{ - @include wbz-spacer(1px); - border-top: 1px dotted $base-p-color; - } - .relative{ - width: 0; - height: 0; - position: relative; - } - .corner{ - &.active{ - .indicator{ - width: 0; - height: 0; - border-top: 44px solid $base-green; - border-left: 44px solid transparent; - position: absolute; - right: 0px; - } - } - &.inactive{ - .indicator{ - width: 0; - height: 0; - border-top: 44px solid #ffffff; - border-left: 44px solid transparent; - position: absolute; - right: 0px; - } - } - } - .notice{ - padding: 25px; - margin: 0 0 15px 0; - background: $notice-bg; - border: 1px solid $notice-border; - @include wbz-border-radius($notice-radius); - position: relative; - - a { - font-family: "OpenSansRegular", sans-serif; - font-size: 13px; - line-height: 20px; - color: #819196; - text-decoration: underline; - } - - &.notice-left{ - &::before{ - left: -10px; - right: auto; - top: 50px; - bottom: auto; - border-color: transparent $notice-border; - border-width: 10px 10px 10px 0; - } - &::after{ - left: -9px; - right: auto; - top: 50px; - bottom: auto; - border-color: transparent $notice-bg; - border-width: 10px 10px 10px 0; - } - } - &::before{ - content: ""; - position: absolute; - top: -10px; - bottom: auto; - left: 50px; - right: auto; - border-style: solid; - border-color: $notice-border transparent; - border-width: 0 10px 10px; - display: block; - width: 0; - } - &::after{ - content: ""; - position: absolute; - bottom: auto; - top: -9px; - left: 50px; - right: auto; - border-style: solid; - border-color: $notice-bg transparent; - border-width: 0 10px 10px; - display: block; - width: 0; - } - span{ - font-family: "OpenSansRegular", sans-serif; - font-size: 13px; - line-height: 20px; - color: $notice-color; - } - } -} -body{ - min-width: $total-width; -} -#wp-content{ - background:$body-color; -} - -#wmpack-admin{ - width: 100%; - - .left-side{ - padding-right: 13px; - display: table-cell; - - nav.menu{ - width: 100%; - height: 69px; - position: relative; - padding: 0px; - min-width: 805px; - - .ribbon{ - .indicator{ - background: url(../images/ribbon-premium.png); - width: 67px; - height: 68px; - position: absolute; - top: -4px; - right: -5px; - } - } - ul{ - list-style-type: none; - display: flex; - flex-direction: row; - height: 69px; - border-bottom: 1px solid #DADDDE; - - li{ - height: 68px; - flex: 1 0 auto; - max-width: 200px; - background-color: #f5f7f7; - vertical-align: middle; - text-align: center; - border-right: #daddde 1px solid; - border-bottom: #daddde 1px solid; - - a{ - color: $base-text-color; - font-family: 'AcordeRegular'; - font-size: 17px; - line-height: normal; - padding: 20px 0; - width: 100%; - display: block; - border-top: 4px solid #f5f7f7; - } - - &:hover{ - border-bottom: 1px solid #dce0e0; - background-color: #dce0e0; - - a{ - border-top: 4px solid #dce0e0; - } - } - &.selected{ - border-bottom: 1px solid #ffffff; - background-color: #ffffff; - height: 69px; - - a{ - color: $base-green; - border-top: 4px solid $base-green; - border-bottom: 1px solid #ffffff; - } - } - } - } - } - } - .right-side{ - width:252px; - display: table-cell; - vertical-align: top; - padding: 0 10px 0 0; - - .updates{ - padding: 15px 5px 15px 15px; - background-color: $box-color; - - .details{ - height: 333px; - position: relative; - overflow: hidden; - } - p{ - font-size: 13px; - color: $base-p-color; - margin-right:10px; - - &.news-title { - font-size: 16px; - margin-bottom: 10px; - - a { - font-size: 16px; - outline: none; - } - } - } - a{ - font-size: 13px; - } - } - .appticles-updates{ - padding: 10px 15px; - background-color: #2a2d33; - border-top: #fff 1px solid; - height: 43px; - @include wbz-border-radius(0px 0px 4px 4px); - - div{ - float: left; - - p{ - margin: 0; - } - &.social{ - float: right; - - .facebook, .twitter, .google-plus { - width: 18px; - height: 18px; - background: #8c8d8d; - color: #2a2d33; - margin: 0 6px; - @include wbz-border-radius(18px); - display: block; - float: left; - - &::before{ - left: 5px; - top: -1px; - } - } - - .facebook { - @include wbz-inline-icon(facebook,10px); - } - - .twitter { - @include wbz-inline-icon(twitter,10px); - } - - .google-plus { - @include wbz-inline-icon(google-plus,10px); - } - } - } - } - .white-paper{ - width: 252px; - height: 250px; - border: #bfbfbf 1px solid; - display: table-cell; - text-align: center; - vertical-align: middle; - background-color: #fff; - - p{ - font-family: 'AcordeRegular', sans-serif; - font-size: 20px; - line-height: normal; - color: $base-text-color; - } - } - .form-box{ - padding: 15px; - background-color: $box-color; - - p{ - font-size: 13px; - } - - .field-message { - padding: 1px 0; - } - } - - .ask-review { - p, a { - font-size: 12px; - } - p { - padding: 0px 5px; - } - } - } - - .added{ - margin: 0 auto; - width: 190px; - - .switcher{ - width: 190px; - - .msg{ - font-family: 'AcordeSemiBold', sans-serif; - width: 150px; - height: $input-height; - background: $input-background; - color: $input-color; - font-size: $input-font-size; - @include wbz-border-radius($input-radius 0 0 $input-radius); - @include wbz-box-shadow(none); - border: 1px solid $input-border; - border-right: 0px; - padding: 0 10px; - line-height: 38px; - text-align: center; - float: left; - } - .check{ - @include wbz-border-radius(0 $input-radius $input-radius 0); - height: $input-height; - border: 1px solid darken($input-border, 10%); - border-left: 0px; - width: 40px; - float: right; - @include wbz-inline-icon(active, 17px); - color: #ffffff; - - &::before{ - height: 38px; - width: 40px; - right: -9px; - top: -2px; - line-height: 38px; - } - } - &.blue{ - .check{ - background: $base-blue; - border: 1px solid darken($base-blue, 10%); - border-left: 0px; - } - } - } - } -} - -.wp-admin{ - .mfp-bg, .mfp-wrap{ - z-index:10000; - } -} diff --git a/plugins/wordpress-mobile-pack/admin/sass/core/_fonts.scss b/plugins/wordpress-mobile-pack/admin/sass/core/_fonts.scss deleted file mode 100755 index e4f0eade..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/core/_fonts.scss +++ /dev/null @@ -1,11 +0,0 @@ -@import 'compass/css3'; - -@include font-face('AcordeRegular', inline-font-files('acorde-regular.woff', woff, 'acorde-regular.ttf', truetype,'acorde-regular.svg', svg,"acorde-regular.eot",eot)); -@include font-face('AcordeSemiBold', inline-font-files('acorde-semibold.woff', woff, 'acorde-semibold.ttf', truetype,'acorde-semibold.svg', svg,"acorde-semibold.eot",eot)); -@include font-face('OlRoundGothicLight', inline-font-files('ol-round-gothic-light.woff', woff, 'ol-round-gothic-light.ttf', truetype,'ol-round-gothic-light.svg', svg,"ol-round-gothic-light.eot",eot)); -@include font-face('OpenSansRegular', inline-font-files('open-sans-regular.woff', woff, 'open-sans-regular.ttf', truetype,'open-sans-regular.svg', svg,"open-sans-regular.eot",eot)); -@include font-face('OpenSansSemiBold', inline-font-files('opensans-semibold.woff',woff, 'opensans-semibold.ttf',truetype, 'opensans-semibold.svg', svg, "opensans-semibold.eot",eot)); -@include font-face('OpenSansItalic', inline-font-files('opensans-italic.woff',woff, 'opensans-italic.ttf',truetype, 'opensans-italic.svg',svg, 'opensans-italic.eot',eot)); - - -@include font-face('Appticles', inline-font-files('wp-font.woff', woff, 'wp-font.ttf', truetype,'wp-font.svg', svg,"wp-font.eot",eot)); \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/core/_forms.scss b/plugins/wordpress-mobile-pack/admin/sass/core/_forms.scss deleted file mode 100755 index f04d7a0b..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/core/_forms.scss +++ /dev/null @@ -1,409 +0,0 @@ -#wmpack-admin{ - form{ - text-align: left; - } - input[type="text"], - input[type="password"], - input[type="file"], - input[type="email"]{ - - &:not(.wp-color-picker) { - font-family: 'AcordeSemiBold', sans-serif; - width: $input-size-normal; - height: $input-height; - background: $input-background; - color: $input-color; - font-size: $input-font-size; - @include wbz-border-radius($input-radius); - @include wbz-box-shadow(none); - border: 1px solid $input-border; - padding: 0 15px; - - &.smaller { - width: $input-size-smaller; - } - &.small { - width: $input-size-small; - } - &.big { - width: $input-size-big; - } - &:focus { - outline: none; - border: 1px solid darken($input-border, $darken-amounth); - } - &.error { - border-color: $error-color; - background: $error-bg; - } - &.indent { - margin: 0 0 0 30px; - } - } - } - select { - font-family: 'AcordeSemiBold', sans-serif; - width: $input-size-normal; - height: $input-height; - background: $input-background; - color: $input-color; - font-size: $input-font-size; - @include wbz-border-radius($input-radius); - @include wbz-box-shadow(none); - border: 1px solid $input-border; - padding: 0 15px; - - &.smaller{ - width: $input-size-smaller; - } - &.small{ - width: $input-size-small; - } - &.big{ - width: $input-size-big; - } - &:focus{ - outline:none; - border:1px solid darken($input-border,$darken-amounth); - } - } - - - .selectboxit-container{ - - .selectboxit{ - font-family: 'AcordeSemiBold', sans-serif; - width: $input-size-normal; - height: $input-height; - background: $input-background; - color: $input-color; - font-size: $input-font-size; - @include wbz-border-radius($input-radius); - @include wbz-box-shadow(none); - border: 1px solid $input-border; - padding: 0 15px; - width: 220px!important; - - &:focus{ - outline:none; - border:1px solid darken($input-border,$darken-amounth); - } - - span, .selectboxit-options a { - height: 36px; - line-height:33px; - } - } - - .selectboxit-arrow-container{ - width: 25px; - } - - .selectboxit-options{ - border-radius: 0; - width: 220px; - - .selectboxit-option{ - height: 36px; - border-bottom: $btn-border 1px solid; - - } - - a{ - height: 36px; - line-height: 33px; - } - .selectboxit-option-first,.selectboxit-option-last{ - border-radius: 0; - } - } - - span{ - height: 36px; - line-height: 33px; - } - - .selectboxit-list{ - > .selectboxit-focus{ - > .selectboxit-option-anchor{ - background: darken($base-grey, $darken-amounth/2); - } - } - } - } - - input[type="radio"], - input[type="checkbox"]{ - width: 16px; - height: 16px; - float: left; - margin: 0 10px 0 30px; - - &::before{ - margin: 4px; - } - } - input[type=checkbox]{ - &:checked { - &::before{ - margin: 0px; - float: left; - display: inline-block; - vertical-align: middle; - width: 16px; - font:normal 21px/1 'dashicons'; - speak: none; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - position: relative; - top: -3px; - left: -4px; - } - } - } - textarea{ - font-family: 'AcordeSemiBold', sans-serif; - width: $input-size-normal; - height: $textarea-height; - background: $input-background; - color: $input-color; - font-size: $input-font-size; - @include wbz-border-radius($input-radius); - @include wbz-box-shadow(none); - border: 1px solid $input-border; - padding: 10px 15px; - resize: none; - - &.smaller{ - width: $input-size-smaller; - } - &.small{ - width: $input-size-small; - } - &.big{ - width: $input-size-big; - } - &:focus{ - outline:none; - border:1px solid darken($input-border,$darken-amounth); - } - &.error{ - border-color: $error-color; - background: $error-bg; - } - } - - label{ - @include wbz-display-box(); - font-family: 'AcordeRegular', sans-serif; - color: $label-color; - font-size: $label-font-size; - } - - ::-webkit-input-placeholder{ - padding: 2px 0 0 0; - color: #b2b5bc; - font-size: 13px; - } - :-moz-placeholder{ - padding: 2px 0 0 0; - color: #b2b5bc; - font-size: 13px; - } - ::-moz-placeholder{ - padding: 2px 0 0 0; - color: #b2b5bc; - font-size: 13px; - } - :-ms-input-placeholder{ - color: #b2b5bc!important; - font-size: 13px; - } - - .field-message{ - @include wbz-display-box(); - margin: 0px 0 0px 15px; - @include wbz-box-shadow(none); - background: transparent; - border: 0; - - span{ - font-family: "OpenSansRegular", sans-serif; - font-size: 13px; - line-height: 20px; - } - &.error{ - span{ - color: $error-color; - } - } - &.success{ - span{ - color: $success-color; - } - } - &.warning{ - span{ - color: $warning-color; - } - } - } - .message-container{ - display: block; - text-align: left; - width: 100%; - - a { - font-family: "OpenSansRegular", sans-serif; - font-size: 13px; - line-height: 20px; - } - - &.error{ - background:none; - border:none; - - } - - .wrapper{ - @include wbz-display-box(); - @include wbz-box-orient(vertical); - @include wbz-box-flex(1); - width: 100%; - padding: 25px 50px; - margin: 10px 0; - - .relative{ - width: 100%; - } - } - .title{ - width: 100%; - @include wbz-display-box(); - @include wbz-box-orient(horizontal, important); - - h2{ - font-family: 'OlRoundGothicLight', sans-serif; - @include wbz-display-box(); - @include wbz-box-flex(1); - margin: 0 0 15px 0!important; - font-size: 25px; - } - } - span{ - font-family: "OpenSansRegular", sans-serif; - font-size: 13px; - line-height: 20px; - } - .close-x{ - @include wbz-inline-icon(close-x, 25px); - @include wbz-display-box(); - @include wbz-box-pack(end); - @include wbz-box-align(center); - width: 25px; - height: 25px; - padding: 0 15px; - top: -10px; - right: -25px; - position: absolute; - - &:hover{ - cursor: pointer; - color: #ffc26b; - } - &::before{ - width: 25px; - height: 25px; - } - } - &.error{ - .wrapper{ - border: 1px solid $error-border; - background: $error-bg; - } - .title{ - h2{ - color: $error-color; - - &.underlined{ - border-bottom: 1px solid $error-border; - } - } - } - span{ - color: $error-color; - } - .close-x{ - color: $error-border; - - &:hover{ - color: darken($error-border,$darken-amounth/2); - } - } - } - &.success{ - .wrapper{ - border: 1px solid $success-border; - background: $success-bg; - } - .title{ - h2{ - color: $success-color; - - &.underlined{ - border-bottom: 1px solid $success-border; - } - } - } - span{ - color: $success-color; - } - .close-x{ - color: $success-border; - - &:hover{ - color: darken($success-border,$darken-amounth/2); - } - } - } - &.warning{ - .wrapper{ - border: 1px solid $warning-border; - background: $warning-bg; - } - .title{ - h2{ - color: $warning-color; - - &.underlined{ - border-bottom: 1px solid $warning-border; - } - } - } - span{ - color: $warning-color; - - a { - color: darken($warning-color,20%) !important; - text-decoration: underline !important; - } - } - .close-x{ - color: $warning-border; - - &:hover{ - color: darken($warning-border,$darken-amounth/2); - } - } - } - } -} - -.wmp_upgrade_notice.notice { - background: $warning-color; - color: #FFFFFF; - - .notice-dismiss:before { - color: #FFFFFF; - } -} \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/core/_ie.scss b/plugins/wordpress-mobile-pack/admin/sass/core/_ie.scss deleted file mode 100755 index 8738b3c6..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/core/_ie.scss +++ /dev/null @@ -1,6 +0,0 @@ -@media screen and (min-width: 0 \0) { - body #main { - min-height: auto; - height: 100% !important; - } -} \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/core/_variables.scss b/plugins/wordpress-mobile-pack/admin/sass/core/_variables.scss deleted file mode 100755 index 6b380bff..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/core/_variables.scss +++ /dev/null @@ -1,102 +0,0 @@ -//color manipulation -$darken-amounth: 20%; -$lighten-amounth: 20%; - -$base-green: #9aca40; -$base-purple: #ae113d; -$base-orange: #ffbb42; -$base-red: #ff4e40; -$base-blue: #1ca8dd; -$base-dark-blue: #2a2d33; -$base-grey: #fcfcfc; -$base-turquoise: #66cc80; - - -$facebook-color: #3b5699; -$twitter-color: #55acee; -$google-color: #dd4b39; -$rss-color: #ff9900; -$wordpress-color: #333333; -$tumblr-color: #385774; - -$base-color: #eeeff1; -$base-color-lighter: #f5f7f7; -$base-color-darken: #dce0e0; - -$body-color: #edf0f0; -$box-color: #ffffff; -$main-menu-background: $base-dark-blue; - -//text styling -$base-text-color: #4b4b4b; -$base-p-color: #8c8d8d; -$h1-font-size: 47px; -$h2-font-size: 20px; -$h3-font-size: 18px; - -//buttons -$btn-radius: 3px; -$btn-background: #ffffff; -$btn-color: $base-dark-blue; -$btn-font-size: 14px; -$btn-border: #daddde; -$btn-height: 36px; -$btn-size-smallest: 50px; -$btn-size-smaller: 120px; -$btn-size-small: 220px; -$btn-size-normal: 240px; -$btn-size-big: 320px; -$btn-size-bigger: 455px; - - -$btn-action-border: 1px solid #7ca62c; - -//forms -$input-background: #fafafa; -$input-color: $base-dark-blue; -$input-font-size: 14px; -$input-height: 36px; -$textarea-height: 100px; -$input-size-smaller: 120px; -$input-size-small: 220px; -$input-size-normal: 240px; -$input-size-big: 320px; -$input-size-bigger: 455px; -$input-size-biggest: 550px; -$input-radius: 3px; -$input-border: #daddde; -$label-color: $base-dark-blue; -$label-font-size: 15px; - - //errors - $error-bg: #fef7f7; - $error-color: #d0160a; - $error-border: #ecc2c3; - - //messages - $success-bg: #f7fef7; - $success-color: #4cae4c; - $success-border: #5cb85c; - - //warnings - $warning-bg: #fffce1; - $warning-color: #f89406; - $warning-border: #ffd79e; - - //notices - $notice-bg: #f6f9f9; - $notice-border: #dfeaea; - $notice-color: #819196; - $notice-radius: 3px; - -//structure variables -$total-width: 1180px; -$left-menu-width: 110px; -$inner-width: 1070px; -$header-height: 90px; -$section-spacer: 10px; - - -$inner-width-centered: 850px; -$inner-width-popup: 525px; -$inner-width-account: 455px; diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/WP Dashboard.json b/plugins/wordpress-mobile-pack/admin/sass/fonts/WP Dashboard.json deleted file mode 100755 index cf63896a..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/fonts/WP Dashboard.json +++ /dev/null @@ -1,909 +0,0 @@ -{ - "IcoMoonType": "selection", - "icons": [ - { - "icon": { - "paths": [ - "M512 928c45.558 0 82.822-37.438 82.822-83.2h-165.646c-0 45.762 37.266 83.2 82.824 83.2zM781.178 678.4v-228.8c0-126.88-89.032-235.036-207.060-262.082v-29.118c0-35.364-26.914-62.4-62.118-62.4s-62.118 27.036-62.118 62.4v29.118c-118.030 27.046-207.060 135.202-207.060 262.082v228.8l-82.822 83.2v41.6h704v-41.6l-82.822-83.2z" - ], - "attrs": [ - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "grid": 14, - "tags": [ - "android-notifications" - ] - }, - "attrs": [ - {} - ], - "properties": { - "order": 81, - "id": 22, - "name": "android-notifications", - "prevSize": 32, - "code": 59649 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 0 - }, - { - "icon": { - "paths": [ - "M217.714 925.714q0 45.714-31.143 72t-77.429 26.286q-60.571 0-98.286-37.714l32.571-50.286q28 25.714 60.571 25.714 16.571 0 28.857-8.286t12.286-24.286q0-36.571-60-32l-14.857-32q4.571-5.714 18.571-24.857t24.286-30.857 21.143-22v-0.571q-9.143 0-27.714 0.571t-27.714 0.571v30.286h-60.571v-86.857h190.286v50.286l-54.286 65.714q29.143 6.857 46.286 28t17.143 50.286zM218.857 567.429v90.857h-206.857q-3.429-20.571-3.429-30.857 0-29.143 13.429-53.143t32.286-38.857 37.714-27.143 32.286-24.857 13.429-25.714q0-14.286-8.286-22t-22.571-7.714q-26.286 0-46.286 33.143l-48.571-33.714q13.714-29.143 40.857-45.429t60.286-16.286q41.714 0 70.286 23.714t28.571 64.286q0 28.571-19.429 52.286t-42.857 36.857-43.143 28.857-20.286 30h72.571v-34.286h60zM1024 749.714v109.714q0 7.429-5.429 12.857t-12.857 5.429h-694.857q-7.429 0-12.857-5.429t-5.429-12.857v-109.714q0-8 5.143-13.143t13.143-5.143h694.857q7.429 0 12.857 5.429t5.429 12.857zM219.429 236v56.571h-191.429v-56.571h61.143q0-23.429 0.286-69.714t0.286-69.143v-6.857h-1.143q-4.571 9.714-28.571 30.857l-40.571-43.429 77.714-72.571h60.571v230.857h61.714zM1024 457.143v109.714q0 7.429-5.429 12.857t-12.857 5.429h-694.857q-7.429 0-12.857-5.429t-5.429-12.857v-109.714q0-8 5.143-13.143t13.143-5.143h694.857q7.429 0 12.857 5.429t5.429 12.857zM1024 164.571v109.714q0 7.429-5.429 12.857t-12.857 5.429h-694.857q-7.429 0-12.857-5.429t-5.429-12.857v-109.714q0-7.429 5.429-12.857t12.857-5.429h694.857q7.429 0 12.857 5.429t5.429 12.857z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "list-ol" - ], - "defaultCode": 61643, - "grid": 14 - }, - "attrs": [], - "properties": { - "id": 0, - "order": 78, - "prevSize": 32, - "code": 55, - "name": "dfp" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 26 - }, - { - "icon": { - "paths": [ - "M554.857 710.857v120.571q0 38.286-22.286 38.286-13.143 0-25.714-12.571v-172q12.571-12.571 25.714-12.571 22.286 0 22.286 38.286zM748 711.429v26.286h-51.429v-26.286q0-38.857 25.714-38.857t25.714 38.857zM196 586.857h61.143v-53.714h-178.286v53.714h60v325.143h57.143v-325.143zM360.571 912h50.857v-282.286h-50.857v216q-17.143 24-32.571 24-10.286 0-12-12-0.571-1.714-0.571-20v-208h-50.857v223.429q0 28 4.571 41.714 6.857 21.143 33.143 21.143 27.429 0 58.286-34.857v30.857zM605.714 827.429v-112.571q0-41.714-5.143-56.571-9.714-32-40.571-32-28.571 0-53.143 30.857v-124h-50.857v378.857h50.857v-27.429q25.714 31.429 53.143 31.429 30.857 0 40.571-31.429 5.143-15.429 5.143-57.143zM798.857 821.714v-7.429h-52q0 29.143-1.143 34.857-4 20.571-22.857 20.571-26.286 0-26.286-39.429v-49.714h102.286v-58.857q0-45.143-15.429-66.286-22.286-29.143-60.571-29.143-38.857 0-61.143 29.143-16 21.143-16 66.286v98.857q0 45.143 16.571 66.286 22.286 29.143 61.714 29.143 41.143 0 61.714-30.286 10.286-15.429 12-30.857 1.143-5.143 1.143-33.143zM451.429 300v-120q0-39.429-24.571-39.429t-24.571 39.429v120q0 40 24.571 40t24.571-40zM862.286 729.143q0 133.714-14.857 200-8 33.714-33.143 56.571t-58.286 26.286q-105.143 12-317.143 12t-317.143-12q-33.143-3.429-58.571-26.286t-32.857-56.571q-14.857-64-14.857-200 0-133.714 14.857-200 8-33.714 33.143-56.571t58.857-26.857q104.571-11.429 316.571-11.429t317.143 11.429q33.143 4 58.571 26.857t32.857 56.571q14.857 64 14.857 200zM292 0h58.286l-69.143 228v154.857h-57.143v-154.857q-8-42.286-34.857-121.143-21.143-58.857-37.143-106.857h60.571l40.571 150.286zM503.429 190.286v100q0 46.286-16 67.429-21.143 29.143-60.571 29.143-38.286 0-60-29.143-16-21.714-16-67.429v-100q0-45.714 16-66.857 21.714-29.143 60-29.143 39.429 0 60.571 29.143 16 21.143 16 66.857zM694.857 97.714v285.143h-52v-31.429q-30.286 35.429-58.857 35.429-26.286 0-33.714-21.143-4.571-13.714-4.571-42.857v-225.143h52v209.714q0 18.857 0.571 20 1.714 12.571 12 12.571 15.429 0 32.571-24.571v-217.714h52z" - ], - "width": 877.7142857142858, - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "youtube" - ], - "defaultCode": 61799, - "grid": 14 - }, - "attrs": [], - "properties": { - "id": 1, - "order": 64, - "prevSize": 32, - "code": 54, - "name": "youtube" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 27 - }, - { - "icon": { - "paths": [ - "M912 736h-391.872c11.488-19.808 20.288-41.28 26.112-64h365.76c17.696 0 32 14.304 32 32 0 17.664-14.304 32-32 32zM912 640h-359.552c1.312-10.496 2.208-21.152 2.208-32 0-10.88-0.896-21.504-2.208-32h359.552c17.696 0 32 14.304 32 32 0 17.664-14.304 32-32 32zM912 544h-365.76c-5.856-22.72-14.624-44.192-26.112-64h391.872c17.696 0 32 14.304 32 32 0 17.664-14.304 32-32 32zM912 448h-413.696c-20.8-25.952-46.496-47.776-75.808-64h489.504c17.696 0 32 14.304 32 32 0 17.664-14.304 32-32 32zM912 352h-512c-17.696 0-32-14.336-32-32 0-17.696 14.304-32 32-32h512c17.696 0 32 14.304 32 32 0 17.664-14.304 32-32 32zM912 256h-512c-17.696 0-32-14.336-32-32 0-17.696 14.304-32 32-32h512c17.696 0 32 14.304 32 32 0 17.664-14.304 32-32 32zM528 608c0 123.712-100.32 224-224 224-123.712 0-224-100.288-224-224s100.288-224 224-224c123.68 0 224 100.288 224 224zM383.296 632.352c-3.232-7.648-7.392-14.304-12.608-19.968s-11.136-10.528-17.792-14.592c-6.656-4.064-13.44-7.68-20.384-10.912-6.944-3.2-13.728-6.208-20.384-9.088-6.656-2.848-12.64-5.92-17.888-9.184-5.28-3.264-9.472-7.008-12.608-11.2s-4.704-9.152-4.704-14.912c0-3.84 0.704-7.488 2.080-10.944 1.408-3.424 3.52-6.4 6.4-8.864 2.848-2.432 6.432-4.384 10.688-5.76 4.256-1.408 9.28-2.080 15.008-2.080 7.328 0 14.048 0.864 20.192 2.656 6.112 1.824 11.52 3.776 16.192 5.984 4.672 2.176 8.608 4.192 11.808 6.048s5.536 2.752 7.008 2.752 2.624-0.384 3.488-1.184c0.832-0.8 1.536-2.048 1.984-3.808 0.48-1.728 0.768-3.936 0.992-6.592 0.192-2.688 0.288-5.984 0.288-9.856 0-3.456-0.064-6.368-0.192-8.672-0.128-2.336-0.384-4.288-0.672-5.824-0.352-1.536-0.736-2.784-1.184-3.712-0.512-0.928-1.376-2.048-2.72-3.36-1.344-1.344-4.064-3.008-8.192-4.96-4.128-1.984-8.864-3.776-14.176-5.344-5.344-1.6-11.072-2.848-17.184-3.776-1.248-0.192-2.528-0.128-3.776-0.288v-33.088h-31.488v33.088c-5.792 0.768-11.392 1.92-16.832 3.488-10.592 3.072-19.776 7.68-27.584 13.888s-14.016 14.016-18.592 23.36c-4.608 9.408-6.88 20.288-6.88 32.672 0 10.784 1.6 20.064 4.768 27.776 3.2 7.712 7.36 14.432 12.512 20.096s10.944 10.496 17.472 14.56c6.528 4.096 13.28 7.712 20.192 10.912 6.944 3.2 13.664 6.208 20.192 9.088s12.352 5.952 17.472 9.184c5.152 3.296 9.312 7.008 12.512 11.2 3.2 4.224 4.8 9.248 4.8 15.104 0 5.088-0.928 9.696-2.784 13.856-1.888 4.128-4.576 7.584-8.096 10.4s-7.808 4.96-12.864 6.496c-5.088 1.536-10.784 2.304-17.216 2.304-9.728 0-18.304-1.088-25.696-3.296s-13.76-4.64-19.104-7.328c-5.344-2.656-9.696-5.056-13.088-7.296-3.392-2.176-6.016-3.296-7.904-3.296-1.344 0-2.528 0.384-3.488 1.088-1.024 0.736-1.824 1.984-2.4 3.712-0.608 1.76-1.024 4-1.312 6.816s-0.416 6.272-0.416 10.4c0 6.144 0.384 10.848 1.088 14.112 0.736 3.296 1.984 5.792 3.712 7.488 1.728 1.728 4.544 3.68 8.48 5.952s8.832 4.384 14.688 6.432c5.856 2.016 12.64 3.776 20.288 5.248 7.648 1.44 15.968 2.144 24.896 2.144 0.384 0 0.736-0.064 1.152-0.064v30.816h31.456v-34.944c1.504-0.384 3.104-0.576 4.576-0.992 11.584-3.456 21.728-8.64 30.4-15.488s15.52-15.392 20.608-25.664c5.056-10.272 7.552-22.176 7.552-35.776 0.032-10.336-1.568-19.328-4.736-27.008zM498.304 768h413.696c17.696 0 32 14.304 32 32 0 17.664-14.304 32-32 32h-489.504c29.312-16.224 55.008-38.048 75.808-64z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "coins", - "money" - ], - "defaultCode": 59402, - "grid": 32 - }, - "attrs": [], - "properties": { - "order": 56, - "id": 0, - "prevSize": 32, - "code": 59402, - "name": "coins" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 1 - }, - { - "icon": { - "paths": [ - "M512 42q160 0 272 113t112 271v428q0 52-38 90t-90 38h-256v-86h298v-42h-170v-342h170v-86q0-124-87-211t-211-87-211 87-87 211v86h170v342h-128q-52 0-90-38t-38-90v-300q0-158 112-271t272-113z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "headset_mic" - ], - "defaultCode": 59403, - "grid": 24 - }, - "attrs": [], - "properties": { - "order": 75, - "id": 0, - "prevSize": 24, - "code": 59403, - "name": "headset_mic" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 2 - }, - { - "icon": { - "paths": [ - "M791.498 544.092c-1.294-129.682 105.758-191.876 110.542-194.966-60.152-88.020-153.85-100.078-187.242-101.472-79.742-8.074-155.596 46.948-196.066 46.948-40.368 0-102.818-45.754-168.952-44.552-86.916 1.292-167.058 50.538-211.812 128.38-90.304 156.698-23.126 388.84 64.89 515.926 43.008 62.204 94.292 132.076 161.626 129.58 64.842-2.588 89.362-41.958 167.756-41.958s100.428 41.958 169.050 40.67c69.774-1.296 113.982-63.398 156.692-125.796 49.39-72.168 69.726-142.038 70.924-145.626-1.548-0.706-136.060-52.236-137.408-207.134zM662.562 163.522c35.738-43.358 59.86-103.512 53.28-163.522-51.478 2.096-113.878 34.29-150.81 77.55-33.142 38.376-62.148 99.626-54.374 158.436 57.466 4.484 116.128-29.204 151.904-72.464z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "apple", - "brand" - ], - "defaultCode": 59392, - "grid": 16 - }, - "attrs": [], - "properties": { - "order": 54, - "id": 0, - "prevSize": 16, - "code": 59392, - "name": "apple" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 3 - }, - { - "icon": { - "paths": [ - "M768 639.968l-182.82-182.822 438.82-329.15-128.010-127.996-548.52 219.442-172.7-172.706c-49.78-49.778-119.302-61.706-154.502-26.508-35.198 35.198-23.268 104.726 26.51 154.5l172.686 172.684-219.464 548.582 127.99 128.006 329.19-438.868 182.826 182.828v255.98h127.994l63.992-191.988 191.988-63.996v-127.992l-255.98 0.004z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "airplane", - "travel", - "flight", - "plane", - "transport", - "fly", - "vacation" - ], - "defaultCode": 59395, - "grid": 16 - }, - "attrs": [], - "properties": { - "id": 1, - "order": 55, - "prevSize": 16, - "ligatures": "airplane, travel", - "name": "airplane", - "code": 59395 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 4 - }, - { - "icon": { - "paths": [ - "M1024 657.542c0-82.090-56.678-150.9-132.996-169.48-3.242-128.7-108.458-232.062-237.862-232.062-75.792 0-143.266 35.494-186.854 90.732-24.442-31.598-62.69-51.96-105.708-51.96-73.81 0-133.642 59.874-133.642 133.722 0 6.436 0.48 12.76 1.364 18.954-11.222-2.024-22.766-3.138-34.57-3.138-106.998-0.002-193.732 86.786-193.732 193.842 0 107.062 86.734 193.848 193.73 193.848l656.262-0.012c96.138-0.184 174.008-78.212 174.008-174.446z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "cloud", - "weather" - ], - "defaultCode": 59396, - "grid": 16 - }, - "attrs": [], - "properties": { - "id": 2, - "order": 57, - "prevSize": 16, - "ligatures": "cloud, weather", - "name": "cloud", - "code": 59396 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 5 - }, - { - "icon": { - "paths": [ - "M1024 320l-512-256-512 256 512 256 512-256zM512 148.97l342.058 171.030-342.058 171.030-342.058-171.030 342.058-171.030zM921.444 460.722l102.556 51.278-512 256-512-256 102.556-51.278 409.444 204.722zM921.444 652.722l102.556 51.278-512 256-512-256 102.556-51.278 409.444 204.722z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "stack", - "layers" - ], - "defaultCode": 59397, - "grid": 16 - }, - "attrs": [], - "properties": { - "id": 3, - "order": 58, - "prevSize": 16, - "ligatures": "stack, layers", - "name": "stack", - "code": 59397 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 6 - }, - { - "icon": { - "paths": [ - "M800 0h-640c-52.8 0-96 43.2-96 96v832c0 52.8 43.2 96 96 96h640c52.8 0 96-43.2 96-96v-832c0-52.8-43.2-96-96-96zM480 992c-17.672 0-32-14.326-32-32s14.328-32 32-32 32 14.326 32 32-14.328 32-32 32zM768 896h-576v-768h576v768z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "tablet", - "mobile" - ], - "defaultCode": 59398, - "grid": 16 - }, - "attrs": [], - "properties": { - "id": 4, - "order": 59, - "prevSize": 16, - "ligatures": "tablet, mobile3", - "name": "tablet", - "code": 59398 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 7 - }, - { - "icon": { - "paths": [ - "M1024 576v-384h-192v-64c0-35.2-28.8-64-64-64h-704c-35.2 0-64 28.8-64 64v192c0 35.2 28.8 64 64 64h704c35.2 0 64-28.8 64-64v-64h128v256h-576v128h-32c-17.674 0-32 14.326-32 32v320c0 17.674 14.326 32 32 32h128c17.674 0 32-14.326 32-32v-320c0-17.674-14.326-32-32-32h-32v-64h576zM768 192h-704v-64h704v64z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "paint-format", - "format", - "color" - ], - "defaultCode": 59399, - "grid": 16 - }, - "attrs": [], - "properties": { - "order": 60, - "id": 5, - "prevSize": 16, - "ligatures": "paint-format, format", - "name": "paint-format", - "code": 59399 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 8 - }, - { - "icon": { - "paths": [ - "M960 0l-448 128-448-128c0 0-4.5 51.698 0 128l448 140.090 448-140.090c4.498-76.302 0-128 0-128zM72.19 195.106c23.986 250.696 113.49 672.234 439.81 828.894 326.32-156.66 415.824-578.198 439.81-828.894l-439.81 165.358-439.81-165.358z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "shield", - "security", - "defense", - "protection", - "anti virus" - ], - "defaultCode": 59400, - "grid": 16 - }, - "attrs": [], - "properties": { - "id": 6, - "order": 61, - "prevSize": 16, - "ligatures": "shield, security", - "name": "shield", - "code": 59400 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 9 - }, - { - "icon": { - "paths": [ - "M864 704c-45.16 0-85.92 18.738-115.012 48.83l-431.004-215.502c1.314-8.252 2.016-16.706 2.016-25.328s-0.702-17.076-2.016-25.326l431.004-215.502c29.092 30.090 69.852 48.828 115.012 48.828 88.366 0 160-71.634 160-160s-71.634-160-160-160-160 71.634-160 160c0 8.622 0.704 17.076 2.016 25.326l-431.004 215.504c-29.092-30.090-69.852-48.83-115.012-48.83-88.366 0-160 71.636-160 160 0 88.368 71.634 160 160 160 45.16 0 85.92-18.738 115.012-48.828l431.004 215.502c-1.312 8.25-2.016 16.704-2.016 25.326 0 88.368 71.634 160 160 160s160-71.632 160-160c0-88.364-71.634-160-160-160z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "share", - "social" - ], - "defaultCode": 59401, - "grid": 16 - }, - "attrs": [], - "properties": { - "id": 7, - "order": 62, - "prevSize": 16, - "ligatures": "share2, social", - "name": "share2", - "code": 59401 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 10 - }, - { - "icon": { - "paths": [ - "M592 448h-16v-192c0-105.87-86.13-192-192-192h-128c-105.87 0-192 86.13-192 192v192h-16c-26.4 0-48 21.6-48 48v480c0 26.4 21.6 48 48 48h544c26.4 0 48-21.6 48-48v-480c0-26.4-21.6-48-48-48zM192 256c0-35.29 28.71-64 64-64h128c35.29 0 64 28.71 64 64v192h-256v-192z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "lock", - "secure", - "private", - "encrypted" - ], - "defaultCode": 59393, - "grid": 16 - }, - "attrs": [], - "properties": { - "id": 8, - "order": 74, - "prevSize": 16, - "ligatures": "lock, secure", - "name": "lock", - "code": 59393 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 11 - }, - { - "icon": { - "paths": [ - "M874.040 149.96c-96.706-96.702-225.28-149.96-362.040-149.96s-265.334 53.258-362.040 149.96c-96.702 96.706-149.96 225.28-149.96 362.040s53.258 265.334 149.96 362.040c96.706 96.702 225.28 149.96 362.040 149.96s265.334-53.258 362.040-149.96c96.702-96.706 149.96-225.28 149.96-362.040s-53.258-265.334-149.96-362.040zM896 512c0 82.814-26.354 159.588-71.112 222.38l-535.266-535.268c62.792-44.758 139.564-71.112 222.378-71.112 211.738 0 384 172.262 384 384zM128 512c0-82.814 26.354-159.586 71.112-222.378l535.27 535.268c-62.794 44.756-139.568 71.11-222.382 71.11-211.738 0-384-172.262-384-384z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "blocked", - "forbidden", - "denied", - "banned" - ], - "defaultCode": 59394, - "grid": 16 - }, - "attrs": [], - "properties": { - "id": 9, - "order": 76, - "prevSize": 16, - "ligatures": "blocked, forbidden", - "name": "blocked", - "code": 59394 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 12 - }, - { - "icon": { - "paths": [ - "M576.032 448l-0.002 234.184c0 59.418-0.77 93.656 5.53 110.5 6.25 16.754 21.918 34.146 38.99 44.202 22.684 13.588 48.542 20.376 77.708 20.376 51.854 0 82.478-6.848 133.742-40.54v153.944c-43.7 20.552-81.866 32.594-117.324 40.922-35.5 8.242-73.86 12.406-115.064 12.406-46.828 0-74.456-5.886-110.41-17.656-35.958-11.868-66.66-28.806-92.020-50.54-25.45-21.922-43.022-45.208-52.848-69.832-9.826-24.636-14.716-60.414-14.716-107.244v-359.1h-137.426v-145.006c40.208-13.042 85.164-31.788 113.78-56.152 28.754-24.45 51.766-53.706 69.106-87.944 17.392-34.146 29.348-77.712 35.872-130.516h165.084l-0.002 255.996h255.968v192h-255.968z" - ], - "attrs": [ - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "tumblr" - ], - "defaultCode": 53, - "grid": 16 - }, - "attrs": [ - {} - ], - "properties": { - "order": 77, - "id": 10, - "prevSize": 16, - "code": 53, - "name": "tumblr", - "ligatures": "" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 13 - }, - { - "icon": { - "paths": [ - "M542.782 909.858c-16.217 16.217-42.544 16.217-58.861 0l-88.289-88.391c-0.2-0.2-0.1-0.601-0.2-0.801l-280.988-283.090c-16.316-16.217-16.316-42.544 0-58.861l88.289-88.391c16.316-16.316 42.644-16.316 58.961 0l252.058 253.861 530.043-529.943c16.217-16.316 42.644-16.316 58.961 0l88.289 88.391c16.417 16.316 16.417 42.644 0 58.961l-648.265 648.265z" - ], - "width": 1264, - "attrs": [ - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "checked" - ], - "defaultCode": 50, - "grid": 16 - }, - "attrs": [ - {} - ], - "properties": { - "order": 65, - "id": 11, - "prevSize": 16, - "code": 50, - "name": "checked", - "ligatures": "" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 14 - }, - { - "icon": { - "paths": [ - "M1001.185 48.731l-25.94-25.939-462.393 462.393-462.394-462.394-25.939 25.939 462.393 462.394-462.393 462.393 25.939 25.939 462.394-462.393 462.392 462.393 25.94-25.939-462.393-462.393z" - ], - "attrs": [ - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "close-x" - ], - "defaultCode": 49, - "grid": 16 - }, - "attrs": [ - {} - ], - "properties": { - "order": 66, - "id": 12, - "prevSize": 16, - "code": 49, - "name": "close-x", - "ligatures": "" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 15 - }, - { - "icon": { - "paths": [ - "M768 211.405h-146.227c-17.306 0-36.608 22.733-36.608 53.197v105.574h182.835v150.528h-182.835v452.096h-172.646v-452.045h-156.518v-150.579h156.518v-88.576c0-127.027 88.166-230.4 209.203-230.4h146.278v160.205z" - ], - "attrs": [ - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "facebook" - ], - "defaultCode": 102, - "grid": 16 - }, - "attrs": [ - {} - ], - "properties": { - "order": 67, - "id": 13, - "prevSize": 16, - "code": 102, - "name": "facebook", - "ligatures": "" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 16 - }, - { - "icon": { - "paths": [ - "M136.294 750.93c-75.196 0-136.292 61.334-136.292 136.076 0 75.154 61.1 135.802 136.292 135.802 75.466 0 136.494-60.648 136.494-135.802-0.002-74.742-61.024-136.076-136.494-136.076zM0.156 347.93v196.258c127.784 0 247.958 49.972 338.458 140.512 90.384 90.318 140.282 211.036 140.282 339.3h197.122c-0.002-372.82-303.282-676.070-675.862-676.070zM0.388 0v196.356c455.782 0 826.756 371.334 826.756 827.644h196.856c0-564.47-459.254-1024-1023.612-1024z" - ], - "attrs": [ - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "feed" - ], - "defaultCode": 114, - "grid": 16 - }, - "attrs": [ - {} - ], - "properties": { - "order": 68, - "id": 14, - "prevSize": 16, - "code": 114, - "name": "feed", - "ligatures": "" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 17 - }, - { - "icon": { - "paths": [ - "M101.888 286.157c0 76.442 25.549 131.686 75.878 164.096 41.216 26.573 89.088 30.566 113.971 30.566 6.042 0 10.854-0.256 14.234-0.461 0 0-7.885 51.354 30.208 102.195l-1.741-0.051c-65.997 0-281.293 13.824-281.293 190.822 0 180.070 197.734 189.184 237.363 189.184 3.123 0 4.915-0.051 4.915-0.051 0.461 0 3.277 0.102 8.090 0.102 25.446 0 91.238-3.174 152.371-32.922 79.258-38.451 119.501-105.421 119.501-198.912 0-90.368-61.235-144.128-105.984-183.45-27.29-23.962-50.893-44.646-50.893-64.768 0-20.48 17.203-35.891 39.014-55.398 35.226-31.539 68.506-76.442 68.506-161.331 0-74.65-9.677-124.723-69.325-156.467 6.246-3.174 28.211-5.478 39.117-7.014 32.307-4.403 79.565-9.421 79.565-35.789v-5.069h-235.418c-2.355 0.051-238.080 8.806-238.080 224.717zM481.946 747.622c4.506 71.987-57.088 125.133-149.555 131.84-93.901 6.912-171.264-35.379-175.77-107.366-2.15-34.56 13.005-68.403 42.752-95.386 30.208-27.29 71.578-44.134 116.685-47.514 5.325-0.307 10.598-0.563 15.872-0.563 86.886 0 145.766 51.098 150.016 118.989zM420.454 236.851c23.091 81.254-11.776 166.195-67.328 181.862-6.4 1.792-13.005 2.714-19.661 2.714-50.944 0-101.376-51.507-120.064-122.47-10.445-39.885-9.626-74.701 2.355-108.237 11.776-32.922 32.922-55.245 59.546-62.72 6.4-1.843 13.056-2.714 19.712-2.714 61.44 0 100.966 25.498 125.44 111.565zM817.203 413.798v-153.6h-97.28v153.6h-153.6v97.28h153.6v153.6h97.28v-153.6h153.6v-97.28h-153.6z" - ], - "attrs": [ - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "googleplus" - ], - "defaultCode": 103, - "grid": 16 - }, - "attrs": [ - {} - ], - "properties": { - "order": 69, - "id": 15, - "prevSize": 16, - "code": 103, - "name": "googleplus", - "ligatures": "" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 18 - }, - { - "icon": { - "paths": [ - "M965.536 241.344l-10.046 10.046-183.232-183.328 10.018-10.016c0 0 43.872-58.016 106.272-58.016 27.486 0 58.624 11.296 91.168 43.84 107.324 107.33-14.18 197.474-14.18 197.474zM895.328 311.584l-623.968 624.192-271.36 88.224 88.192-271.52v-0.096h0.064l623.874-624.16 8.062 8.098 175.136 175.262zM88.32 935.646l135.584-39.008-92.608-98.624-42.976 137.632z" - ], - "attrs": [ - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "pencil" - ], - "defaultCode": 52, - "grid": 16 - }, - "attrs": [ - {} - ], - "properties": { - "order": 70, - "id": 16, - "prevSize": 16, - "code": 52, - "name": "pencil", - "ligatures": "" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 19 - }, - { - "icon": { - "paths": [ - "M898.304 791.962l-193.485-193.485c29.184-47.974 45.978-104.192 45.978-164.454 0-174.899-151.603-326.502-326.554-326.502-174.899 0-316.723 141.824-316.723 316.723 0 174.95 151.552 326.554 326.502 326.554 58.163 0 112.64-15.77 159.488-43.162l194.509 194.56c19.098 19.046 49.92 19.046 68.915 0l48.282-48.23c18.995-19.046 12.083-43.008-6.912-62.003zM205.005 424.243c0-121.088 98.15-219.29 219.238-219.29 121.139 0 229.069 107.93 229.069 229.069s-98.15 219.29-219.29 219.29-229.018-107.93-229.018-229.069z" - ], - "attrs": [ - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "search" - ], - "defaultCode": 51, - "grid": 16 - }, - "attrs": [ - {} - ], - "properties": { - "order": 71, - "id": 17, - "prevSize": 16, - "code": 51, - "name": "search", - "ligatures": "" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 20 - }, - { - "icon": { - "paths": [ - "M983.040 219.802c-34.714 15.411-71.936 25.754-111.053 30.464 39.936-23.91 70.605-61.798 84.992-106.906-37.325 22.118-78.694 38.246-122.675 46.899-35.277-37.581-85.504-61.030-141.107-61.030-106.752 0-193.28 86.528-193.28 193.229 0 15.155 1.69 29.901 5.018 44.032-160.614-8.038-303.053-84.992-398.336-201.933-16.691 28.518-26.266 61.747-26.266 97.178 0 67.072 34.15 126.208 86.016 160.87-31.693-1.024-61.491-9.677-87.552-24.166 0 0.819 0 1.587 0 2.406 0 93.645 66.662 171.725 155.034 189.542-16.179 4.403-33.28 6.758-50.944 6.758-12.442 0-24.525-1.178-36.352-3.43 24.576 76.8 96 132.659 180.531 134.195-66.15 51.866-149.453 82.739-240.026 82.739-15.616 0-30.976-0.922-46.080-2.714 85.504 54.835 187.085 86.835 296.294 86.835 355.482 0 549.888-294.502 549.888-549.939 0-8.346-0.154-16.691-0.563-24.986 37.786-27.238 70.502-61.286 96.461-100.045z" - ], - "attrs": [ - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "twitter" - ], - "defaultCode": 116, - "grid": 16 - }, - "attrs": [ - {} - ], - "properties": { - "order": 72, - "id": 18, - "prevSize": 16, - "code": 116, - "name": "twitter", - "ligatures": "" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 21 - }, - { - "icon": { - "paths": [ - "M128 511.992c0 148.026 88.322 275.968 216.43 336.578l-183.178-488.784c-21.308 46.508-33.252 97.982-33.252 152.206zM771.228 493.128c0-46.234-17.054-78.236-31.654-103.142-19.458-30.82-37.72-56.894-37.72-87.716 0-34.374 26.766-66.376 64.486-66.376 1.704 0 3.32 0.204 4.976 0.302-68.316-60.97-159.34-98.196-259.308-98.196-134.16 0-252.186 67.046-320.844 168.568 9.010 0.282 17.506 0.454 24.712 0.454 40.154 0 102.34-4.752 102.34-4.752 20.69-1.182 23.132 28.434 2.458 30.822 0 0-20.81 2.368-43.952 3.55l139.834 405.106 84.044-245.456-59.822-159.65c-20.688-1.184-40.278-3.55-40.278-3.55-20.702-1.192-18.272-32.002 2.438-30.822 0 0 63.4 4.752 101.134 4.752 40.146 0 102.35-4.752 102.35-4.752 20.702-1.182 23.14 28.434 2.446 30.822 0 0-20.834 2.372-43.948 3.55l138.78 402.018 38.312-124.632c16.58-51.75 29.216-88.9 29.216-120.9zM518.742 544.704l-115.226 326.058c34.416 9.858 70.794 15.238 108.488 15.238 44.716 0 87.604-7.518 127.518-21.2-1.018-1.602-1.974-3.304-2.75-5.154l-118.030-314.942zM848.962 332.572c1.652 11.91 2.588 24.686 2.588 38.458 0 37.93-7.292 80.596-29.202 133.95l-117.286 330.272c114.162-64.828 190.938-185.288 190.938-323.258 0-65.030-17.060-126.16-47.038-179.422zM512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512 512-229.23 512-512-229.23-512-512-512zM512 960c-247.424 0-448-200.576-448-448s200.576-448 448-448 448 200.576 448 448-200.576 448-448 448z" - ], - "attrs": [ - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "wordpress" - ], - "defaultCode": 119, - "grid": 16 - }, - "attrs": [ - {} - ], - "properties": { - "order": 73, - "id": 19, - "prevSize": 16, - "code": 119, - "name": "wordpress", - "ligatures": "" - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 22 - }, - { - "icon": { - "paths": [ - "M959.884 128c0.040 0.034 0.082 0.076 0.116 0.116v767.77c-0.034 0.040-0.076 0.082-0.116 0.116h-895.77c-0.040-0.034-0.082-0.076-0.114-0.116v-767.772c0.034-0.040 0.076-0.082 0.114-0.114h895.77zM960 64h-896c-35.2 0-64 28.8-64 64v768c0 35.2 28.8 64 64 64h896c35.2 0 64-28.8 64-64v-768c0-35.2-28.8-64-64-64v0z", - "M832 288c0 53.020-42.98 96-96 96s-96-42.98-96-96 42.98-96 96-96 96 42.98 96 96z", - "M896 832h-768v-128l224-384 256 320h64l224-192z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "image", - "picture", - "photo", - "graphic" - ], - "grid": 16 - }, - "attrs": [], - "properties": { - "order": 79, - "prevSize": 16, - "ligatures": "image, picture", - "name": "image", - "id": 20, - "code": 59648 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 23 - }, - { - "icon": { - "paths": [ - "M64 512h384v128h-128v384h-128v-384h-128zM960 256h-251.75v768h-136.5v-768h-251.75v-128h640z" - ], - "attrs": [], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "font-size", - "wysiwyg" - ], - "grid": 16 - }, - "attrs": [], - "properties": { - "order": 80, - "prevSize": 16, - "ligatures": "font-size, wysiwyg3", - "name": "font-size", - "id": 21, - "code": 255 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 24 - }, - { - "icon": { - "paths": [ - "M384 928c0 53.019-42.981 96-96 96s-96-42.981-96-96c0-53.019 42.981-96 96-96s96 42.981 96 96z", - "M1024 928c0 53.019-42.981 96-96 96s-96-42.981-96-96c0-53.019 42.981-96 96-96s96 42.981 96 96z", - "M1024 512v-384h-768c0-35.346-28.654-64-64-64h-192v64h128l48.074 412.054c-29.294 23.458-48.074 59.5-48.074 99.946 0 70.696 57.308 128 128 128h768v-64h-768c-35.346 0-64-28.654-64-64 0-0.218 0.014-0.436 0.016-0.656l831.984-127.344z" - ], - "attrs": [ - {}, - {}, - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "cart", - "purchase", - "ecommerce", - "shopping" - ], - "grid": 16 - }, - "attrs": [ - {}, - {}, - {} - ], - "properties": { - "order": 14, - "id": 0, - "name": "cart, purchase, ecommerce, shopping", - "prevSize": 16, - "code": 277 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 25 - }, - { - "icon": { - "paths": [ - "M795.929 482.283c-53.762 0-97.234 43.682-97.234 97.234 0 12.81 10.5 23.311 23.311 23.311s23.311-10.5 23.311-23.311c0-27.931 22.891-50.822 50.822-50.822 12.81 0 23.311-10.5 23.311-23.311-0.21-12.81-10.71-23.101-23.521-23.101z", - "M954.485 415.29c-5.67-5.46-11.76-10.71-18.061-15.751v0l-86.103-73.083c-33.181-23.521-72.663-38.431-115.504-41.372l4.62 4.62-52.292-52.502h-0.42c-14.491-13.23-34.021-21.421-55.232-21.421-36.541 0-67.412 23.731-77.913 56.702-10.5-6.72-22.681-10.71-35.911-11.55-2.1-0.21-4.41-0.21-6.51-0.21-14.911 0-28.771 4.41-40.532 11.76-10.71-32.761-41.582-56.492-77.913-56.492-21.211 0-40.532 7.98-55.232 21.421h-0.42l-47.672 47.882c-42.842 2.94-82.533 18.061-115.504 41.372l-86.103 73.083c-6.3 4.83-12.39 10.080-18.061 15.751-43.052 41.582-69.723 99.754-69.723 164.226 0 126.005 102.484 228.488 228.488 228.488 116.344 0 212.738-87.573 226.598-200.347 16.801 9.66 36.331 15.121 56.912 15.121 20.791 0 40.111-5.46 56.912-15.121 14.071 112.564 110.254 200.137 226.598 200.137 126.005 0 228.488-102.484 228.488-228.488 0.21-64.472-26.461-122.645-69.513-164.226zM228.488 735.552c-86.103 0-155.826-69.723-155.826-155.826s69.723-155.826 155.826-155.826 155.826 69.723 155.826 155.826c0.21 85.893-69.723 155.826-155.826 155.826zM512.209 558.306c-27.931 0-50.612-22.681-50.612-50.612s22.681-50.612 50.612-50.612c27.931 0 50.612 22.681 50.612 50.612s-22.681 50.612-50.612 50.612zM795.929 735.552c-86.103 0-155.826-69.723-155.826-155.826s69.723-155.826 155.826-155.826 155.826 69.723 155.826 155.826c0 85.893-69.723 155.826-155.826 155.826z", - "M228.488 482.283c-53.762 0-97.234 43.682-97.234 97.234 0 12.81 10.5 23.311 23.311 23.311s23.311-10.5 23.311-23.311c0-27.931 22.891-50.822 50.822-50.822 12.81 0 23.311-10.5 23.311-23.311-0.21-12.81-10.71-23.101-23.521-23.101z" - ], - "attrs": [ - {}, - {}, - {} - ], - "isMulticolor": false, - "isMulticolor2": false, - "tags": [ - "binoculars (1)" - ], - "grid": 0 - }, - "attrs": [ - {}, - {}, - {} - ], - "properties": { - "order": 13, - "id": 2, - "name": "preview", - "prevSize": 32, - "code": 275 - }, - "setIdx": 0, - "setId": 1, - "iconIdx": 28 - } - ], - "height": 1024, - "metadata": { - "name": "wpmp_dashboard" - }, - "preferences": { - "showGlyphs": true, - "showQuickUse": true, - "showQuickUse2": true, - "showSVGs": true, - "fontPref": { - "prefix": "icon-", - "metadata": { - "fontFamily": "wpmp_dashboard", - "majorVersion": 1, - "minorVersion": 0 - }, - "metrics": { - "emSize": 1024, - "baseline": 6.25, - "whitespace": 50 - }, - "embed": false - }, - "imagePref": { - "prefix": "icon-", - "png": true, - "useClassSelector": true, - "color": 0, - "bgColor": 16777215, - "classSelector": ".icon" - }, - "historySize": 100, - "showCodes": true, - "gridSize": 16 - } -} \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.eot b/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.eot deleted file mode 100755 index ac1a457b..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.eot and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.otf b/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.otf deleted file mode 100755 index 0f3276ab..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.otf and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.svg b/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.svg deleted file mode 100755 index c8635f50..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.svg +++ /dev/null @@ -1,1449 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.ttf b/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.ttf deleted file mode 100755 index 4f51caba..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.ttf and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.woff b/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.woff deleted file mode 100755 index e65076fa..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-regular.woff and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.eot b/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.eot deleted file mode 100755 index e86df095..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.eot and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.otf b/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.otf deleted file mode 100755 index 34f2edec..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.otf and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.svg b/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.svg deleted file mode 100755 index 22b67624..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.svg +++ /dev/null @@ -1,1522 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.ttf b/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.ttf deleted file mode 100755 index cdc0d82d..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.ttf and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.woff b/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.woff deleted file mode 100755 index 32825d1e..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/acorde-semibold.woff and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.eot b/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.eot deleted file mode 100755 index 0c61bed5..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.eot and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.otf b/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.otf deleted file mode 100755 index f1ec52dc..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.otf and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.svg b/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.svg deleted file mode 100755 index 3647edf0..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.svg +++ /dev/null @@ -1,1021 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.ttf b/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.ttf deleted file mode 100755 index acfd177b..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.ttf and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.woff b/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.woff deleted file mode 100755 index 8f608990..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/ol-round-gothic-light.woff and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.eot b/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.eot deleted file mode 100755 index da780d7a..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.eot and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.otf b/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.otf deleted file mode 100755 index 784cf4d6..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.otf and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.svg b/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.svg deleted file mode 100755 index 800a03a3..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.svg +++ /dev/null @@ -1,1825 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.ttf b/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.ttf deleted file mode 100755 index b3a0b0c5..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.ttf and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.woff b/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.woff deleted file mode 100755 index 8b67923d..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/open-sans-regular.woff and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.eot b/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.eot deleted file mode 100755 index c4b25eef..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.eot and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.svg b/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.svg deleted file mode 100755 index ff082d05..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.svg +++ /dev/null @@ -1,1825 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.ttf b/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.ttf deleted file mode 100755 index 8866de2c..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.ttf and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.woff b/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.woff deleted file mode 100755 index 24e13150..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-italic.woff and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.eot b/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.eot deleted file mode 100755 index 0e97ec35..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.eot and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.svg b/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.svg deleted file mode 100755 index b09279b5..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.svg +++ /dev/null @@ -1,1825 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.ttf b/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.ttf deleted file mode 100755 index ab9167d7..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.ttf and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.woff b/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.woff deleted file mode 100755 index ab7e4a0c..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/opensans-semibold.woff and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.eot b/plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.eot deleted file mode 100755 index a0b2c7e5..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.eot and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.svg b/plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.svg deleted file mode 100755 index fe53a521..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.svg +++ /dev/null @@ -1,39 +0,0 @@ - - - -Generated by IcoMoon - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.ttf b/plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.ttf deleted file mode 100755 index 9df54077..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.ttf and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.woff b/plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.woff deleted file mode 100755 index c9c81b3e..00000000 Binary files a/plugins/wordpress-mobile-pack/admin/sass/fonts/wp-font.woff and /dev/null differ diff --git a/plugins/wordpress-mobile-pack/admin/sass/general.scss b/plugins/wordpress-mobile-pack/admin/sass/general.scss deleted file mode 100755 index 990f4803..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/general.scss +++ /dev/null @@ -1,34 +0,0 @@ -/**********************************************************************************************************************/ -/* -/* IMPORT MIXINS -/* -/**********************************************************************************************************************/ - -@import 'mixins/_mixins'; - -/**********************************************************************************************************************/ -/* -/* IMPORT CORE -/* -/**********************************************************************************************************************/ - -@import 'core/_fonts'; -@import 'core/_ie'; -@import 'core/_variables'; -@import 'core/_core'; -@import 'core/_forms'; -@import 'core/_buttons'; - -/**********************************************************************************************************************/ -/* -/* IMPORT MODULES -/* -/**********************************************************************************************************************/ - -@import 'modules/_content'; -@import 'modules/_settings'; -@import 'modules/_themes'; -@import 'modules/_look-and-feel'; -@import 'modules/_whats-new'; -@import 'modules/_pro'; -@import 'modules/_perfect-scrollbar'; diff --git a/plugins/wordpress-mobile-pack/admin/sass/mixins/_display.scss b/plugins/wordpress-mobile-pack/admin/sass/mixins/_display.scss deleted file mode 100755 index ad6e7673..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/mixins/_display.scss +++ /dev/null @@ -1,154 +0,0 @@ -@mixin wbz-display-box($important: no) { - @if $important == important{ - display: -webkit-box !important; - display: -ms-flexbox !important; - display: -moz-box !important; - display: box !important; - } - @else { - display: -webkit-box; - display: -ms-flexbox; - display: -moz-box; - display: box; - } -} -@mixin wbz-display-inline-box($important: no) { - @if $important == important{ - display: -webkit-inline-box !important; - display: -ms-inline-flexbox !important; - display: -moz-inline-box !important; - display: inline-flex !important; - } - @else { - display: -webkit-inline-box; - display: -ms-inline-flexbox; - display: -moz-inline-box; - display: inline-flex; - } -} -@mixin wbz-box-flex($flex: 1, $preferredSize: auto, $important: no) { - @if $important == important{ - -webkit-box-flex: $flex !important; - -ms-flex: $flex 0 $preferredSize !important; - -moz-box-flex: $flex !important; - box-flex: $flex !important; - flex: $flex 0 $preferredSize !important; - } - @else { - -webkit-box-flex: $flex; - -ms-flex: $flex 0 $preferredSize; - -moz-box-flex: $flex; - box-flex: $flex; - flex: $flex 0 $preferredSize; - } -} -@mixin wbz-box-orient($orient: horizontal, $important: no) { - @if $important == important { - -webkit-box-orient: $orient !important; - -moz-box-orient: $orient !important; - box-orient: $orient !important; - @if $orient == horizontal { - -ms-flex-direction: row !important; - flex-direction: row !important; - } @else { - -ms-flex-direction: column !important; - flex-direction: column !important; - } - } @else { - -webkit-box-orient: $orient; - -moz-box-orient: $orient; - box-orient: $orient; - @if $orient == horizontal { - -ms-flex-direction: row; - flex-direction: row; - } @else { - -ms-flex-direction: column; - flex-direction: column; - } - } -} -@mixin wbz-box-pack($pack: start, $important: no) { - @if $important == important { - -webkit-box-pack: $pack !important; - -moz-box-pack: $pack !important; - -ms-flex-pack: $pack !important; - box-pack: $pack !important; - @if $pack == start { - justify-content: flex-start !important; - } - @else if $pack == end { - justify-content: flex-end !important; - } - @else if $pack == justify { - justify-content: space-between !important; - } - @else { - justify-content: $pack !important; - } - } @else { - -webkit-box-pack: $pack; - -moz-box-pack: $pack; - -ms-flex-pack: $pack; - box-pack: $pack; - @if $pack == start { - justify-content: flex-start; - } - @else if $pack == end { - justify-content: flex-end; - } - @else if $pack == justify { - justify-content: space-between; - } - @else { - justify-content: $pack; - } - } -} -@mixin wbz-box-align($align: stretch, $important: no) { - @if $important == important{ - -webkit-box-align: $align!important; - -moz-box-align: $align!important; - -ms-flex-align: $align!important; - box-align: $align!important; - - @if $align == start { - align-items: flex-start!important; - } - @else if $align == end { - align-items: flex-end!important; - } - @else { - align-items: $align!important; - } - } - @else { - -webkit-box-align: $align; - -moz-box-align: $align; - -ms-flex-align: $align; - box-align: $align; - - @if $align == start { - align-items: flex-start; - } - @else if $align == end { - align-items: flex-end; - } - @else { - align-items: $align; - } - } -} -@mixin wbz-box-sizing($value, $important: no){ - @if $important == important{ - -webkit-box-sizing: $value !important; - -moz-box-sizing: $value !important; - box-sizing: $value !important; - } - @else { - -webkit-box-sizing: $value; - -moz-box-sizing: $value; - box-sizing: $value; - } -} - - diff --git a/plugins/wordpress-mobile-pack/admin/sass/mixins/_icon.scss b/plugins/wordpress-mobile-pack/admin/sass/mixins/_icon.scss deleted file mode 100755 index 48c405d5..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/mixins/_icon.scss +++ /dev/null @@ -1,59 +0,0 @@ -@mixin wbz-inline-icon($name, $font-size: 15px, $font-family: 'Appticles') { - $character: wbz-icon-character-for-name($name); - - &:before { - position: relative; - text-align: center; - font-family: $font-family!important; - font-size: $font-size!important; - font-weight: normal!important; - - @if $character { - content: "#{$character}"; - } @else { - content: "#{$name}"; - } - } -} - - -@function wbz-icon-character-for-name($name) { - - // Row 1 - @if ($name == "facebook") { @return "f"; } - @else if ($name == "twitter") { @return "t"; } - @else if ($name == "google-plus") { @return "g"; } - @else if ($name == "rss") { @return "r"; } - @else if ($name == "wordpress") { @return "w"; } - @else if ($name == "tumblr") { @return "\35"; } - @else if ($name == "youtube") {@return "\36"; } - @else if($name == "dfp") { @return "\37"; } - - @else if ($name == "close-x") { @return "\31"; } - @else if ($name == "active") { @return "\32"; } - @else if ($name == "preview") { @return "\113"; } - @else if ($name == "edit") { @return "\34"; } - - @else if($name == "apple") { @return "\e800"; } - @else if($name == "lock") { @return "\e801"; } - @else if($name == "blocked") { @return "\e802"; } - @else if($name == "airplane") { @return "\e803"; } - @else if($name == "cloud") { @return "\e804"; } - @else if($name == "stack") { @return "\e805"; } - @else if($name == "tablet") { @return "\e806"; } - @else if($name == "paint") { @return "\e807"; } - @else if($name == "shield") { @return "\e808"; } - @else if($name == "share") { @return "\e809"; } - - @else if($name == "coins") { @return "\e80a"; } - @else if($name == "headset") { @return "\e80b"; } - @else if($name == "pic") { @return "\e900"; } - - @else if ($name == "shopping") { @return "\115"; } - @else if($name == "notification") { @return "\e901"; } - - @else { - // @debug "#icon: icon with name '#{$name}' not found."; - @return false; - } -} diff --git a/plugins/wordpress-mobile-pack/admin/sass/mixins/_mixins.scss b/plugins/wordpress-mobile-pack/admin/sass/mixins/_mixins.scss deleted file mode 100755 index cdfd2dd2..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/mixins/_mixins.scss +++ /dev/null @@ -1,115 +0,0 @@ -/************************************************/ -/* import icon and display mixins files -/************************************************/ - -@import '_icon'; -@import '_display'; - -/************************************************/ -/* mixins for css3 animations -/************************************************/ - -@mixin wbz-transform-origin($value, $important: no) { - @if $important == important{ - -webkit-transform-origin: $value !important; - -moz-transform-origin: $value !important; - transform-origin: $value !important; - } - @else { - -webkit-transform-origin: $value; - -moz-transform-origin: $value; - transform-origin: $value; - } -} -@mixin wbz-transform($value, $important: no){ - @if $important == important{ - -webkit-transform: $value !important; - -moz-transform: $value !important; - transform: $value !important; - } - @else { - -webkit-transform: $value; - -moz-transform: $value; - transform: $value; - } -} -@mixin wbz-transition-timing($value, $important: no){ - @if $important == important{ - -webkit-transition-timing-function: $value !important; - -moz-transition-timing-function: $value !important; - transition-timing-function: $value !important; - } - @else { - -webkit-transition-timing-function: $value; - -moz-transition-timing-function: $value; - transition-timing-function: $value; - } -} -@mixin wbz-transition($value){ - -webkit-transition: $value; - -moz-transition: $value; - transition: $value; - -} - -/************************************************/ -/* other mixins -/************************************************/ -@mixin wbz-box-shadow($value, $important: no){ - @if $important == important{ - -webkit-box-shadow: $value !important; - -moz-box-shadow: $value !important; - box-shadow: $value !important; - } - @else { - -webkit-box-shadow: $value; - -moz-box-shadow: $value; - box-shadow: $value; - } -} -@mixin wbz-border-radius($value, $important: no){ - @if $important == important{ - -webkit-border-radius: $value !important; - -moz-border-radius: $value !important; - border-radius: $value !important; - } - @else { - -webkit-border-radius: $value; - -moz-border-radius: $value; - border-radius: $value; - } -} -@mixin wbz-opacity($value, $important: no){ - @if $important == important{ - filter: progid:DXImageTransform.Microsoft.Alpha(opacity=$value*100) !important; - -moz-opacity: $value !important; - opacity: $value !important; - } - @else { - filter: progid:DXImageTransform.Microsoft.Alpha(opacity=$value*100); - -moz-opacity: $value; - opacity: $value; - } -} -@mixin wbz-spacer($value){ - clear: both; - font-size: 1px; - height: $value; - line-height: 1px; - overflow: hidden; -} -@mixin wbz-placeholder-color($value){ - ::-webkit-input-placeholder { - color: $value; - } - :-moz-placeholder { - color: $value; - } - ::-moz-placeholder { - color: $value; - } - :-ms-input-placeholder { - color: $value; - } -} - diff --git a/plugins/wordpress-mobile-pack/admin/sass/modules/_content.scss b/plugins/wordpress-mobile-pack/admin/sass/modules/_content.scss deleted file mode 100755 index ce1cb44a..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/modules/_content.scss +++ /dev/null @@ -1,398 +0,0 @@ -#wmpack-admin{ - .content{ - display: table; - width:100%; - .left-side{ - width: 100%; - display: table; - vertical-align: top; - - .details{ - padding:30px; - background-color: $box-color; - - h2.title{ - font-family: 'OlRoundGothicLight', sans-serif; - font-size: 25px; - line-height: normal; - color: $base-text-color; - } - } - ul.categories{ - list-style-type: none; - width: 100%; - display: block; - - li{ - @include wbz-display-box(); - @include wbz-box-orient(horizontal); - @include wbz-box-align(center); - @include wbz-box-pack(justify); - @include wbz-box-flex(1); - background-color: #fcfcfc; - height: 64px; - width: 100%; - border-bottom: #f0f1f2 1px solid; - margin-bottom: 5px; - cursor: pointer; - vertical-align: middle; - - .row{ - @include wbz-display-box(); - @include wbz-box-orient(horizontal); - @include wbz-box-align(center); - height: 64px; - width: 90%; - vertical-align: middle; - } - - &:hover{ - background-color: lighten($base-blue,45%); - border-bottom: lighten($base-blue,41%) 1px solid; - @include wbz-display-box(); - @include wbz-box-orient(horizontal); - - a{ - &.edit{ - display:block; - } - &.delete{ - @include wbz-display-box(); - } - &[class^="icon-"]{ - .relative{ - .img{ - @include wbz-transform(translateY(30%) translateX(30%) scale(0.4)); - @include wbz-transition(all 0.3s ease-in-out); - } - } - } - } - } - .buttons{ - @include wbz-display-box(); - @include wbz-box-flex(1); - @include wbz-box-pack(end); - } - span, - a{ - font-family: 'AcordeRegular', sans-serif; - - &.status{ - @include wbz-display-box(); - font-size: 12px; - color: #8c8d8d; - width: 70px; - position: relative; - margin: 0 0 0 20px; - - &.active::before{ - content: ''; - @include wbz-display-box(); - position: absolute; - width: 19px; - height: 19px; - border: #fff 3px solid; - @include wbz-border-radius(19px); - background-color: $base-green; - left: -29px; - top: 1px; - } - &.inactive::before{ - content: ''; - @include wbz-display-box(); - position: absolute; - width: 19px; - height: 19px; - border: #fff 3px solid; - @include wbz-border-radius(19px); - background-color: darken($base-red,30%); - left: -29px; - top: 1px; - } - } - &.pic{ - @include wbz-display-box(); - @include wbz-border-radius(48px); - - width: 48px; - height: 48px; - margin: 0 20px 0 0; - - background-color: #cbdde2; - background-size: cover; - background-position: center; - - color: #ffffff; - - &.default { - @include wbz-inline-icon(pic, 24px); - - &::before{ - width: 48px; - height: 48px; - line-height: 48px; - position: absolute; - } - } - } - &.title{ - @include wbz-display-box(); - font-size: 15px; - color: $base-dark-blue; - text-transform: uppercase; - width: 300px; - } - &.posts{ - @include wbz-display-box(); - font-family: 'OpenSansItalic',sans-serif; - color: $base-p-color; - font-size: 15px; - margin-right: 30px; - @include wbz-box-flex(1); - @include wbz-box-pack(end); - } - &.edit{ - @include wbz-inline-icon(edit, 24px); - width: 63px; - height: 63px; - background: #cbdde2; - color: #ffffff; - border-left: 1px solid #e0edf1; - display: none; - position: relative; - &:hover{ - background: #d3e3e8; - } - &::before{ - width: 63px; - height: 63px; - line-height: 63px; - position: absolute; - } - } - &.delete{ - @include wbz-inline-icon(close-x, 24px); - width: 63px; - height: 63px; - background: #cbdde2; - color: #ffffff; - border-left: 1px solid #e0edf1; - display: none; - position: relative; - - &:hover{ - background: #d3e3e8; - } - &::before{ - width: 63px; - height: 63px; - line-height: 63px; - position: absolute; - } - } - &[class^="icon-"]{ - @include wbz-display-box(); - @include wbz-border-radius(48px); - width: 48px; - height: 48px; - margin: 0 20px 0 0; - - &::before{ - width: 48px; - height: 48px; - line-height: 48px; - } - .relative{ - display: block; - width: 0; - - .img{ - @include wbz-border-radius(48px); - @include wbz-display-box(); - @include wbz-transform(translateY(0%) scale(1)); - @include wbz-transition(all 0.3s ease-in-out); - width: 48px; - height: 48px; - left: 0px; - top: 0px; - position: absolute; - background-color: #ffffff; - @include wbz-box-shadow(inset 0 0 1px rgba(0,0,0,0.5)); - } - } - } - } - } - &.pages{ - li{ - span{ - &.title{ - - } - } - } - } - } - } - .branding-category { - - .custom-upload { - position: relative; - height: 36px; - width: 450px; - margin: 10px 0; - - &:hover{ - .fake-file{ - .btn{ - background: darken($base-grey, $darken-amounth/2); - border: 1px solid darken($base-grey, $darken-amounth); - } - input{ - outline:none; - border:1px solid darken($input-border,$darken-amounth); - } - } - } - .remove{ - position: absolute; - top: 8px; - right: 160px; - width: 16px; - height: 16px; - z-index: 3; - @include wbz-inline-icon(close-x, 9px); - color: #ffffff; - background: $base-color-darken; - @include wbz-border-radius(16px); - padding: 3px; - - &::before{ - top: -4px; - left: 0px; - display: block; - } - } - } - .custom-upload input[type=file] { - outline: none; - position: relative; - text-align: right; - @include wbz-opacity(0); - z-index: 2; - width: 430px; - height: 100%; - } - .custom-upload .fake-file { - position: relative; - top: -38px; - left: 0px; - width: 430px; - padding: 0; - margin: 0; - z-index: 1; - line-height: 100%; - @include wbz-display-box(); - - .btn{ - margin: 0px 0px 0px 10px; - } - } - .custom-upload .fake-file input { - width: 300px; - font-family: 'AcordeSemiBold', sans-serif; - color: $input-color; - font-size: $input-font-size; - margin: 0; - } - .display-icon{ - text-align: left; - height: 70px; - - .edit{ - margin: 20px 0 0 0; - vertical-align: middle; - text-align: center; - float: left; - } - .remove{ - display: inline-block; - margin: 28px 0 0 10px; - } - img{ - width: 120px; - height: auto; - display: inline-block; - margin: 0 25px; - float: left; - } - label{ - width: 100px; - display: inline; - float: left; - margin: 25px 0 0 0; - } - } - .cancel-link{ - position: relative; - - .cancel{ - position: absolute; - top: -39px; - right: -30px; - } - } - } - .button{ - margin:2px; - padding: 0px 8px 1px 8px; - - &.insert-media{ - color: #555; - background: #f7f7f7; - box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.08); - padding: 0px 7px 1px 5px; - margin: 0px 5px 4px 0px; - display: inline-block; - line-height: 26px; - font-size:13px; - } - } - .wp-switch-editor{ - color:#555; - height:20px; - background: #ebebeb; - border:1px solid #dedede; - font: 13px/19px "Open Sans", sans-serif; - margin: 5px 0 0 5px; - padding: 3px 8px 4px; - @include wbz-box-sizing(initial); - } - .wp-editor-wrap{ - min-width:100%; - textarea{ - width:100%; - height:auto; - } - &.tmce-active{ - .switch-tmce{ - background: #f5f5f5; - color: #555; - height: 20px; - border-bottom-color:#f5f5f5; - } - } - &.html-active { - .switch-html { - background: #f5f5f5; - color: #555; - height: 20px; - border-bottom-color:#f5f5f5; - } - } - } - - } - -} \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/modules/_look-and-feel.scss b/plugins/wordpress-mobile-pack/admin/sass/modules/_look-and-feel.scss deleted file mode 100755 index 43cd8c32..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/modules/_look-and-feel.scss +++ /dev/null @@ -1,287 +0,0 @@ -#wmpack-admin{ - .look-and-feel{ - display: table; - - .left-side{ - width: 100%; - display: table; - vertical-align: top; - - .details{ - padding:30px; - background-color: $box-color; - - h2.title{ - font-family: 'OlRoundGothicLight', sans-serif; - font-size: 25px; - line-height: normal; - color: $base-text-color; - } - .section-header{ - font-family: 'AcorderSemiBold', sans-serif; - font-size: 18px; - line-height: normal; - color: $base-dark-blue; - } - - .color-schemes{ - width: 50%; - float: left; - - .colors{ - display: table; - width: 260px; - height: 16px; - border: #daddde 1px solid; - - &.description{ - border: none; - font-family: 'AcordeRegular', sans-serif; - margin-left:56px; - } - - [class^="color-"]{ - display: table-cell; - height: 16px; - width: 27px; - text-align: center; - } - - [class^="color-custom-"]{ - background: #eeeff1; - border-right: 1px solid #fff; - cursor:pointer; - - &:last-child{ - border-right:none; - } - } - } - } - - .color-schemes-custom { - - .set { - width: 50%; - float: left; - margin-bottom: 10px; - - .wp-picker-container * { - @include wbz-box-sizing(content-box); - /*display: inherit;*/ - - .button { - margin-left: 6px; - @include wbz-box-sizing(border-box); - } - } - > label { - width: 100%; - } - } - } - - .font-chooser{ - - label { - position: relative; - display: inline-block; - width: 135px; - } - - .subtext { - font-size: 11px; - - a { - font-size: 11px; - } - } - } - - &.branding{ - label, p{ - font-family: 'AcordeRegular', sans-serif; - font-size: 15px; - line-height: normal; - color: darken($base-blue,50%); - - } - .custom-upload { - position: relative; - height: 36px; - width: 450px; - margin: 10px 0; - - &:hover{ - .fake-file{ - .btn{ - background: darken($base-grey, $darken-amounth/2); - border: 1px solid darken($base-grey, $darken-amounth); - } - input{ - outline:none; - border:1px solid darken($input-border,$darken-amounth); - } - } - } - .remove{ - position: absolute; - top: 8px; - right: 160px; - width: 16px; - height: 16px; - z-index: 3; - @include wbz-inline-icon(close-x, 9px); - color: #ffffff; - background: $base-color-darken; - @include wbz-border-radius(16px); - padding: 3px; - - &::before{ - top: -4px; - left: 0px; - display: block; - } - } - } - .custom-upload input[type=file] { - outline: none; - position: relative; - text-align: right; - @include wbz-opacity(0); - z-index: 2; - width: 430px; - height: 100%; - } - .custom-upload .fake-file { - position: relative; - top: -38px; - left: 0px; - width: 430px; - padding: 0; - margin: 0; - z-index: 1; - line-height: 100%; - @include wbz-display-box(); - - .btn{ - margin: 0px 0px 0px 10px; - } - } - .custom-upload .fake-file input { - width: 300px; - font-family: 'AcordeSemiBold', sans-serif; - color: $input-color; - font-size: $input-font-size; - margin: 0; - } - .display-logo{ - text-align: left; - height: 120px; - - .edit{ - margin: 47px 0 0 0; - vertical-align: middle; - text-align: center; - float: left; - } - .remove{ - display: inline-block; - margin: 55px 0 0 10px; - } - .img{ - width: 120px; - height: 120px; - display: inline-block; - margin: 0 25px; - float: left; - } - label{ - width: 100px; - display: inline; - float: left; - margin: 55px 0 0 0; - } - } - .display-icon{ - @include wbz-display-box(); - @include wbz-box-orient(horizontal); - @include wbz-box-pack(start); - @include wbz-box-align(center); - text-align: left; - height: 120px; - - .edit{ - margin: 47px 0 0 0; - vertical-align: middle; - text-align: center; - float: left; - } - .remove{ - display: inline-block; - margin: 55px 0 0 10px; - } - img{ - width: 120px; - height: 120px; - @include wbz-border-radius(120px); - @include wbz-box-shadow(inset 0 0 5px 1px rgba(0,0,0,0.1)); - display: inline-block; - margin: 0 25px; - float: left; - } - label{ - width: 100px; - display: inline; - float: left; - margin: 55px 0 0 0; - } - } - .cancel-link{ - position: relative; - - .cancel{ - position: absolute; - top: -39px; - right: -30px; - } - } - - .wp-switch-editor{ - color:#555; - height:20px; - background: #ebebeb; - border:1px solid #dedede; - font: 13px/19px "Open Sans", sans-serif; - margin: 5px 0 0 5px; - padding: 3px 8px 4px; - @include wbz-box-sizing(initial); - } - .wp-editor-wrap{ - width: 60%; - float: left; - textarea{ - width:100%; - } - &.tmce-active{ - .switch-tmce{ - background: #f5f5f5; - color: #555; - height: 20px; - border-bottom-color:#f5f5f5; - } - } - &.html-active { - .switch-html { - background: #f5f5f5; - color: #555; - height: 20px; - border-bottom-color:#f5f5f5; - } - } - } - } - } - } - } -} diff --git a/plugins/wordpress-mobile-pack/admin/sass/modules/_perfect-scrollbar.scss b/plugins/wordpress-mobile-pack/admin/sass/modules/_perfect-scrollbar.scss deleted file mode 100755 index 91d336f0..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/modules/_perfect-scrollbar.scss +++ /dev/null @@ -1,128 +0,0 @@ -/****************************/ -/* PERFECT SCROLLBAR */ - -.ps-container .ps-scrollbar-x-rail { - position: absolute; /* please don't change 'position' */ - bottom: 3px; /* there must be 'bottom' for ps-scrollbar-x-rail */ - height: 8px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - opacity: 0; - filter: alpha(opacity = 0); - -o-transition: background-color .2s linear, opacity .2s linear; - -webkit-transition: background-color .2s linear, opacity .2s linear; - -moz-transition: background-color .2s linear, opacity .2s linear; - transition: background-color .2s linear, opacity .2s linear; -} - -.ps-container:hover .ps-scrollbar-x-rail, -.ps-container.hover .ps-scrollbar-x-rail { - opacity: 0.6; - filter: alpha(opacity = 60); -} - -.ps-container .ps-scrollbar-x-rail:hover, -.ps-container .ps-scrollbar-x-rail.hover { - background-color: #eee; - opacity: 0.9; - filter: alpha(opacity = 90); -} - -.ps-container .ps-scrollbar-x-rail.in-scrolling { - background-color: #eee; - opacity: 0.9; - filter: alpha(opacity = 90); -} - -.ps-container .ps-scrollbar-y-rail { - position: absolute; /* please don't change 'position' */ - right: 3px; /* there must be 'right' for ps-scrollbar-y-rail */ - width: 8px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - opacity: 0; - filter: alpha(opacity = 0); - -o-transition: background-color .2s linear, opacity .2s linear; - -webkit-transition: background-color .2s linear, opacity .2s linear; - -moz-transition: background-color .2s linear, opacity .2s linear; - transition: background-color .2s linear, opacity .2s linear; -} - -.ps-container:hover .ps-scrollbar-y-rail, -.ps-container.hover .ps-scrollbar-y-rail { - opacity: 0.6; - filter: alpha(opacity = 60); -} - -.ps-container .ps-scrollbar-y-rail:hover, -.ps-container .ps-scrollbar-y-rail.hover { - background-color: #eee; - opacity: 0.9; - filter: alpha(opacity = 90); -} - -.ps-container .ps-scrollbar-y-rail.in-scrolling { - background-color: #eee; - opacity: 0.9; - filter: alpha(opacity = 90); -} - -.ps-container .ps-scrollbar-x { - position: absolute; /* please don't change 'position' */ - bottom: 0; /* there must be 'bottom' for ps-scrollbar-x */ - height: 8px; - background-color: #aaa; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -o-transition: background-color .2s linear; - -webkit-transition: background-color.2s linear; - -moz-transition: background-color .2s linear; - transition: background-color .2s linear; -} - -.ps-container.ie6 .ps-scrollbar-x { - font-size: 0; /* fixed scrollbar height in xp sp3 ie6 */ -} - -.ps-container .ps-scrollbar-x-rail:hover .ps-scrollbar-x, -.ps-container .ps-scrollbar-x-rail.hover .ps-scrollbar-x { - background-color: #999; -} - -.ps-container .ps-scrollbar-y { - position: absolute; /* please don't change 'position' */ - right: 0; /* there must be 'right' for ps-scrollbar-y */ - width: 8px; - background-color: #aaa; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -o-transition: background-color .2s linear; - -webkit-transition: background-color.2s linear; - -moz-transition: background-color .2s linear; - transition: background-color .2s linear; -} - -.ps-container.ie6 .ps-scrollbar-y { - font-size: 0; /* fixed scrollbar height in xp sp3 ie6 */ -} - -.ps-container .ps-scrollbar-y-rail:hover .ps-scrollbar-y, -.ps-container .ps-scrollbar-y-rail.hover .ps-scrollbar-y { - background-color: #999; -} - -.ps-container.ie .ps-scrollbar-x, -.ps-container.ie .ps-scrollbar-y { - visibility: hidden; -} - -.ps-container.ie:hover .ps-scrollbar-x, -.ps-container.ie:hover .ps-scrollbar-y, -.ps-container.ie.hover .ps-scrollbar-x, -.ps-container.ie.hover .ps-scrollbar-y { - visibility: visible; -} \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/admin/sass/modules/_pro.scss b/plugins/wordpress-mobile-pack/admin/sass/modules/_pro.scss deleted file mode 100755 index cc3b5647..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/modules/_pro.scss +++ /dev/null @@ -1,123 +0,0 @@ -#wmpack-admin{ - .pro{ - display: table; - - .left-side{ - width: 100%; - display: table; - vertical-align: top; - - .details{ - padding:30px; - background-color: $box-color; - - h1 { - font-family: 'OlRoundGothicLight', sans-serif; - font-size: 40px; - line-height: 40px; - color: $base-text-color; - text-align: center; - letter-spacing: 0.5px; - } - - h2, h3 { - text-align: center; - } - - .showcase{ - width: 671px; - margin: 0 auto; - } - - .package { - width: 30%; - float: left; - margin: 10px; - padding: 20px 0 10px 0; - background: #fffced; - - p { - text-align: center; - font-size:13px; - padding: 10px; - } - - .features-list{ - display: block; - margin: 0 auto; - width: 90%; - - > div { - padding: 10px 5px; - border-bottom: 1px solid #ededed; - font-family: 'OpenSansRegular', sans-serif; - font-size: 14px; - line-height: 22px; - - &:last-child{ - border-bottom: none; - } - span{ - display: block; - margin-top: 3px; - text-align: center; - } - } - } - - [class^="icon-"]{ - overflow: hidden; - line-height: 40px; - color: darken($base-color-darken, 20%); - - &::before{ - display: block; - margin: 0 auto; - } - } - - .icon-theming{ - @include wbz-inline-icon(paint, 33px); - } - - .icon-monetize{ - @include wbz-inline-icon(coins, 40px); - } - - .icon-notification{ - @include wbz-inline-icon(notification, 35px); - } - } - - .upgrade-btns { - - .btn { - margin: 0 auto; - width: 150px; - } - - .upgrade-subtext { - text-align: center; - margin-top: 10px; - - p, a{ - font-size: 13px; - line-height: normal; - } - - a { - text-decoration: underline; - } - - .save { - background-color: #66cc80; - border-radius: 50px; - color: white; - padding: 8px; - } - } - } - } - } - } -} diff --git a/plugins/wordpress-mobile-pack/admin/sass/modules/_settings.scss b/plugins/wordpress-mobile-pack/admin/sass/modules/_settings.scss deleted file mode 100755 index 3461a537..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/modules/_settings.scss +++ /dev/null @@ -1,40 +0,0 @@ -#wmpack-admin{ - .settings{ - display: table; - - .left-side{ - width: 100%; - display: table; - vertical-align: top; - - .details{ - padding: 30px; - background-color: $box-color; - - h2.title{ - font-family: 'OlRoundGothicLight', sans-serif; - font-size: 25px; - line-height: normal; - color: $base-text-color; - } - .display-mode{ - - p, label{ - font-family: 'AcordeRegular', sans-serif; - font-size:15px; - line-height: normal; - color: $base-text-color; - } - - .notices-container { - width: 465px; - - .notice { - max-width: 90%; - } - } - } - } - } - } -} diff --git a/plugins/wordpress-mobile-pack/admin/sass/modules/_themes.scss b/plugins/wordpress-mobile-pack/admin/sass/modules/_themes.scss deleted file mode 100755 index dbf0bce2..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/modules/_themes.scss +++ /dev/null @@ -1,275 +0,0 @@ -#wmpack-admin{ - .themes{ - display: table; - - .left-side{ - width: 100%; - display: table; - vertical-align: top; - - $theme-box-width: 195px; - $theme-box-height: 320px; - $theme-box-margin: 25px; - $theme-box-subsection-height: 41px; - - .corner{ - z-index: 1; - - &.active{ - .indicator{ - @include wbz-inline-icon(active, 11px); - color: #ffffff; - - top: 0px; - left: $theme-box-width - 44px; - - &::before{ - top: -40px; - right: 18px; - } - } - } - } - .details{ - padding:30px; - background-color: $box-color; - - h2.title{ - font-family: 'OlRoundGothicLight', sans-serif; - font-size: 25px; - line-height: normal; - color: $base-text-color; - } - .section-header{ - font-family: 'AcorderSemiBold', sans-serif; - font-size: 18px; - line-height: normal; - color: $base-dark-blue; - } - - .ribbon{ - float:right; - - .starred{ - background: url(../images/ribbon-premium.png); - width: 67px; - height: 68px; - position: absolute; - top: -35px; - right: -35px; - } - } - - &.theming{ - display: table; - width: 100%; - - h2.title { - text-align: center; - } - - .themes{ - display: block; - width: ($theme-box-width + $theme-box-margin) * 3 + 20; - margin: 0 auto; - - .theme{ - display: inline-block; - width: $theme-box-width; - height: $theme-box-height; - margin: 0 $theme-box-margin $theme-box-margin 0; - position: relative; - - &:nth-child(3){ - margin: 0; - } - - .name{ - font-family: 'AcordeRegular', sans-serif; - font-size: 16px; - color: $base-text-color; - background: $base-color-lighter; - height: $theme-box-subsection-height; - border-bottom: 1px solid #dce0e0; - padding: 10px; - text-transform: uppercase; - text-align: center; - } - .content{ - font-size: 14px; - color: $base-p-color; - height: $theme-box-subsection-height; - padding: 5px 5px; - text-align: center; - } - .image{ - background-size: cover; - background-repeat: no-repeat; - width: 100%; - height: $theme-box-height - $theme-box-subsection-height * 2; - overflow: hidden; - position: relative; - - &:hover{ - .overlay{ - visibility: visible; - @include wbz-transform(translateX(0%)); - @include wbz-opacity(1); - @include wbz-transition(all 0.3s ease-in-out); - } - } - } - .overlay{ - background: rgba(154,202,64,0.9); - position: absolute; - width: $theme-box-width; - height: $theme-box-height - $theme-box-subsection-height * 2; - text-align: center; - - @include wbz-transform(translateX(-100%)); - @include wbz-opacity(0); - @include wbz-transition(all 0.3s ease-in-out); - - .actions { - @include wbz-display-box(); - display: flex; - @include wbz-box-orient(horizontal); - @include wbz-box-align(center); - @include wbz-box-pack(center); - - .preview, .select { - color: #ffffff; - background: #333333; - @include wbz-border-radius(33px); - width: 33px; - height: 33px; - margin: 0 2px; - float: none; - - &:hover { - cursor: pointer; - background: lighten(#333333, 10%); - } - - &::before { - width: 33px; - height: 33px; - line-height: 33px; - } - } - - .preview { - @include wbz-inline-icon(preview, 20px); - } - - .select { - @include wbz-inline-icon(active, 14px); - } - } - - [class^="text"] { - font-family: "OpenSansSemiBold", sans-serif; - font-size: 13px; - color: #333333; - text-align: center; - } - } - span.price { - border-radius: 50px; - background: $base-orange; - color: #ffffff; - padding: 3px 5px; - } - &.premium{ - /*.corner{ - .indicator{ - background: url(../images/ribbon-premium.png); - width: 67px; - height: 68px; - position: absolute; - top: -4px; - right: -5px; - left: $theme-box-width - 62px; - } - }*/ - .overlay{ - background: rgba(#fdf7d3,0.9); - - .unlock{ - @include wbz-inline-icon(unlock, 17px); - color: #ffffff; - background: $base-orange; - @include wbz-border-radius(33px); - width: 33px; - height: 33px; - margin: 0 2px; - float: none; - - &:hover{ - cursor: pointer; - background: lighten($base-orange, 10%); - } - - &::before{ - width: 33px; - height: 33px; - top: 7px; - left: 0px; - } - } - .preview{ - background: $base-orange; - - &:hover{ - background: lighten($base-orange, 10%); - } - } - .text{ - font-family: "OpenSansSemiBold", sans-serif; - font-size: 13px; - color: $base-text-color; - text-align: center; - display: block; - - &:last-child{ - font-size: 12px; - font-family: "OpenSansRegular", sans-serif; - } - span{ - font-size: 15px; - color: $base-text-color; - display: block; - } - } - .btn{ - margin: 0 auto; - width: 150px; - } - .info{ - margin: 0 auto; - width: $input-size-smaller + $btn-size-smallest + 10px; - - input[type="text"]{ - float: left; - background: rgba(250,250,250,0.8); - } - .btn{ - float: left; - margin: 0 0 0 10px; - } - } - } - .content { - a.btn.smaller { - width: 100%; - line-height: normal; - } - } - } - } - } - } - } - } - } -} diff --git a/plugins/wordpress-mobile-pack/admin/sass/modules/_whats-new.scss b/plugins/wordpress-mobile-pack/admin/sass/modules/_whats-new.scss deleted file mode 100755 index 74a6bc5c..00000000 --- a/plugins/wordpress-mobile-pack/admin/sass/modules/_whats-new.scss +++ /dev/null @@ -1,107 +0,0 @@ -#wmpack-admin{ - .whats-new{ - display: table; - .left-side{ - width: 100%; - display: table; - vertical-align: top; - - - .details{ - padding:30px; - background-color: $box-color; - - &.waitlist { - padding-top: 0px; - - .waitlist-subscribe { - border: 2px dotted $base-green; - background: #f4f4f4; - padding: 20px; - margin: 0 20px 0 20px; - - p { - text-align: center; - } - - form { - float: none; - text-align: center; - - .error { - width: 220px; - margin: 0 auto; - } - - .btn { - margin: 0 auto; - } - } - } - .added { - margin: 0 auto; - } - } - - h1{ - font-family: 'OlRoundGothicLight', sans-serif; - font-size: 40px; - line-height: 40px; - color: $base-text-color; - text-align: center; - letter-spacing: 0.5px; - } - .upgrade-message{ - text-align: center; - } - h2.title{ - font-family: 'OlRoundGothicLight', sans-serif; - font-size: 25px; - line-height: normal; - color: $base-text-color; - } - .showcase{ - width: 671px; - margin: 0 auto; - } - - &.features { - - padding-bottom: 0px; - - .feature { - - margin-bottom: 30px; - - img { - width: 130px; - height: auto; - float: left; - margin: 20px 30px 0 0; - } - .text { - span { - font-family: "OpenSansRegular", sans-serif; - font-size: 14px; - color: $base-text-color; - - &.title { - display: block; - margin: 15px 0 8px 0; - font-size: 18px; - color: #333333; - } - } - } - &.right { - img { - float: right; - margin: 20px 0 0 30px; - } - } - } - } - } - } - } -} diff --git a/plugins/wordpress-mobile-pack/core/class-wmp.php b/plugins/wordpress-mobile-pack/core/class-wmp.php index 6a397744..652e139e 100755 --- a/plugins/wordpress-mobile-pack/core/class-wmp.php +++ b/plugins/wordpress-mobile-pack/core/class-wmp.php @@ -148,6 +148,10 @@ if ( ! class_exists( 'WMobilePack' ) ) { if (get_transient(WMobilePack_Options::$transient_prefix.'upgrade_theme_notice')){ echo '

🚀 '. WMP_PLUGIN_NAME .' now comes with mobile app theme Obliq V2.0 - faster, optimized and with an improved UI/UX. Make the switch here.

'; } + + // display notice to reupload icon + $this->display_icon_reupload_notice(); + } /** @@ -171,8 +175,30 @@ if ( ! class_exists( 'WMobilePack' ) ) { } } } - } + } + + /** + * + * Display icon reupload notice if icon is uploaded and manifest icon sizes are missing. + * + */ + public function display_icon_reupload_notice(){ + + $icon_filename = WMobilePack_Options::get_setting('icon'); + + if ($icon_filename == '') { + echo '

WP Mobile Pack: Upload an App Icon to take advantage of the Add To Home Screen functionality!

'; + + } elseif ($icon_filename != '' && file_exists(WMP_FILES_UPLOADS_DIR . $icon_filename)) { + foreach (WMobilePack_Uploads::$manifest_sizes as $manifest_size) { + if (!file_exists(WMP_FILES_UPLOADS_DIR . $manifest_size . $icon_filename)) { + echo '

WP Mobile Pack Version 3.1 comes with Add To Home Screen functionality which requires you to reupload your App Icon!

'; + return; + } + } + } + } /** * diff --git a/plugins/wordpress-mobile-pack/core/config.php b/plugins/wordpress-mobile-pack/core/config.php index ba7dc9cf..34953f84 100755 --- a/plugins/wordpress-mobile-pack/core/config.php +++ b/plugins/wordpress-mobile-pack/core/config.php @@ -1,6 +1,6 @@ $blog_name, + 'name' => $blog_name, + 'short_name' => $blog_name, 'start_url' => home_url(), 'display' => 'standalone', 'orientation' => 'any' @@ -130,30 +131,39 @@ if ( ! class_exists( 'WMobilePack_Export_Settings' ) ) { // load icon from the local settings and folder $icon_path = WMobilePack_Options::get_setting('icon'); - if ($icon_path != '') { + if ($icon_path != '' && $_GET['content'] == 'androidmanifest') { - $WMP_Uploads = $this->get_uploads_manager(); - $icon_path = $WMP_Uploads->get_file_url($icon_path); - } + $base_path = $icon_path; + $arr_manifest['icons'] = array(); + $WMP_Uploads = $this->get_uploads_manager(); - // set icon depending on the manifest file type - if ($icon_path != '') { + foreach (WMobilePack_Uploads::$manifest_sizes as $manifest_size) { - if ($_GET['content'] == 'androidmanifest') { + $icon_path = $WMP_Uploads->get_file_url($manifest_size . $base_path); - $arr_manifest['icons'] = array( - array( - "src" => $icon_path, - "sizes" => "192x192" - ) - ); + if ($icon_path != '') { + + $arr_manifest['icons'][] = array( + "src" => $icon_path, + "sizes" => $manifest_size . 'x' . $manifest_size, + "type" => "image/png" + ); + } + + } + } elseif ($icon_path != '') { + $WMP_Uploads = $this->get_uploads_manager(); + + $icon_path = $WMP_Uploads->get_file_url($icon_path); + + if ($icon_path != '') { + + $arr_manifest['icons'] = array( + '152' => $icon_path, + ); + } + } - } else { - $arr_manifest['icons'] = array( - '152' => $icon_path, - ); - } - } return json_encode($arr_manifest); diff --git a/plugins/wordpress-mobile-pack/export/class-export.php b/plugins/wordpress-mobile-pack/export/class-export.php index 98f91e14..9e2fb424 100755 --- a/plugins/wordpress-mobile-pack/export/class-export.php +++ b/plugins/wordpress-mobile-pack/export/class-export.php @@ -463,32 +463,6 @@ if ( ! class_exists( 'WMobilePack_Export' ) ) { return $comment_status; } - /** - * Filter for export_categories. - * It only retrieves categories with published, not password protected posts. - * - * @param $terms - * @param $taxonomies - * @param $args - */ - public function get_terms_filter($terms, $taxonomies, $args) - { - global $wpdb; - - $taxonomy = $taxonomies[0]; - if (!is_array($terms) && count($terms) < 1) - return $terms; - - $filtered_terms = array(); - foreach ($terms as $term){ - $result = $wpdb->get_var("SELECT * FROM $wpdb->posts p JOIN $wpdb->term_relationships rl ON p.ID = rl.object_id WHERE rl.term_taxonomy_id = $term->term_id AND p.post_type = 'post' AND p.post_status = 'publish' AND p.post_password = '' LIMIT 1"); - if (intval($result) > 0) - $filtered_terms[] = $term; - } - - return $filtered_terms; - } - /** * * The export_categories method is used for exporting every category with a fixed number of articles. @@ -566,11 +540,9 @@ if ( ! class_exists( 'WMobilePack_Export' ) ) { if (isset($_GET["withArticles"]) && is_numeric($_GET["withArticles"])) $with_articles = $_GET["withArticles"]; - // add the filter for exporting only categories with published posts - add_filter('get_terms', array($this, 'get_terms_filter'), 10, 3); // get categories that have posts - $categories = get_terms('category', 'hide_empty=1'); + $categories = get_categories(array('hide_empty' => 1)); // build array with the active categories ids $active_categories_ids = array(); @@ -606,9 +578,6 @@ if ( ! class_exists( 'WMobilePack_Export' ) ) { } } - // remove the filter for exporting only categories with published posts - remove_filter('get_terms', array($this, 'get_terms_filter'), 10); - // activate latest category only if we have at least 2 visible categories if (count($arr_categories) > 1) { @@ -697,6 +666,14 @@ if ( ! class_exists( 'WMobilePack_Export' ) ) { } } } + + foreach ($arr_categories as $key => $arr_category) { + if (!isset($arr_category['articles']) || empty($arr_category['articles'])) { + unset($arr_categories[$key]); + } + } + + $arr_categories = array_values($arr_categories); } if ($page && $rows) { @@ -1416,7 +1393,7 @@ if ( ! class_exists( 'WMobilePack_Export' ) ) { if (isset($_GET["page"]) && is_numeric($_GET["page"])) { $pagination = $_GET["page"]; } - + $rows = false; if (isset($_GET["rows"]) && is_numeric($_GET["rows"])){ diff --git a/plugins/wordpress-mobile-pack/frontend/class-application.php b/plugins/wordpress-mobile-pack/frontend/class-application.php index 42d1ac76..a4ef558a 100755 --- a/plugins/wordpress-mobile-pack/frontend/class-application.php +++ b/plugins/wordpress-mobile-pack/frontend/class-application.php @@ -437,7 +437,8 @@ if (!class_exists('WMobilePack_Application')) { 'posts_per_page', 'enable_facebook', 'enable_twitter', - 'enable_google' + 'enable_google', + 'service_worker_installed' ); $settings = array(); diff --git a/plugins/wordpress-mobile-pack/frontend/locales/bs_BA.json b/plugins/wordpress-mobile-pack/frontend/locales/bs_BA.json new file mode 100755 index 00000000..c92ac949 --- /dev/null +++ b/plugins/wordpress-mobile-pack/frontend/locales/bs_BA.json @@ -0,0 +1,52 @@ +{ + "APP_TEXTS": { + "LINKS": { + "VISIT_WEBSITE": "Posjeti sajt", + "VISIT_APP": "Promijeni na mobilnu verziju", + "HOME": "Poèetna", + "CREDITS": "Zahvalnica", + "CATEGORIES": "Kategorije", + "GO_TO": "Idi na", + "OTHERS": "Drugi", + "HEADLINES": "Naslovnice", + "INSIDE": "Unutra", + "MENU": "Meni", + "OPEN_APP": "OTVORI" + }, + "TEXTS": { + "NO_PAGES": "Nema stranica!", + "NO_CATEGORIES": "Nema kategorija!", + "NO_ARTICLES": "Nema postova!", + "NO_COMMENTS": "Nema komentara na ovaj post. Budite prvi koji æe komentarisati!", + "NO_COMMENTS_SHORT": "Nema komentara na ovaj post.", + "GOOGLE_ADS": "Google reklame", + "COMMENTS": "Komentari", + "LEAVE_COMMENTS": "Ostavi komentar", + "BY_AUTHOR": "od", + "LOADING": "Uèitavanje", + "LOAD_MORE": "Uèitaj još", + "LATEST": "Najnovije", + "PAGE": "Stranica", + "SWIPE_FOR_MORE": "Pritisni za još", + "SWIPE_TO_CONTINUE": "Pritisni da nastaviš", + "WEBSITE_CONFIRM": "Da li ste sigurni da želite pristupiti desktop verziji?" + }, + "PULL_REFRESH": { + "PULL_COMMENTS": "Povucite dole za više komentara", + "RELEASE": "Pustite za više komentara", + "LAST_UPDATED": "Zadnje ažurirano" + }, + "FORMS": { + "SEND": "Šalji", + "YOUR_NAME": "Vaše ime", + "YOUR_NAME_ERROR": "Molimo unesite Vaše ime!", + "YOUR_EMAIL": "Unesite E-mail adresu!", + "YOUR_EMAIL_ERROR": "Molimo unesite Vašu E-mail adresu", + "YOUR_EMAIL_ERROR2": "Molimo da unesete validnu E-mail adresu", + "YOUR_COMMENT": "Vaš komentar", + "YOUR_COMMENT_ERROR": "Molimo unesite komentar!", + "SUBMIT_ERROR": "Desila se greška. Molimo da pokušate kasnije.", + "AWAITING_MODERATION": "Vaš komentar èeka na moderiranje" + } + } +} diff --git a/plugins/wordpress-mobile-pack/frontend/locales/nl_NL.json b/plugins/wordpress-mobile-pack/frontend/locales/nl_NL.json index 64c5f340..c357e6ab 100755 --- a/plugins/wordpress-mobile-pack/frontend/locales/nl_NL.json +++ b/plugins/wordpress-mobile-pack/frontend/locales/nl_NL.json @@ -5,7 +5,7 @@ "VISIT_APP": "Ga naar mobiele versie", "HOME": "Startpagina", "CREDITS": "Over", - "CATEGORIES": "Categoriën", + "CATEGORIES": "Categorieën", "GO_TO": "Ga naar", "OTHERS": "Overige", "HEADLINES": "Headlines", diff --git a/plugins/wordpress-mobile-pack/frontend/themes/app1/template.php b/plugins/wordpress-mobile-pack/frontend/themes/app1/template.php index 36e73784..ba2b6bd0 100755 --- a/plugins/wordpress-mobile-pack/frontend/themes/app1/template.php +++ b/plugins/wordpress-mobile-pack/frontend/themes/app1/template.php @@ -155,6 +155,13 @@ if ($texts_json_exists === false) { + + + <?php echo get_bloginfo("name");?> + @@ -65,7 +66,13 @@ if ($texts_json_exists === false) { }; - + + + set('URI.AllowedSchemes', array('http' => true, 'https' => true, 'mailto' => true, 'news' => true, 'tel' => true, 'callto' => true, 'skype' => true, 'sms' => true, 'whatsapp' => true)); $config->set('HTML.SafeIframe', 1); - $config->set('URI.SafeIframeRegexp', "%^(https?:)?(http?:)?//(www\.youtube(?:-nocookie)?\.com/embed/|player.vimeo.com|www\.dailymotion.com|w.soundcloud.com|fast.wistia.net|fast.wistia.com|wi.st|flickrit.com|www.spreaker.com|spreaker.com|instagram.com|www.instagram.com|embed.spotify.com|play.spotify.com|spotify.com|player.youku.com|youku.com|maps.google.com)%"); + $config->set('URI.SafeIframeRegexp', "%^(https?:)?(http?:)?//(www\.youtube(?:-nocookie)?\.com/embed/|player.vimeo.com|www\.dailymotion.com|w.soundcloud.com|fast.wistia.net|fast.wistia.com|wi.st|flickrit.com|www.spreaker.com|spreaker.com|instagram.com|www.instagram.com|embed.spotify.com|play.spotify.com|spotify.com|player.youku.com|youku.com|maps.google.com|app.giggle-tourism.com)%"); // extend purifier $Html5Purifier = new WMPHtmlPurifier(); diff --git a/plugins/wordpress-mobile-pack/inc/class-wmp-options.php b/plugins/wordpress-mobile-pack/inc/class-wmp-options.php index b681a43e..4b4bdd23 100755 --- a/plugins/wordpress-mobile-pack/inc/class-wmp-options.php +++ b/plugins/wordpress-mobile-pack/inc/class-wmp-options.php @@ -66,7 +66,10 @@ if ( ! class_exists( 'WMobilePack_Options' ) ) { 'whats_new_last_updated' => 0, 'upgrade_notice_updated' => 0, // if we should display the upgrade notice 'upgrade_notice_last_updated' => 0, // upgrade timestamp - 'allow_tracking' => 0 + 'allow_tracking' => 0, + + // service worker related + 'service_worker_installed' => 0 ); @@ -83,7 +86,8 @@ if ( ! class_exists( 'WMobilePack_Options' ) ) { 'pt_BR' => 'pt-br', 'ro_RO' => 'ro', 'sv_SE' => 'sv', - 'zh_CN' => 'zh-cn' + 'zh_CN' => 'zh-cn', + 'bs_BA' => 'bs-ba' ); /* ----------------------------------*/ diff --git a/plugins/wordpress-mobile-pack/inc/class-wmp-uploads.php b/plugins/wordpress-mobile-pack/inc/class-wmp-uploads.php index e7f17afd..9ab024d9 100755 --- a/plugins/wordpress-mobile-pack/inc/class-wmp-uploads.php +++ b/plugins/wordpress-mobile-pack/inc/class-wmp-uploads.php @@ -1,250 +1,259 @@ - array( - 'max_width' => 120, - 'max_height' => 120, - 'extensions' => array('png') - ), - 'icon' => array( - 'max_width' => 256, - 'max_height' => 256, - 'extensions' => array('jpg', 'jpeg', 'png','gif') - ), - 'cover' => array( - 'max_width' => 1000, - 'max_height' => 1000, - 'extensions' => array('jpg', 'jpeg', 'png','gif') - ), - 'category_icon' => array( - 'max_width' => 500, - 'max_height' => 500, - 'extensions' => array('jpg', 'jpeg', 'png','gif') - ), - ); - - protected static $htaccess_template = 'frontend/sections/htaccess-template.txt'; - - /* ----------------------------------*/ - /* Methods */ - /* ----------------------------------*/ - - /** - * - * Define constants with the uploads dir paths - * - */ - public function define_uploads_dir() - { - $wp_uploads_dir = wp_upload_dir(); - - $wmp_uploads_dir = $wp_uploads_dir['basedir'] . '/' . WMP_DOMAIN . '/'; - - define('WMP_FILES_UPLOADS_DIR', $wmp_uploads_dir); - define('WMP_FILES_UPLOADS_URL', $wp_uploads_dir['baseurl'] . '/' . WMP_DOMAIN . '/'); - - add_action( 'admin_notices', array( $this, 'display_admin_notices' ) ); - } - - - /** - * - * Display uploads folder specific admin notices. - * - */ - public function display_admin_notices() - { - if (!current_user_can('manage_options')) { - return; - } - - // if the directory doesn't exist, display notice - if (!file_exists(WMP_FILES_UPLOADS_DIR)) { - echo '

Warning! The ' . WMP_PLUGIN_NAME . ' uploads folder does not exist: ' . WMP_FILES_UPLOADS_DIR . '

'; - return; - } - - if (!is_writable(WMP_FILES_UPLOADS_DIR)) { - echo '

Warning! The ' . WMP_PLUGIN_NAME . ' uploads folder is not writable: ' . WMP_FILES_UPLOADS_DIR . '

'; - return; - } - } - - - /** - * - * Create uploads folder - * - */ - public function create_uploads_dir() - { - - $wp_uploads_dir = wp_upload_dir(); - - $wmp_uploads_dir = $wp_uploads_dir['basedir'] . '/' . WMP_DOMAIN . '/'; - - // check if the uploads folder exists and is writable - if (file_exists($wp_uploads_dir['basedir']) && is_dir($wp_uploads_dir['basedir']) && is_writable($wp_uploads_dir['basedir'])) { - - // if the directory doesn't exist, create it - if (!file_exists($wmp_uploads_dir)) { - - mkdir($wmp_uploads_dir, 0777); - - // add .htaccess file in the uploads folder - $this->set_htaccess_file(); - } - } - } - - - /** - * - * Clean up the uploads dir when the plugin is uninstalled - * - */ - public function remove_uploads_dir() - { - - foreach (array('icon', 'logo', 'cover') as $image_type) { - - $image_path = WMobilePack_Options::get_setting($image_type); - $this->remove_uploaded_file($image_path); - } - - // remove categories images - $categories_details = WMobilePack_Options::get_setting('categories_details'); - - if (is_array($categories_details) && !empty($categories_details)) { - - foreach ($categories_details as $category_id => $category_details) { - - if (is_array($category_details) && array_key_exists('icon', $category_details)) { - $this->remove_uploaded_file($category_details['icon']); - } - } - } - - // remove compiled css file (if it exists) - $theme_timestamp = WMobilePack_Options::get_setting('theme_timestamp'); - - if ($theme_timestamp != ''){ - - if ( ! class_exists( 'WMobilePack_Themes_Compiler' ) && version_compare(PHP_VERSION, '5.3') >= 0 ) { - require_once(WMP_PLUGIN_PATH.'inc/class-wmp-themes-compiler.php'); - } - - if (class_exists('WMobilePack_Themes_Compiler')) { - - $wmp_themes = new WMobilePack_Themes_Compiler(); - $wmp_themes->remove_css_file($theme_timestamp); - } - } - - // remove htaccess file - $this->remove_htaccess_file(); - - // delete folder - rmdir(WMP_FILES_UPLOADS_DIR); - } - - - /** - * Check if a file path exists in the uploads folder and returns its url. - * - * @param $file_path - * @return string - */ - public function get_file_url($file_path){ - - if (file_exists(WMP_FILES_UPLOADS_DIR.$file_path)){ - return WMP_FILES_UPLOADS_URL.$file_path; - } - - return ''; - } - - /** - * Delete an uploaded file - * - * @param $file_path - * @return bool - * - */ - public function remove_uploaded_file($file_path){ - - // check the file exists and remove it - if ($file_path != ''){ - if (file_exists(WMP_FILES_UPLOADS_DIR.$file_path)) - return unlink(WMP_FILES_UPLOADS_DIR.$file_path); - } - } - - /** - * - * Create a .htaccess file with rules for compressing and caching static files for the plugin's upload folder - * (css, images) - * - * @return bool - * - */ - protected function set_htaccess_file() - { - $file_path = WMP_FILES_UPLOADS_DIR.'.htaccess'; - - if (!file_exists($file_path)){ - - if (is_writable(WMP_FILES_UPLOADS_DIR)){ - - $template_path = WMP_PLUGIN_PATH.self::$htaccess_template; - - if (file_exists($template_path)){ - - $fp = @fopen($file_path, "w"); - fwrite($fp, file_get_contents($template_path)); - fclose($fp); - - return true; - } - } - } - - return false; - } - - /** - * - * Remote .htaccess file with rules for compressing and caching static files for the plugin's upload folder - * (css, images) - * - * @return bool - * - */ - protected function remove_htaccess_file() - { - - $file_path = WMP_FILES_UPLOADS_DIR.'.htaccess'; - - if (file_exists($file_path)){ - unlink($file_path); - } - } - } -} \ No newline at end of file + array( + 'max_width' => 120, + 'max_height' => 120, + 'extensions' => array('png') + ), + 'icon' => array( + 'max_width' => 256, + 'max_height' => 256, + 'extensions' => array('jpg', 'jpeg', 'png','gif') + ), + 'cover' => array( + 'max_width' => 1000, + 'max_height' => 1000, + 'extensions' => array('jpg', 'jpeg', 'png','gif') + ), + 'category_icon' => array( + 'max_width' => 500, + 'max_height' => 500, + 'extensions' => array('jpg', 'jpeg', 'png','gif') + ), + ); + + public static $manifest_sizes = array(48, 96, 144, 196); + + protected static $htaccess_template = 'frontend/sections/htaccess-template.txt'; + + /* ----------------------------------*/ + /* Methods */ + /* ----------------------------------*/ + + /** + * + * Define constants with the uploads dir paths + * + */ + public function define_uploads_dir() + { + $wp_uploads_dir = wp_upload_dir(); + + $wmp_uploads_dir = $wp_uploads_dir['basedir'] . '/' . WMP_DOMAIN . '/'; + + define('WMP_FILES_UPLOADS_DIR', $wmp_uploads_dir); + define('WMP_FILES_UPLOADS_URL', $wp_uploads_dir['baseurl'] . '/' . WMP_DOMAIN . '/'); + + add_action( 'admin_notices', array( $this, 'display_admin_notices' ) ); + } + + + /** + * + * Display uploads folder specific admin notices. + * + */ + public function display_admin_notices() + { + if (!current_user_can('manage_options')) { + return; + } + + // if the directory doesn't exist, display notice + if (!file_exists(WMP_FILES_UPLOADS_DIR)) { + echo '

Warning! The ' . WMP_PLUGIN_NAME . ' uploads folder does not exist: ' . WMP_FILES_UPLOADS_DIR . '

'; + return; + } + + if (!is_writable(WMP_FILES_UPLOADS_DIR)) { + echo '

Warning! The ' . WMP_PLUGIN_NAME . ' uploads folder is not writable: ' . WMP_FILES_UPLOADS_DIR . '

'; + return; + } + } + + + /** + * + * Create uploads folder + * + */ + public function create_uploads_dir() + { + + $wp_uploads_dir = wp_upload_dir(); + + $wmp_uploads_dir = $wp_uploads_dir['basedir'] . '/' . WMP_DOMAIN . '/'; + + // check if the uploads folder exists and is writable + if (file_exists($wp_uploads_dir['basedir']) && is_dir($wp_uploads_dir['basedir']) && is_writable($wp_uploads_dir['basedir'])) { + + // if the directory doesn't exist, create it + if (!file_exists($wmp_uploads_dir)) { + + mkdir($wmp_uploads_dir, 0777); + + // add .htaccess file in the uploads folder + $this->set_htaccess_file(); + } + } + } + + + /** + * + * Clean up the uploads dir when the plugin is uninstalled + * + */ + public function remove_uploads_dir() + { + + foreach (array('icon', 'logo', 'cover') as $image_type) { + + $image_path = WMobilePack_Options::get_setting($image_type); + + if ($image_path != '' && $image_type == 'icon') { + foreach (self::$manifest_sizes as $manifest_size) { + $this->remove_uploaded_file($manifest_size . $image_path); + } + } + + $this->remove_uploaded_file($image_path); + } + + // remove categories images + $categories_details = WMobilePack_Options::get_setting('categories_details'); + + if (is_array($categories_details) && !empty($categories_details)) { + + foreach ($categories_details as $category_id => $category_details) { + + if (is_array($category_details) && array_key_exists('icon', $category_details)) { + $this->remove_uploaded_file($category_details['icon']); + } + } + } + + // remove compiled css file (if it exists) + $theme_timestamp = WMobilePack_Options::get_setting('theme_timestamp'); + + if ($theme_timestamp != ''){ + + if ( ! class_exists( 'WMobilePack_Themes_Compiler' ) && version_compare(PHP_VERSION, '5.3') >= 0 ) { + require_once(WMP_PLUGIN_PATH.'inc/class-wmp-themes-compiler.php'); + } + + if (class_exists('WMobilePack_Themes_Compiler')) { + + $wmp_themes = new WMobilePack_Themes_Compiler(); + $wmp_themes->remove_css_file($theme_timestamp); + } + } + + // remove htaccess file + $this->remove_htaccess_file(); + + // delete folder + rmdir(WMP_FILES_UPLOADS_DIR); + } + + + /** + * Check if a file path exists in the uploads folder and returns its url. + * + * @param $file_path + * @return string + */ + public function get_file_url($file_path){ + + if (file_exists(WMP_FILES_UPLOADS_DIR.$file_path)){ + return WMP_FILES_UPLOADS_URL.$file_path; + } + + return ''; + } + + /** + * Delete an uploaded file + * + * @param $file_path + * @return bool + * + */ + public function remove_uploaded_file($file_path){ + + // check the file exists and remove it + if ($file_path != ''){ + if (file_exists(WMP_FILES_UPLOADS_DIR.$file_path)) + return unlink(WMP_FILES_UPLOADS_DIR.$file_path); + } + } + + /** + * + * Create a .htaccess file with rules for compressing and caching static files for the plugin's upload folder + * (css, images) + * + * @return bool + * + */ + protected function set_htaccess_file() + { + $file_path = WMP_FILES_UPLOADS_DIR.'.htaccess'; + + if (!file_exists($file_path)){ + + if (is_writable(WMP_FILES_UPLOADS_DIR)){ + + $template_path = WMP_PLUGIN_PATH.self::$htaccess_template; + + if (file_exists($template_path)){ + + $fp = @fopen($file_path, "w"); + fwrite($fp, file_get_contents($template_path)); + fclose($fp); + + return true; + } + } + } + + return false; + } + + /** + * + * Remote .htaccess file with rules for compressing and caching static files for the plugin's upload folder + * (css, images) + * + * @return bool + * + */ + protected function remove_htaccess_file() + { + + $file_path = WMP_FILES_UPLOADS_DIR.'.htaccess'; + + if (file_exists($file_path)){ + unlink($file_path); + } + } + } +} diff --git a/plugins/wordpress-mobile-pack/readme.txt b/plugins/wordpress-mobile-pack/readme.txt index 10429d7e..b3e72cf9 100755 --- a/plugins/wordpress-mobile-pack/readme.txt +++ b/plugins/wordpress-mobile-pack/readme.txt @@ -3,7 +3,7 @@ Contributors: jamesgpearce, andreatrasatti, edent, cborodescu, anghelalexandra Tags: android, iOS, html5, iphone, mobile, mobile internet, mobile web, mobile web app, responsive ui, safari, sencha touch, smartphone, webkit, progressive web apps, app builder, apple, apps, convert to app, create blog app, ios app, ipad, make an app, mobile app plugin, mobile application, mobile blog app, mobile converter, mobile plugin, native app plugin, app theme, website to mobile app, WordPress android, WordPress app, WordPress iphone, WordPress mobile, WordPress mobile app Requires at least: 3.6 Tested up to: 4.7.3 -Stable tag: 3.0 +Stable tag: 3.1 License: GPLv2 or later Mobile plugin to package your content into a progressive web app, build a hybrid mobile app and submit it to App Stores. Multiple mobile app themes. @@ -157,6 +157,10 @@ There are almost 50,000 plugins in the WordPress.org repository. It's impossible == Changelog == += 3.1 = +* Implemented Add to Home Screen functionality +* Translated app in Bosnian (bs_BA) + = 3.0 = * New Obliq mobile app theme, built on AngularJS & Ionic 1 * Refactor "App Themes" tab @@ -396,8 +400,8 @@ Two major issues were introduced in beta 1, now solved: == Upgrade Notice == -= 3.0 = -* WordPress Mobile Pack packages your content into a progressive web app or a hybrid mobile app that can submitted to App Stores. The latest version comes with a brand new Obliq theme, built on Angular JS & Ionic 1. += 3.1 = +* WordPress Mobile Pack packages your content into a progressive web app or a hybrid mobile app that can be submitted to App Stores. The latest version comes with Add to Home Screen functionality, your users will now be prompted to add your web app to their home screen. == Screenshots == diff --git a/plugins/wordpress-mobile-pack/sw.js b/plugins/wordpress-mobile-pack/sw.js new file mode 100755 index 00000000..87b286af --- /dev/null +++ b/plugins/wordpress-mobile-pack/sw.js @@ -0,0 +1,5 @@ +self.addEventListener('fetch', function(event) { + + event.respondWith(fetch(event.request)); + +}); \ No newline at end of file diff --git a/plugins/wordpress-mobile-pack/wordpress-mobile-pack.php b/plugins/wordpress-mobile-pack/wordpress-mobile-pack.php index 7cb92297..a84ae410 100755 --- a/plugins/wordpress-mobile-pack/wordpress-mobile-pack.php +++ b/plugins/wordpress-mobile-pack/wordpress-mobile-pack.php @@ -5,8 +5,8 @@ * Description: WordPress Mobile Pack 3.0+ is a mobile plugin that helps you transform your WordPress-based content (posts/articles, categories, pages) into a progressive web application. It comes with multiple mobile app themes and extensions that you can purchase individually or as a bundle. * Author: WPMobilePack.com * Author URI: https://wpmobilepack.com/ - * Version: 3.0 - * Copyright (c) 2009 - 2015 James Pearce, mTLD Top Level Domain Limited, ribot, Forum Nokia, Appticles.com + * Version: 3.1 + * Copyright (c) 2009 - 2017 James Pearce, mTLD Top Level Domain Limited, ribot, Forum Nokia, Appticles.com * License: The WordPress Mobile Pack is Licensed under the Apache License, Version 2.0 * Text Domain: wordpress-mobile-pack */ @@ -49,7 +49,7 @@ if (class_exists( 'WMobilePack' ) && class_exists( 'WMobilePack' )) { add_action('wp_ajax_wmp_theme_switch', array( &$wmobile_pack_ajax, 'theme_switch' ) ); add_action('wp_ajax_wmp_theme_settings', array(&$wmobile_pack_ajax, 'theme_settings')); - add_action('wp_ajax_wmp_theme_editimages', array(&$wmobile_pack_ajax, 'theme_editimages')); + add_action('wp_ajax_wmp_theme_editimages', array(&$wmobile_pack_ajax, 'theme_editimages')); add_action('wp_ajax_wmp_content_status', array(&$wmobile_pack_ajax, 'content_status')); add_action('wp_ajax_wmp_content_pagedetails', array(&$wmobile_pack_ajax, 'content_pagedetails')); -- cgit v1.2.3-18-g5258