AndroidCode / code /10093 /10093_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Notifications Screen</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Roboto", Arial, Helvetica, sans-serif; }
#render-target {
position: relative;
width: 1080px;
height: 2400px;
overflow: hidden;
background: #0f0f0f;
color: #fff;
}
/* Status bar (top-most) */
.status-bar {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 96px;
padding: 0 34px;
display: flex;
align-items: center;
justify-content: space-between;
color: #eaeaea;
font-size: 34px;
letter-spacing: 0.5px;
background: #0b0b0b;
}
.status-left {
display: flex; align-items: center; gap: 22px;
}
.sb-dot {
width: 24px; height: 24px; border-radius: 50%; background: #cfcfcf; opacity: 0.85;
}
.status-right { display: flex; align-items: center; gap: 24px; }
.wifi {
width: 34px; height: 26px; border: 3px solid #fff; border-top-color: transparent; border-left-color: transparent; transform: rotate(45deg);
border-radius: 6px;
}
.battery {
position: relative;
width: 62px; height: 30px; border: 3px solid #fff; border-radius: 6px;
}
.battery::after {
content: ""; position: absolute; right: -10px; top: 8px; width: 8px; height: 14px; background: #fff; border-radius: 2px;
}
/* App bar */
.app-bar {
position: absolute;
top: 96px;
left: 0; right: 0;
height: 160px;
display: flex; align-items: center;
padding: 0 40px;
background: #121212;
box-sizing: border-box;
}
.back-btn {
width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; margin-right: 22px;
}
.title {
font-size: 64px; font-weight: 700; letter-spacing: 0.3px;
}
/* Content */
.content {
position: absolute;
top: 256px; left: 0; right: 0;
padding: 40px;
box-sizing: border-box;
}
.intro {
color: #b9b9b9;
font-size: 38px;
line-height: 1.4;
margin: 10px 0 60px 0;
max-width: 940px;
}
.setting-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 40px 0;
}
.setting-title {
font-size: 50px;
font-weight: 600;
color: #ffffff;
}
.setting-desc {
color: #8e8e8e;
font-size: 34px;
line-height: 1.55;
max-width: 940px;
margin: 24px 0 28px 0;
}
/* Toggle */
.toggle {
width: 150px; height: 80px; border-radius: 50px;
position: relative;
background: #3a2a25;
box-shadow: inset 0 0 0 2px rgba(255,255,255,0.04);
}
.toggle.on {
background: #5a3a2d;
}
.toggle .knob {
position: absolute; top: 8px; left: 10px;
width: 64px; height: 64px; border-radius: 50%;
background: #ff8a65;
box-shadow: 0 2px 0 rgba(0,0,0,0.35);
transition: left 0.25s ease;
}
.toggle.on .knob { left: 76px; }
/* Bottom gesture bar */
.gesture-bar {
position: absolute;
bottom: 26px; left: 50%;
transform: translateX(-50%);
width: 480px; height: 12px; background: #e6e6e6; border-radius: 8px; opacity: 0.85;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Simulated Android status bar -->
<div class="status-bar">
<div class="status-left">
<div style="font-weight:700;">8:41</div>
<div class="sb-dot"></div>
<div class="sb-dot"></div>
<div class="sb-dot" style="width:22px;height:22px;opacity:.7;"></div>
<div class="sb-dot" style="width:10px;height:10px;opacity:.5;"></div>
</div>
<div class="status-right">
<div class="wifi"></div>
<div class="battery"></div>
</div>
</div>
<!-- App bar with back and title -->
<div class="app-bar">
<div class="back-btn">
<svg width="48" height="48" viewBox="0 0 24 24" fill="#ffffff" xmlns="http://www.w3.org/2000/svg">
<path d="M15.5 19.5L8 12l7.5-7.5 1.5 1.5L11 12l6 6-1.5 1.5z"/>
</svg>
</div>
<div class="title">Notifications</div>
</div>
<!-- Content -->
<div class="content">
<div class="intro">We will inform you about likes and answers to your comments.</div>
<div class="setting-row">
<div class="setting-title">Replies to your comments</div>
<div class="toggle on"><div class="knob"></div></div>
</div>
<div class="setting-desc">Never miss out again on one of our delicious new recipe creations.</div>
<div class="setting-row">
<div class="setting-title">Weekly cooking inspiration</div>
<div class="toggle on"><div class="knob"></div></div>
</div>
</div>
<div class="gesture-bar"></div>
</div>
</body>
</html>