File size: 12,955 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>File Share UI</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: #F7F8FA; border-radius: 38px; box-shadow: 0 8px 30px rgba(0,0,0,0.15);
color: #1c1c1c;
}
/* Status bar */
.status-bar {
height: 100px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between;
color: #111; font-weight: 600; font-size: 34px; background: rgba(0,0,0,0.04);
}
.status-icons { display: flex; align-items: center; gap: 26px; }
.icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
/* Top actions */
.top-bar {
height: 120px; background: #ffffff; border-bottom: 1px solid #e3e6ea;
display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
padding: 0 36px; font-size: 38px;
}
.top-bar .left { color: #3b3b3b; }
.top-bar .center { text-align: center; font-weight: 700; color: #222; }
.top-bar .right { text-align: right; color: #2F5DE2; font-weight: 600; }
/* Tabs */
.tabs { display: flex; gap: 40px; padding: 26px 34px 10px; background: #fff; border-bottom: 1px solid #e9edf2; }
.tab { font-size: 34px; color: #6b6f76; position: relative; padding-bottom: 16px; }
.tab.active { color: #2F5DE2; font-weight: 700; }
.tab.active::after { content:""; position:absolute; left:0; right:0; bottom:0; height:6px; background:#2F5DE2; border-radius:6px; }
/* Sort row */
.sort-row { display:flex; align-items:center; gap:18px; padding: 24px 34px; background:#fff; color:#5a6069; font-size:32px; border-bottom:1px solid #eef1f5; }
/* File list */
.list { background:#fff; }
.item { display:flex; align-items:center; padding: 30px 34px; border-bottom:1px solid #f0f2f6; }
.item.selected { background:#EDF3FF; }
.item .thumb {
width: 86px; height: 86px; border-radius: 16px; margin-right: 26px; display:flex; align-items:center; justify-content:center;
background:#FFE082; color:#7A5900; font-weight:700; font-size:28px;
}
.item .thumb.cloud { background:#E0E0E0; color:#616161; }
.item .thumb.vault { background:#DADDE2; color:#4b5563; }
.item .thumb.pdf { background:#FFCDD2; color:#c62828; }
.item .content { flex:1; }
.item .title { font-size:36px; color:#212529; font-weight:700; }
.item .meta { font-size:28px; color:#81858C; margin-top:8px; }
.item .end { width:60px; display:flex; align-items:center; justify-content:flex-end; }
/* Bottom sheet */
.sheet {
position:absolute; left:0; right:0; bottom:0; height: 900px; background:#15171A; color:#E7EAEE;
border-top-left-radius: 28px; border-top-right-radius: 28px; box-shadow: 0 -10px 26px rgba(0,0,0,0.35);
padding: 24px 36px;
}
.sheet .handle { width: 140px; height: 12px; background:#2A2E33; border-radius:12px; margin: 10px auto 24px; }
.sheet .share-text { font-size:32px; line-height: 1.5; margin: 16px 0 24px; color:#E7EAEE; }
.sheet .actions { display:flex; gap:28px; margin-bottom: 34px; }
.pill-btn {
border:1px solid #304050; border-radius:18px; height:82px; padding: 0 28px; display:flex; align-items:center; gap:18px;
color:#DCE2E8; font-size:32px; background:#1B1E22;
}
/* Contact chip */
.contact { display:flex; align-items:center; gap:18px; margin: 16px 0 28px; }
.avatar {
width:92px; height:92px; border-radius:50%; background:#E0E0E0; border:1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center; color:#757575; font-weight:700; font-size:40px; position:relative;
}
.avatar .badge {
position:absolute; right:-6px; bottom:-6px; width:34px; height:34px; border-radius:8px; background:#E0E0E0; border:1px solid #BDBDBD;
display:flex; align-items:center; justify-content:center; color:#757575; font-size:16px;
}
.contact .name { color:#C8CDD3; font-size:30px; }
/* Share targets row */
.targets { display:flex; align-items:flex-end; gap:24px; position:absolute; left:20px; right:20px; bottom:120px; }
.target {
width:180px; display:flex; flex-direction:column; align-items:center; gap:12px;
}
.target .circle {
width:160px; height:160px; border-radius:30px; background:#2A2E33; border:1px solid #39414A; display:flex; align-items:center; justify-content:center;
color:#D0D6DC; font-size:26px; text-align:center; padding:10px;
}
.target .label { color:#A9B0B7; font-size:26px; text-align:center; }
/* Link bubble + tooltip */
.link-bubble {
position:absolute; left:14px; bottom:280px; background:#2A2E33; color:#D0D6DC; border:1px solid #39414A;
border-radius:26px; padding:20px; width:420px; font-size:26px; line-height:1.35;
display:flex; gap:14px; align-items:center;
}
.link-bubble .mini { width:60px; height:60px; border-radius:16px; background:#1F2327; border:1px solid #3A414A; display:flex; align-items:center; justify-content:center; }
.tooltip {
position:absolute; left:160px; bottom:420px; background:#2A2E33; color:#D0D6DC; border:1px solid #39414A;
border-radius:26px; padding:16px 22px; font-size:26px;
}
/* Gesture bar */
.gesture { position:absolute; left:0; right:0; bottom:28px; display:flex; justify-content:center; }
.gesture .bar { width: 280px; height: 10px; background:#C9CDD2; border-radius:10px; }
/* Simple icon colors */
.blue { color:#2F5DE2; }
.svg { width:42px; height:42px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>8:17</div>
<div class="status-icons">
<!-- simple tiny icons -->
<svg class="svg" viewBox="0 0 24 24"><rect x="2" y="6" width="20" height="12" rx="2" fill="#555"/></svg>
<svg class="svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="#777"/></svg>
<svg class="svg" viewBox="0 0 24 24"><path d="M2 20h20M4 16h16M6 12h12M8 8h8" stroke="#666" stroke-width="2" fill="none"/></svg>
<svg class="svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="2" fill="#666"/><circle cx="20" cy="12" r="2" fill="#666"/><circle cx="4" cy="12" r="2" fill="#666"/></svg>
<svg class="svg" viewBox="0 0 24 24"><path d="M3 18h18" stroke="#000" stroke-width="2"/><path d="M3 6h18" stroke="#000" stroke-width="2"/></svg>
<svg class="svg" viewBox="0 0 24 24"><path d="M5 18h14" stroke="#000" stroke-width="3"/></svg>
</div>
</div>
<!-- Top bar -->
<div class="top-bar">
<div class="left">Cancel</div>
<div class="center">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 row -->
<div class="sort-row">
<svg class="svg" viewBox="0 0 24 24">
<path d="M4 6h16M7 12h10M10 18h4" stroke="#6b6f76" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
<div>Sort by time</div>
</div>
<!-- File list -->
<div class="list">
<div class="item">
<div class="thumb vault">
<!-- vault icon -->
<svg viewBox="0 0 24 24" class="svg">
<rect x="4" y="6" width="16" height="12" rx="2" fill="#777"/>
<circle cx="12" cy="12" r="3" fill="#555"/>
</svg>
</div>
<div class="content">
<div class="title">Personal Vault</div>
<div class="meta">Secure area</div>
</div>
<div class="end"></div>
</div>
<div class="item selected">
<div class="thumb">
<!-- folder icon -->
<svg viewBox="0 0 24 24" class="svg">
<path d="M3 7h7l2 2h9v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7z" fill="#7A5900"/>
</svg>
</div>
<div class="content">
<div class="title">password file</div>
<div class="meta">2023-06-28 15:09</div>
</div>
<div class="end">
<!-- check circle -->
<svg viewBox="0 0 24 24" class="svg">
<circle cx="12" cy="12" r="11" fill="#2F5DE2"/>
<path d="M7 12l3 3 7-7" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
</div>
<div class="item">
<div class="thumb cloud">
<!-- cloud icon -->
<svg viewBox="0 0 24 24" class="svg">
<path d="M7 16h10a3 3 0 0 0 0-6h-1a5 5 0 0 0-9 2H6a3 3 0 0 0 1 4z" fill="#616161"/>
</svg>
</div>
<div class="content">
<div class="title">plant</div>
<div class="meta">2023-06-28 14:11 74.34KB</div>
</div>
<div class="end">
<svg viewBox="0 0 24 24" class="svg">
<circle cx="12" cy="12" r="10" stroke="#C8CDD3" stroke-width="2" fill="none"/>
</svg>
</div>
</div>
<div class="item">
<div class="thumb cloud">
<svg viewBox="0 0 24 24" class="svg">
<path d="M7 16h10a3 3 0 0 0 0-6h-1a5 5 0 0 0-9 2H6a3 3 0 0 0 1 4z" fill="#616161"/>
</svg>
</div>
<div class="content">
<div class="title">white tree</div>
<div class="meta">2023-06-28 14:11 256.12KB</div>
</div>
<div class="end">
<svg viewBox="0 0 24 24" class="svg">
<circle cx="12" cy="12" r="10" stroke="#C8CDD3" stroke-width="2" fill="none"/>
</svg>
</div>
</div>
<div class="item">
<div class="thumb pdf">
<!-- pdf icon -->
<svg viewBox="0 0 24 24" class="svg">
<rect x="4" y="4" width="14" height="16" rx="2" fill="#c62828"/>
<path d="M18 4v5h4" stroke="#c62828" stroke-width="2" fill="none"/>
</svg>
</div>
<div class="content">
<div class="title">TeraBoxQuickStartGuide.pdf</div>
<div class="meta">2023-06-28 14:08 1.17KB</div>
</div>
<div class="end">
<svg viewBox="0 0 24 24" class="svg">
<circle cx="12" cy="12" r="10" stroke="#C8CDD3" stroke-width="2" fill="none"/>
</svg>
</div>
</div>
</div>
<!-- Bottom sheet -->
<div class="sheet">
<div class="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="actions">
<div class="pill-btn">
<svg viewBox="0 0 24 24" class="svg">
<rect x="4" y="6" width="16" height="12" rx="2" stroke="#9FB4C8" fill="none" stroke-width="2"/>
<line x1="8" y1="10" x2="16" y2="10" stroke="#9FB4C8" stroke-width="2"/>
<line x1="8" y1="14" x2="14" y2="14" stroke="#9FB4C8" stroke-width="2"/>
</svg>
<span>Copy</span>
</div>
<div class="pill-btn">
<svg viewBox="0 0 24 24" class="svg">
<path d="M4 12h16M12 4v16" stroke="#9FB4C8" stroke-width="2"/>
</svg>
<span>Nearby</span>
</div>
</div>
<div class="contact">
<div class="avatar">C
<div class="badge">[G]</div>
</div>
<div class="name">dbwscratch • test.id10@g...</div>
</div>
<!-- Share targets -->
<div class="targets">
<div class="target">
<div class="circle">https://teraboxapp.com/s/1X8O3S...</div>
<div class="label">Link</div>
</div>
<div class="target">
<div class="circle">
<svg viewBox="0 0 24 24" class="svg">
<path d="M12 5l7 7-7 7-7-7z" fill="#D0D6DC"/>
</svg>
</div>
<div class="label">Share</div>
</div>
<div class="target">
<div class="circle">
<svg viewBox="0 0 24 24" class="svg">
<rect x="4" y="4" width="16" height="16" rx="3" stroke="#D0D6DC" stroke-width="2" fill="none"/>
<rect x="8" y="8" width="8" height="8" fill="#D0D6DC"/>
</svg>
</div>
<div class="label">Messages</div>
</div>
<div class="target">
<div class="circle">
<svg viewBox="0 0 24 24" class="svg">
<circle cx="12" cy="12" r="10" fill="#1877F2"/>
<path d="M7 17l3-7 3 3 4-4-3 8z" fill="#fff"/>
</svg>
</div>
<div class="label">Facebook News Feed</div>
</div>
</div>
<!-- Link bubble + tooltip -->
<div class="link-bubble">
<div class="mini">
<svg viewBox="0 0 24 24" class="svg"><path d="M5 12h14M12 5v14" stroke="#AEB6BE" stroke-width="2"/></svg>
</div>
<div>https://teraboxapp.com/s/1X8O3S_Rcctu45P...</div>
<div class="mini">
<svg viewBox="0 0 24 24" class="svg"><path d="M6 12h12M12 6v12" stroke="#AEB6BE" stroke-width="2"/></svg>
</div>
</div>
<div class="tooltip">Link has been copied to pasteboard</div>
<!-- Gesture bar within sheet area -->
<div class="gesture"><div class="bar"></div></div>
</div>
</div>
</body>
</html> |