AndroidCode / code /10117 /10117_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
12.7 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Mail UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
#render-target {
position: relative;
overflow: hidden;
width: 1080px;
height: 2400px;
background: #121212;
color: #EDEDED;
}
/* Status bar */
.statusbar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 110px;
padding: 0 32px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
color: #fff;
}
.status-left { display: flex; align-items: center; gap: 20px; font-weight: 600; font-size: 36px; }
.status-right { display: flex; align-items: center; gap: 24px; }
.icon { width: 40px; height: 40px; }
.battery-text { font-size: 30px; color: #fff; }
/* Top search bar area */
.topbar {
position: absolute;
top: 120px;
left: 24px;
right: 24px;
height: 100px;
display: flex;
align-items: center;
gap: 24px;
}
.hamburger {
width: 72px;
height: 72px;
border-radius: 36px;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
}
.search-pill {
flex: 1;
height: 90px;
border-radius: 45px;
background: #2f3b2f;
display: flex;
align-items: center;
padding: 0 32px;
box-sizing: border-box;
color: #B7C7B7;
font-size: 36px;
}
.avatar {
width: 72px;
height: 72px;
border-radius: 36px;
background: #2f3b2f;
border: 2px solid #436245;
color: #CFE3CF;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 34px;
}
/* Section label */
.section-label {
position: absolute;
top: 240px;
left: 32px;
font-size: 34px;
color: #bfbfbf;
}
/* Email list */
.list {
position: absolute;
top: 290px;
left: 0;
right: 0;
bottom: 340px;
overflow: hidden;
padding: 0 12px;
box-sizing: border-box;
}
.email-item {
display: flex;
align-items: flex-start;
gap: 26px;
padding: 28px 20px;
border-bottom: 1px solid rgba(255,255,255,0.05);
}
.circle {
width: 84px;
height: 84px;
border-radius: 42px;
background: #f4b400;
color: #1f1f1f;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
font-size: 38px;
flex-shrink: 0;
}
.logo-box {
width: 84px;
height: 84px;
border-radius: 42px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
flex-shrink: 0;
}
.content {
flex: 1;
min-width: 0;
}
.title-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.name {
font-size: 38px;
font-weight: 700;
color: #EDEDED;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.date {
font-size: 30px;
color: #A0A0A0;
white-space: nowrap;
flex-shrink: 0;
}
.subject {
font-size: 32px;
color: #EDEDED;
margin-top: 6px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.snippet {
font-size: 30px;
color: #A0A0A0;
margin-top: 6px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.star {
width: 48px;
height: 48px;
margin-left: 12px;
flex-shrink: 0;
}
/* Promotions row */
.pill {
background: #79C28E;
color: #06280f;
padding: 10px 20px;
border-radius: 28px;
font-size: 28px;
font-weight: 700;
}
.tag-icon {
width: 60px;
height: 60px;
flex-shrink: 0;
}
/* Floating action button */
.compose {
position: absolute;
right: 36px;
bottom: 300px;
width: 300px;
height: 120px;
background: #3f4d36;
border-radius: 26px;
box-shadow: 0 8px 20px rgba(0,0,0,0.4);
display: flex;
align-items: center;
justify-content: center;
gap: 18px;
color: #EDEDED;
font-size: 36px;
font-weight: 700;
}
.compose .icon-pencil { width: 48px; height: 48px; }
/* Bottom navigation */
.bottom-bar {
position: absolute;
left: 0;
right: 0;
bottom: 100px;
height: 180px;
background: #1a1a1a;
display: flex;
align-items: center;
justify-content: space-around;
}
.nav-item { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: #d9d9d9; font-size: 28px; }
.nav-icon { width: 66px; height: 66px; }
.mail-pill {
position: absolute;
left: 210px;
bottom: 228px;
width: 160px;
height: 100px;
background: #2f3b2f;
border-radius: 50px;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}
.badge {
background: #F7B0B0;
color: #1a1a1a;
font-size: 28px;
font-weight: 800;
border-radius: 22px;
padding: 6px 14px;
}
/* Gesture bar */
.gesture {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 36px;
width: 360px;
height: 12px;
border-radius: 6px;
background: #E6E6E6;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar">
<div class="status-left">
<div>11:25</div>
<!-- simple dots/icons -->
<svg class="icon" viewBox="0 0 24 24" fill="#fff"><circle cx="5" cy="12" r="2"/><circle cx="12" cy="12" r="2"/><circle cx="19" cy="12" r="2"/></svg>
</div>
<div class="status-right">
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">
<path d="M3 10c4-6 14-6 18 0v4c-4 6-14 6-18 0v-4z"></path>
<circle cx="12" cy="12" r="2" fill="#fff"></circle>
</svg>
<svg class="icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">
<rect x="3" y="6" width="18" height="12" rx="2"></rect>
<path d="M21 10h2v4h-2"></path>
</svg>
<div class="battery-text">100%</div>
</div>
</div>
<!-- Top search -->
<div class="topbar">
<div class="hamburger">
<svg class="icon" viewBox="0 0 24 24" fill="#EDEDED">
<rect x="3" y="5" width="18" height="2"></rect>
<rect x="3" y="11" width="18" height="2"></rect>
<rect x="3" y="17" width="12" height="2"></rect>
</svg>
</div>
<div class="search-pill">Search in mail</div>
<div class="avatar">K</div>
</div>
<div class="section-label">Primary</div>
<!-- Email list -->
<div class="list">
<!-- Item 1 -->
<div class="email-item">
<div class="circle">N</div>
<div class="content">
<div class="title-row">
<div class="name">Natalie Larson</div>
<div class="date">10:45 PM</div>
</div>
<div class="subject">Happiness</div>
<div class="snippet">Hi, Karin How are you ?</div>
</div>
<svg class="star" viewBox="0 0 24 24" fill="none" stroke="#bfbfbf" stroke-width="2">
<path d="M12 3l3.2 6.5 7 .9-5.2 4.7 1.5 6.6L12 18l-6.5 3.7 1.5-6.6L2 10.4l7-.9L12 3z"></path>
</svg>
</div>
<!-- Item 2 -->
<div class="email-item">
<div class="circle">M</div>
<div class="content">
<div class="title-row">
<div class="name">me, Mail 2</div>
<div class="date">Oct 12</div>
</div>
<div class="subject">Join us for a Book fair event</div>
<div class="snippet">Address not found Your message wasn't deli...</div>
</div>
<svg class="star" viewBox="0 0 24 24" fill="none" stroke="#bfbfbf" stroke-width="2">
<path d="M12 3l3.2 6.5 7 .9-5.2 4.7 1.5 6.6L12 18l-6.5 3.7 1.5-6.6L2 10.4l7-.9L12 3z"></path>
</svg>
</div>
<!-- Item 3 -->
<div class="email-item">
<div class="circle">M</div>
<div class="content">
<div class="title-row">
<div class="name">Mail Delivery Subsystem</div>
<div class="date">Oct 6</div>
</div>
<div class="subject">Delivery Status Notification (Failure)</div>
<div class="snippet">Address not found Your message wasn't deli...</div>
</div>
<svg class="star" viewBox="0 0 24 24" fill="none" stroke="#bfbfbf" stroke-width="2">
<path d="M12 3l3.2 6.5 7 .9-5.2 4.7 1.5 6.6L12 18l-6.5 3.7 1.5-6.6L2 10.4l7-.9L12 3z"></path>
</svg>
</div>
<!-- Item 4 -->
<div class="email-item">
<div class="logo-box">[IMG: eBay logo]</div>
<div class="content">
<div class="title-row">
<div class="name">eBay</div>
<div class="date">Oct 6</div>
</div>
<div class="subject">A new device is using your account</div>
<div class="snippet">Here's what you need to know. Let's make s...</div>
</div>
<svg class="star" viewBox="0 0 24 24" fill="none" stroke="#bfbfbf" stroke-width="2">
<path d="M12 3l3.2 6.5 7 .9-5.2 4.7 1.5 6.6L12 18l-6.5 3.7 1.5-6.6L2 10.4l7-.9L12 3z"></path>
</svg>
</div>
<!-- Item 5 -->
<div class="email-item">
<div class="logo-box">[IMG: eBay logo]</div>
<div class="content">
<div class="title-row">
<div class="name">eBay</div>
<div class="date">Oct 5</div>
</div>
<div class="subject">Karin, your eBay adventure has just beg...</div>
<div class="snippet">Your perfect find is out there</div>
</div>
<svg class="star" viewBox="0 0 24 24" fill="none" stroke="#bfbfbf" stroke-width="2">
<path d="M12 3l3.2 6.5 7 .9-5.2 4.7 1.5 6.6L12 18l-6.5 3.7 1.5-6.6L2 10.4l7-.9L12 3z"></path>
</svg>
</div>
<!-- Promotions tag row -->
<div class="email-item">
<svg class="tag-icon" viewBox="0 0 24 24" fill="none" stroke="#79C28E" stroke-width="2">
<path d="M3 7v6l8 8 10-10-8-8H7a4 4 0 0 0-4 4z"></path>
<circle cx="7" cy="9" r="1.5" fill="#79C28E"></circle>
</svg>
<div class="content">
<div class="title-row">
<div class="name">Promotions</div>
<div class="pill">1 new</div>
</div>
<div class="subject">TheFork</div>
</div>
</div>
<!-- Item 6 -->
<div class="email-item">
<div class="logo-box">[IMG: Vimeo logo]</div>
<div class="content">
<div class="title-row">
<div class="name">Vimeo</div>
<div class="date">Oct 3</div>
</div>
<div class="subject">Your September product updates</div>
</div>
<svg class="star" viewBox="0 0 24 24" fill="none" stroke="#bfbfbf" stroke-width="2">
<path d="M12 3l3.2 6.5 7 .9-5.2 4.7 1.5 6.6L12 18l-6.5 3.7 1.5-6.6L2 10.4l7-.9L12 3z"></path>
</svg>
</div>
<!-- Extra item preview near bottom -->
<div class="email-item">
<div class="circle">M</div>
<div class="content">
<div class="title-row">
<div class="name">me, Mail 2</div>
<div class="date">Sep 23</div>
</div>
<div class="subject">(no subject)</div>
</div>
</div>
</div>
<!-- Floating compose button -->
<div class="compose">
<svg class="icon-pencil" viewBox="0 0 24 24" fill="none" stroke="#EDEDED" stroke-width="2">
<path d="M3 17l4 4 14-14-4-4L3 17z"></path>
<path d="M13 5l6 6"></path>
</svg>
<div>Compose</div>
</div>
<!-- Mini mail pill with badge -->
<div class="mail-pill">
<svg class="nav-icon" viewBox="0 0 24 24" fill="none" stroke="#cdd6c9" stroke-width="2">
<rect x="3" y="5" width="18" height="14" rx="2"></rect>
<path d="M3 7l9 6 9-6"></path>
</svg>
<div class="badge">8</div>
</div>
<!-- Bottom navigation -->
<div class="bottom-bar">
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24" fill="none" stroke="#d9d9d9" stroke-width="2">
<rect x="3" y="5" width="18" height="14" rx="2"></rect>
<path d="M3 7l9 6 9-6"></path>
</svg>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24" fill="none" stroke="#d9d9d9" stroke-width="2">
<rect x="5" y="3" width="14" height="10" rx="2"></rect>
<rect x="3" y="15" width="18" height="6" rx="2"></rect>
</svg>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>