feat(product-view):add espaçamentos desktop

This commit is contained in:
Gustavo Rallenson Gonçalves Da Silva 2023-02-08 00:13:42 -03:00
parent 931054139d
commit f1a6aca91c
12 changed files with 61 additions and 16 deletions

View File

@ -1,6 +1,8 @@
/* [class*=html--pdp-breadcrumb]{
} */
.html--pdp-productMain{
padding-right: 2.778%;
padding-left: 2.778%;
display: flex;
}
.html--StackLayout,.html--pdp-InfoBuy{
@ -13,11 +15,16 @@
align-items: center;
margin-bottom: 16px;
}
.html--pdp-productMain :global(.vtex-button){
display: none;
}
.html--buy-button :global(.vtex-button){
display: block;
background: black;
height: 49px;
max-width: 526px;
max-width: 77.354%;
}
@media screen and (min-width: 1920px){
.html--buy-button :global(.vtex-button){
max-width: 766px;

View File

@ -447,7 +447,6 @@
},
"children": [
"flex-layout.row#product-name",
"product-identifier.product",
"sku-selector",
"flex-layout.row#availability"
]

View File

@ -8,10 +8,15 @@
/* Media Query M3 */
/* Grid breakpoints */
.container {
padding: 0 40px 16px;
margin-left: auto;
margin-right: auto;
max-width: 96rem;
padding-top: 16px;
padding-right: 4%;
padding-left: 4%;
}
@media screen and (min-width: 1920px) {
.container {
padding-right: 14.063%;
padding-left: 14.063%;
}
}
@media screen and (max-width: 1024px) {
.container {

View File

@ -12,10 +12,14 @@
padding: 0 0.5rem;
}
@media screen and (min-width: 1920px) {
.flexRowContent--title .stretchChildrenWidth {
width: 100% !important;
}
.flexRowContent--product-image {
justify-content: flex-end;
}
@media screen and (min-width: 1920px) {
.flexRowContent--product-image .stretchChildrenWidth {
max-width: max-content;
}

View File

@ -0,0 +1,12 @@
/*
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 */
.textInputValue, .productAssemblyGroupNameRow {
display: none;
}

View File

@ -11,5 +11,5 @@
display: block;
text-align: end;
margin-top: 8px;
padding-right: 8px;
padding-right: 40px;
}

View File

@ -7,6 +7,10 @@
*/
/* Media Query M3 */
/* Grid breakpoints */
.shareLabel, .skuSelectorNameSeparator, .skuSelectorSelectorImageValue {
display: none;
}
@media screen and (min-width: 1920px) {
.productImagesContainer--carousel .carouselGaleryCursor {
max-height: 906px;

View File

@ -1,8 +1,11 @@
.container{
padding: 0 40px 16px;
margin-left: auto;
margin-right: auto;
max-width: 96rem;
padding-top:16px;
padding-right: 4%;
padding-left: 4%;
@media screen and (min-width: 1920px){
padding-right: 14.063%;
padding-left: 14.063%;
}
@media screen and (max-width: 1024px){
padding: 0 0 0 10.67%;
}

View File

@ -2,9 +2,14 @@
.flexRowContent--main-header {
padding: 0 0.5rem;
}
.flexRowContent--title{
.stretchChildrenWidth{
width: 100% !important;
}
}
.flexRowContent--product-image{
@media screen and (min-width: 1920px){
justify-content: flex-end;
@media screen and (min-width: 1920px){
.stretchChildrenWidth{
max-width: max-content;
}

View File

@ -0,0 +1,3 @@
.textInputValue,.productAssemblyGroupNameRow{
display: none;
}

View File

@ -3,6 +3,6 @@
display: block;
text-align: end;
margin-top: 8px;
padding-right: 8px;
padding-right: 40px;
}
}

View File

@ -1,3 +1,6 @@
.shareLabel,.skuSelectorNameSeparator,.skuSelectorSelectorImageValue{
display: none;
}
.productImagesContainer--carousel{
.carouselGaleryCursor{
@media screen and (min-width: 1920px){