AndroidCode / code /1001 /1001_9.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>Gallery Selection</title>
<style>
:root{
--bg:#202124;
--card:#2a2b2f;
--text:#e8eaed;
--muted:#b0b3b8;
--accent:#8ab4f8;
--accent-dark:#6e9ef2;
--border:#3a3b3f;
}
body{ margin:0; padding:0; background:transparent; font-family: Roboto, Arial, Helvetica, sans-serif; }
#render-target{
width:1080px; height:2400px;
position:relative; overflow:hidden;
background:var(--bg); color:var(--text);
}
/* Status bar */
.status-bar{
position:absolute; left:0; top:0; right:0; height:96px;
display:flex; align-items:center; padding:0 28px;
color:var(--text); font-size:38px;
}
.status-bar .right{ margin-left:auto; display:flex; align-items:center; gap:22px; color:var(--text); }
.icon{ width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; }
.icon svg{ width:36px; height:36px; fill:currentColor; }
/* Top app bar (selection) */
.top-bar{
position:absolute; left:0; right:0; top:96px; height:120px;
display:flex; align-items:center; gap:28px;
padding:0 24px;
border-bottom:1px solid var(--border);
}
.top-bar .x{
width:84px; height:84px; display:flex; align-items:center; justify-content:center; color:var(--text);
}
.top-bar .count{ font-size:56px; font-weight:500; }
/* Scroll content */
.content{
position:absolute; left:0; right:0; top:216px; bottom:260px;
overflow-y:auto; padding:18px 20px 120px;
}
.section-title{
font-size:44px; font-weight:500; margin:24px 6px 18px; color:var(--text);
}
.grid{
display:grid; grid-template-columns: repeat(3, 1fr);
gap:22px; padding:0 6px 6px;
}
.thumb{
position:relative; background:var(--card); border-radius:8px; overflow:hidden;
border:1px solid var(--border);
height:300px;
}
/* Image placeholder rule */
.thumb .img{
position:absolute; inset:0;
display:flex; align-items:center; justify-content:center;
background:#E0E0E0; color:#757575;
border:1px solid #BDBDBD;
font-size:30px; text-align:center; padding:8px;
}
/* Selection circles */
.select-circle{
position:absolute; top:10px; left:10px; width:48px; height:48px; border-radius:50%;
display:flex; align-items:center; justify-content:center;
background:rgba(255,255,255,0.08); border:3px solid rgba(255,255,255,0.7);
}
.select-circle svg{ width:28px; height:28px; fill:none; stroke:#fff; stroke-width:8px; }
.select-circle.selected{
background:var(--accent-dark); border-color:var(--accent-dark);
}
/* Video badge (time + play) */
.badge{
position:absolute; left:10px; bottom:10px;
background:rgba(0,0,0,0.6); color:#fff; font-size:28px;
padding:6px 10px; border-radius:12px; display:flex; align-items:center; gap:8px;
}
.badge .play{
width:22px; height:22px; display:inline-flex; align-items:center; justify-content:center;
}
.badge .play svg{ width:22px; height:22px; fill:#fff; }
/* Bottom actions */
.footer{
position:absolute; left:0; right:0; bottom:78px; height:182px;
display:flex; align-items:flex-end; justify-content:center; gap:28px;
padding:0 36px;
}
.btn{
height:120px; border-radius:18px; font-size:42px; font-weight:500;
padding:0 36px; min-width:460px;
display:flex; align-items:center; justify-content:center; letter-spacing:0.5px;
border:2px solid var(--accent);
}
.btn.outline{ color:var(--accent); background:transparent; }
.btn.filled{ color:#0b1021; background:var(--accent); border-color:var(--accent); }
/* Gesture bar */
.gesture{
position:absolute; bottom:20px; left:50%; transform:translateX(-50%);
width:240px; height:10px; background:#fff; border-radius:6px; opacity:0.85;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div>6:14</div>
<div class="right">
<div class="icon" title="Do not disturb">
<svg viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 .001 18.001A9 9 0 0 0 12 3Zm-6 8h12v2H6z"/></svg>
</div>
<div class="icon" title="Wi‑Fi">
<svg viewBox="0 0 24 24"><path d="M12 18.5l-2.5-2.5a3.5 3.5 0 0 1 5 0L12 18.5Zm7-7a10 10 0 0 0-14 0l-1.4-1.4a12 12 0 0 1 16.8 0L19 11.5Zm-3.5 3.5a6 6 0 0 0-7 0L8 13.6a8 8 0 0 1 8 0l-0.5 1.4Z"/></svg>
</div>
<div style="display:flex; align-items:center; gap:8px;">
<div class="icon" title="Battery">
<svg viewBox="0 0 24 24">
<path d="M2 8a3 3 0 0 1 3-3h11a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V8z"/>
<rect x="20" y="10" width="2" height="4" rx="1" ry="1" fill="currentColor"/>
</svg>
</div>
<div style="font-size:34px;">100%</div>
</div>
</div>
</div>
<!-- Top App Bar -->
<div class="top-bar">
<div class="x" aria-label="Close">
<svg viewBox="0 0 24 24" width="48" height="48" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round">
<path d="M5 5L19 19M19 5L5 19"/>
</svg>
</div>
<div class="count">2</div>
</div>
<!-- Content -->
<div class="content">
<div class="section-title">September</div>
<div class="grid">
<div class="thumb">
<div class="img">[IMG: Yellow bottle on desk]</div>
<div class="select-circle">
<svg viewBox="0 0 24 24"><path d="M6 12l4 4 8-8"/></svg>
</div>
<div class="badge">
<div class="play"><svg viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/></svg></div>
<span>0:12</span>
</div>
</div>
<div class="thumb">
<div class="img">[IMG: Aerial landscape photo]</div>
<div class="select-circle">
<svg viewBox="0 0 24 24"><path d="M6 12l4 4 8-8"/></svg>
</div>
</div>
<div class="thumb">
<div class="img">[IMG: Plant by window]</div>
<div class="select-circle selected">
<svg viewBox="0 0 24 24"><path d="M6 12l4 4 8-8"/></svg>
</div>
</div>
<div class="thumb">
<div class="img">[IMG: Indoor plants in white planter]</div>
<div class="select-circle selected">
<svg viewBox="0 0 24 24"><path d="M6 12l4 4 8-8"/></svg>
</div>
</div>
</div>
<div class="section-title">August</div>
<div class="grid">
<div class="thumb">
<div class="img">[IMG: Blurred note screenshot]</div>
<div class="select-circle">
<svg viewBox="0 0 24 24"><path d="M6 12l4 4 8-8"/></svg>
</div>
</div>
<div class="thumb">
<div class="img">[IMG: Triangle sketch]</div>
<div class="select-circle">
<svg viewBox="0 0 24 24"><path d="M6 12l4 4 8-8"/></svg>
</div>
</div>
<div class="thumb">
<div class="img">[IMG: Heart doodle]</div>
<div class="select-circle">
<svg viewBox="0 0 24 24"><path d="M6 12l4 4 8-8"/></svg>
</div>
</div>
</div>
<div class="section-title">July</div>
<div class="grid">
<div class="thumb">
<div class="img">[IMG: Landscape view from window]</div>
<div class="select-circle">
<svg viewBox="0 0 24 24"><path d="M6 12l4 4 8-8"/></svg>
</div>
</div>
<div></div>
<div></div>
</div>
</div>
<!-- Bottom Actions -->
<div class="footer">
<div class="btn outline">
<svg viewBox="0 0 24 24" width="42" height="42" style="margin-right:12px; fill:currentColor;"><path d="M16 1H4a3 3 0 0 0-3 3v12h2V4a1 1 0 0 1 1-1h12V1ZM9 6h11a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3Zm0 2a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1H9Z"/></svg>
Copy
</div>
<div class="btn filled">
<svg viewBox="0 0 24 24" width="42" height="42" style="margin-right:12px; fill:#0b1021;"><path d="M5 11h9.59l-4.3-4.29L12 5l7 7-7 7-1.71-1.71 4.3-4.29H5v-2z"/></svg>
Move
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>