File size: 10,894 Bytes
c32f9a6 | 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 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>UI Recreation - Rename Dialog</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: #0E5FA9;
border-radius: 0;
box-shadow: none;
}
/* Status bar */
.status-bar {
position: absolute;
top: 20px;
left: 24px;
right: 24px;
height: 48px;
color: #ffffff;
font-size: 34px;
display: flex;
align-items: center;
justify-content: space-between;
opacity: 0.95;
}
.status-icons {
display: flex;
align-items: center;
gap: 22px;
}
.sb-icon {
width: 34px; height: 34px;
}
/* App bar content */
.app-header {
position: absolute;
top: 92px;
left: 24px;
right: 24px;
height: 260px;
display: flex;
align-items: flex-start;
justify-content: space-between;
color: #cfe6ff;
}
.title {
font-size: 66px;
font-weight: 500;
letter-spacing: 0.2px;
color: #e3f1ff;
}
.header-actions {
display: flex;
align-items: center;
gap: 36px;
margin-top: 12px;
}
.action-icon {
width: 54px; height: 54px; fill: #e3f1ff;
}
.tabs {
position: absolute;
top: 316px;
left: 24px;
right: 24px;
display: flex;
justify-content: space-between;
color: #cfe6ff;
letter-spacing: 6px;
font-size: 38px;
font-weight: 700;
}
/* Horizontal cards preview area */
.cards-strip {
position: absolute;
top: 380px;
left: 0;
right: 0;
height: 220px;
background: #0b5394;
display: flex;
align-items: center;
overflow: hidden;
padding-left: 20px;
gap: 18px;
}
.card {
width: 200px;
height: 200px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 16px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #757575;
font-size: 26px;
box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02);
}
.price {
position: absolute;
bottom: 8px;
right: 12px;
color: #333;
font-size: 28px;
font-weight: 700;
}
/* Dim overlay behind dialog */
.dim {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.35);
}
/* Rename dialog */
.dialog {
position: absolute;
left: 90px;
top: 930px;
width: 900px;
background: #ffffff;
border-radius: 18px;
box-shadow: 0 16px 50px rgba(0,0,0,0.35);
padding: 40px;
color: #000;
}
.dialog-title {
font-size: 48px;
font-weight: 600;
margin-bottom: 34px;
color: #222;
}
.input-row {
position: relative;
border: 2px solid #1976d2;
border-radius: 12px;
padding: 22px 80px 22px 22px;
font-size: 40px;
line-height: 1.3;
color: #222;
}
.selection {
position: absolute;
top: 10px;
left: 22px;
height: 64px;
background: #a4cdfc;
opacity: 0.9;
border-radius: 6px;
width: 650px; /* simulate selected text width */
z-index: 1;
}
.input-text {
position: relative;
z-index: 2;
}
.suffix {
color: #777;
}
.clear-btn {
position: absolute;
right: 18px;
top: 18px;
width: 54px;
height: 54px;
border-radius: 27px;
background: #f1f3f6;
border: 1px solid #d9dde3;
display: flex;
align-items: center;
justify-content: center;
}
.dialog-actions {
margin-top: 36px;
display: flex;
justify-content: flex-end;
gap: 36px;
font-size: 38px;
font-weight: 700;
}
.action-text {
color: #1976d2;
letter-spacing: 2px;
}
/* Keyboard */
.keyboard {
position: absolute;
left: 0;
bottom: 0;
width: 1080px;
height: 900px;
background: #f6f4fb;
border-top-left-radius: 28px;
border-top-right-radius: 28px;
box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
padding-top: 30px;
}
.kb-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 36px;
margin-bottom: 24px;
}
.tool {
width: 66px; height: 66px; border-radius: 16px;
background: #ffffff; border: 1px solid #e1e3ea;
display: flex; align-items: center; justify-content: center;
}
.tool.green { background: #d9f2d6; border-color: #c5e7c1; }
.tool svg { width: 36px; height: 36px; fill: #333; }
.kb-rows {
padding: 0 24px;
}
.key-row {
display: flex;
justify-content: center;
gap: 18px;
margin-bottom: 22px;
}
.key {
width: 88px; height: 110px;
background: #ffffff;
border: 1px solid #e1e3ea;
border-radius: 22px;
display: flex; align-items: center; justify-content: center;
font-size: 42px; color: #000;
box-shadow: inset 0 -2px 0 rgba(0,0,0,0.04);
}
.key.wide { width: 120px; }
.key.pink { background: #ffd8e2; }
.key.backspace { background: #ffd8e2; }
.key.enter {
width: 120px; height: 120px; border-radius: 60px;
background: #b9e8b7; font-weight: 700;
}
.spacebar {
width: 540px; height: 110px; background: #ffffff; border: 1px solid #e1e3ea; border-radius: 22px;
}
.mic-wrap {
width: 110px; height: 110px; border-radius: 55px; background: #ffffff; border: 1px solid #e1e3ea;
display: flex; align-items: center; justify-content: center;
}
.gesture {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
width: 220px; height: 12px; border-radius: 6px;
background: #bdbdbd;
opacity: 0.8;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>2:33</div>
<div class="status-icons">
<svg class="sb-icon" viewBox="0 0 24 24"><path fill="#fff" d="M12 4a8 8 0 100 16 8 8 0 000-16zM11 11V7h2v4h-2zm0 6v-2h2v2h-2z"/></svg>
<svg class="sb-icon" viewBox="0 0 24 24"><path fill="#fff" d="M12 2l4 4h-3v12h-2V6H8l4-4z"/></svg>
<svg class="sb-icon" viewBox="0 0 24 24"><rect x="4" y="4" width="16" height="16" rx="3" fill="#fff"/></svg>
</div>
</div>
<!-- App Header -->
<div class="app-header">
<div class="title">Playback paused</div>
<div class="header-actions">
<!-- Search -->
<svg class="action-icon" viewBox="0 0 24 24"><path d="M10 3a7 7 0 105.29 12.29l3.7 3.7 1.41-1.41-3.7-3.7A7 7 0 0010 3zm0 2a5 5 0 110 10 5 5 0 010-10z"/></svg>
<!-- Filter -->
<svg class="action-icon" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6zm4 5h10v2H7v-2zm3 5h4v2h-4v-2z"/></svg>
<!-- More -->
<svg class="action-icon" viewBox="0 0 24 24"><path d="M12 5a2 2 0 110 4 2 2 0 010-4zm0 5a2 2 0 110 4 2 2 0 010-4zm0 5a2 2 0 110 4 2 2 0 010-4z"/></svg>
</div>
</div>
<div class="tabs">
<div>RECORD</div>
<div>LISTEN</div>
</div>
<!-- Content cards preview -->
<div class="cards-strip">
<div class="card">
<div>[IMG: App icon]</div>
<div class="price">₹436</div>
</div>
<div class="card">
<div>[IMG: Microwave]</div>
<div class="price">₹108</div>
</div>
<div class="card">
<div>[IMG: Blue Chair]</div>
<div class="price">₹543</div>
</div>
<div class="card">
<div>[IMG: Landscape Photo]</div>
<div class="price">₹1 126</div>
</div>
<div class="card">
<div>[IMG: Smart TV]</div>
<div class="price">₹1 126</div>
</div>
<div class="card">
<div>[IMG: Drawer Unit]</div>
<div class="price">₹108</div>
</div>
<div class="card">
<div>[IMG: Daybed]</div>
<div class="price">₹326</div>
</div>
</div>
<!-- Overlay for dialog -->
<div class="dim"></div>
<!-- Rename Dialog -->
<div class="dialog">
<div class="dialog-title">Rename</div>
<div class="input-row">
<div class="selection"></div>
<div class="input-text">able energy lecture practice<span class="suffix">.m4a</span></div>
<div class="clear-btn">
<svg viewBox="0 0 24 24"><path d="M6 6l12 12M18 6L6 18" stroke="#606b75" stroke-width="2" fill="none" stroke-linecap="round"/></svg>
</div>
</div>
<div class="dialog-actions">
<div class="action-text">CANCEL</div>
<div class="action-text">RENAME</div>
</div>
</div>
<!-- Keyboard -->
<div class="keyboard">
<div class="kb-toolbar">
<div class="tool green">
<svg viewBox="0 0 24 24"><path d="M3 3h8v8H3V3zm10 0h8v8h-8V3zM3 13h8v8H3v-8zm10 0h8v8h-8v-8z"/></svg>
</div>
<div class="tool">
<svg viewBox="0 0 24 24"><path d="M12 2a5 5 0 00-5 5c0 2.76 2.24 6 5 6s5-3.24 5-6a5 5 0 00-5-5zm0 13c-4 0-7 2-7 4v2h14v-2c0-2-3-4-7-4z"/></svg>
</div>
<div class="tool"><span style="font-weight:700;font-size:24px;">GIF</span></div>
<div class="tool">
<svg viewBox="0 0 24 24"><path d="M12 3l9 6-9 6-9-6 9-6zm0 15l9-6v9H3v-9l9 6z"/></svg>
</div>
<div class="tool">
<svg viewBox="0 0 24 24"><path d="M4 5h9v2H4V5zm0 4h13v2H4V9zm0 4h9v2H4v-2zm0 4h13v2H4v-2z"/></svg>
</div>
<div class="tool">
<svg viewBox="0 0 24 24"><path d="M12 2l2 4 4 .6-3 2.9.8 4.5-3.8-2-3.8 2 .8-4.5-3-2.9 4-.6 2-4z"/></svg>
</div>
<div class="mic-wrap">
<svg viewBox="0 0 24 24"><path d="M12 3a3 3 0 013 3v6a3 3 0 11-6 0V6a3 3 0 013-3zm-6 9h2a6 6 0 0012 0h2a8 8 0 01-7 7v3h-4v-3a8 8 0 01-7-7z"/></svg>
</div>
</div>
<div class="kb-rows">
<!-- Row 1 -->
<div class="key-row">
<div class="key">Q</div><div class="key">W</div><div class="key">E</div><div class="key">R</div><div class="key">T</div>
<div class="key">Y</div><div class="key">U</div><div class="key">I</div><div class="key">O</div><div class="key">P</div>
</div>
<!-- Row 2 -->
<div class="key-row">
<div class="key">A</div><div class="key">S</div><div class="key">D</div><div class="key">F</div><div class="key">G</div>
<div class="key">H</div><div class="key">J</div><div class="key">K</div><div class="key">L</div>
</div>
<!-- Row 3 -->
<div class="key-row">
<div class="key pink wide">?123</div>
<div class="key">Z</div><div class="key">X</div><div class="key">C</div><div class="key">V</div><div class="key">B</div><div class="key">N</div><div class="key">M</div>
<div class="key backspace wide">⌫</div>
</div>
<!-- Row 4 -->
<div class="key-row">
<div class="key wide">,</div>
<div class="key wide">🙂</div>
<div class="spacebar"></div>
<div class="key">.</div>
<div class="key enter">✓</div>
</div>
</div>
<div class="gesture"></div>
</div>
</div>
</body>
</html> |