challenge-vtex-io-gabriel-f.../styles/css/vtex.slider-layout.css

210 lines
8.5 KiB
CSS
Raw Normal View History

2023-02-03 21:05:00 +00:00
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.sliderLayoutContainer {
2023-02-07 13:52:20 +00:00
padding: 0 40px 32px;
2023-02-10 13:44:40 +00:00
margin: 0 auto 32px;
max-width: 96rem;
2023-02-07 13:52:20 +00:00
}
.sliderLayoutContainer .sliderLeftArrow {
left: 36px;
margin: 0;
padding: 0;
}
2023-02-10 13:44:40 +00:00
@media (max-width: 500px) {
.sliderLayoutContainer .sliderLeftArrow {
left: 33px;
}
}
@media (max-width: 374px) {
.sliderLayoutContainer .sliderLeftArrow {
left: 24px;
}
}
2023-02-07 13:52:20 +00:00
.sliderLayoutContainer .sliderRightArrow {
right: 36px;
margin: 0;
padding: 0;
2023-02-03 21:05:00 +00:00
}
2023-02-10 13:44:40 +00:00
@media (max-width: 500px) {
.sliderLayoutContainer .sliderRightArrow {
right: 33px;
}
}
@media (max-width: 374px) {
.sliderLayoutContainer .sliderRightArrow {
right: 24px;
}
}
2023-02-03 21:05:00 +00:00
.sliderLayoutContainer .sliderTrackContainer {
2023-02-07 13:52:20 +00:00
margin: 0 auto;
width: 94%;
2023-02-03 21:05:00 +00:00
}
.sliderLayoutContainer .sliderTrackContainer .sliderTrack {
2023-02-10 13:44:40 +00:00
gap: 2px;
}
@media (min-width: 300px) {
.sliderLayoutContainer .sliderTrackContainer .sliderTrack {
gap: 8px;
}
}
@media (min-width: 500px) {
.sliderLayoutContainer .sliderTrackContainer .sliderTrack {
gap: 16px;
}
2023-02-03 21:05:00 +00:00
}
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) {
margin: 0;
2023-02-06 19:54:22 +00:00
}
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) {
padding: 0;
2023-02-03 21:05:00 +00:00
}
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-imageContainer) {
display: flex;
2023-02-06 19:54:22 +00:00
}
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-store-components-3-x-discountContainer) :global(.vtex-store-components-3-x-discountInsideContainer) {
display: none;
}
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-store-components-3-x-discountContainer) :global(.vtex-product-summary-2-x-imageContainer) :global(.vtex-product-summary-2-x-imageNormal) {
2023-02-07 13:52:20 +00:00
width: 100%;
2023-02-10 13:44:40 +00:00
min-height: 94px;
2023-02-07 13:52:20 +00:00
height: 100%;
2023-02-03 21:05:00 +00:00
}
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-nameContainer) {
display: flex;
padding: 0;
justify-content: center;
}
2023-02-03 21:05:00 +00:00
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-nameContainer) :global(.vtex-product-summary-2-x-productBrand) {
display: flex;
max-width: 282.4px;
2023-02-10 13:44:40 +00:00
height: 132px;
2023-02-03 21:05:00 +00:00
align-items: center;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
text-align: center;
color: #000;
}
2023-02-10 13:44:40 +00:00
@media (min-width: 500px) {
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-nameContainer) :global(.vtex-product-summary-2-x-productBrand) {
height: 50px;
}
}
@media (max-width: 300px) {
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-summary-2-x-nameContainer) :global(.vtex-product-summary-2-x-productBrand) {
font-size: 16px;
}
}
2023-02-07 18:33:19 +00:00
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-price-1-x-listPrice) {
2023-02-03 21:05:00 +00:00
display: flex;
justify-content: center;
align-items: center;
2023-02-07 18:33:19 +00:00
margin: 0;
2023-02-03 21:05:00 +00:00
}
2023-02-10 13:44:40 +00:00
@media (max-width: 374px) {
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-price-1-x-listPrice) {
height: 38px;
}
}
2023-02-07 18:33:19 +00:00
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-price-1-x-listPrice) :global(.vtex-product-price-1-x-listPriceValue) {
2023-02-03 21:05:00 +00:00
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #bababa;
padding: 0;
}
2023-02-07 18:33:19 +00:00
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-price-1-x-listPrice) :global(.vtex-product-price-1-x-currencyContainer) {
2023-02-10 13:44:40 +00:00
position: relative;
2023-02-03 21:05:00 +00:00
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #bababa;
padding: 0;
}
2023-02-10 13:44:40 +00:00
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-price-1-x-listPrice) :global(.vtex-product-price-1-x-currencyContainer)::before {
content: "";
position: absolute;
background: #bababa;
height: 1px;
width: 8px;
bottom: 7px;
left: -8px;
}
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-price-1-x-listPrice) :global(.vtex-product-price-1-x-currencyContainer)::after {
content: "";
position: absolute;
background: #bababa;
height: 1px;
width: 8px;
bottom: 7px;
}
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-price-1-x-listPriceValue)::before {
content: "de";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #bababa;
padding-right: 8px;
}
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-price-1-x-listPriceValue)::after {
content: "por";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #bababa;
padding-left: 8px;
}
2023-02-07 18:33:19 +00:00
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-price-1-x-sellingPrice) {
display: flex;
2023-02-03 21:05:00 +00:00
padding: 0;
2023-02-07 18:33:19 +00:00
justify-content: center;
2023-02-03 21:05:00 +00:00
}
2023-02-07 18:33:19 +00:00
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-price-1-x-sellingPrice) :global(.vtex-product-price-1-x-sellingPriceValue) {
2023-02-03 21:05:00 +00:00
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 24px;
line-height: 33px;
text-align: center;
color: #000;
}
2023-02-10 13:44:40 +00:00
@media (max-width: 349px) {
.sliderLayoutContainer .sliderTrackContainer .sliderTrack .slide .slideChildrenContainer :global(.vtex-product-summary-2-x-container) :global(.vtex-product-summary-2-x-element) :global(.vtex-product-price-1-x-sellingPrice) :global(.vtex-product-price-1-x-sellingPriceValue) {
font-size: 18px;
}
}
2023-02-03 21:05:00 +00:00
.sliderLayoutContainer .paginationDotsContainer {
2023-02-06 17:23:31 +00:00
align-items: center;
2023-02-03 21:05:00 +00:00
}
.sliderLayoutContainer .paginationDotsContainer .paginationDot {
width: 10px;
height: 10px;
background-color: #000;
}
2023-02-03 21:05:00 +00:00
.sliderLayoutContainer .paginationDotsContainer .paginationDot--isActive {
background-color: #fff;
2023-02-06 17:23:31 +00:00
width: 17px !important;
height: 17px !important;
border: 0.5px solid #000;
2023-02-03 21:05:00 +00:00
}