113 lines
4.5 KiB
CSS
113 lines
4.5 KiB
CSS
.manual-report__header {
|
|
max-width: 42rem;
|
|
}
|
|
|
|
.manual-report__primary {
|
|
display: grid;
|
|
gap: 1rem;
|
|
max-width: 36rem;
|
|
}
|
|
|
|
.manual-report__quantity {
|
|
padding: 1rem;
|
|
border: 1px solid #584891;
|
|
border-radius: 1rem;
|
|
background: #151932;
|
|
}
|
|
|
|
.manual-report__quantity #manual-occurrences {
|
|
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[data-state="measuring"] { border-color: #a27cff; }
|
|
.manual-direction-panel[data-state="captured"] { border-color: #68dba1; }
|
|
.manual-direction-panel[data-state="unavailable"] { border-color: #d38b7a; }
|
|
|
|
.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__submit:disabled { cursor: wait; opacity: .72; }
|
|
.manual-submission { display: grid; justify-items: center; gap: .5rem; max-width: 36rem; margin-top: 1rem; padding: 1.3rem; border: 1px solid #4caa82; border-radius: 1rem; color: #eafff2; text-align: center; background: #10352e; }
|
|
.manual-submission__icon { display: grid; width: 3.5rem; height: 3.5rem; place-items: center; border: 2px solid #6ce4a8; border-radius: 50%; color: #eafff2; font-size: 2rem; background: #226c51; }
|
|
.manual-submission strong { font-size: 1.35rem; }
|
|
.manual-submission p { margin: 0; line-height: 1.45; }
|
|
.manual-submission__summary { margin-top: .35rem !important; color: #b2e8cf; font-size: .9rem; }
|
|
.manual-submission--error { border-color: #d37c6a; color: #fff0e8; background: #3a1c2b; }
|
|
.manual-submission--error .manual-submission__icon { border-color: #ffac8c; background: #9b493a; }
|
|
.manual-report__submission:empty { display: none; }
|
|
|
|
.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;
|
|
padding-top: 1.25rem;
|
|
border-top: 1px solid #584891;
|
|
}
|
|
|
|
.manual-report__supporting h3 {
|
|
margin: 0;
|
|
color: #d8cffd;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.manual-report__supporting .burst-listener {
|
|
width: 100%;
|
|
}
|
|
|
|
:root[data-theme="light"] .manual-report__quantity {
|
|
border-color: #d9b4d8;
|
|
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-submission { border-color: #54a67b; color: #164d34; background: #e8fff2; }
|
|
:root[data-theme="light"] .manual-submission__icon { color: #fff; }
|
|
:root[data-theme="light"] .manual-submission__summary { color: #2b6b48; }
|
|
:root[data-theme="light"] .manual-submission--error { border-color: #ca7d65; color: #743520; background: #fff0e8; }
|
|
|
|
:root[data-theme="light"] .manual-report__supporting {
|
|
border-color: #d9b4d8;
|
|
}
|
|
|
|
:root[data-theme="light"] .manual-report__supporting h3 {
|
|
color: #492846;
|
|
}
|