AndroidCode / code /10154 /10154_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
9.92 kB
<html>
<head>
<meta charset="UTF-8">
<title>Dropbox Mobile UI 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:#121212; color:#fff;
}
.status-bar {
height:80px; padding:0 36px; display:flex; align-items:center; justify-content:space-between; color:#e0e0e0; font-weight:600; font-size:40px;
}
/* Header */
.app-header {
height:120px; padding:0 36px; display:flex; align-items:center; justify-content:space-between;
}
.title-area { display:flex; align-items:center; gap:28px; }
.title-text { font-size:56px; font-weight:700; letter-spacing:0.3px; }
.header-actions { display:flex; align-items:center; gap:36px; }
.icon-btn { width:76px; height:76px; display:flex; align-items:center; justify-content:center; border-radius:10px; }
/* Search */
.search-bar {
margin:24px 36px 20px; height:104px; border-radius:52px; background:#1c1c1c;
display:flex; align-items:center; padding:0 36px; gap:24px; color:#bcbcbc; font-size:40px;
box-shadow: inset 0 0 0 1px #2a2a2a;
}
/* Quick actions */
.quick-actions { display:flex; gap:24px; padding:0 36px; }
.qa-card {
background:#252525; border-radius:16px; width:318px; height:132px;
display:flex; align-items:center; gap:22px; padding:0 32px; box-shadow: inset 0 0 0 1px #2e2e2e;
font-size:42px; color:#fff; font-weight:600;
}
/* List header */
.list-header { margin:40px 36px 0; display:flex; align-items:center; justify-content:space-between; color:#e9e9e9; }
.list-header .name { font-size:44px; font-weight:700; display:flex; align-items:center; gap:14px; }
/* Items */
.item { margin:30px 36px 0; padding:26px 0; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #1e1e1e; }
.item-left { display:flex; align-items:center; gap:28px; }
.folder-icon {
width:66px; height:54px; background:#4f92ff; border-radius:6px; position:relative;
}
.folder-icon::before {
content:""; position:absolute; left:6px; top:-12px; width:28px; height:18px; background:#4f92ff; border-top-left-radius:6px; border-top-right-radius:6px;
}
.file-thumb {
width:86px; height:86px; background:#E0E0E0; border:1px solid #BDBDBD; display:flex; justify-content:center; align-items:center; color:#757575; font-size:26px;
}
.item-text { display:flex; flex-direction:column; }
.item-title { font-size:42px; color:#fff; }
.item-sub { font-size:34px; color:#a0a0a0; margin-top:8px; }
.item-right { display:flex; align-items:center; gap:26px; }
.green-check {
width:52px; height:52px; border-radius:50%; background:#1db954; display:flex; align-items:center; justify-content:center;
}
/* FAB */
.fab {
position:absolute; right:54px; bottom:250px; width:160px; height:160px; border-radius:80px; background:#3b7cff;
display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px rgba(0,0,0,0.5);
}
/* Bottom nav */
.bottom-nav {
position:absolute; left:0; bottom:0; width:100%; height:184px; background:#171717; border-top:1px solid #262626;
display:flex; align-items:center; justify-content:space-around; color:#cfcfcf;
}
.nav-item { display:flex; flex-direction:column; align-items:center; gap:14px; font-size:34px; }
.nav-item.active { color:#fff; }
.dot-notif { position:absolute; top:42px; left:110px; width:24px; height:24px; background:#e58d73; border-radius:50%; }
/* Simple helpers */
.svg { width:48px; height:48px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div style="display:flex; align-items:center; gap:18px;">
<span>8:50</span>
<svg class="svg" viewBox="0 0 24 24" fill="#cfcfcf"><circle cx="12" cy="12" r="10"/></svg>
<svg class="svg" viewBox="0 0 24 24" fill="#cfcfcf"><rect x="4" y="6" width="16" height="12" rx="2"/></svg>
</div>
<div style="display:flex; align-items:center; gap:18px;">
<svg class="svg" viewBox="0 0 24 24" fill="#cfcfcf"><path d="M18 6v12l-6-4-6 4V6l6 4 6-4z"/></svg>
<svg class="svg" viewBox="0 0 24 24" fill="none" stroke="#cfcfcf" stroke-width="2"><path d="M20 6v12"/></svg>
<span style="font-size:34px;">75%</span>
</div>
</div>
<!-- App header -->
<div class="app-header">
<div class="title-area">
<!-- Hamburger -->
<svg class="svg" viewBox="0 0 24 24" fill="#fff">
<rect x="3" y="5" width="18" height="2"></rect>
<rect x="3" y="11" width="18" height="2"></rect>
<rect x="3" y="17" width="18" height="2"></rect>
</svg>
<div class="title-text">Dropbox</div>
</div>
<div class="header-actions">
<!-- Upload icon -->
<div class="icon-btn">
<svg class="svg" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">
<path d="M12 16V7"></path>
<path d="M8 11l4-4 4 4"></path>
<rect x="4" y="18" width="16" height="2" rx="1" fill="#fff"></rect>
</svg>
</div>
<!-- Checkbox icon -->
<div class="icon-btn">
<svg class="svg" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">
<rect x="4" y="4" width="16" height="16" rx="2" stroke="#fff"></rect>
<path d="M8 12l3 3 5-7" stroke="#fff"></path>
</svg>
</div>
</div>
</div>
<!-- Search bar -->
<div class="search-bar">
<svg class="svg" viewBox="0 0 24 24" fill="none" stroke="#bcbcbc" stroke-width="2">
<circle cx="11" cy="11" r="7"></circle>
<path d="M21 21l-4.3-4.3"></path>
</svg>
<div>Search for anything</div>
</div>
<!-- Quick actions -->
<div class="quick-actions">
<div class="qa-card">
<svg class="svg" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">
<path d="M12 16V7"></path>
<path d="M8 11l4-4 4 4"></path>
<rect x="4" y="18" width="16" height="2" rx="1" fill="#fff"></rect>
</svg>
<div>Upload</div>
</div>
<div class="qa-card">
<svg class="svg" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">
<path d="M3 7h6l2 2h10v10H3z"></path>
</svg>
<div>Folder</div>
</div>
<div class="qa-card">
<svg class="svg" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">
<rect x="4" y="4" width="16" height="16" rx="3"></rect>
<path d="M8 12h8"></path>
<path d="M12 8v8"></path>
</svg>
<div>Scan</div>
</div>
</div>
<!-- List header -->
<div class="list-header">
<div class="name">Name
<svg class="svg" viewBox="0 0 24 24" fill="#e9e9e9"><path d="M7 10l5 5 5-5z"/></svg>
</div>
<!-- Grid icon -->
<svg class="svg" viewBox="0 0 24 24" fill="none" stroke="#e9e9e9" stroke-width="2">
<rect x="3" y="3" width="7" height="7"></rect>
<rect x="14" y="3" width="7" height="7"></rect>
<rect x="3" y="14" width="7" height="7"></rect>
<rect x="14" y="14" width="7" height="7"></rect>
</svg>
</div>
<!-- Folder item -->
<div class="item">
<div class="item-left">
<div class="folder-icon"></div>
<div class="item-text">
<div class="item-title">Favourite Book</div>
</div>
</div>
<div class="item-right">
<!-- vertical dots -->
<svg class="svg" viewBox="0 0 24 24" fill="#cfcfcf">
<circle cx="12" cy="5" r="2"></circle>
<circle cx="12" cy="12" r="2"></circle>
<circle cx="12" cy="19" r="2"></circle>
</svg>
</div>
</div>
<!-- File item -->
<div class="item">
<div class="item-left">
<div class="file-thumb">[IMG: PDF Page]</div>
<div class="item-text">
<div class="item-title">the-diary-of-anne-frank-1.pdf</div>
<div class="item-sub">702 KB, modified 1 hour ago</div>
</div>
</div>
<div class="item-right">
<div class="green-check">
<svg viewBox="0 0 24 24" width="34" height="34" fill="none" stroke="#fff" stroke-width="3">
<path d="M6 12l4 4 8-8"></path>
</svg>
</div>
<svg class="svg" viewBox="0 0 24 24" fill="#cfcfcf">
<circle cx="12" cy="5" r="2"></circle>
<circle cx="12" cy="12" r="2"></circle>
<circle cx="12" cy="19" r="2"></circle>
</svg>
</div>
</div>
<!-- Floating Action Button -->
<div class="fab">
<svg viewBox="0 0 24 24" width="80" height="80" fill="none" stroke="#fff" stroke-width="3">
<path d="M12 5v14M5 12h14"></path>
</svg>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item" style="position:relative;">
<div class="dot-notif"></div>
<svg viewBox="0 0 24 24" width="56" height="56" fill="none" stroke="#cfcfcf" stroke-width="2">
<path d="M3 10l9-7 9 7v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
<path d="M9 21V12h6v9"></path>
</svg>
<div>Home</div>
</div>
<div class="nav-item active">
<svg viewBox="0 0 24 24" width="56" height="56" fill="none" stroke="#fff" stroke-width="2">
<path d="M3 7h7l2 2h9v10H3z"></path>
</svg>
<div>Files</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24" width="56" height="56" fill="none" stroke="#cfcfcf" stroke-width="2">
<rect x="3" y="5" width="18" height="14" rx="2"></rect>
<path d="M8 14l3-3 3 3 4-4"></path>
</svg>
<div>Photos</div>
</div>
<div class="nav-item">
<svg viewBox="0 0 24 24" width="56" height="56" fill="none" stroke="#cfcfcf" stroke-width="2">
<circle cx="12" cy="7" r="4"></circle>
<path d="M4 21a8 8 0 0 1 16 0"></path>
</svg>
<div>Account</div>
</div>
</div>
</div>
</body>
</html>