challenge-vtex-io-naian-felix/styles/sass/pages/product/vtex.flex-layout.scss

102 lines
1.9 KiB
SCSS

.flexRowContent {
padding: 0;
margin: 0;
@media screen and (max-width: 1024px) {
flex-direction: column;
.flexRowContent--buy-box {
flex-direction: row;
@media screen and (max-width: 768px) {
flex-direction: column;
}
}
}
.flexColChild {
.product-identifier--productReference {
float: right;
}
}
.pix-container {
.imageElement {
width: 66px;
height: 24px;
}
}
}
.product-images {
padding-left: 0;
}
.product-identifier__label {
display: none;
}
.flexRowContent--shipping-container {
.stretchChildrenWidth {
flex-direction: column;
}
}
.flexRowContent--button-container {
margin-bottom: 10px;
:global(.vtex-button) {
background-color: #000;
border: 0;
height: 50px;
margin-left: 10px;
border-radius: 0;
@media screen and (max-width: 768px) {
margin: 0;
height: 74px;
margin-top: 10px;
}
:global(.vtex-add-to-cart-button-0-x-buttonDataContainer) {
@media screen and (max-width: 767px) {
padding: 0 56px;
}
}
}
}
.flexRow--buy-box {
.stretchChildrenWidth:nth-child(2n) {
width: 100% !important;
}
}
:global(.vtex-product-identifier-0-x-product-identifier__label),
:global(.vtex-product-identifier-0-x-product-identifier__separator) {
display: none;
}
:global(.vtex-flex-layout-0-x-flexColChild) {
order: -1;
}
:global(.vtex-flex-layout-0-x-flexRow--pix-container) {
display: flex;
align-items: center;
:global(.vtex-flex-layout-0-x-flexRowContent--pix-container) {
@media screen and (max-width: 1024px) {
flex-direction: row;
display: flex;
}
:global(.vtex-flex-layout-0-x-stretchChildrenWidth) {
display: flex;
align-items: center;
width: auto !important;
padding-right: 26px;
:global(.vtex-store-components-3-x-imageElement) {
width: 66px;
height: 24px;
}
}
}
}