feat: Update events and style for quest view

- New buttons
- Refine event delegation
This commit is contained in:
sthag 2026-04-13 23:46:45 +02:00
parent 904e9e8e47
commit 42e8e6f5f5
2 changed files with 44 additions and 12 deletions

View file

@ -36,7 +36,8 @@
color: hippie.$color_darkest;
}
.success {
.complete .subtle,
button[data-action="claim"] {
color: hippie.basic_color(alpha);
}
@ -166,15 +167,17 @@
justify-content: space-between;
padding: hippie.$space_basic;
& > button:last-child {
//margin-left: auto;
& > button:not(:first-child) {
padding-inline: 2em;
}
}
}
.quest,
footer *:not(button[data-action="back"]) {
.quest {
opacity: 0;
}
footer *:not(button[data-action="back"]) {
display: none;
}
}