File size: 12,561 Bytes
79228d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>File Select & Share</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: #F7F7FA;
    color: #222;
  }

  /* Status bar */
  .status-bar {
    position: absolute; top: 0; left: 0; width: 100%; height: 96px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 32px; color: #fff; background: rgba(0,0,0,0.25);
    font-size: 36px; letter-spacing: 0.5px;
  }
  .status-icons { display: flex; align-items: center; gap: 24px; }

  /* Header (selection) */
  .selection-header {
    position: absolute; top: 96px; left: 0; right: 0; height: 120px;
    display: flex; align-items: center;
    padding: 0 32px; background: #FFFFFF;
    border-bottom: 1px solid #E4E6EB;
    font-size: 40px;
  }
  .selection-header .title { flex: 1; text-align: center; font-weight: 600; }
  .selection-header .left { color: #666; }
  .selection-header .right { color: #2451FF; font-weight: 600; }

  /* Tabs */
  .tabs {
    position: absolute; top: 216px; left: 0; right: 0; height: 96px;
    background: #FFFFFF; display: flex; align-items: center; padding: 0 32px;
    border-bottom: 1px solid #E4E6EB;
    font-size: 36px;
  }
  .tab { margin-right: 40px; color: #666; }
  .tab.active { color: #2451FF; position: relative; }
  .tab.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -32px;
    height: 6px; background: #2451FF; border-radius: 3px;
  }

  /* Sort row */
  .sort-row {
    position: absolute; top: 312px; left: 0; right: 0; height: 96px;
    background: #FFFFFF; display: flex; align-items: center; padding: 0 32px;
    color: #5A5A5A; font-size: 34px; gap: 16px; border-bottom: 1px solid #E4E6EB;
  }

  /* File list */
  .list {
    position: absolute; top: 408px; left: 0; right: 0; bottom: 900px;
    overflow: hidden; /* not scroll for static mock */
    background: #FFFFFF;
  }
  .file-row {
    display: grid; grid-template-columns: 120px 1fr 120px;
    align-items: center; padding: 24px 32px; height: 170px; border-bottom: 1px solid #F0F0F3;
  }
  .file-row.selected { background: #EAF2FF; }
  .file-name { font-size: 40px; font-weight: 600; color: #222; }
  .file-meta { font-size: 30px; color: #8A8A8A; margin-top: 8px; }
  .file-icon { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
  .select-dot { display: flex; align-items: center; justify-content: center; }

  /* Share sheet */
  .share-sheet {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 900px; background: #1C1C1E; color: #fff;
    border-top-left-radius: 40px; border-top-right-radius: 40px;
    box-shadow: 0 -12px 24px rgba(0,0,0,0.35);
    padding: 24px 40px;
  }
  .drag-handle {
    width: 120px; height: 12px; background: #3A3A3C; border-radius: 6px; margin: 12px auto 24px;
  }
  .share-text {
    font-size: 36px; line-height: 1.45; color: #EDEDED; margin-top: 12px;
  }
  .btn-row { display: flex; gap: 28px; margin: 32px 0; }
  .action-btn {
    flex: 0 0 260px; height: 96px; border: 2px solid #3855FF;
    border-radius: 18px; display: flex; align-items: center; justify-content: center;
    gap: 16px; color: #DDE3FF; font-size: 36px; background: rgba(56,85,255,0.12);
  }

  .account {
    display: flex; align-items: center; gap: 24px; margin: 14px 0 24px;
  }
  .avatar-placeholder {
    width: 116px; height: 116px; background: #E0E0E0; border: 1px solid #BDBDBD;
    border-radius: 58px; display: flex; align-items: center; justify-content: center; color: #757575;
    font-size: 24px; text-align: center; padding: 8px;
    position: relative;
  }
  .badge {
    position: absolute; right: -4px; bottom: -4px; width: 44px; height: 44px;
    background: #F0F0F0; border: 1px solid #C9C9C9; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 22px; color: #666;
  }
  .account-text { color: #D7D7D7; font-size: 34px; }
  .apps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 24px;
  }
  .app {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  }
  .app-icon {
    width: 140px; height: 140px; border-radius: 70px; background: #2B2B2E;
    display: flex; align-items: center; justify-content: center;
  }
  .app-label { font-size: 30px; text-align: center; color: #EDEDED; }
  .app-sub { font-size: 26px; color: #BEBEBE; margin-top: -8px; }

  /* Home pill */
  .home-pill {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    width: 220px; height: 12px; background: #FFFFFF; border-radius: 6px;
    opacity: 0.9;
  }
  /* Utility SVG colors */
  .blue { fill: #2451FF; }
  .grey { fill: #B0BEC5; }
  .yellow { fill: #F5C54B; }

</style>
</head>
<body>
<div id="render-target">

  <!-- Status Bar -->
  <div class="status-bar">
    <div>8:18</div>
    <div class="status-icons">
      <!-- simple icons -->
      <svg width="40" height="40" viewBox="0 0 24 24">
        <circle cx="12" cy="12" r="10" stroke="#fff" stroke-width="2" fill="none"></circle>
        <path d="M7 12l3 3 7-7" stroke="#fff" stroke-width="2" fill="none"></path>
      </svg>
      <svg width="40" height="40" viewBox="0 0 24 24">
        <path d="M2 18c3-4 6-6 10-6s7 2 10 6" stroke="#fff" stroke-width="2" fill="none"></path>
        <path d="M6 18c2-3 4-4 6-4s4 1 6 4" stroke="#fff" stroke-width="2" fill="none"></path>
      </svg>
      <svg width="40" height="40" viewBox="0 0 24 24">
        <rect x="2" y="7" width="16" height="10" rx="2" stroke="#fff" stroke-width="2" fill="none"></rect>
        <rect x="19" y="10" width="2" height="4" fill="#fff"></rect>
      </svg>
    </div>
  </div>

  <!-- Selection header -->
  <div class="selection-header">
    <div class="left">Cancel</div>
    <div class="title">1 file(s) selected</div>
    <div class="right">Select All</div>
  </div>

  <!-- Tabs -->
  <div class="tabs">
    <div class="tab active">All</div>
    <div class="tab">Offline</div>
  </div>

  <!-- Sort -->
  <div class="sort-row">
    <svg width="36" height="36" viewBox="0 0 24 24">
      <path d="M4 6h16M4 12h12M4 18h8" stroke="#666" stroke-width="2" fill="none" stroke-linecap="round"></path>
    </svg>
    <div>Sort by time</div>
  </div>

  <!-- File list -->
  <div class="list">
    <!-- Personal Vault -->
    <div class="file-row">
      <div class="file-icon">
        <svg width="72" height="72" viewBox="0 0 24 24">
          <rect x="3" y="5" width="18" height="14" rx="2" fill="#C2C8D0"></rect>
          <circle cx="12" cy="12" r="4" fill="#9AA3AD"></circle>
          <circle cx="12" cy="12" r="1.5" fill="#707A84"></circle>
        </svg>
      </div>
      <div>
        <div class="file-name">Personal Vault</div>
        <div class="file-meta"> </div>
      </div>
      <div class="select-dot">
        <svg width="56" height="56" viewBox="0 0 24 24">
          <circle cx="12" cy="12" r="10" stroke="#C9CED8" stroke-width="2" fill="none"></circle>
        </svg>
      </div>
    </div>

    <!-- password file (selected) -->
    <div class="file-row selected">
      <div class="file-icon">
        <svg width="84" height="84" viewBox="0 0 24 24">
          <path d="M3 7h7l2 2h9v10H3z" fill="#F5C54B"></path>
        </svg>
      </div>
      <div>
        <div class="file-name">password file</div>
        <div class="file-meta">2023-06-28 15:09</div>
      </div>
      <div class="select-dot">
        <svg width="56" height="56" viewBox="0 0 24 24">
          <circle cx="12" cy="12" r="10" fill="#2451FF"></circle>
          <path d="M7 12l3 3 7-7" stroke="#fff" stroke-width="2" fill="none"></path>
        </svg>
      </div>
    </div>

    <!-- plant -->
    <div class="file-row">
      <div class="file-icon">
        <svg width="84" height="84" viewBox="0 0 24 24">
          <path d="M6 16h10a5 5 0 0 0 0-10c-.9 0-1.7.2-2.3.6A7 7 0 0 0 6 12a4 4 0 0 0 0 4z" fill="#C2C8D0"></path>
        </svg>
      </div>
      <div>
        <div class="file-name">plant</div>
        <div class="file-meta">2023-06-28 14:11   74.34KB</div>
      </div>
      <div class="select-dot">
        <svg width="56" height="56" viewBox="0 0 24 24">
          <circle cx="12" cy="12" r="10" stroke="#C9CED8" stroke-width="2" fill="none"></circle>
        </svg>
      </div>
    </div>

    <!-- white tree -->
    <div class="file-row">
      <div class="file-icon">
        <svg width="84" height="84" viewBox="0 0 24 24">
          <path d="M6 16h10a5 5 0 0 0 0-10c-.9 0-1.7.2-2.3.6A7 7 0 0 0 6 12a4 4 0 0 0 0 4z" fill="#C2C8D0"></path>
        </svg>
      </div>
      <div>
        <div class="file-name">white tree</div>
        <div class="file-meta">2023-06-28 14:11   256.12KB</div>
      </div>
      <div class="select-dot">
        <svg width="56" height="56" viewBox="0 0 24 24">
          <circle cx="12" cy="12" r="10" stroke="#C9CED8" stroke-width="2" fill="none"></circle>
        </svg>
      </div>
    </div>

    <!-- PDF -->
    <div class="file-row">
      <div class="file-icon">
        <svg width="84" height="84" viewBox="0 0 24 24">
          <path d="M6 3h9l5 5v13H6z" fill="#EF5350"></path>
          <path d="M15 3v5h5" fill="#FFCDD2"></path>
        </svg>
      </div>
      <div>
        <div class="file-name">TeraBoxQuickStartGuide.pdf</div>
        <div class="file-meta">2023-06-28 14:08   1.17KB</div>
      </div>
      <div class="select-dot">
        <svg width="56" height="56" viewBox="0 0 24 24">
          <circle cx="12" cy="12" r="10" stroke="#C9CED8" stroke-width="2" fill="none"></circle>
        </svg>
      </div>
    </div>
  </div>

  <!-- Share Sheet -->
  <div class="share-sheet">
    <div class="drag-handle"></div>
    <div class="share-text">
      Hi, I am using TeraBox to share "password file" with you. Come and take a look! https://teraboxapp.com/s/1X8O3...
    </div>

    <div class="btn-row">
      <div class="action-btn">
        <svg width="30" height="30" viewBox="0 0 24 24">
          <rect x="5" y="5" width="10" height="10" rx="2" stroke="#DDE3FF" stroke-width="2" fill="none"></rect>
          <rect x="9" y="9" width="10" height="10" rx="2" stroke="#DDE3FF" stroke-width="2" fill="none"></rect>
        </svg>
        <span>Copy</span>
      </div>
      <div class="action-btn">
        <svg width="32" height="32" viewBox="0 0 24 24">
          <path d="M5 7l6 6-6 6" stroke="#DDE3FF" stroke-width="2" fill="none" stroke-linecap="round"></path>
          <path d="M19 7l-6 6 6 6" stroke="#DDE3FF" stroke-width="2" fill="none" stroke-linecap="round"></path>
        </svg>
        <span>Nearby</span>
      </div>
    </div>

    <div class="account">
      <div class="avatar-placeholder">[IMG: User Avatar]
        <div class="badge">M</div>
      </div>
      <div class="account-text">dbwscratch.test.id10@g...</div>
    </div>

    <div class="apps">
      <div class="app">
        <div class="app-icon" style="background:#D32F2F;">
          <svg width="72" height="72" viewBox="0 0 24 24">
            <path d="M2 18l10-12 10 12" stroke="#fff" stroke-width="2" fill="none"></path>
          </svg>
        </div>
        <div class="app-label">Gmail</div>
      </div>
      <div class="app">
        <div class="app-icon" style="background:#2E7D32;">
          <svg width="72" height="72" viewBox="0 0 24 24">
            <polygon points="12,3 3,21 21,21" fill="#fff" opacity="0.85"></polygon>
          </svg>
        </div>
        <div class="app-label">Drive</div>
      </div>
      <div class="app">
        <div class="app-icon" style="background:#2962FF;">
          <svg width="72" height="72" viewBox="0 0 24 24">
            <rect x="3" y="7" width="18" height="10" rx="5" fill="#fff"></rect>
          </svg>
        </div>
        <div class="app-label">Messages</div>
      </div>
      <div class="app">
        <div class="app-icon" style="background:#1877F2;">
          <svg width="72" height="72" viewBox="0 0 24 24">
            <path d="M14 22v-7h3l1-4h-4V8c0-1 1-2 2-2h2V3h-3a5 5 0 0 0-5 5v3H8v4h3v7z" fill="#fff"></path>
          </svg>
        </div>
        <div class="app-label">Facebook</div>
        <div class="app-sub">News Feed</div>
      </div>
    </div>
  </div>

  <!-- Home Pill -->
  <div class="home-pill"></div>

</div>
</body>
</html>