AndroidCode / code /10166 /10166_7.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
8.17 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Compose - Gmail 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: #FFFFFF; border-radius: 28px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
/* Status bar */
.status-bar {
height: 96px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; color: #111;
font-size: 40px; box-sizing: border-box;
}
.status-left { display: flex; align-items: center; gap: 20px; }
.status-right { display: flex; align-items: center; gap: 28px; }
/* Top app bar */
.appbar {
height: 140px; border-bottom: 1px solid #E5E7EB; display: flex; align-items: center; padding: 0 24px; box-sizing: border-box;
position: relative;
}
.appbar .title {
position: absolute; left: 120px; right: 220px; text-align: left; font-size: 56px; font-weight: 600; color: #1F2937;
}
.appbar .actions { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.icon-btn { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; color: #374151; cursor: default; }
.icon { width: 54px; height: 54px; }
/* Content area */
.content { padding: 32px; }
.field-row { padding: 18px 8px; font-size: 40px; color: #374151; display: flex; align-items: center; gap: 24px; }
.field-row .label { width: 120px; color: #6B7280; }
.field-divider { height: 1px; background: #E5E7EB; margin: 8px 0 12px 0; }
/* Avatar placeholder (as per image rules) */
.avatar-placeholder {
width: 64px; height: 64px; background: #E0E0E0; border: 1px solid #BDBDBD; border-radius: 50%;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 22px;
}
/* Recipient pill */
.recipient-pill {
display: inline-flex; align-items: center; gap: 16px; padding: 12px 20px;
border: 1px solid #D1D5DB; border-radius: 999px; background: #F9FAFB; color: #111827; font-size: 40px;
}
.recipient-pill .email { max-width: 540px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.down-icon { width: 40px; height: 40px; color: #6B7280; margin-left: 8px; }
.subject-placeholder, .compose-placeholder {
color: #6B7280; font-size: 40px;
}
.compose-placeholder { margin-top: 24px; }
/* Attachment card */
.attach-card {
width: 1000px; margin: 40px auto 0 auto; border-radius: 18px; overflow: hidden;
box-shadow: 0 6px 20px rgba(0,0,0,0.1); border: 1px solid #E5E7EB; background: #fff;
}
.attach-preview {
height: 300px; background: #E0E0E0; border-bottom: 1px solid #D6D6D6;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 40px;
}
.attach-info {
height: 140px; background: #E5EAF0; display: flex; align-items: center; padding: 0 24px; box-sizing: border-box; gap: 24px;
}
.file-icon {
width: 64px; height: 64px; border-radius: 8px; background: #E53935; display: flex; align-items: center; justify-content: center;
}
.file-details { flex: 1; display: flex; flex-direction: column; }
.file-name { font-size: 40px; color: #374151; }
.file-size { font-size: 32px; color: #6B7280; margin-top: 6px; }
.close-x {
width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; color: #111827; font-size: 54px;
}
/* Bottom gesture bar */
.gesture {
position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
width: 300px; height: 10px; background: #7A7A7A; border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>1:16</div>
<div style="font-size:38px; color:#6B7280;"></div>
</div>
<div class="status-right">
<!-- Simple Wi-Fi icon -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M3 9c4-3 14-3 18 0" stroke="#374151" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M6 12c3-2 9-2 12 0" stroke="#374151" stroke-width="2" fill="none" stroke-linecap="round"/>
<circle cx="12" cy="16" r="2" fill="#374151"/>
</svg>
<!-- Signal bars -->
<svg class="icon" viewBox="0 0 24 24">
<rect x="3" y="14" width="3" height="7" fill="#374151"/>
<rect x="8" y="11" width="3" height="10" fill="#374151"/>
<rect x="13" y="8" width="3" height="13" fill="#374151"/>
<rect x="18" y="5" width="3" height="16" fill="#374151"/>
</svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 28 24">
<rect x="2" y="6" width="22" height="12" rx="2" ry="2" stroke="#374151" stroke-width="2" fill="none"/>
<rect x="24" y="9" width="3" height="6" fill="#374151"/>
<rect x="4" y="8" width="14" height="8" fill="#374151"/>
</svg>
</div>
</div>
<!-- App bar -->
<div class="appbar">
<div class="icon-btn" style="margin-right:12px;">
<svg class="icon" viewBox="0 0 24 24">
<path d="M15 6 L9 12 L15 18" stroke="currentColor" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="title">Compose</div>
<div class="actions">
<div class="icon-btn">
<!-- Paperclip -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M8 7v9a4 4 0 0 0 8 0V8a3 3 0 0 0-6 0v7" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="icon-btn">
<!-- Send -->
<svg class="icon" viewBox="0 0 24 24">
<polygon points="3,12 21,6 14,12 21,18" fill="currentColor"/>
</svg>
</div>
<div class="icon-btn">
<!-- Overflow (vertical dots) -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="5" r="2.2" fill="currentColor"/>
<circle cx="12" cy="12" r="2.2" fill="currentColor"/>
<circle cx="12" cy="19" r="2.2" fill="currentColor"/>
</svg>
</div>
</div>
</div>
<!-- Content -->
<div class="content">
<!-- From -->
<div class="field-row">
<div class="label">From</div>
<div style="color:#1F2937;">dbwscratch.test.id8@gmail.com</div>
</div>
<div class="field-divider"></div>
<!-- To -->
<div class="field-row">
<div class="label">To</div>
<div class="avatar-placeholder">[IMG: Avatar]</div>
<div class="recipient-pill">
<span class="email">akashgahlot@google.com</span>
<svg class="down-icon" viewBox="0 0 24 24">
<path d="M6 9 L12 15 L18 9" stroke="currentColor" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="field-divider"></div>
<!-- Subject -->
<div class="field-row">
<div class="label"></div>
<div class="subject-placeholder">Subject</div>
</div>
<div class="field-divider"></div>
<!-- Compose body placeholder -->
<div class="field-row" style="align-items:flex-start;">
<div class="label"></div>
<div class="compose-placeholder">Compose email</div>
</div>
<!-- Attachment Card -->
<div class="attach-card">
<div class="attach-preview">[IMG: Attachment Preview]</div>
<div class="attach-info">
<div class="file-icon">
<!-- simple picture icon -->
<svg viewBox="0 0 24 24" width="34" height="34">
<rect x="3" y="4" width="18" height="16" rx="2" ry="2" fill="#FFFFFF"/>
<path d="M5 16l4-4 3 3 4-5 3 6H5z" fill="#E53935"/>
</svg>
</div>
<div class="file-details">
<div class="file-name">temp_shared_bi...419875146.png</div>
<div class="file-size">24 KB</div>
</div>
<div class="close-x">×</div>
</div>
</div>
</div>
<!-- Bottom gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>