manual submission redesign phase B

This commit is contained in:
Joren de Graaf
2026-10-06 19:44:24 +02:00
parent 3884073241
commit 165a156bbf
20 changed files with 146 additions and 33 deletions
@@ -16,18 +16,48 @@
}
.manual-report__quantity #manual-occurrences {
margin-bottom: 0;
width: 100%;
min-width: 0;
min-height: 3.75rem;
margin: 0;
padding: 0;
border: 0;
color: #f5f0ff;
font-size: clamp(2.25rem, 8vw, 3.5rem);
font-weight: 850;
text-align: center;
background: transparent;
appearance: textfield;
-moz-appearance: textfield;
}
.manual-report__quantity #manual-occurrences::-webkit-inner-spin-button,
.manual-report__quantity #manual-occurrences::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.manual-report__stepper { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 3.5rem; align-items: center; gap: .5rem; }
.manual-report__stepper button { width: 3.5rem; min-height: 3.5rem; border: 1px solid #6d54ac; border-radius: 50%; color: #f5f0ff; font: inherit; font-size: 2rem; background: #302553; cursor: pointer; }
.manual-report__stepper button:disabled { opacity: .4; cursor: default; }
.manual-report__primary .manual-direction-panel {
width: 100%;
margin: 0;
border-radius: 1rem;
background: #1a1739;
}
.manual-direction-panel__topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.manual-direction-panel__summary { margin: .35rem 0 .8rem; color: #f5f0ff; font-weight: 700; }
.manual-direction-panel__open, .manual-direction-panel__close { min-height: 2.75rem; border: 1px solid #8d77d2; border-radius: .7rem; color: #e8dcff; font: inherit; font-weight: 750; background: #302553; cursor: pointer; }
.manual-direction-panel__open { padding: .5rem .85rem; }
.manual-direction-panel__close { min-width: 2.75rem; font-size: 1.4rem; }
.manual-report__primary .manual-report__submit {
width: 100%;
min-height: 4.5rem;
}
.manual-report button:focus-visible, .manual-report input:focus-visible { outline: 3px solid #c9b4ff; outline-offset: 3px; }
.manual-report__supporting {
max-width: 36rem;
margin-top: 1.5rem;
@@ -50,6 +80,12 @@
background: #fff8fb;
}
:root[data-theme="light"] .manual-report__quantity #manual-occurrences { color: #321d42; }
:root[data-theme="light"] .manual-report__stepper button,
:root[data-theme="light"] .manual-direction-panel__open,
:root[data-theme="light"] .manual-direction-panel__close { color: #321d42; border-color: #b68bb5; background: #ead2eb; }
:root[data-theme="light"] .manual-direction-panel__summary { color: #321d42; }
:root[data-theme="light"] .manual-report__supporting {
border-color: #d9b4d8;
}