mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
29 lines
465 B
SCSS
29 lines
465 B
SCSS
.numeric-input {
|
|
border: 1px solid var(--ui-3);
|
|
position: relative;
|
|
border-radius: 6px;
|
|
|
|
&--error {
|
|
border-color: var(--error-1);
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
border: 0;
|
|
padding: 10px;
|
|
border-radius: 6px;
|
|
|
|
/* ensures the increment/decrement arrows always display */
|
|
&::-webkit-inner-spin-button,
|
|
&::-webkit-outer-spin-button {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
span {
|
|
position: absolute;
|
|
right: 40px;
|
|
top: 7px;
|
|
}
|
|
}
|