diff --git a/assets/dev/scss/admin/_global.scss b/assets/dev/scss/admin/_global.scss index 67004ebc6bf7..8203f438c7ee 100644 --- a/assets/dev/scss/admin/_global.scss +++ b/assets/dev/scss/admin/_global.scss @@ -26,7 +26,7 @@ .wp-menu-image { &:before { - content: '\e1037'; + content: '\e8ff'; font-family: eicons; font-size: 18px; } diff --git a/assets/dev/scss/admin/_new-template-dialog.scss b/assets/dev/scss/admin/_new-template-dialog.scss index 0aca6eb5e4f6..81c16d3fa8bd 100644 --- a/assets/dev/scss/admin/_new-template-dialog.scss +++ b/assets/dev/scss/admin/_new-template-dialog.scss @@ -116,7 +116,7 @@ &:after { font-family: eicons; - content: '\e955'; + content: '\e8ad'; position: absolute; top: 50%; @include end(10px); diff --git a/assets/dev/scss/editor/_global.scss b/assets/dev/scss/editor/_global.scss index e9ae54aa8409..db50a5a8ca29 100644 --- a/assets/dev/scss/editor/_global.scss +++ b/assets/dev/scss/editor/_global.scss @@ -129,14 +129,14 @@ &:hover { &:before { - content: '\e965'; + content: '\e8b7'; } } &:active { &:before { - content: '\e964'; + content: '\e8b6'; } } } diff --git a/assets/dev/scss/editor/_templates-modal.scss b/assets/dev/scss/editor/_templates-modal.scss index 3a0f59312ac2..c4df7b0cd7b6 100644 --- a/assets/dev/scss/editor/_templates-modal.scss +++ b/assets/dev/scss/editor/_templates-modal.scss @@ -69,7 +69,7 @@ $remote-templates-items-space: 30px; font-size: 18px; &:before { - content: getValueByDirection( '\e908', '\e907' ); + content: getValueByDirection( '\e87e', '\e87d' ); } } } @@ -137,7 +137,7 @@ $remote-templates-items-space: 30px; &:after { font-family: eicons; - content: '\e956'; + content: '\e8ae'; @include margin-start(3px); } } @@ -147,7 +147,7 @@ $remote-templates-items-space: 30px; + .elementor-template-library-order-label { &:after { - content: '\e955'; + content: '\e8ad'; } } } @@ -278,13 +278,11 @@ label.elementor-template-library-order-label { width: 200px; position: relative; - &:after { - content: '\e863'; + i { position: absolute; top: 50%; @include end(0); transform: translateY(-50%); - font-family: eicons; } } diff --git a/assets/dev/scss/editor/editor-preview.scss b/assets/dev/scss/editor/editor-preview.scss index c3fe4c36017a..5d189dc602d8 100644 --- a/assets/dev/scss/editor/editor-preview.scss +++ b/assets/dev/scss/editor/editor-preview.scss @@ -221,7 +221,7 @@ html.elementor-html { .eicon-edit { &:before { - content: '\e1040'; + content: '\e902'; } } } diff --git a/assets/dev/scss/editor/navigator/navigator.scss b/assets/dev/scss/editor/navigator/navigator.scss index 7e822a661c31..6e1582165c17 100644 --- a/assets/dev/scss/editor/navigator/navigator.scss +++ b/assets/dev/scss/editor/navigator/navigator.scss @@ -83,11 +83,14 @@ .elementor-navigator { &__item { + position: relative; display: flex; - height: 32px; - font-size: 12px; + height: 30px; + font-size: 11px; border-bottom: 1px solid $editor-background; cursor: pointer; + transition: padding .5s linear; + overflow: hidden; &:not(.elementor-active) { @@ -173,7 +176,7 @@ &:not(:hover) { - .elementor-navigator__element__toggle, .elementor-navigator__element__indicators { + .elementor-navigator__element__toggle { display: none; } } @@ -225,9 +228,23 @@ } &__toggle { - text-align: $end; + position: absolute; + @include end(15px); + height: 100%; + z-index: 0; font-size: 13px; - padding: 0 10px; + } + + &__indicators { + position: relative; + transition: transform .5s; + background-color: #fff; + @include padding-start(5px); + z-index: 91; + + &:not(:hover) { + transform: translateX(calc(100% - 8px)); + } } &__indicator { @@ -248,10 +265,6 @@ } } - &__indicators { - background-color: #fff; - } - &--hidden { .elementor-navigator__element__title, diff --git a/assets/dev/scss/editor/panel/_categories.scss b/assets/dev/scss/editor/panel/_categories.scss index 87099be92758..230dede518d0 100644 --- a/assets/dev/scss/editor/panel/_categories.scss +++ b/assets/dev/scss/editor/panel/_categories.scss @@ -42,7 +42,7 @@ cursor: pointer; &:before { - content: getValueByDirection( '\e907', '\e908' ); + content: getValueByDirection( '\e87d', '\e87e' ); font-family: eicons; position: absolute; @include end(0); diff --git a/assets/dev/scss/editor/panel/_control.scss b/assets/dev/scss/editor/panel/_control.scss index 3e68db1914e9..9b4fc49c7c98 100644 --- a/assets/dev/scss/editor/panel/_control.scss +++ b/assets/dev/scss/editor/panel/_control.scss @@ -179,7 +179,7 @@ &:after { font-family: eicons; - content: '\e955'; + content: '\e8ad'; font-size: 12px; position: absolute; top: 50%; diff --git a/core/common/modules/ajax/module.php b/core/common/modules/ajax/module.php index e609b4413ef9..2c0a25350b44 100644 --- a/core/common/modules/ajax/module.php +++ b/core/common/modules/ajax/module.php @@ -255,7 +255,17 @@ private function send_success() { ], ]; - echo wp_json_encode( $response ); + $json = wp_json_encode( $response ); + + if ( function_exists( 'gzencode' ) ) { + header( 'Content-Type: application/json; charset=utf-8' ); + + header( 'Content-Encoding: gzip' ); + + echo gzencode( $json ); + } else { + echo $json; + } wp_die( '', '', [ 'response' => null ] ); } diff --git a/core/common/modules/finder/categories/create.php b/core/common/modules/finder/categories/create.php index 35ea96a913c4..d34f1d7dad1f 100644 --- a/core/common/modules/finder/categories/create.php +++ b/core/common/modules/finder/categories/create.php @@ -60,7 +60,7 @@ public function get_category_items( array $options = [] ) { $items[ $post_type ] = [ /* translators: %s the title of the post type */ 'title' => sprintf( __( 'Add New %s', 'elementor' ), $post_type_object->labels->singular_name ), - 'icon' => 'plus-circle', + 'icon' => 'plus-circle-o', 'url' => $url, 'keywords' => [ 'post', 'page', 'template', 'new', 'create' ], ]; diff --git a/includes/editor-templates/templates.php b/includes/editor-templates/templates.php index 9b40ef2cafa9..4b8248338690 100644 --- a/includes/editor-templates/templates.php +++ b/includes/editor-templates/templates.php @@ -99,6 +99,7 @@