AndroidCode / 25_10.html
yhzheng1031's picture
Upload folder using huggingface_hub
79228d9 verified
raw
history blame
10.4 kB
<!DOCTYPE html>
<html lang="en">
<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; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #FFFFFF; color: #222;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 110px; display: flex; align-items: center; justify-content: space-between;
padding: 0 40px; font-size: 36px; color: #333;
}
.status-right { display: flex; align-items: center; gap: 24px; }
.status-icon svg { width: 40px; height: 40px; }
/* Selection header */
.selection-header {
position: absolute; top: 110px; left: 0; right: 0;
height: 120px; display: flex; align-items: center; justify-content: space-between;
padding: 0 40px; border-bottom: 1px solid #E9E9EF;
}
.selection-header .link { color: #5A63F2; font-size: 36px; }
.selection-title { font-weight: 600; font-size: 40px; color: #111; }
/* Tabs */
.tabs {
position: absolute; top: 230px; left: 0; right: 0;
height: 106px; display: flex; align-items: flex-end; gap: 40px;
padding: 0 40px; border-bottom: 1px solid #E9E9EF;
}
.tab { font-size: 34px; color: #777; padding-bottom: 20px; }
.tab.active { color: #222; position: relative; }
.tab.active::after {
content: ""; position: absolute; left: 0; bottom: 0;
width: 60px; height: 6px; background: #5A63F2; border-radius: 3px;
}
/* Sort row */
.sort-row {
position: absolute; top: 336px; left: 0; right: 0;
height: 92px; display: flex; align-items: center; gap: 18px;
padding: 0 40px; color: #666; font-size: 32px;
}
.sort-row svg { width: 40px; height: 40px; }
/* List area */
.list {
position: absolute; top: 428px; left: 0; right: 0; bottom: 220px;
overflow: hidden; padding-bottom: 24px;
}
.list-row {
display: flex; align-items: center; justify-content: space-between;
padding: 28px 40px; border-bottom: 1px solid #EFEFF4;
}
.list-row.selected { background: #EAF3FF; }
.left {
display: flex; align-items: center;
}
.icon-box {
width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
margin-right: 26px;
}
.item-text h3 { margin: 0; font-size: 40px; font-weight: 600; color: #222; }
.item-text .meta { margin-top: 6px; font-size: 28px; color: #8A8A99; }
.check { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
/* Vault row look */
.vault .item-text h3 { font-weight: 500; color: #52525B; }
/* Promo card */
.promo {
margin: 40px auto 0 auto; width: 800px;
padding: 30px 24px; border: 1px solid #D8F3ED; border-radius: 14px;
display: flex; align-items: center; gap: 20px;
color: #19BFA2; background: #F9FFFE;
}
.promo .sub { margin: 4px 0 0; font-size: 28px; color: #8AA4A1; }
/* Bottom action bar */
.bottom-bar {
position: absolute; bottom: 0; left: 0; right: 0;
height: 200px; background: #5A63F2; color: #fff;
display: flex; align-items: center; justify-content: space-around;
}
.action {
display: flex; flex-direction: column; align-items: center; gap: 16px;
font-size: 28px;
}
.action svg { width: 56px; height: 56px; fill: none; stroke: #fff; stroke-width: 2.5; }
/* Gesture pill */
.gesture-pill {
position: absolute; bottom: 220px; left: 50%;
transform: translateX(-50%);
width: 320px; height: 12px; background: #BDBDBD; border-radius: 30px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="time">8:19</div>
<div class="status-right">
<div class="status-icon">
<!-- Wifi -->
<svg viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0" stroke="#555" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M5 11c4-3 10-3 14 0" stroke="#555" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M9 14c3-2 5-2 8 0" stroke="#555" stroke-width="2" fill="none" stroke-linecap="round"/>
<circle cx="12" cy="18" r="2" fill="#555"/>
</svg>
</div>
<div class="status-icon">
<!-- Battery -->
<svg viewBox="0 0 26 24">
<rect x="2" y="5" width="18" height="14" rx="2" stroke="#555" fill="none" stroke-width="2"/>
<rect x="5" y="8" width="12" height="8" fill="#555"/>
<rect x="21" y="9" width="3" height="6" rx="1" fill="#555"/>
</svg>
</div>
</div>
</div>
<!-- Selection header -->
<div class="selection-header">
<div class="link">Cancel</div>
<div class="selection-title">1 file(s) selected</div>
<div class="link">Select All</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab active">All</div>
<div class="tab">Offline</div>
</div>
<!-- Sort row -->
<div class="sort-row">
<svg viewBox="0 0 24 24">
<path d="M4 6h12M4 12h8M4 18h4" stroke="#8A8A99" stroke-width="2" stroke-linecap="round"/>
</svg>
<span>Sort by time</span>
</div>
<!-- List -->
<div class="list">
<!-- Personal Vault -->
<div class="list-row vault">
<div class="left">
<div class="icon-box">
<svg viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="14" rx="2" fill="#BFC5CE"/>
<circle cx="12" cy="12" r="3" fill="#9AA2AD"/>
<rect x="11.2" y="10.8" width="1.6" height="3" fill="#fff"/>
</svg>
</div>
<div class="item-text">
<h3>Personal Vault</h3>
</div>
</div>
<div style="width:44px;"></div>
</div>
<!-- password file - selected -->
<div class="list-row selected">
<div class="left">
<div class="icon-box">
<!-- Folder -->
<svg viewBox="0 0 24 24">
<path d="M3 7h7l2 2h9v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7z" fill="#F3C74E"/>
<path d="M3 7h7l2 2H3z" fill="#E9B94A"/>
</svg>
</div>
<div class="item-text">
<h3>password file</h3>
<div class="meta">2023-06-28 15:09</div>
</div>
</div>
<div class="check">
<!-- Selected check -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="11" fill="#5A63F2"/>
<path d="M6 12l4 4 8-8" stroke="#fff" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- plant -->
<div class="list-row">
<div class="left">
<div class="icon-box">
<!-- Cloud -->
<svg viewBox="0 0 24 24">
<path d="M6 18h10a4 4 0 0 0 0-8 5 5 0 0 0-9-1 4 4 0 0 0-1 9z" fill="#D5DAE0"/>
</svg>
</div>
<div class="item-text">
<h3>plant</h3>
<div class="meta">2023-06-28 14:11 74.34KB</div>
</div>
</div>
<div class="check">
<!-- Unchecked circle -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#C9CBD4" stroke-width="2"/>
</svg>
</div>
</div>
<!-- white tree -->
<div class="list-row">
<div class="left">
<div class="icon-box">
<!-- Cloud -->
<svg viewBox="0 0 24 24">
<path d="M6 18h10a4 4 0 0 0 0-8 5 5 0 0 0-9-1 4 4 0 0 0-1 9z" fill="#D5DAE0"/>
</svg>
</div>
<div class="item-text">
<h3>white tree</h3>
<div class="meta">2023-06-28 14:11 256.12KB</div>
</div>
</div>
<div class="check">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#C9CBD4" stroke-width="2"/>
</svg>
</div>
</div>
<!-- PDF -->
<div class="list-row">
<div class="left">
<div class="icon-box">
<!-- PDF document icon -->
<svg viewBox="0 0 24 24">
<rect x="3" y="3" width="18" height="18" rx="3" fill="#E85C5C"/>
<path d="M8 9h8M8 12h8M8 15h6" stroke="#fff" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="item-text">
<h3>TeraBoxQuickStartGuide.pdf</h3>
<div class="meta">2023-06-28 14:08 1.17KB</div>
</div>
</div>
<div class="check">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#C9CBD4" stroke-width="2"/>
</svg>
</div>
</div>
<!-- Promo card -->
<div class="promo">
<svg viewBox="0 0 24 24" width="42" height="42">
<path d="M12 3l7 4v6c0 5-3 7-7 8-4-1-7-3-7-8V7l7-4z" fill="#3CD3C5"/>
</svg>
<div>
<div style="font-size:34px; color:#29C2AE;">Safeguard your data</div>
<div class="sub">TeraBox values your data privacy</div>
</div>
</div>
</div>
<!-- Gesture pill -->
<div class="gesture-pill"></div>
<!-- Bottom action bar -->
<div class="bottom-bar">
<div class="action">
<svg viewBox="0 0 24 24">
<path d="M12 3v12" />
<path d="M7 10l5 5 5-5" />
<rect x="5" y="18" width="14" height="2" rx="1" />
</svg>
<div>Download</div>
</div>
<div class="action">
<svg viewBox="0 0 24 24">
<circle cx="6" cy="8" r="2" />
<circle cx="18" cy="6" r="2" />
<circle cx="18" cy="18" r="2" />
<path d="M7.8 9.2L16.2 6.8M7.8 9.8L16.2 16.2" />
</svg>
<div>Share</div>
</div>
<div class="action">
<svg viewBox="0 0 24 24">
<path d="M5 7h14" />
<path d="M8 7v12h8V7" />
<rect x="10" y="3" width="4" height="2" />
</svg>
<div>Delete</div>
</div>
<div class="action">
<svg viewBox="0 0 24 24">
<rect x="4" y="4" width="16" height="16" rx="3" />
<path d="M12 7v10" />
</svg>
<div>Rename</div>
</div>
<div class="action">
<svg viewBox="0 0 24 24">
<circle cx="5" cy="12" r="2" />
<circle cx="12" cy="12" r="2" />
<circle cx="19" cy="12" r="2" />
</svg>
<div>More</div>
</div>
</div>
</div>
</body>
</html>