challenge-vtex-io-andrea-ma.../styles/css/vtex.product-quantity.css

65 lines
1.8 KiB
CSS

/*
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 */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");
.quantitySelectorContainer {
margin: 0;
}
@media only screen and (max-width: 639px) {
.quantitySelectorContainer {
margin-bottom: 10px;
}
}
.quantitySelectorContainer :global(.vtex-numeric-stepper-container) {
padding: 12.5px 15px;
border: 1px solid #989898;
}
.quantitySelectorContainer :global(.vtex-numeric-stepper__input) {
width: 76px;
height: fit-content;
border: 0;
padding: 0;
color: #929292;
}
.quantitySelectorContainer :global(.vtex-numeric-stepper__plus-button),
.quantitySelectorContainer :global(.vtex-numeric-stepper__minus-button) {
width: fit-content !important;
height: fit-content;
border: 0;
background: transparent;
}
.quantitySelectorContainer :global(.vtex-numeric-stepper__input),
.quantitySelectorContainer :global(.vtex-numeric-stepper__plus-button__text),
.quantitySelectorContainer :global(.vtex-numeric-stepper__minus-button__text) {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 22px;
}
.quantitySelectorContainer :global(.vtex-numeric-stepper__plus-button__text),
.quantitySelectorContainer :global(.vtex-numeric-stepper__minus-button__text) {
font-size: 0;
}
.quantitySelectorContainer :global(.vtex-numeric-stepper__plus-button)::after {
content: "+";
width: 10px;
height: 12px;
display: flex;
align-items: center;
color: #000000;
}
.quantitySelectorContainer :global(.vtex-numeric-stepper__minus-button)::before {
content: "-";
width: 10px;
height: 12px;
display: flex;
align-items: center;
color: #000000;
}