AndroidCode / code /10177 /10177_6.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
raw
history blame
9.34 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Share Sheet UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
background: linear-gradient(#0a0a0a 0%, #101317 45%, #141820 100%);
border-radius: 24px;
box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
/* Status bar */
.status-bar {
position: absolute;
top: 20px;
left: 24px;
right: 24px;
height: 64px;
color: #ffffff;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 32px;
letter-spacing: 0.5px;
opacity: 0.95;
}
.status-icons { display: flex; align-items: center; gap: 22px; }
.status-dot {
width: 18px; height: 18px; border-radius: 50%; background: #fff; opacity: 0.9;
}
.wifi {
width: 42px; height: 24px;
}
.battery {
width: 48px; height: 24px;
}
/* Background content card (behind share sheet) */
.bg-card {
position: absolute;
top: 200px;
left: 72px;
width: 936px;
height: 660px;
background: #1b1f25;
border-radius: 32px;
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.more-menu {
position: absolute;
top: 230px;
right: 84px;
width: 12px;
height: 48px;
border-radius: 12px;
display: flex;
flex-direction: column;
justify-content: center;
gap: 8px;
opacity: 0.4;
}
.more-menu span {
display: block;
width: 12px; height: 12px; background: #bfc4cb; border-radius: 50%;
}
/* Back button */
.back-btn {
position: absolute;
top: 268px;
left: 36px;
width: 64px; height: 64px;
display: flex; align-items: center; justify-content: center;
}
.back-btn svg { width: 36px; height: 36px; }
.back-btn svg path { stroke: #bfc4cb; stroke-width: 4; fill: none; }
/* Share sheet card */
.share-card {
position: absolute;
left: 36px;
right: 36px;
top: 980px;
background: #262a32;
color: #ffffff;
border-radius: 28px;
box-shadow: 0 30px 60px rgba(0,0,0,0.55);
padding: 44px 48px 36px 48px;
}
.sheet-header {
display: grid;
grid-template-columns: 96px auto;
gap: 22px;
align-items: center;
margin-bottom: 22px;
}
.img-ph {
width: 96px; height: 96px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 16px;
color: #757575;
display: flex; align-items: center; justify-content: center;
font-size: 20px;
}
.title {
font-size: 40px; font-weight: 600; letter-spacing: 0.2px;
}
.subtitle {
font-size: 28px; color: #aeb4bd; margin-top: 6px;
}
.promo {
margin-top: 18px;
font-size: 44px;
line-height: 1.28;
font-weight: 600;
}
.share-grid {
margin-top: 36px;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 46px 40px;
}
.share-item { text-align: center; }
.icon-circle {
width: 200px; height: 200px;
margin: 0 auto 18px auto;
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.label {
font-size: 28px;
color: #cfd5dd;
}
/* Circle colors */
.copy { background: #ffffff; }
.wa { background: #1f9f6b; }
.ig { background: #c64f78; }
.fb { background: #3b5998; }
.tw { background: #1da1f2; }
.sc { background: #f4df6b; }
.icon-circle svg { width: 92px; height: 92px; }
.icon-dark path, .icon-dark circle, .icon-dark rect { stroke: #222831; fill: none; stroke-width: 6; }
.icon-light path, .icon-light circle, .icon-light rect { stroke: #ffffff; fill: none; stroke-width: 6; }
.icon-light .fill { fill: #ffffff; stroke: none; }
/* Divider and more options row */
.divider {
height: 1px;
background: rgba(255,255,255,0.25);
margin: 30px 0 18px 0;
}
.more-row {
display: flex; align-items: center; justify-content: space-between;
color: #e7e9ec;
font-size: 32px;
padding-bottom: 8px;
}
.chev {
width: 36px; height: 36px;
}
.chev path { stroke: #e7e9ec; stroke-width: 6; fill: none; }
/* Cancel bar */
.cancel-bar {
position: absolute;
left: 36px;
right: 36px;
bottom: 220px;
background: #3a3f47;
height: 140px;
border-radius: 28px;
color: #ffffff;
display: flex; align-items: center; justify-content: center;
font-size: 40px; font-weight: 600;
box-shadow: 0 10px 20px rgba(0,0,0,0.45);
}
/* Gesture pill */
.gesture-pill {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 120px;
width: 220px; height: 14px;
background: #e9e9ea;
border-radius: 8px;
opacity: 0.85;
}
</style>
</head>
<body>
<div id="render-target">
<div class="status-bar">
<div>12:24</div>
<div class="status-icons">
<!-- placeholder mini icons -->
<svg class="wifi" viewBox="0 0 48 24">
<path d="M2 10 Q24 -2 46 10" stroke="#fff" stroke-width="3" fill="none" opacity="0.9"></path>
<path d="M7 14 Q24 5 41 14" stroke="#fff" stroke-width="3" fill="none" opacity="0.8"></path>
<circle cx="24" cy="18" r="3" fill="#fff"></circle>
</svg>
<svg class="battery" viewBox="0 0 48 24">
<rect x="2" y="4" width="38" height="16" rx="3" ry="3" stroke="#fff" stroke-width="3" fill="none"></rect>
<rect x="6" y="8" width="28" height="8" fill="#fff"></rect>
<rect x="42" y="8" width="4" height="8" fill="#fff"></rect>
</svg>
</div>
</div>
<div class="bg-card"></div>
<div class="more-menu" aria-hidden="true">
<span></span><span></span><span></span>
</div>
<div class="back-btn">
<svg viewBox="0 0 36 36">
<path d="M24 6 L12 18 L24 30"></path>
</svg>
</div>
<div class="share-card">
<div class="sheet-header">
<div class="img-ph">[IMG: List Cover]</div>
<div>
<div class="title">Chill List</div>
<div class="subtitle">Just Updated</div>
</div>
</div>
<div class="promo">Know someone who'll love this?<br>Share the love!</div>
<div class="share-grid">
<!-- Copy Link -->
<div class="share-item">
<div class="icon-circle copy">
<svg class="icon-dark" viewBox="0 0 48 48" aria-hidden="true">
<!-- simple link/paperclip -->
<path d="M30 12 l6 6 c4 4 4 10 0 14 l-9 9 c-4 4-10 4-14 0 c-4-4-4-10 0-14 l9-9" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M15 33 l-3 -3 c-3 -3 -3 -7 0 -10 l9 -9 c3 -3 7 -3 10 0" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="label">Copy Link</div>
</div>
<!-- WhatsApp -->
<div class="share-item">
<div class="icon-circle wa">
<svg class="icon-light" viewBox="0 0 48 48" aria-hidden="true">
<path d="M10 40 l4 -8 c-4 -6 -4 -12 1 -16 c6 -6 15 -6 21 0 c6 6 6 15 0 21 c-4 4 -10 5 -16 1 l-10 2 z" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M19 20 c2 4 6 7 10 9" stroke-linecap="round"></path>
</svg>
</div>
<div class="label">WhatsApp</div>
</div>
<!-- Instagram Stories -->
<div class="share-item">
<div class="icon-circle ig">
<svg class="icon-light" viewBox="0 0 48 48" aria-hidden="true">
<rect x="10" y="10" width="28" height="28" rx="7" ry="7"></rect>
<circle cx="24" cy="24" r="7"></circle>
<circle cx="32" cy="16" r="2" class="fill"></circle>
</svg>
</div>
<div class="label">Instagram Stories</div>
</div>
<!-- Facebook -->
<div class="share-item">
<div class="icon-circle fb">
<svg viewBox="0 0 48 48" aria-hidden="true">
<text x="24" y="32" text-anchor="middle" font-size="26" font-weight="700" fill="#ffffff" font-family="Segoe UI, Arial">f</text>
</svg>
</div>
<div class="label">Facebook</div>
</div>
<!-- Twitter -->
<div class="share-item">
<div class="icon-circle tw">
<svg viewBox="0 0 48 48" aria-hidden="true">
<text x="24" y="32" text-anchor="middle" font-size="26" font-weight="700" fill="#ffffff" font-family="Segoe UI, Arial">t</text>
</svg>
</div>
<div class="label">Twitter</div>
</div>
<!-- Snapchat -->
<div class="share-item">
<div class="icon-circle sc">
<svg viewBox="0 0 48 48" aria-hidden="true">
<text x="24" y="32" text-anchor="middle" font-size="26" font-weight="700" fill="#000000" font-family="Segoe UI, Arial">👻</text>
</svg>
</div>
<div class="label">Snapchat</div>
</div>
</div>
<div class="divider"></div>
<div class="more-row">
<div>More Options</div>
<svg class="chev" viewBox="0 0 36 36" aria-hidden="true">
<path d="M8 14 L18 24 L28 14" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
</div>
<div class="cancel-bar">Cancel</div>
<div class="gesture-pill"></div>
</div>
</body>
</html>