asi-calculator/components/Input/Input.module.css

16 lines
298 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.1);
}
.input:focus-within {
outline: none;
background-color: rgba(var(--background-rgb), 0.3);
}