AndroidCode / 25_3.html
yhzheng1031's picture
Upload folder using huggingface_hub
79228d9 verified
raw
history blame
9.1 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>File Manager UI</title>
<style>
body { margin:0; padding:0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width:1080px; height:2400px; position:relative; overflow:hidden;
background:#ffffff; border-radius:28px; box-shadow: 0 0 0 rgba(0,0,0,0);
}
/* Status bar */
.status-bar {
height:100px; padding:0 40px; display:flex; align-items:center; justify-content:space-between;
color:#333; font-size:34px;
}
.status-icons { display:flex; align-items:center; gap:24px; color:#555; }
.status-icons svg { width:40px; height:40px; }
/* Selection header */
.selection-bar {
height:120px; display:flex; align-items:center; justify-content:space-between;
padding:0 40px; border-bottom:1px solid #eee;
}
.selection-left, .selection-right { font-size:40px; color:#5662ff; }
.selection-title { font-size:44px; color:#111; font-weight:600; }
/* Tabs */
.tabs { padding:26px 40px 0 40px; }
.tab-row { display:flex; gap:40px; font-size:36px; color:#777; }
.tab { padding-bottom:18px; }
.tab.active { color:#111; font-weight:600; position:relative; }
.tab.active::after {
content:""; position:absolute; left:0; bottom:0; width:70px; height:6px; background:#5662ff; border-radius:3px;
}
.divider { height:1px; background:#eee; margin-top:22px; }
/* Sort */
.sort-row { display:flex; align-items:center; gap:18px; color:#666; font-size:34px; padding:24px 40px; }
.sort-row svg { width:40px; height:40px; }
/* List */
.list { }
.item {
display:flex; align-items:center;
padding:30px 40px; gap:28px; border-bottom:1px solid #f0f0f0;
}
.item.bg-selected { background:#e9f0ff; }
.icon-box {
width:84px; height:84px; border-radius:20px; background:#eef1f6; display:flex; align-items:center; justify-content:center;
border:1px solid #dfe3ea;
}
.icon-box.folder { background:#ffec9c; border-color:#e1d07a; }
.icon-box.pdf { background:#ffd1d1; border-color:#f0b4b4; }
.text-block { flex:1; }
.title { font-size:40px; color:#111; }
.subtitle { font-size:30px; color:#8a8a8a; margin-top:6px; }
.check {
width:50px; height:50px; display:flex; align-items:center; justify-content:center;
}
.check svg { width:50px; height:50px; }
/* Info card */
.info-card {
margin:40px auto 0; width:920px; text-align:center; color:#54c0b8;
}
.info-card .line1 { font-size:40px; font-weight:600; }
.info-card .line2 { font-size:32px; color:#9aa0a6; margin-top:14px; }
/* Bottom action bar */
.bottom-bar {
position:absolute; left:0; right:0; bottom:90px; height:220px;
background:#5a61ff; display:flex; align-items:center; justify-content:space-around; color:#fff;
}
.b-action { display:flex; flex-direction:column; align-items:center; gap:20px; }
.b-action svg { width:64px; height:64px; fill:#fff; }
.b-label { font-size:32px; }
/* gesture bar */
.gesture {
position:absolute; left:50%; transform:translateX(-50%);
bottom:24px; width:260px; height:12px; background:#bdbdbd; border-radius:10px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:16</div>
<div class="status-icons">
<!-- simple dot -->
<div style="width:12px; height:12px; background:#777; border-radius:50%;"></div>
<!-- WiFi -->
<svg viewBox="0 0 24 24"><path d="M2 8c5-4 15-4 20 0l-2 2c-4-3-12-3-16 0L2 8zm4 5c3-2 9-2 12 0l-2 2c-2-1-6-1-8 0l-2-2zm4 5l2 2 2-2-2-2-2 2z" fill="#666"/></svg>
<!-- Battery -->
<svg viewBox="0 0 28 24"><rect x="1" y="5" width="22" height="14" rx="2" ry="2" fill="#666"/><rect x="3" y="7" width="18" height="10" fill="#fff"/><rect x="23" y="9" width="3" height="6" fill="#666"/></svg>
</div>
</div>
<!-- Selection bar -->
<div class="selection-bar">
<div class="selection-left">Cancel</div>
<div class="selection-title">1 file(s) selected</div>
<div class="selection-right">Select All</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab-row">
<div class="tab active">All</div>
<div class="tab">Offline</div>
</div>
<div class="divider"></div>
</div>
<!-- Sort row -->
<div class="sort-row">
<svg viewBox="0 0 24 24"><path d="M4 6h16v2H4V6zm0 5h12v2H4v-2zm0 5h8v2H4v-2z" fill="#888"/></svg>
<div>Sort by time</div>
</div>
<!-- List -->
<div class="list">
<!-- Personal Vault -->
<div class="item">
<div class="icon-box">
<!-- Vault icon -->
<svg viewBox="0 0 24 24"><rect x="4" y="6" width="16" height="12" rx="2" fill="#8ca3c0"/><circle cx="12" cy="12" r="3" fill="#556b8d"/></svg>
</div>
<div class="text-block">
<div class="title">Personal Vault</div>
</div>
<div class="check"></div>
</div>
<!-- password file (selected) -->
<div class="item bg-selected">
<div class="icon-box folder">
<!-- folder icon -->
<svg viewBox="0 0 24 24"><path d="M3 6h7l2 2h9v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z" fill="#f5c84c"/></svg>
</div>
<div class="text-block">
<div class="title">password file</div>
<div class="subtitle">2023-06-28 15:09</div>
</div>
<div class="check">
<!-- selected check -->
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="11" fill="#5662ff"/><path d="M6 12l3 3 7-7" stroke="#fff" stroke-width="2.5" fill="none" stroke-linecap="round"/></svg>
</div>
</div>
<!-- plant -->
<div class="item">
<div class="icon-box">
<!-- cloud icon -->
<svg viewBox="0 0 24 24"><path d="M6 16h10a4 4 0 0 0 0-8h-1a6 6 0 0 0-11 2 3 3 0 0 0 2 6z" fill="#c9ced6"/></svg>
</div>
<div class="text-block">
<div class="title">plant</div>
<div class="subtitle">2023-06-28 14:11 74.34KB</div>
</div>
<div class="check">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="#cfcfcf" stroke-width="2"/></svg>
</div>
</div>
<!-- white tree -->
<div class="item">
<div class="icon-box">
<!-- cloud icon -->
<svg viewBox="0 0 24 24"><path d="M6 16h10a4 4 0 0 0 0-8h-1a6 6 0 0 0-11 2 3 3 0 0 0 2 6z" fill="#c9ced6"/></svg>
</div>
<div class="text-block">
<div class="title">white tree</div>
<div class="subtitle">2023-06-28 14:11 256.12KB</div>
</div>
<div class="check">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="#cfcfcf" stroke-width="2"/></svg>
</div>
</div>
<!-- pdf file -->
<div class="item">
<div class="icon-box pdf">
<!-- pdf icon -->
<svg viewBox="0 0 24 24"><rect x="4" y="3" width="16" height="18" rx="2" fill="#e86a6a"/><path d="M8 9h8M8 12h8M8 15h6" stroke="#fff" stroke-width="2"/></svg>
</div>
<div class="text-block">
<div class="title">TeraBoxQuickStartGuide.pdf</div>
<div class="subtitle">2023-06-28 14:08 1.17KB</div>
</div>
<div class="check">
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="#cfcfcf" stroke-width="2"/></svg>
</div>
</div>
</div>
<!-- Information card -->
<div class="info-card">
<div style="display:flex; justify-content:center; align-items:center; gap:14px;">
<svg viewBox="0 0 24 24" width="48" height="48"><path d="M12 2l8 4v6c0 5-3.5 9-8 10-4.5-1-8-5-8-10V6l8-4z" fill="#54c0b8"/><circle cx="12" cy="12" r="3" fill="#fff"/></svg>
<div class="line1">Safeguard your data</div>
</div>
<div class="line2">TeraBox values your data privacy</div>
</div>
<!-- Bottom action bar -->
<div class="bottom-bar">
<div class="b-action">
<svg viewBox="0 0 24 24"><path d="M12 4v8l-3-3-2 2 6 6 6-6-2-2-3 3V4h-2zM5 20h14v2H5v-2z" fill="#fff"/></svg>
<div class="b-label">Download</div>
</div>
<div class="b-action">
<svg viewBox="0 0 24 24"><circle cx="6" cy="12" r="3"/><circle cx="18" cy="6" r="3"/><circle cx="18" cy="18" r="3"/><path d="M8.5 10.5l7-3M8.5 13.5l7 3" stroke="#fff" stroke-width="2" fill="none"/></svg>
<div class="b-label">Share</div>
</div>
<div class="b-action">
<svg viewBox="0 0 24 24"><path d="M6 7h12l-1 14H7L6 7zm2-3h8l1 3H7l1-3z" fill="#fff"/></svg>
<div class="b-label">Delete</div>
</div>
<div class="b-action">
<svg viewBox="0 0 24 24"><rect x="5" y="5" width="14" height="14" rx="2" fill="#fff"/><path d="M8 8h8v2H8zm0 4h8v2H8zm0 4h6v2H8z" fill="#5a61ff"/></svg>
<div class="b-label">Rename</div>
</div>
<div class="b-action">
<svg viewBox="0 0 24 24"><circle cx="6" cy="12" r="2" fill="#fff"/><circle cx="12" cy="12" r="2" fill="#fff"/><circle cx="18" cy="12" r="2" fill="#fff"/></svg>
<div class="b-label">More</div>
</div>
</div>
<!-- gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>