Initial Commit N° : 003 - V.4.3.5
@@ -9,7 +9,9 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.updated.woocommerce-message, .updated.settings-error, .updated.rs-update-notice-wrap{
|
||||
.updated.woocommerce-message,
|
||||
.updated.settings-error,
|
||||
.updated.rs-update-notice-wrap{
|
||||
display: none;
|
||||
}
|
||||
#of_container,
|
||||
@@ -29,19 +31,19 @@
|
||||
-webkit-border-radius: 6px 6px 0 0;
|
||||
-moz-border-radius: 6px 6px 0 0;
|
||||
border-radius: 6px 6px 0 0;
|
||||
background-image: -ms-linear-gradient(top,#f9f9f9,#ececec);
|
||||
background-image: -moz-linear-gradient(top,#f9f9f9,#ececec);
|
||||
background-image: -o-linear-gradient(top,#f9f9f9,#ececec);
|
||||
background-image: -webkit-gradient(linear,left top,left bottom,from(#f9f9f9),to(#ececec));
|
||||
background-image: -webkit-linear-gradient(top,#f9f9f9,#ececec);
|
||||
background-image: linear-gradient(top,#f9f9f9,#ececec);
|
||||
background-image: -ms-linear-gradient(top, #f9f9f9, #ececec);
|
||||
background-image: -moz-linear-gradient(top, #f9f9f9, #ececec);
|
||||
background-image: -o-linear-gradient(top, #f9f9f9, #ececec);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ececec));
|
||||
background-image: -webkit-linear-gradient(top, #f9f9f9, #ececec);
|
||||
background-image: linear-gradient(top, #f9f9f9, #ececec);
|
||||
-moz-box-shadow: inset 0 1px 0 #fff;
|
||||
-webkit-box-shadow: inset 0 1px 0 #fff;
|
||||
box-shadow: inset 0 1px 0 #fff;
|
||||
}
|
||||
#of_container #header .logo-options {
|
||||
float: left;
|
||||
margin:10px 20px;
|
||||
/* float: left; */
|
||||
margin: 5px 15px;
|
||||
}
|
||||
#of_container #js-warning {
|
||||
color: red;
|
||||
@@ -49,15 +51,57 @@
|
||||
margin: 20px 10px;
|
||||
width: 330px;
|
||||
}
|
||||
#of_container ul,#of_container ol {margin: 0;}
|
||||
#of_container ul,#of_container ol {
|
||||
margin: 0;
|
||||
}
|
||||
.js #of_container #js-warning {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#of_container #header .logo-options h2 {
|
||||
display:inline-block;
|
||||
font-style:normal;
|
||||
padding-right:5px;
|
||||
font-style: normal;
|
||||
/* padding-right:5px; */
|
||||
}
|
||||
.op-sys-btns {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
}
|
||||
.op-sys-btns .btn {
|
||||
text-decoration: none;
|
||||
-webkit-transition: all 350ms ease;
|
||||
-moz-transition: all 350ms ease;
|
||||
-o-transition: all 350ms ease;
|
||||
transition: all 350ms ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
font-size: 13px;
|
||||
height: 35px;
|
||||
background-color: #0085BA;
|
||||
border: none;
|
||||
color: #fff;
|
||||
border-radius: 4px;
|
||||
padding: 0 15px 1px 15px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
outline: none;
|
||||
}
|
||||
.op-sys-btns .btn:hover {
|
||||
background-color: rgba(0, 91, 186, 0.9);
|
||||
}
|
||||
.op-sys-btns .btn:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
.heading-t-options {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 40px;
|
||||
margin-bottom: 0;
|
||||
margin-top: 15px;
|
||||
height: 40px;
|
||||
justify-content: space-between;
|
||||
}
|
||||
#of_container #header .logo-options span {
|
||||
color:#888888;
|
||||
@@ -68,6 +112,7 @@
|
||||
width: 32px;
|
||||
background: url(../images/icon_option.png) no-repeat;
|
||||
margin:20px 30px 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#of_container #info_bar {
|
||||
@@ -75,7 +120,7 @@
|
||||
border:solid #d8d8d8;
|
||||
border-bottom:1px solid #D8D8D8;
|
||||
border-width:0px 1px 1px 1px;
|
||||
padding: 6px 10px 6px 6px;
|
||||
padding: 10px 15px 10px 6px;
|
||||
height: 31px;
|
||||
text-align: right;
|
||||
-moz-box-shadow: inset 0 1px 0 #fcfcfc;
|
||||
@@ -83,7 +128,7 @@
|
||||
box-shadow: inset 0 1px 0 #fcfcfc;
|
||||
}
|
||||
|
||||
#of_container #expand_options{
|
||||
#of_container #expand_options {
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
height: 22px;
|
||||
@@ -296,12 +341,12 @@
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
background-color: #F1F1F1;
|
||||
background-image: -ms-linear-gradient(top,#f9f9f9,#ececec);
|
||||
background-image: -moz-linear-gradient(top,#f9f9f9,#ececec);
|
||||
background-image: -o-linear-gradient(top,#f9f9f9,#ececec);
|
||||
background-image: -webkit-gradient(linear,left top,left bottom,from(#f9f9f9),to(#ececec));
|
||||
background-image: -webkit-linear-gradient(top,#f9f9f9,#ececec);
|
||||
background-image: linear-gradient(top,#f9f9f9,#ececec);
|
||||
background-image: -ms-linear-gradient(top, #f9f9f9, #ececec);
|
||||
background-image: -moz-linear-gradient(top, #f9f9f9, #ececec);
|
||||
background-image: -o-linear-gradient(top, #f9f9f9, #ececec);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ececec));
|
||||
background-image: -webkit-linear-gradient(top, #f9f9f9, #ececec);
|
||||
background-image: linear-gradient(top, #f9f9f9, #ececec);
|
||||
overflow: hidden;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
@@ -549,29 +594,22 @@ label.radio, label.multicheck {
|
||||
font-size: 120%;
|
||||
text-align:center;
|
||||
overflow: hidden;
|
||||
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
|
||||
|
||||
bottom: 10%;
|
||||
left: 50%;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
|
||||
-webkit-transform: translate(-50%,0);
|
||||
-moz-transform: translate(-50%, 0);
|
||||
-o-transform: translate(-50%, 0);
|
||||
-ms-transform: translate(-50%, 0);
|
||||
transform: translate(-50%, 0);
|
||||
|
||||
|
||||
-webkit-transition: all 350ms ease;
|
||||
-moz-transition: all 350ms ease;
|
||||
-o-transition: all 350ms ease;
|
||||
transition: all 350ms ease;
|
||||
|
||||
-webkit-box-shadow: 0 2.6px 3.6px rgba(0, 0, 0, 0.052), 0 7.3px 10px rgba(0, 0, 0, 0.075), 0 17.5px 24.1px rgba(0, 0, 0, 0.098), 0 58px 80px rgba(0, 0, 0, 0.15);
|
||||
-moz-box-shadow: 0 2.6px 3.6px rgba(0, 0, 0, 0.052), 0 7.3px 10px rgba(0, 0, 0, 0.075), 0 17.5px 24.1px rgba(0, 0, 0, 0.098), 0 58px 80px rgba(0, 0, 0, 0.15);
|
||||
box-shadow: 0 2.6px 3.6px rgba(0, 0, 0, 0.052), 0 7.3px 10px rgba(0, 0, 0, 0.075), 0 17.5px 24.1px rgba(0, 0, 0, 0.098), 0 58px 80px rgba(0, 0, 0, 0.15);
|
||||
@@ -699,7 +737,6 @@ label.radio, label.multicheck {
|
||||
float:right; margin-top:10px;
|
||||
}
|
||||
|
||||
|
||||
#of_container .save_bar {
|
||||
background: #fff;
|
||||
border: 1px solid #ccc;
|
||||
@@ -753,15 +790,6 @@ label.radio, label.multicheck {
|
||||
margin-bottom:9px;
|
||||
}
|
||||
|
||||
#of_container .of-uploaded-image {
|
||||
|
||||
/* display: inline-block; */
|
||||
|
||||
/* padding: 0; */
|
||||
|
||||
/* margin: 0; */
|
||||
}
|
||||
|
||||
#of_container .of-option-image {
|
||||
max-width:340px;
|
||||
padding: 5px;
|
||||
@@ -776,7 +804,7 @@ label.radio, label.multicheck {
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
font-family: "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
|
||||
font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
|
||||
font-size: 12px;
|
||||
background: #F1F1F1 url(../images/select.png) no-repeat right center;
|
||||
border-color: #CCC #E6E6E6 #E6E6E6 #CCC;
|
||||
@@ -1576,3 +1604,10 @@ select option[disabled] {
|
||||
margin-left: 15px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
@media (max-width: 1199px){
|
||||
.op-sys-btns,
|
||||
#search_otp {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 25 KiB |
@@ -5,6 +5,8 @@ function elessi_get_content_custom_css($nasa_opt = array()) {
|
||||
ob_start();
|
||||
?><style><?php
|
||||
echo '@charset "UTF-8";' . "\n";
|
||||
|
||||
$head_type = isset($nasa_opt['header-type']) && $nasa_opt['header-type'] ? $nasa_opt['header-type'] : '';
|
||||
|
||||
/**
|
||||
* Start font style
|
||||
@@ -425,6 +427,7 @@ function elessi_get_content_custom_css($nasa_opt = array()) {
|
||||
#dokan-store-listing-filter-form-wrap .apply-filter #apply-filter-btn,
|
||||
.nasa-search-all,
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid,
|
||||
.nasa-modern-10 .product-item .add-to-cart-grid,
|
||||
.nasa-modern-6 .product-item .add-to-cart-grid,
|
||||
.nasa-modern-7 .product-item .add-to-cart-grid
|
||||
{
|
||||
@@ -456,6 +459,7 @@ function elessi_get_content_custom_css($nasa_opt = array()) {
|
||||
.add_to_cart:hover,
|
||||
.nasa-search-all:hover,
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid:hover,
|
||||
.nasa-modern-10 .product-item .add-to-cart-grid:hover,
|
||||
.nasa-modern-6 .product-item .add-to-cart-grid:hover,
|
||||
.nasa-modern-7 .product-item .add-to-cart-grid:hover
|
||||
{
|
||||
@@ -479,6 +483,7 @@ function elessi_get_content_custom_css($nasa_opt = array()) {
|
||||
.widget.widget_archive li.nasa-li-filter-size a,
|
||||
.nasa-search-all,
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid,
|
||||
.nasa-modern-10 .product-item .add-to-cart-grid,
|
||||
.nasa-modern-6 .product-item .add-to-cart-grid,
|
||||
.nasa-modern-7 .product-item .add-to-cart-grid,
|
||||
body .nasa-static-sidebar .btn-mini-cart .woocommerce-mini-cart__buttons a.checkout,
|
||||
@@ -522,6 +527,7 @@ function elessi_get_content_custom_css($nasa_opt = array()) {
|
||||
.widget.widget_archive li.nasa-li-filter-size:hover a,
|
||||
.nasa-search-all:hover,
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid:hover,
|
||||
.nasa-modern-10 .product-item .add-to-cart-grid:hover,
|
||||
.nasa-modern-6 .product-item .add-to-cart-grid:hover,
|
||||
.nasa-modern-7 .product-item .add-to-cart-grid:hover
|
||||
{
|
||||
@@ -557,6 +563,7 @@ function elessi_get_content_custom_css($nasa_opt = array()) {
|
||||
input[type="submit"]:hover,
|
||||
.nasa-search-all:hover,
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid:hover .add_to_cart_text,
|
||||
.nasa-modern-10 .product-item .add-to-cart-grid:hover .add_to_cart_text,
|
||||
.nasa-modern-6 .product-item .add-to-cart-grid:hover .add_to_cart_text,
|
||||
.nasa-modern-7 .product-item .add-to-cart-grid:hover .add_to_cart_text
|
||||
{
|
||||
@@ -601,6 +608,7 @@ function elessi_get_content_custom_css($nasa_opt = array()) {
|
||||
body a.dokan-btn-theme,
|
||||
body .dokan-btn-theme,
|
||||
body .nasa-modern-2 .product-item .add-to-cart-grid,
|
||||
body .nasa-modern-10 .product-item .add-to-cart-grid,
|
||||
body .nasa-modern-6 .product-item .add-to-cart-grid,
|
||||
body .nasa-modern-7 .product-item .add-to-cart-grid,
|
||||
body .group-btn-in-list .add-to-cart-grid .add_to_cart_text,
|
||||
@@ -646,6 +654,7 @@ function elessi_get_content_custom_css($nasa_opt = array()) {
|
||||
body a.dokan-btn-theme,
|
||||
body .dokan-btn-theme,
|
||||
body .nasa-modern-2 .product-item .add-to-cart-grid,
|
||||
body .nasa-modern-10 .product-item .add-to-cart-grid,
|
||||
body .nasa-modern-6 .product-item .add-to-cart-grid,
|
||||
body .nasa-modern-7 .product-item .add-to-cart-grid
|
||||
{
|
||||
@@ -800,7 +809,7 @@ function elessi_get_content_custom_css($nasa_opt = array()) {
|
||||
$text_color_hover = (isset($nasa_opt['text_color_hover_header']) && $nasa_opt['text_color_hover_header']) ? $nasa_opt['text_color_hover_header'] : '';
|
||||
$text_color_hover_stk = (isset($nasa_opt['text_color_hover_header_stk']) && $nasa_opt['text_color_hover_header_stk']) ? $nasa_opt['text_color_hover_header_stk'] : '';
|
||||
|
||||
echo elessi_get_style_header_color($bg_color, $text_color, $text_color_hover, $bg_color_stk, $text_color_stk, $text_color_hover_stk);
|
||||
echo elessi_get_style_header_color($bg_color, $text_color, $text_color_hover, $bg_color_stk, $text_color_stk, $text_color_hover_stk, $head_type);
|
||||
|
||||
/**
|
||||
* Color of main menu
|
||||
@@ -812,7 +821,7 @@ function elessi_get_content_custom_css($nasa_opt = array()) {
|
||||
// $text_color_hover = (isset($nasa_opt['text_color_hover_main_menu']) && $nasa_opt['text_color_hover_main_menu']) ? $nasa_opt['text_color_hover_main_menu'] : '';
|
||||
// $text_color_hover_stk = (isset($nasa_opt['text_color_hover_main_menu_stk']) && $nasa_opt['text_color_hover_main_menu_stk']) ? $nasa_opt['text_color_hover_main_menu_stk'] : '';
|
||||
|
||||
echo elessi_get_style_main_menu_color($bg_color, $text_color, $bg_color_stk, $text_color_stk);
|
||||
echo elessi_get_style_main_menu_color($bg_color, $text_color, $bg_color_stk, $text_color_stk, $head_type);
|
||||
|
||||
/**
|
||||
* Color of vertical menu
|
||||
@@ -831,8 +840,7 @@ function elessi_get_content_custom_css($nasa_opt = array()) {
|
||||
$bg_color = (isset($nasa_opt['bg_color_topbar']) && $nasa_opt['bg_color_topbar']) ? $nasa_opt['bg_color_topbar'] : '';
|
||||
$text_color = (isset($nasa_opt['text_color_topbar']) && $nasa_opt['text_color_topbar']) ? $nasa_opt['text_color_topbar'] : '';
|
||||
$text_color_hover = (isset($nasa_opt['text_color_hover_topbar']) && $nasa_opt['text_color_hover_topbar']) ? $nasa_opt['text_color_hover_topbar'] : '';
|
||||
|
||||
echo elessi_get_style_topbar_color($bg_color, $text_color, $text_color_hover);
|
||||
echo elessi_get_style_topbar_color($bg_color, $text_color, $text_color_hover, $head_type);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -46,15 +46,28 @@ global $nasa_opt;
|
||||
|
||||
<div id="header">
|
||||
<div class="logo-options">
|
||||
<h2>
|
||||
<h2 class="heading-t-options">
|
||||
<?php esc_html_e('Theme Options', 'elessi-theme'); ?>
|
||||
|
||||
<?php
|
||||
$class_doc = (!isset($nasa_opt['white_lbl']) || !$nasa_opt['white_lbl']) ? 'nasa-online-doc' : 'nasa-online-doc hidden-tag';
|
||||
?>
|
||||
<a href="<?php echo esc_url(ELESSI_ADMIN_DOCS); ?>" target="_blank" style="text-decoration: none; margin-left: 10px;" class="<?php echo esc_attr($class_doc); ?>">
|
||||
<?php esc_html_e('Click Here To View Online Documentation', 'elessi-theme'); ?>
|
||||
</a>
|
||||
<span class="op-sys-btns<?php echo (isset($nasa_opt['white_lbl']) && $nasa_opt['white_lbl']) ? ' hidden-tag' : ''; ?>">
|
||||
<a href="<?php echo esc_url(ELESSI_ADMIN_DOCS); ?>" target="_blank" class="btn" title="Online Documentation">
|
||||
<svg width="17" height="17" viewBox="0 -3 64 64" fill="currentColor">
|
||||
<path d="M60,52V4c0-2.211-1.789-4-4-4H14v51v3h42v8H10c-2.209,0-4-1.791-4-4s1.791-4,4-4h2v-3V0H8 C5.789,0,4,1.789,4,4v54c0,3.313,2.687,6,6,6h49c0.553,0,1-0.447,1-1s-0.447-1-1-1h-1v-8C59.104,54,60,53.104,60,52z M23,14h12 c0.553,0,1,0.447,1,1s-0.447,1-1,1H23c-0.553,0-1-0.447-1-1S22.447,14,23,14z M42,28H23c-0.553,0-1-0.447-1-1s0.447-1,1-1h19 c0.553,0,1,0.447,1,1S42.553,28,42,28z M49,22H23c-0.553,0-1-0.447-1-1s0.447-1,1-1h26c0.553,0,1,0.447,1,1S49.553,22,49,22z"/>
|
||||
</svg> Online Documentation
|
||||
</a>
|
||||
|
||||
<a href="<?php echo esc_url(ELESSI_ADMIN_INSTALL); ?>" target="_blank" class="btn" title="Theme Installation Service">
|
||||
<svg height="18" width="18" viewBox="0 0 26 26" fill="currentColor"><path d="M22.934,11.19V8.705l-2.955-0.482c-0.176-0.699-0.45-1.357-0.813-1.961l1.723-2.456l-1.756-1.755 l-2.424,1.743c-0.604-0.366-1.267-0.646-1.971-0.82l-0.516-2.941h-2.484L11.26,2.965c-0.706,0.173-1.371,0.448-1.977,0.812 L6.866,2.051L5.11,3.806l1.7,2.431C6.442,6.846,6.163,7.51,5.985,8.22L3.066,8.705v2.484l2.916,0.516 c0.176,0.71,0.456,1.375,0.824,1.985l-1.723,2.409l1.756,1.757l2.434-1.704c0.608,0.365,1.271,0.642,1.977,0.815l0.488,2.934 h2.484l0.521-2.941c0.701-0.178,1.363-0.457,1.967-0.824l2.451,1.721l1.755-1.757l-1.749-2.429 c0.362-0.604,0.637-1.263,0.811-1.964L22.934,11.19z M13,13.431c-1.913,0-3.464-1.55-3.464-3.464c0-1.912,1.551-3.463,3.464-3.463 s3.463,1.551,3.463,3.463C16.464,11.881,14.913,13.431,13,13.431z"/><path d="M24,18.967v4c0,0.551-0.448,1-1,1H3c-0.552,0-1-0.449-1-1v-4H0v4c0,1.656,1.344,3,3,3h20 c1.656,0,3-1.344,3-3v-4H24z"/>
|
||||
</svg> Theme Installation Service
|
||||
</a>
|
||||
|
||||
<a href="<?php echo esc_url(ELESSI_ADMIN_CTSV); ?>" target="_blank" class="btn" title="Customization Service">
|
||||
<svg width="22" height="22" viewBox="0 0 20 20" fill="currentColor">
|
||||
<path d="M18 16V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h13c.55 0 1-.45 1-1zM8 11h1c.55 0 1 .45 1 1s-.45 1-1 1H8v1.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V13H6c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V11zm5-2h-1c-.55 0-1-.45-1-1s.45-1 1-1h1V5.5c0-.28.22-.5.5-.5s.5.22.5.5V7h1c.55 0 1 .45 1 1s-.45 1-1 1h-1v5.5c0 .28-.22.5-.5.5s-.5-.22-.5-.5V9z"/>
|
||||
</svg> Customization Service
|
||||
</a>
|
||||
</span>
|
||||
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -136,7 +136,7 @@ function elessi_framework_options_page() {
|
||||
* @since 1.0.0
|
||||
*/
|
||||
function of_style_only() {
|
||||
wp_enqueue_style('nasa-theme-admin-style', ELESSI_ADMIN_DIR_URI . 'assets/css/admin-style.css', array(), '6.1.7');
|
||||
wp_enqueue_style('nasa-theme-admin-style', ELESSI_ADMIN_DIR_URI . 'assets/css/admin-style.css', array(), '6.3.4');
|
||||
wp_enqueue_style('jquery-ui-custom-admin', ELESSI_ADMIN_DIR_URI . 'assets/css/jquery-ui-custom.css');
|
||||
|
||||
if (!wp_style_is('wp-color-picker', 'registered')) {
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
function nasa_wpb_footer_hand_tool() {
|
||||
|
||||
$imgs_1 = elessi_import_upload('/elementor/wp-content/uploads/2024/10/checkout-support-logo.png', '1698', array(
|
||||
'post_title' => 'checkout-support-logo',
|
||||
'post_name' => 'checkout-support-logo',
|
||||
));
|
||||
$imgs_1_src = $imgs_1 ? wp_get_attachment_image_url($imgs_1, 'full') : 'https://via.placeholder.com/255x22?text=255x22';
|
||||
|
||||
return array(
|
||||
'post' => array(
|
||||
'post_title' => 'WPB Footer Hand Tool',
|
||||
'post_name' => 'wpb-footer-hand-tool',
|
||||
'post_content' => '[vc_row css=".vc_custom_1740987385689{border-bottom-width: 1px !important;border-bottom-style: solid !important;border-color: #CCCCCC !important;}" el_class="padding-bottom-20"][vc_column width="1/2"][vc_column_text css="" el_class="padding-top-10"]
|
||||
<h4 class="margin-bottom-0">Newsletter</h4>
|
||||
<p class="margin-top-0">Be the first to know about new products, sales and promotions.</p>
|
||||
[/vc_column_text][/vc_column][vc_column width="1/2" el_class="hand-tool-ctf7"][contact-form-7 id="210"][vc_raw_html css="" el_class="hidden-tag"]JTNDc3R5bGUlM0UlMEElMjAlMjAlMjAlMjAuaGFuZC10b29sLWN0ZjclMjAud3BjZjctZm9ybSUyMCUzRXAlM0FoYXMlMjgud3BjZjctc3VibWl0JTI5JTIwJTdCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwcG9zaXRpb24lM0ElMjBhYnNvbHV0ZSUzQiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMHJpZ2h0JTNBJTIwMCUzQiUwQSUyMCUyMCUyMCUyMCU3RCUwQSUwQSUyMCUyMCUyMCUyMC5oYW5kLXRvb2wtY3RmNyUyMC53cGNmNy1mb3JtJTIwLndwY2Y3LXN1Ym1pdCUyMCU3QiUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMGJvcmRlci1yYWRpdXMlM0ElMjAwJTIwNXB4JTIwNXB4JTIwMCUyMCUyMWltcG9ydGFudCUzQiUwQSUyMCUyMCUyMCUyMCU3RCUwQSUzQyUyRnN0eWxlJTNF[/vc_raw_html][/vc_column][/vc_row][vc_row][vc_column][vc_row_inner css=".vc_custom_1739960071627{padding-top: 40px !important;padding-bottom: 40px !important;}"][vc_column_inner width="1/4" offset="vc_col-xs-6"][nasa_title title_text="Contact Us" title_type="h4" el_class="margin-bottom-10"][vc_column_text css=""]
|
||||
<p class="margin-bottom-10">Contact us 24/7</p>
|
||||
|
||||
<h4 class="primary-color">(+01)-800-3456-88</h4>
|
||||
<p class="margin-bottom-10">Calista Wise 7292 Dictum Av.</p>
|
||||
<p class="margin-bottom-10">Antonio, Italy.</p>
|
||||
[/vc_column_text][nasa_follow twitter="#" facebook="#" email="#" instagram="#" el_class="margin-top-40"][/vc_column_inner][vc_column_inner width="1/4" offset="vc_col-xs-6"][nasa_title title_text="Information" title_type="h4" el_class="margin-bottom-10"][nasa_menu menu="information" el_class="margin-top-0"][/vc_column_inner][vc_column_inner width="1/4" offset="vc_col-xs-6"][nasa_title title_text="Need Help" title_type="h4" el_class="margin-bottom-10"][nasa_menu menu="account-menu" el_class="margin-top-0"][/vc_column_inner][vc_column_inner width="1/4" offset="vc_col-xs-6"][nasa_title title_text="My Account" title_type="h4" el_class="margin-bottom-10"][nasa_menu menu="customer-care" el_class="margin-top-0"][/vc_column_inner][/vc_row_inner][vc_raw_html css=".vc_custom_1739960091391{border-top-width: 1px !important;border-bottom-width: 1px !important;padding-top: 30px !important;padding-bottom: 30px !important;border-top-style: solid !important;border-bottom-style: solid !important;border-color: #CCCCCC !important;}"]JTNDZGl2JTIwY2xhc3MlM0QlMjJuYXNhLWZsZXglMjBtYXJnaW4tYm90dG9tLTE1JTIwZmxleC13cmFwJTIyJTIwc3R5bGUlM0QlMjJnYXAlM0ExMHB4JTNCJTIyJTNFJTBBJTNDaDQlMjBjbGFzcyUzRCUyMmZzLTE2JTIwbWFyZ2luLXRvcC0wJTIwbWFyZ2luLWJvdHRvbS0wJTIwbWFyZ2luLXJpZ2h0LTEwJTIyJTNFQ3V0dGluZyUyMFRvb2xzJTNBJTNDJTJGaDQlM0UlMEElM0NhJTIwaHJlZiUzRCUyMiUyMyUyMiUyMCUzRUtuaXZlcyUzQyUyRmElM0UlN0MlMEElM0NhJTIwaHJlZiUzRCUyMiUyMyUyMiUyMCUzRVNjaXNzb3JzJTNDJTJGYSUzRSU3QyUwQSUzQ2ElMjBocmVmJTNEJTIyJTIzJTIyJTIwJTNFSGFuZCUyMHNhd3MlM0MlMkZhJTNFJTdDJTBBJTNDYSUyMGhyZWYlM0QlMjIlMjMlMjIlMjAlM0VVdGlsaXR5JTIwa25pdmVzJTNDJTJGYSUzRSU3QyUwQSUzQ2ElMjBocmVmJTNEJTIyJTIzJTIyJTIwJTNFUHJ1bmVycyUzQyUyRmElM0UlM0MlMkZkaXYlM0UlMEElMEElM0NkaXYlMjBjbGFzcyUzRCUyMm5hc2EtZmxleCUyMG1hcmdpbi1ib3R0b20tMTUlMjBmbGV4LXdyYXAlMjIlMjBzdHlsZSUzRCUyMmdhcCUzQTEwcHglM0IlMjIlM0UlMEElM0NoNCUyMGNsYXNzJTNEJTIyZnMtMTYlMjBtYXJnaW4tdG9wLTAlMjBtYXJnaW4tYm90dG9tLTAlMjBtYXJnaW4tcmlnaHQtMTAlMjIlM0VGYXN0ZW5pbmclMjBUb29scyUzQSUzQyUyRmg0JTNFJTBBJTNDYSUyMGhyZWYlM0QlMjIlMjMlMjIlMjAlM0VTY3Jld2RyaXZlcnMlM0MlMkZhJTNFJTdDJTBBJTNDYSUyMGhyZWYlM0QlMjIlMjMlMjIlMjAlM0VXcmVuY2hlcyUzQyUyRmElM0UlN0MlMEElM0NhJTIwaHJlZiUzRCUyMiUyMyUyMiUyMCUzRVBsaWVycyUzQyUyRmElM0UlN0MlMEElM0NhJTIwaHJlZiUzRCUyMiUyMyUyMiUyMCUzRVJhdGNoZXQlMjBzZXRzJTNDJTJGYSUzRSU3QyUwQSUzQ2ElMjBocmVmJTNEJTIyJTIzJTIyJTIwJTNFTmFpbCUyMHB1bGxlcnMlM0MlMkZhJTNFJTdDJTBBJTNDYSUyMGhyZWYlM0QlMjIlMjMlMjIlMjAlM0VUb3JxdWUlMjB3cmVuY2hlcyUzQyUyRmElM0UlM0MlMkZkaXYlM0UlMEElMEElM0NkaXYlMjBjbGFzcyUzRCUyMm5hc2EtZmxleCUyMGZsZXgtd3JhcCUyMiUyMHN0eWxlJTNEJTIyZ2FwJTNBMTBweCUzQiUyMiUzRSUwQSUzQ2g0JTIwY2xhc3MlM0QlMjJmcy0xNiUyMG1hcmdpbi10b3AtMCUyMG1hcmdpbi1ib3R0b20tMCUyMG1hcmdpbi1yaWdodC0xMCUyMiUzRUZhc3RlbmluZyUyMFRvb2xzJTNBJTNDJTJGaDQlM0UlMEElM0NhJTIwaHJlZiUzRCUyMiUyMyUyMiUyMCUzRVNjcmV3ZHJpdmVycyUzQyUyRmElM0UlN0MlMEElM0NhJTIwaHJlZiUzRCUyMiUyMyUyMiUyMCUzRVdyZW5jaGVzJTNDJTJGYSUzRSU3QyUwQSUzQ2ElMjBocmVmJTNEJTIyJTIzJTIyJTIwJTNFUGxpZXJzJTNDJTJGYSUzRSU3QyUwQSUzQ2ElMjBocmVmJTNEJTIyJTIzJTIyJTIwJTNFUmFzcCUyMHRvb2xzJTNDJTJGYSUzRSUwQSUzQyUyRmRpdiUzRQ==[/vc_raw_html][vc_row_inner css=".vc_custom_1739960121379{padding-top: 20px !important;padding-bottom: 20px !important;}"][vc_column_inner width="1/2"][vc_column_text css=""]© 2025 <span style="font-weight: 500;">Nasatheme</span> - All Right reserved![/vc_column_text][/vc_column_inner][vc_column_inner width="1/2"][nasa_image image="'.$imgs_1.'" align="right" hide_in_m="1"][/vc_column_inner][/vc_row_inner][/vc_column][/vc_row]'
|
||||
),
|
||||
'post_meta' => array(
|
||||
'_wpb_shortcodes_custom_css' => '.vc_custom_1740987385689 { border-bottom-width: 1px !important; border-bottom-style: solid !important; border-color: #CCCCCC !important; } .vc_custom_1739960071627 { padding-top: 40px !important; padding-bottom: 40px !important; } .vc_custom_1739960091391 { border-top-width: 1px !important; border-bottom-width: 1px !important; padding-top: 30px !important; padding-bottom: 30px !important; border-top-style: solid !important; border-bottom-style: solid !important; border-color: #CCCCCC !important; } .vc_custom_1739960121379 { padding-top: 20px !important; padding-bottom: 20px !important; }'
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -73,6 +73,7 @@ class Elessi_DF_Page_Importer {
|
||||
'_nasa_bg_color_v_menu' => '',
|
||||
'_nasa_text_color_v_menu' => '',
|
||||
'_nasa_fullwidth_main_menu' => '',
|
||||
'_nasa_vertical_menu_float_selected'=>'',
|
||||
'_nasa_vertical_menu_selected' => '',
|
||||
'_nasa_vertical_menu_allways_show' => '',
|
||||
|
||||
@@ -201,6 +202,7 @@ class Elessi_DF_Page_Importer {
|
||||
'_nasa_bg_color_v_menu' => '',
|
||||
'_nasa_text_color_v_menu' => '',
|
||||
'_nasa_fullwidth_main_menu' => '',
|
||||
'_nasa_vertical_menu_float_selected'=>'',
|
||||
'_nasa_vertical_menu_selected' => '',
|
||||
'_nasa_vertical_menu_allways_show' => '',
|
||||
|
||||
|
||||
@@ -555,6 +555,7 @@ function elessi_import_elm_ext() {
|
||||
'footer-light-2-bg',
|
||||
'footer-drone-camera',
|
||||
'footer-gym-nutrition',
|
||||
'footer-hand-tool',
|
||||
'footer-toys'
|
||||
);
|
||||
|
||||
@@ -568,6 +569,7 @@ function elessi_import_elm_ext() {
|
||||
*/
|
||||
$wpb_st_blocks = array(
|
||||
'drone-block-beside-header',
|
||||
'hand-tool-block-beside-header',
|
||||
'drone-popup-block',
|
||||
'exit-intent-popup'
|
||||
);
|
||||
@@ -608,7 +610,8 @@ function elessi_import_elm_ext() {
|
||||
'footer-mobile',
|
||||
'footer-drone-camera',
|
||||
'footer-gym-nutrition',
|
||||
'footer-toys'
|
||||
'footer-toys',
|
||||
'footer-hand-tool'
|
||||
);
|
||||
|
||||
foreach ($elm_footers as $file) {
|
||||
@@ -637,6 +640,7 @@ function elessi_import_elm_ext() {
|
||||
'delivery-return',
|
||||
'exit-intent-popup',
|
||||
'drone-block-beside-header',
|
||||
'hand-tool-block-beside-header',
|
||||
'drone-popup-block'
|
||||
);
|
||||
|
||||
|
||||
@@ -521,6 +521,17 @@ $elm_home = isset($elm_home) ? $elm_home : true;
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="demo-homepage-item-wrap">
|
||||
<a href="javascript:void(0);" data-home="hand-tool" class="demo-homepage-item">
|
||||
<div class="img-wrap">
|
||||
<img src="<?php echo ELESSI_THEME_URI; ?>/admin/assets/pages/hand-tools.jpg" alt="Hand Tool" />
|
||||
</div>
|
||||
|
||||
<h4 class="home-title">Hand Tool</h4>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -986,6 +997,16 @@ $elm_home = isset($elm_home) ? $elm_home : true;
|
||||
<h4 class="home-title">Gym Nutrition</h4>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="demo-homepage-item-wrap">
|
||||
<a href="javascript:void(0);" data-home="hand-tool" class="demo-homepage-item">
|
||||
<div class="img-wrap">
|
||||
<img src="<?php echo ELESSI_THEME_URI; ?>/admin/assets/pages/hand-tools.jpg" alt="Hand Tool" />
|
||||
</div>
|
||||
|
||||
<h4 class="home-title">Hand Tool</h4>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -32,6 +32,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
'6' => ELESSI_ADMIN_DIR_URI . 'assets/images/header-6.jpg',
|
||||
'7' => ELESSI_ADMIN_DIR_URI . 'assets/images/header-7.jpg',
|
||||
'8' => ELESSI_ADMIN_DIR_URI . 'assets/images/header-8.jpg',
|
||||
'9' => ELESSI_ADMIN_DIR_URI . 'assets/images/header-9.jpg',
|
||||
);
|
||||
|
||||
if (NASA_WPB_ACTIVE || !apply_filters('nasa_rules_upgrade', true)) {
|
||||
@@ -111,7 +112,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "switch",
|
||||
'class' => 'nasa-flexible_menu',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '6', '8'),
|
||||
'm_target' => array('1', '2', '3', '4', '6', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -137,6 +138,27 @@ if (!function_exists('elessi_header_heading')) {
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('4', '6', '8'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
"name" => __("Vertical Menu Float - Enable", 'elessi-theme'),
|
||||
"id" => "vertical_menu_float",
|
||||
"std" => 0,
|
||||
"type" => "switch",
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '6', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
"name" => __("Vertical Menu Float", 'elessi-theme'),
|
||||
"id" => "vertical_menu_float_selected",
|
||||
"std" => "",
|
||||
"type" => "select",
|
||||
'override_numberic' => true,
|
||||
"options" => $option_menu,
|
||||
// 'class' => 'hidden-tag nasa-header-type-child nasa-header-type-select-4 nasa-header-type-select-6',
|
||||
'child_of' => 'vertical_menu_float',
|
||||
'm_target' => '1'
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
"name" => __("Vertical Root Level - Parent - 0", 'elessi-theme'),
|
||||
@@ -190,7 +212,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "color",
|
||||
'class' => 'nasa-bg_color_main_menu',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('2', '3', '4', '6', '8'),
|
||||
'm_target' => array('2', '3', '4', '6', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -200,7 +222,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "color",
|
||||
'class' => 'nasa-bg_color_main_menu_stk',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('2', '3', '4', '6' , '8'),
|
||||
'm_target' => array('2', '3', '4', '6' , '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -210,7 +232,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "color",
|
||||
'class' => 'nasa-text_color_main_menu',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '6'),
|
||||
'm_target' => array('1', '2', '3', '4', '6', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -220,7 +242,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "color",
|
||||
'class' => 'nasa-text_color_main_menu_stk',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '6', '8'),
|
||||
'm_target' => array('1', '2', '3', '4', '6', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -230,7 +252,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "color",
|
||||
'class' => 'nasa-bg_color_v_menu',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('4', '6', '8'),
|
||||
'm_target' => array('4', '6', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -302,7 +324,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"group" => __("In Group Icons - Header", 'elessi-theme')
|
||||
),
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7'),
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -347,7 +369,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
'select_class' => 'nasa-ad-select2',
|
||||
"desc" => __("Please create Static Blocks (or Custom Block of Elementor Header & Footer Builder) and select here.", 'elessi-theme') . '<br /><a class="nsblk-edit hidden-tag" href="#" data-stb-href="' . esc_url(admin_url('post.php?post=ns_blk_id&action=edit')) . '" data-ctb-href="' . esc_url(admin_url('post.php?post=ns_blk_id&action=elementor')) . '">' . esc_html__('Click here to Edit', 'elessi-theme') . '</a>',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8'),
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -393,7 +415,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "switch",
|
||||
'class' => 'nasa-fixed_nav',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8'),
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -403,7 +425,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "color",
|
||||
'class' => 'nasa-bg_color_header',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8'),
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -413,7 +435,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "color",
|
||||
'class' => 'nasa-bg_color_header_stk',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8'),
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -423,7 +445,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "color",
|
||||
'class' => 'nasa-text_color_header',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8'),
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -433,7 +455,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "color",
|
||||
'class' => 'nasa-text_color_header_stk',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8'),
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -443,7 +465,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "color",
|
||||
'class' => 'nasa-text_color_hover_header',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8'),
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -453,7 +475,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "color",
|
||||
'class' => 'nasa-text_color_hover_header_stk',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8'),
|
||||
'm_target' => array('1', '2', '3', '4', '5', '6', '7', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -478,7 +500,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
),
|
||||
'class' => 'nasa-search_effect',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2'),
|
||||
'm_target' => array('1', '2', '9'),
|
||||
);
|
||||
|
||||
if (NASA_WOO_ACTIVED) {
|
||||
@@ -562,7 +584,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "switch",
|
||||
'class' => 'nasa-fixed_nav',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '6', '8'),
|
||||
'm_target' => array('1', '2', '3', '4', '6', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
@@ -572,7 +594,7 @@ if (!function_exists('elessi_header_heading')) {
|
||||
"type" => "switch",
|
||||
'class' => 'nasa-topbar_toggle nasa-fixed_nav',
|
||||
'child_of' => 'header-type',
|
||||
'm_target' => array('1', '2', '3', '4', '6', '8'),
|
||||
'm_target' => array('1', '2', '3', '4', '6', '8', '9'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
|
||||
@@ -38,7 +38,9 @@ if (!function_exists('elessi_product_global_heading')) {
|
||||
'modern-6' => ELESSI_ADMIN_DIR_URI . 'assets/images/loop-product-md-6.jpg',
|
||||
'modern-7' => ELESSI_ADMIN_DIR_URI . 'assets/images/loop-product-md-7.jpg',
|
||||
'modern-8' => ELESSI_ADMIN_DIR_URI . 'assets/images/loop-product-md-8.jpg',
|
||||
'modern-9' => ELESSI_ADMIN_DIR_URI . 'assets/images/loop-product-md-9.jpg'
|
||||
'modern-9' => ELESSI_ADMIN_DIR_URI . 'assets/images/loop-product-md-9.jpg',
|
||||
'modern-10' => ELESSI_ADMIN_DIR_URI . 'assets/images/loop-product-md-10.jpg'
|
||||
|
||||
),
|
||||
'class' => 'flex-row flex-wrap flex-start img-max-height-150'
|
||||
);
|
||||
|
||||
@@ -120,8 +120,10 @@ if (!function_exists('elessi_product_detail_heading')) {
|
||||
"id" => "half_full_slide",
|
||||
"std" => "0",
|
||||
"type" => "switch",
|
||||
'class' => 'nasa-theme-option-child nasa-product_detail_layout nasa-product_detail_layout-full',
|
||||
'desc' => '<span class="red-color">Note: The Hover Zoom Image Will be Turned Off!!!</span>'
|
||||
// 'class' => 'nasa-theme-option-child nasa-product_detail_layout nasa-product_detail_layout-full',
|
||||
'desc' => '<span class="red-color">Note: The Hover Zoom Image Will be Turned Off!!!</span>',
|
||||
'child_of' => 'product_detail_layout',
|
||||
'm_target' => array('full'),
|
||||
);
|
||||
|
||||
$of_options[] = array(
|
||||
|
||||
@@ -12,7 +12,7 @@ defined('ELESSI_REPO') or define('ELESSI_REPO', 'https://raw.githubusercontent.c
|
||||
* @return string
|
||||
*/
|
||||
function elessi_latest_nasa_core_version() {
|
||||
return '6.3.3';
|
||||
return '6.3.5';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -47,7 +47,7 @@ function elessi_list_required_plugins() {
|
||||
'name' => 'WPBakery Page Builder',
|
||||
'slug' => 'js_composer',
|
||||
'source' => esc_url(ELESSI_REPO . '/plgs/js_composer.zip'),
|
||||
'version' => '8.2',
|
||||
'version' => '8.3',
|
||||
'auto' => true,
|
||||
'unchecked' => true,
|
||||
'buider' => true
|
||||
@@ -92,7 +92,7 @@ function elessi_list_required_plugins() {
|
||||
'name' => 'WPBakery Page Builder',
|
||||
'slug' => 'js_composer',
|
||||
'source' => esc_url(ELESSI_REPO . '/plgs/js_composer.zip'),
|
||||
'version' => '8.2',
|
||||
'version' => '8.3',
|
||||
'auto' => true,
|
||||
'unchecked' => true,
|
||||
'buider' => true
|
||||
@@ -133,7 +133,7 @@ function elessi_list_required_plugins() {
|
||||
'name' => 'Revolution Slider',
|
||||
'slug' => 'revslider',
|
||||
'source' => esc_url(ELESSI_REPO . '/plgs/revslider.zip'),
|
||||
'version' => '6.7.28',
|
||||
'version' => '6.7.30',
|
||||
'auto' => true
|
||||
);
|
||||
|
||||
@@ -227,6 +227,8 @@ if (function_exists('wp_get_theme')) {
|
||||
define('ELESSI_ADMIN_THEMENAME', $theme_name);
|
||||
// define('ELESSI_ADMIN_SUPPORT_FORUMS', 'https://elessi.nasatheme.com/documentation/');
|
||||
define('ELESSI_ADMIN_DOCS', 'https://elessi-docs.nasatheme.com');
|
||||
define('ELESSI_ADMIN_INSTALL', 'https://nasatheme.com/wordpress-theme-installation-service');
|
||||
define('ELESSI_ADMIN_CTSV', 'https://nasatheme.com/wordpress-theme-customization-service');
|
||||
define('ELESSI_ADMIN_BACKUPS', 'backups');
|
||||
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,7 @@ table th,
|
||||
.nasa-product-title,
|
||||
.nasa-tab-primary-color .nasa-classic-style a,
|
||||
.nasa-megamenu > .nav-dropdown > ul > .menu-item > a,
|
||||
.vertical-menu-float-wrapper >.menu-item .menu-item-has-children >a,
|
||||
.nav-wrapper .nasa-megamenu > .nav-dropdown > ul > .menu-item .sub-menu .menu-item.nasa-main > a,
|
||||
.nasa-vertical-header .nasa-megamenu > .nav-dropdown > ul > .menu-item .sub-menu .menu-item.nasa-main > a,
|
||||
.service-block .service-title,
|
||||
|
||||
@@ -21,6 +21,7 @@ table th,
|
||||
.nasa-product-title,
|
||||
.nasa-tab-primary-color .nasa-classic-style a,
|
||||
.nasa-megamenu > .nav-dropdown > ul > .menu-item > a,
|
||||
.vertical-menu-float-wrapper >.menu-item .menu-item-has-children >a,
|
||||
.nav-wrapper .nasa-megamenu > .nav-dropdown > ul > .menu-item .sub-menu .menu-item.nasa-main > a,
|
||||
.nasa-vertical-header .nasa-megamenu > .nav-dropdown > ul > .menu-item .sub-menu .menu-item.nasa-main > a,
|
||||
.service-block .service-title,
|
||||
|
||||
@@ -19,6 +19,7 @@ table th,
|
||||
.nasa-product-title,
|
||||
.nasa-tab-primary-color .nasa-classic-style a,
|
||||
.nasa-megamenu > .nav-dropdown > ul > .menu-item > a,
|
||||
.vertical-menu-float-wrapper >.menu-item .menu-item-has-children >a,
|
||||
.nav-wrapper .nasa-megamenu > .nav-dropdown > ul > .menu-item .sub-menu .menu-item.nasa-main > a,
|
||||
.nasa-vertical-header .nasa-megamenu > .nav-dropdown > ul > .menu-item .sub-menu .menu-item.nasa-main > a,
|
||||
.service-block .service-title,
|
||||
|
||||
@@ -17,6 +17,7 @@ table th,
|
||||
.nasa-product-title,
|
||||
.nasa-tab-primary-color .nasa-classic-style a,
|
||||
.nasa-megamenu > .nav-dropdown > ul > .menu-item > a,
|
||||
.vertical-menu-float-wrapper >.menu-item .menu-item-has-children >a,
|
||||
.nav-wrapper .nasa-megamenu > .nav-dropdown > ul > .menu-item .sub-menu .menu-item.nasa-main > a,
|
||||
.nasa-vertical-header .nasa-megamenu > .nav-dropdown > ul > .menu-item .sub-menu .menu-item.nasa-main > a,
|
||||
.service-block .service-title,
|
||||
|
||||
@@ -0,0 +1,388 @@
|
||||
@keyframes qv-crazy-loading {
|
||||
0% {
|
||||
transform: skewX(-45deg) translateX(-80%);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: skewX(-45deg) translateX(80%);
|
||||
}
|
||||
}
|
||||
@keyframes qv-crazy-loading-dark {
|
||||
0% {
|
||||
transform: skewX(-45deg) translateX(-80%);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: skewX(-45deg) translateX(80%);
|
||||
}
|
||||
}
|
||||
#nasa-loader-product-infinite {
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.nasa-modern-10 .add-to-cart-grid {
|
||||
position: absolute;
|
||||
bottom: -35px;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
top: auto;
|
||||
padding: 0;
|
||||
height: 42px;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
border: none;
|
||||
-webkit-transform: translateY(-10px);
|
||||
-moz-transform: translateY(-10px);
|
||||
-o-transform: translateY(-10px);
|
||||
-ms-transform: translateY(-10px);
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
.nasa-modern-10 .add-to-cart-grid .add_to_cart_text {
|
||||
text-transform: none;
|
||||
letter-spacing: 0;
|
||||
font-size: 15px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.nasa-modern-10 .add-to-cart-grid .cart-icon {
|
||||
display: none;
|
||||
}
|
||||
.nasa-modern-10 .add-to-cart-grid.loading {
|
||||
color: transparent;
|
||||
}
|
||||
.nasa-modern-10 .add-to-cart-grid.loading .add_to_cart_text {
|
||||
color: transparent !important;
|
||||
}
|
||||
.nasa-modern-10 .add-to-cart-grid.loading:before {
|
||||
right: auto;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 1024px) {
|
||||
.nasa-modern-10 .product-item:after {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
content: "";
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
background-color: #fff;
|
||||
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
||||
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
||||
-webkit-transition: all 250ms ease;
|
||||
-moz-transition: all 250ms ease;
|
||||
-o-transition: all 250ms ease;
|
||||
transition: all 250ms ease;
|
||||
}
|
||||
.nasa-modern-10 .product-item:hover:after {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
top: -15px;
|
||||
bottom: -5px;
|
||||
left: -15px;
|
||||
right: -15px;
|
||||
}
|
||||
|
||||
.nasa-dark .nasa-modern-10 .product-item:after {
|
||||
background-color: #111;
|
||||
-webkit-box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
|
||||
-moz-box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
|
||||
box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.nasa-modern-10 .product-item {
|
||||
z-index: 1;
|
||||
}
|
||||
.nasa-modern-10 .product-item .info {
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
-webkit-align-items: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
.nasa-modern-10 .product-item .info > * {
|
||||
max-width: 100%;
|
||||
}
|
||||
.nasa-modern-10 .product-item .info .star-rating {
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
top: -8px;
|
||||
-webkit-border-radius: 50px;
|
||||
-moz-border-radius: 50px;
|
||||
border-radius: 50px;
|
||||
overflow: visible;
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
width: auto;
|
||||
}
|
||||
.nasa-modern-10 .product-item .info .star-rating::before {
|
||||
position: relative;
|
||||
width: 80px;
|
||||
height: 17px;
|
||||
display: block;
|
||||
z-index: 1;
|
||||
}
|
||||
.nasa-modern-10 .product-item .info .star-rating::after {
|
||||
content: '';
|
||||
background-color: #fff;
|
||||
-webkit-border-radius: 50px;
|
||||
-moz-border-radius: 50px;
|
||||
border-radius: 50px;
|
||||
position: absolute;
|
||||
width: calc(100% + 20px);
|
||||
height: calc(100% + 10px);
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.nasa-modern-10 .product-item .info .star-rating span:not(.rating) {
|
||||
padding: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
.nasa-modern-10 .product-item .info .star-rating span:not(.rating)::before {
|
||||
width: 80px;
|
||||
height: 17px;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
.nasa-modern-10 .product-item .info .star-rating .rating {
|
||||
z-index: 1;
|
||||
display: block;
|
||||
width: auto;
|
||||
font-size: 80%;
|
||||
line-height: 17px;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
}
|
||||
.nasa-modern-10 .product-item .info .star-rating .rating::before {
|
||||
display: none;
|
||||
}
|
||||
.nasa-modern-10 .product-item .info .name {
|
||||
order: -1;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.nasa-modern-10 .product-item .info .price {
|
||||
margin-top: 5px;
|
||||
}
|
||||
.nasa-modern-10 .product-item.has-add:hover {
|
||||
z-index: 2;
|
||||
}
|
||||
.nasa-modern-10 .product-item.has-add:hover:after {
|
||||
bottom: -55px;
|
||||
}
|
||||
.nasa-modern-10 .product-item.has-add:hover .add-to-cart-grid {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
-webkit-transform: translateY(0);
|
||||
-moz-transform: translateY(0);
|
||||
-o-transform: translateY(0);
|
||||
-ms-transform: translateY(0);
|
||||
transform: translateY(0);
|
||||
}
|
||||
.nasa-modern-10 .product-item .nasa-light-fog {
|
||||
height: calc(100% + 35px);
|
||||
}
|
||||
.nasa-modern-10.nasa-slick-slider .product-item:after, .nasa-modern-10.nasa-slick-slider .product-item:hover:after {
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
box-shadow: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
.nasa-modern-10.nasa-slick-slider.slick-initialized > .slick-list {
|
||||
padding-bottom: 20px;
|
||||
margin-bottom: -20px;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-grid {
|
||||
padding-top: 0;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-grid .btn-link {
|
||||
background-color: #fff;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-grid .btn-link .nasa-icon {
|
||||
color: #333;
|
||||
font-size: 20px;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-grid .btn-wishlist {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
left: -46px;
|
||||
text-align: center;
|
||||
background-color: transparent;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-grid .btn-wishlist .nasa-icon {
|
||||
line-height: 36px;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-grid .btn-wishlist.nasa-added .nasa-icon {
|
||||
color: #00a32a;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-grid .btn-wishlist svg {
|
||||
height: 36px;
|
||||
}
|
||||
.nasa-modern-10 .product-item:hover .nasa-product-grid .btn-wishlist {
|
||||
background-color: #fff;
|
||||
}
|
||||
.nasa-modern-10 .product-item:hover .nasa-product-grid .btn-link {
|
||||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
|
||||
-moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.nasa-modern-10 .product-item:hover .nasa-product-grid .btn-link:hover {
|
||||
background-color: #333;
|
||||
}
|
||||
.nasa-modern-10 .product-item:hover .nasa-product-grid .btn-link:hover .nasa-icon {
|
||||
color: #fff !important;
|
||||
}
|
||||
.nasa-modern-10 .product-item .info {
|
||||
text-align: center;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-content-color-image-wrap {
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
position: static;
|
||||
margin-top: 7px;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-content-color-image-wrap .nasa-product-content-child {
|
||||
float: none;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-content-color-image-wrap .nasa-attr-ux-nasa_color {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-content-select-wrap,
|
||||
.nasa-modern-10 .nasa-product-content-variable-warp .nasa-product-content-nasa_label-wrap {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-content-nasa_label-wrap {
|
||||
position: static;
|
||||
margin-top: 8px;
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
-webkit-transform: translateY(0);
|
||||
-moz-transform: translateY(0);
|
||||
-o-transform: translateY(0);
|
||||
-ms-transform: translateY(0);
|
||||
transform: translateY(0);
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-content-nasa_label-wrap .nasa-product-content-child {
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-flex-wrap: wrap;
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
gap: 5px 0;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-content-nasa_label-wrap .nasa-product-content-child:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-content-nasa_label-wrap .nasa-attr-ux-item {
|
||||
border: 1px solid #cccccc;
|
||||
color: #999;
|
||||
font-size: 11px;
|
||||
text-decoration: none;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.nasa-modern-10 .nasa-product-content-nasa_label-wrap .nasa-attr-ux-item:hover, .nasa-modern-10 .nasa-product-content-nasa_label-wrap .nasa-attr-ux-item.nasa-active {
|
||||
border-color: #555;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.nasa-modern-10 .nasa-toggle-variants .nasa-product-content-select-wrap {
|
||||
-webkit-transform: translate(0, 0) !important;
|
||||
-moz-transform: translate(0, 0) !important;
|
||||
-o-transform: translate(0, 0) !important;
|
||||
-ms-transform: translate(0, 0) !important;
|
||||
transform: translate(0, 0) !important;
|
||||
}
|
||||
.nasa-modern-10 .nasa-fog-variants {
|
||||
bottom: 10px;
|
||||
}
|
||||
|
||||
.nasa-products-special-deal-simple .nasa-modern-10.nasa-slick-slider > .slick-list {
|
||||
padding-bottom: 55px;
|
||||
}
|
||||
.nasa-products-special-deal-simple .nasa-modern-10 .product-item.has-add:after {
|
||||
z-index: -1;
|
||||
}
|
||||
.nasa-products-special-deal-simple .nasa-modern-10 .product-item .add-to-cart-grid {
|
||||
bottom: -55px;
|
||||
}
|
||||
|
||||
.nasa-products-special-deal-for_time .nasa-modern-10.nasa-slick-slider > .slick-list {
|
||||
padding-bottom: 30px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.nasa-products-special-deal-for_time-2 .nasa-modern-10.nasa-slick-slider > .slick-list {
|
||||
padding-bottom: 50px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.nasa-products-special-deal-for_time-2 .nasa-modern-10 .product-item.has-add:after {
|
||||
z-index: -1;
|
||||
}
|
||||
.nasa-products-special-deal-for_time-2 .nasa-modern-10 .product-item .add-to-cart-grid {
|
||||
bottom: -55px;
|
||||
}
|
||||
|
||||
.html-ready .nasa-modern-10 .nasa-product-grid .btn-link .nasa-icon {
|
||||
-webkit-transition: all 250ms ease;
|
||||
-moz-transition: all 250ms ease;
|
||||
-o-transition: all 250ms ease;
|
||||
transition: all 250ms ease;
|
||||
}
|
||||
|
||||
.crazy-loading .nasa-modern-10 .product-item .info .add-to-cart-grid {
|
||||
display: none;
|
||||
}
|
||||
.crazy-loading .nasa-modern-10 .products.list .product-item .info .nasa-sc-pdeal-countdown {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.nasa-rtl .nasa-modern-10 .product-item .nasa-product-grid .btn-wishlist {
|
||||
left: 46px;
|
||||
}
|
||||
body.nasa-rtl .nasa-modern-10 .nasa-product-content-color-image-wrap .nasa-product-content-child {
|
||||
float: none;
|
||||
}
|
||||
|
||||
.nasa-dark .nasa-modern-10 .product-item .info .star-rating::after {
|
||||
background-color: #000;
|
||||
}
|
||||
}
|
||||
@@ -188,6 +188,7 @@
|
||||
-moz-border-radius: 20px;
|
||||
border-radius: 20px;
|
||||
overflow: hidden;
|
||||
margin-top: 0;
|
||||
}
|
||||
.nasa-modern-9 .product-item .product-img-wrap .nasa-sc-pdeal-countdown {
|
||||
bottom: 20px;
|
||||
@@ -205,7 +206,7 @@
|
||||
font-size: 135%;
|
||||
}
|
||||
.nasa-modern-9 .product-item .info .name {
|
||||
font-size: 100%;
|
||||
padding: 5px 0;
|
||||
}
|
||||
.nasa-modern-9 .product-item .info .nasa-badges-wrap .badge {
|
||||
font-size: 60%;
|
||||
@@ -383,6 +384,9 @@
|
||||
.nasa-modern-9 .products.list .product-item .add-to-cart-grid .add_to_cart_text {
|
||||
max-width: 100%;
|
||||
}
|
||||
.nasa-modern-9 .products.list .product-item .info {
|
||||
z-index: 1;
|
||||
}
|
||||
.nasa-modern-9.nasa-accessories-wrap .product-item {
|
||||
border: none;
|
||||
-webkit-border-radius: 0;
|
||||
|
||||
@@ -4,7 +4,7 @@ if (typeof _cookie_live === 'undefined') {
|
||||
var originalTitle = document.title;
|
||||
var notificationInterval;
|
||||
var currentMessageIndex = 0;
|
||||
var timeout_popup_static;
|
||||
var timeout_popup_static,timeout_box_shadow ;
|
||||
/* Document ready */
|
||||
jQuery(document).ready(function ($) {
|
||||
"use strict";
|
||||
@@ -284,7 +284,7 @@ jQuery(document).ready(function ($) {
|
||||
/**
|
||||
* For Checkout Page
|
||||
*/
|
||||
if ($('body').hasClass('woocommerce-checkout') || $('form.woocommerce-checkout').length) {
|
||||
if ($('body').hasClass('woocommerce-checkout') || $('form.woocommerce-checkout').length || $('#cart-sidebar').length <= 0) {
|
||||
var _href = $(this).attr('href');
|
||||
window.location.href = _href;
|
||||
|
||||
@@ -305,7 +305,7 @@ jQuery(document).ready(function ($) {
|
||||
$('body').trigger('nasa_cross_sell_columns_setting', [$('#cart-sidebar .cross-sells').find('.nasa-slick-slider')]);
|
||||
}
|
||||
|
||||
if ($('#cart-sidebar').length && !$('#cart-sidebar').hasClass('nasa-active')) {
|
||||
if (!$('#cart-sidebar').hasClass('nasa-active')) {
|
||||
|
||||
$('#cart-sidebar').addClass('nasa-active');
|
||||
|
||||
@@ -324,7 +324,7 @@ jQuery(document).ready(function ($) {
|
||||
}
|
||||
|
||||
$('body').trigger('nasa_opened_cart_sidebar');
|
||||
$('body').trigger('init_carousel_pro_empty_sidebar',[$('#cart-sidebar')]);
|
||||
$('body').trigger('init_carousel_pro_empty_sidebar', [$('#cart-sidebar')]);
|
||||
|
||||
if ($('.nasa-close-notice').length) {
|
||||
$('.nasa-close-notice').trigger('click');
|
||||
@@ -1091,7 +1091,7 @@ jQuery(document).ready(function ($) {
|
||||
|
||||
var url = window.location.origin + window.location.pathname;
|
||||
$(_wrap).html(data.content);
|
||||
var _current = $(_wrap).find('a[href="' + url + '"]:not(.logo)');
|
||||
var _current = $(_wrap).find('a[href="' + url + '"]:not(.logo)');
|
||||
var _svg = '<svg width="32" height="32" viewBox="0 0 22 32"><path d="M11.001 0.006c-5.889 0-10.663 4.775-10.663 10.663 0 1.945 0.523 3.762 1.432 5.332l9.23 15.994 9.23-15.994c0.909-1.57 1.432-3.387 1.432-5.332 0-5.888-4.774-10.663-10.662-10.663zM11.001 13.334c-1.472 0-2.666-1.193-2.666-2.665 0-1.471 1.194-2.665 2.666-2.665s2.665 1.194 2.665 2.665c0 1.472-1.193 2.665-2.665 2.665z" fill="currentColor"/></svg>';
|
||||
|
||||
if ($(_current).length) {
|
||||
@@ -1130,7 +1130,7 @@ jQuery(document).ready(function ($) {
|
||||
distance = 60;
|
||||
|
||||
// swipe horizontal to close
|
||||
$('body').on('touchstart', '#cart-sidebar, #nasa-wishlist-sidebar, #nasa-viewed-sidebar, #nasa-quickview-sidebar, #nasa-menu-sidebar-content, .nasa-top-cat-filter-wrap-mobile, .nasa-top-sidebar, .account-nav-wrap.vertical-tabs, .ns-sticky-scroll-sidebar', function (e) {
|
||||
$('body').on('touchstart', '#cart-sidebar, #nasa-wishlist-sidebar, #nasa-viewed-sidebar, #nasa-quickview-sidebar, #nasa-menu-sidebar-content, .nasa-top-cat-filter-wrap-mobile, .nasa-top-sidebar, .account-nav-wrap.vertical-tabs, .ns-sticky-scroll-sidebar, #vertical-menu-float.nasa-active', function (e) {
|
||||
touchstart = 0;
|
||||
if (!$(e.target).hasClass('slick-active') && !$(e.target).parents('.nasa-slick-slider').length) {
|
||||
touchstart = e.touches[0].clientX;
|
||||
@@ -1153,7 +1153,7 @@ jQuery(document).ready(function ($) {
|
||||
}
|
||||
});
|
||||
|
||||
$('body').on('touchmove', '#nasa-menu-sidebar-content, .nasa-top-cat-filter-wrap-mobile, .nasa-top-sidebar, .account-nav-wrap.vertical-tabs', function (e) {
|
||||
$('body').on('touchmove', '#nasa-menu-sidebar-content, .nasa-top-cat-filter-wrap-mobile, .nasa-top-sidebar, .account-nav-wrap.vertical-tabs, #vertical-menu-float.nasa-active', function (e) {
|
||||
touchend = e.changedTouches[0].clientX;
|
||||
|
||||
if (touchstart != touchend && touchstart != 0 && Math.abs(touchstart - touchend) > distance) {
|
||||
@@ -2338,15 +2338,16 @@ jQuery(document).ready(function ($) {
|
||||
* Login / Register Popup
|
||||
*/
|
||||
$('body').on('click', '.nasa-login-register-ajax', function () {
|
||||
if ($('#nasa-login-register-form').length <= 0) {
|
||||
var _content = $('#tmpl-nasa-register-form').html();
|
||||
$('.nasa-login-register-warper').html(_content);
|
||||
$('#tmpl-nasa-register-form').remove();
|
||||
if (!$('body').hasClass('logged-in')) {
|
||||
if ($('#nasa-login-register-form').length <= 0) {
|
||||
var _content = $('#tmpl-nasa-register-form').html();
|
||||
$('.nasa-login-register-warper').html(_content);
|
||||
$('#tmpl-nasa-register-form').remove();
|
||||
|
||||
$('body').trigger('nasa_login_register_ajax_inited');
|
||||
}
|
||||
$('body').trigger('nasa_login_register_ajax_inited');
|
||||
}
|
||||
|
||||
if ($(this).attr('data-enable') === '1' && $('#customer_login').length <= 0) {
|
||||
if ($(this).attr('data-enable') === '1' && $('#customer_login').length <= 0) {
|
||||
$('#nasa-menu-sidebar-content').removeClass('nasa-active');
|
||||
$('#mobile-navigation').attr('data-show', '0');
|
||||
|
||||
@@ -2420,6 +2421,9 @@ jQuery(document).ready(function ($) {
|
||||
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
window.location.href = $(this).attr('href');
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
@@ -2676,4 +2680,92 @@ jQuery(document).ready(function ($) {
|
||||
$(_nav).find('.nasa-nav-arrow.slick-next ').attr('class',$(_slider).find('.nasa-nav-arrow.slick-next ').attr('class'));
|
||||
|
||||
});
|
||||
|
||||
$('body').on('click','#vertical-menu-float .vertical_float_menu_title a, .nasa-vertical-menu-float-mobile-toggle, .vertical_float_menu_toggle .nasa-title-vertical-menu', function() {
|
||||
var _wrap = $('#vertical-menu-float');
|
||||
if ($(_wrap).hasClass('nasa-active')) {
|
||||
$('.black-window').fadeOut(200).removeClass('desk-window');
|
||||
|
||||
timeout_box_shadow = setTimeout(function() {
|
||||
$('.black-window').removeClass('vertical-menu-float-bg');
|
||||
$(_wrap).removeClass('nav-dropdown-delay-0');
|
||||
}, 300);
|
||||
|
||||
$(_wrap).removeClass('nasa-active');
|
||||
$('body').removeClass('m-ovhd');
|
||||
} else {
|
||||
if (typeof timeout_box_shadow !== 'undefined') {
|
||||
clearTimeout(timeout_box_shadow);
|
||||
}
|
||||
$(_wrap).addClass('nasa-active');
|
||||
$('.black-window').fadeIn(200).addClass('desk-window vertical-menu-float-bg');
|
||||
$('body').addClass('m-ovhd');
|
||||
}
|
||||
});
|
||||
|
||||
$('body').on('mouseleave', '#vertical-menu-float', function () {
|
||||
var _this = $(this);
|
||||
|
||||
if (!_mobileView && !$('body').hasClass('nasa-in-mobile') && !$('body').hasClass('nasa-mobile-app')) {
|
||||
if ($(_this).hasClass('nasa-active')) {
|
||||
$(_this).find('.vertical_float_menu_title a').trigger('click');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$('body').on('mousemove', '#vertical-menu-float', function (e) {
|
||||
var _this = $(this);
|
||||
var width = $(_this).width();
|
||||
if (_mobileView || $('body').hasClass('nasa-in-mobile') || $('body').hasClass('nasa-mobile-app')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!$(_this).hasClass('nasa-active')) {
|
||||
$(_this).find('.vertical_float_menu_title a').trigger('click');
|
||||
|
||||
} else if (!$(_this).hasClass('nav-dropdown-delay-0') && width >= 280) {
|
||||
$(_this).addClass('nav-dropdown-delay-0');
|
||||
}
|
||||
});
|
||||
|
||||
$('body').on('click', '#vertical-menu-float .vertical-menu-float-wrapper >li.menu-item-has-children >.nasa-title-menu',function(event) {
|
||||
if (_mobileView || $('body').hasClass('nasa-in-mobile') || $('body').hasClass('nasa-mobile-app')) {
|
||||
|
||||
event.preventDefault();
|
||||
var _this = $(this);
|
||||
var _parent = $(_this).parents('.menu-item-has-children');
|
||||
var _dropdown = $(_parent).find('>.nav-dropdown');
|
||||
var _itemactive = $('#vertical-menu-float .vertical-menu-float-wrapper >li.menu-item-has-children.nasa-active');
|
||||
|
||||
if ($(_parent).hasClass('nasa-active')) {
|
||||
$(_parent).removeClass('nasa-active');
|
||||
$(_dropdown).slideUp(300);
|
||||
} else {
|
||||
$(_parent).addClass('nasa-active');
|
||||
$(_dropdown).slideDown(300);
|
||||
$(_itemactive).removeClass('nasa-active');
|
||||
$(_itemactive).find('>.nav-dropdown').slideUp(300);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$('body').on('nasa_media_all_pause',function() {
|
||||
$('video, audio').each(function() {
|
||||
if (!this.paused) {
|
||||
this.pause();
|
||||
}
|
||||
});
|
||||
|
||||
$('iframe').each(function() {
|
||||
var iframe = this;
|
||||
var src = $(iframe).attr('src');
|
||||
|
||||
if (src && src.includes('youtube.com/embed') && iframe.contentWindow) {
|
||||
iframe.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*');
|
||||
} else {
|
||||
$(iframe).attr('src',src);
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
@@ -214,8 +214,7 @@ jQuery(document).ready(function ($) {
|
||||
$('body').find('.nasa-header-sticky').length &&
|
||||
$('.sticky-wrapper').length &&
|
||||
$('.nasa-header-sticky-wrap').length &&
|
||||
screen_h < content_height &&
|
||||
!$('body').hasClass('nasa-mobile-app')
|
||||
screen_h < content_height
|
||||
) {
|
||||
var fix_top = $('#wpadminbar').length ? $('#wpadminbar').height() : 0;
|
||||
var _heightFixed = $('.sticky-wrapper').outerHeight();
|
||||
@@ -223,7 +222,7 @@ jQuery(document).ready(function ($) {
|
||||
var fix_nasa_topbar_wrap = $('.nasa-topbar-wrap').length && !$('.nasa-topbar-wrap').hasClass('nasa-topbar-hide') ? $('.nasa-topbar-wrap').outerHeight() : 0;
|
||||
|
||||
if (scrollTop > lastScrollTop) {
|
||||
$('#header-content').css({top: (fix_top - ($('#header-content').outerHeight() + 50) )});
|
||||
$('#header-content').css({top: (fix_top - ($('#header-content .nasa-header-sticky').outerHeight() + 50) )});
|
||||
}
|
||||
|
||||
if (scrollTop > headerHeight) {
|
||||
@@ -727,6 +726,7 @@ jQuery(document).ready(function ($) {
|
||||
* Close by fog window
|
||||
*/
|
||||
$('body').on('click', '.black-window, .white-window, .transparent-desktop, .transparent-mobile, .transparent-window, .nasa-close-mini-compare, .nasa-sidebar-close a, .nasa-sidebar-return-shop, .login-register-close, .nasa-close-menu-mobile', function () {
|
||||
$('body').trigger('nasa_media_all_pause');
|
||||
|
||||
if ($('#nasa-age-verification-popup-wrap.nasa-active').length) {
|
||||
return;
|
||||
@@ -933,6 +933,13 @@ jQuery(document).ready(function ($) {
|
||||
$('.nasa-top-bar-3-content a.nasa-tab-filter-topbar').trigger('click');
|
||||
}
|
||||
|
||||
/**
|
||||
* Close vertical menu float
|
||||
*/
|
||||
if ($('#vertical-menu-float').length && $('#vertical-menu-float').hasClass('nasa-active')) {
|
||||
$('#vertical-menu-float .vertical_float_menu_title a').trigger('click');
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide compare product
|
||||
*/
|
||||
@@ -1265,7 +1272,7 @@ jQuery(document).ready(function ($) {
|
||||
/**
|
||||
* After Add To Cart
|
||||
*/
|
||||
$('body').on('added_to_cart', function (ev, fragments, cart_hash, _button) {
|
||||
$('body').on('added_to_cart', function (ev, fragments, cart_hash, _button) {
|
||||
/**
|
||||
* Close quick-view
|
||||
*/
|
||||
@@ -1806,10 +1813,10 @@ jQuery(document).ready(function ($) {
|
||||
|
||||
$('body').on('nasa_after_load_ajax', function (e) {
|
||||
/**
|
||||
* Refress Cart icon
|
||||
* Refress Cart icon when ajax complete - Header with different style svg cart icon
|
||||
*/
|
||||
if (typeof _nasa_cart['.cart-inner'] !== 'undefined') {
|
||||
$('.cart-inner').replaceWith(_nasa_cart['.cart-inner']);
|
||||
if (typeof _nasa_cart['.cart-inner'] !== 'undefined' && _nasa_cart['.cart-inner'].length) {
|
||||
$('.cart-inner').replaceWith(_nasa_cart['.cart-inner'].clone());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -345,7 +345,7 @@ jQuery(document).ready(function ($) {
|
||||
}
|
||||
|
||||
if ($('.product-lightbox').find('.nasa-product-gallery-lightbox .main-image-slider').length && !$('.product-lightbox').find('.nasa-product-gallery-lightbox .main-image-slider').hasClass('nasa-nav-radius')) {
|
||||
$('.product-lightbox').find('.nasa-product-gallery-lightbox .main-image-slider').addClass('nasa-nav-radius')
|
||||
$('.product-lightbox').find('.nasa-product-gallery-lightbox .main-image-slider').addClass('nasa-nav-radius');
|
||||
}
|
||||
|
||||
var groupLightBox = $('.product-lightbox').find('.woocommerce-grouped-product-list-item');
|
||||
@@ -460,7 +460,7 @@ jQuery(document).ready(function ($) {
|
||||
}
|
||||
|
||||
if ($('.product-lightbox').find('.nasa-product-gallery-lightbox .main-image-slider').length && !$('.product-lightbox').find('.nasa-product-gallery-lightbox .main-image-slider').hasClass('nasa-nav-radius')) {
|
||||
$('.product-lightbox').find('.nasa-product-gallery-lightbox .main-image-slider').addClass('nasa-nav-radius')
|
||||
$('.product-lightbox').find('.nasa-product-gallery-lightbox .main-image-slider').addClass('nasa-nav-radius');
|
||||
}
|
||||
|
||||
var groupLightBox = $('.product-lightbox').find('.woocommerce-grouped-product-list-item');
|
||||
|
||||
@@ -340,6 +340,8 @@ $('body').on('click', "a.product-video-popup", function(e) {
|
||||
closeOnVerticalDrag:false
|
||||
};
|
||||
|
||||
$('body').trigger('nasa_media_all_pause');
|
||||
|
||||
if (productVideo) {
|
||||
var embedUrl = nasa_ember_link(productVideo);
|
||||
items.push({
|
||||
@@ -388,11 +390,7 @@ $('body').on('nasa_after_single_product_slick_inited', function(ev, _thumbs, _nu
|
||||
var _this = $(this);
|
||||
$('body').trigger('nasa_check_slick_disabled', [_this]);
|
||||
|
||||
$('.nasa-single-product-slide .nasa-single-product-main-image video').each(function() {
|
||||
if (!this.paused) {
|
||||
this.pause();
|
||||
}
|
||||
});
|
||||
$('body').trigger('nasa_media_all_pause');
|
||||
});
|
||||
|
||||
if (_thumbs) {
|
||||
@@ -1501,19 +1499,12 @@ $('body').on('click','.main_min_img, .woocommerce-product-gallery__wrapper .main
|
||||
});
|
||||
|
||||
gallery.listen('beforeChange', function() {
|
||||
$('video').each(function() {
|
||||
if (!this.paused) {
|
||||
this.pause();
|
||||
}
|
||||
});
|
||||
$('body').trigger('nasa_media_all_pause');
|
||||
});
|
||||
|
||||
gallery.listen('close', function (index, item) {
|
||||
$('video').each(function() {
|
||||
if (!this.paused) {
|
||||
this.pause();
|
||||
}
|
||||
});
|
||||
$('body').trigger('nasa_media_all_pause');
|
||||
$(pswpElement).remove();
|
||||
});
|
||||
|
||||
gallery.init();
|
||||
@@ -1595,6 +1586,9 @@ $('body').on('click','.commentlist .nasa-wrap-review-thumb .nasa-item-review-thu
|
||||
})
|
||||
|
||||
$('body').addClass('ovhd');
|
||||
|
||||
$('body').trigger('nasa_media_all_pause');
|
||||
|
||||
$('body').trigger('nasa_reload_slick_slider_private', $('.nasa-slide-popup-review'));
|
||||
$('.nasa-slide-popup-review').addClass('nasa-active');
|
||||
|
||||
@@ -1605,10 +1599,13 @@ $('body').on('click','.commentlist .nasa-wrap-review-thumb .nasa-item-review-thu
|
||||
// }
|
||||
|
||||
$('.nasa-slide-popup-review >.nasa-slick-slider').on('beforeChange', function(event, slick, currentSlide) {
|
||||
var _videos = $('.nasa-slide-popup-review').find('.ns-video-review');
|
||||
_videos.each(function() {
|
||||
this.pause();
|
||||
});
|
||||
// var _videos = $('.nasa-slide-popup-review').find('.ns-video-review');
|
||||
// _videos.each(function() {
|
||||
// this.pause();
|
||||
// });
|
||||
|
||||
$('body').trigger('nasa_media_all_pause');
|
||||
|
||||
// if ($(_lm_btn).length) {
|
||||
// if (currentSlide >= slick.slideCount-2) {
|
||||
// nasa_get_ajax_load_review_slide($,$('.nasa-slide-popup-review >.nasa-slick-slider'))
|
||||
@@ -1621,12 +1618,8 @@ $('body').on('click','.nasa-slide-popup-review .close-review-slide-popup,.nasa-s
|
||||
e.preventDefault();
|
||||
var _this = $(this);
|
||||
var _pa = $(_this).parents('.nasa-slide-popup-review');
|
||||
var _videos = $(_pa).find('.ns-video-review');
|
||||
|
||||
_videos.each(function() {
|
||||
this.pause();
|
||||
});
|
||||
|
||||
$('body').trigger('nasa_media_all_pause');
|
||||
$('body').removeClass('ovhd');
|
||||
$(_pa).fadeOut(300);
|
||||
setTimeout(function() {
|
||||
@@ -2221,7 +2214,7 @@ function nasa_ember_link(link) {
|
||||
startTime = link.substring(startIndex + 2);
|
||||
}
|
||||
|
||||
var embedUrl = 'https://www.youtube.com/embed/' + videoId + '?autoplay=1';
|
||||
var embedUrl = 'https://www.youtube.com/embed/' + videoId + '?autoplay=1&enablejsapi=1';
|
||||
if (startTime) {
|
||||
embedUrl += '&start=' + startTime;
|
||||
}
|
||||
|
||||
@@ -43,6 +43,7 @@ if (!function_exists('elessi_get_style_primary_color')) :
|
||||
body .nasa-breadcrumb.nasa-breadcrumb-has-bg .columns .breadcrumb-row a:hover,
|
||||
body .group-blogs .blog_info .post-date span,
|
||||
body .header-type-1 .header-nav .nav-top-link:hover,
|
||||
body .header-type-9 .header-nav .nav-top-link:hover,
|
||||
body .widget_layered_nav li:hover a,
|
||||
body .widget_layered_nav_filters li:hover a,
|
||||
body .remove .pe-7s-close:hover,
|
||||
@@ -84,13 +85,14 @@ if (!function_exists('elessi_get_style_primary_color')) :
|
||||
body .header-nav .active .nav-top-link,
|
||||
body ul li .nav-dropdown > ul > li:hover > a,
|
||||
body ul li .nav-dropdown > ul > li:hover > a:before,
|
||||
body .vertical-menu-float-wrapper >.menu-item .menu-item-has-children:hover >a,
|
||||
body ul li .nav-dropdown > ul > li .nav-column-links > ul > li a:hover,
|
||||
body ul li .nav-dropdown > ul > li .nav-column-links > ul > li:hover > a:before,
|
||||
body .topbar-menu-container > ul > li > a:hover,
|
||||
html body.nasa-dark .topbar-menu-container .header-multi-languages li ul li a:hover,
|
||||
body .header-account ul li a:hover,
|
||||
body .header-icons > li a:hover i,
|
||||
body .header-icons > li a:hover .icon-text,
|
||||
body .header-icons > li a:hover,
|
||||
body .nasa-title span.nasa-first-word,
|
||||
body .nasa-sc-pdeal.nasa-sc-pdeal-block .nasa-sc-p-img .images-popups-gallery a.product-image .nasa-product-label-stock .label-stock,
|
||||
body .nasa-sc-pdeal.nasa-sc-pdeal-block .nasa-sc-p-info .nasa-sc-p-title h3 a:hover,
|
||||
@@ -150,7 +152,11 @@ if (!function_exists('elessi_get_style_primary_color')) :
|
||||
.nasa-where-you-are-wrap .nasa-title .ns-map-lcl,
|
||||
.nasa-where-you-are-wrap .current-menu-item>a,
|
||||
.nasa-sc-blogs-list-2 .blog-item .info-wrap .nasa-post-date-author-wrap svg,
|
||||
.nasa-sc-blogs-list-2 .blog-grid-style .blog-item .nasa-blog-info .nasa-blog-title:hover
|
||||
.nasa-sc-blogs-list-2 .blog-grid-style .blog-item .nasa-blog-info .nasa-blog-title:hover,
|
||||
.header-type-8 .header-icons > li > a:hover,
|
||||
.header-type-8 .topbar-menu-container > ul > li > a:hover,
|
||||
.header-type-8 .wcml-cs-item-toggle:hover,
|
||||
.header-type-8 .nasa-topbar-wrap.nasa-topbar-toggle .nasa-icon-toggle:hover
|
||||
{
|
||||
color: <?php echo esc_attr($color_primary); ?>;
|
||||
}
|
||||
@@ -300,7 +306,8 @@ if (!function_exists('elessi_get_style_primary_color')) :
|
||||
body #nasa-popup .wpcf7 input[type="button"]:hover,
|
||||
body #nasa-popup .wpcf7 input[type="submit"]:hover,
|
||||
body #nasa-footer .footer-light-2 .footer-contact .btn-submit-newsletters:hover,
|
||||
body .nasa-product-content-select-wrap .nasa-product-content-child .nasa-toggle-content-attr-select .nasa-attr-ux-item.nasa-active
|
||||
body .nasa-product-content-select-wrap .nasa-product-content-child .nasa-toggle-content-attr-select .nasa-attr-ux-item.nasa-active,
|
||||
body .nasa-menu-vertical-header.vertical_float_menu_toggle:hover
|
||||
{
|
||||
background-color: <?php echo esc_attr($color_primary_darken); ?>;
|
||||
}
|
||||
@@ -565,7 +572,7 @@ if (!function_exists('elessi_get_style_btn_text_color')) :
|
||||
<style>
|
||||
#submit,
|
||||
button:not(.reset_variations),
|
||||
.button:not(.add-to-cart-grid),
|
||||
.button:not(.add-to-cart-grid, .loading),
|
||||
input[type="submit"],
|
||||
body input[type="submit"].dokan-btn,
|
||||
body a.dokan-btn,
|
||||
@@ -575,16 +582,19 @@ if (!function_exists('elessi_get_style_btn_text_color')) :
|
||||
body a.dokan-btn-theme,
|
||||
body .dokan-btn-theme,
|
||||
.nasa-search-all,
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid .add_to_cart_text,
|
||||
.nasa-modern-4 .product-item .add-to-cart-grid .add_to_cart_text,
|
||||
.nasa-modern-6 .product-item .add-to-cart-grid .add_to_cart_text,
|
||||
.nasa-modern-7 .product-item .add-to-cart-grid .add_to_cart_text,
|
||||
.nasa-modern-8 .product-item .add-to-cart-grid .add_to_cart_text,
|
||||
.nasa-modern-9 .product-item .add-to-cart-grid .add_to_cart_text,
|
||||
.nasa-modern-9 .product-item .add-to-cart-grid svg,
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid:not(.loading) .add_to_cart_text,
|
||||
.nasa-modern-4 .product-item .add-to-cart-grid:not(.loading) .add_to_cart_text,
|
||||
.nasa-modern-6 .product-item .add-to-cart-grid:not(.loading) .add_to_cart_text,
|
||||
.nasa-modern-7 .product-item .add-to-cart-grid:not(.loading) .add_to_cart_text,
|
||||
.nasa-modern-8 .product-item .add-to-cart-grid:not(.loading) .add_to_cart_text,
|
||||
.nasa-modern-9 .product-item .add-to-cart-grid:not(.loading) .add_to_cart_text,
|
||||
.nasa-modern-10 .product-item .add-to-cart-grid:not(.loading) .add_to_cart_text,
|
||||
.nasa-modern-9 .product-item .add-to-cart-grid:not(.loading) svg,
|
||||
body .nasa-static-sidebar .btn-mini-cart .woocommerce-mini-cart__buttons a.checkout,
|
||||
html body .ns-cart-popup-v2 .btn-mini-cart .woocommerce-mini-cart__buttons a.checkout,
|
||||
.nasa-vertical-header.vertical-menu .section-title
|
||||
.nasa-vertical-header.vertical-menu .section-title,
|
||||
body .product-item .product-deal-special-buttons .nasa-product-grid .add-to-cart-grid:not(.loading),
|
||||
body .product-item .product-deal-special-buttons .nasa-product-grid .add-to-cart-grid:not(.loading) .add_to_cart_text
|
||||
{
|
||||
color: <?php echo esc_attr($text_color); ?> !important;
|
||||
}
|
||||
@@ -609,8 +619,14 @@ if (!function_exists('elessi_get_style_main_menu_color')) :
|
||||
$text_color = '',
|
||||
$bg_color_stk = '',
|
||||
$text_color_stk = '',
|
||||
$head_type = '',
|
||||
$return = true
|
||||
) {
|
||||
|
||||
if ($bg_color == '' && $head_type == '8') {
|
||||
$bg_color = '#fff';
|
||||
}
|
||||
|
||||
if ($bg_color == '' && $text_color == '' && $bg_color_stk == '' && $text_color_stk == '') {
|
||||
return '';
|
||||
}
|
||||
@@ -756,6 +772,9 @@ if (!function_exists('elessi_get_style_vertical_menu_color')) :
|
||||
{
|
||||
background-color: <?php echo esc_attr($bg_color); ?>;
|
||||
}
|
||||
html body .nasa-menu-vertical-header.vertical_float_menu_toggle:hover {
|
||||
background-color: <?php echo esc_attr(elessi_pattern_color($bg_color, -0.08)); ?>;
|
||||
}
|
||||
html body .nasa-vertical-header .vertical-menu-wrapper
|
||||
{
|
||||
border-color: <?php echo esc_attr($bg_color); ?>;
|
||||
@@ -817,8 +836,17 @@ if (!function_exists('elessi_get_style_header_color')) :
|
||||
$bg_color_stk = '',
|
||||
$text_color_stk = '',
|
||||
$text_color_hover_stk = '',
|
||||
$head_type = '',
|
||||
$return = true
|
||||
) {
|
||||
|
||||
|
||||
if ($head_type == '8') {
|
||||
$bg_color = $bg_color == '' ? '#0f3d57' : $bg_color;
|
||||
$text_color = $text_color == '' ? '#fff' : $text_color;
|
||||
$text_color_hover = $text_color_hover == '' ? '#fcb802' : $text_color_hover;
|
||||
}
|
||||
|
||||
if ($bg_color == '' && $text_color == '' && $text_color_hover == '' && $bg_color_stk == '' && $text_color_stk == '' && $text_color_hover_stk == '') {
|
||||
return '';
|
||||
}
|
||||
@@ -859,8 +887,7 @@ if (!function_exists('elessi_get_style_header_color')) :
|
||||
body #masthead .header-icons > li > a,
|
||||
body .mini-icon-mobile .nasa-icon,
|
||||
body .nasa-toggle-mobile_icons,
|
||||
body #masthead .follow-icon a i,
|
||||
body #masthead .nasa-icon
|
||||
body #masthead .follow-icon a i
|
||||
{
|
||||
color: <?php echo esc_attr($text_color); ?>;
|
||||
}
|
||||
@@ -888,12 +915,18 @@ if (!function_exists('elessi_get_style_header_color')) :
|
||||
?>
|
||||
body #masthead .header-icons > li > a:hover i,
|
||||
body #masthead .header-icons > li > a:hover .icon-text,
|
||||
body #masthead .header-icons > li > a:hover,
|
||||
body #masthead .mini-cart .cart-icon:hover:before,
|
||||
body #masthead .follow-icon a:hover i,
|
||||
body #masthead .nasa-icon:hover
|
||||
|
||||
{
|
||||
color: <?php echo esc_attr($text_color_hover); ?>;
|
||||
}
|
||||
|
||||
body .nasa-mini-number {
|
||||
background-color: <?php echo esc_attr($text_color_hover); ?>;
|
||||
}
|
||||
<?php
|
||||
endif;
|
||||
|
||||
@@ -907,6 +940,10 @@ if (!function_exists('elessi_get_style_header_color')) :
|
||||
{
|
||||
color: <?php echo esc_attr($text_color_hover_stk); ?>;
|
||||
}
|
||||
|
||||
body .nasa-mini-number {
|
||||
background-color: <?php echo esc_attr($text_color_hover_stk); ?>;
|
||||
}
|
||||
<?php endif; ?>
|
||||
/* End =========================================== */
|
||||
</style>
|
||||
@@ -929,8 +966,16 @@ if (!function_exists('elessi_get_style_topbar_color')) :
|
||||
$bg_color = '',
|
||||
$text_color = '',
|
||||
$text_color_hover = '',
|
||||
$head_type = '',
|
||||
$return = true
|
||||
) {
|
||||
|
||||
if ($head_type == '8') {
|
||||
$bg_color = $bg_color == '' ? '#0f3d57' : $bg_color;
|
||||
$text_color = $text_color == '' ? '#fff' : $text_color;
|
||||
$text_color_hover = $text_color_hover == '' ? '#fcb802' : $text_color_hover;
|
||||
}
|
||||
|
||||
if ($bg_color == '' && $text_color == '' && $text_color_hover == '') {
|
||||
return '';
|
||||
}
|
||||
@@ -951,11 +996,11 @@ if (!function_exists('elessi_get_style_topbar_color')) :
|
||||
{
|
||||
background-color: <?php echo esc_attr($bg_color); ?>;
|
||||
}
|
||||
<?php if (isset($nasa_opt['header-type']) && $nasa_opt['header-type'] != '8') :?>
|
||||
<?php if ($head_type !== '8') :?>
|
||||
body #top-bar,
|
||||
body .nasa-topbar-wrap.nasa-topbar-toggle .nasa-icon-toggle
|
||||
{
|
||||
border-color: <?php echo esc_attr($bg_color); ?>;
|
||||
border-color: <?php echo esc_attr($head_type); ?>;
|
||||
}
|
||||
<?php
|
||||
endif;
|
||||
@@ -1443,6 +1488,8 @@ if (!function_exists('elessi_page_override_style')) :
|
||||
$dinamic_css = $font_weight = $color_primary_css = $page_css = '';
|
||||
if ($is_page && $object_id) {
|
||||
|
||||
$head_type = get_post_meta($object_id, '_nasa_custom_header', true);
|
||||
|
||||
/**
|
||||
* color_primary
|
||||
*/
|
||||
@@ -1470,7 +1517,7 @@ if (!function_exists('elessi_page_override_style')) :
|
||||
$text_color_stk = get_post_meta($object_id, '_nasa_text_color_header_stk', true);
|
||||
$text_color_hover = get_post_meta($object_id, '_nasa_text_color_hover_header', true);
|
||||
$text_color_hover_stk = get_post_meta($object_id, '_nasa_text_color_hover_header_stk', true);
|
||||
$page_css .= elessi_get_style_header_color($bg_color, $text_color, $text_color_hover, $bg_color_stk, $text_color_stk, $text_color_hover_stk);
|
||||
$page_css .= elessi_get_style_header_color($bg_color, $text_color, $text_color_hover, $bg_color_stk, $text_color_stk, $text_color_hover_stk, $head_type);
|
||||
|
||||
/**
|
||||
* color for top bar
|
||||
@@ -1479,7 +1526,7 @@ if (!function_exists('elessi_page_override_style')) :
|
||||
$bg_color = get_post_meta($object_id, '_nasa_bg_color_topbar', true);
|
||||
$text_color = get_post_meta($object_id, '_nasa_text_color_topbar', true);
|
||||
$text_color_hover = get_post_meta($object_id, '_nasa_text_color_hover_topbar', true);
|
||||
$page_css .= elessi_get_style_topbar_color($bg_color, $text_color, $text_color_hover);
|
||||
$page_css .= elessi_get_style_topbar_color($bg_color, $text_color, $text_color_hover, $head_type);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1489,7 +1536,7 @@ if (!function_exists('elessi_page_override_style')) :
|
||||
$bg_color_stk = get_post_meta($object_id, '_nasa_bg_color_main_menu_stk', true);
|
||||
$text_color = get_post_meta($object_id, '_nasa_text_color_main_menu', true);
|
||||
$text_color_stk = get_post_meta($object_id, '_nasa_text_color_main_menu_stk', true);
|
||||
$page_css .= elessi_get_style_main_menu_color($bg_color, $text_color, $bg_color_stk, $text_color_stk);
|
||||
$page_css .= elessi_get_style_main_menu_color($bg_color, $text_color, $bg_color_stk, $text_color_stk, $head_type);
|
||||
|
||||
/**
|
||||
* color for vertical menu
|
||||
@@ -1583,6 +1630,8 @@ if (!function_exists('elessi_page_override_style')) :
|
||||
*/
|
||||
else {
|
||||
$root_cat_id = elessi_get_root_term_id();
|
||||
|
||||
$head_type = get_term_meta($root_cat_id, 'cat_header_type', true);
|
||||
|
||||
if ($root_cat_id) {
|
||||
$color_primary = get_term_meta($root_cat_id, 'cat_primary_color', true);
|
||||
@@ -1600,7 +1649,7 @@ if (!function_exists('elessi_page_override_style')) :
|
||||
$text_color_stk = get_term_meta($root_cat_id, 'cat_header_text_stk', true);
|
||||
$text_color_hover = get_term_meta($root_cat_id, 'cat_header_text_hv', true);
|
||||
$text_color_hover_stk = get_term_meta($root_cat_id, 'cat_header_text_hv_stk', true);
|
||||
$page_css .= elessi_get_style_header_color($bg_color, $text_color, $text_color_hover, $bg_color_stk, $text_color_stk, $text_color_hover_stk);
|
||||
$page_css .= elessi_get_style_header_color($bg_color, $text_color, $text_color_hover, $bg_color_stk, $text_color_stk, $text_color_hover_stk, $head_type);
|
||||
|
||||
/**
|
||||
* color for top bar
|
||||
@@ -1609,7 +1658,7 @@ if (!function_exists('elessi_page_override_style')) :
|
||||
$bg_color = get_term_meta($root_cat_id, 'cat_topbar_bg', true);
|
||||
$text_color = get_term_meta($root_cat_id, 'cat_topbar_text', true);
|
||||
$text_color_hover = get_term_meta($root_cat_id, 'cat_topbar_text_hv', true);
|
||||
$page_css .= elessi_get_style_topbar_color($bg_color, $text_color, $text_color_hover);
|
||||
$page_css .= elessi_get_style_topbar_color($bg_color, $text_color, $text_color_hover, $head_type);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1619,7 +1668,7 @@ if (!function_exists('elessi_page_override_style')) :
|
||||
$bg_color_stk = get_term_meta($root_cat_id, 'cat_main_menu_bg', true);
|
||||
$text_color = get_term_meta($root_cat_id, 'cat_main_menu_text', true);
|
||||
$text_color_stk = get_term_meta($root_cat_id, 'cat_main_menu_text', true);
|
||||
$page_css .= elessi_get_style_main_menu_color($bg_color, $text_color, $bg_color_stk, $text_color_stk);
|
||||
$page_css .= elessi_get_style_main_menu_color($bg_color, $text_color, $bg_color_stk, $text_color_stk, $head_type);
|
||||
|
||||
/**
|
||||
* color for vertical menu
|
||||
@@ -1753,12 +1802,14 @@ if (!function_exists('elessi_get_style_background_color_shop')) :
|
||||
@media only screen and (min-width: 768px) {
|
||||
body .ns-shop-width-background .nasa-archive-product-content-bg .nasa-archive-product-content .nasa-content-page-products .product-item,
|
||||
body .nasa-archive-product-content-bg .nasa-modern-2 .product-item:after,
|
||||
body .nasa-archive-product-content-bg .nasa-modern-10 .product-item:after,
|
||||
body .nasa-archive-product-content-bg .nasa-modern-1 .product-item:after,
|
||||
body .nasa-modern-3 .product-item:after,
|
||||
body .nasa-modern-1 .nasa-product-content-nasa_label-wrap,
|
||||
body.nasa-dark .ns-shop-width-background .nasa-archive-product-content-bg .nasa-archive-product-content .nasa-content-page-products .product-item,
|
||||
body.nasa-dark .ns-shop-width-background .nasa-archive-product-content-bg .nasa-archive-product-content .nasa-content-page-products.nasa-modern-1 .product-item:after,
|
||||
body.nasa-dark .ns-shop-width-background .nasa-archive-product-content-bg .nasa-archive-product-content .nasa-content-page-products.nasa-modern-2 .product-item:after,
|
||||
body.nasa-dark .ns-shop-width-background .nasa-archive-product-content-bg .nasa-archive-product-content .nasa-content-page-products.nasa-modern-10 .product-item:after,
|
||||
body.nasa-dark .nasa-modern-1 .nasa-product-content-nasa_label-wrap {
|
||||
background-color: <?php echo esc_attr(ucwords($color_background_shop_pro)); ?>;
|
||||
}
|
||||
|
||||
@@ -1321,3 +1321,77 @@ if (!function_exists('elessi_get_recommended_products_sidebar_empty')) :
|
||||
<?php
|
||||
}
|
||||
endif;
|
||||
|
||||
/**
|
||||
* Get Vertical-menu-float
|
||||
*/
|
||||
add_action('nasa_static_content', 'elessi_get_vertical_menu_float', 9);
|
||||
if (!function_exists('elessi_get_vertical_menu_float')) :
|
||||
function elessi_get_vertical_menu_float() {
|
||||
global $nasa_vertical_menu_float,$nasa_opt;
|
||||
|
||||
$vfmenu_enable = isset($nasa_opt['vertical_menu_float']) ? $nasa_opt['vertical_menu_float'] : false;
|
||||
|
||||
if (is_checkout() || !$vfmenu_enable) {
|
||||
return ;
|
||||
}
|
||||
|
||||
if (!$nasa_vertical_menu_float) {
|
||||
|
||||
$vfmenu = isset($nasa_opt['vertical_menu_float_selected']) ? $nasa_opt['vertical_menu_float_selected'] : false;
|
||||
|
||||
if (!$vfmenu) {
|
||||
$locations = get_theme_mod('nav_menu_locations');
|
||||
$vfmenu = isset($locations['vetical-float-menu']) && $locations['vetical-float-menu'] ? $locations['vetical-float-menu'] : null;
|
||||
}
|
||||
|
||||
if ($vfmenu && $vfmenu != '-1') {
|
||||
$mega = class_exists('Nasa_Nav_Menu');
|
||||
$walker = $mega ? new Nasa_Nav_Menu(false) : new Walker_Nav_Menu();
|
||||
$class = $mega ? '' : ' nasa-wp-simple-nav-menu';
|
||||
|
||||
|
||||
$depth = apply_filters('nasa_max_depth_vertical_float_menu', 3);
|
||||
|
||||
$menu_name = esc_html__('Browse Categories', 'elessi-theme');
|
||||
|
||||
$browse_heading = '<a class="nasa-flex button" href="javascript:void(0);" rel="nofollow">' .
|
||||
'<svg class="ns-v-icon" fill="currentColor" width="20" height="20" viewBox="0 0 512 512"><path d="M43 469c-23 0-43-19-43-42 0-24 20-44 43-44 24 0 42 20 42 44 0 23-18 42-42 42z m0-171c-23 0-43-19-43-42 0-23 20-43 43-43 24 0 42 20 42 43 0 23-18 42-42 42z m0-169c-23 0-43-20-43-44 0-23 20-42 43-42 24 0 42 19 42 42 0 24-18 44-42 44z m100 312l0-28 369 0 0 28z m0-199l369 0 0 28-369 0z m0-171l369 0 0 28-369 0z"/></svg><span>' . $menu_name . '</span></a>';
|
||||
|
||||
$browse_heading = apply_filters('nasa_vertical_float_menu_heading', $browse_heading);
|
||||
|
||||
ob_start();
|
||||
?>
|
||||
<a class="nasa-vertical-menu-float-mobile-toggle" href="javascript:void(0);" rel="nofollow">
|
||||
<svg viewBox="0 0 24 24" width="20" height="20" fill="none">
|
||||
<path d="M3 12H15M3 6H21M3 18H21" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
|
||||
</svg>
|
||||
</a>
|
||||
<div id="vertical-menu-float">
|
||||
<div class="vertical_float_menu_title">
|
||||
<?php echo apply_filters('nasa_vertical_float_menu_heading', $browse_heading); ?>
|
||||
</div>
|
||||
<div class="vertical-menu-float-container">
|
||||
<ul class="vertical-menu-float-wrapper<?php echo esc_attr($class); ?>">
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'menu' => $vfmenu,
|
||||
'container' => false,
|
||||
'items_wrap' => '%3$s',
|
||||
'depth' => (int) $depth,
|
||||
'walker' => $walker
|
||||
));
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
$nasa_vertical_menu_float = ob_get_clean();
|
||||
$GLOBALS['nasa_vertical_menu_float'] = $nasa_vertical_menu_float;
|
||||
}
|
||||
}
|
||||
|
||||
echo $nasa_vertical_menu_float ? $nasa_vertical_menu_float : '';
|
||||
}
|
||||
endif;
|
||||
|
||||
@@ -459,6 +459,7 @@ if (!function_exists('elessi_get_vertical_menu')) :
|
||||
global $nasa_opt;
|
||||
|
||||
$menu = isset($nasa_opt['vertical_menu_selected']) ? $nasa_opt['vertical_menu_selected'] : false;
|
||||
$vfmenu_enable = isset($nasa_opt['vertical_menu_float']) ? $nasa_opt['vertical_menu_float'] : false;
|
||||
|
||||
if (!$menu) {
|
||||
$locations = get_theme_mod('nav_menu_locations');
|
||||
@@ -476,6 +477,7 @@ if (!function_exists('elessi_get_vertical_menu')) :
|
||||
|
||||
$wrap_class = 'nasa-menu-vertical-header margin-right-45 rtl-margin-right-0 rtl-margin-left-45 rtl-right';
|
||||
$wrap_class .= $vroot ? ' vitems-root' : '';
|
||||
$wrap_class.= $vfmenu_enable ? ' vertical_float_menu_toggle' : '';
|
||||
|
||||
$attributes = '';
|
||||
if ($vroot) {
|
||||
@@ -493,6 +495,8 @@ if (!function_exists('elessi_get_vertical_menu')) :
|
||||
'<svg class="ns-v-icon" fill="currentColor" width="15" height="15" viewBox="0 0 512 512"><path d="M43 469c-23 0-43-19-43-42 0-24 20-44 43-44 24 0 42 20 42 44 0 23-18 42-42 42z m0-171c-23 0-43-19-43-42 0-23 20-43 43-43 24 0 42 20 42 43 0 23-18 42-42 42z m0-169c-23 0-43-20-43-44 0-23 20-42 43-42 24 0 42 19 42 42 0 24-18 44-42 44z m100 312l0-28 369 0 0 28z m0-199l369 0 0 28-369 0z m0-171l369 0 0 28-369 0z"/></svg>' .
|
||||
esc_html__('Browse Categories', 'elessi-theme') .
|
||||
'</h5>';
|
||||
|
||||
$browse_heading = apply_filters('nasa_vertical_menu_heading', $browse_heading);
|
||||
|
||||
ob_start();
|
||||
?>
|
||||
@@ -500,20 +504,21 @@ if (!function_exists('elessi_get_vertical_menu')) :
|
||||
<div class="<?php echo esc_attr($nasa_wrap); ?>">
|
||||
|
||||
<?php echo apply_filters('nasa_browse_categories_heading', $browse_heading); ?>
|
||||
|
||||
<div class="vertical-menu-container<?php echo esc_attr($nasa_class); ?>">
|
||||
<ul class="vertical-menu-wrapper<?php echo esc_attr($class); ?>">
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'menu' => $menu,
|
||||
'container' => false,
|
||||
'items_wrap' => '%3$s',
|
||||
'depth' => (int) $depth,
|
||||
'walker' => $walker
|
||||
));
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php if(!$vfmenu_enable) :?>
|
||||
<div class="vertical-menu-container<?php echo esc_attr($nasa_class); ?>">
|
||||
<ul class="vertical-menu-wrapper<?php echo esc_attr($class); ?>">
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'menu' => $menu,
|
||||
'container' => false,
|
||||
'items_wrap' => '%3$s',
|
||||
'depth' => (int) $depth,
|
||||
'walker' => $walker
|
||||
));
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
@@ -1145,13 +1150,13 @@ if (!function_exists('elessi_multi_languages')) :
|
||||
* Select Languages
|
||||
*/
|
||||
// Deutsch
|
||||
$selectLang .= '<li class="nasa-item-lang"><a href="https://elessi.nasatheme.com/rtl/" title="Deutsch" rel="nofollow">';
|
||||
$selectLang .= '<li class="nasa-item-lang"><a href="https://elessi.nasatheme.com/rtl/" title="Arabic" rel="nofollow">';
|
||||
$selectLang .= 'Arabic';
|
||||
$selectLang .= '</a></li>';
|
||||
|
||||
// Français
|
||||
$selectLang .= '<li class="nasa-item-lang"><a href="https://elessi.nasatheme.com/rtl/ar/" title="Français" rel="nofollow">';
|
||||
$selectLang .= ' العربية';
|
||||
$selectLang .= '<li class="nasa-item-lang"><a href="https://elessi.nasatheme.com/rtl/ar/" title="العربية" rel="nofollow">';
|
||||
$selectLang .= 'العربية';
|
||||
$selectLang .= '</a></li>';
|
||||
|
||||
// Requires WPML
|
||||
@@ -1163,7 +1168,7 @@ if (!function_exists('elessi_multi_languages')) :
|
||||
$selectLang = $selectLang ? '<ul class="nasa-list-languages sub-menu">' . $selectLang . '</ul>' : '';
|
||||
|
||||
if ($mainLang || $selectLang) {
|
||||
$language_output = '<li class="nasa-select-languages left rtl-right desktop-margin-right-30 rtl-desktop-margin-right-0 rtl-desktop-margin-left-30 menu-item-has-children root-item li_accordion">' . $mainLang . $selectLang . $svg .'</li>';
|
||||
$language_output = '<li class="nasa-select-languages left rtl-right desktop-margin-right-30 rtl-desktop-margin-right-0 rtl-desktop-margin-left-30 menu-item-has-children root-item li_accordion">' . $mainLang . $selectLang . $svg . '</li>';
|
||||
}
|
||||
|
||||
$outputHtml .= $language_output;
|
||||
@@ -1467,15 +1472,27 @@ if (!function_exists('elessi_checkout_get_coupon_slide')) :
|
||||
function elessi_checkout_get_coupon_slide() {
|
||||
$publish_couponts = elessi_wc_publish_coupons();
|
||||
$coupons_used = WC()->cart->get_applied_coupons();
|
||||
|
||||
if (!empty($publish_couponts)) :
|
||||
$last_used_coupon = $coupons_used ? end($coupons_used) : false;
|
||||
$last_used_coupon_index = $last_used_coupon !== false ? array_search($last_used_coupon, wp_list_pluck($publish_couponts, 'code')) : 0;
|
||||
// $last_used_coupon_index = $last_used_coupon !== false ? array_search($last_used_coupon, wp_list_pluck($publish_couponts, 'get_code')) : 0;
|
||||
$last_used_coupon_index = 0;
|
||||
$k = 0;
|
||||
foreach ($publish_couponts as $coupon) :
|
||||
$code = $coupon->get_code();
|
||||
if ($last_used_coupon == $code) {
|
||||
$last_used_coupon_index = $k;
|
||||
break;
|
||||
}
|
||||
$k++;
|
||||
endforeach;
|
||||
|
||||
$data_attrs = array(
|
||||
'data-columns="2"',
|
||||
'data-columns-small="1"',
|
||||
'data-columns-tablet="2"',
|
||||
'data-padding-small="30%"' ,
|
||||
'data-start="'.$last_used_coupon_index.'"',
|
||||
'data-start="' . $last_used_coupon_index . '"',
|
||||
// 'data-padding-medium="0"',
|
||||
// 'data-padding="20%"'
|
||||
);
|
||||
@@ -1486,7 +1503,7 @@ if (!function_exists('elessi_checkout_get_coupon_slide')) :
|
||||
|
||||
?>
|
||||
<p class="nasa-bold"> <?php echo esc_html__('Available Coupon', 'elessi-theme'); ?> </p>
|
||||
<div class="publish-coupons publish-coupons-slide nasa-slick-nav nasa-nav-top nasa-slick-slider"<?php echo $attrs_str; ?>>
|
||||
<div class="publish-coupons publish-coupons-slide nasa-slick-nav nasa-nav-top nasa-slick-slider"<?php echo $attrs_str; ?>>
|
||||
<?php foreach ($publish_couponts as $coupon) :
|
||||
$code = $coupon->get_code();
|
||||
$amount = $coupon->get_amount();
|
||||
|
||||
@@ -101,10 +101,11 @@ if (!function_exists('elessi_add_action_header')):
|
||||
|
||||
/* Header Default */
|
||||
add_action('nasa_header_structure', 'elessi_get_header_structure', 10);
|
||||
add_action('nasa_header_structure', 'elessi_block_header', 100);
|
||||
add_action('nasa_before_page_wrapper', 'elessi_block_header', 1);
|
||||
add_action('woocommerce_before_main_content', 'elessi_block_header', 1);
|
||||
|
||||
/* Breadcrumb site */
|
||||
add_action('woocommerce_before_main_content', 'elessi_get_breadcrumb', 1);
|
||||
add_action('woocommerce_before_main_content', 'elessi_get_breadcrumb', 2);
|
||||
add_action('nasa_before_page_wrapper', 'elessi_get_breadcrumb', 1);
|
||||
// add_action('nasa_before_archive_blogs', 'elessi_get_breadcrumb', 1);
|
||||
// add_action('nasa_before_single_post', 'elessi_get_breadcrumb', 1);
|
||||
@@ -151,7 +152,8 @@ if (!function_exists('elessi_products_ma_remove_breadcrumb')) :
|
||||
|
||||
if ($in_mobile && isset($nasa_opt['mobile_layout']) && $nasa_opt['mobile_layout'] == 'app') {
|
||||
/* Remove Breadcrumb site */
|
||||
remove_action('woocommerce_before_main_content', 'elessi_get_breadcrumb', 1);
|
||||
remove_action('woocommerce_before_main_content', 'elessi_get_breadcrumb', 2);
|
||||
remove_action('nasa_before_page_wrapper', 'elessi_get_breadcrumb', 1);
|
||||
|
||||
/* Remove Breadcrumb for Header Elementor-Pro */
|
||||
if (function_exists('elementor_pro_load_plugin')) {
|
||||
@@ -172,7 +174,7 @@ if (!function_exists('elessi_get_header_structure')):
|
||||
|
||||
$has_vertical = array('4', '6', '8');
|
||||
$not_search_icon = array('3', '4', '5', '6', '7', '8');
|
||||
$transparent = array('1', '2', '3', '5', '7');
|
||||
$transparent = array('1', '2', '3', '5', '7','9');
|
||||
|
||||
$hstructure = isset($nasa_opt['header-type']) ? $nasa_opt['header-type'] : '1';
|
||||
|
||||
@@ -180,7 +182,7 @@ if (!function_exists('elessi_get_header_structure')):
|
||||
* Header builder
|
||||
*/
|
||||
if ($hstructure == 'nasa-custom') {
|
||||
remove_action('nasa_header_structure', 'elessi_block_header', 100);
|
||||
remove_action('nasa_before_page_wrapper', 'elessi_block_header', 1);
|
||||
|
||||
$header_slug = isset($nasa_opt['header-custom']) && $nasa_opt['header-custom'] != 'default' ?
|
||||
$nasa_opt['header-custom'] : false;
|
||||
@@ -196,7 +198,7 @@ if (!function_exists('elessi_get_header_structure')):
|
||||
* Header Elementor builder
|
||||
*/
|
||||
if ($hstructure == 'nasa-elm') {
|
||||
remove_action('nasa_header_structure', 'elessi_block_header', 100);
|
||||
remove_action('nasa_before_page_wrapper', 'elessi_block_header', 1);
|
||||
|
||||
$header_e = isset($nasa_opt['header-elm']) && $nasa_opt['header-elm'] != 'default' ?
|
||||
$nasa_opt['header-elm'] : false;
|
||||
@@ -382,7 +384,7 @@ if (!function_exists('elessi_header_icons')) :
|
||||
*/
|
||||
$account_icon = (isset($nasa_opt['acc_pos']) && $nasa_opt['acc_pos'] == 'group') ? true : false;
|
||||
|
||||
$account_icon = isset($nasa_opt['header-type']) && $nasa_opt['header-type'] == '8' ? true : $account_icon;
|
||||
$account_icon = in_array($hstructure,array('8','9')) ? true : $account_icon;
|
||||
|
||||
if (
|
||||
!$account_icon &&
|
||||
@@ -404,15 +406,21 @@ if (!function_exists('elessi_header_icons')) :
|
||||
$subacc = elessi_sub_account();
|
||||
|
||||
$icon = apply_filters('nasa_mini_icon_account', '<svg width="24" height="24" viewBox="0 0 32 32" fill="currentColor"><path d="M16 3.205c-7.067 0-12.795 5.728-12.795 12.795s5.728 12.795 12.795 12.795 12.795-5.728 12.795-12.795c0-7.067-5.728-12.795-12.795-12.795zM16 4.271c6.467 0 11.729 5.261 11.729 11.729 0 2.845-1.019 5.457-2.711 7.49-1.169-0.488-3.93-1.446-5.638-1.951-0.146-0.046-0.169-0.053-0.169-0.66 0-0.501 0.206-1.005 0.407-1.432 0.218-0.464 0.476-1.244 0.569-1.944 0.259-0.301 0.612-0.895 0.839-2.026 0.199-0.997 0.106-1.36-0.026-1.7-0.014-0.036-0.028-0.071-0.039-0.107-0.050-0.234 0.019-1.448 0.189-2.391 0.118-0.647-0.030-2.022-0.921-3.159-0.562-0.719-1.638-1.601-3.603-1.724l-1.078 0.001c-1.932 0.122-3.008 1.004-3.57 1.723-0.89 1.137-1.038 2.513-0.92 3.159 0.172 0.943 0.239 2.157 0.191 2.387-0.010 0.040-0.025 0.075-0.040 0.111-0.131 0.341-0.225 0.703-0.025 1.7 0.226 1.131 0.579 1.725 0.839 2.026 0.092 0.7 0.35 1.48 0.569 1.944 0.159 0.339 0.234 0.801 0.234 1.454 0 0.607-0.023 0.614-0.159 0.657-1.767 0.522-4.579 1.538-5.628 1.997-1.725-2.042-2.768-4.679-2.768-7.555 0-6.467 5.261-11.729 11.729-11.729zM7.811 24.386c1.201-0.49 3.594-1.344 5.167-1.808 0.914-0.288 0.914-1.058 0.914-1.677 0-0.513-0.035-1.269-0.335-1.908-0.206-0.438-0.442-1.189-0.494-1.776-0.011-0.137-0.076-0.265-0.18-0.355-0.151-0.132-0.458-0.616-0.654-1.593-0.155-0.773-0.089-0.942-0.026-1.106 0.027-0.070 0.053-0.139 0.074-0.216 0.128-0.468-0.015-2.005-0.17-2.858-0.068-0.371 0.018-1.424 0.711-2.311 0.622-0.795 1.563-1.238 2.764-1.315l1.011-0.001c1.233 0.078 2.174 0.521 2.797 1.316 0.694 0.887 0.778 1.94 0.71 2.312-0.154 0.852-0.298 2.39-0.17 2.857 0.022 0.078 0.047 0.147 0.074 0.217 0.064 0.163 0.129 0.333-0.025 1.106-0.196 0.977-0.504 1.461-0.655 1.593-0.103 0.091-0.168 0.218-0.18 0.355-0.051 0.588-0.286 1.338-0.492 1.776-0.236 0.502-0.508 1.171-0.508 1.886 0 0.619 0 1.389 0.924 1.68 1.505 0.445 3.91 1.271 5.18 1.77-2.121 2.1-5.035 3.4-8.248 3.4-3.183 0-6.073-1.277-8.188-3.342z"/></svg>');
|
||||
|
||||
|
||||
if ($hstructure == '8') {
|
||||
$title_acc = !NASA_CORE_USER_LOGGED ? wp_kses_post(__('Login <br> Register', 'elessi-theme')) : wp_kses_post(__('My <br> Account', 'elessi-theme'));
|
||||
$icon .= $icon_text ? '<span class="icon-text">' . $title_acc . '</span>' : '';
|
||||
} else {
|
||||
$icon .= $icon_text ? '<span class="icon-text">' . esc_html__('Account', 'elessi-theme') . '</span>' : '';
|
||||
switch ($hstructure) {
|
||||
case '8':
|
||||
$title_8 = !NASA_CORE_USER_LOGGED ? wp_kses_post(__('Login <br> Register', 'elessi-theme')) : wp_kses_post(__('My <br> Account', 'elessi-theme'));
|
||||
$icon .= $icon_text ? '<span class="icon-text">' . $title_8 . '</span>' : '';
|
||||
break;
|
||||
case '9':
|
||||
$icon .= '<span class="icon-text">' . $title_acc . '</span>';
|
||||
break;
|
||||
default:
|
||||
$icon .= $icon_text ? '<span class="icon-text">' . esc_html__('Account', 'elessi-theme') . '</span>' : '';
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
|
||||
$nasa_icon_account =
|
||||
'<a class="nasa-login-register-ajax nasa-flex" data-enable="' . $login_ajax . '" href="' . esc_url($links) . '" title="' . $title_acc . '">' .
|
||||
@@ -1287,12 +1295,17 @@ endif;
|
||||
add_action('nasa_left_header_mobile_df', 'elessi_left_header_mobile_df');
|
||||
if (!function_exists('elessi_left_header_mobile_df')) :
|
||||
function elessi_left_header_mobile_df() {
|
||||
echo '<a href="javascript:void(0);" class="nasa-icon nasa-mobile-menu_toggle mobile_toggle nasa-mobile-menu-icon nasa-flex" rel="nofollow"><svg width="26" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><line x1="3" y1="12" x2="21" y2="12" /><line x1="3" y1="6" x2="21" y2="6" /><line x1="3" y1="18" x2="21" y2="18" /></svg></a>';
|
||||
$menu_svg = apply_filters('elessi_mobile_menu_svg', '<svg width="26" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><line x1="3" y1="12" x2="21" y2="12" /><line x1="3" y1="6" x2="21" y2="6" /><line x1="3" y1="18" x2="21" y2="18" /></svg>');
|
||||
|
||||
$search_svg = apply_filters('elessi_mobile_search_svg', '<svg fill="currentColor" viewBox="0 0 80 80" width="24" height="24"><path d="M74.3,72.2L58.7,56.5C69.9,44,69,24.8,56.5,13.5s-31.7-10.3-43,2.2s-10.3,31.7,2.2,43c11.6,10.5,29.3,10.5,40.9,0 l15.7,15.7L74.3,72.2z M36.1,63.5c-15.1,0-27.4-12.3-27.4-27.4C8.7,20.9,21,8.7,36.1,8.7c15.1,0,27.4,12.3,27.4,27.4 C63.5,51.2,51.2,63.5,36.1,63.5z"/><path d="M36.1,12.8v3c11.2,0,20.3,9.1,20.3,20.3h3C59.4,23.2,49,12.8,36.1,12.8z"/></svg>');
|
||||
|
||||
echo '<a href="javascript:void(0);" class="nasa-icon nasa-mobile-menu_toggle mobile_toggle nasa-mobile-menu-icon nasa-flex" rel="nofollow">'.$menu_svg.'</a>';
|
||||
|
||||
echo '<a class="nasa-icon mobile-search" href="javascript:void(0);" rel="nofollow"><svg fill="currentColor" viewBox="0 0 80 80" width="24" height="24"><path d="M74.3,72.2L58.7,56.5C69.9,44,69,24.8,56.5,13.5s-31.7-10.3-43,2.2s-10.3,31.7,2.2,43c11.6,10.5,29.3,10.5,40.9,0 l15.7,15.7L74.3,72.2z M36.1,63.5c-15.1,0-27.4-12.3-27.4-27.4C8.7,20.9,21,8.7,36.1,8.7c15.1,0,27.4,12.3,27.4,27.4 C63.5,51.2,51.2,63.5,36.1,63.5z"/><path d="M36.1,12.8v3c11.2,0,20.3,9.1,20.3,20.3h3C59.4,23.2,49,12.8,36.1,12.8z"/></svg></a>';
|
||||
echo '<a class="nasa-icon mobile-search" href="javascript:void(0);" rel="nofollow">' . $search_svg . '</a>';
|
||||
}
|
||||
endif;
|
||||
|
||||
|
||||
/**
|
||||
* Since 5.0.1
|
||||
*
|
||||
|
||||
@@ -169,16 +169,21 @@ if (!NASA_WISHLIST_ENABLE && NASA_WOO_ACTIVED) :
|
||||
}
|
||||
|
||||
$class_btn = 'btn-wishlist btn-link wishlist-icon btn-nasa-wishlist nasa-flex ns-has-wrap';
|
||||
|
||||
$ns_wishlist_stroke = apply_filters('elessi_wishlist_svg_stroke', '<svg class="nasa-icon ns-stroke" width="20" height="20" viewBox="0 0 32 32">
|
||||
<path d="M21.886 5.115c3.521 0 6.376 2.855 6.376 6.376 0 1.809-0.754 3.439-1.964 4.6l-10.297 10.349-10.484-10.536c-1.1-1.146-1.778-2.699-1.778-4.413 0-3.522 2.855-6.376 6.376-6.376 2.652 0 4.925 1.62 5.886 3.924 0.961-2.304 3.234-3.924 5.886-3.924zM21.886 4.049c-2.345 0-4.499 1.089-5.886 2.884-1.386-1.795-3.54-2.884-5.886-2.884-4.104 0-7.442 3.339-7.442 7.442 0 1.928 0.737 3.758 2.075 5.152l11.253 11.309 11.053-11.108c1.46-1.402 2.275-3.308 2.275-5.352 0-4.104-3.339-7.442-7.442-7.442v0z" fill="currentColor" />
|
||||
</svg>');
|
||||
|
||||
$ns_wishlist_filled = apply_filters('elessi_wishlist_svg_filled', '<svg class="nasa-icon ns-filled" width="20" height="20" viewBox="0 0 28 32">
|
||||
<path d="M19.886 4.049c-2.345 0-4.499 1.089-5.886 2.884-1.386-1.795-3.54-2.884-5.886-2.884-4.104 0-7.442 3.339-7.442 7.442 0 1.928 0.737 3.758 2.075 5.152l11.253 11.309 11.053-11.108c1.46-1.402 2.275-3.308 2.275-5.352 0-4.104-3.339-7.442-7.442-7.442z" fill="currentColor" />
|
||||
</svg>');
|
||||
?>
|
||||
|
||||
<a href="javascript:void(0);" class="<?php echo esc_attr($class_btn); ?>" data-prod="<?php echo (int) $productId; ?>" data-prod_type="<?php echo esc_attr($productType); ?>" title="<?php esc_attr_e('Wishlist', 'elessi-theme'); ?>" rel="nofollow">
|
||||
<svg class="nasa-icon ns-stroke" width="20" height="20" viewBox="0 0 32 32">
|
||||
<path d="M21.886 5.115c3.521 0 6.376 2.855 6.376 6.376 0 1.809-0.754 3.439-1.964 4.6l-10.297 10.349-10.484-10.536c-1.1-1.146-1.778-2.699-1.778-4.413 0-3.522 2.855-6.376 6.376-6.376 2.652 0 4.925 1.62 5.886 3.924 0.961-2.304 3.234-3.924 5.886-3.924zM21.886 4.049c-2.345 0-4.499 1.089-5.886 2.884-1.386-1.795-3.54-2.884-5.886-2.884-4.104 0-7.442 3.339-7.442 7.442 0 1.928 0.737 3.758 2.075 5.152l11.253 11.309 11.053-11.108c1.46-1.402 2.275-3.308 2.275-5.352 0-4.104-3.339-7.442-7.442-7.442v0z" fill="currentColor" />
|
||||
</svg>
|
||||
|
||||
<svg class="nasa-icon ns-filled" width="20" height="20" viewBox="0 0 28 32">
|
||||
<path d="M19.886 4.049c-2.345 0-4.499 1.089-5.886 2.884-1.386-1.795-3.54-2.884-5.886-2.884-4.104 0-7.442 3.339-7.442 7.442 0 1.928 0.737 3.758 2.075 5.152l11.253 11.309 11.053-11.108c1.46-1.402 2.275-3.308 2.275-5.352 0-4.104-3.339-7.442-7.442-7.442z" fill="currentColor" />
|
||||
</svg>
|
||||
|
||||
<?php echo $ns_wishlist_stroke; ?>
|
||||
<?php echo $ns_wishlist_filled; ?>
|
||||
|
||||
|
||||
<span class="nasa-icon-text-wrap">
|
||||
<span class="margin-left-5 rtl-margin-left-0 rtl-margin-right-5 nasa-icon-text"><?php echo esc_html__('Add to wishlist', 'elessi-theme'); ?></span>
|
||||
@@ -219,16 +224,20 @@ if (!NASA_WISHLIST_ENABLE && NASA_WOO_ACTIVED) :
|
||||
|
||||
$class_btn = 'btn-wishlist btn-link wishlist-icon btn-nasa-wishlist nasa-tip';
|
||||
$class_btn .= ' nasa-tip-' . $tip;
|
||||
|
||||
$ns_wishlist_stroke = apply_filters('elessi_wishlist_svg_stroke', '<svg class="nasa-icon ns-stroke" width="20" height="20" viewBox="0 0 32 32">
|
||||
<path d="M21.886 5.115c3.521 0 6.376 2.855 6.376 6.376 0 1.809-0.754 3.439-1.964 4.6l-10.297 10.349-10.484-10.536c-1.1-1.146-1.778-2.699-1.778-4.413 0-3.522 2.855-6.376 6.376-6.376 2.652 0 4.925 1.62 5.886 3.924 0.961-2.304 3.234-3.924 5.886-3.924zM21.886 4.049c-2.345 0-4.499 1.089-5.886 2.884-1.386-1.795-3.54-2.884-5.886-2.884-4.104 0-7.442 3.339-7.442 7.442 0 1.928 0.737 3.758 2.075 5.152l11.253 11.309 11.053-11.108c1.46-1.402 2.275-3.308 2.275-5.352 0-4.104-3.339-7.442-7.442-7.442v0z" fill="currentColor" />
|
||||
</svg>');
|
||||
|
||||
$ns_wishlist_filled = apply_filters('elessi_wishlist_svg_filled', '<svg class="nasa-icon ns-filled" width="20" height="20" viewBox="0 0 28 32">
|
||||
<path d="M19.886 4.049c-2.345 0-4.499 1.089-5.886 2.884-1.386-1.795-3.54-2.884-5.886-2.884-4.104 0-7.442 3.339-7.442 7.442 0 1.928 0.737 3.758 2.075 5.152l11.253 11.309 11.053-11.108c1.46-1.402 2.275-3.308 2.275-5.352 0-4.104-3.339-7.442-7.442-7.442z" fill="currentColor" />
|
||||
</svg>');
|
||||
|
||||
?>
|
||||
|
||||
<a href="javascript:void(0);" class="<?php echo esc_attr($class_btn); ?>" data-prod="<?php echo (int) $productId; ?>" data-prod_type="<?php echo esc_attr($productType); ?>" data-icon-text="<?php esc_attr_e('Add to Wishlist', 'elessi-theme'); ?>" data-added="<?php esc_attr_e('Added to Wishlist', 'elessi-theme'); ?>" title="<?php esc_attr_e('Wishlist', 'elessi-theme'); ?>" rel="nofollow">
|
||||
<svg class="nasa-icon ns-stroke" width="20" height="20" viewBox="0 0 32 32">
|
||||
<path d="M21.886 5.115c3.521 0 6.376 2.855 6.376 6.376 0 1.809-0.754 3.439-1.964 4.6l-10.297 10.349-10.484-10.536c-1.1-1.146-1.778-2.699-1.778-4.413 0-3.522 2.855-6.376 6.376-6.376 2.652 0 4.925 1.62 5.886 3.924 0.961-2.304 3.234-3.924 5.886-3.924zM21.886 4.049c-2.345 0-4.499 1.089-5.886 2.884-1.386-1.795-3.54-2.884-5.886-2.884-4.104 0-7.442 3.339-7.442 7.442 0 1.928 0.737 3.758 2.075 5.152l11.253 11.309 11.053-11.108c1.46-1.402 2.275-3.308 2.275-5.352 0-4.104-3.339-7.442-7.442-7.442v0z" fill="currentColor" />
|
||||
</svg>
|
||||
|
||||
<svg class="nasa-icon ns-filled" width="20" height="20" viewBox="0 0 28 32">
|
||||
<path d="M19.886 4.049c-2.345 0-4.499 1.089-5.886 2.884-1.386-1.795-3.54-2.884-5.886-2.884-4.104 0-7.442 3.339-7.442 7.442 0 1.928 0.737 3.758 2.075 5.152l11.253 11.309 11.053-11.108c1.46-1.402 2.275-3.308 2.275-5.352 0-4.104-3.339-7.442-7.442-7.442z" fill="currentColor" />
|
||||
</svg>
|
||||
<?php echo $ns_wishlist_stroke; ?>
|
||||
<?php echo $ns_wishlist_filled; ?>
|
||||
</a>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -823,7 +823,7 @@ if (!function_exists('elessi_ct_product_grid_btns')) :
|
||||
/**
|
||||
* Product Card Styles - style 4 | modern-2
|
||||
*/
|
||||
if ($nasa_opt['loop_layout_buttons'] == 'modern-2') {
|
||||
if (in_array($nasa_opt['loop_layout_buttons'], array('modern-2', 'modern-10'))) {
|
||||
remove_action('nasa_show_buttons_loop', 'woocommerce_template_loop_add_to_cart', 10);
|
||||
|
||||
if (
|
||||
@@ -833,6 +833,18 @@ if (!function_exists('elessi_ct_product_grid_btns')) :
|
||||
add_action('woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_add_to_cart', 100);
|
||||
add_action('nasa_after_special_deal_simple_action', 'woocommerce_template_loop_add_to_cart', 100);
|
||||
}
|
||||
|
||||
/**
|
||||
* rating in loop - case modern-10
|
||||
*/
|
||||
if ($nasa_opt['loop_layout_buttons'] == 'modern-10') {
|
||||
add_filter('woocommerce_get_star_rating_html', function($html, $rating, $count) {
|
||||
$html = '<span style="width:' . ( ( $rating / 5 ) * 80 ) . 'px"></span>';
|
||||
$html .= '<span class="rating hidden-tag">(' . esc_html( $rating ) . ')</span>';
|
||||
return $html;
|
||||
}, 10, 3);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -67,7 +67,7 @@ if (!function_exists('elessi_tiny_account')) {
|
||||
return '';
|
||||
}
|
||||
|
||||
if (isset($nasa_opt['header-type']) && $nasa_opt['header-type'] == '8') {
|
||||
if (isset($nasa_opt['header-type']) && in_array($nasa_opt['header-type'],array('8','9'))) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* @package nasatheme - elessi-theme
|
||||
*/
|
||||
|
||||
defined('NASA_VERSION') or define('NASA_VERSION', '6.3.3');
|
||||
defined('NASA_VERSION') or define('NASA_VERSION', '6.3.5');
|
||||
|
||||
/* Define DIR AND URI OF THEME */
|
||||
define('ELESSI_THEME_PATH', get_template_directory());
|
||||
@@ -62,6 +62,7 @@ if (!function_exists('elessi_setup')) :
|
||||
array(
|
||||
'primary' => __('Main Menu', 'elessi-theme'),
|
||||
'vetical-menu' => __('Vertical Menu', 'elessi-theme'),
|
||||
'vetical-float-menu' => __('Vertical Float Menu', 'elessi-theme'),
|
||||
'topbar-menu' => __('Top Menu - Only show level 1', 'elessi-theme')
|
||||
)
|
||||
);
|
||||
@@ -174,20 +175,3 @@ if (!function_exists('elessi_load_textdomain')) :
|
||||
}
|
||||
}
|
||||
endif;
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Change a currency symbol
|
||||
*/
|
||||
|
||||
add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
|
||||
|
||||
function change_existing_currency_symbol($currency_symbol, $currency) {
|
||||
switch ($currency) {
|
||||
case 'DZD':
|
||||
$currency_symbol = 'DA';
|
||||
break;
|
||||
}
|
||||
return $currency_symbol;
|
||||
}
|
||||
@@ -17,6 +17,9 @@ $beside_mm = $block_custom != '' && $block_custom != false ? $block_custom : $be
|
||||
$popup_block_custom = elessi_static_block_popup();
|
||||
$popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popup_block_custom : $popup_block;
|
||||
|
||||
|
||||
$menu_warp_class .= $beside_mm ? ' nasa-flex jbw align-stretch' : '';
|
||||
|
||||
?>
|
||||
|
||||
<div class="<?php echo esc_attr($header_classes); ?>">
|
||||
@@ -74,12 +77,11 @@ $popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popu
|
||||
<?php if ($beside_mm) : ?>
|
||||
<div class="nasa-beside-mm hide-for-small hide-for-medium <?php echo ($popup_block != '' && $popup_block != false) ? esc_attr('ns-toggle-popup-static-block') : '';?>">
|
||||
<?php echo $beside_mm; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($popup_block && $beside_mm) : ?>
|
||||
<div class="hide-for-small hide-for-medium ns-static-block-popup">
|
||||
<?php echo $popup_block; ?>
|
||||
<?php if ($popup_block) : ?>
|
||||
<div class="hide-for-small hide-for-medium ns-static-block-popup">
|
||||
<?php echo $popup_block; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
@@ -18,6 +18,7 @@ $beside_mm = $block_custom != '' && $block_custom != false ? $block_custom : $be
|
||||
$popup_block_custom = elessi_static_block_popup();
|
||||
$popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popup_block_custom : $popup_block;
|
||||
|
||||
$menu_warp_class .= $beside_mm ? ' nasa-flex jbw align-stretch' : '';
|
||||
?>
|
||||
|
||||
<div class="<?php echo esc_attr($header_classes); ?>">
|
||||
@@ -74,12 +75,11 @@ $popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popu
|
||||
<?php if ($beside_mm) : ?>
|
||||
<div class="nasa-beside-mm hide-for-small hide-for-medium <?php echo ($popup_block != '' && $popup_block != false) ? esc_attr('ns-toggle-popup-static-block') : '';?>">
|
||||
<?php echo $beside_mm; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($popup_block && $beside_mm) : ?>
|
||||
<div class="hide-for-small hide-for-medium ns-static-block-popup">
|
||||
<?php echo $popup_block; ?>
|
||||
<?php if ($popup_block) : ?>
|
||||
<div class="hide-for-small hide-for-medium ns-static-block-popup">
|
||||
<?php echo $popup_block; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
@@ -17,6 +17,7 @@ $beside_mm = $block_custom != '' && $block_custom != false ? $block_custom : $be
|
||||
$popup_block_custom = elessi_static_block_popup();
|
||||
$popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popup_block_custom : $popup_block;
|
||||
|
||||
$menu_warp_class .= $beside_mm ? ' nasa-flex jbw align-stretch' : '';
|
||||
?>
|
||||
|
||||
<div class="<?php echo esc_attr($header_classes); ?>">
|
||||
@@ -40,7 +41,7 @@ $popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popu
|
||||
</div>
|
||||
|
||||
<!-- Search form in header -->
|
||||
<div class="fgr-2 nasa-header-search-wrap nasa-search-relative margin-right-50 margin-left-50">
|
||||
<div class="fgr-2 nasa-header-search-wrap nasa-search-relative margin-right-80 margin-left-80">
|
||||
<?php echo elessi_search('full'); ?>
|
||||
</div>
|
||||
|
||||
@@ -74,12 +75,11 @@ $popup_block = $popup_block_custom != '' && $popup_block_custom != false ? $popu
|
||||
<?php if ($beside_mm) : ?>
|
||||
<div class="nasa-beside-mm hide-for-small hide-for-medium <?php echo ($popup_block != '' && $popup_block != false) ? esc_attr('ns-toggle-popup-static-block') : '';?>">
|
||||
<?php echo $beside_mm; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($popup_block && $beside_mm) : ?>
|
||||
<div class="hide-for-small hide-for-medium ns-static-block-popup">
|
||||
<?php echo $popup_block; ?>
|
||||
<?php if ($popup_block) : ?>
|
||||
<div class="hide-for-small hide-for-medium ns-static-block-popup">
|
||||
<?php echo $popup_block; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
<?php defined('ABSPATH') or die(); // Exit if accessed directly
|
||||
?>
|
||||
|
||||
<div class="<?php echo esc_attr($header_classes); ?>">
|
||||
<?php
|
||||
/**
|
||||
* Hook - top bar header
|
||||
*/
|
||||
do_action('nasa_topbar_header');
|
||||
?>
|
||||
|
||||
<div class="sticky-wrapper">
|
||||
<div id="masthead" class="site-header">
|
||||
<?php do_action('nasa_mobile_header'); ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="large-12 columns header-container">
|
||||
<div class="nasa-hide-for-mobile nasa-wrap-event-search">
|
||||
<div class="nasa-relative nasa-header-flex nasa-elements-wrap nasa-wrap-width-main-menu jbw">
|
||||
|
||||
<!-- Group icon header -->
|
||||
<div class="order-3 icons-wrapper">
|
||||
<?php echo $nasa_header_icons; ?>
|
||||
</div>
|
||||
|
||||
<!-- Logo -->
|
||||
<div class="order-2 logo-wrapper fjct">
|
||||
<?php echo elessi_logo(); ?>
|
||||
</div>
|
||||
|
||||
<!-- Main menu -->
|
||||
<div class="wide-nav order-1 nasa-bg-wrap<?php echo esc_attr($menu_warp_class); ?>">
|
||||
<div class="nasa-menus-wrapper nasa-menus-wrapper-reponsive nasa-loading" data-padding_x="<?php echo (int) $data_padding_x; ?>">
|
||||
<?php elessi_get_main_menu(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Search form in header -->
|
||||
<div class="nasa-header-search-wrap nasa-hide-for-mobile">
|
||||
<?php echo elessi_search('icon'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if (defined('NASA_TOP_FILTER_CATS') && NASA_TOP_FILTER_CATS) : ?>
|
||||
<div class="nasa-top-cat-filter-wrap">
|
||||
<?php echo elessi_get_all_categories(false, true); ?>
|
||||
<a href="javascript:void(0);" title="<?php esc_attr_e('Close', 'elessi-theme'); ?>" class="nasa-close-filter-cat nasa-stclose nasa-transition" rel="nofollow"></a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -110,4 +110,4 @@ if (!$is_close) :
|
||||
</ul>
|
||||
|
||||
<?php
|
||||
endif;
|
||||
endif;
|
||||
|
||||
@@ -4,7 +4,7 @@ Theme URI: https://elessi.nasatheme.com
|
||||
Author: NasaTheme
|
||||
Author URI: https://nasatheme.com
|
||||
Description: A Premium and Responsive WooCommerce - WordPress Theme, designed for E-Commerce websites
|
||||
Version: 6.3.3
|
||||
Version: 6.3.5
|
||||
Requires PHP: 5.6.0 or Higher
|
||||
License: https://themeforest.net/licenses
|
||||
License URI: https://themeforest.net/licenses
|
||||
@@ -1427,6 +1427,13 @@ table tr:last-child {
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
cursor: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMyIDMyIiBoZWlnaHQ9IjMycHgiIGlkPSLQodC70L7QuV8xIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMycHgiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxwYXRoIGQ9Ik0xNy40NTksMTYuMDE0bDguMjM5LTguMTk0YzAuMzk1LTAuMzkxLDAuMzk1LTEuMDI0LDAtMS40MTRjLTAuMzk0LTAuMzkxLTEuMDM0LTAuMzkxLTEuNDI4LDAgIGwtOC4yMzIsOC4xODdMNy43Myw2LjI4NGMtMC4zOTQtMC4zOTUtMS4wMzQtMC4zOTUtMS40MjgsMGMtMC4zOTQsMC4zOTYtMC4zOTQsMS4wMzcsMCwxLjQzMmw4LjMwMiw4LjMwM2wtOC4zMzIsOC4yODYgIGMtMC4zOTQsMC4zOTEtMC4zOTQsMS4wMjQsMCwxLjQxNGMwLjM5NCwwLjM5MSwxLjAzNCwwLjM5MSwxLjQyOCwwbDguMzI1LTguMjc5bDguMjc1LDguMjc2YzAuMzk0LDAuMzk1LDEuMDM0LDAuMzk1LDEuNDI4LDAgIGMwLjM5NC0wLjM5NiwwLjM5NC0xLjAzNywwLTEuNDMyTDE3LjQ1OSwxNi4wMTR6IiBmaWxsPSIjZmZmIiBpZD0iQ2xvc2UiLz48Zy8+PGcvPjxnLz48Zy8+PGcvPjxnLz48L3N2Zz4=") 16 16, pointer;
|
||||
}
|
||||
.black-window.vertical-menu-float-bg,
|
||||
.white-window.vertical-menu-float-bg,
|
||||
.transparent-desktop.vertical-menu-float-bg,
|
||||
.transparent-window.vertical-menu-float-bg,
|
||||
.transparent-mobile.vertical-menu-float-bg {
|
||||
z-index: 399;
|
||||
}
|
||||
|
||||
#nasa-confetti-popup,
|
||||
#nasa-confetti,
|
||||
@@ -1739,6 +1746,426 @@ body > #nasa-confetti {
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.nasa-vertical-menu-float-mobile-toggle {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
-webkit-transform: translateY(-50%);
|
||||
-moz-transform: translateY(-50%);
|
||||
-o-transform: translateY(-50%);
|
||||
-ms-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
background-color: #fff;
|
||||
-webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
|
||||
-moz-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
-webkit-align-items: center;
|
||||
align-items: center;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-border-radius: 50%;
|
||||
-moz-border-radius: 50%;
|
||||
border-radius: 50%;
|
||||
margin: 0 10px;
|
||||
flex-shrink: 0;
|
||||
z-index: 399;
|
||||
}
|
||||
|
||||
#vertical-menu-float {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
max-width: 50vw;
|
||||
-webkit-transition: all 400ms ease;
|
||||
-moz-transition: all 400ms ease;
|
||||
-o-transition: all 400ms ease;
|
||||
transition: all 400ms ease;
|
||||
background-color: #FFF;
|
||||
}
|
||||
#vertical-menu-float * {
|
||||
list-style: none;
|
||||
}
|
||||
#vertical-menu-float .vertical_float_menu_title {
|
||||
padding: 10px;
|
||||
z-index: 1;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
#vertical-menu-float .vertical_float_menu_title a {
|
||||
gap: 10px;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-webkit-box-pack: start;
|
||||
-ms-flex-pack: start;
|
||||
justify-content: start;
|
||||
padding: 0 10px;
|
||||
font-size: 100%;
|
||||
max-height: 50px;
|
||||
height: 40px;
|
||||
letter-spacing: normal;
|
||||
text-transform: none;
|
||||
}
|
||||
#vertical-menu-float .vertical_float_menu_title a svg {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
#vertical-menu-float .vertical_float_menu_title a span {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper {
|
||||
padding-bottom: 30px;
|
||||
counter-reset: section_item;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li {
|
||||
padding: 5px 10px;
|
||||
counter-increment: section_item;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nasa-title-menu {
|
||||
gap: 10px;
|
||||
height: 45px;
|
||||
padding-left: 10px;
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
-webkit-align-items: center;
|
||||
align-items: center;
|
||||
white-space: nowrap;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nasa-title-menu i,
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nasa-title-menu svg {
|
||||
margin: 0;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nasa-title-menu:not(:has(i, svg:not(.nasa-open-child, .nasa-has-items-child)))::before {
|
||||
content: counter(section_item,upper-roman);
|
||||
position: relative;
|
||||
min-width: 20px;
|
||||
font-weight: bold;
|
||||
flex-shrink: 0;
|
||||
text-align: center;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nasa-title-menu .nasa-has-items-child {
|
||||
margin-left: auto;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown {
|
||||
width: 100%;
|
||||
text-align: start;
|
||||
margin: 0;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown > ul {
|
||||
border: none;
|
||||
padding: 15px 0;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu {
|
||||
margin: 0;
|
||||
height: auto;
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
padding: 0;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li > .nasa-title-menu {
|
||||
padding: 5px 0 5px 30px;
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li > .nasa-title-menu .nasa-has-items-child {
|
||||
display: none;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li > .nasa-title-menu:hover {
|
||||
padding-left: 35px;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li > .nasa-img-menu .nasa-mega-img {
|
||||
width: 100%;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li .sub-menu {
|
||||
margin: 0;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li.menu-item-has-children > .nasa-title-menu {
|
||||
font-size: 115%;
|
||||
padding: 10px 0 10px 30px;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li.menu-item-has-children:not(:first-child) {
|
||||
padding-top: 25px;
|
||||
position: relative;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li.menu-item-has-children:not(:first-child)::before {
|
||||
content: '';
|
||||
width: calc(100% - 40px);
|
||||
height: 1px;
|
||||
background-color: #ececec;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 20px;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li:has(> .nasa-img-menu) {
|
||||
position: relative !important;
|
||||
padding-top: 25px !important;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
height: auto;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li:has(> .nasa-img-menu)::before {
|
||||
content: '';
|
||||
width: calc(100% - 40px);
|
||||
height: 1px;
|
||||
background-color: #ececec;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 20px;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li:has(> .nasa-img-menu) a,
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li:has(> .nasa-img-menu) img {
|
||||
height: auto;
|
||||
position: relative !important;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li:hover > a {
|
||||
background-color: #ececec;
|
||||
color: inherit;
|
||||
font-weight: 500;
|
||||
}
|
||||
#vertical-menu-float.nasa-active::after, #vertical-menu-float:hover::after {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
#vertical-menu-float.nasa-active .vertical_float_menu_title a span, #vertical-menu-float:hover .vertical_float_menu_title a span {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
#vertical-menu-float.nasa-active .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nasa-title-menu .nasa-has-items-child, #vertical-menu-float:hover .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nasa-title-menu .nasa-has-items-child {
|
||||
visibility: visible;
|
||||
}
|
||||
#vertical-menu-float.nav-dropdown-delay-0 .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown {
|
||||
transition-delay: 0ms;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
body:has(#vertical-menu-float) {
|
||||
margin-left: 60px;
|
||||
}
|
||||
body:has(#vertical-menu-float).nasa-rtl {
|
||||
margin-right: 60px;
|
||||
margin-left: 0;
|
||||
}
|
||||
body:has(#vertical-menu-float) .nasa-megamenu.fullwidth > .nav-dropdown {
|
||||
width: calc(99vw - 60px);
|
||||
}
|
||||
body.admin-bar #vertical-menu-float {
|
||||
top: 32px;
|
||||
}
|
||||
|
||||
.nasa-vertical-menu-float-mobile-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#vertical-menu-float {
|
||||
width: 60px;
|
||||
z-index: 400;
|
||||
-webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
|
||||
-moz-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 100%;
|
||||
z-index: -1;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
min-width: 280px;
|
||||
-webkit-transition: all 200ms ease-in-out;
|
||||
-moz-transition: all 200ms ease-in-out;
|
||||
-o-transition: all 200ms ease-in-out;
|
||||
transition: all 200ms ease-in-out;
|
||||
-webkit-transform: translateX(20px);
|
||||
-moz-transform: translateX(20px);
|
||||
-o-transform: translateX(20px);
|
||||
-ms-transform: translateX(20px);
|
||||
transform: translateX(20px);
|
||||
margin: 0;
|
||||
transition-delay: 500ms;
|
||||
overflow-y: auto;
|
||||
overflow-x: visible;
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
border: 1px solid #ececec;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown:-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li:hover > .nav-dropdown {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
-webkit-transform: translateX(0);
|
||||
-moz-transform: translateX(0);
|
||||
-o-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
}
|
||||
#vertical-menu-float.nasa-active, #vertical-menu-float:hover {
|
||||
width: 280px;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 767px) {
|
||||
body.admin-bar #vertical-menu-float {
|
||||
top: 46px;
|
||||
}
|
||||
body .black-window.vertical-menu-float-bg {
|
||||
z-index: 400;
|
||||
}
|
||||
body.nasa-mobile-app #vertical-menu-float .vertical-menu-float-wrapper > li.menu-item-has-children > .nasa-title-menu:after {
|
||||
content: '';
|
||||
border-top: 1px solid black;
|
||||
border-right: 1px solid black;
|
||||
margin-left: auto;
|
||||
-webkit-transform: rotate(135deg);
|
||||
-moz-transform: rotate(135deg);
|
||||
-o-transform: rotate(135deg);
|
||||
-ms-transform: rotate(135deg);
|
||||
transform: rotate(135deg);
|
||||
-webkit-transition: all 200ms ease;
|
||||
-moz-transition: all 200ms ease;
|
||||
-o-transition: all 200ms ease;
|
||||
transition: all 200ms ease;
|
||||
height: 7px;
|
||||
width: 7px;
|
||||
}
|
||||
body.nasa-mobile-app #vertical-menu-float .vertical-menu-float-wrapper > li.menu-item-has-children.nasa-active > .nasa-title-menu {
|
||||
font-weight: 500;
|
||||
}
|
||||
body.nasa-mobile-app #vertical-menu-float .vertical-menu-float-wrapper > li.menu-item-has-children.nasa-active > .nasa-title-menu:after {
|
||||
-webkit-transform: rotate(-45deg);
|
||||
-moz-transform: rotate(-45deg);
|
||||
-o-transform: rotate(-45deg);
|
||||
-ms-transform: rotate(-45deg);
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
|
||||
#vertical-menu-float {
|
||||
-webkit-transform: translateX(-100%);
|
||||
-moz-transform: translateX(-100%);
|
||||
-o-transform: translateX(-100%);
|
||||
-ms-transform: translateX(-100%);
|
||||
transform: translateX(-100%);
|
||||
width: 401px;
|
||||
z-index: 9998;
|
||||
max-width: 80vw;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container {
|
||||
overflow-y: auto;
|
||||
-ms-overflow-style: none;
|
||||
scrollbar-width: none;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container:-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown {
|
||||
display: none;
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
position: relative;
|
||||
-webkit-transition: all 0ms ease;
|
||||
-moz-transition: all 0ms ease;
|
||||
-o-transition: all 0ms ease;
|
||||
transition: all 0ms ease;
|
||||
-webkit-transform: translateY(0);
|
||||
-moz-transform: translateY(0);
|
||||
-o-transform: translateY(0);
|
||||
-ms-transform: translateY(0);
|
||||
transform: translateY(0);
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu {
|
||||
margin: 10px 0;
|
||||
background-color: #ececec;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu * {
|
||||
background-color: transparent;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li.menu-item-has-children:not(:first-child) {
|
||||
padding-top: 10px;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li > .nav-dropdown ul.sub-menu li.menu-item-has-children:not(:first-child)::before {
|
||||
display: none;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li .nasa-title-menu {
|
||||
padding: 10px;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li .nasa-title-menu .nasa-has-items-child {
|
||||
-webkit-transform: rotate(90deg);
|
||||
-moz-transform: rotate(90deg);
|
||||
-o-transform: rotate(90deg);
|
||||
-ms-transform: rotate(90deg);
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li.nasa-active > .nasa-title-menu {
|
||||
background-color: #ececec;
|
||||
}
|
||||
#vertical-menu-float .vertical-menu-float-container .vertical-menu-float-wrapper > li.nasa-active > .nasa-title-menu .nasa-has-items-child {
|
||||
-webkit-transform: rotate(-90deg);
|
||||
-moz-transform: rotate(-90deg);
|
||||
-o-transform: rotate(-90deg);
|
||||
-ms-transform: rotate(-90deg);
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
#vertical-menu-float.nasa-active {
|
||||
-webkit-transform: translateX(0);
|
||||
-moz-transform: translateX(0);
|
||||
-o-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
z-index: 401;
|
||||
}
|
||||
}
|
||||
.woocommerce-account #main-content > .woocommerce {
|
||||
max-width: 1200px;
|
||||
margin: 30px auto;
|
||||
@@ -1931,6 +2358,10 @@ body > #nasa-confetti {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
button.show-password-input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#nasa_customer_login .form-row,
|
||||
#customer_login .form-row {
|
||||
position: relative;
|
||||
@@ -2021,7 +2452,7 @@ body > #nasa-confetti {
|
||||
|
||||
.nasa-social-login-title {
|
||||
position: relative;
|
||||
margin-top: 25px;
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.nasa-social-login-title h5 {
|
||||
@@ -4138,7 +4569,8 @@ tr.price {
|
||||
}
|
||||
|
||||
.nasa-modern-1 .product-item .info,
|
||||
.nasa-modern-2 .product-item .info {
|
||||
.nasa-modern-2 .product-item .info,
|
||||
.nasa-modern-10 .product-item .info {
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
@@ -5470,11 +5902,11 @@ select:hover {
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
height: auto;
|
||||
-webkit-transform: translateY(calc(100% - 10px));
|
||||
-moz-transform: translateY(calc(100% - 10px));
|
||||
-o-transform: translateY(calc(100% - 10px));
|
||||
-ms-transform: translateY(calc(100% - 10px));
|
||||
transform: translateY(calc(100% - 10px));
|
||||
-webkit-transform: translateY(calc(100% - 5px));
|
||||
-moz-transform: translateY(calc(100% - 5px));
|
||||
-o-transform: translateY(calc(100% - 5px));
|
||||
-ms-transform: translateY(calc(100% - 5px));
|
||||
transform: translateY(calc(100% - 5px));
|
||||
}
|
||||
.product-info .variations .reset_variations:hover {
|
||||
color: #333;
|
||||
@@ -6540,17 +6972,21 @@ form .select2-container--default .select2-search--dropdown .select2-search__fiel
|
||||
-ms-flex-align: center;
|
||||
-webkit-align-items: center;
|
||||
align-items: center;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
-webkit-border-radius: 50px;
|
||||
-moz-border-radius: 50px;
|
||||
border-radius: 50px;
|
||||
height: 30px;
|
||||
width: 70px;
|
||||
font-size: 16px;
|
||||
padding: 0 20px;
|
||||
gap: 5px;
|
||||
margin: 0;
|
||||
}
|
||||
.nasa-bullets-inside.nasa-bullets-counter ul.slick-dots::after {
|
||||
content: "/ " counter(list-counter);
|
||||
font-weight: inherit;
|
||||
}
|
||||
.nasa-bullets-inside.nasa-bullets-counter ul.slick-dots li {
|
||||
counter-increment: list-counter;
|
||||
@@ -6633,7 +7069,7 @@ form .select2-container--default .select2-search--dropdown .select2-search__fiel
|
||||
right: calc(10% + 50px);
|
||||
}
|
||||
.nasa-bullets-inside.nasa-bullets-counter.nasa-bullets-right .nasa-slick-slider .nasa-nav-arrow.slick-prev {
|
||||
right: calc(10% + 135px);
|
||||
right: calc(10% + 140px);
|
||||
left: auto;
|
||||
}
|
||||
.nasa-bullets-inside.nasa-bullets-counter.nasa-bullets-right .nasa-slick-slider .nasa-nav-arrow.slick-next {
|
||||
@@ -6649,7 +7085,7 @@ form .select2-container--default .select2-search--dropdown .select2-search__fiel
|
||||
}
|
||||
.nasa-bullets-inside.nasa-bullets-counter.nasa-bullets-left .nasa-slick-slider .nasa-nav-arrow.slick-next {
|
||||
right: auto;
|
||||
left: calc(10% + 135px);
|
||||
left: calc(10% + 140px);
|
||||
}
|
||||
.nasa-bullets-inside.nasa-bullets-counter.nasa-bullets-center .slick-dots {
|
||||
left: 50%;
|
||||
@@ -6859,7 +7295,7 @@ form .select2-container--default .select2-search--dropdown .select2-search__fiel
|
||||
right: auto;
|
||||
}
|
||||
.nasa-warp-slide-nav-top.nasa-has-product-description .nasa-nav-top > .nasa-nav-arrow {
|
||||
top: -66px;
|
||||
top: -50px;
|
||||
}
|
||||
|
||||
.entry-header .info-wrap > a:last-child > span:after {
|
||||
@@ -10462,7 +10898,7 @@ body .blockOverlay {
|
||||
left: 20px;
|
||||
width: 350px;
|
||||
max-width: 100%;
|
||||
z-index: 399;
|
||||
z-index: 398;
|
||||
height: auto;
|
||||
background-color: #fff;
|
||||
padding: 10px;
|
||||
@@ -10627,6 +11063,18 @@ body .blockOverlay {
|
||||
animation-play-state: paused;
|
||||
}
|
||||
|
||||
body.has-nasa-cart-fixed .ns-sale-notification.nasa-active {
|
||||
-webkit-transform: translateY(-90px);
|
||||
-moz-transform: translateY(-90px);
|
||||
-o-transform: translateY(-90px);
|
||||
-ms-transform: translateY(-90px);
|
||||
transform: translateY(-90px);
|
||||
}
|
||||
|
||||
body:has(#vertical-menu-float) .ns-sale-notification {
|
||||
left: 80px;
|
||||
}
|
||||
|
||||
@-webkit-keyframes ns-count-down {
|
||||
0% {
|
||||
width: 100%;
|
||||
@@ -11324,7 +11772,7 @@ button.slick-arrow {
|
||||
}
|
||||
|
||||
.nasa-sc-carousel-main .nasa-nav-arrow svg {
|
||||
border: 1px solid #eee;
|
||||
border: 1px solid #ECECEC;
|
||||
background-color: #fff;
|
||||
}
|
||||
.nasa-sc-carousel-main .nasa-nav-arrow.slick-prev {
|
||||
@@ -11333,8 +11781,8 @@ button.slick-arrow {
|
||||
.nasa-sc-carousel-main .nasa-nav-arrow.slick-next {
|
||||
right: 15px;
|
||||
}
|
||||
.nasa-sc-carousel-main .nasa-nav-arrow:hover:before {
|
||||
border-color: #999;
|
||||
.nasa-sc-carousel-main .nasa-nav-arrow:hover svg {
|
||||
border-color: #999999;
|
||||
}
|
||||
|
||||
.nasa-nav-top > .nasa-nav-arrow {
|
||||
@@ -11451,10 +11899,12 @@ button.slick-arrow {
|
||||
}
|
||||
|
||||
.nasa-nav-top-list > .nasa-nav-arrow {
|
||||
top: -67px;
|
||||
top: -37px;
|
||||
width: 20px;
|
||||
height: 40px;
|
||||
overflow: hidden;
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
-webkit-transform: translate(0, -50%);
|
||||
-moz-transform: translate(0, -50%);
|
||||
-o-transform: translate(0, -50%);
|
||||
@@ -11464,6 +11914,7 @@ button.slick-arrow {
|
||||
.nasa-nav-top-list > .nasa-nav-arrow svg {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.nasa-nav-top-list > .nasa-nav-arrow.slick-prev {
|
||||
left: auto;
|
||||
@@ -11472,7 +11923,7 @@ button.slick-arrow {
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
.nasa-nav-top-list > .nasa-nav-arrow {
|
||||
top: -43px;
|
||||
top: -36px;
|
||||
}
|
||||
|
||||
.nasa-slick-slider .nasa-nav-arrow.slick-arrow:hover {
|
||||
@@ -11490,13 +11941,6 @@ button.slick-arrow {
|
||||
.main-image-slider .nasa-nav-arrow.slick-prev {
|
||||
left: 15px;
|
||||
}
|
||||
.main-image-slider .nasa-nav-arrow svg {
|
||||
background: #fff;
|
||||
border: 1px solid #eee;
|
||||
}
|
||||
.main-image-slider .nasa-nav-arrow:hover:not(.slick-disabled) svg {
|
||||
border-color: #999;
|
||||
}
|
||||
.main-image-slider .nasa-nav-arrow:hover:not(.slick-disabled):hover, .main-image-slider .nasa-nav-arrow:hover:not(.slick-disabled):focus {
|
||||
color: #333333;
|
||||
}
|
||||
@@ -14142,6 +14586,9 @@ body {
|
||||
min-height: 100%;
|
||||
background-color: transparent;
|
||||
}
|
||||
body * {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
body .nasa-only-rtl {
|
||||
display: none;
|
||||
}
|
||||
@@ -16838,6 +17285,7 @@ span.custom-icon-w-text i.checked {
|
||||
}
|
||||
.nasa-custom-animate .infinities-slide p {
|
||||
min-width: 300px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.nasa-custom-animate:hover .infinities-slide {
|
||||
animation-play-state: paused;
|
||||
@@ -17265,7 +17713,8 @@ span.custom-icon-w-text i.checked {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid {
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid,
|
||||
.nasa-modern-10 .product-item .add-to-cart-grid {
|
||||
width: 100%;
|
||||
margin-top: 5px;
|
||||
position: static;
|
||||
@@ -17277,15 +17726,18 @@ span.custom-icon-w-text i.checked {
|
||||
-ms-transform: translateY(0);
|
||||
transform: translateY(0);
|
||||
}
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid .add_to_cart_text {
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid .add_to_cart_text,
|
||||
.nasa-modern-10 .product-item .add-to-cart-grid .add_to_cart_text {
|
||||
text-transform: none;
|
||||
letter-spacing: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid .cart-icon {
|
||||
.nasa-modern-2 .product-item .add-to-cart-grid .cart-icon,
|
||||
.nasa-modern-10 .product-item .add-to-cart-grid .cart-icon {
|
||||
display: none;
|
||||
}
|
||||
.nasa-modern-2 .nasa-product-content-nasa_label-wrap {
|
||||
.nasa-modern-2 .nasa-product-content-nasa_label-wrap,
|
||||
.nasa-modern-10 .nasa-product-content-nasa_label-wrap {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
@@ -17348,7 +17800,8 @@ span.custom-icon-w-text i.checked {
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.nasa-products-special-deal-for_time-2 .nasa-modern-2 .product-item .add-to-cart-grid {
|
||||
.nasa-products-special-deal-for_time-2 .nasa-modern-2 .product-item .add-to-cart-grid,
|
||||
.nasa-products-special-deal-for_time-2 .nasa-modern-10 .product-item .add-to-cart-grid {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
@@ -17358,6 +17811,7 @@ span.custom-icon-w-text i.checked {
|
||||
}
|
||||
|
||||
.crazy-loading .nasa-modern-2 .add-to-cart-grid,
|
||||
.crazy-loading .nasa-modern-10 .add-to-cart-grid,
|
||||
.crazy-loading .nasa-modern-6 .add-to-cart-grid {
|
||||
display: none;
|
||||
}
|
||||
@@ -18095,7 +18549,7 @@ body .wcfmmp-product-geolocate-search-form i.wcfmmmp_locate_icon {
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 1.2em;
|
||||
border: 1px solid #efefef;
|
||||
padding: 10px 35px;
|
||||
padding: 10px 15px 15px 15px;
|
||||
text-align: center;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
@@ -18106,6 +18560,18 @@ body .wcfmmp-product-geolocate-search-form i.wcfmmmp_locate_icon {
|
||||
padding: 0 10px;
|
||||
font-size: 15px;
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.ns-svg-pays {
|
||||
gap: 8px;
|
||||
}
|
||||
.ns-svg-pays svg {
|
||||
border: 1px solid rgba(0, 0, 0, 0.07);
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.payment_method_direct-debit fieldset {
|
||||
|
||||
@@ -1,4 +1,16 @@
|
||||
----- 6.3.2 (17 Feb 2025) -----
|
||||
----- 6.3.5 (18 Mar 2025) -----
|
||||
- NEW: +1 Home "Hand Tools" - Elementor version.
|
||||
- NEW: +1 Home "Hand Tools" - WPBakery version.
|
||||
- FIXED: some CSS.
|
||||
- COMPATIBLE: WPBakery Page Builder 8.3.
|
||||
- COMPATIBLE: Revolution Slider 6.7.30.
|
||||
|
||||
----- 6.3.4 (06 Mar 2025) -----
|
||||
- FIXED: some CSS.
|
||||
- COMPATIBLE: Revolution Slider 6.7.29.
|
||||
- COMPATIBLE: WooCommerce 9.7.1.
|
||||
|
||||
----- 6.3.3 (17 Feb 2025) -----
|
||||
- NEW: +1 Home "Gym Nutrition" - Elementor version.
|
||||
- NEW: +1 Home "Gym Nutrition" - WPBakery version.
|
||||
- NEW: +1 Header Built-in - Style 8.
|
||||
@@ -8,7 +20,7 @@
|
||||
- COMPATIBLE: WPBakery Page Builder 8.2.
|
||||
- COMPATIBLE: Revolution Slider 6.7.28.
|
||||
- COMPATIBLE: WooCommerce 9.6.2.
|
||||
- COMPATIBLE: WooCommerce 6.7.2.
|
||||
- COMPATIBLE: WordPress 6.7.2.
|
||||
|
||||
----- 6.3.2 (23 Jan 2025) -----
|
||||
- FIXED: some CSS.
|
||||
|
||||
@@ -23,7 +23,7 @@ defined('NASA_CHECKOUT_LAYOUT') or define('NASA_CHECKOUT_LAYOUT', 'default');
|
||||
|
||||
<form class="checkout_coupon woocommerce-form-coupon" method="post" style="display:none">
|
||||
<div class="row">
|
||||
<div class="large-7 columns">
|
||||
<div class="large-12 columns">
|
||||
<p><?php esc_html_e('If you have a coupon code, please apply it below.', 'elessi-theme'); ?></p>
|
||||
|
||||
<div class="form-row form-row-first coupon">
|
||||
@@ -31,11 +31,12 @@ defined('NASA_CHECKOUT_LAYOUT') or define('NASA_CHECKOUT_LAYOUT', 'default');
|
||||
<button type="submit" class="button" name="apply_coupon" value="<?php esc_attr_e('Apply coupon', 'elessi-theme'); ?>"><?php esc_html_e('Apply coupon', 'elessi-theme'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="large-5 columns title-align-left">
|
||||
|
||||
<div class="large-12 columns title-align-left">
|
||||
<?php
|
||||
if (NASA_CHECKOUT_LAYOUT !== 'modern') {
|
||||
elessi_checkout_get_coupon_slide();
|
||||
}
|
||||
if (NASA_CHECKOUT_LAYOUT !== 'modern') :
|
||||
elessi_checkout_get_coupon_slide();
|
||||
endif;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 3.6.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
if (!defined('ABSPATH')) :
|
||||
exit;
|
||||
@@ -14,17 +14,19 @@ global $nasa_opt;
|
||||
?>
|
||||
<form class="woocommerce-ordering" method="get">
|
||||
<span class="sort-text margin-right-5 rtl-margin-right-0 rtl-margin-left-5">
|
||||
<?php esc_html_e('Sort by', 'elessi-theme'); ?>
|
||||
<?php echo esc_html__('Sort by', 'elessi-theme'); ?>
|
||||
</span>
|
||||
|
||||
|
||||
<select name="orderby" class="orderby" aria-label="<?php esc_attr_e('Shop order', 'elessi-theme'); ?>">
|
||||
<?php foreach ($catalog_orderby_options as $id => $name) : ?>
|
||||
<option value="<?php echo esc_attr($id); ?>" <?php selected($orderby, $id); ?>><?php echo esc_html($name); ?></option>
|
||||
<option value="<?php echo esc_attr($id); ?>" <?php selected($orderby, $id); ?>>
|
||||
<?php echo esc_html($name); ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
|
||||
<?php if (!isset($nasa_opt['nasa_in_mobile']) || !$nasa_opt['nasa_in_mobile']) : ?>
|
||||
<div class="nasa-ordering"><?php esc_html_e('...', 'elessi-theme'); ?></div>
|
||||
<div class="nasa-ordering"><?php echo esc_html__('...', 'elessi-theme'); ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<input type="hidden" name="paged" value="1" />
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 9.2.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
|
||||
defined('ABSPATH') or exit; // Exit if accessed directly
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* @see https://docs.woocommerce.com/document/template-structure/
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 9.6.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
if (!defined('ABSPATH')) :
|
||||
exit; // Exit if accessed directly.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 3.0.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
if (!defined('ABSPATH')) :
|
||||
exit; // Exit if accessed directly
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 9.0.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
if (!defined('ABSPATH')) :
|
||||
exit; // Exit if accessed directly
|
||||
@@ -70,7 +70,6 @@ if (isset($nasa_opt['product_detail_layout']) && in_array($nasa_opt['product_det
|
||||
$slideHoz = true;
|
||||
endif;
|
||||
|
||||
|
||||
if (isset($nasa_opt['product_detail_layout']) && in_array($nasa_opt['product_detail_layout'], array('new')) && isset($nasa_opt['product_thumbs_style']) && $nasa_opt['product_thumbs_style'] === 'hoz' && isset($nasa_opt['product_image_style']) && $nasa_opt['product_image_style'] === 'slide') :
|
||||
$slideHoz = true;
|
||||
endif;
|
||||
@@ -236,11 +235,13 @@ $wrapper_classes = apply_filters(
|
||||
endforeach;
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php if ($video_url) : ?>
|
||||
<!-- Video product -->
|
||||
<div class="item-wrap">
|
||||
<div class="nasa-item-main-video-wrap nasa-item-main-image-wrap" data-key="<?php echo (int) $_i+1; ?>">
|
||||
<?php $video_poster_url = $video_poster_url ? $video_poster_url : wc_placeholder_img_src();?>
|
||||
<?php echo do_shortcode('[video src="' . esc_url($video_url) . '" preload="auto" poster="'.$video_poster_url.'"]'); ?>
|
||||
<?php echo do_shortcode('[video src="' . esc_url($video_url) . '" preload="auto" poster="' . $video_poster_url . '"]'); ?>
|
||||
<img class="ns-video-size" src="<?php echo esc_url($video_poster_url); ?>" alt="<?php echo esc_attr($video_title); ?>" />
|
||||
|
||||
</div>
|
||||
|
||||