feat: Adiciona estilo botao quantidade e cep

This commit is contained in:
Izabela Balizardo 2023-02-01 23:03:50 -03:00
parent 93373e8f84
commit c9882ca401
9 changed files with 331 additions and 3 deletions

View File

@ -94,3 +94,43 @@ button[class*="vtex-numeric-stepperminus-button numeric-stepperminus-button br2
[class*="quantitySelectorTitle"] {
display: none;
} */
[class*="flexRowContent--btn-product"] button {
background-color: black;
border-color: black;
max-width: 526px;
width: 100%;
height: 49px;
display: flex;
border-radius: 0px;
left: 158px;
bottom: 73px;
}
[class*="flexRowContent--btn-product"] button span {
font-size: 0px;
}
[class*="flexRowContent--btn-product"] button span::after {
content: "ADICIONAR À SACOLA";
font-size: 14px;
font-family: "Open Sans", sans-serif;
}
[class*="flexRowContent--btn-product"] button:hover {
background-color: #000000;
}
[class*="vtex-address-form__postalCode-forgottenURL"] a {
color: black;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 12px;
}
[class*="vtex-address-form__postalCode-forgottenURL"] span {
display: none;
}

View File

@ -107,7 +107,6 @@
"flex-layout.row#list-price-savings",
"flex-layout.row#selling-price",
"product-installments",
"product-separator",
"sku-selector",
"product-quantity",
"product-assembly-options",

View File

@ -6,4 +6,19 @@
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
/* Grid breakpoints */
.product-identifier--productReference {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: right;
display: block;
color: rgba(146, 146, 146, 0.48);
}
.product-identifier__label,
.product-identifier__separator {
display: none;
}

View File

@ -0,0 +1,33 @@
/*
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 */
.quantitySelectorTitle {
display: none;
}
.quantitySelectorStepper :global(.vtex-numeric-stepper__input) {
border-top: 2px solid #cccccc;
border-left: none;
border-right: none;
border-bottom: 2px solid #cccccc;
color: black;
height: 50px;
}
.quantitySelectorStepper :global(.vtex-numeric-stepper__plus-button) {
color: black;
border-color: #cccccc;
border-radius: 0;
height: 50px;
}
.quantitySelectorStepper :global(.vtex-numeric-stepper__minus-button) {
background-color: white;
border-color: #cccccc;
border-radius: 0;
height: 50px;
}

View File

@ -12,6 +12,16 @@
}
.productNameContainer {
font-family: "Open Sans";
font-style: normal;
font-weight: 300;
font-size: 20px;
line-height: 34px;
text-align: right;
color: #000000;
}
.productNameContainer--quickview {
font-family: "Open Sans";
font-style: normal;
font-weight: 300;
@ -19,4 +29,76 @@
line-height: 34px;
text-align: right;
color: #575757;
}
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
}
.skuSelectorContainer .frameAround {
border-radius: 50%;
border-color: black;
z-index: 2;
}
.skuSelectorContainer .skuSelectorInternalBox {
border-radius: 50%;
}
.skuSelectorContainer .diagonalCross {
background-image: linear-gradient(to top left, transparent 44%, rgba(0, 0, 0, 0.3) 48%, currentColor 48%, currentColor 52%, transparent 52%);
}
.skuSelectorItem {
height: 50px;
width: 50px;
}
.shippingContainer {
display: flex;
position: relative;
}
.shippingContainer :global(.vtex-button) {
background-color: black;
width: 70px;
height: 45px;
color: white;
margin-top: 23px;
margin-left: -4px;
}
.shippingContainer :global(.vtex-input__label) {
font-size: 0px;
}
.shippingContainer :global(.vtex-input__label)::before {
content: "calcular frete:";
font-size: 14px;
text-transform: uppercase;
}
.shippingContainer :global(.vtex-button__label) {
font-size: 0px;
}
.shippingContainer :global(.vtex-button__label)::after {
content: "OK";
font-size: 14px;
}
.shippingContainer :global(.vtex-address-form__postalCode) {
width: 280px;
}
.shippingContainer :global(.vtex-address-form__postalCode-forgottenURL) {
color: black;
position: absolute;
right: 32px;
top: 25px;
}
.shareContainer {
display: none;
}
.shippingTable .shippingTableRadioBtn {
display: none;
}
.shippingTable .shippingTableHead {
display: contents;
}
.shippingTable .shippingTableRow {
text-align: left;
}

View File

@ -0,0 +1,9 @@
// button.flexRow--btn-product {
// background-color: black;
// border-color: black;
// max-width: 526px;
// width: 100%;
// height: 49px;
// display: flex;
// border-radius: 0px;
// }

View File

@ -1 +1,22 @@
.product-identifier--productReference {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: right;
display: block;
color: rgba(146, 146, 146, 0.48);
}
.product-identifier__label,
.product-identifier__separator {
display: none;
}

View File

@ -0,0 +1,28 @@
.quantitySelectorTitle {
display: none;
}
.quantitySelectorStepper {
:global(.vtex-numeric-stepper__input) {
border-top: 2px solid #cccccc;
border-left: none;
border-right: none;
border-bottom: 2px solid #cccccc;
color: black;
height: 50px;
}
:global(.vtex-numeric-stepper__plus-button) {
color: black;
border-color: #cccccc;
border-radius: 0;
height: 50px;
}
:global(.vtex-numeric-stepper__minus-button) {
background-color: white;
border-color: #cccccc;
border-radius: 0;
height: 50px;
}
}

View File

@ -2,8 +2,17 @@
background: red;
}
.productNameContainer {
font-family: "Open Sans";
font-style: normal;
font-weight: 300;
font-size: 20px;
line-height: 34px;
text-align: right;
color: #000000;
}
.productNameContainer--quickview {
font-family: "Open Sans";
font-style: normal;
font-weight: 300;
@ -13,4 +22,96 @@
color: #575757;
}
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
.frameAround {
border-radius: 50%;
border-color: black;
z-index: 2;
}
.skuSelectorInternalBox {
border-radius: 50%;
}
.diagonalCross {
background-image: linear-gradient(
to top left,
transparent 44%,
rgba(0, 0, 0, 0.3) 48%,
currentColor 48%,
currentColor 52%,
transparent 52%
);
}
}
.skuSelectorItem {
height: 50px;
width: 50px;
}
.shippingContainer {
display: flex;
position: relative;
:global(.vtex-button) {
background-color: black;
width: 70px;
height: 45px;
color: white;
margin-top: 23px;
margin-left: -4px;
}
:global(.vtex-input__label) {
font-size: 0px;
}
:global(.vtex-input__label)::before {
content: "calcular frete:";
font-size: 14px;
text-transform: uppercase;
}
:global(.vtex-button__label) {
font-size: 0px;
}
:global(.vtex-button__label)::after {
content: "OK";
font-size: 14px;
}
:global(.vtex-address-form__postalCode) {
width: 280px;
}
:global(.vtex-address-form__postalCode-forgottenURL) {
color: black;
position: absolute;
right: 32px;
top: 25px;
}
}
.shareContainer {
display: none;
}
.shippingTable {
.shippingTableRadioBtn {
display: none;
}
.shippingTableHead {
display: contents;
}
.shippingTableRow {
text-align: left;
}
}