File size: 8,173 Bytes
67530d2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | <!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> |