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

108 lines
2.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 */
2023-02-08 02:55:02 +00:00
@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;
}
2023-02-08 23:26:24 +00:00
@media only screen and (max-width: 1024px) {
.flexRowContent--product-main {
display: block;
padding-left: 40px;
padding-right: 40px;
2023-02-08 23:26:24 +00:00
}
.flexRowContent--product-main .stretchChildrenWidth {
width: 100% !important;
}
}
.flexRow--size-buy-button {
width: 100%;
height: 49px;
margin: 0;
margin-left: 10px;
}
2023-02-10 14:16:37 +00:00
@media only screen and (max-width: 425px) {
.flexRow--size-buy-button {
2023-02-10 14:16:37 +00:00
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;
}
2023-02-10 14:16:37 +00:00
}
@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);
2023-02-10 14:16:37 +00:00
}
}
.html--size-buy-button {
width: 100%;
2023-02-10 18:54:39 +00:00
}
@media only screen and (min-width: 1921px) {
.flexRow--product-main {
padding: 0 360px 0 360px;
}
}