File size: 7,960 Bytes
fa881a6 | 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 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Clock UI Mock</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #1f191b; /* dark charcoal/brown */
color: #e7dde0;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 96px;
padding: 24px 32px;
box-sizing: border-box;
color: #e7dde0;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 32px;
opacity: 0.9;
}
.status-right {
display: flex;
gap: 22px;
align-items: center;
}
.dot {
width: 10px;
height: 10px;
background: #d8cbd0;
border-radius: 50%;
display: inline-block;
opacity: 0.8;
}
/* Page heading */
.page-title {
position: absolute;
top: 160px;
left: 64px;
font-size: 64px;
font-weight: 500;
color: #e7dde0;
letter-spacing: 0.2px;
}
/* Main time */
.time-row {
position: absolute;
top: 300px;
left: 64px;
display: flex;
align-items: baseline;
gap: 24px;
}
.time-row .time {
font-size: 180px;
line-height: 1;
font-weight: 500;
color: #f1e9eb;
}
.time-row .ampm {
font-size: 64px;
color: #d7c8ce;
letter-spacing: 3px;
}
.date-row {
position: absolute;
top: 560px;
left: 64px;
font-size: 44px;
color: #cbbdc3;
}
/* World clock card */
.world-card {
position: absolute;
top: 720px;
left: 60px;
width: 960px;
height: 280px;
background: #2a2326;
border-radius: 60px;
box-shadow: 0 2px 0 rgba(0,0,0,0.35) inset;
display: flex;
align-items: center;
justify-content: space-between;
padding: 40px 56px;
box-sizing: border-box;
}
.world-left .city {
font-size: 56px;
color: #efe6e8;
margin-bottom: 16px;
}
.world-left .offset {
font-size: 36px;
color: #bfb0b6;
}
.world-right {
display: flex;
align-items: baseline;
gap: 18px;
}
.world-right .w-time {
font-size: 128px;
color: #f4ecee;
font-weight: 600;
}
.world-right .w-ampm {
font-size: 44px;
color: #d0c1c7;
letter-spacing: 2px;
}
/* Vertical ellipsis menu */
.menu-dots {
position: absolute;
top: 150px;
right: 40px;
display: flex;
flex-direction: column;
gap: 16px;
opacity: 0.8;
}
.menu-dots span {
width: 10px;
height: 10px;
background: #d8cbd0;
border-radius: 50%;
display: block;
}
/* Floating Action Button */
.fab {
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1580px;
width: 240px;
height: 240px;
background: #f7b2c6;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.fab svg {
width: 88px;
height: 88px;
stroke: #2a2326;
stroke-width: 10;
}
/* Home indicator */
.home-indicator {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 300px; /* above bottom nav */
width: 300px;
height: 12px;
background: #e9e3e6;
border-radius: 8px;
opacity: 0.9;
}
/* Bottom navigation */
.bottom-nav {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 260px;
background: #2a2326;
box-shadow: 0 -1px 0 rgba(255,255,255,0.05) inset;
}
.nav-items {
position: absolute;
bottom: 36px;
left: 32px;
right: 32px;
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.nav-item {
width: 200px;
text-align: center;
color: #cbbdc3;
}
.nav-item .icon-wrap {
width: 160px;
height: 92px;
margin: 0 auto 18px;
border-radius: 46px;
display: flex;
align-items: center;
justify-content: center;
}
.nav-item svg {
width: 64px;
height: 64px;
stroke: #cbbdc3;
stroke-width: 5;
fill: none;
}
.nav-item .label {
font-size: 34px;
}
.nav-item.active {
color: #efe6e8;
}
.nav-item.active .icon-wrap {
background: #44363c;
}
.nav-item.active svg {
stroke: #efe6e8;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:51</div>
<div class="status-right">
<svg width="28" height="28" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#d8cbd0" stroke-width="2"/>
<path d="M12 6v6l4 2" stroke="#d8cbd0" stroke-width="2" fill="none"/>
</svg>
<span class="dot"></span>
<svg width="30" height="30" viewBox="0 0 24 24">
<path d="M3 18h18M3 14h12M3 10h6" stroke="#d8cbd0" stroke-width="2" fill="none"/>
</svg>
<svg width="28" height="28" viewBox="0 0 24 24">
<path d="M3 10l9-7 9 7v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8z" stroke="#d8cbd0" stroke-width="2" fill="none"/>
</svg>
</div>
</div>
<!-- Page Title -->
<div class="page-title">Clock</div>
<!-- Big Time -->
<div class="time-row">
<div class="time">8:51</div>
<div class="ampm">PM</div>
</div>
<!-- Date -->
<div class="date-row">Fri, Sep 29</div>
<!-- World clock card -->
<div class="world-card">
<div class="world-left">
<div class="city">Queenstown</div>
<div class="offset">+7h 30m Tomorrow</div>
</div>
<div class="world-right">
<div class="w-time">4:21</div>
<div class="w-ampm">AM</div>
</div>
</div>
<!-- Vertical ellipsis -->
<div class="menu-dots" aria-label="More">
<span></span>
<span></span>
<span></span>
</div>
<!-- Floating action button -->
<div class="fab" aria-label="Add clock">
<svg viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" />
</svg>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-items">
<div class="nav-item">
<div class="icon-wrap">
<!-- Alarm icon -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="13" r="7"/>
<path d="M6 5L3 7M18 5l3 2"/>
<path d="M12 10v4l3 2"/>
</svg>
</div>
<div class="label">Alarm</div>
</div>
<div class="nav-item active">
<div class="icon-wrap">
<!-- Clock icon -->
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="8"/>
<path d="M12 7v6l4 2"/>
</svg>
</div>
<div class="label">Clock</div>
</div>
<div class="nav-item">
<div class="icon-wrap">
<!-- Timer / Hourglass -->
<svg viewBox="0 0 24 24">
<path d="M7 4h10M7 20h10"/>
<path d="M7 4c0 4 5 5 5 8s-5 4-5 8M17 4c0 4-5 5-5 8s5 4 5 8" />
</svg>
</div>
<div class="label">Timer</div>
</div>
<div class="nav-item">
<div class="icon-wrap">
<!-- Stopwatch -->
<svg viewBox="0 0 24 24">
<path d="M9 3h6"/>
<circle cx="12" cy="14" r="7"/>
<path d="M12 10v5l3 2"/>
</svg>
</div>
<div class="label">Stopwatch</div>
</div>
<div class="nav-item">
<div class="icon-wrap">
<!-- Bedtime -->
<svg viewBox="0 0 24 24">
<path d="M3 18v-6h10a4 4 0 0 1 4 4v2H3z"/>
<path d="M3 12h6"/>
<rect x="4" y="10" width="3" height="3"/>
</svg>
</div>
<div class="label">Bedtime</div>
</div>
</div>
</div>
</div>
</body>
</html> |