challenge-vtex-io-Patrick-R.../styles/sass/pages/product/vtex.flex-layout.scss

66 lines
1.2 KiB
SCSS

.flexRow--product-container {
:global(.vtex-store-components-3-x-container) {
padding: 0;
}
}
.flexRowContent--product-container {
margin: 0;
padding: 16px 40px;
@media (max-width: 1024px) {
flex-direction: column;
.stretchChildrenWidth {
padding: 0;
width: 100% !important;
}
}
}
.flexRowContent--addToBag {
.stretchChildrenWidth {
&:first-child {
padding: 0;
width: 128px !important;
}
&:last-child {
padding-left: 10px;
width: unset !important;
flex: 1;
@media (max-width: 768px) {
padding: 0;
margin-top: 10px;
}
:global(.vtex-button) {
background-color: #000000;
border: none;
height: 49px;
box-sizing: border-box;
@media (max-width: 768px) {
height: 74px;
}
}
}
}
}
:global(.vtex-add-to-cart-button-0-x-buttonText) {
font-size: 0;
&::after {
content: "ADICIONAR À SACOLA";
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #ffffff;
@media (max-width: 768px) {
width: 116px;
display: block;
}
}
}