AndroidCode / code /1014 /1014_9.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
12.1 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Drive Dark UI 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: #24160E; color: #EAD7C6;
}
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 110px; background: #1A120C; color: #EAD7C6;
padding: 0 40px; display: flex; align-items: center; justify-content: space-between;
font-size: 40px; letter-spacing: 0.5px;
}
.status-icons { display: flex; gap: 24px; align-items: center; }
.search-area {
position: absolute; top: 110px; left: 0; right: 0; height: 140px;
padding: 0 32px; display: flex; align-items: center;
background: #24160E;
}
.search-pill {
height: 96px; width: 100%; border-radius: 48px;
background: #4A3A2E; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
display: flex; align-items: center; padding: 0 28px; gap: 22px;
color: #EAD7C6; font-size: 40px;
}
.avatar {
margin-left: auto; width: 86px; height: 86px; border-radius: 43px;
background: #D73F7C; display: flex; align-items: center; justify-content: center;
font-weight: bold; color: #fff; box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}
.tabs {
position: absolute; top: 250px; left: 0; right: 0; height: 120px;
display: flex; align-items: flex-end; justify-content: space-between;
padding: 0 48px; color: #D8C2AF; font-size: 40px;
border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tab-active { color: #F0C089; position: relative; padding-bottom: 26px; }
.tab-active::after {
content: ""; position: absolute; left: 0; bottom: -1px; width: 360px; height: 8px;
background: #E39B58; border-radius: 6px;
}
.files-header {
position: absolute; top: 370px; left: 40px; right: 40px; height: 80px;
display: flex; align-items: center; justify-content: space-between;
color: #D8C2AF; font-size: 34px;
}
.list {
position: absolute; top: 450px; left: 20px; right: 20px; bottom: 330px;
overflow: hidden;
}
.row {
display: flex; align-items: center;
padding: 34px 20px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.file-title { font-size: 44px; color: #EAD7C6; }
.file-sub { font-size: 30px; color: #B59B86; margin-top: 6px; display: flex; align-items: center; gap: 12px; }
.file-left { display: flex; align-items: center; gap: 28px; flex: 1; }
.kebab { width: 40px; height: 40px; }
.badge {
width: 70px; height: 70px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
color: #3C2D20; font-weight: bold; border: 1px solid rgba(0,0,0,0.2);
}
.folder { background: #FFD966; }
.pdf { background: #E66A6A; color: #fff; font-size: 26px; }
.ppt { background: #F39B62; color: #fff; font-size: 36px; }
.doc { background: #6FA8FF; color: #fff; font-size: 30px; }
/* Floating actions */
.fab-camera {
position: absolute; right: 48px; bottom: 420px;
width: 140px; height: 140px; border-radius: 70px;
background: #406A3A; display: flex; align-items: center; justify-content: center;
box-shadow: 0 12px 22px rgba(0,0,0,0.4);
}
.new-pill {
position: absolute; right: 180px; bottom: 300px;
height: 120px; width: 240px; border-radius: 28px;
background: #5A4538; color: #EAD7C6; display: flex; align-items: center; justify-content: center;
gap: 16px; font-size: 42px; box-shadow: 0 10px 18px rgba(0,0,0,0.45);
}
.toast {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 220px; width: 860px; height: 120px; border-radius: 60px;
background: #5B544F; color: #EAD7C6; display: flex; align-items: center; gap: 22px;
padding: 0 28px; box-shadow: 0 8px 16px rgba(0,0,0,0.35);
font-size: 34px;
}
.drive-icon { width: 74px; height: 74px; border-radius: 37px; background: #3E3E3E; display: flex; align-items: center; justify-content: center; }
/* Bottom nav */
.bottom-nav {
position: absolute; left: 0; right: 0; bottom: 0; height: 170px;
background: #2A1C12; border-top: 1px solid rgba(255,255,255,0.06);
display: flex; align-items: center; justify-content: space-around;
color: #CDB7A5; font-size: 30px;
}
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nav-active-label { color: #F0C089; }
.nav-active-bubble {
position: absolute; left: 40px; bottom: 126px; width: 120px; height: 84px;
background: #4A3A2E; border-radius: 42px;
}
.gesture {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 20px; width: 240px; height: 12px; border-radius: 6px; background: #EEE;
opacity: 0.85;
}
/* Small helpers */
.icon { width: 46px; height: 46px; }
.person-dot { width: 34px; height: 34px; border-radius: 17px; background: #B59B86; display: inline-block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>9:16</div>
<div class="status-icons">
<!-- two small status icons -->
<svg class="icon" viewBox="0 0 24 24"><path fill="#DCC7B4" d="M12 2L2 12h5v8h10v-8h5L12 2z"/></svg>
<!-- wifi -->
<svg class="icon" viewBox="0 0 24 24"><path fill="#EAD7C6" d="M12 18a2 2 0 1 0 0.001 0z"/><path fill="#EAD7C6" d="M2 9c5-5 15-5 20 0l-2 2c-4-4-12-4-16 0L2 9z"/><path fill="#EAD7C6" d="M6 13c3-3 9-3 12 0l-2 2c-2-2-6-2-8 0l-2-2z"/></svg>
<!-- battery -->
<svg class="icon" viewBox="0 0 24 24"><rect x="2" y="6" width="18" height="12" rx="2" fill="none" stroke="#EAD7C6" stroke-width="2"/><rect x="4" y="8" width="12" height="8" fill="#EAD7C6"/><rect x="20" y="10" width="2" height="6" fill="#EAD7C6"/></svg>
</div>
</div>
<!-- Search -->
<div class="search-area">
<div class="search-pill">
<!-- hamburger -->
<svg class="icon" viewBox="0 0 24 24"><path fill="#EAD7C6" d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg>
<span>Search in Drive</span>
<div class="avatar">C</div>
</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab-active">Suggested</div>
<div>Activity</div>
</div>
<!-- Files header -->
<div class="files-header">
<div>Files</div>
<svg class="icon" viewBox="0 0 24 24"><path fill="#D8C2AF" d="M3 3h8v8H3V3zm10 0h8v8h-8V3zM3 13h8v8H3v-8zm10 8v-8h8v8h-8z"/></svg>
</div>
<!-- List -->
<div class="list">
<div class="row">
<div class="file-left">
<div class="badge folder"></div>
<div>
<div class="file-title">Globalisation</div>
<div class="file-sub">
<span class="person-dot"></span>
<span>You opened • 8:21 AM</span>
</div>
</div>
</div>
<svg class="kebab" viewBox="0 0 24 24"><circle cx="12" cy="5" r="2" fill="#C9B3A0"/><circle cx="12" cy="12" r="2" fill="#C9B3A0"/><circle cx="12" cy="19" r="2" fill="#C9B3A0"/></svg>
</div>
<div class="row">
<div class="file-left">
<div class="badge ppt">P</div>
<div>
<div class="file-title">Greenwood .pptx</div>
<div class="file-sub">You opened • 8:15 AM</div>
</div>
</div>
<svg class="kebab" viewBox="0 0 24 24"><circle cx="12" cy="5" r="2" fill="#C9B3A0"/><circle cx="12" cy="12" r="2" fill="#C9B3A0"/><circle cx="12" cy="19" r="2" fill="#C9B3A0"/></svg>
</div>
<div class="row">
<div class="file-left">
<div class="badge folder"></div>
<div>
<div class="file-title">Greenery</div>
<div class="file-sub">You opened • 8:13 AM</div>
</div>
</div>
<svg class="kebab" viewBox="0 0 24 24"><circle cx="12" cy="5" r="2" fill="#C9B3A0"/><circle cx="12" cy="12" r="2" fill="#C9B3A0"/><circle cx="12" cy="19" r="2" fill="#C9B3A0"/></svg>
</div>
<div class="row">
<div class="file-left">
<div class="badge pdf">PDF</div>
<div>
<div class="file-title">Biography.pdf</div>
<div class="file-sub">You opened • 8:13 AM</div>
</div>
</div>
<svg class="kebab" viewBox="0 0 24 24"><circle cx="12" cy="5" r="2" fill="#C9B3A0"/><circle cx="12" cy="12" r="2" fill="#C9B3A0"/><circle cx="12" cy="19" r="2" fill="#C9B3A0"/></svg>
</div>
<div class="row">
<div class="file-left">
<div class="badge pdf">PDF</div>
<div>
<div class="file-title">Amsterdam.pdf</div>
<div class="file-sub">You opened • 8:13 AM</div>
</div>
</div>
<svg class="kebab" viewBox="0 0 24 24"><circle cx="12" cy="5" r="2" fill="#C9B3A0"/><circle cx="12" cy="12" r="2" fill="#C9B3A0"/><circle cx="12" cy="19" r="2" fill="#C9B3A0"/></svg>
</div>
<div class="row">
<div class="file-left">
<div class="badge pdf">PDF</div>
<div>
<div class="file-title">Greenery.pdf</div>
<div class="file-sub">You opened • 8:13 AM</div>
</div>
</div>
<svg class="kebab" viewBox="0 0 24 24"><circle cx="12" cy="5" r="2" fill="#C9B3A0"/><circle cx="12" cy="12" r="2" fill="#C9B3A0"/><circle cx="12" cy="19" r="2" fill="#C9B3A0"/></svg>
</div>
<div class="row">
<div class="file-left">
<div class="badge pdf">PDF</div>
<div>
<div class="file-title">Biography.pdf</div>
<div class="file-sub">You opened • 8:15 AM</div>
</div>
</div>
<svg class="kebab" viewBox="0 0 24 24"><circle cx="12" cy="5" r="2" fill="#C9B3A0"/><circle cx="12" cy="12" r="2" fill="#C9B3A0"/><circle cx="12" cy="19" r="2" fill="#C9B3A0"/></svg>
</div>
<div class="row">
<div class="file-left">
<div class="badge doc">DOC</div>
<div>
<div class="file-title">Biography</div>
<div class="file-sub">You opened • 8:13 AM</div>
</div>
</div>
<svg class="kebab" viewBox="0 0 24 24"><circle cx="12" cy="5" r="2" fill="#C9B3A0"/><circle cx="12" cy="12" r="2" fill="#C9B3A0"/><circle cx="12" cy="19" r="2" fill="#C9B3A0"/></svg>
</div>
</div>
<!-- Floating Camera FAB -->
<div class="fab-camera">
<svg viewBox="0 0 24 24" width="70" height="70">
<path fill="#FFFFFF" d="M6 7h3l2-2h6l2 2h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2z"/>
<circle cx="12" cy="13" r="4" fill="#2B7A3F"/>
<circle cx="12" cy="13" r="2.2" fill="#FFFFFF"/>
</svg>
</div>
<!-- New button -->
<div class="new-pill">
<svg viewBox="0 0 24 24" width="40" height="40"><path fill="#F0C089" d="M11 5h2v14h-2zM5 11h14v2H5z"/></svg>
<span>New</span>
</div>
<!-- Toast -->
<div class="toast">
<div class="drive-icon">
<svg viewBox="0 0 24 24" width="42" height="42">
<polygon points="12,2 7,11 12,20 17,11" fill="#2E7D32"/>
<polygon points="12,2 17,11 22,11 17,2" fill="#1976D2"/>
<polygon points="7,11 12,20 2,20 2,11" fill="#F9A825"/>
</svg>
</div>
<div>Your 1 file is being uploaded to: My Drive</div>
</div>
<!-- Bottom navigation -->
<div class="nav-active-bubble"></div>
<div class="bottom-nav">
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24"><path fill="#F0C089" d="M12 3l9 8h-3v9H6v-9H3l9-8z"/></svg>
<div class="nav-active-label">Home</div>
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24"><path fill="#CDB7A5" d="M12 2l3 7h7l-5.5 4 2.5 7-7-4.5-7 4.5L7.5 13 2 9h7z"/></svg>
<div>Starred</div>
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24"><path fill="#CDB7A5" d="M12 12a4 4 0 1 0 0.001-8.001A4 4 0 0 0 12 12zm-8 9c0-4 4-6 8-6s8 2 8 6v1H4v-1z"/></svg>
<div>Shared</div>
</div>
<div class="nav-item">
<svg class="icon" viewBox="0 0 24 24"><path fill="#CDB7A5" d="M4 3h16v18H4V3zm4 4h8v2H8V7zm0 4h8v2H8v-2zm0 4h8v2H8v-2z"/></svg>
<div>Files</div>
</div>
</div>
<div class="gesture"></div>
</div>
</body>
</html>