File size: 11,774 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 Manager Share Sheet Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: #F6F7FA;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0; right: 0; height: 96px; padding: 0 36px;
color: #ffffff;
}
.status-inner {
display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.status-time { font-size: 42px; font-weight: 600; }
.status-icons { display: flex; align-items: center; gap: 26px; }
.icon { display: inline-block; }
/* Header */
.header {
position: absolute; top: 96px; left: 0; right: 0; height: 120px; display: flex; align-items: center;
padding: 0 36px; color: #222; background: transparent;
}
.header .left { color: #3B56F6; font-size: 40px; }
.header .title { flex: 1; text-align: center; font-size: 44px; font-weight: 600; color: #111; }
.header .right { color: #3B56F6; font-size: 40px; font-weight: 600; }
/* Tabs */
.tabs {
position: absolute; top: 216px; left: 0; right: 0; height: 100px; display: flex; align-items: flex-end;
padding: 0 36px; gap: 36px;
}
.tab { font-size: 36px; color: #777; padding-bottom: 22px; }
.tab.active { color: #1f4ffb; position: relative; }
.tab.active::after {
content: ""; position: absolute; bottom: 8px; left: 0; width: 56px; height: 6px; background: #1f4ffb; border-radius: 3px;
}
/* Sort row */
.sort-row {
position: absolute; top: 316px; left: 0; right: 0; height: 84px; display: flex; align-items: center;
padding: 0 36px; gap: 18px; color: #667; font-size: 32px;
}
/* File list container */
.list {
position: absolute; top: 400px; left: 0; right: 0; bottom: 980px; overflow: hidden; padding: 0 12px;
}
.item {
display: flex; align-items: center; padding: 26px 24px; border-radius: 16px; margin: 6px 24px;
background: #ffffff;
}
.item.selected { background: #EAF3FF; }
.file-icon {
width: 88px; height: 88px; background: #E0E0E0; border: 1px solid #BDBDBD; border-radius: 18px;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 20px; text-align: center; margin-right: 28px;
}
.item .content { flex: 1; }
.item .title { font-size: 38px; color: #222; }
.item .subtitle { font-size: 30px; color: #8A8A8A; margin-top: 8px; }
.select-indicator {
width: 52px; height: 52px; border-radius: 50%; border: 3px solid #C9CED6;
}
.select-indicator.checked {
border-color: #2E63F6; background: #2E63F6; box-shadow: inset 0 0 0 10px #2E63F6;
}
/* Dim overlay (faint) behind share sheet */
.dim {
position: absolute; inset: 0; background: rgba(0,0,0,0.06);
}
/* Share sheet */
.sheet {
position: absolute; left: 0; right: 0; bottom: 0; height: 980px; background: #ffffff;
border-top-left-radius: 32px; border-top-right-radius: 32px; box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
}
.sheet .grabber {
position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
width: 120px; height: 10px; background: #D7DBE3; border-radius: 5px;
}
.sheet-header {
height: 120px; display: flex; align-items: center; justify-content: center; position: relative; color: #222;
font-size: 40px; font-weight: 600;
}
.sheet-header .close {
position: absolute; right: 28px; top: 34px; width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.share-icons, .share-small {
display: flex; justify-content: space-between; padding: 0 64px; margin-top: 8px;
}
.share-item {
width: 172px; display: flex; flex-direction: column; align-items: center;
}
.circle {
width: 132px; height: 132px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.label { margin-top: 18px; font-size: 28px; color: #333; text-align: center; }
.circle.green { background: #25D366; }
.circle.messenger { background: #0084FF; }
.circle.facebook { background: #1877F2; }
.circle.telegram { background: #2FA3E5; }
.circle.more { background: #ECEFF3; }
.circle.gray { background: #F2F4F7; border: 1px solid #E1E6ED; }
.sheet-footer {
margin: 40px 64px 0; padding: 26px 32px; border-radius: 22px; border: 1px solid #E3E6EA; font-size: 32px; color: #333; display: flex; align-items: center; justify-content: space-between;
background: #FAFBFC;
}
/* Bottom navigation bar indicator */
.nav-pill {
position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 300px; height: 14px; background: #C9CCD3; border-radius: 7px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-inner">
<div class="status-time">8:17</div>
<div class="status-icons">
<!-- Simple inline SVG icons -->
<svg class="icon" width="44" height="44" viewBox="0 0 24 24">
<rect x="2" y="7" width="3" height="10" fill="#fff"/>
<rect x="7" y="5" width="3" height="12" fill="#fff" opacity="0.8"/>
<rect x="12" y="3" width="3" height="14" fill="#fff" opacity="0.6"/>
<rect x="17" y="1" width="3" height="16" fill="#fff" opacity="0.4"/>
</svg>
<svg class="icon" width="44" height="44" viewBox="0 0 24 24">
<path d="M2 16c3-6 17-6 20 0" stroke="#fff" stroke-width="2" fill="none"/>
<path d="M5 12c2-3 12-3 14 0" stroke="#fff" stroke-width="2" fill="none" opacity="0.6"/>
<path d="M8 8c2-1 6-1 8 0" stroke="#fff" stroke-width="2" fill="none" opacity="0.4"/>
</svg>
<svg class="icon" width="50" height="44" viewBox="0 0 28 24">
<rect x="4" y="6" width="18" height="12" rx="2" ry="2" stroke="#fff" stroke-width="2" fill="none"/>
<rect x="22" y="9" width="3" height="6" fill="#fff"/>
</svg>
</div>
</div>
</div>
<!-- Header -->
<div class="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 by row -->
<div class="sort-row">
<svg width="42" height="42" viewBox="0 0 24 24">
<path d="M4 6h16M4 12h12M4 18h8" stroke="#97A0AD" stroke-width="2" stroke-linecap="round"/>
</svg>
<span>Sort by time</span>
</div>
<!-- File list -->
<div class="list">
<div class="item">
<div class="file-icon">[IMG: Vault]</div>
<div class="content">
<div class="title">Personal Vault</div>
</div>
<div class="select-indicator"></div>
</div>
<div class="item selected">
<div class="file-icon">[IMG: Folder]</div>
<div class="content">
<div class="title">password file</div>
<div class="subtitle">2023-06-28 15:09</div>
</div>
<div class="select-indicator checked"></div>
</div>
<div class="item">
<div class="file-icon">[IMG: Cloud]</div>
<div class="content">
<div class="title">plant</div>
<div class="subtitle">2023-06-28 14:11 74.34KB</div>
</div>
<div class="select-indicator"></div>
</div>
<div class="item">
<div class="file-icon">[IMG: Cloud]</div>
<div class="content">
<div class="title">white tree</div>
<div class="subtitle">2023-06-28 14:11 256.12KB</div>
</div>
<div class="select-indicator"></div>
</div>
<div class="item">
<div class="file-icon">[IMG: PDF Icon]</div>
<div class="content">
<div class="title">TeraBoxQuickStartGuide.pdf</div>
<div class="subtitle">2023-06-28 14:08 1.17KB</div>
</div>
<div class="select-indicator"></div>
</div>
</div>
<!-- Dim overlay -->
<div class="dim"></div>
<!-- Share Sheet -->
<div class="sheet">
<div class="grabber"></div>
<div class="sheet-header">Share
<div class="close">
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M6 6l12 12M18 6L6 18" stroke="#99A1AF" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
</div>
<!-- Main share icons -->
<div class="share-icons" style="margin-top: 10px;">
<div class="share-item">
<div class="circle green">
<svg width="68" height="68" viewBox="0 0 24 24">
<path d="M6 18l2-4a6 6 0 1 1 4 1" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="label">Whatsapp</div>
</div>
<div class="share-item">
<div class="circle messenger">
<svg width="68" height="68" viewBox="0 0 24 24">
<path d="M5 19l3-3 3 2 4-5 4 3V7a6 6 0 0 0-6-6H9A6 6 0 0 0 3 7v7" fill="#fff" opacity="0.0"/>
<path d="M6 15l4-3 3 2 4-5" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="label">Messenger</div>
</div>
<div class="share-item">
<div class="circle facebook">
<svg width="60" height="60" viewBox="0 0 24 24">
<path d="M14 8h3V5h-3c-2 0-3 1-3 3v2H9v3h2v6h3v-6h3l1-3h-4V8c0-.6.4-1 1-1z" fill="#fff"/>
</svg>
</div>
<div class="label">Facebook</div>
</div>
<div class="share-item">
<div class="circle telegram">
<svg width="60" height="60" viewBox="0 0 24 24">
<path d="M3 12l18-8-5 16-6-4-3 3 1-5z" fill="#fff"/>
</svg>
</div>
<div class="label">Telegram</div>
</div>
<div class="share-item">
<div class="circle more">
<svg width="64" height="64" viewBox="0 0 24 24">
<circle cx="6" cy="12" r="2" fill="#7B8799"/>
<circle cx="12" cy="12" r="2" fill="#7B8799"/>
<circle cx="18" cy="12" r="2" fill="#7B8799"/>
</svg>
</div>
<div class="label">More</div>
</div>
</div>
<!-- Secondary share options -->
<div class="share-small" style="margin-top: 40px;">
<div class="share-item" style="width: 220px;">
<div class="circle gray">
<svg width="56" height="56" viewBox="0 0 24 24">
<path d="M10 14a4 4 0 0 1 0-4l6-6 4 4-6 6a4 4 0 0 1-4 0z" fill="#7B889A"/>
<path d="M4 20l6-6" stroke="#7B889A" stroke-width="2" stroke-linecap="round"/>
</svg>
</div>
<div class="label">Copy link</div>
</div>
<div class="share-item" style="width: 220px;">
<div class="circle gray">
<svg width="56" height="56" viewBox="0 0 24 24">
<path d="M4 5h16v14H4z" stroke="#7B889A" stroke-width="2" fill="none"/>
<path d="M4 5l8 7 8-7" stroke="#7B889A" stroke-width="2" fill="none"/>
</svg>
</div>
<div class="label">Email</div>
</div>
<div style="width: 220px;"></div>
<div style="width: 220px;"></div>
<div style="width: 220px;"></div>
</div>
<div class="sheet-footer">
<span>Permanent validity, Public link</span>
<svg width="40" height="40" viewBox="0 0 24 24">
<path d="M9 6l6 6-6 6" stroke="#9AA0AB" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="nav-pill"></div>
</div>
</body>
</html> |