manual submission redesign phase E
This commit is contained in:
@@ -54,9 +54,11 @@
|
||||
.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 {
|
||||
.manual-report #manual-submit {
|
||||
width: 100%;
|
||||
max-width: 36rem;
|
||||
min-height: 4.5rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.manual-report__submit:disabled { cursor: wait; opacity: .72; }
|
||||
@@ -93,7 +95,7 @@
|
||||
background: #fff8fb;
|
||||
}
|
||||
|
||||
:root[data-theme="light"] .manual-report__quantity #manual-occurrences { color: #321d42; }
|
||||
:root[data-theme="light"] .manual-report__quantity #manual-occurrences { border: 0 !important; color: #321d42 !important; background: transparent !important; }
|
||||
: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; }
|
||||
@@ -110,3 +112,32 @@
|
||||
:root[data-theme="light"] .manual-report__supporting h3 {
|
||||
color: #492846;
|
||||
}
|
||||
|
||||
@media (max-width: 42rem) {
|
||||
.home-grid { grid-template-columns: minmax(0, 1fr); }
|
||||
body:not(.dashboard-page) { padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px)); }
|
||||
.home-grid .manual-report, .dashboard-report, .dashboard-report .manual-report { overflow: visible; }
|
||||
.manual-report { padding: 1.25rem; }
|
||||
.manual-report__header { padding-right: 2.5rem; }
|
||||
.manual-report form { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
|
||||
.manual-report #manual-submit {
|
||||
position: sticky;
|
||||
bottom: calc(.5rem + env(safe-area-inset-bottom, 0px));
|
||||
z-index: 10;
|
||||
box-shadow: 0 .7rem 1.6rem #070a18b3;
|
||||
}
|
||||
body:has(#manual-occurrences:focus) .manual-report #manual-submit { position: static; }
|
||||
.dashboard-intro { margin-bottom: 1rem; }
|
||||
.dashboard-intro h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
|
||||
.dashboard-intro p:last-child { margin-top: .75rem; font-size: .95rem; line-height: 1.4; }
|
||||
.dashboard-section { margin-top: 1rem; }
|
||||
.dashboard-shell { padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
|
||||
.manual-report__stepper { grid-template-columns: 3.5rem minmax(0, 1fr) 3.5rem; }
|
||||
}
|
||||
|
||||
@media (max-width: 23.5rem) {
|
||||
.manual-report { padding: 1rem; }
|
||||
.manual-report__quantity { padding: .75rem; }
|
||||
.manual-report__stepper { grid-template-columns: 3rem minmax(0, 1fr) 3rem; gap: .25rem; }
|
||||
.manual-report__stepper button { width: 3rem; min-height: 3rem; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user