GD-ML/AndroidCode
13.4k
1<!DOCTYPE html>2<html lang="en">3<head>4<meta charset="UTF-8">5<title>Calendar UI Mock</title>6<style>7 body { margin: 0; padding: 0; background: transparent; font-family: "Roboto", Arial, sans-serif; }8 #render-target {9 width: 1080px;10 height: 2400px;11 position: relative;12 overflow: hidden;13 background: #0f171b;14 color: #e6f0f2;15 }16 17 /* Top status bar */18 .status-bar {19 height: 120px;20 padding: 0 40px;21 display: flex;22 align-items: center;23 justify-content: space-between;24 color: #cfe2e7;25 font-size: 44px;26 background: #121c21;27 }28 .status-right {29 display: flex;30 align-items: center;31 gap: 26px;32 }33 .icon {34 width: 48px;35 height: 48px;36 fill: #cfe2e7;37 }38 39 /* App bar */40 .app-bar {41 height: 140px;42 padding: 0 36px;43 background: #141f24;44 display: flex;45 align-items: center;46 gap: 28px;47 border-bottom: 1px solid rgba(255,255,255,0.06);48 }49 .hamburger { width: 64px; height: 64px; fill: #d8e6ea; }50 .month-title {51 font-size: 62px;52 font-weight: 500;53 letter-spacing: 0.5px;54 color: #eaf3f7;55 display: flex;56 align-items: center;57 gap: 18px;58 margin-right: auto;59 }60 .chevron { width: 36px; height: 36px; fill: #cfe2e7; }61 .bar-actions { display: flex; align-items: center; gap: 36px; }62 .avatar {63 width: 88px;64 height: 88px;65 border-radius: 44px;66 background: #c04963;67 display: flex;68 align-items: center;69 justify-content: center;70 font-weight: 700;71 color: #fff;72 }73 74 /* Content area */75 .content { padding: 24px 36px 140px 36px; }76 77 .timeline-row {78 display: flex;79 gap: 28px;80 align-items: flex-start;81 margin-bottom: 22px;82 }83 .day-col {84 width: 140px;85 color: #9fb2bf;86 font-size: 40px;87 line-height: 50px;88 text-align: left;89 }90 .date-circle {91 width: 92px;92 height: 92px;93 border-radius: 46px;94 background: #89aeea;95 color: #071015;96 font-weight: 700;97 display: flex;98 align-items: center;99 justify-content: center;100 margin-top: 12px;101 }102 .date-number {103 font-size: 44px;104 }105 106 .row-text {107 color: #adc3cd;108 font-size: 44px;109 padding-top: 18px;110 }111 112 .pill {113 background: #65a89b;114 color: #f7ffff;115 border-radius: 34px;116 padding: 26px 34px;117 font-size: 46px;118 max-width: 800px;119 box-shadow: 0 2px 0 rgba(0,0,0,0.2) inset;120 }121 .pill.blue { background: #6ea1d8; }122 123 /* Illustration section */124 .illustration {125 margin: 40px 0 28px;126 background: #f2d07a;127 border-radius: 12px;128 padding: 40px 40px 30px;129 }130 .illustration h2 {131 margin: 0 0 24px;132 font-size: 66px;133 font-weight: 500;134 color: #1d1d1d;135 }136 .img-placeholder {137 width: 100%;138 height: 280px;139 background: #E0E0E0;140 border: 1px solid #BDBDBD;141 display: flex;142 justify-content: center;143 align-items: center;144 color: #757575;145 font-size: 46px;146 border-radius: 8px;147 }148 149 /* Week label */150 .week-label {151 color: #9fb2bf;152 font-size: 40px;153 margin: 26px 0 8px 168px;154 }155 156 /* Floating action button */157 .fab {158 position: absolute;159 right: 36px;160 bottom: 300px;161 width: 140px;162 height: 140px;163 background: #2a343a;164 border-radius: 28px;165 display: flex;166 align-items: center;167 justify-content: center;168 box-shadow: 0 8px 18px rgba(0,0,0,0.35);169 }170 .fab svg { width: 84px; height: 84px; fill: #cfe2e7; }171 172 /* Home indicator */173 .home-indicator {174 position: absolute;175 bottom: 120px;176 left: 50%;177 transform: translateX(-50%);178 width: 420px;179 height: 18px;180 background: #e8e8e8;181 border-radius: 9px;182 opacity: 0.9;183 }184</style>185</head>186<body>187<div id="render-target">188 189 <!-- Status Bar -->190 <div class="status-bar">191 <div>6:31</div>192 <div class="status-right">193 <!-- WiFi -->194 <svg class="icon" viewBox="0 0 24 24">195 <path d="M12 18l2 2-2 2-2-2 2-2zm-7-7c4-3 10-3 14 0l-2 2c-3-2-7-2-10 0L5 11zm-3-4c6-5 16-5 22 0l-2 2c-5-4-13-4-18 0L2 7z"/>196 </svg>197 <!-- Battery -->198 <svg class="icon" viewBox="0 0 24 24">199 <path d="M16 4h2v2h2v12h-2v2h-2V4zM2 6h12v12H2V6z"/>200 </svg>201 </div>202 </div>203 204 <!-- App Bar -->205 <div class="app-bar">206 <!-- Hamburger -->207 <svg class="hamburger" viewBox="0 0 24 24">208 <path d="M3 6h18v2H3V6zm0 5h18v2H3v-2zm0 5h18v2H3v-2z"/>209 </svg>210 211 <div class="month-title">212 <span>September</span>213 <svg class="chevron" viewBox="0 0 24 24"><path d="M7 9l5 5 5-5H7z"/></svg>214 </div>215 216 <div class="bar-actions">217 <!-- Search -->218 <svg class="icon" viewBox="0 0 24 24">219 <path d="M10 4a6 6 0 1 1 0 12A6 6 0 0 1 10 4zm8.5 14.1L15 14.6l1.4-1.4 3.5 3.5-1.4 1.4z"/>220 </svg>221 <!-- Calendar icon -->222 <svg class="icon" viewBox="0 0 24 24">223 <path d="M7 2h2v2h6V2h2v2h3v16H4V4h3V2zm-1 6h12v10H6V8z"/>224 </svg>225 <div class="avatar">C</div>226 </div>227 </div>228 229 <!-- Content -->230 <div class="content">231 232 <!-- Mon 25 -->233 <div class="timeline-row">234 <div class="day-col">235 <div>Mon</div>236 <div class="date-circle"><span class="date-number">25</span></div>237 </div>238 <div class="row-text">Nothing planned. Tap to create.</div>239 </div>240 241 <!-- Thu 28 -->242 <div class="timeline-row">243 <div class="day-col">244 <div>Thu</div>245 <!-- minimal date -->246 <div style="color:#9fb2bf;font-size:44px;margin-top:20px;">28</div>247 </div>248 <div class="pill">Milad un-Nabi/Id-e-Milad</div>249 </div>250 251 <!-- Illustration block -->252 <div class="illustration">253 <h2>October 2023</h2>254 <div class="img-placeholder">[IMG: Autumn harvest illustration with farmer, tree and tractor]</div>255 </div>256 257 <!-- Oct 1 - 7 -->258 <div class="week-label">Oct 1 – 7</div>259 260 <!-- Sun 1 -->261 <div class="timeline-row">262 <div class="day-col">263 <div>Sun</div>264 <div style="color:#9fb2bf;font-size:44px;margin-top:20px;">1</div>265 </div>266 <div class="pill blue">267 <div>Lyon book festival</div>268 <div style="font-size:40px; opacity:0.9; margin-top:6px;">6:30 – 7:30 PM</div>269 </div>270 </div>271 272 <!-- Mon 2 -->273 <div class="timeline-row">274 <div class="day-col">275 <div>Mon</div>276 <div style="color:#9fb2bf;font-size:44px;margin-top:20px;">2</div>277 </div>278 <div class="pill">Mahatma Gandhi Jayanti</div>279 </div>280 281 <!-- Oct 8 - 14 -->282 <div class="week-label">Oct 8 – 14</div>283 284 <!-- Oct 15 - 21 label -->285 <div class="week-label">Oct 15 – 21</div>286 287 <!-- Sun 15 -->288 <div class="timeline-row">289 <div class="day-col">290 <div>Sun</div>291 <div style="color:#9fb2bf;font-size:44px;margin-top:20px;">15</div>292 </div>293 <div class="pill">First Day of Sharad Navratri</div>294 </div>295 296 <!-- Fri 20 -->297 <div class="timeline-row">298 <div class="day-col">299 <div>Fri</div>300 <div style="color:#9fb2bf;font-size:44px;margin-top:20px;">20</div>301 </div>302 <div class="pill">First Day of Durga Puja Festivities</div>303 </div>304 305 <!-- Sat 21 -->306 <div class="timeline-row" style="margin-bottom:90px;">307 <div class="day-col">308 <div>Sat</div>309 <div style="color:#9fb2bf;font-size:44px;margin-top:20px;">21</div>310 </div>311 <div class="pill" style="max-width:780px;">Maha Saptami</div>312 </div>313 314 <!-- Oct 22 - 28 footer label (dim) -->315 <div class="week-label" style="opacity:0.7;">Oct 22 – 28</div>316 317 </div>318 319 <!-- Floating action button -->320 <div class="fab">321 <svg viewBox="0 0 24 24"><path d="M11 5h2v14h-2V5zm-6 6h14v2H5v-2z"/></svg>322 </div>323 324 <!-- Home indicator -->325 <div class="home-indicator"></div>326</div>327</body>328</html>