forked from M3-Academy/challenge-vtex-io
Entrega do Desafio #1
54
styles/css/vtex.product-quantity.css
Normal file
54
styles/css/vtex.product-quantity.css
Normal file
@ -0,0 +1,54 @@
|
||||
/*
|
||||
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 */
|
||||
.quantitySelectorContainer .quantitySelectorTitle {
|
||||
display: none;
|
||||
}
|
||||
.quantitySelectorContainer .quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__input) {
|
||||
width: 32px;
|
||||
height: 49px;
|
||||
border-left-width: 0px;
|
||||
border-right-width: 0px;
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-color: #cccccc;
|
||||
color: #929292;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
.quantitySelectorContainer .quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__plus-button-container) {
|
||||
height: 49px;
|
||||
}
|
||||
.quantitySelectorContainer .quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__plus-button-container) :global(.vtex-numeric-stepper__plus-button) {
|
||||
height: 49px;
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-color: #cccccc;
|
||||
color: #000000;
|
||||
border-radius: 0;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
.quantitySelectorContainer .quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__minus-button-container) {
|
||||
height: 49px;
|
||||
}
|
||||
.quantitySelectorContainer .quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__minus-button-container) :global(.vtex-numeric-stepper__minus-button) {
|
||||
height: 49px;
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-color: #cccccc;
|
||||
color: #000000;
|
||||
border-radius: 0;
|
||||
background-color: #ffffff;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
56
styles/sass/pages/product/vtex.product-quantity.scss
Normal file
56
styles/sass/pages/product/vtex.product-quantity.scss
Normal file
@ -0,0 +1,56 @@
|
||||
//product quantity
|
||||
|
||||
.quantitySelectorContainer {
|
||||
.quantitySelectorTitle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.quantitySelectorStepper {
|
||||
:global(.vtex-numeric-stepper-wrapper) {
|
||||
:global(.vtex-numeric-stepper-container) {
|
||||
:global(.vtex-numeric-stepper__input) {
|
||||
width: 32px;
|
||||
height: 49px;
|
||||
border-left-width: 0px;
|
||||
border-right-width: 0px;
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-color: #cccccc;
|
||||
color: #929292;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
:global(.vtex-numeric-stepper__plus-button-container) {
|
||||
height: 49px;
|
||||
:global(.vtex-numeric-stepper__plus-button) {
|
||||
height: 49px;
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-color: #cccccc;
|
||||
color: #000000;
|
||||
border-radius: 0;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
:global(.vtex-numeric-stepper__minus-button-container) {
|
||||
height: 49px;
|
||||
:global(.vtex-numeric-stepper__minus-button) {
|
||||
height: 49px;
|
||||
border-top-width: 1px;
|
||||
border-bottom-width: 1px;
|
||||
border-color: #cccccc;
|
||||
color: #000000;
|
||||
border-radius: 0;
|
||||
background-color: #ffffff;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user