AndroidCode / code /10193 /10193_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
9.02 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Downloads 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: #0F1F1F;
border-radius: 28px;
box-shadow: 0 8px 30px rgba(0,0,0,0.35);
color: #E6F0EE;
}
/* Status bar */
.status-bar {
height: 110px;
padding: 0 40px;
display: flex;
align-items: center;
justify-content: space-between;
color: #EAF2F1;
font-size: 44px;
letter-spacing: 1px;
}
.status-right {
display: flex;
align-items: center;
gap: 28px;
color: #EAF2F1;
font-size: 34px;
}
.icon {
width: 48px; height: 48px;
fill: none; stroke: #C6D2CF; stroke-width: 4;
}
.icon-fill { fill: #C6D2CF; stroke: none; }
/* App bar */
.app-bar {
height: 140px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
}
.app-left {
display: flex; align-items: center; gap: 28px;
}
.title {
font-size: 72px; font-weight: 600; color: #EAF2F1;
}
.app-actions {
display: flex; align-items: center; gap: 28px;
}
/* Filters */
.filters {
padding: 10px 40px 0 40px;
}
.crumb {
color: #69F0AE;
font-size: 44px;
margin-bottom: 26px;
}
.chips-row {
display: flex; align-items: center; gap: 22px;
margin-bottom: 28px;
}
.chip {
display: inline-flex;
align-items: center;
gap: 18px;
color: #D3DDDB;
border: 2px solid #3A4745;
border-radius: 30px;
padding: 18px 26px;
font-size: 38px;
background: rgba(255,255,255,0.02);
}
.view-toggle {
position: absolute;
right: 40px;
top: 420px;
width: 72px; height: 72px;
display: flex; align-items: center; justify-content: center;
border-radius: 16px;
}
/* Section title */
.section-title {
padding: 6px 40px 0 40px;
color: #B7C3C1;
font-size: 40px;
margin-top: 16px;
}
/* Grid */
.grid {
padding: 24px 40px 0 40px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 36px;
}
.card {
background: #1A2524;
border: 2px solid #3B4746;
border-radius: 28px;
overflow: hidden;
}
.thumb {
height: 380px;
display: flex;
align-items: center;
justify-content: center;
background: #E0E0E0;
border-bottom: 1px solid #BDBDBD;
color: #757575;
font-size: 40px;
}
.expand-badge {
position: absolute;
right: 24px;
top: 24px;
width: 72px; height: 72px;
border-radius: 16px;
background: rgba(0,0,0,0.45);
display: flex; align-items: center; justify-content: center;
}
.caption {
padding: 24px 28px 30px 28px;
background: #162020;
border-top: 2px solid #2F3A39;
}
.file-title {
font-size: 40px; color: #EAF2F1; margin-bottom: 8px;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.file-meta {
font-size: 34px; color: #9FB0AD;
}
.row-meta {
display: flex; align-items: center; gap: 16px;
}
.badge {
display: inline-block;
background: #C57C74;
color: #2D2222;
font-weight: 700;
padding: 8px 16px;
border-radius: 10px;
font-size: 30px;
}
/* Bottom gesture bar */
.gesture {
position: absolute;
bottom: 28px;
left: 50%;
transform: translateX(-50%);
width: 300px;
height: 14px;
background: #EDEDED;
border-radius: 10px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">12:22</div>
<div class="status-right">
<!-- simple status icons -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M4 12l4-6 4 6 4-6 4 6" />
</svg>
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9"></circle>
<path d="M12 12l4-6" />
</svg>
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="2"></circle>
</svg>
<svg class="icon" viewBox="0 0 24 24">
<path d="M3 8h18v10H3z"></path>
<path d="M19 4h-6" />
</svg>
<span style="font-size:34px;">100%</span>
</div>
</div>
<!-- App Bar -->
<div class="app-bar">
<div class="app-left">
<!-- Hamburger -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M3 6h18M3 12h18M3 18h18" />
</svg>
<div class="title">Downloads</div>
</div>
<div class="app-actions">
<!-- Search -->
<svg class="icon" viewBox="0 0 24 24">
<circle cx="10" cy="10" r="6"></circle>
<path d="M15 15l6 6"></path>
</svg>
<!-- More (vertical dots) -->
<svg class="icon" viewBox="0 0 24 24">
<circle class="icon-fill" cx="12" cy="5" r="2.2"></circle>
<circle class="icon-fill" cx="12" cy="12" r="2.2"></circle>
<circle class="icon-fill" cx="12" cy="19" r="2.2"></circle>
</svg>
</div>
</div>
<!-- Filters -->
<div class="filters">
<div class="crumb">Downloads</div>
<div class="chips-row">
<div class="chip">
<svg class="icon" viewBox="0 0 24 24">
<path d="M3 8l7-5 11 11-7 5-11-11zM10 3l11 11"></path>
</svg>
Large files
</div>
<div class="chip">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9"></circle>
<path d="M12 12V7M12 12l5 3"></path>
</svg>
This week
</div>
</div>
</div>
<!-- Grid/List Toggle icon -->
<div class="view-toggle">
<svg class="icon" viewBox="0 0 24 24">
<rect x="3" y="4" width="7" height="7" class="icon" style="fill:#C6D2CF;stroke:none;"></rect>
<rect x="14" y="4" width="7" height="7" class="icon" style="fill:#C6D2CF;stroke:none;"></rect>
<rect x="3" y="15" width="7" height="7" class="icon" style="fill:#C6D2CF;stroke:none;"></rect>
<rect x="14" y="15" width="7" height="7" class="icon" style="fill:#C6D2CF;stroke:none;"></rect>
</svg>
</div>
<!-- Section Title -->
<div class="section-title">Files in Downloads</div>
<!-- Cards Grid -->
<div class="grid">
<!-- Card 1 -->
<div class="card" style="position:relative;">
<div class="expand-badge">
<svg class="icon" viewBox="0 0 24 24">
<path d="M3 9V3h6M21 9V3h-6M3 15v6h6M21 15v6h-6"></path>
</svg>
</div>
<div class="thumb">[IMG: Contacts Thumbnail]</div>
<div class="caption">
<div class="file-title">contacts.vcf</div>
<div class="row-meta">
<svg class="icon" viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4"></circle>
<path d="M4 21c2-4 14-4 16 0"></path>
</svg>
<div class="file-meta">76 B 11:24 AM</div>
</div>
</div>
</div>
<!-- Card 2 -->
<div class="card">
<div class="thumb">[IMG: Video Thumbnail]</div>
<div class="caption">
<div class="file-title">production_id_3...</div>
<div class="row-meta">
<svg class="icon" viewBox="0 0 24 24">
<path d="M3 5h18v14H3zM8 5l8 6"></path>
</svg>
<div class="file-meta">52.06 MB Dec 1</div>
</div>
</div>
</div>
<!-- Card 3 -->
<div class="card">
<div class="thumb">
<span class="badge">PDF</span>
</div>
<div class="caption">
<div class="file-title">The Martian - A...</div>
<div class="row-meta">
<span class="badge">PDF</span>
<div class="file-meta">1.26 MB Nov 29</div>
</div>
</div>
</div>
<!-- Card 4 -->
<div class="card">
<div class="thumb">
<span class="badge">PDF</span>
</div>
<div class="caption">
<div class="file-title">germanycountr...</div>
<div class="row-meta">
<span class="badge">PDF</span>
<div class="file-meta">51.00 MB Nov 9</div>
</div>
</div>
</div>
<!-- Card 5 -->
<div class="card">
<div class="thumb">
<span class="badge">PDF</span>
</div>
<div class="caption">
<div class="file-title">report_2024.pdf</div>
<div class="row-meta">
<span class="badge">PDF</span>
<div class="file-meta">2.3 MB Nov 2</div>
</div>
</div>
</div>
<!-- Card 6 -->
<div class="card">
<div class="thumb">
<span class="badge">PDF</span>
</div>
<div class="caption">
<div class="file-title">notes_weekly.pdf</div>
<div class="row-meta">
<span class="badge">PDF</span>
<div class="file-meta">860 KB Oct 31</div>
</div>
</div>
</div>
</div>
<!-- Bottom gesture pill -->
<div class="gesture"></div>
</div>
</body>
</html>