AndroidCode / code /1014 /1014_5.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
12.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>Drive Dark UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
position: relative;
overflow: hidden;
width: 1080px;
height: 2400px;
background: #1a1410;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #e6ddd3;
}
/* Status bar */
.status-bar {
position: absolute;
top: 24px;
left: 36px;
right: 36px;
height: 60px;
color: #e8e0d6;
display: flex;
align-items: center;
justify-content: space-between;
opacity: 0.95;
font-weight: 600;
letter-spacing: 1px;
}
.status-right { display: flex; align-items: center; gap: 26px; }
/* Search bar */
.search-wrap {
position: absolute;
top: 108px;
left: 36px;
right: 36px;
height: 96px;
display: flex;
align-items: center;
background: #2b221c;
border-radius: 48px;
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}
.hamburger {
width: 92px;
height: 100%;
display: flex; align-items: center; justify-content: center;
}
.search-placeholder {
color: #b9aa9e;
font-size: 36px;
flex: 1;
}
.avatar {
width: 86px; height: 86px; border-radius: 50%;
background: #8a2c6d;
color: #ffdce6;
font-weight: 700;
display: flex; align-items: center; justify-content: center;
margin-right: 10px;
box-shadow: 0 3px 8px rgba(0,0,0,0.35);
}
/* Tabs */
.tabs {
position: absolute;
top: 238px;
left: 36px;
right: 36px;
}
.tab-row {
display: flex; justify-content: space-between; align-items: center;
padding: 0 6px;
}
.tab {
font-size: 40px;
color: #a89789;
}
.tab.active { color: #e6ddd3; }
.tab-underline {
margin-top: 24px;
height: 6px;
background: #3a2f28;
border-radius: 3px;
position: relative;
}
.tab-underline::after {
content: "";
position: absolute;
left: 0; top: -2px;
width: 38%;
height: 10px;
background: #c08a61;
border-radius: 5px;
}
/* Files header */
.files-head {
position: absolute;
top: 354px;
left: 36px;
right: 36px;
display: flex; align-items: center; justify-content: space-between;
color: #a89789;
font-size: 40px;
}
/* List */
.list {
position: absolute;
top: 426px;
left: 18px;
right: 18px;
padding: 0 18px 280px;
overflow: hidden;
}
.item {
display: flex;
align-items: center;
height: 150px;
border-bottom: 1px solid rgba(255,255,255,0.04);
}
.file-icon {
width: 84px; height: 84px; border-radius: 12px;
display: flex; align-items: center; justify-content: center;
margin-right: 34px;
box-shadow: inset 0 0 0 2px rgba(255,255,255,0.05);
}
.file-icon.light-green { background: rgba(190,193,97,0.15); border: 2px solid #c7c36b; }
.file-icon.ppt { background: rgba(202,114,92,0.2); border: 2px solid #d4846e; }
.file-icon.pdf { background: rgba(197,73,73,0.2); border: 2px solid #d16969; }
.texts { flex: 1; }
.title {
font-size: 48px; line-height: 1.1;
color: #dcd2c7;
}
.meta {
margin-top: 8px;
color: #9f9084;
font-size: 34px;
}
.kebab {
width: 84px; height: 84px;
display: flex; align-items: center; justify-content: center;
}
/* Bottom sheet */
.sheet {
position: absolute;
left: 0; right: 0; bottom: 0;
height: 620px;
background: #251c16;
border-top-left-radius: 36px;
border-top-right-radius: 36px;
box-shadow: 0 -10px 30px rgba(0,0,0,0.45);
padding-top: 40px;
}
.actions {
margin-top: 40px;
display: grid;
grid-template-columns: repeat(3, 1fr);
row-gap: 46px;
padding: 0 64px;
}
.action {
display: flex; flex-direction: column; align-items: center; gap: 22px;
color: #cabdb1;
}
.circle {
width: 148px; height: 148px; border-radius: 50%;
border: 2px solid rgba(255,255,255,0.25);
display: flex; align-items: center; justify-content: center;
color: #e6ddd3;
}
.label { font-size: 34px; color: #cabdb1; }
/* Home indicator */
.home-indicator {
position: absolute;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
width: 220px; height: 10px;
border-radius: 8px;
background: rgba(255,255,255,0.85);
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">9:13</div>
<div class="status-right">
<!-- simple network icon -->
<svg width="44" height="44" viewBox="0 0 24 24" fill="none">
<path d="M3 17l9-9 9 9" stroke="#efe7de" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<circle cx="12" cy="17" r="2" fill="#efe7de"/>
</svg>
<!-- battery -->
<svg width="50" height="44" viewBox="0 0 28 24" fill="none">
<rect x="1" y="4" width="22" height="16" rx="2" stroke="#efe7de" stroke-width="2"/>
<rect x="3" y="6" width="18" height="12" fill="#efe7de"/>
<rect x="23" y="9" width="3" height="6" rx="1" fill="#efe7de"/>
</svg>
</div>
</div>
<!-- Search bar -->
<div class="search-wrap">
<div class="hamburger">
<svg width="44" height="44" viewBox="0 0 24 24">
<path d="M3 6h18M3 12h14M3 18h18" stroke="#d7cec4" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="search-placeholder">Search in Drive</div>
<div class="avatar">C</div>
</div>
<!-- Tabs -->
<div class="tabs">
<div class="tab-row">
<div class="tab active">Suggested</div>
<div class="tab">Activity</div>
</div>
<div class="tab-underline"></div>
</div>
<!-- Files header -->
<div class="files-head">
<div>Files</div>
<div>
<!-- grid icon -->
<svg width="64" height="64" viewBox="0 0 24 24">
<rect x="3" y="3" width="7" height="7" rx="1" fill="#a89789"/>
<rect x="14" y="3" width="7" height="7" rx="1" fill="#a89789"/>
<rect x="3" y="14" width="7" height="7" rx="1" fill="#a89789"/>
<rect x="14" y="14" width="7" height="7" rx="1" fill="#a89789"/>
</svg>
</div>
</div>
<!-- File list -->
<div class="list">
<!-- Item 1 -->
<div class="item">
<div class="file-icon light-green"></div>
<div class="texts">
<div class="title">Globalisation</div>
<div class="meta">You opened • 8:21 AM</div>
</div>
<div class="kebab">
<svg width="40" height="40" viewBox="0 0 24 24" fill="#a89789">
<circle cx="12" cy="5" r="2"/><circle cx="12" cy="12" r="2"/><circle cx="12" cy="19" r="2"/>
</svg>
</div>
</div>
<!-- Item 2 -->
<div class="item">
<div class="file-icon ppt">
<span style="color:#e6ddd3; font-weight:700;">P</span>
</div>
<div class="texts">
<div class="title">Greenwood .pptx</div>
<div class="meta">You opened • 8:15 AM</div>
</div>
<div class="kebab">
<svg width="40" height="40" viewBox="0 0 24 24" fill="#a89789">
<circle cx="12" cy="5" r="2"/><circle cx="12" cy="12" r="2"/><circle cx="12" cy="19" r="2"/>
</svg>
</div>
</div>
<!-- Item 3 -->
<div class="item">
<div class="file-icon light-green"></div>
<div class="texts">
<div class="title">Greenery</div>
<div class="meta">You opened • 8:13 AM</div>
</div>
<div class="kebab">
<svg width="40" height="40" viewBox="0 0 24 24" fill="#a89789">
<circle cx="12" cy="5" r="2"/><circle cx="12" cy="12" r="2"/><circle cx="12" cy="19" r="2"/>
</svg>
</div>
</div>
<!-- Item 4 -->
<div class="item">
<div class="file-icon pdf">
<span style="color:#e6ddd3; font-weight:800; font-size:26px;">PDF</span>
</div>
<div class="texts">
<div class="title">Biography.pdf</div>
<div class="meta">You opened • 8:13 AM</div>
</div>
<div class="kebab">
<svg width="40" height="40" viewBox="0 0 24 24" fill="#a89789">
<circle cx="12" cy="5" r="2"/><circle cx="12" cy="12" r="2"/><circle cx="12" cy="19" r="2"/>
</svg>
</div>
</div>
<!-- Item 5 -->
<div class="item">
<div class="file-icon pdf">
<span style="color:#e6ddd3; font-weight:800; font-size:26px;">PDF</span>
</div>
<div class="texts">
<div class="title">Amsterdam.pdf</div>
<div class="meta">You opened • 8:13 AM</div>
</div>
<div class="kebab">
<svg width="40" height="40" viewBox="0 0 24 24" fill="#a89789">
<circle cx="12" cy="5" r="2"/><circle cx="12" cy="12" r="2"/><circle cx="12" cy="19" r="2"/>
</svg>
</div>
</div>
<!-- Item 6 -->
<div class="item">
<div class="file-icon light-green"></div>
<div class="texts">
<div class="title">Greenery.pdf</div>
<div class="meta">You opened • 8:13 AM</div>
</div>
<div class="kebab">
<svg width="40" height="40" viewBox="0 0 24 24" fill="#a89789">
<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>
<!-- Bottom Sheet Actions -->
<div class="sheet">
<div class="actions">
<!-- Row 1 -->
<div class="action">
<div class="circle">
<!-- folder icon -->
<svg width="64" height="64" viewBox="0 0 24 24" fill="none">
<path d="M3 7h6l2 2h10v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7z" stroke="#e6ddd3" stroke-width="2" />
</svg>
</div>
<div class="label">Folder</div>
</div>
<div class="action">
<div class="circle">
<!-- upload icon -->
<svg width="64" height="64" viewBox="0 0 24 24" fill="none">
<path d="M12 16V6m0 0l-4 4m4-4l4 4" stroke="#e6ddd3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<rect x="4" y="16" width="16" height="4" rx="1" fill="#e6ddd3"/>
</svg>
</div>
<div class="label">Upload</div>
</div>
<div class="action">
<div class="circle">
<!-- camera icon -->
<svg width="64" height="64" viewBox="0 0 24 24" fill="none">
<rect x="3" y="7" width="18" height="12" rx="3" stroke="#e6ddd3" stroke-width="2"/>
<circle cx="12" cy="13" r="3" stroke="#e6ddd3" stroke-width="2"/>
<rect x="8" y="5" width="4" height="2" rx="1" fill="#e6ddd3"/>
</svg>
</div>
<div class="label">Scan</div>
</div>
<!-- Row 2 -->
<div class="action">
<div class="circle">
<!-- docs icon -->
<svg width="64" height="64" viewBox="0 0 24 24" fill="none">
<rect x="5" y="3" width="14" height="18" rx="2" fill="#3d6fd6"/>
<rect x="7" y="8" width="10" height="1.8" fill="#cfe0ff"/>
<rect x="7" y="11" width="10" height="1.8" fill="#cfe0ff"/>
<rect x="7" y="14" width="7" height="1.8" fill="#cfe0ff"/>
</svg>
</div>
<div class="label">Google Docs</div>
</div>
<div class="action">
<div class="circle">
<!-- sheets icon -->
<svg width="64" height="64" viewBox="0 0 24 24" fill="none">
<rect x="5" y="3" width="14" height="18" rx="2" fill="#3a9d5a"/>
<rect x="8" y="8" width="8" height="8" fill="#bfe6c8"/>
<path d="M12 8v8M8 12h8" stroke="#3a9d5a" stroke-width="2"/>
</svg>
</div>
<div class="label">Google Sheets</div>
</div>
<div class="action">
<div class="circle">
<!-- slides icon -->
<svg width="64" height="64" viewBox="0 0 24 24" fill="none">
<rect x="5" y="3" width="14" height="18" rx="2" fill="#c9a332"/>
<rect x="7" y="7" width="10" height="10" fill="#ffe7a3"/>
<rect x="9" y="9" width="6" height="3" fill="#c9a332"/>
</svg>
</div>
<div class="label">Google Slides</div>
</div>
</div>
</div>
<!-- Home pill -->
<div class="home-indicator"></div>
</div>
</body>
</html>