File size: 12,734 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Editor - Element Animations</title>
<style>
  body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
  #render-target {
    position: relative;
    width: 1080px;
    height: 2400px;
    overflow: hidden;
    background: #ffffff;
    border-radius: 0;
  }

  /* Status bar */
  .status-bar {
    height: 80px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1f1f1f;
    font-size: 36px;
  }
  .status-left { display: flex; align-items: center; gap: 12px; }
  .status-right { display: flex; align-items: center; gap: 22px; }
  .dot { width: 18px; height: 18px; background:#6b6b6b; border-radius: 50%; display:inline-block; opacity:.9; }

  /* App toolbar */
  .toolbar {
    height: 120px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .toolbar .left-actions,
  .toolbar .right-actions {
    display: flex; align-items: center; gap: 34px;
  }
  .icon-btn {
    width: 72px; height: 72px; display: inline-flex; align-items: center; justify-content: center;
    color: #222;
  }
  .icon-btn svg { width: 48px; height: 48px; }

  /* Canvas workspace */
  .canvas {
    position: relative;
    height: 1220px;
    background: #f3f3f3;
    overflow: hidden;
  }
  /* Decorative bands behind the video */
  .band-dark {
    position: absolute; left: 0; right: 0; top: 140px; height: 180px; background: #25322d;
  }
  .band-yellow {
    position: absolute; left: 60px; right: 60px; top: 260px; height: 140px; background: #fff1b0;
  }
  .collage {
    position: absolute; left: 0; right: 0; bottom: 180px; height: 240px;
    background: #E0E0E0; border-top: 1px solid #BDBDBD; border-bottom: 1px solid #BDBDBD;
    display: flex; align-items: center; justify-content: center; color:#757575; font-size: 36px;
  }

  /* Video element (selected) */
  .video-wrap {
    position: absolute;
    left: 90px; right: 90px; top: 320px; height: 540px;
    border: 4px solid #4a9dfc;
    border-radius: 20px;
    overflow: hidden;
    background: #E0E0E0;
    display: flex; align-items: center; justify-content: center; color:#757575; font-size: 40px;
  }
  .handle {
    position: absolute; width: 28px; height: 28px; background:#ffffff; border: 3px solid #4a9dfc; border-radius: 50%;
  }
  .h-tl { left:-14px; top:-14px; }
  .h-tr { right:-14px; top:-14px; }
  .h-bl { left:-14px; bottom:-14px; }
  .h-br { right:-14px; bottom:-14px; }
  .h-ml { left:-14px; top:50%; transform:translateY(-50%); }
  .h-mr { right:-14px; top:50%; transform:translateY(-50%); }
  .h-tm { top:-14px; left:50%; transform:translateX(-50%); }
  .h-bm { bottom:-14px; left:50%; transform:translateX(-50%); }

  .play-overlay {
    position: absolute; width: 140px; height: 140px; border-radius: 50%;
    background: rgba(0,0,0,0.35); display:flex; align-items:center; justify-content:center;
  }
  .play-overlay svg { width: 70px; height: 70px; }

  /* Timeline overlay inside video */
  .timeline {
    position: absolute; left: 28px; right: 28px; bottom: 24px; color: #fff;
    display: flex; align-items: center; gap: 22px;
  }
  .timeline .time { font-size: 32px; text-shadow: 0 1px 2px rgba(0,0,0,0.35); width: 110px; }
  .progress {
    flex: 1; height: 8px; background: rgba(255,255,255,0.45); border-radius: 6px; position: relative;
  }
  .progress .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background:#ffffff; border-radius: 6px; }

  /* Rotate icon below video */
  .rotate-btn {
    position: absolute; left: 50%; transform: translateX(-50%);
    bottom: 110px; width: 72px; height: 72px; border-radius: 50%;
    background:#ffffff; border: 2px solid #DADADA; display:flex; align-items:center; justify-content:center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }
  .rotate-btn svg { width: 42px; height: 42px; }

  /* Bottom sheet */
  .sheet {
    position: absolute; left: 0; right: 0; bottom: 96px; height: 840px; background: #ffffff;
    border-top-left-radius: 26px; border-top-right-radius: 26px;
    box-shadow: 0 -6px 16px rgba(0,0,0,0.08);
    padding: 22px 32px 20px 32px;
  }
  .sheet-head {
    display: flex; align-items: center; justify-content: space-between; padding: 18px 6px 8px;
  }
  .sheet-title { font-size: 52px; font-weight: 700; color:#111; }
  .sheet-close { width: 70px; height: 70px; display:flex; align-items:center; justify-content:center; }
  .sheet-close svg { width: 42px; height: 42px; }

  .option-row { display: flex; align-items: center; gap: 18px; font-size: 36px; color:#2a2a2a; margin: 28px 6px; }
  .checkbox {
    width: 44px; height: 44px; border: 3px solid #B6B6B6; border-radius: 8px; background:#fff;
  }

  .chip-row {
    display: flex; align-items: center; gap: 22px; margin: 36px 0 28px 0; padding: 0 4px; overflow: hidden;
  }
  .chip {
    padding: 22px 34px; border: 2px solid #D7D7D7; border-radius: 18px; font-size: 36px; color:#232323; background:#fff;
    white-space: nowrap;
  }
  .chip.active {
    border-color: #7a5af8; color: #4b36c4; box-shadow: inset 0 0 0 1px rgba(122,90,248,0.15);
  }

  .sheet-footer {
    position: absolute; left:0; right:0; bottom: 22px; display: flex; justify-content: space-around; align-items: center;
  }
  .foot-item { display:flex; flex-direction: column; align-items:center; gap: 8px; color:#5c5c5c; font-size: 30px; }
  .foot-item.active { color:#6f51ff; }
  .foot-icon { width: 60px; height: 60px; display:flex; align-items:center; justify-content:center; border-radius: 18px; }
  .foot-item.active .foot-icon { color:#6f51ff; }

  /* Android navigation bar gesture pill */
  .nav-pill {
    position: absolute; left: 50%; transform: translateX(-50%);
    bottom: 24px; width: 260px; height: 10px; background: #1a1a1a; border-radius: 8px;
    opacity: .95;
  }
</style>
</head>
<body>
<div id="render-target">

  <!-- Status bar -->
  <div class="status-bar">
    <div class="status-left">
      <div style="font-weight:600;">6:07</div>
      <span class="dot"></span>
      <span class="dot" style="opacity:.6;"></span>
      <span class="dot" style="opacity:.35;"></span>
      <span class="dot" style="width:10px;height:10px;opacity:.6;"></span>
    </div>
    <div class="status-right">
      <svg width="44" height="44" viewBox="0 0 24 24" fill="#6b6b6b" xmlns="http://www.w3.org/2000/svg">
        <path d="M3 18h18l-4-6-5 7-4-5-5 4z"/>
      </svg>
      <svg width="44" height="44" viewBox="0 0 24 24" fill="#6b6b6b" xmlns="http://www.w3.org/2000/svg">
        <path d="M20 8V6a2 2 0 0 0-2-2H6C4.9 4 4 4.9 4 6v2h16zM4 10v8c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2v-8H4z"/>
      </svg>
      <svg width="44" height="44" viewBox="0 0 24 24" fill="#6b6b6b" xmlns="http://www.w3.org/2000/svg">
        <path d="M16 4h-1V2h-2v2H9c-1.7 0-3 1.3-3 3v11c0 1.6 1.3 3 3 3h7c1.6 0 3-1.4 3-3V7c0-1.7-1.4-3-3-3z"/>
      </svg>
    </div>
  </div>

  <!-- Toolbar -->
  <div class="toolbar">
    <div class="left-actions">
      <div class="icon-btn" title="Back">
        <svg viewBox="0 0 24 24" fill="none" stroke="#222" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
          <path d="M15 18l-6-6 6-6"/>
        </svg>
      </div>
      <div class="icon-btn" title="Preview">
        <svg viewBox="0 0 24 24" fill="none" stroke="#222" stroke-width="1.8">
          <circle cx="12" cy="12" r="9" stroke-dasharray="2 3"/>
          <path d="M10 8l6 4-6 4" fill="#222" stroke="none"/>
        </svg>
      </div>
      <div class="icon-btn" title="Layers">
        <svg viewBox="0 0 24 24" fill="none" stroke="#222" stroke-width="2" stroke-linejoin="round">
          <path d="M12 3l8 4-8 4-8-4 8-4z"/>
          <path d="M4 12l8 4 8-4"/>
          <path d="M4 16l8 4 8-4"/>
        </svg>
      </div>
    </div>
    <div class="right-actions">
      <div class="icon-btn" title="Undo">
        <svg viewBox="0 0 24 24" fill="none" stroke="#222" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
          <path d="M9 14H5v-4"/>
          <path d="M20 20a8 8 0 0 0-11-11L5 10"/>
        </svg>
      </div>
      <div class="icon-btn" title="More">
        <svg viewBox="0 0 24 24" fill="#222">
          <circle cx="12" cy="5" r="2"/>
          <circle cx="12" cy="12" r="2"/>
          <circle cx="12" cy="19" r="2"/>
        </svg>
      </div>
      <div class="icon-btn" title="Download">
        <svg viewBox="0 0 24 24" fill="none" stroke="#222" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
          <path d="M12 3v12"/>
          <path d="M7 10l5 5 5-5"/>
          <path d="M4 20h16"/>
        </svg>
      </div>
      <div class="icon-btn" title="Share">
        <svg viewBox="0 0 24 24" fill="none" stroke="#222" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
          <circle cx="18" cy="5" r="3"/>
          <circle cx="6" cy="12" r="3"/>
          <circle cx="18" cy="19" r="3"/>
          <path d="M8.7 13.3l6.6 3.4M15.3 7.3L8.7 10.7"/>
        </svg>
      </div>
    </div>
  </div>

  <!-- Canvas area -->
  <div class="canvas">
    <div class="band-dark"></div>
    <div class="band-yellow"></div>

    <div class="video-wrap">
      [IMG: Video Frame]
      <div class="play-overlay">
        <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
          <path d="M8 5l12 7-12 7z" fill="#ffffff"/>
        </svg>
      </div>

      <!-- resize 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>

      <!-- timeline -->
      <div class="timeline">
        <div class="time">00:00</div>
        <div class="progress"><div class="bar"></div></div>
        <div class="time" style="text-align:right;">00:15</div>
      </div>
    </div>

    <div class="collage">[IMG: Office Team Collage]</div>

    <div class="rotate-btn" title="Rotate">
      <svg viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
        <path d="M4 11a8 8 0 1 1 2 5.5"/>
        <path d="M4 15v-4h4"/>
      </svg>
    </div>
  </div>

  <!-- Bottom sheet -->
  <div class="sheet">
    <div class="sheet-head">
      <div style="display:flex; align-items:center; gap:12px;">
        <svg width="34" height="34" viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2">
          <path d="M6 9l-3 3 3 3"/>
          <path d="M3 12h18"/>
        </svg>
        <span style="color:#6f6f6f; font-size:30px;">Expand</span>
      </div>
      <div class="sheet-title">Element Animations</div>
      <div class="sheet-close">
        <svg viewBox="0 0 24 24" fill="none" stroke="#111" stroke-width="2" stroke-linecap="round">
          <path d="M6 6l12 12M18 6l-12 12"/>
        </svg>
      </div>
    </div>

    <div class="option-row">
      <div class="checkbox"></div>
      <div>Apply same animation to all pages</div>
    </div>
    <div class="option-row">
      <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 active">Zoom In</div>
      <div class="chip">Zoom Out</div>
      <div class="chip">Light Speed In</div>
    </div>

    <div class="sheet-footer">
      <div class="foot-item active">
        <div class="foot-icon">
          <svg viewBox="0 0 24 24" fill="none" stroke="#6f51ff" stroke-width="2">
            <circle cx="12" cy="12" r="8"/>
            <circle cx="9" cy="10" r="1.2" fill="#6f51ff" stroke="none"/>
            <circle cx="15" cy="10" r="1.2" fill="#6f51ff" stroke="none"/>
            <path d="M8 15c2.5 2 5.5 2 8 0"/>
          </svg>
        </div>
        <div>Animations</div>
      </div>
      <div class="foot-item">
        <div class="foot-icon">
          <svg viewBox="0 0 24 24" fill="none" stroke="#5c5c5c" stroke-width="2" stroke-linecap="round">
            <circle cx="12" cy="12" r="8"/>
            <path d="M12 7v5l3 2"/>
          </svg>
        </div>
        <div>Duration</div>
      </div>
      <div class="foot-item">
        <div class="foot-icon" style="border:2px solid #5c5c5c; width:60px; height:60px;">
          <span style="font-size:26px; color:#5c5c5c;">9+</span>
        </div>
        <div>Manage pages</div>
      </div>
    </div>
  </div>

  <!-- Android navigation gesture pill -->
  <div class="nav-pill"></div>
</div>
</body>
</html>