mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
51 lines
1.2 KiB
SCSS
51 lines
1.2 KiB
SCSS
@import '../../../styles/utilities';
|
|
.quanittyInputWarper {
|
|
@apply shape-common-border;
|
|
padding: 0.5px 0;
|
|
&::before{
|
|
background-color: var(--text-active);
|
|
}
|
|
.inner {
|
|
@apply inline-flex justify-between items-center;
|
|
margin: 0;
|
|
}
|
|
.plusIcon, .minusIcon{
|
|
@apply flex justify-center items-center;
|
|
min-height: 2rem;
|
|
&:hover{
|
|
cursor: pointer;
|
|
svg path {
|
|
fill: var(--primary);
|
|
}
|
|
}
|
|
}
|
|
&.default{
|
|
max-width: 18.4rem;
|
|
min-height: 4rem;
|
|
.plusIcon, .minusIcon{
|
|
margin: 0.8rem;
|
|
width: 2.4rem;
|
|
height: 2.4rem;
|
|
}
|
|
}
|
|
&.small{
|
|
max-width: 10rem;
|
|
min-height: 2.8rem;
|
|
.plusIcon, .minusIcon{
|
|
margin: 0 0.6rem;
|
|
// width: 1rem;
|
|
// height: 1rem;
|
|
}
|
|
}
|
|
.quanittyInput{
|
|
@apply bg-background outline-none w-1/2 text-center h-full font-bold;
|
|
font-size: 20px;
|
|
line-height: 28px;
|
|
color: theme("textColor.active");
|
|
&::-webkit-inner-spin-button, &::-webkit-inner-spin-button{
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
} |