Commit d832ff70 authored by Chi Bui's avatar Chi Bui 👀

edi themes 21/08_02

parent 085ccd12
...@@ -174,14 +174,16 @@ article.commerce-product.teaser .product-image img { ...@@ -174,14 +174,16 @@ article.commerce-product.teaser .product-image img {
/* background: linear-gradient(122deg, rgb(236, 226, 228) 0%, rgba(254,224,160,1) 37%, rgb(241, 186, 153) 100%) /* background: linear-gradient(122deg, rgb(236, 226, 228) 0%, rgba(254,224,160,1) 37%, rgb(241, 186, 153) 100%)
/* background: linear-gradient(45deg,#fee0a0 24% , #f5b58f); */ /* background: linear-gradient(45deg,#fee0a0 24% , #f5b58f); */
/* background: linear-gradient(45deg,#fee0a0 , #facd87); */ /* background: linear-gradient(45deg,#fee0a0 , #facd87); */
*/;
} }
/* Page not found */ /* Page not found */
#not-found-section { #not-found-section {
padding: 50px 0px 100px; padding: 50px 0px 100px;
} }
body {
overflow-x: hidden;
}
.not-found-body { .not-found-body {
max-width: 70%; max-width: 70%;
margin: auto; margin: auto;
...@@ -750,7 +752,7 @@ input[type=number] { ...@@ -750,7 +752,7 @@ input[type=number] {
.menu--category-menu.product ul.sidebar-submenu-2{ .menu--category-menu.product ul.sidebar-submenu-2{
position: relative; position: relative;
left: 0; left: 0;
width: 100%; width: 99%;
min-height: auto; min-height: auto;
padding: 2px !important; padding: 2px !important;
/* padding-left: 10px !important; */ /* padding-left: 10px !important; */
...@@ -759,7 +761,7 @@ input[type=number] { ...@@ -759,7 +761,7 @@ input[type=number] {
.menu--category-menu.product .open ul.sidebar-submenu-2{ .menu--category-menu.product .open ul.sidebar-submenu-2{
position: relative; position: relative;
left: 0; left: 0;
width: 100%; width: 99%;
min-height: auto; min-height: auto;
padding: 2px !important; padding: 2px !important;
/* padding-left: 10px !important; */ /* padding-left: 10px !important; */
...@@ -768,12 +770,13 @@ input[type=number] { ...@@ -768,12 +770,13 @@ input[type=number] {
.menu--category-menu.product .open ul.sidebar-submenu-2 li:nth-last-child(1){ .menu--category-menu.product .open ul.sidebar-submenu-2 li:nth-last-child(1){
border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important; border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
} }
.menu--category-menu.product .open ul.sidebar-submenu-2 li:nth-child(1){ .menu--category-menu.product ul.sidebar-submenu-2 li:nth-child(1){
border-top: 1px solid rgba(0, 0, 0, 0.06) !important; /* border-top: 1px solid rgba(0, 0, 0, 0.06) !important; */
} }
.menu--category-menu.product .open ul.sidebar-submenu-2 li{ .menu--category-menu.product .open ul.sidebar-submenu-2 li{
width: 100% !important; width: 100% !important;
padding-left: 20px !important; padding-left: 20px !important;
padding: 5px 11px!important;
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.webform-flex--container { .webform-flex--container {
...@@ -1412,6 +1415,9 @@ header.navbar .block-search-navigation .search-icon { ...@@ -1412,6 +1415,9 @@ header.navbar .block-search-navigation .search-icon {
} }
/* invi 991 response */ /* invi 991 response */
@media (max-width: 991px) { @media (max-width: 991px) {
.main-container{
height: auto !important;
}
.region-middle-header .form-group{ .region-middle-header .form-group{
display: none !important; display: none !important;
} }
...@@ -1489,11 +1495,12 @@ width: 28px !important; ...@@ -1489,11 +1495,12 @@ width: 28px !important;
} }
header.navbar .category-menu ul.menu li { header.navbar .category-menu ul.menu li {
margin-left: 0 !important margin-left: 0 !important;
width: 100% !important;
} }
header.navbar .category-menu ul.menu.hide-block { header.navbar .category-menu ul.menu.hide-block {
height: 334px; height: 500px;
overflow-y: scroll; overflow-y: scroll;
overflow-x: hidden; overflow-x: hidden;
} }
...@@ -12832,10 +12839,8 @@ article.commerce-product.full .product-bottom .tab-content { ...@@ -12832,10 +12839,8 @@ article.commerce-product.full .product-bottom .tab-content {
margin-top: 0; margin-top: 0;
} }
article.commerce-product.teaser { article.commerce-product.teaser {
/* padding: 5px 0 5px; */ padding: 5px 0 5px;
box-shadow: 0px 0px 7px 0px rgba(0,0,0,.21);
overflow: hidden;
margin-bottom: 15px !important;
} }
.block-webform { .block-webform {
...@@ -13200,6 +13205,7 @@ article.commerce-product.teaser form[class*="add-to-cart-form"] button[id*="edit ...@@ -13200,6 +13205,7 @@ article.commerce-product.teaser form[class*="add-to-cart-form"] button[id*="edit
} }
.menu--category-menu .open ul.sidebar-submenu-2{ .menu--category-menu .open ul.sidebar-submenu-2{
border: none !important; border: none !important;
min-height: auto;
} }
} }
...@@ -13438,7 +13444,8 @@ header.navbar .category-menu ul.menu li.less-category{ ...@@ -13438,7 +13444,8 @@ header.navbar .category-menu ul.menu li.less-category{
position: relative; position: relative;
} }
.menu--category-menu .open ul.sidebar-submenu-2 li a{ .menu--category-menu .open ul.sidebar-submenu-2 li a{
line-height: 1.5; /* line-height: 1.5; */
padding: 0 20px !important;
} }
.menu--category-menu .open ul.sidebar-submenu-2 li:nth-child(10), .menu--category-menu .open ul.sidebar-submenu-2 li:nth-child(10),
.menu--category-menu .open ul.sidebar-submenu-2 li:nth-last-child(1){ .menu--category-menu .open ul.sidebar-submenu-2 li:nth-last-child(1){
......
...@@ -65,12 +65,14 @@ for (i = 0; i < acc.length; i++) { ...@@ -65,12 +65,14 @@ for (i = 0; i < acc.length; i++) {
if(current == "/products"){ if(current == "/products"){
$(".menu.menu--category-menu.nav").removeClass('hide-block').removeClass('not-home').addClass('product'); $(".menu.menu--category-menu.nav").removeClass('hide-block').removeClass('not-home').addClass('product');
$(".main-container").height($(".menu.menu--category-menu.nav").height()+70);
} }
else if(current.length >= 16){ else if(current.length >= 16){
let currentpathSlice = current.slice(0,17); let currentpathSlice = current.slice(0,17);
if(currentpathSlice == "/product_category" || currentpathSlice == "/search-products"){ if(currentpathSlice == "/product_category" || currentpathSlice == "/search-products"){
$(".menu.menu--category-menu.nav").removeClass('hide-block').removeClass('not-home').addClass('product'); $(".menu.menu--category-menu.nav").removeClass('hide-block').removeClass('not-home').addClass('product');
$(".main-container").height($(".menu.menu--category-menu.nav").height()+70);
} }
} }
else{ else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment