challenge-vtex-io-ueber-james/styles/css/vtex.flex-layout.css

108 lines
2.4 KiB
CSS

/*
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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");
/* Grid breakpoints */
.flexRowContent--product-main {
gap: 32px;
padding: 0;
margin: 0;
}
.flexRowContent--product-main .stretchChildrenWidth {
padding: 0;
}
@media only screen and (max-width: 1024px) {
.flexRowContent--product-main {
display: block;
padding-left: 40px;
padding-right: 40px;
}
.flexRowContent--product-main .stretchChildrenWidth {
width: 100% !important;
}
}
.flexRow--size-buy-button {
width: 100%;
height: 49px;
margin: 0;
margin-left: 10px;
}
@media only screen and (max-width: 425px) {
.flexRow--size-buy-button {
margin-left: 0;
margin-bottom: 16px;
}
.flexRow--size-buy-button .stretchChildrenWidth {
height: 74px;
}
}
.flexRow--size-buy-button .flexRowContent--size-buy-button {
height: 49px;
width: 100%;
margin: 0;
}
.flexRowContent--size-buy-button :global(.vtex-button) {
background: #000000;
border: none;
border-radius: 0;
width: 100%;
}
@media only screen and (max-width: 1024px) {
.flexRowContent--description {
display: flex;
flex-direction: column;
}
.flexRowContent--description .stretchChildrenWidth {
width: 100% !important;
}
}
@media only screen and (max-width: 1024px) {
.flexRowContent--indisponivel {
padding: 0 40px 0 40px;
flex-direction: column;
}
.flexRowContent--indisponivel .stretchChildrenWidth {
width: 100% !important;
}
.flexRowContent--indisponivel :global(.vtex-store-components-3-x-content) {
width: 100%;
max-width: 100%;
justify-content: initial;
gap: 10px;
}
.flexRowContent--indisponivel .inputName {
margin-bottom: 0;
}
}
@media only screen and (max-width: 1024px) {
.flexRowContent--description {
margin-bottom: 0px;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
}
@media only screen and (max-width: 425px) {
.flexRowContent--description {
margin-bottom: 0px;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
}
.html--size-buy-button {
width: 100%;
}
@media only screen and (min-width: 1921px) {
.flexRow--product-main {
padding: 0 360px 0 360px;
}
}