forked from M3-Academy/challenge-vtex-io
feat(product-view):add espaçamentos desktop
This commit is contained in:
parent
931054139d
commit
f1a6aca91c
@ -1,6 +1,8 @@
|
|||||||
/* [class*=html--pdp-breadcrumb]{
|
/* [class*=html--pdp-breadcrumb]{
|
||||||
} */
|
} */
|
||||||
.html--pdp-productMain{
|
.html--pdp-productMain{
|
||||||
|
padding-right: 2.778%;
|
||||||
|
padding-left: 2.778%;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
.html--StackLayout,.html--pdp-InfoBuy{
|
.html--StackLayout,.html--pdp-InfoBuy{
|
||||||
@ -13,11 +15,16 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
.html--pdp-productMain :global(.vtex-button){
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.html--buy-button :global(.vtex-button){
|
.html--buy-button :global(.vtex-button){
|
||||||
|
display: block;
|
||||||
background: black;
|
background: black;
|
||||||
height: 49px;
|
height: 49px;
|
||||||
max-width: 526px;
|
max-width: 77.354%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 1920px){
|
@media screen and (min-width: 1920px){
|
||||||
.html--buy-button :global(.vtex-button){
|
.html--buy-button :global(.vtex-button){
|
||||||
max-width: 766px;
|
max-width: 766px;
|
||||||
|
@ -447,7 +447,6 @@
|
|||||||
},
|
},
|
||||||
"children": [
|
"children": [
|
||||||
"flex-layout.row#product-name",
|
"flex-layout.row#product-name",
|
||||||
"product-identifier.product",
|
|
||||||
"sku-selector",
|
"sku-selector",
|
||||||
"flex-layout.row#availability"
|
"flex-layout.row#availability"
|
||||||
]
|
]
|
||||||
|
@ -8,10 +8,15 @@
|
|||||||
/* Media Query M3 */
|
/* Media Query M3 */
|
||||||
/* Grid breakpoints */
|
/* Grid breakpoints */
|
||||||
.container {
|
.container {
|
||||||
padding: 0 40px 16px;
|
padding-top: 16px;
|
||||||
margin-left: auto;
|
padding-right: 4%;
|
||||||
margin-right: auto;
|
padding-left: 4%;
|
||||||
max-width: 96rem;
|
}
|
||||||
|
@media screen and (min-width: 1920px) {
|
||||||
|
.container {
|
||||||
|
padding-right: 14.063%;
|
||||||
|
padding-left: 14.063%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 1024px) {
|
@media screen and (max-width: 1024px) {
|
||||||
.container {
|
.container {
|
||||||
|
@ -12,10 +12,14 @@
|
|||||||
padding: 0 0.5rem;
|
padding: 0 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flexRowContent--title .stretchChildrenWidth {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexRowContent--product-image {
|
||||||
|
justify-content: flex-end;
|
||||||
|
}
|
||||||
@media screen and (min-width: 1920px) {
|
@media screen and (min-width: 1920px) {
|
||||||
.flexRowContent--product-image {
|
|
||||||
justify-content: flex-end;
|
|
||||||
}
|
|
||||||
.flexRowContent--product-image .stretchChildrenWidth {
|
.flexRowContent--product-image .stretchChildrenWidth {
|
||||||
max-width: max-content;
|
max-width: max-content;
|
||||||
}
|
}
|
||||||
|
12
styles/css/vtex.product-customizer.css
Normal file
12
styles/css/vtex.product-customizer.css
Normal 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;
|
||||||
|
}
|
@ -11,5 +11,5 @@
|
|||||||
display: block;
|
display: block;
|
||||||
text-align: end;
|
text-align: end;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
padding-right: 8px;
|
padding-right: 40px;
|
||||||
}
|
}
|
@ -7,6 +7,10 @@
|
|||||||
*/
|
*/
|
||||||
/* Media Query M3 */
|
/* Media Query M3 */
|
||||||
/* Grid breakpoints */
|
/* Grid breakpoints */
|
||||||
|
.shareLabel, .skuSelectorNameSeparator, .skuSelectorSelectorImageValue {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 1920px) {
|
@media screen and (min-width: 1920px) {
|
||||||
.productImagesContainer--carousel .carouselGaleryCursor {
|
.productImagesContainer--carousel .carouselGaleryCursor {
|
||||||
max-height: 906px;
|
max-height: 906px;
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
.container{
|
.container{
|
||||||
padding: 0 40px 16px;
|
padding-top:16px;
|
||||||
margin-left: auto;
|
padding-right: 4%;
|
||||||
margin-right: auto;
|
padding-left: 4%;
|
||||||
max-width: 96rem;
|
@media screen and (min-width: 1920px){
|
||||||
|
padding-right: 14.063%;
|
||||||
|
padding-left: 14.063%;
|
||||||
|
}
|
||||||
@media screen and (max-width: 1024px){
|
@media screen and (max-width: 1024px){
|
||||||
padding: 0 0 0 10.67%;
|
padding: 0 0 0 10.67%;
|
||||||
}
|
}
|
||||||
|
@ -2,9 +2,14 @@
|
|||||||
.flexRowContent--main-header {
|
.flexRowContent--main-header {
|
||||||
padding: 0 0.5rem;
|
padding: 0 0.5rem;
|
||||||
}
|
}
|
||||||
|
.flexRowContent--title{
|
||||||
|
.stretchChildrenWidth{
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
.flexRowContent--product-image{
|
.flexRowContent--product-image{
|
||||||
|
justify-content: flex-end;
|
||||||
@media screen and (min-width: 1920px){
|
@media screen and (min-width: 1920px){
|
||||||
justify-content: flex-end;
|
|
||||||
.stretchChildrenWidth{
|
.stretchChildrenWidth{
|
||||||
max-width: max-content;
|
max-width: max-content;
|
||||||
}
|
}
|
||||||
|
3
styles/sass/pages/product/vtex.product-customizer.scss
Normal file
3
styles/sass/pages/product/vtex.product-customizer.scss
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.textInputValue,.productAssemblyGroupNameRow{
|
||||||
|
display: none;
|
||||||
|
}
|
@ -3,6 +3,6 @@
|
|||||||
display: block;
|
display: block;
|
||||||
text-align: end;
|
text-align: end;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
padding-right: 8px;
|
padding-right: 40px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
.shareLabel,.skuSelectorNameSeparator,.skuSelectorSelectorImageValue{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.productImagesContainer--carousel{
|
.productImagesContainer--carousel{
|
||||||
.carouselGaleryCursor{
|
.carouselGaleryCursor{
|
||||||
@media screen and (min-width: 1920px){
|
@media screen and (min-width: 1920px){
|
||||||
|
Loading…
Reference in New Issue
Block a user