AndroidCode / code /1014 /1014_4.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
10.5 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Drive Dark UI Mock</title>
<style>
body { margin:0; padding:0; background:transparent; }
#render-target {
width:1080px; height:2400px; position:relative; overflow:hidden;
background:#20160f; color:#f4e8dc; font-family: "Segoe UI", Arial, sans-serif;
}
.status-bar {
position:absolute; top:24px; left:0; right:0; height:72px;
padding:0 40px; display:flex; align-items:center; justify-content:space-between;
color:#f8f1e6; font-size:36px; font-weight:600;
}
.status-right { display:flex; gap:26px; align-items:center; }
.search-wrap {
position:absolute; top:112px; left:40px; right:40px; height:120px;
display:flex; align-items:center; gap:24px;
background:#3a2a20; border-radius:60px; padding:0 28px;
}
.search-wrap .placeholder { color:#c9b5a3; font-size:40px; flex:1; }
.avatar {
width:96px; height:96px; border-radius:50%;
background:#cc2f6f; display:flex; align-items:center; justify-content:center;
color:#fff; font-weight:700; font-size:44px; box-shadow:0 0 0 6px rgba(0,0,0,0.25);
}
.tabs {
position:absolute; top:276px; left:40px; right:40px; height:100px;
display:flex; align-items:flex-end; justify-content:space-between; color:#d8c7b7;
}
.tab { font-size:40px; padding-bottom:26px; }
.underline {
position:absolute; left:40px; right:54%; bottom:0; height:6px; background:#f0a362; border-radius:3px;
}
.files-header {
position:absolute; top:390px; left:40px; right:40px; height:72px;
display:flex; align-items:center; justify-content:space-between; color:#cbb7a6; font-size:36px;
border-bottom:1px solid rgba(255,255,255,0.06);
}
.grid-icon { width:52px; height:52px; display:grid; grid-template-columns:repeat(2,1fr); gap:6px; }
.grid-icon span { background:#564133; border-radius:6px; }
.list {
position:absolute; top:480px; left:40px; right:40px; bottom:360px; overflow:hidden;
}
.file-item {
display:flex; align-items:flex-start; gap:28px; padding:36px 0;
border-bottom:1px solid rgba(255,255,255,0.04);
}
.type-icon {
width:70px; height:70px; border-radius:12px; display:flex; align-items:center; justify-content:center;
color:#2b2119; font-weight:800; font-size:34px; border:1px solid rgba(255,255,255,0.1);
}
.type-yellow { background:#f1d45d; }
.type-peach { background:#e88c73; color:#492a1f; }
.type-pdf { background:#d98282; color:#3a2a20; font-size:26px; font-weight:700; }
.type-blue { background:#75a7ff; color:#0f1a2c; }
.file-text { flex:1; }
.file-title { font-size:44px; font-weight:600; color:#efe3d7; }
.file-sub { font-size:28px; color:#b9a796; margin-top:6px; }
.more {
width:48px; height:96px; display:flex; align-items:center; justify-content:center;
}
.more svg { fill:#cbb7a6; }
.fab-camera {
position:absolute; right:40px; bottom:420px; width:120px; height:120px; border-radius:50%;
background:#405c3f; display:flex; align-items:center; justify-content:center;
box-shadow:0 12px 24px rgba(0,0,0,0.35);
}
.fab-new {
position:absolute; right:40px; bottom:260px; height:120px; width:240px;
background:#5a4233; border-radius:28px; display:flex; align-items:center; justify-content:center; gap:18px;
color:#f4e8dc; font-size:40px; font-weight:600; box-shadow:0 12px 24px rgba(0,0,0,0.35);
}
.bottom-nav {
position:absolute; left:0; right:0; bottom:0; height:220px; background:#3a2a20;
display:flex; align-items:center; justify-content:space-around; color:#d8c7b7;
box-shadow:0 -6px 20px rgba(0,0,0,0.4);
}
.nav-item { display:flex; flex-direction:column; align-items:center; gap:14px; font-size:34px; }
.nav-icon {
width:84px; height:84px; border-radius:24px; display:flex; align-items:center; justify-content:center;
}
.nav-active { background:#6a5444; color:#f5e9dc; }
.gesture {
position:absolute; bottom:228px; left:50%; transform:translateX(-50%);
width:420px; height:14px; border-radius:7px; background:#e6e0da; opacity:0.8;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>9:13</div>
<div class="status-right">
<!-- simple network icon -->
<svg width="40" height="40" viewBox="0 0 24 24">
<path fill="#f8f1e6" d="M2 17l10-10 10 10-3 3-7-7-7 7-3-3z"/>
</svg>
<!-- battery icon -->
<svg width="44" height="44" viewBox="0 0 24 24">
<rect x="2" y="6" width="18" height="12" rx="2" fill="none" stroke="#f8f1e6" stroke-width="2"/>
<rect x="20" y="10" width="2" height="4" fill="#f8f1e6"/>
<rect x="4" y="8" width="12" height="8" fill="#f8f1e6"/>
</svg>
</div>
</div>
<!-- Search bar -->
<div class="search-wrap">
<!-- hamburger -->
<svg width="70" height="70" viewBox="0 0 24 24">
<path fill="#d8c7b7" d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/>
</svg>
<div class="placeholder">Search in Drive</div>
<div class="avatar">C</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab" style="color:#f5e7d8;">Suggested</div>
<div class="tab">Activity</div>
<div class="underline"></div>
</div>
<!-- Files header -->
<div class="files-header">
<div>Files</div>
<div class="grid-icon">
<span></span><span></span><span></span><span></span>
</div>
</div>
<!-- File list -->
<div class="list">
<div class="file-item">
<div class="type-icon type-yellow"></div>
<div class="file-text">
<div class="file-title">Globalisation</div>
<div class="file-sub">You opened • 8:21 AM</div>
</div>
<div class="more">
<svg width="24" height="24" viewBox="0 0 24 24"><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 class="file-item">
<div class="type-icon type-peach">P</div>
<div class="file-text">
<div class="file-title">Greenwood .pptx</div>
<div class="file-sub">You opened • 8:15 AM</div>
</div>
<div class="more">
<svg width="24" height="24" viewBox="0 0 24 24"><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 class="file-item">
<div class="type-icon type-yellow"></div>
<div class="file-text">
<div class="file-title">Greenery</div>
<div class="file-sub">You opened • 8:13 AM</div>
</div>
<div class="more">
<svg width="24" height="24" viewBox="0 0 24 24"><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 class="file-item">
<div class="type-icon type-pdf">PDF</div>
<div class="file-text">
<div class="file-title">Biography.pdf</div>
<div class="file-sub">You opened • 8:13 AM</div>
</div>
<div class="more">
<svg width="24" height="24" viewBox="0 0 24 24"><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 class="file-item">
<div class="type-icon type-pdf">PDF</div>
<div class="file-text">
<div class="file-title">Amsterdam.pdf</div>
<div class="file-sub">You opened • 8:13 AM</div>
</div>
<div class="more">
<svg width="24" height="24" viewBox="0 0 24 24"><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 class="file-item">
<div class="type-icon type-pdf">PDF</div>
<div class="file-text">
<div class="file-title">Greenery.pdf</div>
<div class="file-sub">You opened • 8:13 AM</div>
</div>
<div class="more">
<svg width="24" height="24" viewBox="0 0 24 24"><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 class="file-item">
<div class="type-icon type-pdf">PDF</div>
<div class="file-text">
<div class="file-title">Biography.pdf</div>
<div class="file-sub">You opened • 8:15 AM</div>
</div>
<div class="more">
<svg width="24" height="24" viewBox="0 0 24 24"><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 class="file-item">
<div class="type-icon type-blue"></div>
<div class="file-text">
<div class="file-title">Biography</div>
<div class="file-sub">You opened • Oct 6, 2023</div>
</div>
<div class="more">
<svg width="24" height="24" viewBox="0 0 24 24"><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>
<!-- Floating actions -->
<div class="fab-camera">
<svg width="60" height="60" viewBox="0 0 24 24">
<path fill="#f5e9dc" d="M7 7h3l2-2h4l2 2h2v12H4V7h3zm1 3a6 6 0 1012 0 6 6 0 00-12 0zm6 4a4 4 0 110-8 4 4 0 010 8z"/>
</svg>
</div>
<div class="fab-new">
<svg width="40" height="40" viewBox="0 0 24 24"><path fill="#f4e8dc" d="M11 5h2v14h-2zM5 11h14v2H5z"/></svg>
<div>New</div>
</div>
<!-- Bottom nav -->
<div class="bottom-nav">
<div class="nav-item">
<div class="nav-icon nav-active">
<svg width="40" height="40" viewBox="0 0 24 24"><path fill="#f5e9dc" d="M12 3l9 8v10h-6v-6H9v6H3V11z"/></svg>
</div>
<div style="color:#f5e9dc;">Home</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg width="40" height="40" viewBox="0 0 24 24"><path fill="#d8c7b7" d="M12 17.3l-6.16 3.24 1.18-6.88-5-4.86 6.91-1L12 1l3.07 6.8 6.91 1-5 4.86 1.18 6.88z"/></svg>
</div>
<div>Starred</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg width="44" height="44" viewBox="0 0 24 24"><path fill="#d8c7b7" d="M12 12a4 4 0 100-8 4 4 0 000 8zm-7 9v-1a7 7 0 0114 0v1H5z"/></svg>
</div>
<div>Shared</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg width="42" height="42" viewBox="0 0 24 24"><path fill="#d8c7b7" d="M3 6h18v12H3zM5 8v8h14V8z"/></svg>
</div>
<div>Files</div>
</div>
</div>
<div class="gesture"></div>
</div>
</body>
</html>