Fix button styling for 'add' page

This commit is contained in:
Elias Schriefer
2024-06-18 15:40:39 +02:00
parent df1598e7c5
commit 00a1f4f12c
3 changed files with 22 additions and 17 deletions

View File

@@ -66,6 +66,7 @@ label:has(#is-dataset) {
box-sizing: border-box;
background-color: var(--text-color);
transition: inset-inline ease-out 50ms;
filter: drop-shadow(rgba(0, 0, 0, .8) 0 0 .25rem);
}
#is-dataset:not(:checked) + #is-dataset-toggle::before {

View File

@@ -147,10 +147,14 @@ header {
filter: brightness(1.3);
}
.btn:is(:hover, :focus-visible) {
.btn.flat {
transition: filter ease-out 50ms;
}
.btn.flat:is(:hover, :focus-visible) {
filter: brightness(1.5);
}
.btn:active {
.btn.flat:active {
filter: brightness(1.75);
}