AndroidCode / code /1012 /1012_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
9.53 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Mobile Home Screen Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Segoe UI", Roboto, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
border-radius: 36px;
}
/* Wallpaper placeholder */
.wallpaper {
position: absolute;
inset: 0;
background: #E0E0E0;
border: 1px solid #BDBDBD;
color: #757575;
display: flex;
align-items: flex-end;
justify-content: flex-start;
padding: 20px;
font-size: 24px;
line-height: 1.2;
z-index: 0;
user-select: none;
}
/* Status bar */
.status-bar {
position: absolute;
top: 18px;
left: 24px;
right: 24px;
height: 88px;
display: flex;
align-items: center;
justify-content: space-between;
color: #FFFFFF;
z-index: 2;
pointer-events: none;
}
.status-left {
font-size: 48px;
font-weight: 600;
text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}
.status-center {
display: flex;
align-items: center;
gap: 16px;
opacity: 0.95;
}
.status-center .dot {
width: 18px; height: 18px; border-radius: 50%; background: #fff; opacity: 0.9;
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.status-center .text-pill {
font-size: 28px; padding: 4px 10px; border-radius: 16px; background: rgba(255,255,255,0.18);
border: 1px solid rgba(255,255,255,0.25);
}
.status-right {
display: flex; align-items: center; gap: 22px;
}
.status-icon svg { width: 44px; height: 44px; fill: white; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35)); }
/* App grid */
.app-grid {
position: absolute;
left: 60px;
right: 60px;
top: 240px;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 80px 36px;
z-index: 1;
}
.app {
display: flex;
flex-direction: column;
align-items: center;
}
.logo {
width: 170px;
height: 170px;
border-radius: 50%;
background: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
color: #111;
font-size: 56px;
font-weight: 700;
box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.logo.dark { background: #26323A; color: #fff; }
.logo.red { background: #E53935; color: #fff; }
.logo.ring { background: #111; color: #fff; font-size: 92px; }
.logo-text-two {
display: flex; flex-direction: column; align-items: center; line-height: 0.95; letter-spacing: 2px;
}
.app-label {
margin-top: 16px;
color: #FFFFFF;
font-size: 34px;
text-shadow: 0 2px 4px rgba(0,0,0,0.6);
max-width: 220px;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.spacer { visibility: hidden; }
/* Dock */
.dock {
position: absolute;
left: 120px;
right: 120px;
top: 1720px;
display: flex;
align-items: center;
justify-content: space-between;
z-index: 2;
}
.dock-icon {
width: 150px;
height: 150px;
border-radius: 50%;
background: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 12px 24px rgba(0,0,0,0.22);
}
.dock-icon svg { width: 86px; height: 86px; }
.dock-icon .chrome {
width: 92px; height: 92px; border-radius: 50%;
background:
radial-gradient(circle at 50% 50%, #1a73e8 0 28%, transparent 29%),
conic-gradient(#db4437 0 33%, #f4b400 0 66%, #0f9d58 0 100%);
box-shadow: inset 0 0 0 8px #fff;
}
/* Search pill */
.search {
position: absolute;
left: 70px;
right: 70px;
top: 1990px;
height: 130px;
background: #FFFFFF;
border-radius: 90px;
box-shadow: 0 10px 28px rgba(0,0,0,0.25);
display: flex;
align-items: center;
padding: 0 28px 0 34px;
z-index: 2;
}
.google-g {
width: 56px; height: 56px; border-radius: 12px;
background: conic-gradient(#4285F4 0 25%, #34A853 0 50%, #FBBC05 0 75%, #EA4335 0 100%);
display: inline-block;
mask: radial-gradient(circle at 35% 50%, transparent 19px, black 20px) exclude,
linear-gradient(black, black);
-webkit-mask-composite: source-out;
mask-composite: exclude;
}
.search-placeholder {
margin-left: 20px;
color: #7A7A7A;
font-size: 42px;
}
.search-actions {
margin-left: auto;
display: flex; gap: 18px; align-items: center;
}
.chip {
width: 64px; height: 64px; border-radius: 50%;
background: #F1F3F4; display: flex; align-items: center; justify-content: center;
border: 1px solid #E0E0E0;
}
.chip svg { width: 34px; height: 34px; fill: #5f6368; }
/* Navigation pill */
.nav-pill {
position: absolute;
bottom: 26px;
left: 50%;
transform: translateX(-50%);
width: 240px;
height: 12px;
background: rgba(255,255,255,0.9);
border-radius: 12px;
z-index: 2;
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
</style>
</head>
<body>
<div id="render-target">
<!-- Wallpaper placeholder (full screen) -->
<div class="wallpaper">[IMG: Artistic wallpaper - brushstroke pattern]</div>
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">8:54</div>
<div class="status-center">
<div class="text-pill">ib</div>
<div class="dot"></div>
<div class="dot"></div>
<div class="dot" style="opacity:0.55;"></div>
<div class="text-pill">ovo</div>
<div class="dot" style="opacity:0.55;"></div>
</div>
<div class="status-right">
<div class="status-icon">
<!-- Wi‑Fi -->
<svg viewBox="0 0 24 24"><path d="M12 18.5c.8 0 1.5.7 1.5 1.5S12.8 21.5 12 21.5 10.5 20.8 10.5 20 11.2 18.5 12 18.5zm-6.7-4.8 1.4 1.4C8.3 13.5 10 13 12 13s3.7.5 5.3 2.1l1.4-1.4C16.8 11.2 14.5 10.5 12 10.5s-4.8.7-6.7 3.2zM2 9.2l1.4 1.4C6 7.9 8.8 7 12 7s6 .9 8.6 3.6L22 9.2C18.8 6.1 15.6 5 12 5 8.4 5 5.2 6.1 2 9.2z"/></svg>
</div>
<div class="status-icon">
<!-- Battery -->
<svg viewBox="0 0 24 24"><path d="M16 7h2c1.1 0 2 .9 2 2v6c0 1.1-.9 2-2 2h-2v2h-2v-2H8c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2h6V5h2v2zm-8 2v6h10V9H8z"/></svg>
</div>
</div>
</div>
<!-- App grid -->
<div class="app-grid">
<!-- Row 1 -->
<div class="app">
<div class="logo red">
<div class="logo-text-two" style="font-size:50px; font-weight:800; letter-spacing:1px;">
<span>UNI</span><span>QLO</span>
</div>
</div>
<div class="app-label">UNIQLO</div>
</div>
<div class="app">
<div class="logo dark" style="font-size:64px; font-weight:700;">A&amp;F</div>
<div class="app-label">Abercrombie</div>
</div>
<div class="app">
<div class="logo" style="font-size:76px; font-weight:900;">UO</div>
<div class="app-label">Urban Outf...</div>
</div>
<div class="app">
<div class="logo" style="font-size:84px; font-weight:700;">V</div>
<div class="app-label">Valentino</div>
</div>
<!-- Row 2 -->
<div class="app">
<div class="logo" style="font-size:68px; font-weight:800;">bash</div>
<div class="app-label">Bash</div>
</div>
<div class="app">
<div class="logo" style="font-size:40px; font-weight:600; color:#2b2b2b;">Massimo D...</div>
<div class="app-label">Massimo D...</div>
</div>
<div class="app">
<div class="logo ring">a</div>
<div class="app-label">ASOS</div>
</div>
<div class="app spacer">
<div class="logo"></div>
<div class="app-label">Empty</div>
</div>
</div>
<!-- Dock icons -->
<div class="dock">
<div class="dock-icon" title="Phone">
<svg viewBox="0 0 24 24" fill="#1a73e8">
<path d="M6.6 10.2c1.2 2.3 3 4.2 5.3 5.3l1.8-1.8c.3-.3.8-.4 1.1-.2 1 .4 2 .7 3.1.7.6 0 1 .4 1 .9v3.1c0 .5-.4.9-1 .9C9.9 19.1 4.9 14.1 4.9 7.1c0-.6.4-1 .9-1h3.1c.5 0 .9.4.9 1 0 1.1.2 2.1.7 3.1.2.3.1.8-.2 1.1l-1.7 1.9z"/>
</svg>
</div>
<div class="dock-icon" title="Messages">
<svg viewBox="0 0 24 24" fill="#2962ff">
<path d="M4 4h16c1.1 0 2 .9 2 2v9c0 1.1-.9 2-2 2H9l-5 3V6c0-1.1.9-2 2-2zm2 4v2h12V8H6zm0 4v2h8v-2H6z"/>
</svg>
</div>
<div class="dock-icon" title="Chrome">
<div class="chrome" aria-label="Chrome logo"></div>
</div>
<div class="dock-icon" title="Camera">
<svg viewBox="0 0 24 24" fill="#37474f">
<path d="M9 4h6l1.6 2H20c1.1 0 2 .9 2 2v9c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V8c0-1.1.9-2 2-2h3.4L9 4zm3 4.5a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11zm0 2a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7z"/>
</svg>
</div>
</div>
<!-- Search bar -->
<div class="search">
<span class="google-g" aria-hidden="true"></span>
<span class="search-placeholder">Search</span>
<div class="search-actions">
<div class="chip" title="Voice">
<svg viewBox="0 0 24 24"><path d="M12 3a3 3 0 0 1 3 3v6a3 3 0 0 1-6 0V6a3 3 0 0 1 3-3zm-1 14.9V21h2v-3.1a7 7 0 0 0 6-6.9h-2a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.9z"/></svg>
</div>
<div class="chip" title="Lens">
<svg viewBox="0 0 24 24"><path d="M3 5a2 2 0 0 1 2-2h4v2H5v4H3V5zm16 0h-4V3h4a2 2 0 0 1 2 2v4h-2V5zM5 19h4v2H5a2 2 0 0 1-2-2v-4h2v4zm12 0v-4h2v4a2 2 0 0 1-2 2h-4v-2h4zM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10z"/></svg>
</div>
</div>
</div>
<!-- Navigation pill -->
<div class="nav-pill"></div>
</div>
</body>
</html>