AndroidCode / code /10040 /10040_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Mobile UI Mock</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #121212; color: #E0E0E0;
font-family: Roboto, Arial, sans-serif;
}
/* Status bar */
.status-bar {
position: absolute; top: 0; left: 0;
width: 100%; height: 120px;
padding: 28px 36px;
box-sizing: border-box;
display: flex; align-items: center; justify-content: space-between;
color: #FFFFFF;
font-weight: 500;
}
.status-left { display: flex; align-items: center; gap: 20px; font-size: 40px; }
.status-right { display: flex; align-items: center; gap: 22px; font-size: 34px; opacity: 0.9; }
/* Main empty state */
.empty-state {
position: absolute; left: 0; width: 100%;
top: 980px; text-align: center;
}
.empty-state .caption {
margin-top: 50px; font-size: 44px; color: #D0D0D0;
}
/* Snackbar */
.snackbar {
position: absolute; left: 36px; right: 36px;
bottom: 240px; height: 140px;
background: #E8E8E8; color: #222;
border-radius: 26px;
box-shadow: 0 8px 24px rgba(0,0,0,0.35);
display: flex; align-items: center; justify-content: space-between;
padding: 0 36px; box-sizing: border-box;
font-size: 40px;
}
.snackbar .undo { color: #3B7DED; font-weight: 600; }
/* Bottom bar */
.bottom-bar {
position: absolute; left: 0; bottom: 0; width: 100%;
height: 170px; background: #1A1A1A;
box-shadow: 0 -8px 20px rgba(0,0,0,0.35);
display: flex; align-items: center; justify-content: space-around;
}
.bottom-item {
width: 120px; height: 120px;
display: flex; align-items: center; justify-content: center;
opacity: 0.95;
}
/* FAB */
.fab {
position: absolute; right: 36px; bottom: 140px;
width: 144px; height: 144px; border-radius: 50%;
background: #2B2B2B;
box-shadow: 0 18px 36px rgba(0,0,0,0.45);
}
.fab-inner { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; }
.fab-inner .bar {
position: absolute; background: #FFFFFF; border-radius: 10px;
}
.fab-inner .v-top { width: 18px; height: 42px; left: 37px; top: 0; background: #DB4437; }
.fab-inner .v-bottom{ width: 18px; height: 42px; left: 37px; bottom: 0; background: #F4B400; }
.fab-inner .h-left { width: 42px; height: 18px; left: 0; top: 37px; background: #4285F4; }
.fab-inner .h-right { width: 42px; height: 18px; right: 0; top: 37px; background: #0F9D58; }
/* Gesture bar */
.gesture {
position: absolute; bottom: 74px; left: 50%;
transform: translateX(-50%);
width: 300px; height: 12px; background: #EDEDED; border-radius: 8px;
opacity: 0.9;
}
/* Helper styles for SVG icons */
svg { display: block; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">
<div>1:45</div>
<!-- small notes icon -->
<svg width="44" height="44" viewBox="0 0 24 24">
<rect x="3" y="3" width="18" height="18" rx="3" fill="#FFFFFF" opacity="0.15"/>
<rect x="6" y="7" width="12" height="2" fill="#FFFFFF" opacity="0.9"/>
<rect x="6" y="11" width="10" height="2" fill="#FFFFFF" opacity="0.9"/>
<rect x="6" y="15" width="8" height="2" fill="#FFFFFF" opacity="0.9"/>
</svg>
</div>
<div class="status-right">
<!-- wifi icon -->
<svg width="48" height="48" viewBox="0 0 24 24">
<path d="M3 8c4.5-4 13.5-4 18 0" stroke="#FFFFFF" stroke-width="2" fill="none" opacity="0.9" />
<path d="M6 12c3-2.5 9-2.5 12 0" stroke="#FFFFFF" stroke-width="2" fill="none" opacity="0.9" />
<path d="M9 16c1.8-1.2 4.2-1.2 6 0" stroke="#FFFFFF" stroke-width="2" fill="none" opacity="0.9" />
<circle cx="12" cy="19" r="1.6" fill="#FFFFFF"/>
</svg>
<!-- battery icon + percentage -->
<svg width="52" height="48" viewBox="0 0 24 24">
<rect x="2" y="6" width="18" height="12" rx="2" stroke="#FFFFFF" stroke-width="2" fill="none"/>
<rect x="21" y="9" width="2" height="6" rx="1" fill="#FFFFFF"/>
<rect x="4" y="8" width="12" height="8" fill="#FFFFFF" opacity="0.9"/>
</svg>
<div>100%</div>
</div>
</div>
<!-- Empty State Bell -->
<div class="empty-state">
<svg width="330" height="330" viewBox="0 0 330 330" style="margin: 0 auto;">
<!-- bell outline -->
<path d="M70 240 V120 A95 95 0 0 1 260 120 V240" stroke="#E6E8EB" stroke-width="24" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
<!-- top knob -->
<circle cx="165" cy="100" r="14" fill="#E6E8EB"/>
<!-- base bar -->
<rect x="60" y="240" width="210" height="26" fill="#E6E8EB" rx="4"/>
<!-- clapper -->
<circle cx="165" cy="280" r="18" fill="#E6E8EB"/>
</svg>
<div class="caption">Notes with upcoming reminders appear here</div>
</div>
<!-- Snackbar -->
<div class="snackbar">
<div>Note moved to trash</div>
<div class="undo">Undo</div>
</div>
<!-- Bottom Bar with actions -->
<div class="bottom-bar">
<div class="bottom-item">
<!-- checklist icon -->
<svg width="72" height="72" viewBox="0 0 24 24">
<rect x="4" y="4" width="16" height="16" rx="3" stroke="#EDEDED" stroke-width="2" fill="none" opacity="0.95"/>
<path d="M7 9l2 2 4-4" stroke="#EDEDED" stroke-width="2" fill="none" stroke-linecap="round" />
<rect x="7" y="13" width="10" height="2" fill="#EDEDED" opacity="0.9"/>
</svg>
</div>
<div class="bottom-item">
<!-- brush icon -->
<svg width="72" height="72" viewBox="0 0 24 24">
<path d="M16 4l4 4-9 9-4 1 1-4z" fill="none" stroke="#EDEDED" stroke-width="2" stroke-linejoin="round"/>
<path d="M7 18c0 2-2 3-3 3 2 0 3-1 3-3z" fill="#EDEDED" opacity="0.9"/>
</svg>
</div>
<div class="bottom-item">
<!-- mic icon -->
<svg width="72" height="72" viewBox="0 0 24 24">
<rect x="9" y="4" width="6" height="10" rx="3" fill="none" stroke="#EDEDED" stroke-width="2"/>
<path d="M6 11c0 3 2.7 5 6 5s6-2 6-5" fill="none" stroke="#EDEDED" stroke-width="2"/>
<path d="M12 16v4" stroke="#EDEDED" stroke-width="2" stroke-linecap="round"/>
<rect x="9" y="20" width="6" height="1.8" fill="#EDEDED"/>
</svg>
</div>
<div class="bottom-item">
<!-- image icon -->
<svg width="72" height="72" viewBox="0 0 24 24">
<rect x="3" y="4" width="18" height="16" rx="2" stroke="#EDEDED" stroke-width="2" fill="none"/>
<circle cx="8" cy="9" r="2" fill="#EDEDED"/>
<path d="M4 18l6-6 4 4 3-3 4 5" stroke="#EDEDED" stroke-width="2" fill="none" stroke-linejoin="round"/>
</svg>
</div>
</div>
<!-- Floating Action Button -->
<div class="fab">
<div class="fab-inner">
<div class="bar v-top"></div>
<div class="bar v-bottom"></div>
<div class="bar h-left"></div>
<div class="bar h-right"></div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>