AndroidCode / code /10177 /10177_8.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
9.11 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mobile UI - Share Sheet</title>
<meta name="viewport" content="width=1080, initial-scale=1.0">
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target {
position: relative;
overflow: hidden;
width: 1080px;
height: 2400px;
background: linear-gradient(#0b0b0c, #151617);
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
height: 96px;
width: 100%;
color: #f1f1f1;
display: flex;
align-items: center;
padding: 0 36px;
font-size: 36px;
letter-spacing: 0.5px;
}
.status-left { flex: 1; }
.status-right { display: flex; gap: 28px; align-items: center; }
.status-icon svg { width: 44px; height: 44px; fill: #eaeaea; opacity: 0.9; }
/* Back button */
.back-btn {
position: absolute;
top: 140px;
left: 36px;
width: 72px;
height: 72px;
border-radius: 36px;
display: flex;
align-items: center;
justify-content: center;
color: #d9d9d9;
opacity: 0.8;
}
.back-btn svg { width: 36px; height: 36px; fill: #d9d9d9; }
/* Main card / album art */
.album-art {
position: absolute;
top: 220px;
left: 120px;
width: 720px;
height: 720px;
background: #2a2b2e;
border: 1px solid #1f2022;
border-radius: 36px;
color: #9aa0a6;
display: flex;
align-items: center;
justify-content: center;
font-size: 36px;
letter-spacing: 0.3px;
}
/* Vertical menu on top right */
.top-menu {
position: absolute;
top: 240px;
right: 80px;
width: 84px;
height: 84px;
border-radius: 42px;
background: rgba(0,0,0,0.35);
display: flex;
align-items: center;
justify-content: center;
}
.dots { display: flex; flex-direction: column; gap: 10px; }
.dots span {
width: 10px; height: 10px; border-radius: 50%;
background: #8c8c8c;
}
/* Floating action buttons */
.fab {
position: absolute;
top: 970px;
right: 240px;
width: 140px;
height: 140px;
border-radius: 70px;
box-shadow: 0 8px 18px rgba(0,0,0,0.45);
display: flex;
align-items: center;
justify-content: center;
}
.fab.edit { background: #bdbdbd; }
.fab.play { right: 80px; background: #157a70; }
.fab svg { width: 56px; height: 56px; fill: #1d1d1f; }
.fab.play svg { fill: #e9f5f3; }
/* Title and description */
.list-title {
position: absolute;
top: 1120px;
left: 120px;
font-size: 76px;
color: #cfcfcf;
font-weight: 700;
}
.list-desc {
position: absolute;
top: 1220px;
left: 120px;
font-size: 34px;
color: #a0a0a0;
width: 820px;
}
/* Action row (download/share + duration) */
.action-row {
position: absolute;
top: 1300px;
left: 120px;
display: flex;
align-items: center;
gap: 36px;
color: #9a9a9a;
font-size: 34px;
}
.circle-icon {
width: 84px; height: 84px;
border-radius: 42px;
border: 1px solid #2d2e31;
display: flex; align-items: center; justify-content: center;
background: rgba(255,255,255,0.04);
}
.circle-icon svg { width: 40px; height: 40px; fill: #bfbfbf; }
/* Single song row */
.song-row {
position: absolute;
top: 1400px;
left: 120px;
right: 120px;
padding: 24px 0;
border-bottom: 1px solid rgba(255,255,255,0.06);
}
.song-title { font-size: 40px; color: #d9d9d9; margin-bottom: 8px; }
.song-sub { font-size: 32px; color: #9a9a9a; }
.song-actions {
position: absolute;
right: 0;
top: 16px;
display: flex;
align-items: center;
gap: 42px;
}
.song-actions .circle-icon { width: 72px; height: 72px; }
/* Bottom share sheet */
.sheet {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 920px;
background: #1e1f22;
border-top-left-radius: 44px;
border-top-right-radius: 44px;
box-shadow: 0 -10px 24px rgba(0,0,0,0.6);
color: #e9e9e9;
}
.sheet-header {
padding: 36px 40px 20px;
font-size: 44px;
font-weight: 700;
}
.sheet-list { padding: 0 24px; }
.sheet-item {
display: flex;
align-items: center;
gap: 28px;
padding: 28px 20px;
border-radius: 16px;
color: #e6e6e6;
}
.sheet-item.highlight { background: #7f7f80; }
.app-icon {
width: 78px; height: 78px; border-radius: 39px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #454545; font-size: 28px; font-weight: 700;
}
.sheet-text { display: flex; flex-direction: column; }
.sheet-text .title { font-size: 40px; }
.sheet-text .sub { font-size: 28px; color: #b6b6b6; margin-top: 6px; }
.sheet-footer {
position: absolute;
bottom: 84px;
right: 40px;
display: flex; gap: 60px;
font-size: 38px;
color: #cfd9ff;
}
/* Bottom navigation pill */
.home-pill {
position: absolute;
bottom: 28px;
left: 50%;
transform: translateX(-50%);
width: 300px;
height: 14px;
border-radius: 7px;
background: #bfbfbf;
opacity: 0.7;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">12:25</div>
<div class="status-right">
<div class="status-icon">
<!-- simple wifi -->
<svg viewBox="0 0 24 24"><path d="M12 18.5c.9 0 1.5.6 1.5 1.5S12.9 21.5 12 21.5 10.5 20.9 10.5 20s.6-1.5 1.5-1.5zm-6.6-7.7c4.5-3.7 10.7-3.7 15.2 0l-1.7 1.7c-3.6-2.9-8.3-2.9-11.9 0l-1.6-1.7zm3.8 3.9c2.7-2.2 6.5-2.2 9.1 0l-1.6 1.6c-1.9-1.6-4.9-1.6-6.8 0l-1.7-1.6z"/></svg>
</div>
<div class="status-icon">
<!-- battery -->
<svg viewBox="0 0 24 24"><path d="M18 6h2v12h-2V6zM3 7.5C3 6.7 3.7 6 4.5 6h11c.8 0 1.5.7 1.5 1.5v9c0 .8-.7 1.5-1.5 1.5h-11C3.7 18 3 17.3 3 16.5v-9z"/><rect x="5" y="9" width="9" height="6" fill="#eaeaea"/></svg>
</div>
</div>
</div>
<!-- Back button -->
<div class="back-btn">
<svg viewBox="0 0 24 24"><path d="M15.5 5l-7 7 7 7-2 2-9-9 9-9 2 2z"/></svg>
</div>
<!-- Album art placeholder -->
<div class="album-art">[IMG: Album Art]</div>
<!-- Vertical menu -->
<div class="top-menu">
<div class="dots">
<span></span><span></span><span></span>
</div>
</div>
<!-- Floating action buttons -->
<div class="fab edit">
<!-- pencil -->
<svg viewBox="0 0 24 24"><path d="M3 17.25V21h3.75L17.8 9.94l-3.75-3.75L3 17.25zm18.7-10.8c.4-.4.4-1 0-1.4l-2.8-2.8c-.4-.4-1-.4-1.4 0l-2.2 2.2 3.75 3.75 2.65-2.95z"/></svg>
</div>
<div class="fab play">
<!-- play -->
<svg viewBox="0 0 24 24"><path d="M8 5l12 7-12 7V5z"/></svg>
</div>
<!-- Playlist title and description -->
<div class="list-title">Chill List</div>
<div class="list-desc">1 song with music from artists like Joe Pass.</div>
<!-- Action row -->
<div class="action-row">
<div class="circle-icon">
<!-- download -->
<svg viewBox="0 0 24 24"><path d="M12 3v10.2l3.6-3.6 1.4 1.4-6 6-6-6 1.4-1.4L10 13.2V3h2zM4 19h16v2H4v-2z"/></svg>
</div>
<div class="circle-icon">
<!-- share -->
<svg viewBox="0 0 24 24"><path d="M18 16.1c-.9 0-1.7.4-2.2 1l-7.3-4.1c.1-.3.1-.6.1-.9s0-.6-.1-.9l7.3-4.1c.6.6 1.3 1 2.2 1 1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3c0 .2 0 .4.1.6L7.8 8.5C7.2 7.9 6.2 7.5 5.2 7.5 3.5 7.5 2.2 8.8 2.2 10.5s1.3 3 3 3c1 0 2-.4 2.6-1l7.2 4.1c-.1.2-.1.4-.1.7 0 1.7 1.3 3 3 3s3-1.3 3-3-1.3-2.7-3-2.7z"/></svg>
</div>
<div>3m 32s • 1 Songs</div>
</div>
<!-- Song row -->
<div class="song-row">
<div class="song-title">Night And Day (Album Version)</div>
<div class="song-sub">Joe Pass - Virtuoso</div>
<div class="song-actions">
<div class="circle-icon">
<svg viewBox="0 0 24 24"><path d="M12 3v10.2l3.6-3.6 1.4 1.4-6 6-6-6 1.4-1.4L10 13.2V3h2z"/></svg>
</div>
<div class="circle-icon" style="background: transparent;">
<!-- vertical dots -->
<svg viewBox="0 0 24 24"><circle cx="12" cy="5" r="2"/><circle cx="12" cy="12" r="2"/><circle cx="12" cy="19" r="2"/></svg>
</div>
</div>
</div>
<!-- Bottom share sheet -->
<div class="sheet">
<div class="sheet-header">Share</div>
<div class="sheet-list">
<div class="sheet-item highlight">
<div class="app-icon">G</div>
<div class="sheet-text">
<div class="title">Gmail</div>
</div>
</div>
<div class="sheet-item">
<div class="app-icon">R</div>
<div class="sheet-text">
<div class="title">Reminder</div>
<div class="sub">Create Reminder</div>
</div>
</div>
<div class="sheet-item">
<div class="app-icon">N</div>
<div class="sheet-text">
<div class="title">Nearby Share</div>
</div>
</div>
</div>
<div class="sheet-footer">
<div>Just once</div>
<div>Always</div>
</div>
<div class="home-pill"></div>
</div>
</div>
</body>
</html>