361 lines
7.0 KiB
CSS
361 lines
7.0 KiB
CSS
.esun-create-anything {
|
|
--create-green: #12ad5c;
|
|
box-sizing: border-box;
|
|
margin: 84px auto 0;
|
|
max-width: 1360px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.esun-create-anything *,
|
|
.esun-create-anything *::before,
|
|
.esun-create-anything *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.esun-create-anything__heading {
|
|
color: #303030;
|
|
font-size: 38px;
|
|
font-weight: 700;
|
|
letter-spacing: 7px;
|
|
margin: 0 0 72px;
|
|
position: relative;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.esun-create-anything__heading::after {
|
|
background: var(--create-green);
|
|
bottom: -22px;
|
|
content: "";
|
|
height: 2px;
|
|
left: 50%;
|
|
position: absolute;
|
|
transform: translateX(-50%);
|
|
width: 92px;
|
|
}
|
|
|
|
.esun-create-anything__slider {
|
|
padding-bottom: 76px;
|
|
}
|
|
|
|
.esun-create-anything__slide {
|
|
height: auto;
|
|
}
|
|
|
|
.esun-create-anything__media {
|
|
background: #101010;
|
|
border-radius: 34px;
|
|
height: 100%;
|
|
min-height: 560px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.esun-create-anything__cover,
|
|
.esun-create-anything__video {
|
|
height: 100%;
|
|
inset: 0;
|
|
object-fit: cover;
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
|
|
.esun-create-anything__media::after {
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(0, 0, 0, 0.32),
|
|
transparent 28%,
|
|
transparent 58%,
|
|
rgba(0, 0, 0, 0.82)
|
|
);
|
|
content: "";
|
|
inset: 0;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
z-index: 1;
|
|
}
|
|
|
|
.esun-create-anything__copy {
|
|
color: #fff;
|
|
left: 20px;
|
|
position: absolute;
|
|
right: 20px;
|
|
text-align: center;
|
|
top: 30px;
|
|
z-index: 2;
|
|
}
|
|
|
|
.esun-create-anything__copy h3 {
|
|
font-size: 23px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
margin: 0 0 5px;
|
|
}
|
|
|
|
.esun-create-anything__copy p {
|
|
font-size: 14px;
|
|
letter-spacing: 1.5px;
|
|
margin: 0;
|
|
}
|
|
|
|
.esun-create-anything__product {
|
|
align-items: center;
|
|
bottom: 22px;
|
|
color: #fff;
|
|
display: flex;
|
|
left: 22px;
|
|
position: absolute;
|
|
right: 22px;
|
|
text-decoration: none;
|
|
z-index: 2;
|
|
}
|
|
|
|
.esun-create-anything__product:hover,
|
|
.esun-create-anything__product:focus {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.esun-create-anything__product-image {
|
|
background: #fff;
|
|
border-radius: 22px;
|
|
flex: 0 0 66px;
|
|
height: 66px;
|
|
overflow: hidden;
|
|
padding: 5px;
|
|
width: 66px;
|
|
position: relative;
|
|
}
|
|
|
|
.esun-create-anything__product-image .product-image-container,
|
|
.esun-create-anything__product-image .product-image-wrapper {
|
|
height: 100%;
|
|
width: 100% !important;
|
|
}
|
|
|
|
.esun-create-anything__product-image .product-image-wrapper {
|
|
padding-bottom: 0 !important;
|
|
}
|
|
|
|
.esun-create-anything__product-image .product-image-photo {
|
|
height: 100%;
|
|
inset: 0;
|
|
margin: auto;
|
|
object-fit: contain;
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
|
|
.esun-create-anything__product-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
padding-left: 14px;
|
|
}
|
|
|
|
.esun-create-anything__product-copy strong {
|
|
font-size: 15px;
|
|
line-height: 1.2;
|
|
margin-bottom: 8px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.esun-create-anything__price {
|
|
align-items: baseline;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.esun-create-anything__final-price {
|
|
color: var(--create-green);
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.esun-create-anything__regular-price {
|
|
color: #aaa;
|
|
font-size: 13px;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.esun-create-anything__media.is-playing .esun-create-anything__cover {
|
|
display: none;
|
|
}
|
|
|
|
.esun-create-anything__video {
|
|
background: #000;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
.esun-create-anything__media.is-playing .esun-create-anything__video {
|
|
opacity: 1;
|
|
}
|
|
|
|
.esun-create-anything__controls {
|
|
align-items: center;
|
|
bottom: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
left: 50%;
|
|
position: absolute;
|
|
transform: translateX(-50%);
|
|
width: min(560px, 90%);
|
|
z-index: 5;
|
|
}
|
|
|
|
.esun-create-anything__previous,
|
|
.esun-create-anything__next {
|
|
align-items: center;
|
|
border: 1px solid var(--create-green);
|
|
border-radius: 50%;
|
|
box-shadow: none;
|
|
display: flex;
|
|
flex: 0 0 52px;
|
|
font-size: 36px;
|
|
height: 52px;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
padding: 0 0 4px;
|
|
width: 52px;
|
|
}
|
|
|
|
.esun-create-anything__previous {
|
|
background: #fff;
|
|
color: var(--create-green);
|
|
}
|
|
|
|
.esun-create-anything__next {
|
|
background: var(--create-green);
|
|
color: #fff;
|
|
}
|
|
|
|
.esun-create-anything__pagination {
|
|
align-items: center;
|
|
bottom: auto !important;
|
|
display: flex;
|
|
flex: 1;
|
|
justify-content: center;
|
|
position: static;
|
|
}
|
|
|
|
.esun-create-anything__pagination .swiper-pagination-bullet {
|
|
background: #edf2f0;
|
|
border-radius: 2px;
|
|
height: 4px;
|
|
margin: 0 4px;
|
|
opacity: 1;
|
|
width: 42px;
|
|
}
|
|
|
|
.esun-create-anything__pagination .swiper-pagination-bullet-active {
|
|
background: var(--create-green);
|
|
}
|
|
|
|
.esun-create-anything .swiper-button-disabled {
|
|
opacity: 0.35;
|
|
}
|
|
|
|
@media (max-width: 1023px) {
|
|
.esun-create-anything__media {
|
|
min-height: 520px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 639px) {
|
|
.esun-create-anything {
|
|
margin-top: 56px;
|
|
padding: 0 15px;
|
|
}
|
|
|
|
.esun-create-anything__heading {
|
|
font-size: 27px;
|
|
letter-spacing: 4px;
|
|
line-height: 1.25;
|
|
margin-bottom: 58px;
|
|
text-align: left;
|
|
}
|
|
|
|
.esun-create-anything__heading::after {
|
|
left: 0;
|
|
transform: none;
|
|
width: 48px;
|
|
}
|
|
|
|
.esun-create-anything__media {
|
|
border-radius: 28px;
|
|
min-height: 500px;
|
|
}
|
|
|
|
.esun-create-anything__slider {
|
|
margin-right: 0;
|
|
overflow-x: auto;
|
|
padding-bottom: 0;
|
|
scrollbar-width: none;
|
|
scroll-snap-type: x mandatory;
|
|
}
|
|
|
|
.esun-create-anything__slider::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.esun-create-anything__slider .swiper-wrapper {
|
|
gap: 12px;
|
|
transform: none !important;
|
|
transition: none !important;
|
|
width: auto !important;
|
|
}
|
|
|
|
.esun-create-anything__slider .esun-create-anything__slide {
|
|
flex: 0 0 79%;
|
|
scroll-snap-align: start;
|
|
width: 79% !important;
|
|
}
|
|
|
|
.esun-create-anything__controls {
|
|
display: none;
|
|
}
|
|
|
|
.esun-create-anything__copy h3 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.esun-create-anything__product {
|
|
bottom: 16px;
|
|
left: 16px;
|
|
right: 16px;
|
|
}
|
|
|
|
.esun-create-anything__product-image {
|
|
border-radius: 12px;
|
|
flex-basis: 52px;
|
|
height: 52px;
|
|
width: 52px;
|
|
}
|
|
|
|
.esun-create-anything__product-copy {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.esun-create-anything__product-copy strong {
|
|
font-size: 14px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.esun-create-anything__price {
|
|
gap: 8px;
|
|
}
|
|
|
|
.esun-create-anything__final-price {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.esun-create-anything__regular-price {
|
|
font-size: 12px;
|
|
}
|
|
}
|