forked from M3-Academy/challenge-vtex-io
feat: slick responsivo
This commit is contained in:
parent
df51f9677d
commit
407e3fc366
@ -1,42 +1,58 @@
|
|||||||
.skuSelectorContainer--quickview .skuSelectorItemImage .frameAround, .skuSelectorContainer--quickview .skuSelectorItemImage .skuSelectorInternalBox {
|
/*
|
||||||
border-radius: 50%;
|
0 - 600PX: Phone
|
||||||
}
|
600 - 900px: Table portrait
|
||||||
|
900 - 1200px: Tablet landscape
|
||||||
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
[1200 - 1800] is where our nortal styles apply
|
||||||
opacity: 0;
|
1800px + : Big desktop
|
||||||
transition: opacity 200ms ease-in-out;
|
*/
|
||||||
}
|
/* Media Query M3 */
|
||||||
|
/* Grid breakpoints */
|
||||||
.container:hover :global(.vtex-modal-layout-0-x-triggerContainer) {
|
.containerNormal {
|
||||||
opacity: 1;
|
max-width: 100% !important;
|
||||||
}
|
margin: 0 !important;
|
||||||
|
|
||||||
@media screen and (max-width: 40em) {
|
|
||||||
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nameContainer {
|
.nameContainer {
|
||||||
justify-content: start;
|
padding-top: 8px !important;
|
||||||
padding-top: 1rem;
|
padding-bottom: 8px !important;
|
||||||
padding-bottom: 1rem;
|
|
||||||
}
|
}
|
||||||
|
.nameContainer .brandName {
|
||||||
.brandName {
|
font-family: "Open Sans";
|
||||||
font-weight: 600;
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
color: #2E2E2E;
|
line-height: 25px;
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
text-align: start;
|
|
||||||
}
|
|
||||||
|
|
||||||
.imageContainer {
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image {
|
.imageStackContainer {
|
||||||
border-radius: 0.25rem;
|
width: 434.4px !important;
|
||||||
|
height: 434.4px;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 1920px) {
|
||||||
|
.imageStackContainer {
|
||||||
|
width: 291.2px !important;
|
||||||
|
height: 291.2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
.imageStackContainer {
|
||||||
|
width: 124.8px !important;
|
||||||
|
height: 124.8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.imageNormal {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
max-height: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.priceContainer {
|
||||||
|
padding-top: 0px !important;
|
||||||
|
padding-bottom: 0px !important;
|
||||||
|
}
|
||||||
|
.priceContainer .installmentContainer {
|
||||||
|
display: none;
|
||||||
|
}
|
@ -12,6 +12,9 @@
|
|||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
margin-right: 40px;
|
margin-right: 40px;
|
||||||
}
|
}
|
||||||
|
.sliderTrackContainer--carousel .sliderTrack--carousel {
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
.sliderTrackContainer--carousel .slide--carousel {
|
.sliderTrackContainer--carousel .slide--carousel {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
width: 434.4px !important;
|
width: 434.4px !important;
|
||||||
@ -23,12 +26,6 @@
|
|||||||
height: 448.4px;
|
height: 448.4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (max-width: 1920px) {
|
|
||||||
.sliderTrackContainer--carousel .slide--carousel {
|
|
||||||
width: 314.4px !important;
|
|
||||||
height: 448.4px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
.sliderTrackContainer--carousel .slide--carousel {
|
.sliderTrackContainer--carousel .slide--carousel {
|
||||||
width: 291.2px !important;
|
width: 291.2px !important;
|
||||||
|
@ -111,4 +111,9 @@
|
|||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.listPrice {
|
||||||
|
padding-top: 0 !important;
|
||||||
|
padding-bottom: 0 !important;
|
||||||
}
|
}
|
44
styles/sass/pages/product/vtex.product-summary.scss
Normal file
44
styles/sass/pages/product/vtex.product-summary.scss
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
.containerNormal {
|
||||||
|
max-width: 100% !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
.nameContainer{
|
||||||
|
padding-top: 8px !important;
|
||||||
|
padding-bottom: 8px !important;
|
||||||
|
.brandName {
|
||||||
|
font-family: "Open Sans";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: 18px;
|
||||||
|
line-height: 25px;
|
||||||
|
text-align: center;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.imageStackContainer {
|
||||||
|
width: 434.4px !important;
|
||||||
|
height: 434.4px;
|
||||||
|
@media (max-width: 1920px) {
|
||||||
|
width: 291.2px !important;
|
||||||
|
height: 291.2px;
|
||||||
|
}
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
width: 124.8px !important;
|
||||||
|
height: 124.8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.imageNormal {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
max-height: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.priceContainer{
|
||||||
|
padding-top: 0px !important;
|
||||||
|
padding-bottom: 0px !important;
|
||||||
|
.installmentContainer{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
@ -3,25 +3,20 @@
|
|||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
margin-right: 40px;
|
margin-right: 40px;
|
||||||
.sliderTrack--carousel {
|
.sliderTrack--carousel {
|
||||||
|
gap: 16px;
|
||||||
}
|
}
|
||||||
.slide--carousel {
|
.slide--carousel {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
width: 434.4px !important;
|
width: 434.4px !important;
|
||||||
height: 543.4px;
|
height: 543.4px;
|
||||||
@media (max-width: 1920px) {
|
@media (max-width: 1920px) {
|
||||||
width: 314.4px !important;
|
width: 314.4px !important;
|
||||||
height: 448.4px;
|
height: 448.4px;
|
||||||
}
|
}
|
||||||
@media (max-width: 1920px) {
|
@media (max-width: 500px) {
|
||||||
width: 314.4px !important;
|
width: 291.2px !important;
|
||||||
height: 448.4px;
|
height: 402.2px;
|
||||||
}
|
}
|
||||||
@media (max-width: 500px) {
|
|
||||||
width: 291.2px !important;
|
|
||||||
height: 402.2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
.sliderArrows--carousel {
|
.sliderArrows--carousel {
|
||||||
.caretIcon--carousel {
|
.caretIcon--carousel {
|
||||||
|
@ -93,3 +93,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.listPrice{
|
||||||
|
padding-top: 0 !important;
|
||||||
|
padding-bottom: 0 !important;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user