challenge-vtex-io-emmanuelv.../styles/css/vtex.flex-layout.css

151 lines
4.4 KiB
CSS
Raw Normal View History

/*
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 */
.flexRowContent--product-main {
padding: 0 40px;
margin: 0;
column-gap: 32px;
}
2023-02-11 02:07:18 +00:00
@media (min-width: 1920px) {
.flexRowContent--product-main {
padding: 0 360px;
}
}
@media (max-width: 1024px) {
.flexRowContent--product-main {
flex-direction: column;
}
}
.flexRowContent--product-main :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
min-width: 296px;
max-width: 664px;
padding: 0;
border-radius: 0;
}
2023-02-11 02:07:18 +00:00
@media (min-width: 1920px) {
.flexRowContent--product-main :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
max-width: 904px;
}
}
@media (max-width: 1024px) {
.flexRowContent--product-main :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
width: 100% !important;
max-width: 944px;
}
}
.flexRow--indisponivel :global(.vtex-store-components-3-x-productImagesGallerySlide) {
width: 100%;
}
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) {
padding: 0;
}
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel {
padding: 0 40px;
margin: 0;
gap: 32px;
}
2023-02-11 02:07:18 +00:00
@media (min-width: 1920px) {
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel {
padding: 0 360px;
}
}
@media (max-width: 1024px) {
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel {
flex-direction: column;
}
}
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
min-width: 296px;
max-width: 664px;
padding: 0;
border-radius: 0;
}
2023-02-11 02:07:18 +00:00
@media (min-width: 1920px) {
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
max-width: 904px;
}
}
@media (max-width: 1024px) {
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
width: 100% !important;
max-width: 944px;
}
}
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) :global(.vtex-store-components-3-x-productNameContainer--quickview) {
font-family: "Open Sans";
font-style: normal;
font-weight: 300;
font-size: 20px;
line-height: 34px;
text-align: end;
}
@media (max-width: 1024px) {
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) :global(.vtex-store-components-3-x-productNameContainer--quickview) {
max-width: none;
2023-02-11 02:07:18 +00:00
text-align: initial;
2023-02-11 02:37:58 +00:00
font-weight: 300;
font-size: 20px;
line-height: 34px;
}
}
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) .flexColChild--info-availability {
height: 68px;
margin-bottom: 8px;
}
.flexRow--indisponivel :global(.vtex-store-components-3-x-container) .flexRowContent--indisponivel :global(.vtex-flex-layout-0-x-stretchChildrenWidth) .flexColChild--info-availability :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
justify-content: initial;
}
.flexRowContent {
margin-bottom: 0;
}
.flexRowContent--identifieAndName {
display: flex;
flex-direction: column;
align-items: flex-end;
text-align: center;
}
@media (max-width: 1024px) {
.flexRowContent--identifieAndName {
text-align: start;
align-items: initial;
}
}
.flexRow--description :global(.vtex-store-components17-x-container) {
padding-left: 0 !important;
padding-right: 0 !important;
width: 100% !important;
max-width: 94.4444444444% !important;
}
.flexRow--description :global(.vtex-store-components-3-x-container) {
padding-left: 0 !important;
padding-right: 0 !important;
}
.flexRowContent--description {
width: auto;
gap: 32px;
}
@media (min-width: 1920px) {
.flexRowContent--description .stretchChildrenWidth {
2023-02-11 02:07:18 +00:00
width: 100% !important;
}
}
@media (max-width: 1024px) {
.flexRowContent--description {
display: flex;
flex-direction: column;
}
.flexRowContent--description .stretchChildrenWidth {
width: unset !important;
}
}