AndroidCode / code /1001 /1001_7.html
yhzheng1031's picture
Add files using upload-large-folder tool
98687c3 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Select items - Gallery</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Roboto, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #212121;
color: #FFFFFF;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 96px;
padding: 0 28px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
color: #EDEDED;
font-size: 38px;
letter-spacing: 0.5px;
}
.status-icons {
display: flex;
align-items: center;
gap: 24px;
color: #EDEDED;
font-size: 28px;
}
.status-icons .battery {
display: inline-flex;
align-items: center;
gap: 10px;
font-size: 30px;
}
.battery-icon {
width: 46px; height: 24px;
border: 2px solid #EDEDED;
border-radius: 3px;
position: relative;
box-sizing: border-box;
}
.battery-icon::after {
content: "";
position: absolute;
right: -8px; top: 6px;
width: 6px; height: 12px;
background: #EDEDED;
border-radius: 2px;
}
.battery-level {
position: absolute;
top: 3px; left: 3px;
height: 16px; width: 32px;
background: #EDEDED;
}
/* App bar */
.app-bar {
position: absolute;
top: 96px;
left: 0;
width: 100%;
height: 120px;
padding: 0 28px;
box-sizing: border-box;
display: flex;
align-items: center;
gap: 24px;
color: #FFFFFF;
}
.app-title {
font-size: 48px;
font-weight: 600;
}
.icon-btn {
width: 72px; height: 72px;
display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn svg { fill: #FFFFFF; opacity: 0.9; }
/* Content area */
.content {
position: absolute;
top: 216px; /* status + app bar */
bottom: 190px; /* space for bottom actions & gesture bar */
left: 0; right: 0;
overflow-y: auto;
padding-bottom: 40px;
}
.section {
padding: 18px 28px 8px 28px;
}
.section h3 {
margin: 12px 0 18px 0;
font-size: 40px;
font-weight: 700;
color: #FFFFFF;
}
.grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
}
.thumb {
position: relative;
width: 100%;
padding-top: 100%; /* square */
border-radius: 10px;
overflow: hidden;
background: #2A2A2A;
}
.img-placeholder {
position: absolute;
inset: 0;
display: flex; align-items: center; justify-content: center;
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
font-size: 28px;
text-align: center;
padding: 10px;
box-sizing: border-box;
}
.select-ring {
position: absolute;
top: 14px; left: 14px;
width: 54px; height: 54px;
border-radius: 50%;
box-sizing: border-box;
border: 3px solid rgba(255,255,255,0.9);
background: rgba(0,0,0,0.15);
}
.video-badge {
position: absolute;
left: 12px; bottom: 12px;
display: inline-flex; align-items: center; gap: 10px;
padding: 8px 12px;
background: rgba(0,0,0,0.55);
color: #FFF; border-radius: 16px;
font-size: 26px;
}
.video-badge svg { width: 20px; height: 20px; fill: #FFF; }
/* Bottom actions */
.bottom-actions {
position: absolute;
left: 0; right: 0;
bottom: 64px;
display: flex;
justify-content: space-between;
padding: 0 36px;
box-sizing: border-box;
}
.btn {
width: 480px;
height: 120px;
border-radius: 18px;
border: 2px solid #444;
background: #2B2B2B;
color: #AFAFAF;
display: flex; align-items: center; justify-content: center;
gap: 16px;
font-size: 40px;
font-weight: 500;
}
.btn svg { width: 44px; height: 44px; fill: #AFAFAF; }
/* Gesture pill */
.gesture-pill {
position: absolute;
bottom: 18px; left: 50%;
transform: translateX(-50%);
width: 220px; height: 12px;
background: #D1D1D1;
border-radius: 8px;
opacity: 0.9;
}
/* Scrollbar subtle */
.content::-webkit-scrollbar { width: 8px; }
.content::-webkit-scrollbar-thumb { background: #3A3A3A; border-radius: 4px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="time">6:14</div>
<div class="status-icons">
<!-- Simple status icons -->
<svg width="28" height="28" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="10" stroke="#EDEDED" stroke-width="2" fill="none"/></svg>
<svg width="28" height="28" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 18h18L12 6 3 18z" fill="#EDEDED"/></svg>
<div class="battery">
<span>100%</span>
<div class="battery-icon"><div class="battery-level"></div></div>
</div>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="icon-btn" aria-label="Close">
<svg viewBox="0 0 24 24" width="36" height="36"><path d="M18.3 5.71 12 12l6.3 6.29-1.41 1.41L10.59 13.4 4.29 19.7 2.88 18.29 9.17 12 2.88 5.71 4.29 4.29l6.3 6.3 6.3-6.3z"/></svg>
</div>
<div class="app-title">Select items</div>
</div>
<!-- Content -->
<div class="content">
<div class="section">
<h3>September</h3>
<div class="grid">
<!-- Video thumb -->
<div class="thumb">
<div class="img-placeholder">[IMG: Video - Yellow bottle on desk]</div>
<div class="select-ring"></div>
<div class="video-badge">
<svg viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/></svg>
<span>0:12</span>
</div>
</div>
<div class="thumb">
<div class="img-placeholder">[IMG: View from high-rise window]</div>
<div class="select-ring"></div>
</div>
<div class="thumb">
<div class="img-placeholder">[IMG: Indoor plant by window]</div>
<div class="select-ring"></div>
</div>
<div class="thumb">
<div class="img-placeholder">[IMG: Green plants in planter]</div>
<div class="select-ring"></div>
</div>
</div>
</div>
<div class="section">
<h3>August</h3>
<div class="grid" style="grid-template-columns: repeat(3, 1fr);">
<div class="thumb">
<div class="img-placeholder">[IMG: Document/Screenshot]</div>
<div class="select-ring"></div>
</div>
<div class="thumb">
<div class="img-placeholder">[IMG: Triangle drawing]</div>
<div class="select-ring"></div>
</div>
<div class="thumb">
<div class="img-placeholder">[IMG: Heart doodle]</div>
<div class="select-ring"></div>
</div>
</div>
</div>
<div class="section">
<h3>July</h3>
<div class="grid" style="grid-template-columns: repeat(1, 1fr); width: 260px;">
<div class="thumb">
<div class="img-placeholder">[IMG: Landscape view]</div>
<div class="select-ring"></div>
</div>
</div>
</div>
</div>
<!-- Bottom actions -->
<div class="bottom-actions">
<div class="btn">
<svg viewBox="0 0 24 24"><path d="M16 1H4c-1.1 0-2 .9-2 2v12h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14l7-3 7 3V7c0-1.1-.9-2-2-2z"/></svg>
<span>Copy</span>
</div>
<div class="btn">
<svg viewBox="0 0 24 24"><path d="M10 17l5-5-5-5v10zM4 4h2v16H4z"/></svg>
<span>Move</span>
</div>
</div>
<!-- Gesture navigation pill -->
<div class="gesture-pill"></div>
</div>
</body>
</html>