AndroidCode / 25_2.html
yhzheng1031's picture
Upload folder using huggingface_hub
79228d9 verified
Raw History Blame
11.9 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Mobile UI Mock</title>
<style>
body { margin:0; padding:0; background:transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width:1080px; height:2400px;
position:relative; overflow:hidden;
background:#FFFFFF;
}
/* Status bar */
.status-bar {
height:90px;
padding:0 36px;
display:flex; align-items:center; justify-content:space-between;
color:#2D2D2D; font-size:34px;
}
.status-icons { display:flex; gap:26px; align-items:center; }
.icon-square { width:34px; height:34px; background:#808080; border-radius:6px; }
.battery {
width:44px; height:26px; border:3px solid #333; border-radius:6px; position:relative;
}
.battery::after { content:""; position:absolute; right:-10px; top:8px; width:6px; height:10px; background:#333; border-radius:2px; }
.battery .lev { position:absolute; left:3px; top:3px; right:3px; bottom:3px; background:#333; border-radius:3px; }
/* App header with avatar + search */
.app-header {
padding:16px 36px 20px;
display:flex; align-items:center; gap:24px;
}
.avatar {
width:96px; height:96px; border-radius:50%;
background:#4CAF50; color:#fff; font-weight:700; font-size:44px;
display:flex; align-items:center; justify-content:center; position:relative;
}
.avatar .dot { position:absolute; right:4px; top:4px; width:22px; height:22px; background:#E74C3C; border-radius:50%; border:2px solid #fff; }
.avatar .badge { position:absolute; right:-8px; bottom:-8px; width:34px; height:34px; border-radius:50%; background:#E0E0E0; color:#666; font-size:20px; display:flex; align-items:center; justify-content:center; border:1px solid #C9C9C9; }
.search-pill {
flex:1; height:84px; border:4px solid #000; border-radius:42px;
display:flex; align-items:center; padding:0 28px; gap:22px;
}
.search-pill .keyword { flex:1; font-size:36px; color:#111; }
.top-actions { display:flex; align-items:center; gap:26px; }
.svg-icon { width:42px; height:42px; }
/* Tabs */
.tabs { display:flex; gap:40px; padding:10px 36px 0; font-size:34px; color:#333; }
.tab.active { font-weight:600; position:relative; }
.tab.active::after {
content:""; position:absolute; left:0; bottom:-16px; width:70px; height:6px; background:#6C63FF; border-radius:3px;
}
/* Sort row */
.sort-row { display:flex; align-items:center; gap:18px; color:#777; font-size:32px; padding:28px 36px 18px; }
.sort-row .sort-icon { width:42px; height:42px; }
/* List */
.list { padding:0 0; }
.item {
display:flex; align-items:center; gap:28px;
padding:26px 36px;
border-top:1px solid #F0F0F0;
}
.item:first-child { border-top:none; }
.item-icon {
width:72px; height:72px; display:flex; align-items:center; justify-content:center;
background:#F3F3F3; border-radius:16px; border:1px solid #E0E0E0;
}
.item .texts { flex:1; }
.title { font-size:36px; color:#222; font-weight:600; margin-bottom:6px; }
.subtitle { font-size:28px; color:#8A8A8A; }
.trailing {
width:46px; height:46px; border:2px solid #DADADA; border-radius:50%;
}
/* Safeguard card */
.safe-card {
margin:46px auto 0;
width:880px;
text-align:center;
}
.safe-icon {
width:64px; height:64px; border-radius:50%;
border:2px solid #37C7AC; color:#37C7AC;
display:inline-flex; align-items:center; justify-content:center;
margin-bottom:10px;
}
.safe-title { color:#2FD1B4; font-size:38px; font-weight:600; }
.safe-desc { color:#9A9A9A; font-size:30px; margin-top:6px; }
/* Floating elements */
.float-plus {
position:absolute; right:46px; bottom:210px;
width:120px; height:120px; border-radius:60px;
background:#000; color:#fff;
display:flex; align-items:center; justify-content:center;
box-shadow:0 10px 20px rgba(0,0,0,0.2);
font-size:70px; line-height:0;
}
.float-bubble {
position:absolute; left:96px; bottom:380px;
width:130px; height:130px; border-radius:65px;
background:#E0E0E0; border:1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center; color:#757575; font-size:26px; text-align:center; padding:10px;
}
.float-bubble .close-x {
position:absolute; right:-6px; top:-6px; width:36px; height:36px; border-radius:50%;
background:#D0D0D0; color:#666; border:1px solid #BEBEBE;
display:flex; align-items:center; justify-content:center; font-size:22px;
}
/* Bottom nav */
.bottom-nav {
position:absolute; left:0; right:0; bottom:90px;
height:140px; border-top:1px solid #EFEFEF;
display:flex; align-items:center; justify-content:space-around;
background:#FFFFFF;
}
.nav-item { display:flex; flex-direction:column; align-items:center; gap:12px; color:#000; font-size:24px; }
.nav-icon { width:64px; height:64px; }
.nav-dot { position:absolute; right:220px; bottom:190px; width:18px; height:18px; background:#FF4D4D; border-radius:50%; border:2px solid #FFF; }
/* Gesture bar */
.gesture {
position:absolute; left:50%; transform:translateX(-50%);
bottom:24px; width:300px; height:12px; border-radius:8px; background:#BEBEBE;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:16</div>
<div class="status-icons">
<div class="icon-square"></div>
<div class="icon-square"></div>
<div class="icon-square"></div>
<div style="width:14px; height:14px; background:#808080; border-radius:50%;"></div>
<svg class="svg-icon" viewBox="0 0 24 24"><path d="M17 7h-2v2h2V7zm-4 0H7v2h6V7zm8 2a1 1 0 0 0-1-1h-2v2h2a1 1 0 0 0 1-1zM5 11h14v2H5v-2zm12 4h-2v2h2v-2zm-4 0H7v2h6v-2z" fill="#555"/></svg>
<div class="battery"><div class="lev"></div></div>
</div>
</div>
<!-- App header -->
<div class="app-header">
<div class="avatar">
C
<div class="dot"></div>
<div class="badge">P</div>
</div>
<div class="search-pill">
<div class="keyword">Circle Vattam (2022)</div>
<!-- search icon -->
<svg class="svg-icon" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6" stroke="#111" stroke-width="2" fill="none"></circle>
<path d="M14.5 14.5L20 20" stroke="#111" stroke-width="2" stroke-linecap="round"></path>
</svg>
</div>
<div class="top-actions">
<!-- filter icon -->
<svg class="svg-icon" viewBox="0 0 24 24">
<path d="M3 5h18l-7 8v6l-4-2v-4L3 5z" fill="#111"></path>
</svg>
<!-- sort icon -->
<svg class="svg-icon" viewBox="0 0 24 24">
<path d="M7 5l-3 3h6L7 5zm10 14l3-3h-6l3 3zM4 12h16v2H4z" fill="#111"></path>
</svg>
</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 class="sort-icon" viewBox="0 0 24 24">
<path d="M6 3v14M6 3l-3 3M6 3l3 3M18 21V7M18 21l-3-3M18 21l3-3" stroke="#777" stroke-width="2" stroke-linecap="round"></path>
</svg>
<div>Sort by time</div>
</div>
<!-- List -->
<div class="list">
<div class="item">
<div class="item-icon">
<!-- safe icon -->
<svg width="48" height="48" viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="14" rx="2" fill="#BFC4CB"></rect>
<circle cx="12" cy="12" r="3" fill="#9AA0A6"></circle>
<rect x="19" y="9" width="2" height="6" fill="#9AA0A6"></rect>
</svg>
</div>
<div class="texts">
<div class="title" style="font-weight:600;">Personal Vault</div>
</div>
<div class="trailing"></div>
</div>
<div class="item">
<div class="item-icon">
<!-- folder icon -->
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M3 7h7l2 2h9v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7z" fill="#F2C94C" stroke="#D9A53A" stroke-width="1"></path>
</svg>
</div>
<div class="texts">
<div class="title">password file</div>
<div class="subtitle">2023-06-28 15:09</div>
</div>
<div class="trailing"></div>
</div>
<div class="item">
<div class="item-icon">
<!-- cloud icon -->
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M7 17h9a4 4 0 0 0 0-8 6 6 0 0 0-11 2 3 3 0 0 0 2 6z" fill="#C8D0D8"></path>
</svg>
</div>
<div class="texts">
<div class="title">plant</div>
<div class="subtitle">2023-06-28 14:11 74.34KB</div>
</div>
<div class="trailing"></div>
</div>
<div class="item">
<div class="item-icon">
<!-- cloud icon -->
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M7 17h9a4 4 0 0 0 0-8 6 6 0 0 0-11 2 3 3 0 0 0 2 6z" fill="#C8D0D8"></path>
</svg>
</div>
<div class="texts">
<div class="title">white tree</div>
<div class="subtitle">2023-06-28 14:11 256.12KB</div>
</div>
<div class="trailing"></div>
</div>
<div class="item">
<div class="item-icon">
<!-- pdf icon -->
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M6 3h9l3 3v15H6z" fill="#F16D6D"></path>
<path d="M15 3v4h4" fill="#ffbfbf"></path>
<path d="M8 12h8M8 15h8M8 18h8" stroke="#fff" stroke-width="1.6"></path>
</svg>
</div>
<div class="texts">
<div class="title">TeraBoxQuickStartGuide.pdf</div>
<div class="subtitle">2023-06-28 14:08 1.17KB</div>
</div>
<div class="trailing"></div>
</div>
</div>
<!-- Safeguard card -->
<div class="safe-card">
<div class="safe-icon">
<svg width="34" height="34" viewBox="0 0 24 24">
<path d="M12 3l8 4v6c0 5-8 8-8 8s-8-3-8-8V7l8-4z" fill="none" stroke="#37C7AC" stroke-width="2"></path>
<path d="M9 12l2 2 4-4" stroke="#37C7AC" stroke-width="2" stroke-linecap="round"></path>
</svg>
</div>
<div class="safe-title">Safeguard your data</div>
<div class="safe-desc">TeraBox values your data privacy</div>
</div>
<!-- Floating bubble (image placeholder) -->
<div class="float-bubble">
[IMG: VS sticker]
<div class="close-x">x</div>
</div>
<!-- Floating plus -->
<div class="float-plus">+</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M3 11l9-7 9 7v9H3v-9zM9 20v-6h6v6" fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round"></path>
</svg>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<path d="M3 7h7l2 2h9v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7z" fill="none" stroke="#000" stroke-width="2"></path>
</svg>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<rect x="3" y="5" width="18" height="14" rx="3" fill="none" stroke="#000" stroke-width="2"></rect>
<path d="M7 15l4-5 4 6" stroke="#000" stroke-width="2" fill="none"></path>
<circle cx="9" cy="9" r="1.5" fill="#000"></circle>
</svg>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#000" stroke-width="2"></circle>
<path d="M10 8l6 4-6 4V8z" fill="#000"></path>
</svg>
</div>
<div class="nav-item" style="position:relative;">
<svg class="nav-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#000" stroke-width="2"></circle>
<circle cx="15" cy="9" r="2" fill="#000"></circle>
</svg>
</div>
<div class="nav-dot"></div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>