GD-ML/AndroidCode
13.4k
1<html>2<head>3<meta charset="UTF-8">4<title>UI Render - Gmail Compose</title>5<style>6 body { margin: 0; padding: 0; background: transparent; font-family: Roboto, Arial, sans-serif; }7 #render-target {8 width: 1080px; height: 2400px;9 position: relative; overflow: hidden;10 background: #121212; color: #eaeaea;11 }12 13 /* Status bar */14 .status-bar {15 position: absolute; top: 0; left: 0; right: 0;16 height: 90px; background: #0f0f10;17 display: flex; align-items: center; justify-content: space-between;18 padding: 0 32px; font-size: 36px; letter-spacing: 0.5px;19 }20 .status-right { display: flex; align-items: center; gap: 20px; }21 .tiny-dot { width: 12px; height: 12px; background: #eaeaea; border-radius: 50%; opacity: 0.8; margin-right: 10px; }22 23 /* Header */24 .header {25 position: absolute; top: 90px; left: 0; right: 0;26 height: 130px; display: flex; align-items: center;27 padding: 0 32px; gap: 26px;28 }29 .header-title { font-size: 54px; font-weight: 500; flex: 1; }30 .header-actions { display: flex; align-items: center; gap: 36px; }31 .icon-btn svg { width: 44px; height: 44px; fill: none; stroke: #eaeaea; stroke-width: 4; }32 33 /* Fields */34 .field {35 position: absolute; left: 0; right: 0;36 height: 115px; display: flex; align-items: center;37 padding: 0 36px; gap: 26px; border-bottom: 1px solid #2a2a2a;38 }39 .field .label { width: 120px; color: #bdbdbd; font-size: 36px; }40 .field .value { flex: 1; font-size: 38px; color: #eaeaea; }41 .chev svg { width: 34px; height: 34px; stroke: #bdbdbd; stroke-width: 5; }42 43 /* Add recipient row */44 .add-recipient {45 position: absolute; left: 0; right: 0; top: 430px;46 height: 160px; padding: 0 36px; display: flex; align-items: center; gap: 26px;47 border-bottom: 1px solid #2a2a2a;48 }49 .avatar {50 width: 86px; height: 86px; border-radius: 50%; background: #c75b45;51 display: flex; justify-content: center; align-items: center;52 }53 .avatar svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 3; }54 .ar-title { font-size: 44px; margin-bottom: 8px; }55 .ar-sub { font-size: 32px; color: #a6a6a6; }56 57 /* Content area */58 .content-area {59 position: absolute; left: 0; right: 0; top: 590px; bottom: 900px;60 padding: 24px 36px; color: #bdbdbd; font-size: 36px;61 }62 63 /* Keyboard */64 .keyboard {65 position: absolute; left: 0; right: 0; bottom: 0;66 height: 900px; background: #1a1a1b; border-top: 1px solid #2a2a2a;67 box-shadow: 0 -10px 30px rgba(0,0,0,0.3);68 }69 .kb-tools {70 height: 120px; display: flex; align-items: center; gap: 42px;71 padding: 0 30px; border-bottom: 1px solid #2a2a2a;72 }73 .tool { width: 72px; height: 72px; background: #2a2a2a; border-radius: 18px; display: flex; align-items: center; justify-content: center; color: #d3d3d3; font-size: 28px; }74 .tool-round { border-radius: 50%; }75 76 .kb-row { display: grid; gap: 18px; padding: 18px 26px; }77 .row-top { grid-template-columns: repeat(10, 1fr); }78 .row-mid { grid-template-columns: repeat(9, 1fr); }79 .row-low { grid-template-columns: repeat(9, 1fr); }80 .row-bottom { grid-template-columns: 1.2fr 1fr 1fr 5fr 1fr 1.2fr; }81 82 .key {83 height: 120px; background: #2b2b2c; border: 1px solid #3c3c3d;84 border-radius: 22px; display: flex; align-items: center; justify-content: center;85 font-size: 42px; color: #f2f2f2;86 position: relative;87 }88 .key.small { font-size: 36px; }89 .space { justify-content: center; font-size: 36px; color: #cfcfcf; }90 .backspace { font-size: 44px; }91 .enter { font-size: 42px; }92 93 /* Positions of field rows */94 #from-row { top: 210px; }95 #to-row { top: 325px; }96</style>97</head>98<body>99<div id="render-target">100 101 <!-- Status bar -->102 <div class="status-bar">103 <div style="display:flex;align-items:center;gap:18px;">104 <span>8:42</span>105 <span class="tiny-dot"></span>106 <span class="tiny-dot"></span>107 <span class="tiny-dot"></span>108 <span class="tiny-dot"></span>109 <span class="tiny-dot"></span>110 <span class="tiny-dot" style="opacity:0.4;"></span>111 </div>112 <div class="status-right">113 <!-- Simple WIFI icon -->114 <svg width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="#eaeaea" stroke-width="2">115 <path d="M2 8a14 14 0 0 1 20 0"/>116 <path d="M6 12a8 8 0 0 1 12 0"/>117 <path d="M10 16a4 4 0 0 1 4 0"/>118 <circle cx="12" cy="20" r="1.7" fill="#eaeaea"></circle>119 </svg>120 <!-- Battery icon -->121 <svg width="46" height="46" viewBox="0 0 28 18" fill="none" stroke="#eaeaea" stroke-width="2">122 <rect x="1" y="3" width="22" height="12" rx="2" ry="2"></rect>123 <rect x="24" y="7" width="3" height="4" rx="1"></rect>124 <rect x="4" y="6" width="16" height="6" fill="#eaeaea" stroke="none"></rect>125 </svg>126 </div>127 </div>128 129 <!-- Header -->130 <div class="header">131 <div class="icon-btn">132 <!-- Back arrow -->133 <svg viewBox="0 0 24 24">134 <path d="M15 6 L9 12 L15 18" stroke-linecap="round" stroke-linejoin="round"></path>135 </svg>136 </div>137 <div class="header-title">Compose</div>138 <div class="header-actions">139 <!-- Paperclip -->140 <div class="icon-btn">141 <svg viewBox="0 0 24 24">142 <path d="M7 12l6-6a4 4 0 0 1 6 6l-8 8a6 6 0 0 1-9-9l9-9" stroke-linecap="round" stroke-linejoin="round"></path>143 </svg>144 </div>145 <!-- Send -->146 <div class="icon-btn">147 <svg viewBox="0 0 24 24">148 <path d="M2 12 L22 4 L14 20 L12 13 Z" stroke-linejoin="round"></path>149 </svg>150 </div>151 <!-- More (kebab) -->152 <div class="icon-btn">153 <svg viewBox="0 0 24 24">154 <circle cx="12" cy="5" r="2" fill="#eaeaea"></circle>155 <circle cx="12" cy="12" r="2" fill="#eaeaea"></circle>156 <circle cx="12" cy="19" r="2" fill="#eaeaea"></circle>157 </svg>158 </div>159 </div>160 </div>161 162 <!-- From row -->163 <div id="from-row" class="field">164 <div class="label">From</div>165 <div class="value">amelia.miller2709@gmail.com</div>166 <div class="chev">167 <svg viewBox="0 0 24 24">168 <path d="M6 9 L12 15 L18 9" stroke-linecap="round" stroke-linejoin="round"></path>169 </svg>170 </div>171 </div>172 173 <!-- To row -->174 <div id="to-row" class="field">175 <div class="label">To</div>176 <div class="value">natalie.Larson19998@gmail.com</div>177 <div class="chev">178 <svg viewBox="0 0 24 24">179 <path d="M6 9 L12 15 L18 9" stroke-linecap="round" stroke-linejoin="round"></path>180 </svg>181 </div>182 </div>183 184 <!-- Add recipient with avatar -->185 <div class="add-recipient">186 <div class="avatar">187 <svg viewBox="0 0 24 24">188 <circle cx="12" cy="8" r="4"></circle>189 <path d="M4 20a8 8 0 0 1 16 0" stroke-linecap="round"></path>190 </svg>191 </div>192 <div style="display:flex; flex-direction:column;">193 <div class="ar-title">Add recipient</div>194 <div class="ar-sub">natalie.Larson19998@gmail.com</div>195 </div>196 </div>197 198 <!-- Content area (empty draft) -->199 <div class="content-area">200 <!-- Placeholder body area -->201 </div>202 203 <!-- Keyboard -->204 <div class="keyboard">205 <div class="kb-tools">206 <div class="tool">▦</div>207 <div class="tool">☺</div>208 <div class="tool">GIF</div>209 <div class="tool">⚙</div>210 <div class="tool">文</div>211 <div class="tool">🎨</div>212 <div class="tool tool-round">🎙</div>213 </div>214 215 <!-- Top row -->216 <div class="kb-row row-top">217 <div class="key">q</div>218 <div class="key">w</div>219 <div class="key">e</div>220 <div class="key">r</div>221 <div class="key">t</div>222 <div class="key">y</div>223 <div class="key">u</div>224 <div class="key">i</div>225 <div class="key">o</div>226 <div class="key">p</div>227 </div>228 229 <!-- Middle row -->230 <div class="kb-row row-mid">231 <div class="key">a</div>232 <div class="key">s</div>233 <div class="key">d</div>234 <div class="key">f</div>235 <div class="key">g</div>236 <div class="key">h</div>237 <div class="key">j</div>238 <div class="key">k</div>239 <div class="key">l</div>240 </div>241 242 <!-- Lower row -->243 <div class="kb-row row-low">244 <div class="key">z</div>245 <div class="key">x</div>246 <div class="key">c</div>247 <div class="key">v</div>248 <div class="key">b</div>249 <div class="key">n</div>250 <div class="key">m</div>251 <div class="key">.</div>252 <div class="key backspace">⌫</div>253 </div>254 255 <!-- Bottom row -->256 <div class="kb-row row-bottom">257 <div class="key small">?123</div>258 <div class="key small">@</div>259 <div class="key small">☺</div>260 <div class="key space">Space</div>261 <div class="key small">.</div>262 <div class="key enter">↵</div>263 </div>264 </div>265 266</div>267</body>268</html>