AndroidCode / code /10117 /10117_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
10 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Drawer Menu - Dark</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #0d0f0e;
border-radius: 0;
box-shadow: none;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0;
height: 120px; background: #121212; color: #eaeaea;
display: flex; align-items: center; justify-content: space-between;
padding: 0 36px;
font-weight: 600;
}
.status-left { display: flex; align-items: center; gap: 24px; font-size: 40px; }
.status-right { display: flex; align-items: center; gap: 26px; color: #eaeaea; }
.status-icon svg { width: 44px; height: 44px; fill: none; stroke: #eaeaea; stroke-width: 3; }
/* Overlay inbox backdrop (right side) */
.inbox-backdrop {
position: absolute; top: 120px; right: 0; width: 220px; height: 2000px;
background: linear-gradient(180deg, rgba(20,20,20,0.8), rgba(20,20,20,0.95));
}
/* Drawer */
.drawer {
position: absolute; top: 120px; left: 0; width: 860px; height: 2160px;
background: #1b211c;
box-shadow: 8px 0 20px rgba(0,0,0,0.6);
color: #f6f6f6;
overflow: hidden;
}
.drawer-content {
padding: 32px 40px 40px 40px;
}
.menu-item {
display: flex; align-items: center; justify-content: space-between;
padding: 26px 0;
border-bottom: 0 solid transparent;
}
.menu-left {
display: flex; align-items: center; gap: 32px;
}
.menu-icon {
width: 48px; height: 48px;
}
.menu-icon svg {
width: 48px; height: 48px;
stroke: #e9ece7; fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
}
.label { font-size: 40px; color: #e9ece7; }
.count { font-size: 36px; color: #e9ece7; font-weight: 600; }
.section-title {
font-size: 28px; color: #b7beb7; margin-top: 14px; margin-bottom: 6px;
}
.divider {
height: 1px; background: #2a2f29; margin: 28px -40px 18px;
}
.footer-divider {
height: 2px; background: #2a2f29; margin: 16px -40px 6px;
}
/* Gesture bar */
.gesture {
position: absolute; bottom: 30px; left: 50%;
transform: translateX(-50%);
width: 300px; height: 12px; border-radius: 8px;
background: #e7e7e7;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<span>11:25</span>
<span class="status-icon">
<!-- lock -->
<svg viewBox="0 0 24 24"><path d="M6 10h12v10H6z"/><path d="M8 10V7a4 4 0 0 1 8 0v3"/></svg>
</span>
<span class="status-icon">
<!-- magnifier -->
<svg viewBox="0 0 24 24"><circle cx="10" cy="10" r="6"/><path d="M15 15l6 6"/></svg>
</span>
<span class="status-icon">
<!-- badge LR (square) -->
<svg viewBox="0 0 24 24"><rect x="3" y="4" width="18" height="16" rx="2"/><path d="M6 9h5M6 13h8"/></svg>
</span>
<span class="status-icon">
<!-- N glyph -->
<svg viewBox="0 0 24 24"><path d="M4 19V5l16 14V5"/></svg>
</span>
<span class="status-icon">
<!-- dot -->
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="2" fill="#eaeaea"/></svg>
</span>
</div>
<div class="status-right">
<span class="status-icon">
<!-- do-not-disturb circle -->
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M7 12h10"/></svg>
</span>
<span class="status-icon">
<!-- wifi -->
<svg viewBox="0 0 24 24"><path d="M2 9c5-5 15-5 20 0"/><path d="M6 13c3-3 9-3 12 0"/><path d="M10 17c1-1 3-1 4 0"/><circle cx="12" cy="20" r="1" fill="#eaeaea"/></svg>
</span>
<span class="status-icon">
<!-- battery -->
<svg viewBox="0 0 28 24"><rect x="2" y="6" width="22" height="12" rx="2"/><rect x="24" y="9" width="2" height="6"/><rect x="4" y="8" width="18" height="8" fill="#eaeaea" stroke="none"/></svg>
</span>
<span style="font-size: 36px;">100%</span>
</div>
</div>
<!-- Backdrop glimpse of inbox -->
<div class="inbox-backdrop"></div>
<!-- Drawer -->
<div class="drawer">
<div class="drawer-content">
<div class="menu-item" style="padding-top: 8px;">
<div class="menu-left">
<div class="menu-icon">
<!-- person -->
<svg viewBox="0 0 24 24"><circle cx="12" cy="8" r="4"/><path d="M4 20c2.5-4 13.5-4 16 0"/></svg>
</div>
<div class="label">Social</div>
</div>
</div>
<div class="section-title">All labels</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- star -->
<svg viewBox="0 0 24 24"><path d="M12 3l3 6 7 1-5 4 2 7-7-4-7 4 2-7-5-4 7-1z"/></svg>
</div>
<div class="label">Starred</div>
</div>
</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- clock -->
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M12 7v6l4 2"/></svg>
</div>
<div class="label">Snoozed</div>
</div>
</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- important tag/ribbon -->
<svg viewBox="0 0 24 24"><path d="M6 4h10l2 4-2 4H6z"/><path d="M6 12l4 8"/></svg>
</div>
<div class="label">Important</div>
</div>
<div class="count">2</div>
</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- sent - paper plane -->
<svg viewBox="0 0 24 24"><path d="M3 12l18-9-6 18-4-6-8-3z"/></svg>
</div>
<div class="label">Sent</div>
</div>
</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- scheduled - megaphone + small clock -->
<svg viewBox="0 0 24 24"><path d="M3 13l12-5v8L3 11z"/><path d="M9 16l1 3"/><circle cx="18" cy="9" r="4"/><path d="M18 7v2l1 1"/></svg>
</div>
<div class="label">Scheduled</div>
</div>
</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- outbox - rectangle + plane -->
<svg viewBox="0 0 24 24"><rect x="4" y="5" width="16" height="12" rx="2"/><path d="M7 11l6-3-2 6-2-2-2-1z"/></svg>
</div>
<div class="label">Outbox</div>
</div>
</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- drafts - document -->
<svg viewBox="0 0 24 24"><path d="M6 4h9l3 3v13H6z"/><path d="M15 4v3h3"/></svg>
</div>
<div class="label">Drafts</div>
</div>
<div class="count">1</div>
</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- all mail - envelope -->
<svg viewBox="0 0 24 24"><rect x="3" y="6" width="18" height="12" rx="2"/><path d="M3 8l9 6 9-6"/></svg>
</div>
<div class="label">All mail</div>
</div>
<div class="count">10</div>
</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- spam - octagon ! -->
<svg viewBox="0 0 24 24"><path d="M8 3h8l5 5v8l-5 5H8l-5-5V8z"/><path d="M12 8v6"/><circle cx="12" cy="17" r="1" fill="#e9ece7"/></svg>
</div>
<div class="label">Spam</div>
</div>
</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- trash -->
<svg viewBox="0 0 24 24"><path d="M5 7h14"/><path d="M7 7l1 13h8l1-13"/><path d="M9 4h6l1 3H8z"/></svg>
</div>
<div class="label">Trash</div>
</div>
<div class="count">2</div>
</div>
<div class="section-title" style="margin-top: 12px;">Google apps</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- calendar -->
<svg viewBox="0 0 24 24"><rect x="4" y="6" width="16" height="14" rx="2"/><path d="M7 3v5M17 3v5"/><path d="M4 10h16"/></svg>
</div>
<div class="label">Calendar</div>
</div>
</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- contacts - person -->
<svg viewBox="0 0 24 24"><circle cx="12" cy="8" r="4"/><path d="M4 20c2.5-4 13.5-4 16 0"/></svg>
</div>
<div class="label">Contacts</div>
</div>
</div>
<div class="footer-divider"></div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- settings gear (simple) -->
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"/><path d="M4 12h3M17 12h3M12 4v3M12 17v3M6 6l2 2M16 16l2 2M6 18l2-2M16 8l2-2"/></svg>
</div>
<div class="label">Settings</div>
</div>
</div>
<div class="menu-item">
<div class="menu-left">
<div class="menu-icon">
<!-- help -->
<svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/><path d="M9.5 9a2.5 2.5 0 0 1 5 0c0 2-2.5 2-2.5 4"/><circle cx="12" cy="17" r="1" fill="#e9ece7"/></svg>
</div>
<div class="label">Help &amp; feedback</div>
</div>
</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>