AndroidCode / code /10154 /10154_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
7.58 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Favourite Book - Mock</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:#0f0f10; color:#eaeaea;
}
/* Status bar */
.status-bar{
position:absolute; left:0; top:0; width:100%; height:80px;
color:#cfcfcf; font-size:34px; letter-spacing:1px;
display:flex; align-items:center; justify-content:space-between;
padding:0 36px;
}
/* App bar */
.app-bar{
position:absolute; top:90px; left:0; width:100%; height:110px;
display:flex; align-items:center; justify-content:space-between;
padding:0 32px;
}
.icon-btn{ width:80px; height:80px; display:flex; align-items:center; justify-content:center; }
/* Title */
.title{
position:absolute; top:210px; left:32px;
font-size:86px; font-weight:700; color:#fff;
}
.subtitle{
position:absolute; top:330px; left:32px; color:#a7a7a7; font-size:34px;
}
/* Action buttons row */
.actions{
position:absolute; top:410px; left:32px; right:32px;
display:flex; gap:28px;
}
.action{
flex:1; height:140px; border-radius:18px;
display:flex; align-items:center; gap:22px; padding:0 34px;
background:#232326; color:#eaeaea;
}
.action.primary{ background:#2c62ff; }
.action .label{ font-size:44px; font-weight:600; }
.action svg{ width:54px; height:54px; fill:#eaeaea; }
/* Header row */
.list-header{
position:absolute; top:600px; left:32px; right:32px;
display:flex; align-items:center; justify-content:space-between;
color:#eaeaea; font-size:44px; font-weight:700;
padding:20px 0;
border-bottom:1px solid #2a2a2a;
}
.list-header .name{ display:flex; align-items:center; gap:12px; }
/* File item */
.file-item{
position:absolute; top:720px; left:32px; right:32px;
display:flex; align-items:center; gap:28px;
padding:28px 0;
border-bottom:1px solid #1f1f1f;
}
.thumb{
width:120px; height:120px; background:#E0E0E0; border:1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center; color:#757575; font-size:26px;
}
.file-text{ flex:1; }
.file-title{ font-size:46px; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:820px; }
.file-sub{ font-size:34px; color:#b7b7b7; margin-top:8px; }
/* Bottom nav */
.bottom-nav{
position:absolute; left:0; bottom:0; width:100%; height:180px;
background:#121214; border-top:1px solid #1f1f1f;
display:flex; justify-content:space-around; align-items:center;
}
.nav-item{ display:flex; flex-direction:column; align-items:center; gap:10px; color:#bdbdbd; font-size:36px; }
.nav-item.active{ color:#ffffff; }
.nav-item svg{ width:58px; height:58px; fill:currentColor; }
/* FAB */
.fab{
position:absolute; right:48px; bottom:220px; width:170px; height:170px; border-radius:50%;
background:#3a6dfd; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px rgba(0,0,0,0.45);
}
.fab svg{ width:88px; height:88px; fill:#fff; }
/* Misc small icon dots */
.kebab{ width:18px; height:18px; border-radius:50%; background:#d9d9d9; display:inline-block; margin:5px 0; }
.kebab-wrap{ width:28px; display:flex; flex-direction:column; align-items:center; gap:10px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:48</div>
<div style="display:flex; align-items:center; gap:22px;">
<span>📶</span>
<span>🔋 74%</span>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="icon-btn">
<!-- hamburger -->
<svg viewBox="0 0 24 24" width="64" height="64" fill="#eaeaea"><rect x="3" y="5" width="18" height="2"/><rect x="3" y="11" width="18" height="2"/><rect x="3" y="17" width="18" height="2"/></svg>
</div>
<div style="display:flex; gap:26px;">
<!-- search -->
<div class="icon-btn"><svg viewBox="0 0 24 24" fill="#eaeaea"><circle cx="11" cy="11" r="6" stroke="none"/><rect x="16" y="16" width="7" height="2" transform="rotate(45 16 16)"/></svg></div>
<!-- checkbox -->
<div class="icon-btn"><svg viewBox="0 0 24 24" fill="#eaeaea"><rect x="4" y="4" width="16" height="16" rx="2" ry="2" fill="none" stroke="#eaeaea" stroke-width="2"/><path d="M7 12l3 3 7-7" stroke="#eaeaea" stroke-width="2" fill="none"/></svg></div>
<!-- overflow -->
<div class="icon-btn"><svg viewBox="0 0 24 24" fill="#eaeaea"><circle cx="12" cy="5" r="2"/><circle cx="12" cy="12" r="2"/><circle cx="12" cy="19" r="2"/></svg></div>
</div>
</div>
<!-- Title -->
<div class="title">Favourite Book</div>
<div class="subtitle">Only you</div>
<!-- Actions -->
<div class="actions">
<div class="action primary">
<svg viewBox="0 0 24 24"><path d="M12 3l4 4h-3v6h-2V7H8l4-4z"/><path d="M5 13h2v5h10v-5h2v7H5z"/></svg>
<div class="label">Share</div>
</div>
<div class="action">
<svg viewBox="0 0 24 24"><path d="M5 20h14v2H5zM11 2h2v12h-2z"/><path d="M7 8h10v2H7z"/></svg>
<div class="label">Upload</div>
</div>
<div class="action">
<svg viewBox="0 0 24 24"><path d="M4 4h16v14H4z" fill="none" stroke="#eaeaea" stroke-width="2"/><path d="M4 9h16" stroke="#eaeaea" stroke-width="2"/></svg>
<div class="label">Folder</div>
</div>
<div class="action">
<svg viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2" fill="none" stroke="#eaeaea" stroke-width="2"/><rect x="7" y="8" width="10" height="8" fill="none" stroke="#eaeaea" stroke-width="2"/></svg>
<div class="label">Scan</div>
</div>
</div>
<!-- List Header -->
<div class="list-header">
<div class="name">
<span>Name</span>
<svg viewBox="0 0 24 24" width="34" height="34" fill="#eaeaea"><path d="M7 10l5 5 5-5z"/></svg>
</div>
<div>
<svg viewBox="0 0 24 24" width="44" height="44" fill="#eaeaea"><path d="M4 4h16v2H4zM4 11h16v2H4zM4 18h16v2H4z"/></svg>
</div>
</div>
<!-- File item -->
<div class="file-item">
<div class="thumb">[IMG: Book Cover]</div>
<div class="file-text">
<div class="file-title">JRR Tolkien - Lord ...gs Collection.pdf</div>
<div class="file-sub">13 MB, modified 2 seconds ago</div>
</div>
<div class="kebab-wrap">
<span class="kebab"></span>
<span class="kebab"></span>
<span class="kebab"></span>
</div>
</div>
<!-- Floating Action Button -->
<div class="fab">
<svg viewBox="0 0 24 24"><path d="M11 5h2v14h-2z"/><path d="M5 11h14v2H5z"/></svg>
</div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M12 3l9 8h-3v8H6v-8H3z"/></svg>
<div>Home</div>
</div>
<div class="nav-item active">
<svg viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2"/></svg>
<div>Files</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><rect x="4" y="5" width="16" height="12" rx="2" fill="none" stroke="currentColor" stroke-width="2"/><rect x="7" y="8" width="10" height="6" /></svg>
<div>Photos</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><circle cx="12" cy="8" r="4"/><path d="M4 21c0-4 4-7 8-7s8 3 8 7"/></svg>
<div>Account</div>
</div>
</div>
</div>
</body>
</html>