mirror of
https://github.com/kremalicious/asi-calculator.git
synced 2024-12-23 01:39:40 +01:00
33 lines
668 B
CSS
33 lines
668 B
CSS
|
.input {
|
||
|
all: unset;
|
||
|
width: 70px;
|
||
|
padding-left: 0.2rem;
|
||
|
padding-right: 0.2rem;
|
||
|
text-align: center;
|
||
|
background-color: rgba(var(--background-end-rgb), 0.4);
|
||
|
}
|
||
|
|
||
|
.input:hover {
|
||
|
background-color: rgba(var(--background-end-rgb), 0.5);
|
||
|
}
|
||
|
|
||
|
.input:focus-within {
|
||
|
outline: none;
|
||
|
background-color: rgba(var(--background-end-rgb), 0.9);
|
||
|
color: rgb(var(--foreground-rgb-highlight));
|
||
|
}
|
||
|
|
||
|
@media (prefers-color-scheme: dark) {
|
||
|
.input {
|
||
|
background-color: rgba(var(--foreground-rgb), 0.15);
|
||
|
}
|
||
|
|
||
|
.input:hover {
|
||
|
background-color: rgba(var(--foreground-rgb), 0.2);
|
||
|
}
|
||
|
|
||
|
.input:focus-within {
|
||
|
background-color: rgba(var(--foreground-rgb), 0.3);
|
||
|
}
|
||
|
}
|