2024-03-29 22:54:07 +01:00
|
|
|
.form {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input {
|
|
|
|
all: unset;
|
2024-03-30 03:43:30 +01:00
|
|
|
width: 70px;
|
2024-03-29 22:54:07 +01:00
|
|
|
padding-left: 0.2rem;
|
|
|
|
padding-right: 0.2rem;
|
|
|
|
text-align: center;
|
2024-03-30 18:22:30 +01:00
|
|
|
background-color: rgba(var(--background-end-rgb), 0.4);
|
2024-03-29 22:54:07 +01:00
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
.input:hover {
|
2024-03-30 18:22:30 +01:00
|
|
|
background-color: rgba(var(--background-end-rgb), 0.5);
|
2024-03-29 22:54:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.input:focus-within {
|
|
|
|
outline: none;
|
2024-03-30 18:22:30 +01:00
|
|
|
background-color: rgba(var(--background-end-rgb), 0.9);
|
2024-03-29 22:54:07 +01:00
|
|
|
color: rgb(var(--foreground-rgb-highlight));
|
|
|
|
}
|
2024-03-30 18:22:30 +01:00
|
|
|
|
|
|
|
@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);
|
|
|
|
}
|
|
|
|
}
|