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

16 lines
298 B
CSS
Raw Normal View History

2024-03-30 20:50:51 +01:00
.input {
all: unset;
2024-04-01 02:49:17 +02:00
padding: 0 0.75rem;
2024-03-30 20:50:51 +01:00
text-align: center;
2024-04-01 02:15:51 +02:00
border-right: 1px solid rgba(var(--foreground-rgb), 0.15);
2024-03-30 20:50:51 +01:00
}
.input:hover {
2024-04-01 15:49:03 +02:00
background-color: rgba(var(--background-rgb), 0.1);
2024-03-30 20:50:51 +01:00
}
.input:focus-within {
outline: none;
2024-04-01 15:49:03 +02:00
background-color: rgba(var(--background-rgb), 0.3);
2024-03-30 20:50:51 +01:00
}