AndroidCode / code /10084 /10084_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1440, initial-scale=1.0">
<title>Drive Dark UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
width: 1440px; height: 3120px;
position: relative; overflow: hidden;
background: #121212; color: #EDEDED;
}
/* Top status bar */
.status-bar {
height: 120px;
padding: 0 48px;
display: flex;
align-items: center;
justify-content: space-between;
color: #FFFFFF;
font-weight: 600;
font-size: 40px;
}
.status-right { display: flex; align-items: center; gap: 28px; }
.status-icon svg { width: 40px; height: 40px; fill: #CFCFCF; }
/* Search */
.search-area { padding: 12px 40px 0 40px; }
.search-row {
display: flex; align-items: center; gap: 30px;
}
.hamburger {
width: 80px; height: 80px; border-radius: 40px; display: flex; align-items: center; justify-content: center;
}
.search-bar {
flex: 1;
height: 120px;
background: #1f2d23;
border-radius: 60px;
display: flex; align-items: center; padding: 0 40px; color: #9FB19E;
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
font-size: 44px; letter-spacing: 0.2px;
}
.search-bar svg { width: 48px; height: 48px; fill: #9FB19E; margin-right: 24px; }
.avatar {
width: 96px; height: 96px; border-radius: 48px; background: #2D4B35; color: #E6F5E8;
display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 48px;
}
/* Tabs */
.tabs {
display: flex; gap: 60px; padding: 28px 60px 24px 60px; align-items: center; font-size: 44px;
}
.tab { color: #9FA5A1; }
.tab.active { color: #9ED38D; font-weight: 700; }
.tab-indicator {
width: 160px; height: 10px; background: #8FD57A; border-radius: 6px; margin-left: 60px;
}
.divider { height: 2px; background: #2A2A2A; margin-top: 18px; }
/* File card list */
.file-card {
margin: 40px 40px 60px 40px;
padding: 40px 40px 32px 40px;
border-radius: 36px;
background: #1A1A1A;
box-shadow: 0 2px 0 rgba(255,255,255,0.04);
}
.file-head {
display: flex; align-items: center; justify-content: space-between;
}
.file-left {
display: flex; align-items: center; gap: 28px;
font-size: 44px; font-weight: 600;
}
.badge {
width: 80px; height: 80px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
color: #FFFFFF; font-weight: 800; font-size: 36px;
}
.badge.pdf { background: #D84545; }
.badge.doc { background: #5B84E8; }
.kebab { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.kebab svg { width: 12px; height: 48px; fill: #CFCFCF; }
.preview {
margin-top: 28px;
width: 100%;
height: 560px;
border-radius: 28px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 44px;
}
.meta-row {
display: flex; align-items: center; gap: 24px; margin: 24px 40px 40px 40px; font-size: 40px; color: #C9D6CE;
}
.meta-avatar {
width: 92px; height: 92px; border-radius: 46px; background: #2D4B35; color: #E6F5E8; display: flex;
align-items: center; justify-content: center; font-weight: 700; font-size: 44px;
}
/* FAB */
.fab {
position: absolute; right: 60px; bottom: 860px;
width: 160px; height: 160px; border-radius: 80px;
background: #2D4B35; color: #E6F5E8; display: flex; align-items: center; justify-content: center;
box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}
.fab svg { width: 90px; height: 90px; fill: #E6F5E8; }
/* Bottom navigation */
.bottom-nav {
position: absolute; left: 0; right: 0; bottom: 0;
height: 240px; background: #151515; border-top: 1px solid #262626;
display: flex; align-items: center; justify-content: space-around;
}
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 16px; color: #CFCFCF; font-size: 38px; }
.nav-item svg { width: 54px; height: 54px; fill: #CFCFCF; }
.nav-item.active {
color: #E6F5E8;
}
.active .pill {
background: #2D4B35;
color: #E6F5E8;
border-radius: 48px;
padding: 24px 38px;
display: flex; align-items: center; gap: 18px;
}
.active .pill svg { fill: #E6F5E8; width: 56px; height: 56px; }
/* Gesture bar */
.gesture {
position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
width: 320px; height: 18px; border-radius: 10px; background: #EDEDED; opacity: 0.8;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>5:33</div>
<div class="status-right">
<div class="status-icon">
<!-- temperature -->
<span style="font-size:36px;color:#CFCFCF;">96°</span>
</div>
<div class="status-icon">
<!-- battery -->
<svg viewBox="0 0 24 24"><path d="M18 6h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-1v2h-2v-2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h10zM6 8v8h12V8H6z"/></svg>
</div>
<div class="status-icon">
<!-- wifi -->
<svg viewBox="0 0 24 24"><path d="M12 18l2-2-2-2-2 2 2 2zm-6-6 2-2 4 4 4-4 2 2-6 6-6-6zm-4-4 2-2 8 8 8-8 2 2-10 10L2 8z"/></svg>
</div>
</div>
</div>
<!-- Search Row -->
<div class="search-area">
<div class="search-row">
<div class="hamburger">
<svg viewBox="0 0 24 24" width="64" height="64" fill="#CFCFCF"><path d="M3 6h18v2H3V6zm0 5h18v2H3v-2zm0 5h18v2H3v-2z"/></svg>
</div>
<div class="search-bar">
<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16a6.47 6.47 0 0 0 4.23-1.57l.27.28v.79L20 21l1-1-5.5-6zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z"/></svg>
<span>Search in Drive</span>
</div>
<div class="avatar">C</div>
</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab active">Suggested</div>
<div class="tab">Notifications</div>
</div>
<div class="tab-indicator"></div>
<div class="divider"></div>
<!-- First File Card -->
<div class="file-card">
<div class="file-head">
<div class="file-left">
<div class="badge pdf">PDF</div>
<div>08.24_dinner-veg (3).pdf</div>
</div>
<div class="kebab">
<svg viewBox="0 0 6 24"><circle cx="3" cy="4" r="2"/><circle cx="3" cy="12" r="2"/><circle cx="3" cy="20" r="2"/></svg>
</div>
</div>
<div class="preview">[IMG: PDF Preview - Menu page]</div>
</div>
<div class="meta-row">
<div class="meta-avatar">C</div>
<div>You edited today</div>
</div>
<!-- Second File Card -->
<div class="file-card">
<div class="file-head">
<div class="file-left">
<div class="badge doc">TXT</div>
<div>agents.txt</div>
</div>
<div class="kebab">
<svg viewBox="0 0 6 24"><circle cx="3" cy="4" r="2"/><circle cx="3" cy="12" r="2"/><circle cx="3" cy="20" r="2"/></svg>
</div>
</div>
<div class="preview">[IMG: Text file preview]</div>
</div>
<!-- Floating Action Button -->
<div class="fab">
<svg viewBox="0 0 24 24"><path d="M11 5h2v6h6v2h-6v6h-2v-6H5v-2h6V5z"/></svg>
</div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-item active">
<div class="pill">
<svg viewBox="0 0 24 24"><path d="M12 3 2 12h3v8h6v-5h2v5h6v-8h3L12 3z"/></svg>
<span>Home</span>
</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>
<span>Starred</span>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M16 11c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3zm-8 0c1.66 0 3-1.34 3-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.67 0-8 1.34-8 4v2h12v-2c0-2.66-5.33-4-8-4zm8 0c-.59 0-1.16.06-1.7.16 1.95 1.11 3.7 2.63 3.7 4.84V19h8v-2c0-2.66-5.33-4-10-4z"/></svg>
<span>Shared</span>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24"><path d="M4 4h16v4H4V4zm0 6h16v10H4V10zm2 2v6h12v-6H6z"/></svg>
<span>Files</span>
</div>
</div>
<div class="gesture"></div>
</div>
</body>
</html>