Files
vendoo/public/mobile-upload.css
Masterluke77andGitHub 6f48827f4d Vendoo 1.41.2 – Git Ignore Boundary & Module Tracking Hotfix (#18)
* docs: prepare Vendoo 1.41.2 git-ignore boundary hotfix

* fix: track native source modules with root-anchored runtime ignores
2026-07-09 17:09:00 +02:00

66 lines
6.5 KiB
CSS

:root{--bg:#f4f0e8;--surface:#fffdf9;--surface-2:#f9f6f0;--line:#ded7cc;--ink:#24221e;--muted:#777168;--brand:#e63b17;--brand-dark:#c92e0d;--brand-soft:rgba(230,59,23,.09);--success:#218356;--success-soft:rgba(33,131,86,.1);--danger:#be4037;--shadow:0 24px 60px rgba(44,38,30,.12)}*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-height:100dvh;background:radial-gradient(circle at 100% 0,rgba(230,59,23,.07),transparent 35%),var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.mobile-upload-shell{width:min(100%,540px);min-height:100dvh;margin:auto;padding:calc(18px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));display:grid;align-content:start;gap:14px}.mobile-upload-brand{display:flex;align-items:center;gap:11px;padding:2px 3px 7px}.mobile-upload-brand>div{display:grid;gap:1px}.mobile-upload-brand strong{font-size:19px;letter-spacing:-.04em}.mobile-upload-brand span:not(.mobile-upload-logo){font-size:11px;color:var(--muted)}.mobile-upload-logo{position:relative;width:38px;height:38px;display:block}.mobile-upload-logo i{position:absolute;left:5px;top:5px;width:9px;height:28px;border-radius:6px;background:var(--brand);transform:rotate(-30deg)}.mobile-upload-logo b{position:absolute;left:19px;top:4px;width:15px;height:17px;border-radius:4px 7px 7px 5px;background:var(--brand);transform:rotate(14deg)}.mobile-upload-logo b:after{content:"";position:absolute;width:4px;height:4px;right:3px;top:3px;border-radius:50%;background:#fff}.mobile-upload-logo em{position:absolute;right:0;bottom:0;width:15px;height:15px;display:grid;place-items:center;border-radius:50%;background:#30302d;color:#fff;font-size:9px;font-style:normal}.mobile-upload-card{padding:20px;border:1px solid var(--line);border-radius:20px;background:rgba(255,253,249,.94);box-shadow:0 10px 35px rgba(44,38,30,.06);backdrop-filter:blur(12px)}.mobile-upload-card.hero{padding:24px}.eyebrow{display:block;margin-bottom:8px;color:var(--brand);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.mobile-upload-card h1,.mobile-upload-card h2{margin:0;color:var(--ink);font-size:clamp(25px,7vw,34px);line-height:1.04;letter-spacing:-.05em}.mobile-upload-card h2{font-size:24px}.mobile-upload-card p{margin:11px 0 0;color:var(--muted);font-size:14px;line-height:1.55}.session-status{display:flex;align-items:center;gap:8px;margin-top:18px;padding:10px 12px;border-radius:11px;background:var(--surface-2);color:var(--muted);font-size:12px;font-weight:700}.session-status span{width:8px;height:8px;border-radius:50%;background:#aaa}.session-status.ok{background:var(--success-soft);color:var(--success)}.session-status.ok span{background:var(--success)}.camera-action{min-height:180px;display:grid;place-items:center;align-content:center;gap:7px;padding:20px;border:1.5px dashed #cfc6b8;border-radius:16px;background:linear-gradient(145deg,#fff,var(--surface-2));text-align:center;cursor:pointer}.camera-action:active{border-color:var(--brand);background:var(--brand-soft)}.camera-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:var(--brand);color:#fff;font-size:28px;box-shadow:0 12px 25px rgba(230,59,23,.2)}.camera-action strong{font-size:15px}.camera-action small{color:var(--muted);font-size:11px}.upload-meta{display:flex;justify-content:space-between;gap:12px;margin:14px 2px 9px;color:var(--muted);font-size:11px}.mobile-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mobile-preview figure{position:relative;aspect-ratio:1;margin:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}.mobile-preview img{width:100%;height:100%;object-fit:contain}.mobile-preview button{position:absolute;right:5px;top:5px;width:25px;height:25px;border:0;border-radius:50%;background:rgba(28,27,24,.8);color:#fff;font-size:15px}.mobile-primary,.mobile-secondary{width:100%;min-height:50px;margin-top:14px;border-radius:13px;font:inherit;font-size:14px;font-weight:800;cursor:pointer}.mobile-primary{border:0;background:var(--brand);color:#fff;box-shadow:0 14px 28px rgba(230,59,23,.2)}.mobile-primary:disabled{opacity:.4;box-shadow:none}.mobile-primary:not(:disabled):active{background:var(--brand-dark)}.mobile-secondary{border:1px solid var(--line);background:var(--surface);color:var(--ink)}.upload-progress{height:7px;margin-top:13px;overflow:hidden;border-radius:999px;background:#e7e1d8}.upload-progress span{display:block;width:45%;height:100%;border-radius:inherit;background:var(--brand);animation:progress 1.1s ease-in-out infinite alternate}@keyframes progress{to{transform:translateX(122%)}}.success,.error{text-align:center}.success-mark,.error-mark{width:62px;height:62px;display:grid;place-items:center;margin:0 auto 15px;border-radius:20px;font-size:31px;font-weight:900}.success-mark{background:var(--success-soft);color:var(--success)}.error-mark{background:rgba(190,64,55,.1);color:var(--danger)}footer{padding:4px 18px;color:var(--muted);font-size:10px;line-height:1.5;text-align:center}.hidden{display:none!important}@media(min-width:460px){.mobile-preview{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:360px){.mobile-upload-shell{padding-inline:10px}.mobile-upload-card{padding:16px}.mobile-upload-card.hero{padding:19px}.mobile-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}
.mobile-upload-brand-icon{width:40px;height:40px;display:block;object-fit:contain;flex:0 0 auto}
.mobile-source-actions,
.mobile-more-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.camera-action {
width: 100%;
min-height: 132px;
border: 1px solid var(--line);
border-radius: 16px;
background: var(--brand-soft);
color: var(--ink);
padding: 18px 14px;
display: grid;
place-items: center;
align-content: center;
gap: 7px;
text-align: center;
cursor: pointer;
font: inherit;
}
.camera-action.secondary-source {
background: var(--surface-2);
}
.camera-action:disabled,
.mobile-secondary:disabled {
opacity: .5;
cursor: not-allowed;
}
.mobile-preview-fallback {
width: 100%;
aspect-ratio: 1 / 1;
display: grid;
place-content: center;
gap: 4px;
padding: 8px;
text-align: center;
background: var(--surface-2);
color: var(--muted);
font-size: 11px;
}
.mobile-preview-fallback strong {
color: var(--ink);
font-size: 12px;
}
@media (max-width: 420px) {
.mobile-source-actions,
.mobile-more-actions {
grid-template-columns: 1fr;
}
.camera-action {
min-height: 112px;
}
}