AndroidCode / code /10166 /10166_6.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
6.07 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Compose Email UI</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: Roboto, Arial, sans-serif;
color: #212121;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 96px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32px;
box-sizing: border-box;
color: #2e2e2e;
font-size: 36px;
letter-spacing: 0.5px;
}
.status-left, .status-right {
display: flex;
align-items: center;
gap: 16px;
}
.status-icon svg {
width: 38px;
height: 38px;
fill: #707070;
stroke: #707070;
}
/* App bar */
.app-bar {
position: absolute;
top: 96px;
left: 0;
width: 100%;
height: 160px;
display: flex;
align-items: center;
padding: 0 24px;
box-sizing: border-box;
border-bottom: 1px solid #ECECEC;
}
.app-left {
display: flex;
align-items: center;
gap: 24px;
}
.app-title {
font-size: 54px;
font-weight: 500;
color: #222;
}
.app-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 24px;
}
.icon-btn svg {
width: 64px;
height: 64px;
fill: none;
stroke: #424242;
stroke-width: 3;
}
.icon-dots svg {
width: 56px;
height: 56px;
fill: #424242;
stroke: none;
}
/* Fields */
.content {
position: absolute;
top: 256px; /* status + app bar */
left: 0;
width: 100%;
box-sizing: border-box;
padding: 0 32px;
}
.field {
display: flex;
align-items: center;
padding: 24px 0;
border-bottom: 1px solid #F0F0F0;
}
.field .label {
min-width: 140px;
color: #777;
font-size: 34px;
}
.field .value {
font-size: 36px;
color: #222;
flex: 1;
}
.chevron svg {
width: 48px;
height: 48px;
stroke: #5f6368;
stroke-width: 3.2;
fill: none;
}
/* Contact suggestion */
.contact-suggestion {
display: flex;
align-items: center;
gap: 24px;
padding: 28px 0;
}
.avatar {
width: 96px;
height: 96px;
border-radius: 50%;
background: #E0627E;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 48px;
font-weight: 500;
}
.contact-text .name {
font-size: 40px;
color: #222;
}
.contact-text .email {
font-size: 32px;
color: #757575;
margin-top: 4px;
}
/* Gesture pill */
.gesture {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 12px;
background: #9E9E9E;
border-radius: 8px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>1:16</div>
<div class="status-icon">
<!-- Cloud icon -->
<svg viewBox="0 0 48 48">
<path d="M16 30h18a7 7 0 0 0 0-14h-1a10 10 0 0 0-19-2 7 7 0 0 0 2 16z" />
</svg>
</div>
</div>
<div class="status-right">
<!-- Wi-Fi icon -->
<div class="status-icon">
<svg viewBox="0 0 48 48">
<path d="M6 18c10-8 26-8 36 0" stroke-width="3" fill="none"/>
<path d="M12 24c7-6 17-6 24 0" stroke-width="3" fill="none"/>
<path d="M18 30c4-3 8-3 12 0" stroke-width="3" fill="none"/>
<circle cx="24" cy="36" r="2.8"/>
</svg>
</div>
<!-- Battery icon -->
<div class="status-icon">
<svg viewBox="0 0 48 48">
<rect x="6" y="12" width="32" height="24" rx="3" ry="3" fill="none"/>
<rect x="40" y="18" width="4" height="12" rx="1" ry="1"/>
<rect x="9" y="15" width="26" height="18" rx="2" ry="2"/>
</svg>
</div>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="app-left">
<!-- Back arrow -->
<div class="icon-btn">
<svg viewBox="0 0 48 48">
<path d="M28 10 L14 24 L28 38" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="app-title">Compose</div>
</div>
<div class="app-right">
<!-- Attach (paperclip) -->
<div class="icon-btn">
<svg viewBox="0 0 48 48">
<path d="M16 22v-6a8 8 0 1 1 16 0v14a10 10 0 0 1-20 0v-10" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<!-- Send icon -->
<div class="icon-btn">
<svg viewBox="0 0 48 48">
<path d="M6 24 L42 12 L32 24 L42 36 Z" stroke-linejoin="round"/>
</svg>
</div>
<!-- More (vertical dots) -->
<div class="icon-dots">
<svg viewBox="0 0 48 48">
<circle cx="24" cy="10" r="4"/>
<circle cx="24" cy="24" r="4"/>
<circle cx="24" cy="38" r="4"/>
</svg>
</div>
</div>
</div>
<!-- Content fields -->
<div class="content">
<div class="field">
<div class="label">From</div>
<div class="value">dbwscratch.test.id8@gmail.com</div>
</div>
<div class="field" style="border-bottom: none;">
<div class="label">To</div>
<div class="value">akashgahlot@google.com</div>
<div class="chevron">
<svg viewBox="0 0 48 48">
<path d="M10 18 L24 30 L38 18" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- Contact suggestion -->
<div class="contact-suggestion">
<div class="avatar">a</div>
<div class="contact-text">
<div class="name">akashgahlot@google.com</div>
<div class="email">akashgahlot@google.com</div>
</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>