mirror of
https://github.com/kremalicious/asi-calculator.git
synced 2024-12-23 01:39:40 +01:00
26 lines
501 B
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);
|
|
}
|
|
}
|