AndroidCode / code /10170 /10170_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
10.7 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Inbox 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:#0f0f12; border-radius:24px; box-shadow:0 10px 30px rgba(0,0,0,0.35);
color:#fff;
}
/* Top area */
.topbar {
position:absolute; left:0; top:0; width:100%; height:220px;
background:#5b45c9;
}
.status {
height:80px; display:flex; align-items:center; padding:0 32px; color:#fff; font-size:34px;
}
.status .icons { margin-left:auto; display:flex; align-items:center; gap:22px; }
.appbar {
height:140px; display:flex; align-items:center; padding:0 28px;
color:#fff;
}
.appbar .title { font-size:56px; font-weight:700; margin-left:24px; }
.appbar .right { margin-left:auto; display:flex; align-items:center; gap:36px; }
/* List */
.list {
position:absolute; left:0; right:0; top:220px; bottom:210px;
background:#101010; overflow:hidden; /* static mock, no scroll */
}
.item {
position:relative;
padding:34px 40px 30px 40px;
border-bottom:1px solid #1d1d1d;
background:#000;
}
.item.dim { background:#2b2b2f; }
.sender-row {
display:flex; align-items:center; gap:18px; margin-bottom:14px;
color:#e5e5e5; font-weight:700; font-size:40px;
}
.dot {
width:16px; height:16px; border-radius:50%; background:#3da7ff; display:inline-block;
}
.subject {
font-size:44px; font-weight:800; color:#fff; line-height:1.2; margin-bottom:10px;
}
.sub-dark { color:#ddd; font-weight:700; }
.preview-time {
display:flex; align-items:center; justify-content:space-between;
color:#b7b7b7; font-size:32px;
}
.time { color:#bcbcbc; margin-left:12px; white-space:nowrap; }
.star {
position:absolute; right:40px; top:36px;
}
.star svg { width:46px; height:46px; }
.star.outline svg path { fill:none; stroke:#bfbfbf; stroke-width:3; }
.star.filled svg path { fill:#ff8f3a; stroke:#ff8f3a; }
/* Bottom nav */
.bottom-nav {
position:absolute; left:0; right:0; bottom:0; height:190px;
background:#1b1b1d; display:flex; align-items:center; justify-content:space-around;
padding:0 40px;
}
.nav-icon { width:92px; height:92px; display:flex; align-items:center; justify-content:center; }
.nav-icon svg { width:72px; height:72px; }
.nav-icon .circle {
width:100px; height:100px; border-radius:50%; border:2px solid #666; display:flex; align-items:center; justify-content:center;
}
.gesture {
position:absolute; bottom:210px; left:50%; transform:translateX(-50%);
width:320px; height:14px; background:#e9e9e9; border-radius:12px; opacity:0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Top purple area -->
<div class="topbar">
<div class="status">
<div>12:34</div>
<div class="icons">
<!-- small status icons -->
<svg viewBox="0 0 24 24" width="30" height="30">
<circle cx="12" cy="12" r="9" fill="none" stroke="#fff" stroke-width="2"></circle>
<path d="M8 12h8" stroke="#fff" stroke-width="2" stroke-linecap="round"></path>
</svg>
<svg viewBox="0 0 24 24" width="30" height="30">
<path d="M4 8h16M4 12h12M4 16h8" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"></path>
</svg>
<svg viewBox="0 0 24 24" width="30" height="30">
<path d="M5 14l4-4 4 4 6-6" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<svg viewBox="0 0 24 24" width="30" height="30">
<path d="M3 12h14l4-3v6l-4-3H3z" fill="none" stroke="#fff" stroke-width="2"></path>
</svg>
</div>
</div>
<div class="appbar">
<!-- hamburger -->
<svg viewBox="0 0 24 24" width="48" height="48">
<path d="M3 6h18M3 12h18M3 18h18" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"></path>
</svg>
<div class="title">All Mail</div>
<div class="right">
<!-- pulse/zigzag icon -->
<svg viewBox="0 0 24 24" width="48" height="48">
<path d="M3 14l4-6 4 8 4-5 6 3" stroke="#fff" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<!-- search icon -->
<svg viewBox="0 0 24 24" width="48" height="48">
<circle cx="11" cy="11" r="7" stroke="#fff" stroke-width="2.5" fill="none"></circle>
<path d="M20 20l-4-4" stroke="#fff" stroke-width="2.5" stroke-linecap="round"></path>
</svg>
</div>
</div>
</div>
<!-- List items -->
<div class="list">
<!-- Email 1 -->
<div class="item">
<div class="sender-row">
<span class="dot"></span>
<span>Raghav Himatsingka</span>
</div>
<div class="subject">Secret 1 of Upcoming Masterclass For Your Child</div>
<div class="preview-time">
<div class="preview">Sneak Preview of your upcoming Masterclass!</div>
<div class="time">14m</div>
</div>
<div class="star outline">
<svg viewBox="0 0 24 24">
<path d="M12 3l3.1 6.3 7 1-5.1 4.7 1.5 7-6.5-3.6-6.5 3.6 1.5-7-5.1-4.7 7-1z"></path>
</svg>
</div>
</div>
<!-- Email 2 -->
<div class="item">
<div class="sender-row">
<span>Me &amp; dbwscratch.test.id6</span>
</div>
<div class="subject sub-dark">Re: Working from office</div>
<div class="preview-time">
<div class="preview">I will come office from 1 Sep 2023.</div>
<div class="time">1h</div>
</div>
<div class="star outline">
<svg viewBox="0 0 24 24">
<path d="M12 3l3.1 6.3 7 1-5.1 4.7 1.5 7-6.5-3.6-6.5 3.6 1.5-7-5.1-4.7 7-1z"></path>
</svg>
</div>
</div>
<!-- Email 3 -->
<div class="item">
<div class="sender-row">
<span>Me &amp; Cerebra</span>
</div>
<div class="subject">OFFICIAL WEEKEND PARTY</div>
<div class="preview-time">
<div class="preview">Thanks a lot.</div>
<div class="time">2h</div>
</div>
<div class="star outline">
<svg viewBox="0 0 24 24">
<path d="M12 3l3.1 6.3 7 1-5.1 4.7 1.5 7-6.5-3.6-6.5 3.6 1.5-7-5.1-4.7 7-1z"></path>
</svg>
</div>
</div>
<!-- Email 4 (Dim background + orange star) -->
<div class="item dim">
<div class="sender-row">
<span class="dot"></span>
<span>Glow Nurture</span>
</div>
<div class="subject">Your baby on Day 302</div>
<div class="preview-time">
<div class="preview"></div>
<div class="time">2h</div>
</div>
<div class="star filled">
<svg viewBox="0 0 24 24">
<path d="M12 3l3.1 6.3 7 1-5.1 4.7 1.5 7-6.5-3.6-6.5 3.6 1.5-7-5.1-4.7 7-1z"></path>
</svg>
</div>
</div>
<!-- Email 5 -->
<div class="item">
<div class="sender-row">
<span>Cerebra Research</span>
</div>
<div class="subject sub-dark">Event organiser</div>
<div class="preview-time">
<div class="preview">Hello, I am organising a small event on 14th August...</div>
<div class="time">2h</div>
</div>
<div class="star outline">
<svg viewBox="0 0 24 24">
<path d="M12 3l3.1 6.3 7 1-5.1 4.7 1.5 7-6.5-3.6-6.5 3.6 1.5-7-5.1-4.7 7-1z"></path>
</svg>
</div>
</div>
<!-- Email 6 -->
<div class="item">
<div class="sender-row">
<span>Me to Cerebra</span>
</div>
<div class="subject sub-dark">Business meeting with the Clients</div>
<div class="preview-time">
<div class="preview">We have a business meeting on August 30, 2023, s...</div>
<div class="time">2h</div>
</div>
<div class="star outline">
<svg viewBox="0 0 24 24">
<path d="M12 3l3.1 6.3 7 1-5.1 4.7 1.5 7-6.5-3.6-6.5 3.6 1.5-7-5.1-4.7 7-1z"></path>
</svg>
</div>
</div>
<!-- Email 7 -->
<div class="item">
<div class="sender-row">
<span>Google</span>
</div>
<div class="subject sub-dark">Security alert</div>
<div class="preview-time">
<div class="preview">Newton by CloudMagic was granted access to your...</div>
<div class="time">4h</div>
</div>
<div class="star outline">
<svg viewBox="0 0 24 24">
<path d="M12 3l3.1 6.3 7 1-5.1 4.7 1.5 7-6.5-3.6-6.5 3.6 1.5-7-5.1-4.7 7-1z"></path>
</svg>
</div>
</div>
<!-- Email 8 -->
<div class="item">
<div class="sender-row">
<span>Webex</span>
</div>
<div class="subject">Limited Spots. Unlimited Potential.</div>
<div class="preview-time">
<div class="preview"></div>
<div class="time"></div>
</div>
<div class="star outline">
<svg viewBox="0 0 24 24">
<path d="M12 3l3.1 6.3 7 1-5.1 4.7 1.5 7-6.5-3.6-6.5 3.6 1.5-7-5.1-4.7 7-1z"></path>
</svg>
</div>
</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<!-- Inbox tray -->
<div class="nav-icon">
<svg viewBox="0 0 24 24">
<path d="M3 5h18v10l-4 4H7l-4-4V5zm4 10h10" fill="none" stroke="#e6e6e6" stroke-width="2" stroke-linejoin="round"></path>
</svg>
</div>
<!-- Star -->
<div class="nav-icon">
<svg viewBox="0 0 24 24">
<path d="M12 3l3.1 6.3 7 1-5.1 4.7 1.5 7-6.5-3.6-6.5 3.6 1.5-7-5.1-4.7 7-1z" fill="none" stroke="#e6e6e6" stroke-width="2"></path>
</svg>
</div>
<!-- Envelope -->
<div class="nav-icon">
<svg viewBox="0 0 24 24">
<rect x="3" y="6" width="18" height="12" rx="2" ry="2" fill="none" stroke="#e6e6e6" stroke-width="2"></rect>
<path d="M3 8l9 6 9-6" stroke="#e6e6e6" stroke-width="2" fill="none"></path>
</svg>
</div>
<!-- Feed/Waves -->
<div class="nav-icon">
<svg viewBox="0 0 24 24">
<path d="M3 16c3-3 6-3 9 0s6 3 9 0" stroke="#e6e6e6" stroke-width="2" fill="none" stroke-linecap="round"></path>
<path d="M5 10c2-2 4-2 6 0s4 2 6 0" stroke="#e6e6e6" stroke-width="2" fill="none" stroke-linecap="round"></path>
</svg>
</div>
<!-- Compose pencil -->
<div class="nav-icon">
<div class="circle">
<svg viewBox="0 0 24 24">
<path d="M4 18l1-5 9-9 5 5-9 9-6 0z" fill="none" stroke="#e6e6e6" stroke-width="2" stroke-linejoin="round"></path>
</svg>
</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>