feat(dados_de_compra):seletores de sku estilizados

This commit is contained in:
Gustavo Rallenson Gonçalves Da Silva 2023-01-31 20:56:56 -03:00
parent 40394780af
commit b3654c7c33
4 changed files with 50 additions and 14 deletions

View File

@ -24,6 +24,8 @@ os Requisitos cobrados serão:
- HACK 5. prateleira de produtos,
- HACK 6. Newsletter.
- HACK 7. fazer o pix.
}

View File

@ -124,7 +124,8 @@
"sku-selector": {
"props": {
"variationsSpacing": 3,
"showValueNameForImageVariation": true
"showValueNameForImageVariation": true,
"name": "Outro Tamanho"
}
},

View File

@ -37,6 +37,27 @@
.skuSelectorContainer .skuSelectorSubcontainer--cor .skuSelectorTextContainer .skuSelectorName::before {
content: "OUTRAS ";
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .frameAround {
width: 40px;
height: 40px;
top: -2px;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorItemTextValue {
padding: 0;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorInternalBox {
width: 40px;
height: 40px;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorTextContainer .skuSelectorName {
text-transform: uppercase;
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorTextContainer .skuSelectorName::after {
content: "S:";
}
.skuSelectorContainer .skuSelectorSubcontainer--tamanho .skuSelectorTextContainer .skuSelectorName::before {
content: "OUTROS ";
}
.skuSelectorContainer .skuSelectorInternalBox {
border: 2px solid #B9B9B9;
}

View File

@ -34,19 +34,31 @@
}
}
}
// &-tamanho{
// .skuSelectorTextContainer{
// .skuSelectorName{
// text-transform: uppercase;
// &::after{
// content: "S:";
// }
// &::before{
// content: "OUTROS ";
// }
// }
// }
// }
&-tamanho{
.frameAround{
width: 40px;
height: 40px;
top: -2px;
}
.skuSelectorItemTextValue{
padding: 0;
}
.skuSelectorInternalBox{
width: 40px;
height: 40px;
}
.skuSelectorTextContainer{
.skuSelectorName{
text-transform: uppercase;
&::after{
content: "S:";
}
&::before{
content: "OUTROS ";
}
}
}
}
}
.skuSelectorInternalBox{