AndroidCode / code /10154 /10154_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
10.4 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Dropbox Mobile UI Mock</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: #0F0F0F;
color: #EDEDED;
}
/* Status bar */
.status-bar {
height: 90px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #DADADA;
font-size: 38px;
letter-spacing: 0.5px;
}
.status-left { display: flex; align-items: center; gap: 22px; }
.status-right { display: flex; align-items: center; gap: 26px; }
/* App bar */
.app-bar {
height: 120px;
display: flex;
align-items: center;
padding: 0 36px;
justify-content: space-between;
}
.app-left { display: flex; align-items: center; gap: 26px; }
.hamburger { width: 64px; height: 64px; }
.app-title { font-size: 72px; font-weight: 700; letter-spacing: 0.5px; }
.app-actions { display: flex; align-items: center; gap: 36px; }
.icon-btn { width: 66px; height: 66px; display: flex; align-items: center; justify-content: center; }
/* Search */
.search-wrap { padding: 24px 36px 0; }
.search-bar {
height: 120px;
border-radius: 60px;
background: #1E1E1E;
display: flex;
align-items: center;
gap: 24px;
padding: 0 34px;
color: #A9A9A9;
font-size: 44px;
}
.search-icon { width: 56px; height: 56px; }
/* Quick actions */
.quick-actions { padding: 30px 36px; display: flex; gap: 26px; }
.qa-card {
flex: 1;
background: #1E1E1E;
border-radius: 14px;
height: 150px;
display: flex;
align-items: center;
padding: 0 30px;
gap: 26px;
font-size: 46px;
color: #F2F2F2;
}
.qa-icon { width: 60px; height: 60px; }
/* Divider title row */
.title-row {
padding: 18px 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #EDEDED;
}
.title-row .left { display: flex; align-items: center; gap: 10px; font-size: 46px; font-weight: 600; }
.title-row .right { width: 56px; height: 56px; opacity: 0.9; }
/* List */
.list { padding: 6px 0 0; }
.list-item {
display: flex;
align-items: center;
padding: 28px 36px;
gap: 28px;
}
.folder-icon {
width: 86px;
height: 70px;
background: linear-gradient(#5EA0FF, #3C78F0);
border-radius: 10px;
}
.file-thumb {
width: 86px;
height: 86px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
font-size: 22px;
display: flex;
align-items: center;
justify-content: center;
}
.item-main { flex: 1; }
.item-title {
font-size: 48px;
color: #F5F5F5;
}
.item-sub {
font-size: 36px;
color: #A9A9A9;
margin-top: 8px;
}
.more-btn { width: 54px; height: 54px; opacity: 0.9; }
.sync-icon {
width: 54px; height: 54px; margin-right: 18px;
}
.row-end { display: flex; align-items: center; gap: 18px; }
/* Floating action button */
.fab {
position: absolute;
right: 54px;
bottom: 210px;
width: 160px;
height: 160px;
background: #4379FF;
border-radius: 50%;
box-shadow: 0 10px 24px rgba(0,0,0,0.5);
display: flex;
align-items: center;
justify-content: center;
}
.fab svg { width: 90px; height: 90px; }
/* Bottom nav */
.bottom-nav {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 170px;
background: #0E0E0E;
border-top: 1px solid #1F1F1F;
display: flex;
justify-content: space-around;
align-items: center;
}
.nav-item {
display: flex; flex-direction: column; align-items: center; gap: 8px;
color: #CFCFCF; font-size: 34px;
}
.nav-item.active { color: #FFFFFF; }
.nav-icon { width: 64px; height: 64px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">
<div>8:50</div>
<div style="font-size:28px; opacity:0.7;">N</div>
<div style="width:36px; height:36px; border-radius:6px; background:#E0E0E0; color:#333; display:flex; align-items:center; justify-content:center; font-size:22px;">LR</div>
<div style="width:36px; height:36px; border-radius:6px; background:#E0E0E0; color:#333; display:flex; align-items:center; justify-content:center; font-size:22px;">F</div>
<div style="width:36px; height:36px; border-radius:6px; background:#E0E0E0; color:#333; display:flex; align-items:center; justify-content:center; font-size:22px;">M</div>
<div style="font-size:28px;"></div>
</div>
<div class="status-right">
<!-- WiFi -->
<svg class="nav-icon" viewBox="0 0 24 24" fill="#DADADA">
<path d="M12 18.5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm-5-4a9 9 0 0 1 10 0l-1.4 1.4a7 7 0 0 0-7.2 0L7 14.5zm-3.4-3.6a14 14 0 0 1 16.8 0L18 12.3a10 10 0 0 0-12 0L3.6 10.9z"/>
</svg>
<!-- Battery -->
<div style="display:flex; align-items:center; gap:10px;">
<svg width="64" height="34" viewBox="0 0 24 12" fill="none" stroke="#DADADA" stroke-width="2">
<rect x="1" y="1" width="18" height="10" rx="2"></rect>
<rect x="3" y="3" width="14" height="6" fill="#DADADA"></rect>
<rect x="20" y="4" width="3" height="4" fill="#DADADA"></rect>
</svg>
<div style="font-size:36px;">75%</div>
</div>
</div>
</div>
<!-- App Bar -->
<div class="app-bar">
<div class="app-left">
<svg class="hamburger" viewBox="0 0 24 24" fill="#EDEDED">
<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="app-title">Dropbox</div>
</div>
<div class="app-actions">
<!-- Upload icon -->
<div class="icon-btn">
<svg viewBox="0 0 24 24" fill="#EDEDED">
<path d="M5 19h14v2H5v-2zm7-16l5 5h-3v6h-4V8H7l5-5z"></path>
</svg>
</div>
<!-- Check box icon -->
<div class="icon-btn">
<svg viewBox="0 0 24 24" fill="#EDEDED">
<rect x="4" y="4" width="16" height="16" rx="2" ry="2" stroke="#EDEDED" fill="none" stroke-width="2"></rect>
<path d="M9 12l2 2 4-5" stroke="#EDEDED" stroke-width="2" fill="none"></path>
</svg>
</div>
</div>
</div>
<!-- Search Bar -->
<div class="search-wrap">
<div class="search-bar">
<svg class="search-icon" viewBox="0 0 24 24" fill="#A9A9A9">
<path d="M15.5 14h-.8l-.3-.3a6.5 6.5 0 1 0-.7.7l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z"/>
</svg>
<div>Search for anything</div>
</div>
</div>
<!-- Quick Actions -->
<div class="quick-actions">
<div class="qa-card">
<svg class="qa-icon" viewBox="0 0 24 24" fill="#EDEDED">
<path d="M5 20h14v-2H5v2zM13 4v6h3l-4 4-4-4h3V4h2z"></path>
</svg>
<div>Upload</div>
</div>
<div class="qa-card">
<svg class="qa-icon" viewBox="0 0 24 24" fill="#EDEDED">
<path d="M10 4H4v16h16V8h-8l-2-4z"></path>
</svg>
<div>Folder</div>
</div>
<div class="qa-card">
<svg class="qa-icon" viewBox="0 0 24 24" fill="#EDEDED">
<path d="M3 5h18v14H3V5zm3 3h12v8H6V8zm4 1h4v4h-4V9z"></path>
</svg>
<div>Scan</div>
</div>
</div>
<!-- Title Row -->
<div class="title-row">
<div class="left">
<div>Name</div>
<svg width="36" height="36" viewBox="0 0 24 24" fill="#EDEDED">
<path d="M7 10l5 5 5-5H7z"></path>
</svg>
</div>
<svg class="right" viewBox="0 0 24 24" fill="#EDEDED">
<path d="M3 3h8v8H3V3zm10 0h8v8h-8V3zM3 13h8v8H3v-8zm10 0h8v8h-8v-8z"></path>
</svg>
</div>
<!-- List -->
<div class="list">
<!-- Folder item -->
<div class="list-item">
<div class="folder-icon"></div>
<div class="item-main">
<div class="item-title">Favourite Book</div>
</div>
<svg class="more-btn" viewBox="0 0 24 24" fill="#EDEDED">
<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>
<!-- File item -->
<div class="list-item">
<div class="file-thumb">[IMG: PDF Thumb]</div>
<div class="item-main">
<div class="item-title">the-diary-of-anne-frank-1.pdf</div>
<div class="item-sub">702.5 KB, 5.7% downloaded</div>
</div>
<div class="row-end">
<!-- Sync icon -->
<svg class="sync-icon" viewBox="0 0 24 24" fill="#3F86F5">
<path d="M12 6V3L8 7l4 4V8a4 4 0 1 1-4 4H6a6 6 0 1 0 6-6z"></path>
</svg>
<svg class="more-btn" viewBox="0 0 24 24" fill="#EDEDED">
<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>
</div>
<!-- Floating Action Button -->
<div class="fab">
<svg viewBox="0 0 24 24" fill="#FFFFFF">
<path d="M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2h6z"></path>
</svg>
</div>
<!-- Bottom Navigation -->
<div class="bottom-nav">
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24" fill="#CFCFCF">
<path d="M12 3l9 8h-3v9h-5v-6H11v6H6v-9H3l9-8z"></path>
</svg>
<div>Home</div>
</div>
<div class="nav-item active">
<svg class="nav-icon" viewBox="0 0 24 24" fill="#FFFFFF">
<path d="M10 4H4v16h16V8h-8l-2-4z"></path>
</svg>
<div>Files</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24" fill="#CFCFCF">
<path d="M21 19V5c0-1.1-.9-2-2-2H5C3.9 3 3 3.9 3 5v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM5 5h14v8H5V5zm0 10h6v4H5v-4zm8 0h6v4h-6v-4z"></path>
</svg>
<div>Photos</div>
</div>
<div class="nav-item">
<svg class="nav-icon" viewBox="0 0 24 24" fill="#CFCFCF">
<path d="M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-4 0-8 2-8 5v1h16v-1c0-3-4-5-8-5z"></path>
</svg>
<div>Account</div>
</div>
</div>
</div>
</body>
</html>