mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-03-14 01:51:40 +00:00
Made toggles work better on features
This commit is contained in:
parent
c23a4d5626
commit
3ba15fd969
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,7 @@ const value = computed({
|
|||
<style scoped>
|
||||
.field {
|
||||
cursor: pointer;
|
||||
pointer-events: all;
|
||||
}
|
||||
|
||||
input {
|
||||
|
@ -58,6 +59,7 @@ input + span::before {
|
|||
opacity: 0.38;
|
||||
vertical-align: top;
|
||||
transition: background-color 0.2s, opacity 0.2s;
|
||||
border: solid 1px var(--feature-foreground);
|
||||
}
|
||||
|
||||
/* thumb */
|
||||
|
@ -73,6 +75,7 @@ input + span::after {
|
|||
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
|
||||
0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
||||
transition: background-color 0.2s, transform 0.2s;
|
||||
border: solid 1px var(--feature-foreground);
|
||||
}
|
||||
|
||||
input:checked + span::before {
|
||||
|
|
Loading…
Add table
Reference in a new issue