File size: 12,365 Bytes
98687c3 | 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>UI Mock - Element Animations</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #FFFFFF;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
color: #1f1f1f;
}
/* Status bar */
.status-bar {
height: 110px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #2d2d2d;
font-weight: 600;
font-size: 44px;
}
.status-left { display: flex; align-items: center; gap: 22px; }
.status-dots { display: flex; gap: 20px; align-items: center; }
.dot {
width: 24px; height: 24px; background: #707070; border-radius: 50%;
opacity: 0.65;
}
.status-right { display: flex; align-items: center; gap: 26px; }
.icon-mini { width: 46px; height: 46px; }
/* App toolbar */
.app-bar {
height: 124px;
border-bottom: 1px solid #eee;
display: flex;
align-items: center;
padding: 0 34px;
gap: 46px;
}
.icon-btn {
width: 88px; height: 88px;
border-radius: 16px;
display: flex; align-items: center; justify-content: center;
color: #1f1f1f;
}
.app-bar .spacer { flex: 1; }
/* Canvas / editor area */
.canvas-area {
background: #f1f1f1;
height: 1080px;
position: relative;
}
.band-dark {
position: absolute;
top: 200px;
left: 0;
right: 0;
height: 210px;
background: #26342f;
}
.band-accent {
position: absolute;
top: 300px;
left: -40px;
right: -40px;
height: 160px;
background: #f6eea7;
}
.video-wrapper {
position: absolute;
top: 270px;
left: 60px;
width: 960px;
height: 540px;
border: 3px solid #42a5f5;
border-radius: 18px;
overflow: hidden;
box-shadow: 0 8px 18px rgba(0,0,0,0.25);
background: #E0E0E0;
}
.video-placeholder {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 44px;
letter-spacing: .5px;
border: 1px solid #BDBDBD;
background: linear-gradient(0deg, rgba(0,0,0,0.08), rgba(0,0,0,0.08)), #E0E0E0;
}
.play-overlay {
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
width: 132px; height: 132px;
border-radius: 50%;
background: rgba(0,0,0,0.45);
display: flex; align-items: center; justify-content: center;
}
.progress-area {
position: absolute;
left: 28px; right: 28px; bottom: 24px;
height: 54px; color: #fff;
display: flex; align-items: center; gap: 18px;
font-size: 34px; font-weight: 600;
text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.progress-track {
flex: 1; height: 8px;
background: rgba(255,255,255,0.55);
border-radius: 6px; position: relative;
}
.progress-track::before {
content: ""; position: absolute; left: 0; top: 0;
width: 18%; height: 100%; background: #ffffff; border-radius: 6px;
}
/* Selection handles around video */
.handle {
width: 26px; height: 26px; border-radius: 50%;
background: #ffffff; border: 3px solid #42a5f5;
position: absolute;
}
.h-tl { top: -14px; left: -14px; }
.h-tr { top: -14px; right: -14px; }
.h-bl { bottom: -14px; left: -14px; }
.h-br { bottom: -14px; right: -14px; }
.h-ml { top: 50%; left: -14px; transform: translateY(-50%); }
.h-mr { top: 50%; right: -14px; transform: translateY(-50%); }
.h-tm { top: -14px; left: 50%; transform: translateX(-50%); }
.h-bm { bottom: -14px; left: 50%; transform: translateX(-50%); }
.rotate-handle {
position: absolute;
top: 840px;
left: 50%;
transform: translateX(-50%);
width: 74px; height: 74px;
border-radius: 50%;
border: 1px solid #CFCFCF;
background: #ffffff;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* Bottom sheet */
.sheet {
position: absolute;
left: 0; right: 0; bottom: 0;
height: 980px;
background: #ffffff;
border-top-left-radius: 28px;
border-top-right-radius: 28px;
box-shadow: 0 -12px 24px rgba(0,0,0,0.08);
overflow: hidden;
}
.sheet-inner { padding: 28px 34px 0 34px; }
.sheet-header {
display: flex; align-items: center; justify-content: space-between;
padding: 12px 4px 20px;
}
.sheet-title {
display: flex; align-items: center; gap: 18px;
font-size: 54px; font-weight: 700;
}
.caret { transform: rotate(180deg); }
.close-btn {
width: 70px; height: 70px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
}
.option {
display: flex; align-items: center; gap: 22px;
font-size: 40px; margin: 26px 6px;
}
.checkbox {
width: 44px; height: 44px; border: 2px solid #9e9e9e;
border-radius: 8px; background: #fff;
}
.chip-row {
display: flex; gap: 22px; margin: 28px 0 34px; flex-wrap: nowrap;
}
.chip {
padding: 24px 34px; border: 2px solid #d7d7d7;
border-radius: 18px; font-size: 36px; white-space: nowrap;
background: #fafafa;
}
/* Bottom tabs */
.bottom-tabs {
position: absolute; left: 0; right: 0; bottom: 64px;
display: flex; justify-content: space-around; align-items: center;
}
.tab-item {
display: flex; flex-direction: column; align-items: center; gap: 14px;
color: #1f1f1f; font-size: 30px;
}
.tab-item.active { color: #5b53ff; }
.badge {
position: absolute; top: -8px; right: -18px;
background: #efefef; color: #111; border-radius: 12px;
font-size: 22px; padding: 4px 8px; border: 1px solid #d0d0d0;
}
/* Gesture bar */
.gesture {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 18px; width: 300px; height: 10px; background: #0f0f0f; border-radius: 8px;
opacity: 0.85;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>6:06</div>
<div class="status-dots">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
<div style="width:14px;height:14px;background:#707070;border-radius:50%;opacity:.7;"></div>
</div>
</div>
<div class="status-right">
<!-- Signal/WiFi -->
<svg class="icon-mini" viewBox="0 0 24 24" fill="#5a5a5a">
<path d="M12 20c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zM4 8l2 2c3.9-3.9 10.2-3.9 14.1 0L22 8C17-0.7 7-0.7 2 8zm4 4l2 2c2.8-2.8 7.2-2.8 10 0l2-2c-3.9-3.9-10.1-3.9-14 0z"/>
</svg>
<!-- Battery -->
<svg class="icon-mini" viewBox="0 0 24 24" fill="#5a5a5a">
<path d="M16 6h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-1v1h-2v-1H8a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h8zM8 8v8h8V8H8z"/>
</svg>
</div>
</div>
<!-- App toolbar -->
<div class="app-bar">
<!-- Back -->
<div class="icon-btn">
<svg width="54" height="54" viewBox="0 0 24 24" fill="#1f1f1f">
<path d="M15.5 19l-7-7 7-7 1.5 1.5L11.5 12l5.5 5.5z"/>
</svg>
</div>
<!-- Preview (dashed circle with play) -->
<div class="icon-btn">
<svg width="64" height="64" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#1f1f1f" stroke-width="2" stroke-dasharray="2 2"/>
<path d="M10 8l6 4-6 4z" fill="#1f1f1f"/>
</svg>
</div>
<!-- Layers -->
<div class="icon-btn">
<svg width="60" height="60" viewBox="0 0 24 24" fill="#1f1f1f">
<path d="M12 2L1 7l11 5 11-5-11-5zm0 9L1 6v3l11 5 11-5V6l-11 5zm0 4L1 11v3l11 5 11-5v-3l-11 4z"/>
</svg>
</div>
<!-- Undo -->
<div class="icon-btn">
<svg width="56" height="56" viewBox="0 0 24 24" fill="#1f1f1f">
<path d="M12 5V1L7 6l5 5V7c3.3 0 6 2.7 6 6 0 1.1-.3 2.1-.8 3l1.8 1C20.7 15.9 21 14.5 21 13c0-4.4-3.6-8-8-8z"/>
</svg>
</div>
<div class="spacer"></div>
<!-- More -->
<div class="icon-btn">
<svg width="50" height="50" viewBox="0 0 24 24" fill="#1f1f1f">
<circle cx="5" cy="12" r="2"/><circle cx="12" cy="12" r="2"/><circle cx="19" cy="12" r="2"/>
</svg>
</div>
<!-- Download -->
<div class="icon-btn">
<svg width="58" height="58" viewBox="0 0 24 24" fill="#1f1f1f">
<path d="M5 20h14v-2H5v2zm7-18l-5 5h3v6h4V7h3l-5-5z"/>
</svg>
</div>
<!-- Share/Export -->
<div class="icon-btn">
<svg width="60" height="60" viewBox="0 0 24 24" fill="#1f1f1f">
<path d="M18 16.1c-.7 0-1.3.3-1.8.7L8.9 12c.1-.3.1-.7 0-1l7.2-4.7c.5.4 1.1.7 1.8.7 1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3c0 .2 0 .4.1.6L8.8 9.6c-.5-.4-1.1-.6-1.8-.6-1.7 0-3 1.3-3 3s1.3 3 3 3c.7 0 1.3-.2 1.8-.6l6.3 4.2c-.1.2-.1.5-.1.7 0 1.7 1.3 3 3 3s3-1.3 3-3-1.3-3-3-3z"/>
</svg>
</div>
</div>
<!-- Canvas/Editor preview -->
<div class="canvas-area">
<div class="band-dark"></div>
<div class="band-accent"></div>
<div class="video-wrapper">
<div class="video-placeholder">[VIDEO PLACEHOLDER]</div>
<div class="play-overlay">
<svg width="60" height="60" viewBox="0 0 24 24">
<path d="M8 5v14l11-7z" fill="#ffffff"/>
</svg>
</div>
<!-- selection handles -->
<div class="handle h-tl"></div>
<div class="handle h-tr"></div>
<div class="handle h-bl"></div>
<div class="handle h-br"></div>
<div class="handle h-ml"></div>
<div class="handle h-mr"></div>
<div class="handle h-tm"></div>
<div class="handle h-bm"></div>
<!-- progress -->
<div class="progress-area">
<div style="min-width:120px; text-align:left;">00:00</div>
<div class="progress-track"></div>
<div style="min-width:120px; text-align:right;">00:15</div>
</div>
</div>
<!-- rotate handle under the video -->
<div class="rotate-handle" title="Rotate">
<svg width="32" height="32" viewBox="0 0 24 24" fill="#5a5a5a">
<path d="M12 6V3L8 7l4 4V8c2.2 0 4 1.8 4 4a4 4 0 1 1-7.5-2.1l-1.8-1A6 6 0 1 0 12 6z"/>
</svg>
</div>
</div>
<!-- Bottom Sheet: Element Animations -->
<div class="sheet">
<div class="sheet-inner">
<div class="sheet-header">
<div class="sheet-title">
<svg class="caret" width="36" height="36" viewBox="0 0 24 24" fill="#1f1f1f">
<path d="M7 14l5-5 5 5z"/>
</svg>
<span>Element Animations</span>
</div>
<div class="close-btn">
<svg width="44" height="44" viewBox="0 0 24 24" fill="#1f1f1f">
<path d="M18.3 5.7L12 12l6.3 6.3-1.3 1.4L10.6 13.4 4.3 19.7 3 18.3 9.3 12 3 5.7 4.3 4.3l6.3 6.3 6.3-6.3z"/>
</svg>
</div>
</div>
<div class="option">
<div class="checkbox"></div>
<div>Apply same animation to all pages</div>
</div>
<div class="option">
<div class="checkbox"></div>
<div>Animate elements together</div>
</div>
<div class="chip-row">
<div class="chip">Rotate in from screen</div>
<div class="chip">Zoom In</div>
<div class="chip">Zoom Out</div>
<div class="chip">Light Speed In</div>
</div>
</div>
<!-- Bottom tabs -->
<div class="bottom-tabs">
<div class="tab-item active">
<svg width="56" height="56" viewBox="0 0 24 24" fill="#5b53ff">
<circle cx="12" cy="12" r="9" fill="none" stroke="#5b53ff" stroke-width="2"/>
<circle cx="12" cy="12" r="2.5" fill="#5b53ff"/>
</svg>
<div>Animations</div>
</div>
<div class="tab-item">
<svg width="56" height="56" viewBox="0 0 24 24" fill="#1f1f1f">
<path d="M7 4h2v16H7V4zm8 0h2v16h-2V4zM11 8h2v8h-2V8z"/>
</svg>
<div>Duration</div>
</div>
<div class="tab-item" style="position:relative;">
<svg width="56" height="56" viewBox="0 0 24 24" fill="#1f1f1f">
<path d="M3 4h18v2H3V4zm0 4h12v12H3V8zm14 4h4v8h-4v-8z"/>
</svg>
<div>Manage pages</div>
<span class="badge">9+</span>
</div>
</div>
<div class="gesture"></div>
</div>
</div>
</body>
</html> |