asi-calculator/components/FormAmount/Inputs/InputAmount.module.css

26 lines
501 B
CSS

.input {
all: unset;
padding: 0 0.75rem;
text-align: center;
border-right: 1px solid rgba(var(--foreground-rgb), 0.15);
}
.input:hover {
background-color: rgba(var(--background-rgb), 0.5);
}
.input:focus-within {
outline: none;
background-color: rgba(var(--background-rgb), 0.9);
}
@media (prefers-color-scheme: dark) {
.input:hover {
background-color: rgba(var(--foreground-rgb), 0.1);
}
.input:focus-within {
background-color: rgba(var(--foreground-rgb), 0.2);
}
}