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

225 lines
9.1 KiB
CSS
Raw Normal View History

2023-01-25 21:45:51 +00:00
@charset "UTF-8";
/*
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 */
.flexRow--container-product-main {
padding: 0 40px;
}
.flexRow--container-product-main .flexRowContent--container-product-main {
display: grid;
grid-template-columns: 48.824% 1fr;
grid-column-gap: 32px;
padding-bottom: 16px;
}
.flexRow--container-product-main .flexRowContent--container-product-main .stretchChildrenWidth {
padding-right: 0;
}
2023-01-25 21:45:51 +00:00
.flexRow--container-product-availability {
padding: 0 40px;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability {
display: grid;
grid-template-columns: 48.824% 1fr;
grid-column-gap: 32px;
padding-bottom: 16px;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .stretchChildrenWidth {
padding-right: 0;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-title) {
font-size: 0;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-title)::after {
content: "Produto indisponível";
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-subscribeLabel) {
font-size: 0;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-subscribeLabel)::after {
content: "Deseja saber quando estiver disponível?";
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) {
margin-bottom: 16px;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) {
display: grid;
grid-template-areas: "name email" "button button";
grid-template-columns: 1fr 1fr;
column-gap: 8px;
row-gap: 15px;
max-width: 100%;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-inputName) {
grid-area: name;
margin: 0;
margin-right: 8px;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-inputName) :global(.vtex-styleguide-9-x-input) {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #989898;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-inputEmail) {
grid-area: email;
margin: 0;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-inputEmail) :global(.vtex-styleguide-9-x-input) {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #989898;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-submit) {
grid-area: button;
margin: 0;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-submit) :global(.vtex-button) {
width: 100%;
border: 0;
background-color: #000000;
color: #ffffff;
border-radius: 0;
min-height: auto;
vertical-align: auto;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-submit) :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
padding: 12px 0 !important;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability .flexRowContent--message-availability :global(.vtex-store-components-3-x-subscriberContainer) :global(.vtex-store-components-3-x-form) :global(.vtex-store-components-3-x-content) :global(.vtex-store-components-3-x-submit) :global(.vtex-button) :global(.vtex-button__label)::after {
content: "avise-me";
font-weight: 600;
font-size: 18px;
line-height: 25px;
text-transform: uppercase;
}
.swiper-wrapper .swiper-slide-active {
width: 100%;
}
.swiper-wrapper .swiper-slide {
width: 100%;
}
.flexRowContent {
margin: 0;
}
.flexRowContent--container-quantity-and-buy-button {
display: grid;
grid-template-columns: 128px 1fr;
gap: 10px;
margin-bottom: 16px;
}
.flexRowContent--container-quantity-and-buy-button :global(.vtex-button) {
background-color: #000000;
border: 0;
border-radius: 0;
}
2023-01-25 12:52:39 +00:00
.flexRowContent--container-quantity-and-buy-button :global(.vtex-button) :global(.vtex-button__label) {
padding: 12px 0 !important;
}
2023-01-25 21:45:51 +00:00
.flexRowContent--container-quantity-and-buy-button .stretchChildrenWidth {
width: 100% !important;
}
.container-quantity-and-buy-button :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
width: 100%;
}
.flexRowContent--container-related-products-pdp {
flex-direction: column;
padding: 0 61px;
}
.flexRowContent--container-related-products-pdp .stretchChildrenWidth {
width: 100% !important;
2023-01-25 02:11:24 +00:00
}
2023-01-25 21:45:51 +00:00
.flexRow--message-availability {
width: 60.0903%;
}
.flexRow--container-description-section-product-pdp {
padding: 0 40px;
}
.flexRow--container-description-section-product-pdp .flexRowContent--container-description-section-product-pdp {
display: grid;
gap: 32px;
grid-template-columns: 1fr 1fr;
padding: 0 32px;
}
.flexRow--container-description-section-product-pdp .flexRowContent--container-description-section-product-pdp .stretchChildrenWidth {
width: 100% !important;
}
@media screen and (min-width: 1920px) {
.flexRow--container-product-main {
padding: 0 360px;
}
.flexRow--container-product-main .flexRowContent--container-product-main {
grid-template-columns: 49.1305% 1fr;
}
.flexRow--container-product-availability {
padding: 0 360px;
}
.flexRow--container-product-availability .flexRowContent--container-product-availability {
grid-template-columns: 49.1305% 1fr;
}
.flexRowContent--container-related-products-pdp {
padding: 0 381px;
}
}
2023-01-25 02:11:24 +00:00
@media screen and (max-width: 1024px) {
.flexRow--container-product-main .flexRowContent--container-product-main {
display: flex;
flex-direction: column;
padding-top: 16px;
2023-01-25 12:52:39 +00:00
padding-bottom: 0;
}
.flexRowContent--container-related-products-pdp {
padding: 0 53px;
}
2023-01-25 21:45:51 +00:00
.flexRow--container-description-section-product-pdp {
padding: 0;
}
.flexRow--container-description-section-product-pdp .flexRowContent--container-description-section-product-pdp {
display: flex;
flex-direction: column;
margin-left: 0;
gap: 16px;
padding: 0;
border-bottom: 1px solid #BFBFBF;
}
2023-01-25 12:52:39 +00:00
}
@media screen and (max-width: 768px) {
.flexRowContent--container-quantity-and-buy-button {
display: flex;
flex-direction: column;
}
.flexRowContent--container-quantity-and-buy-button :global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
justify-content: flex-start;
}
.flexRowContent--container-quantity-and-buy-button :global(.vtex-button) :global(.vtex-button__label) {
display: inline-block;
width: 56.7567%;
}
.flexRowContent--container-related-products-pdp {
padding: 0 48px;
2023-01-25 02:11:24 +00:00
}
}