init
This commit is contained in:
@@ -0,0 +1,288 @@
|
||||
.esun-icon-megamenu-wrapper {
|
||||
border-radius: 0 0 36px 36px;
|
||||
box-shadow: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-inner {
|
||||
box-sizing: border-box;
|
||||
margin: 0 auto;
|
||||
padding: 20px 7.5% 30px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-items {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-column {
|
||||
box-sizing: border-box;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-content {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-title {
|
||||
color: #111111;
|
||||
display: block;
|
||||
font-size: 24px;
|
||||
font-weight: 500;
|
||||
line-height: 1.25;
|
||||
margin: 0 0 18px;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
color: @esun-megamenu-green;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-links {
|
||||
background: transparent !important;
|
||||
border: 0 !important;
|
||||
box-shadow: none !important;
|
||||
display: block !important;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
min-width: 0 !important;
|
||||
opacity: 1 !important;
|
||||
padding: 0;
|
||||
position: static !important;
|
||||
transform: none !important;
|
||||
visibility: visible !important;
|
||||
width: auto !important;
|
||||
|
||||
li {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #171717;
|
||||
display: inline-block;
|
||||
font-size: 19px;
|
||||
font-weight: 400;
|
||||
line-height: 1.35;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
color: @esun-megamenu-green;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Image mode: four equal cards by default; Description reserves the first quarter.
|
||||
.esun-icon-megamenu-wrapper.esun-icon-megamenu--visual {
|
||||
.esun-icon-megamenu-inner {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-intro-content {
|
||||
color: #171717;
|
||||
font-size: 19px;
|
||||
line-height: 1.5;
|
||||
max-width: 410px;
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
[data-content-type] {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-items {
|
||||
display: grid !important;
|
||||
gap: 42px 30px !important;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
|
||||
min-width: 0 !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-column {
|
||||
display: block !important;
|
||||
float: none !important;
|
||||
margin: 0 !important;
|
||||
max-width: none !important;
|
||||
min-width: 0 !important;
|
||||
padding: 0 !important;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-image-wrap {
|
||||
aspect-ratio: 2.35 / 1 !important;
|
||||
border-radius: 20px !important;
|
||||
display: block !important;
|
||||
flex: none !important;
|
||||
height: auto !important;
|
||||
overflow: hidden !important;
|
||||
position: relative !important;
|
||||
width: 100% !important;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-image {
|
||||
display: block !important;
|
||||
height: 100% !important;
|
||||
max-width: none !important;
|
||||
object-fit: cover !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-image-wrap::after {
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgba(0, 0, 0, 0.42),
|
||||
rgba(0, 0, 0, 0.03) 72%
|
||||
);
|
||||
content: "";
|
||||
inset: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-image-title {
|
||||
color: #ffffff;
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
left: 24px;
|
||||
line-height: 1.25;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-content {
|
||||
display: block !important;
|
||||
padding: 24px 24px 0 !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-column.no-image {
|
||||
padding-top: 16px !important;
|
||||
}
|
||||
|
||||
&.has-description {
|
||||
.esun-icon-megamenu-inner {
|
||||
display: grid !important;
|
||||
gap: 64px !important;
|
||||
grid-template-columns: minmax(260px, 1fr) minmax(0, 3fr) !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-items {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// No-image mode: every second-level category receives an equal share.
|
||||
.esun-icon-megamenu--text-only {
|
||||
.esun-icon-megamenu-inner {
|
||||
padding-bottom: 82px;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-items {
|
||||
display: flex;
|
||||
gap: 40px 0;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-column {
|
||||
flex: 1 1 0;
|
||||
padding: 0 38px;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-column:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1399px) {
|
||||
.esun-icon-megamenu-inner {
|
||||
padding-left: 48px;
|
||||
padding-right: 48px;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-wrapper.esun-icon-megamenu--visual.has-description
|
||||
.esun-icon-megamenu-inner {
|
||||
gap: 40px !important;
|
||||
grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.esun-icon-megamenu-wrapper.esun-icon-megamenu--visual {
|
||||
.esun-icon-megamenu-inner {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-intro {
|
||||
margin-bottom: 34px;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-items {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.esun-icon-megamenu-wrapper.esun-icon-megamenu--visual.has-description
|
||||
.esun-icon-megamenu-inner {
|
||||
display: block !important;
|
||||
}
|
||||
.esun-icon-megamenu-wrapper {
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-inner {
|
||||
display: block !important;
|
||||
padding: 18px 20px !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-intro {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-items {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-column,
|
||||
.esun-icon-megamenu--text-only .esun-icon-megamenu-column {
|
||||
border: 0 !important;
|
||||
margin: 0 0 22px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-wrapper.esun-icon-megamenu--visual {
|
||||
.esun-icon-megamenu-image-wrap {
|
||||
border-radius: 12px !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-content {
|
||||
padding: 14px 8px 0 !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-column {
|
||||
margin-bottom: 22px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-title {
|
||||
font-size: 18px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-links a {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,637 @@
|
||||
@esun-megamenu-green: #30a957;
|
||||
@esun-megamenu-text: #333333;
|
||||
@esun-megamenu-muted: #999;
|
||||
@esun-megamenu-border: #edf0f2;
|
||||
|
||||
@import "_icon-category-menu.less";
|
||||
|
||||
.page-header {
|
||||
position: relative;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.esun-main-navigation {
|
||||
position: static;
|
||||
|
||||
> ul {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.level0.esun-megamenu-trigger {
|
||||
cursor: pointer;
|
||||
position: static !important;
|
||||
|
||||
> .level-top {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus-within {
|
||||
> .esun-megamenu-wrapper {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.esun-megamenu-wrapper {
|
||||
background: #ffffff;
|
||||
box-sizing: border-box;
|
||||
display: none;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 99%;
|
||||
width: 100%;
|
||||
z-index: 999;
|
||||
box-shadow: 0 0 36px rgba(26, 137, 82, 0.38);
|
||||
}
|
||||
|
||||
.esun-main-navigation .esun-megamenu-toggle,
|
||||
.esun-main-navigation .esun-megamenu-toggle:hover,
|
||||
.esun-main-navigation .esun-megamenu-toggle:focus,
|
||||
.esun-main-navigation .esun-megamenu-toggle:active {
|
||||
appearance: none;
|
||||
background: transparent !important;
|
||||
background-image: none !important;
|
||||
border: 0 !important;
|
||||
border-radius: 0;
|
||||
box-shadow: none !important;
|
||||
display: none;
|
||||
min-width: 0;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.esun-megamenu-inner {
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
max-width: 1360px;
|
||||
min-height: 520px;
|
||||
overflow-y: auto;
|
||||
padding: 20px;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.esun-megamenu-sidebar {
|
||||
width: 26%;
|
||||
}
|
||||
|
||||
.esun-filament-categories {
|
||||
display: block;
|
||||
margin: 0 0 34px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.esun-filament-category {
|
||||
background: #f3f3f3;
|
||||
border-radius: 12px;
|
||||
box-sizing: border-box;
|
||||
color: @esun-megamenu-text;
|
||||
cursor: pointer;
|
||||
margin: 0 0 10px;
|
||||
min-height: 50px;
|
||||
transition:
|
||||
background-color 160ms ease,
|
||||
color 160ms ease;
|
||||
width: 100%;
|
||||
|
||||
> .esun-filament-category-label {
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
color: inherit;
|
||||
display: flex;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
justify-content: space-between;
|
||||
line-height: 1.25;
|
||||
min-height: 50px;
|
||||
padding: 10px 20px;
|
||||
text-decoration: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&.active,
|
||||
&:hover {
|
||||
background: @esun-megamenu-green;
|
||||
color: #ffffff;
|
||||
.esun-megamenu-arrow {
|
||||
border-bottom: 2px solid #fff;
|
||||
border-right: 2px solid #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.esun-megamenu-arrow {
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
border-bottom: 2px solid #939393;
|
||||
border-right: 2px solid #939393;
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
|
||||
.esun-featured-product-block {
|
||||
.esun-featured-title {
|
||||
color: @esun-megamenu-green;
|
||||
font-size: 14px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 1px;
|
||||
line-height: 1.2;
|
||||
margin: 0 0 18px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-megamenu-featured-card {
|
||||
background: linear-gradient(135deg, #dfeee8 0%, #f4f4f4 52%, #d6d7ff 100%);
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
color: #ffffff;
|
||||
display: block;
|
||||
min-height: 174px;
|
||||
overflow: hidden;
|
||||
padding: 42px 30px 26px;
|
||||
text-decoration: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.esun-megamenu-featured-kicker {
|
||||
color: #ffffff;
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 4px;
|
||||
line-height: 1.2;
|
||||
margin-bottom: 10px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.esun-megamenu-featured-name {
|
||||
color: #ffffff;
|
||||
display: block;
|
||||
font-size: 23px;
|
||||
font-weight: 800;
|
||||
line-height: 1.1;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.esun-megamenu-featured-link {
|
||||
background: @esun-megamenu-green;
|
||||
border-radius: 18px;
|
||||
color: #ffffff;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
line-height: 1;
|
||||
padding: 11px 16px;
|
||||
text-decoration: none;
|
||||
width: fit-content;
|
||||
|
||||
&:hover {
|
||||
background: #258e49;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-megamenu-content {
|
||||
width: 70%;
|
||||
}
|
||||
.ui-state-active .esun-megamenu-content {
|
||||
overflow-y: scroll;
|
||||
max-height: calc(100dvh - 104px);
|
||||
}
|
||||
.esun-series-group {
|
||||
margin: 0 0 42px;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-series-header {
|
||||
align-items: baseline;
|
||||
border-bottom: 1px solid @esun-megamenu-border;
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
justify-content: space-between;
|
||||
margin: 0 0 22px;
|
||||
padding: 0 0 18px;
|
||||
|
||||
h4 {
|
||||
color: @esun-megamenu-green;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
line-height: 1.2;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-view-all {
|
||||
color: @esun-megamenu-text;
|
||||
flex: 0 0 auto;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
color: @esun-megamenu-green;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-products-grid {
|
||||
display: grid;
|
||||
gap: 26px 24px;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.esun-product-card {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.esun-product-link {
|
||||
color: @esun-megamenu-text;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover {
|
||||
color: @esun-megamenu-green;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-product-image-frame {
|
||||
align-items: center;
|
||||
aspect-ratio: 1 / 1;
|
||||
background: #fbfbfb;
|
||||
border: 1px solid @esun-megamenu-border;
|
||||
border-radius: 8px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 0 0 10px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.esun-product-image {
|
||||
display: block;
|
||||
height: 100%;
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.esun-product-name,
|
||||
.esun-product-price {
|
||||
display: block;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.esun-product-name {
|
||||
color: @esun-megamenu-text;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.esun-product-price {
|
||||
color: @esun-megamenu-muted;
|
||||
font-size: 15px;
|
||||
margin-top: 2px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@media (max-width: 1199px) {
|
||||
.esun-megamenu-inner {
|
||||
gap: 30px;
|
||||
grid-template-columns: 280px minmax(0, 1fr);
|
||||
padding-left: 24px;
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
.esun-products-grid {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.esun-main-navigation .level0.esun-megamenu-trigger {
|
||||
> .level-top:after,
|
||||
> .level-top.ui-state-active:after {
|
||||
content: "\e622";
|
||||
}
|
||||
}
|
||||
|
||||
.esun-main-navigation .level0.esun-linked-megamenu-trigger {
|
||||
position: relative !important;
|
||||
|
||||
> .level-top {
|
||||
padding-right: 64px;
|
||||
}
|
||||
|
||||
> .level-top:after,
|
||||
> .level-top.ui-state-active:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
> .esun-megamenu-toggle {
|
||||
align-items: center;
|
||||
color: #ffffff !important;
|
||||
display: flex;
|
||||
font-size: 0;
|
||||
height: 64px;
|
||||
justify-content: center;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 64px;
|
||||
z-index: 2;
|
||||
|
||||
> span {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
> .esun-megamenu-toggle:after {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
color: inherit;
|
||||
content: "\e622";
|
||||
display: inline-block;
|
||||
font-family: "icons-blank-theme";
|
||||
font-size: 42px;
|
||||
font-weight: normal;
|
||||
line-height: inherit;
|
||||
overflow: hidden;
|
||||
speak: none;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
&.is-open > .esun-megamenu-toggle:after {
|
||||
content: "\e621";
|
||||
}
|
||||
}
|
||||
.page-header .navigation li.level0:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
.esun-megamenu-wrapper {
|
||||
box-shadow: none;
|
||||
left: auto;
|
||||
position: static;
|
||||
transform: none;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.esun-main-navigation
|
||||
.level0.esun-megamenu-trigger:hover
|
||||
> .esun-megamenu-wrapper,
|
||||
.esun-main-navigation
|
||||
.level0.esun-megamenu-trigger:focus-within
|
||||
> .esun-megamenu-wrapper {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.esun-main-navigation .level0.esun-megamenu-trigger.is-open {
|
||||
> .level-top:after,
|
||||
> .level-top.ui-state-active:after {
|
||||
content: "\e621";
|
||||
}
|
||||
|
||||
> .esun-megamenu-wrapper {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-main-navigation {
|
||||
.esun-megamenu-wrapper {
|
||||
background: #f7f8f7;
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.35);
|
||||
}
|
||||
|
||||
.esun-megamenu-inner,
|
||||
.esun-icon-megamenu-inner {
|
||||
display: block !important;
|
||||
max-height: calc(100vh - 170px);
|
||||
max-height: calc(100dvh - 170px);
|
||||
min-height: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
padding: 16px !important;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.esun-megamenu-sidebar,
|
||||
.esun-megamenu-content {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.esun-filament-categories {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin: 0 -16px 4px;
|
||||
overflow-x: auto;
|
||||
padding: 0 16px 4px;
|
||||
scrollbar-width: none;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-filament-category {
|
||||
border: 1px solid #e2e7e3;
|
||||
border-radius: 999px;
|
||||
flex: 0 0 auto;
|
||||
margin: 0;
|
||||
min-height: 40px;
|
||||
width: auto;
|
||||
|
||||
> .esun-filament-category-label {
|
||||
font-size: 14px;
|
||||
min-height: 38px;
|
||||
padding: 8px 15px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.esun-megamenu-arrow {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-featured-product-block {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.esun-megamenu-content,
|
||||
.ui-state-active .esun-megamenu-content {
|
||||
max-height: none;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.esun-series-group {
|
||||
margin-bottom: 26px;
|
||||
}
|
||||
|
||||
.esun-series-header {
|
||||
gap: 12px;
|
||||
margin-bottom: 0px;
|
||||
padding-bottom: 10px;
|
||||
|
||||
h4 {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-view-all {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.esun-products-grid {
|
||||
gap: 12px;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.esun-product-image-frame {
|
||||
border-radius: 7px;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
|
||||
.esun-product-name {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.esun-product-price {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-wrapper {
|
||||
border-radius: 0;
|
||||
|
||||
.esun-icon-megamenu-intro {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.esun-icon-megamenu--visual .esun-icon-megamenu-inner {
|
||||
display: block !important;
|
||||
gap: 0 !important;
|
||||
grid-template-columns: none !important;
|
||||
}
|
||||
|
||||
&.esun-icon-megamenu--visual .esun-icon-megamenu-items {
|
||||
align-items: start;
|
||||
display: grid !important;
|
||||
gap: 18px 12px !important;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
||||
}
|
||||
|
||||
&.esun-icon-megamenu--visual .esun-icon-megamenu-column {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-column,
|
||||
.esun-icon-megamenu--text-only .esun-icon-megamenu-column {
|
||||
border: 0 !important;
|
||||
margin: 0 !important;
|
||||
min-width: 0;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-image-wrap {
|
||||
aspect-ratio: 1.65 / 1 !important;
|
||||
border-radius: 10px !important;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-image-title {
|
||||
font-size: 15px;
|
||||
left: 12px;
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-content {
|
||||
padding: 10px 4px 0 !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-title {
|
||||
font-size: 16px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-links li {
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-links a {
|
||||
font-size: 14px;
|
||||
line-height: 1.3;
|
||||
padding: 5px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-trigger[data-category="7"]
|
||||
.esun-icon-megamenu-image-wrap::after {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-trigger[data-category="7"]
|
||||
.esun-icon-megamenu-column,
|
||||
.esun-icon-megamenu-trigger[data-category="7"]
|
||||
.esun-icon-megamenu-image-wrap {
|
||||
border-radius: 14px !important;
|
||||
overflow: hidden !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-trigger[data-category="7"]
|
||||
.esun-icon-megamenu-image-title {
|
||||
left: 16px;
|
||||
line-height: 1.25;
|
||||
right: 16px;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-wrapper.esun-icon-megamenu--text-only {
|
||||
.esun-icon-megamenu-items {
|
||||
display: grid !important;
|
||||
gap: 0 !important;
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-column {
|
||||
border-bottom: 1px solid #e2e7e3 !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-column:last-child {
|
||||
border-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.esun-icon-megamenu-title {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 14px 4px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 420px) {
|
||||
.esun-main-navigation
|
||||
.esun-icon-megamenu-wrapper.esun-icon-megamenu--text-only {
|
||||
.esun-icon-megamenu-items {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user