536 lines
48 KiB
CSS
536 lines
48 KiB
CSS
/* style: base */
|
|
:root{--blue:#1668dc;--blue-dark:#0f4da8;--blue-soft:#eaf2ff;--ink:#17324d;--muted:#6f8194;--neutral-0:#fff;--neutral-50:#f8fafc;--neutral-100:#f3f6fa;--neutral-200:#edf1f5;--neutral-300:#dfe7ef;--neutral-500:#6f8194;--neutral-900:#17324d;--bg:var(--neutral-100);--surface:var(--neutral-0);--line:var(--neutral-300);--green:#10856f;--green-soft:#e2f6f0;--orange:#b86612;--orange-soft:#fff1dd;--red:#c63d3d;--red-soft:#fde8e8;--shadow-soft:0 2px 10px rgba(16,24,40,.05);--shadow:0 8px 24px rgba(16,24,40,.08);--shadow-modal:0 12px 40px rgba(16,24,40,.18);--focus-ring:rgba(22,104,220,.28);--tap-highlight:rgba(22,104,220,.12);--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--radius:14px}
|
|
*{box-sizing:border-box;-webkit-tap-highlight-color:var(--tap-highlight)}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Noto Sans SC",Arial,sans-serif}body{max-width:480px;margin:0 auto;padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left)}button,input,select{font:inherit;min-height:44px}button{cursor:pointer;border:0}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.hidden{display:none!important}
|
|
.app{min-height:100vh;background:var(--bg)}
|
|
.topbar{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line);padding:12px 18px;box-shadow:var(--shadow-soft)}.topbar-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:10px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--blue);color:white;font-weight:800}.brand-title{font-size:16px;font-weight:800;letter-spacing:.01em}.brand-sub{font-size:11px;color:var(--muted);margin-top:2px}.top-actions{display:flex;align-items:center;gap:8px}.lang-pill{display:flex;gap:2px;padding:3px;background:#f1f5f9;border-radius:9px}.lang-pill button{background:transparent;color:var(--muted);padding:7px 8px;border-radius:7px;font-size:12px}.lang-pill button.active{background:#fff;color:var(--blue);font-weight:700;box-shadow:var(--shadow-soft)}.avatar{width:44px;height:44px;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-weight:800}.back-btn{width:44px;height:44px;flex:0 0 44px;border-radius:9px;background:#f2f6fb;color:var(--ink);font-size:20px;line-height:1}.page-heading{display:flex;align-items:center;gap:10px;min-width:0}.page-heading h1{font-size:21px;margin:0}.page-heading p{font-size:12px;color:var(--muted);margin:4px 0 0}.content{padding:20px;max-width:980px;margin:0 auto}.content.narrow{max-width:640px}
|
|
.login-wrap{min-height:100vh;display:grid;place-items:center;padding:22px}.login-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px 26px;box-shadow:var(--shadow)}.login-card .brand{margin-bottom:26px}.login-card h1{font-size:25px;margin:0 0 8px}.login-card .intro{color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 22px}.field{display:grid;gap:7px;margin-bottom:14px}.field label{font-size:12px;font-weight:700;color:#496176}.field input,.field select{width:100%;height:46px;border:1px solid var(--line);border-radius:10px;padding:0 13px;background:#fff;color:var(--ink);outline:none}.field input:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}.login-error{min-height:18px;color:var(--red);font-size:12px;margin:4px 0 8px}.login-btn{width:100%;height:48px;border-radius:11px;background:var(--blue);color:#fff;font-weight:800}.demo-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.demo-row button{padding:8px 10px;border:1px solid var(--line);background:#fff;border-radius:8px;color:var(--muted);font-size:12px}.demo-tip{color:var(--muted);font-size:11px;line-height:1.5;margin-top:16px}
|
|
.welcome{background:var(--blue);color:#fff;border-radius:16px;padding:20px;display:flex;justify-content:space-between;gap:12px;align-items:flex-start;box-shadow:0 9px 22px rgba(16,24,40,.12)}.welcome-kicker{font-size:12px;opacity:.78}.welcome-name{font-size:24px;font-weight:800;margin-top:4px}.welcome-meta{font-size:12px;opacity:.86;margin-top:8px}.shift{padding:8px 10px;border-radius:8px;background:rgba(255,255,255,.15);font-size:11px;white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.metric{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px 12px;min-width:0}.metric-label{font-size:12px;color:var(--muted);line-height:1.35}.metric-value{font-size:26px;font-weight:800;margin-top:8px;color:var(--ink)}.metric.warn .metric-value{color:var(--orange)}.metric.good .metric-value{color:var(--green)}.metric.blue .metric-value{color:var(--blue)}.section-title{display:flex;justify-content:space-between;align-items:center;margin:24px 0 10px}.section-title h2{font-size:15px;margin:0}.section-title span{font-size:11px;color:var(--muted)}.entry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.entry{position:relative;text-align:left;background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px;min-height:110px;box-shadow:0 3px 10px rgba(16,24,40,.04)}.entry:hover{border-color:#aac7f5}.entry .entry-icon{font-size:22px}.entry h3{font-size:14px;margin:11px 0 4px}.entry p{font-size:11px;color:var(--muted);line-height:1.4;margin:0}.entry .badge{position:absolute;right:10px;top:10px;padding:4px 6px;border-radius:6px;background:var(--orange-soft);color:var(--orange);font-size:10px}.entry.disabled{opacity:.6;background:#f9fbfd}.entry.disabled:after{content:"";position:absolute;inset:0;background:transparent}.task-strip{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}.task-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:12px;margin-bottom:8px}.task-dot{width:9px;height:9px;border-radius:50%;background:var(--orange);flex:0 0 auto}.task-main{flex:1;min-width:0}.task-main strong{font-size:13px}.task-main p{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0 0}.task-row button{background:#f0f5fc;color:var(--blue);border-radius:7px;padding:8px 10px;font-size:11px}
|
|
.toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:18px 0 12px}.toolbar .subtle{font-size:12px;color:var(--muted)}.search-row{display:flex;gap:8px;margin:12px 0}.search-row input{flex:1;min-width:0;height:44px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#fff;outline:none}.search-row button{height:44px;padding:0 14px;border-radius:10px;background:var(--blue);color:#fff;font-weight:700;font-size:12px}.list{display:grid;gap:10px}.list-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px}.list-top{display:flex;justify-content:space-between;gap:10px}.list-title{font-size:14px;font-weight:800}.list-meta{font-size:11px;color:var(--muted);margin-top:5px;line-height:1.45}.status{display:inline-flex;align-items:center;padding:4px 7px;border-radius:6px;font-size:10px;font-weight:700;white-space:nowrap}.status.good{color:var(--green);background:var(--green-soft)}.status.wait{color:var(--orange);background:var(--orange-soft)}.status.bad{color:var(--red);background:var(--red-soft)}.status.blue{color:var(--blue);background:var(--blue-soft)}.list-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:13px 0}.list-grid div{background:#f7f9fc;border-radius:8px;padding:8px}.list-grid span{display:block;color:var(--muted);font-size:10px}.list-grid strong{display:block;font-size:12px;margin-top:3px}.card-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #edf1f5;padding-top:11px}.btn{min-height:44px;border-radius:9px;padding:0 14px;font-size:12px;font-weight:700}.btn.primary{background:var(--blue);color:#fff}.btn.secondary{background:#eef4fb;color:var(--blue)}.btn.ghost{background:#fff;border:1px solid var(--line);color:var(--muted)}.btn.danger{background:var(--red-soft);color:var(--red)}.btn:disabled{opacity:.45;cursor:not-allowed}
|
|
.work-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px}.work-card+.work-card{margin-top:10px}.work-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.work-head h2{font-size:16px;margin:0}.work-head p{font-size:11px;color:var(--muted);margin:5px 0 0;line-height:1.5}.progress{height:8px;background:#edf2f7;border-radius:99px;overflow:hidden;margin:14px 0 8px}.progress span{display:block;height:100%;background:var(--green);border-radius:99px}.progress-line{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.scan-box{display:flex;gap:8px;margin:14px 0}.scan-box input{flex:1;min-width:0;height:48px;border:2px solid #cbd8e6;border-radius:10px;padding:0 13px;outline:none}.scan-box input:focus{border-color:var(--blue)}.scan-box button{width:50px;border-radius:10px;background:var(--blue);color:#fff;font-size:20px}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{font-size:10px;background:#f1f5f8;color:var(--muted);padding:6px 8px;border-radius:7px}.chip.blue{background:var(--blue-soft);color:var(--blue)}.chip.green{background:var(--green-soft);color:var(--green)}.chip.orange{background:var(--orange-soft);color:var(--orange)}.chip.red{background:var(--red-soft);color:var(--red)}.detail-list{display:grid;gap:8px;margin-top:12px}.detail-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #edf1f5;padding-bottom:8px;font-size:12px}.detail-row span{color:var(--muted)}.detail-row strong{text-align:right;word-break:break-word}.scan-result{margin-top:10px;padding:10px 11px;border-radius:9px;background:var(--green-soft);color:var(--green);font-size:12px;line-height:1.45}.scan-result.error{background:var(--red-soft);color:var(--red)}.scan-result.info{background:var(--blue-soft);color:var(--blue)}.table-wrap{overflow:auto;margin-top:12px;border:1px solid var(--line);border-radius:10px}.table{width:100%;border-collapse:collapse;min-width:680px}.table th,.table td{font-size:11px;text-align:left;padding:10px;border-bottom:1px solid #edf1f5;white-space:nowrap}.table th{color:var(--muted);font-weight:700;background:#f8fafc}.table tr:last-child td{border-bottom:0}.empty{text-align:center;padding:34px 14px;color:var(--muted);font-size:12px}.bottom-bar{position:sticky;bottom:0;background:rgba(243,246,250,.96);padding:12px 0 2px;margin-top:16px}.bottom-bar .btn{width:100%;height:48px}.modal-backdrop{position:fixed;inset:0;background:rgba(16,24,40,.42);display:grid;place-items:end center;z-index:30;padding:14px}.modal{background:#fff;width:min(520px,100%);border-radius:16px;padding:20px;box-shadow:var(--shadow-modal);max-height:88vh;overflow:auto}.modal h2{font-size:17px;margin:0 0 13px}.modal p{font-size:12px;color:var(--muted);line-height:1.5}.modal-actions{display:flex;gap:8px;margin-top:18px}.modal-actions .btn{flex:1}.toast{position:fixed;left:50%;bottom:24px;z-index:50;transform:translateX(-50%);background:#17324d;color:#fff;padding:11px 14px;border-radius:9px;font-size:12px;box-shadow:var(--shadow);max-width:min(92vw,420px);text-align:center}.toast.good{background:var(--green)}.toast.bad{background:var(--red)}.toast.info{background:var(--blue-dark)}
|
|
.profile-grid{display:grid;gap:10px}.profile-line{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.profile-line span{color:var(--muted)}.profile-line strong{text-align:right}.lang-select{display:flex;gap:6px}.lang-select button{padding:7px 9px;border-radius:7px;background:#f0f4f8;color:var(--muted);font-size:11px}.lang-select button.active{background:var(--blue-soft);color:var(--blue);font-weight:700}
|
|
@media(max-width:640px){body{max-width:100%}.content{padding:14px}.topbar{padding:10px 14px}.brand-sub{display:none}.welcome{padding:17px}.welcome-name{font-size:21px}.metrics{gap:7px}.metric{padding:11px 9px}.metric-label{font-size:10px}.metric-value{font-size:23px}.entry-grid{grid-template-columns:repeat(2,1fr)}.entry{min-height:102px;padding:13px}.entry h3{font-size:13px;margin-top:9px}.list-grid{grid-template-columns:repeat(2,1fr)}.toolbar{align-items:flex-start;flex-direction:column}.toolbar .btn{width:100%}.page-heading h1{font-size:19px}.table-wrap{margin-left:-2px;margin-right:-2px}}
|
|
@media(min-width:641px){.content{padding-top:26px}.login-wrap{padding:40px}.modal-backdrop{align-items:center}}
|
|
.password-wrap{position:relative}.password-wrap input{padding-right:68px}.password-wrap button{position:absolute;right:6px;top:6px;height:34px;padding:0 9px;border-radius:7px;background:#eef4fb;color:var(--blue);font-size:11px;font-weight:700}
|
|
.photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px}.photo-step{min-height:126px;border:1px solid var(--line);border-radius:11px;background:#f8fafc;padding:12px;display:flex;flex-direction:column;justify-content:space-between}.photo-step.done{background:var(--green-soft);border-color:#a9dfd1}.photo-preview{height:52px;border-radius:8px;background:#e8eef5;display:grid;place-items:center;color:var(--muted);font-size:20px;overflow:hidden}.photo-preview img{width:100%;height:100%;object-fit:cover}.photo-step strong{font-size:12px;margin:8px 0}.photo-step label{position:relative;display:grid;place-items:center;min-height:44px;text-align:center;padding:8px;border-radius:7px;background:var(--blue);color:#fff;font-size:11px;font-weight:700;cursor:pointer}.photo-step label:focus-within{outline:3px solid var(--focus-ring);outline-offset:2px}.photo-step input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}@media(max-width:360px){.photo-grid{grid-template-columns:1fr}}
|
|
|
|
/* style: ios-work-surface */
|
|
:root{
|
|
--blue:#0a66d8;
|
|
--blue-dark:#084faa;
|
|
--blue-soft:#eaf3ff;
|
|
--ink:#475467;
|
|
--muted:#65758b;
|
|
--bg:#f2f4f7;
|
|
--surface:#fff;
|
|
--line:#e4e7ec;
|
|
--green:#087a62;
|
|
--green-soft:#e8f7f2;
|
|
--orange:#a75b0b;
|
|
--orange-soft:#fff3e3;
|
|
--red:#b42318;
|
|
--red-soft:#fff0ee;
|
|
--shadow-soft:0 2px 8px rgba(16,24,40,.06);
|
|
--shadow:0 8px 24px rgba(16,24,40,.08);
|
|
--shadow-modal:0 20px 48px rgba(16,24,40,.18);
|
|
--radius:14px;
|
|
}
|
|
html{background:#e7ebf0}
|
|
body{width:100%;max-width:520px;font-size:15px;line-height:1.45;overflow-x:hidden}
|
|
.app{min-height:calc(100dvh - var(--safe-top) - var(--safe-bottom));background:var(--bg)}
|
|
button,input,select{font-size:16px}
|
|
button{transition:background-color .16s ease,transform .16s ease,opacity .16s ease}
|
|
button:active:not(:disabled){transform:scale(.98)}
|
|
button:disabled{opacity:.42}
|
|
|
|
.topbar{top:0;min-height:60px;padding:8px 16px;background:rgba(255,255,255,.96);border-color:var(--line);box-shadow:none;backdrop-filter:saturate(160%) blur(16px)}
|
|
.topbar-row{min-height:44px;gap:10px}
|
|
.page-heading{flex:1;gap:8px;overflow:hidden}
|
|
.page-heading>div{min-width:0}
|
|
.page-heading h1{font-size:19px;line-height:1.2;font-weight:750;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
|
|
.page-heading p{font-size:12px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
|
|
.back-btn{display:grid;place-items:center;background:transparent;color:var(--blue);font-size:31px;font-weight:400}
|
|
.top-actions{flex:0 0 auto;gap:6px}
|
|
.avatar{border:1px solid #d8e8ff;background:var(--blue-soft);font-size:14px}
|
|
.lang-pill{gap:0;padding:2px;border-radius:10px;background:#eef1f5}
|
|
.lang-pill button{min-width:44px;padding:0 7px;border-radius:8px;color:#596579;font-size:12px}
|
|
.lang-pill button.active{color:var(--blue);background:var(--surface);box-shadow:0 1px 3px rgba(16,24,40,.09)}
|
|
.content{width:100%;max-width:680px;padding:18px 16px calc(24px + var(--safe-bottom))}
|
|
|
|
.login-wrap{min-height:calc(100dvh - var(--safe-top) - var(--safe-bottom));padding:24px 18px}
|
|
.login-card{width:min(420px,100%);padding:26px 22px;border-color:var(--line);border-radius:16px;box-shadow:var(--shadow)}
|
|
.login-card .brand{margin-bottom:24px}
|
|
.brand-mark{width:44px;height:44px;border-radius:12px}
|
|
.brand-title{font-size:17px;letter-spacing:0}
|
|
.brand-sub{font-size:12px}
|
|
.login-card h1{font-size:25px;line-height:1.22;letter-spacing:0}
|
|
.login-card .intro{font-size:14px;line-height:1.55;margin-bottom:20px}
|
|
.field{gap:7px;margin-bottom:15px}
|
|
.field label{font-size:13px;color:#475467}
|
|
.field input,.field select{height:50px;border-color:#d0d5dd;border-radius:11px;padding-inline:14px;font-size:16px}
|
|
.field input:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px var(--focus-ring)}
|
|
.login-btn{height:50px;border-radius:11px;font-size:16px}
|
|
.demo-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
|
|
.demo-row button{min-width:0;padding:8px;border-color:var(--line);background:#f8fafc;color:#475467;font-size:12px;white-space:normal}
|
|
.demo-tip{font-size:12px}
|
|
|
|
.welcome{padding:18px;border-radius:16px;background:var(--blue);box-shadow:0 7px 18px rgba(16,24,40,.12)}
|
|
.welcome-kicker{font-size:13px}
|
|
.welcome-name{font-size:24px;letter-spacing:0}
|
|
.welcome-meta{font-size:12px;line-height:1.4}
|
|
.shift{min-height:32px;padding:7px 9px;border:1px solid rgba(255,255,255,.22);border-radius:9px;background:rgba(255,255,255,.12);font-size:11px;white-space:normal;text-align:center}
|
|
.metrics{gap:8px;margin:12px 0 20px}
|
|
.metric{min-height:88px;padding:12px 10px;border-color:var(--line);border-radius:12px;box-shadow:none}
|
|
.metric-label{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
|
|
.metric-value{font-size:25px;line-height:1.05;margin-top:8px}
|
|
.section-title{margin:23px 2px 10px}
|
|
.section-title h2{font-size:17px;line-height:1.25}
|
|
.section-title span{font-size:12px}
|
|
.entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
|
|
.entry{min-width:0;min-height:124px;padding:14px;border-color:var(--line);border-radius:14px;box-shadow:none}
|
|
.entry:hover{border-color:var(--line)}
|
|
.entry:active{background:#f8fafc}
|
|
.entry .entry-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--blue-soft);color:var(--blue);font-size:19px;font-weight:700}
|
|
.entry h3{font-size:15px;line-height:1.25;margin:12px 0 5px;overflow-wrap:anywhere}
|
|
.entry p{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
|
|
.entry-grid .entry p{display:none}
|
|
.inbound-entry-grid{max-width:none}
|
|
.outbound-entry-grid{max-width:none}
|
|
.internal-entry-grid{max-width:none}
|
|
.section-title h2{font-size:15px;line-height:1.2;white-space:nowrap}
|
|
.section-title{margin:16px 2px 8px}
|
|
.page-heading h1{font-size:17px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
.page-heading p{display:none}
|
|
.entry-grid .entry{text-align:center;border-radius:10px}
|
|
.entry-grid .entry .entry-icon{margin-inline:auto}
|
|
.entry-grid .entry h3{font-size:12px;line-height:1.2;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
.entry .badge{top:12px;right:12px;min-width:24px;text-align:center;border-radius:99px;font-size:11px}
|
|
.entry.merge-entry .entry-icon{background:var(--blue-soft);color:var(--blue)}
|
|
.task-strip{margin-top:22px;padding-top:18px;border-color:var(--line)}
|
|
.task-row{min-width:0;padding:12px 13px;border-color:var(--line);border-radius:12px;margin-bottom:8px;box-shadow:none}
|
|
.task-main strong{font-size:14px;overflow-wrap:anywhere}
|
|
.task-main p{font-size:12px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35}
|
|
.task-row button{flex:0 0 auto;min-width:44px;min-height:44px;padding:0 12px;border-radius:10px;background:var(--blue-soft);font-size:12px;font-weight:700}
|
|
|
|
.toolbar{margin:4px 0 12px;min-height:32px}
|
|
.toolbar .subtle{font-size:13px}
|
|
.list{gap:10px}
|
|
.list-card,.work-card{border-color:var(--line);border-radius:14px;background:var(--surface);box-shadow:none}
|
|
.list-card{padding:15px}
|
|
.list-top{align-items:flex-start}
|
|
.list-title{font-size:15px;line-height:1.3;overflow-wrap:anywhere}
|
|
.list-meta{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
|
|
.status{max-width:100%;padding:5px 8px;border-radius:99px;font-size:11px;line-height:1.25;white-space:normal;text-align:center;overflow-wrap:anywhere}
|
|
.list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:13px 0}
|
|
.list-grid div{min-width:0;padding:9px;border-radius:9px;background:#f7f8fa}
|
|
.list-grid span{font-size:11px;line-height:1.25}
|
|
.list-grid strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere}
|
|
.card-actions{gap:8px;padding-top:12px;border-color:var(--line);flex-wrap:wrap}
|
|
.btn{min-height:44px;border-radius:10px;padding:0 14px;font-size:13px}
|
|
.btn.primary{background:var(--blue)}
|
|
.btn.secondary{background:var(--blue-soft)}
|
|
.btn.ghost{border-color:var(--line);background:#fff;color:#475467}
|
|
|
|
.work-card{padding:16px}
|
|
.work-card+.work-card{margin-top:12px}
|
|
.work-head h2{font-size:17px;line-height:1.3}
|
|
.work-head p{font-size:12px;line-height:1.45;overflow-wrap:anywhere}
|
|
.detail-list{gap:0;margin-top:13px}
|
|
.detail-row{align-items:flex-start;min-height:42px;padding:10px 0;border-color:var(--line);font-size:13px;line-height:1.4}
|
|
.detail-row:last-child{border-bottom:0}
|
|
.detail-row span{flex:0 0 38%}
|
|
.detail-row strong{min-width:0;overflow-wrap:anywhere}
|
|
.scan-box{gap:8px;margin:16px 0 12px}
|
|
.scan-box input{height:50px;border:1px solid #b9c4d1;border-radius:11px;font-size:16px}
|
|
.scan-box button{width:50px;height:50px;border-radius:11px;background:var(--blue)}
|
|
.scan-result{padding:12px;border-radius:10px;font-size:13px}
|
|
.progress{height:7px;margin:16px 0 8px;background:#e9edf2}
|
|
.progress span{background:var(--blue)}
|
|
.progress-line{font-size:12px}
|
|
.chip{min-height:32px;font-size:11px}
|
|
.search-row{gap:8px;margin:8px 0 14px}
|
|
.search-row input,.search-row button{height:48px}
|
|
|
|
.table-wrap{margin-top:13px;border-color:var(--line);border-radius:11px;background:#fff;-webkit-overflow-scrolling:touch}
|
|
.table{min-width:620px}
|
|
.table th,.table td{padding:12px 10px;border-color:var(--line);font-size:12px}
|
|
.table th{background:#f7f8fa}
|
|
.empty{padding:36px 16px;font-size:13px}
|
|
.express-order-list{display:grid;gap:10px;margin-top:13px}
|
|
.express-order-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:12px}
|
|
.express-order-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}
|
|
.express-order-row+.express-order-row{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr) auto 72px;align-items:end;margin-top:11px;padding-top:11px;border-top:1px solid var(--line)}
|
|
.express-order-field{min-width:0}
|
|
.express-order-field>span{display:block;color:var(--muted);font-size:10px;line-height:1.25;margin-bottom:3px}
|
|
.express-order-field>strong{display:block;min-width:0;font-size:12px;line-height:1.35;overflow-wrap:anywhere;word-break:break-word}
|
|
.express-order-action{min-width:72px}
|
|
.express-order-action .btn{width:100%;padding-inline:10px}
|
|
.express-scan-card .scan-box{margin-bottom:0}
|
|
.express-quantity-field{margin-top:14px}
|
|
.express-quantity-field input{width:100%;height:50px;border:1px solid #b9c4d1;border-radius:11px;padding:0 14px;background:#fff;color:var(--text);font:inherit;font-size:16px}
|
|
.express-photo-row{display:flex;align-items:flex-start;gap:12px;margin-top:14px}
|
|
.express-waybill-preview{width:92px;height:92px;border-radius:11px;background:#e9edf2;display:grid;place-items:center;overflow:hidden;color:var(--muted)}
|
|
.express-waybill-preview img{width:100%;height:100%;object-fit:cover}
|
|
.express-waybill-preview svg{width:26px;height:26px;stroke:currentColor;fill:none}
|
|
.express-photo-add{position:relative;display:grid;place-items:center;width:92px;height:92px;border:1px dashed #98a2b3;border-radius:11px;background:#fff;color:var(--blue);font-size:34px;line-height:1;cursor:pointer}
|
|
.express-photo-add input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
|
|
.express-photo-add:focus-within{outline:3px solid var(--focus-ring);outline-offset:2px}
|
|
.app[data-page="express-signin-detail"]{display:flex;min-height:100dvh;flex-direction:column}
|
|
.app[data-page="express-signin-detail"] .content{display:flex;flex:1;flex-direction:column}
|
|
.app[data-page="express-signin-detail"] .bottom-bar{margin-top:auto}
|
|
@media(max-width:639px){
|
|
.express-order-row{gap:8px}
|
|
.express-order-row+.express-order-row{grid-template-columns:minmax(0,.7fr) minmax(0,1.2fr) auto 72px;gap:7px}
|
|
.express-order-row+.express-order-row .express-order-field>strong{font-size:11px}
|
|
}
|
|
.photo-grid{grid-template-columns:1fr;gap:10px}
|
|
.photo-step{min-height:150px;padding:13px;border-color:var(--line);border-radius:12px;background:#f8fafc}
|
|
.photo-preview{height:70px;border-radius:9px;background:#e9edf2}
|
|
.photo-step strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere}
|
|
.photo-step label{border-radius:10px;font-size:13px}
|
|
.bottom-bar{z-index:12;margin:18px -16px calc(-24px - var(--safe-bottom));padding:12px 16px calc(12px + var(--safe-bottom));background:rgba(242,244,247,.96);border-top:1px solid var(--line);backdrop-filter:saturate(150%) blur(14px)}
|
|
.bottom-bar>div{align-items:stretch;flex-wrap:wrap}
|
|
.bottom-bar .btn{height:50px;min-width:120px;font-size:14px}
|
|
.modal-backdrop{padding:max(12px,var(--safe-top)) max(12px,var(--safe-right)) calc(12px + var(--safe-bottom)) max(12px,var(--safe-left));background:rgba(16,24,40,.46)}
|
|
.modal{padding:20px;border-radius:16px;box-shadow:var(--shadow-modal)}
|
|
.modal h2{font-size:18px}
|
|
.modal p{font-size:14px}
|
|
.toast{bottom:calc(20px + var(--safe-bottom));border-radius:11px;box-shadow:var(--shadow)}
|
|
.password-wrap button,.lang-select button{min-width:44px;min-height:44px}
|
|
|
|
@media (max-width:359px){
|
|
.topbar{padding-inline:12px}
|
|
.top-actions{gap:4px}
|
|
.topbar-row:has(.back-btn) .avatar{display:none}
|
|
.lang-pill button{min-width:44px;padding-inline:5px}
|
|
.page-heading h1{font-size:17px}
|
|
.content{padding-inline:12px}
|
|
.welcome{padding:15px}
|
|
.welcome-name{font-size:21px}
|
|
.metrics{gap:6px}
|
|
.metric{padding:10px 7px}
|
|
.metric-label{font-size:11px}
|
|
.metric-value{font-size:22px}
|
|
.entry-grid{max-width:288px;margin-inline:auto;gap:8px}
|
|
.inbound-entry-grid,.outbound-entry-grid{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));margin-inline:0}
|
|
.inbound-entry-grid .entry,.outbound-entry-grid .entry{min-height:92px;padding:10px 6px}
|
|
.internal-entry-grid{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));margin-inline:0}
|
|
.internal-entry-grid .entry{min-height:92px;padding:10px 6px}
|
|
.entry{min-height:92px;padding:11px}
|
|
.entry h3{font-size:14px}
|
|
.bottom-bar{margin-inline:-12px;padding-inline:12px}
|
|
}
|
|
@media (min-width:360px) and (max-width:639px){
|
|
.entry-grid{max-width:348px;margin-inline:auto;gap:8px}
|
|
.inbound-entry-grid{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));margin-inline:0}
|
|
.inbound-entry-grid .entry{min-height:94px;padding:11px 8px}
|
|
.outbound-entry-grid{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));margin-inline:0}
|
|
.outbound-entry-grid .entry{min-height:94px;padding:11px 8px}
|
|
.internal-entry-grid{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr));margin-inline:0}
|
|
.internal-entry-grid .entry{min-height:94px;padding:11px 8px}
|
|
.entry{min-height:94px;padding:12px}
|
|
.entry h3{margin-top:10px}
|
|
}
|
|
@media (min-width:390px){
|
|
.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
|
|
}
|
|
@media (min-width:640px){
|
|
body{max-width:700px}
|
|
.content{padding:24px 22px calc(28px + var(--safe-bottom))}
|
|
.topbar{padding-inline:22px}
|
|
.entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
|
|
.bottom-bar{margin-inline:-22px;padding-inline:22px}
|
|
}
|
|
@media (min-width:768px){
|
|
body{max-width:760px}
|
|
.content{max-width:720px}
|
|
.list-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
|
|
}
|
|
@media (hover:hover) and (pointer:fine){
|
|
.entry:hover,.list-card:hover{border-color:#cdd5df;background:#fcfcfd}
|
|
.btn.primary:hover,.login-btn:hover,.scan-box button:hover{background:var(--blue-dark)}
|
|
}
|
|
@media (prefers-reduced-motion:reduce){
|
|
*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
|
|
}
|
|
|
|
/* style: ios-icon-system */
|
|
.entry .entry-icon{position:relative;isolation:isolate;width:40px;height:40px;border-radius:10px;font-size:0;line-height:0;box-shadow:0 2px 5px rgba(16,24,40,.07),inset 0 0 0 1px rgba(16,24,40,.025);transition:transform .16s cubic-bezier(.2,.8,.2,1),box-shadow .16s ease}
|
|
.entry .entry-icon::after{content:"";position:absolute;z-index:-1;inset:1px;border-radius:9px;box-shadow:inset 0 1px 0 rgba(255,255,255,.82);pointer-events:none}
|
|
.entry .entry-icon svg{width:22px;height:22px;display:block;stroke:currentColor;stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round}
|
|
.entry .entry-icon .icon-fill{fill:currentColor;stroke:none;opacity:.11}
|
|
.entry:active .entry-icon{transform:scale(.94);box-shadow:0 1px 2px rgba(16,24,40,.08),inset 0 0 0 1px rgba(16,24,40,.04)}
|
|
.entry.receive-entry .entry-icon{background:var(--orange-soft);color:var(--orange)}
|
|
.entry.pallet-entry .entry-icon{background:var(--blue-soft);color:var(--blue)}
|
|
.entry.pick-entry .entry-icon{background:var(--orange-soft);color:var(--orange)}
|
|
.entry.review-entry .entry-icon{background:var(--green-soft);color:var(--green)}
|
|
.entry.handover-entry .entry-icon{background:var(--green-soft);color:var(--green)}
|
|
.entry.inventory-entry .entry-icon{background:#e8f5f3;color:#26766f}
|
|
.entry.relabel-entry .entry-icon{background:#eef1ff;color:#4f5fc7}
|
|
.entry.exception-entry .entry-icon{background:var(--red-soft);color:var(--red)}
|
|
.entry.more-entry .entry-icon{background:#eef1f5;color:#475467}
|
|
.outbound-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
|
|
.back-btn svg{width:21px;height:21px;display:block;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
|
|
.scan-box button{display:grid;place-items:center}
|
|
.scan-box button svg{width:22px;height:22px;display:block;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
|
|
.photo-preview svg{width:24px;height:24px;display:block;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
|
|
.photo-step.done .photo-preview{color:var(--green);background:#d9f2eb}
|
|
.photo-step.done .photo-preview svg{stroke-width:2}
|
|
.photo-capture{width:100%;height:50px;background:var(--blue)!important;color:#fff!important;border:0!important;border-radius:10px}
|
|
.photo-capture svg{width:20px;height:20px;display:block;flex:0 0 20px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
|
|
.photo-capture span{display:block;white-space:nowrap;letter-spacing:0}
|
|
.photo-add-tile:active{background:#f7f8fa!important}
|
|
.photo-add-tile:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
|
|
|
|
/* style: ios-final-report */
|
|
:root{
|
|
--ios-blue:#155eef;
|
|
--ios-blue-pressed:#004eeb;
|
|
--ios-blue-soft:#edf4ff;
|
|
--ios-bg:#f5f5f7;
|
|
--ios-surface:#fff;
|
|
--ios-surface-muted:#f9fafb;
|
|
--ios-ink:#1d1d1f;
|
|
--ios-secondary:#62626a;
|
|
--ios-tertiary:#85858d;
|
|
--ios-border:#e5e5ea;
|
|
--ios-green:#067a57;
|
|
--ios-green-soft:#e9f7f1;
|
|
--ios-orange:#a84f00;
|
|
--ios-orange-soft:#fff3e5;
|
|
--ios-red:#b42318;
|
|
--ios-red-soft:#fff0ee;
|
|
--ios-indigo:#4f5fc7;
|
|
--ios-indigo-soft:#eef0ff;
|
|
--ios-focus:rgba(21,94,239,.28);
|
|
--blue:var(--ios-blue);
|
|
--blue-dark:var(--ios-blue-pressed);
|
|
--blue-soft:var(--ios-blue-soft);
|
|
--ink:var(--ios-ink);
|
|
--muted:var(--ios-secondary);
|
|
--bg:var(--ios-bg);
|
|
--surface:var(--ios-surface);
|
|
--line:var(--ios-border);
|
|
--green:var(--ios-green);
|
|
--green-soft:var(--ios-green-soft);
|
|
--orange:var(--ios-orange);
|
|
--orange-soft:var(--ios-orange-soft);
|
|
--red:var(--ios-red);
|
|
--red-soft:var(--ios-red-soft);
|
|
--focus-ring:var(--ios-focus);
|
|
--shadow-soft:0 2px 8px rgba(16,24,40,.05);
|
|
--shadow:0 10px 30px rgba(16,24,40,.1);
|
|
--shadow-modal:0 22px 56px rgba(16,24,40,.2);
|
|
}
|
|
html{background:#eceef1}
|
|
body{color:var(--ios-ink);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI","PingFang SC","Noto Sans SC",Arial,sans-serif;font-feature-settings:"tnum" 1,"kern" 1;text-rendering:optimizeLegibility}
|
|
.app{min-height:100dvh;background:var(--ios-bg)}
|
|
button,input,select{min-height:44px;color:inherit;letter-spacing:0}
|
|
button{touch-action:manipulation}
|
|
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--ios-focus);outline-offset:2px}
|
|
button:disabled{cursor:not-allowed;opacity:.42;transform:none!important}
|
|
|
|
.topbar{min-height:62px;padding:8px 16px;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(60,60,67,.15);backdrop-filter:saturate(180%) blur(18px);-webkit-backdrop-filter:saturate(180%) blur(18px)}
|
|
.topbar-row{min-height:45px}
|
|
.page-heading{gap:6px}
|
|
.page-heading h1{color:var(--ios-ink);font-size:17px;font-weight:700;line-height:1.2}
|
|
.page-heading p{display:none}
|
|
.back-btn{border-radius:10px;color:var(--ios-blue);background:transparent}
|
|
.back-btn:active{background:var(--ios-blue-soft)}
|
|
.lang-pill{padding:2px;border-radius:10px;background:#edeef1}
|
|
.lang-pill button{min-width:44px;min-height:44px;padding:0 7px;border-radius:8px;color:var(--ios-secondary);font-size:12px}
|
|
.lang-pill button.active{color:var(--ios-blue);background:#fff;box-shadow:0 1px 4px rgba(16,24,40,.1)}
|
|
.avatar{border:1px solid #d7e5ff;background:var(--ios-blue-soft);color:var(--ios-blue);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
|
|
.content{padding:18px 16px calc(28px + env(safe-area-inset-bottom,0px))}
|
|
|
|
.login-wrap{background:var(--ios-surface);padding:20px 18px calc(20px + env(safe-area-inset-bottom,0px))}
|
|
.login-card{border:0;border-radius:0;background:transparent;box-shadow:none}
|
|
.brand{gap:12px}.brand-mark{background:var(--ios-blue);box-shadow:0 4px 12px rgba(16,24,40,.14)}
|
|
.brand-title{color:var(--ios-ink);font-weight:760}.brand-sub{color:var(--ios-secondary)}
|
|
.login-card h1{color:var(--ios-ink);font-size:26px;font-weight:760}
|
|
.login-card .intro{color:var(--ios-secondary)}
|
|
.field label{color:#414149;font-weight:650}
|
|
.field input,.field select,.search-row input,.scan-box input{border:1px solid #c7c7cc;background:#fff;color:var(--ios-ink);box-shadow:inset 0 1px 0 rgba(0,0,0,.015)}
|
|
.field input::placeholder,.search-row input::placeholder,.scan-box input::placeholder{color:#777780;opacity:1}
|
|
.field input:focus,.field select:focus,.search-row input:focus,.scan-box input:focus{border-color:var(--ios-blue);box-shadow:0 0 0 3px var(--ios-focus)}
|
|
.login-error{color:var(--ios-red);font-size:13px}
|
|
.login-btn,.btn.primary,.search-row button,.scan-box button{background:var(--ios-blue);color:#fff;box-shadow:0 2px 5px rgba(16,24,40,.12)}
|
|
.login-btn:active,.btn.primary:active,.search-row button:active,.scan-box button:active{background:var(--ios-blue-pressed)}
|
|
.demo-row button{border:1px solid var(--ios-border);background:var(--ios-surface-muted);color:#414149}
|
|
.demo-row button:active{background:#eeeef0}
|
|
|
|
.welcome{border-radius:16px;background:var(--ios-blue);box-shadow:0 10px 24px rgba(16,24,40,.13)}
|
|
.welcome-kicker{color:rgba(255,255,255,.8)}
|
|
.welcome-name{font-weight:780}.welcome-meta{color:rgba(255,255,255,.86)}
|
|
.shift{border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.12);color:#fff}
|
|
.metrics{margin:12px 0 18px}
|
|
.metric{border:1px solid var(--ios-border);background:var(--ios-surface);box-shadow:0 1px 2px rgba(16,24,40,.025)}
|
|
.metric-label{color:var(--ios-secondary)}
|
|
.metric-value{font-weight:760}.metric.warn .metric-value{color:var(--ios-orange)}.metric.good .metric-value{color:var(--ios-green)}.metric.blue .metric-value{color:var(--ios-blue)}
|
|
.section-title{margin:18px 2px 8px}.section-title h2{color:#3a3a40;font-size:15px;font-weight:730}
|
|
.entry-grid{gap:8px}
|
|
.entry{border:1px solid var(--ios-border);border-radius:10px;background:var(--ios-surface);box-shadow:0 1px 2px rgba(16,24,40,.025);transition:background-color .16s ease,border-color .16s ease,transform .16s cubic-bezier(.2,.8,.2,1)}
|
|
.entry:active{border-color:#d2d2d7;background:#fafafa;transform:scale(.975)}
|
|
.entry-grid .entry h3{color:#5b5b63;font-size:12px;font-weight:680}
|
|
.entry .entry-icon{box-shadow:0 3px 8px rgba(16,24,40,.07),inset 0 0 0 1px rgba(16,24,40,.025)}
|
|
.entry.relabel-entry .entry-icon{background:var(--ios-indigo-soft);color:var(--ios-indigo)}
|
|
.app[data-page="workbench"] .entry .entry-icon{background:var(--ios-blue-soft);color:var(--ios-blue)}
|
|
|
|
.toolbar{margin:2px 0 12px}.toolbar .subtle{color:var(--ios-secondary);font-size:13px}
|
|
.list{gap:10px}
|
|
.list-card,.work-card{border:1px solid var(--ios-border);border-radius:12px;background:var(--ios-surface);box-shadow:0 1px 2px rgba(16,24,40,.02)}
|
|
.list-card{padding:15px}.work-card{padding:16px}
|
|
.list-title,.work-head h2{color:var(--ios-ink);font-weight:720}
|
|
.list-meta,.work-head p{color:var(--ios-secondary)}
|
|
.list-grid div{background:var(--ios-surface-muted)}
|
|
.list-grid span{color:var(--ios-tertiary)}
|
|
.list-grid strong{color:#34343a;font-weight:680}
|
|
.status{border-radius:6px;font-weight:680}
|
|
.status.good{color:var(--ios-green);background:var(--ios-green-soft)}
|
|
.status.wait{color:var(--ios-orange);background:var(--ios-orange-soft)}
|
|
.status.bad{color:var(--ios-red);background:var(--ios-red-soft)}
|
|
.status.blue{color:var(--ios-blue);background:var(--ios-blue-soft)}
|
|
.card-actions{border-color:var(--ios-border)}
|
|
.btn{border-radius:10px;font-weight:680}
|
|
.btn.secondary{background:var(--ios-blue-soft);color:var(--ios-blue)}
|
|
.btn.ghost{border:1px solid var(--ios-border);background:#fff;color:#4f4f57}
|
|
.btn.danger{background:var(--ios-red-soft);color:var(--ios-red)}
|
|
.btn.secondary:active,.btn.ghost:active{background:#eeeef1}
|
|
|
|
.detail-row{border-color:var(--ios-border)}
|
|
.detail-row span{color:var(--ios-secondary)}
|
|
.detail-row strong{color:#303036;font-weight:660}
|
|
.progress{height:7px;background:#e8e8ed}.progress span{background:var(--ios-blue)}
|
|
.progress-line{color:var(--ios-secondary)}.progress-line strong{color:#45454d}
|
|
.scan-box button{border-radius:11px}
|
|
.scan-result{border:1px solid transparent}
|
|
.scan-result.info{border-color:#d7e5ff;background:var(--ios-blue-soft);color:#174ea6}
|
|
.scan-result.good{border-color:#ccebdd;background:var(--ios-green-soft);color:var(--ios-green)}
|
|
.scan-result.error{border-color:#f2cbc7;background:var(--ios-red-soft);color:var(--ios-red)}
|
|
.chip{border-radius:6px;background:#f0f0f3;color:var(--ios-secondary)}
|
|
|
|
.photo-grid{gap:10px}.photo-step{border-color:var(--ios-border);border-radius:12px;background:var(--ios-surface-muted)}
|
|
.photo-step.done{border-color:#ccebdd;background:var(--ios-green-soft)}
|
|
.photo-preview{background:#eceef1}.photo-step label{background:var(--ios-blue);border-radius:10px}
|
|
.photo-add-tile{border-color:#c7c7cc!important;border-radius:10px!important;color:#7a7a83!important}
|
|
.bottom-bar{border-top:1px solid rgba(60,60,67,.15);background:rgba(245,245,247,.94);padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));backdrop-filter:saturate(180%) blur(18px);-webkit-backdrop-filter:saturate(180%) blur(18px)}
|
|
|
|
.modal-backdrop{background:rgba(0,0,0,.38)}
|
|
.modal{border-radius:16px 16px 12px 12px;background:#fff;box-shadow:var(--shadow-modal)}
|
|
.modal h2{color:var(--ios-ink);font-weight:740}.modal p{color:var(--ios-secondary)}
|
|
.toast{width:max-content;max-width:min(88vw,390px);border-radius:10px;background:#2c2c2e;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.2)}
|
|
.toast.good{background:#176b52}.toast.bad{background:#9f2d24}.toast.info{background:#2c2c2e}
|
|
.empty{color:var(--ios-secondary)}
|
|
|
|
.inventory-results{display:grid;gap:10px}
|
|
.inventory-card{border:1px solid var(--ios-border);border-radius:12px;background:#fff;padding:15px;box-shadow:0 1px 2px rgba(16,24,40,.02)}
|
|
.inventory-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--ios-border)}
|
|
.inventory-card-title{min-width:0;color:var(--ios-ink);font-size:15px;font-weight:720;line-height:1.35;overflow-wrap:anywhere}
|
|
.inventory-card-customer{margin-top:4px;color:var(--ios-secondary);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
|
|
.inventory-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(88px,.55fr);gap:8px;margin-top:12px}
|
|
.inventory-fact{min-width:0;padding:9px 10px;border-radius:9px;background:var(--ios-surface-muted)}
|
|
.inventory-fact span{display:block;color:var(--ios-tertiary);font-size:11px;line-height:1.3}
|
|
.inventory-fact strong{display:block;margin-top:4px;color:#34343a;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
|
|
.inventory-fact.qty strong{font-size:18px;color:var(--ios-blue)}
|
|
.profile-line{border-color:var(--ios-border)}.profile-line span{color:var(--ios-secondary)}
|
|
.lang-select{flex-wrap:wrap}.lang-select button{border:1px solid transparent;background:#f0f0f3;color:#4f4f57}.lang-select button.active{border-color:#d7e5ff;background:var(--ios-blue-soft);color:var(--ios-blue)}
|
|
|
|
@media(max-width:359px){
|
|
.topbar{padding-inline:12px}.content{padding-inline:12px}
|
|
.topbar-row{gap:4px}.page-heading{gap:2px}.page-heading h1{font-size:16px}
|
|
.topbar-row:has(.back-btn) .avatar{display:none}
|
|
.lang-pill button{min-width:42px;padding-inline:4px}
|
|
.welcome{padding:15px}.shift{max-width:88px}
|
|
.metric{min-height:84px;padding:10px 7px}.metric-label{font-size:11px}.metric-value{font-size:23px}
|
|
.inbound-entry-grid .entry,.outbound-entry-grid .entry,.internal-entry-grid .entry{padding:9px 5px}
|
|
.entry .entry-icon{width:38px;height:38px}.entry-grid .entry h3{font-size:11px}
|
|
.list-card,.work-card{padding:14px}.card-actions .btn{flex:1 1 auto}
|
|
.inventory-facts{grid-template-columns:1fr 82px}
|
|
.bottom-bar{margin-inline:-12px;padding-inline:12px}
|
|
}
|
|
@media(max-width:480px){
|
|
.topbar-row:has(.back-btn) .avatar{display:none}
|
|
}
|
|
@media(min-width:390px){
|
|
.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
|
|
}
|
|
@media(min-width:640px){
|
|
body{max-width:720px;box-shadow:0 0 0 1px rgba(16,24,40,.06),0 18px 60px rgba(16,24,40,.12)}
|
|
.login-card{padding:28px;border:1px solid var(--ios-border);border-radius:16px;background:#fff;box-shadow:var(--shadow)}
|
|
.modal-backdrop{place-items:center}.modal{max-width:440px;border-radius:16px}
|
|
.inventory-results{grid-template-columns:repeat(2,minmax(0,1fr))}
|
|
}
|
|
@media(hover:hover) and (pointer:fine){
|
|
.entry:hover,.list-card:hover,.inventory-card:hover{border-color:#d1d1d6;background:#fcfcfd}
|
|
.btn.primary:hover,.login-btn:hover,.search-row button:hover,.scan-box button:hover{background:var(--ios-blue-pressed)}
|
|
}
|
|
@media(prefers-reduced-motion:reduce){
|
|
*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
|
|
}
|
|
|
|
/* style: pallet-list-toolbar */
|
|
.pallet-list-toolbar{display:flex!important;align-items:center;justify-content:space-between;flex-direction:row!important}
|
|
.pallet-list-toolbar .generate-pallet-label{min-height:32px;padding:0;color:var(--blue);background:transparent;border:0}
|
|
.pallet-list-footer>div{display:flex;gap:8px;width:100%}
|
|
.pallet-list-footer .btn{flex:1}
|
|
.pallet-progress-card{margin-bottom:10px}
|
|
.pallet-list-table{min-width:0;table-layout:fixed}
|
|
.pallet-list-table th,.pallet-list-table td{padding:8px 6px;font-size:11px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
|
|
.pallet-list-table tbody td:nth-child(-n+3){font-size:14px}
|
|
.pallet-list-table th:nth-child(1),.pallet-list-table td:nth-child(1){width:35%}
|
|
.pallet-list-table th:nth-child(2),.pallet-list-table td:nth-child(2){width:25%}
|
|
.pallet-list-table th:nth-child(3),.pallet-list-table td:nth-child(3){width:15%;text-align:left}
|
|
.pallet-list-table th:nth-child(4),.pallet-list-table td:nth-child(4){width:25%}
|
|
.pallet-list-table .status{display:inline-block;max-width:100%;padding:4px 6px;font-size:10px;line-height:1.25;white-space:normal}
|
|
.pallet-order-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;border-radius:10px;background:#e9e9ee}
|
|
.pallet-order-tabs button{min-width:0;min-height:40px;padding:6px 4px;border:0;border-radius:8px;background:transparent;color:#55555d;font-size:12px;font-weight:680}
|
|
.pallet-order-tabs button.active{background:#fff;color:var(--ios-blue);box-shadow:0 1px 4px rgba(0,0,0,.08)}
|
|
.pallet-order-tabs button:focus-visible{outline:2px solid var(--ios-blue);outline-offset:1px}
|
|
.fba-pallet-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}
|
|
.fba-pallet-choice{min-width:0;min-height:44px;padding:8px;border:1px solid var(--ios-border);border-radius:9px;background:#fff;color:var(--ios-secondary);font-size:11px;font-weight:680;overflow-wrap:anywhere}
|
|
.fba-pallet-choice.selected{border-color:#a9c8ff;background:var(--ios-blue-soft);color:var(--ios-blue)}
|
|
.fba-pallet-choice:disabled{cursor:not-allowed;background:#f3f4f6;color:#8b8d94;opacity:.68}
|
|
.fba-pallet-choice:focus-visible{outline:2px solid var(--ios-blue);outline-offset:1px}
|
|
|
|
/* style: pick-layout */
|
|
.pick-scan-card .scan-box{margin-top:0}
|
|
.pick-order-head{align-items:center}
|
|
.pick-details-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:#f7f9fc;color:var(--blue);font-size:12px;font-weight:700;white-space:nowrap}
|
|
.pick-details-toggle svg{width:16px;height:16px;display:block;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
|
|
.pick-order-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
|
|
.pick-order-summary .summary-item{min-width:0;padding:9px;border-radius:9px;background:#f7f9fc}
|
|
.pick-order-summary .summary-item span{display:block;color:var(--muted);font-size:10px;line-height:1.3}
|
|
.pick-order-summary .summary-item strong{display:block;margin-top:3px;font-size:12px;overflow-wrap:anywhere}
|
|
.pick-order-details.is-collapsed .detail-list{display:none}
|
|
@media(max-width:360px){.pick-order-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.pick-details-toggle span{display:none}}
|
|
|
|
/* style: packing-page */
|
|
.entry.packing-entry .entry-icon{background:var(--ios-blue-soft);color:var(--ios-blue)}
|
|
.packing-scan-card .scan-box{margin:0}
|
|
.packing-customer-field{margin:0}
|
|
.packing-customer-field input[aria-invalid="true"]{border-color:var(--ios-red);box-shadow:0 0 0 3px rgba(180,35,24,.12)}
|
|
.packing-customer-field input[aria-invalid="true"]:focus-visible{outline:3px solid rgba(180,35,24,.22)}
|
|
.packing-customer-error{min-height:18px;margin:5px 2px 0;color:var(--ios-red);font-size:12px;line-height:1.5}
|
|
.packing-details-card{padding-bottom:8px}
|
|
.packing-details-table{min-width:0;table-layout:fixed}
|
|
.packing-details-table th,.packing-details-table td{padding:13px 10px;font-size:13px;white-space:normal;overflow-wrap:anywhere}
|
|
.packing-details-table th{font-size:11px}
|
|
.packing-details-table th:first-child,.packing-details-table td:first-child{width:46%}
|
|
.packing-details-table th:nth-child(2),.packing-details-table td:nth-child(2){width:34%}
|
|
.packing-details-table th:last-child,.packing-details-table td:last-child{width:20%}
|
|
.packing-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
|
|
.packing-actions .btn{width:100%}
|
|
@media(max-width:359px){.packing-details-table th,.packing-details-table td{padding-inline:7px;font-size:12px}}
|
|
@media(min-width:640px){.app[data-page="packing"] .bottom-bar{margin-inline:0}}
|
|
|
|
/* style: base */
|
|
.relabel-mode-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;background:#eef2f6;border-radius:12px;margin:0 0 14px}
|
|
.relabel-mode-tabs button{min-height:42px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-weight:750;cursor:pointer}
|
|
.relabel-mode-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 2px 7px rgba(16,24,40,.1)}
|
|
.relabel-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
|
|
.relabel-label-preview{border:1px dashed #b8c8d8;border-radius:12px;background:#f8fafc;padding:18px;margin-top:14px;min-height:170px;display:grid;align-content:center;gap:10px;text-align:center}
|
|
.relabel-label-preview .preview-kind{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
|
|
.relabel-label-preview .preview-value{font-size:25px;font-weight:850;color:var(--ink);word-break:break-word}
|
|
.relabel-label-preview .preview-meta{font-size:12px;color:var(--muted)}
|
|
.relabel-print-actions{display:flex;gap:8px;margin-top:14px}.relabel-print-actions .btn{flex:1}
|
|
@media print{body>*{display:none!important}#app{display:block!important}.topbar,.bottom-bar,.scan-box,.relabel-print-actions{display:none!important}.content{padding:0!important}.relabel-label-preview{border:0;min-height:0;margin:0;font-size:18pt}}
|