AndroidCode / code /10004 /10004_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
98687c3 verified
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Notifications Settings</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #F3F6FA;
color: #0f172a;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 90px;
padding: 0 36px;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
color: #1f2937;
font-size: 30px;
}
.status-right {
display: flex;
align-items: center;
gap: 22px;
}
.dot { width: 10px; height: 10px; background:#1f2937; border-radius:50%; display:inline-block; opacity:.7 }
/* App bar */
.app-bar {
position: absolute;
top: 90px;
left: 0;
width: 1080px;
height: 150px;
background: #ffffff;
border-bottom: 1px solid #E6EBF2;
display: flex;
align-items: center;
padding: 0 30px;
box-sizing: border-box;
}
.back-btn {
width: 96px;
height: 96px;
display: flex;
align-items: center;
justify-content: center;
}
.title {
font-size: 56px;
font-weight: 700;
color: #121926;
margin-left: 6px;
}
/* Content */
.content {
position: absolute;
top: 240px;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
padding-bottom: 48px;
}
.section {
padding: 38px 36px 10px 36px;
}
.section-box {
background: #F3F6FA;
border-top: 1px solid #E6EBF2;
}
.section-title {
color: #2563EB;
font-size: 30px;
font-weight: 700;
letter-spacing: 1px;
margin: 18px 0 22px;
text-transform: uppercase;
}
.row {
position: relative;
padding: 30px 180px 24px 30px;
background: #F3F6FA;
border-bottom: 1px solid #E6EBF2;
}
.row h3 {
margin: 0;
font-size: 44px;
font-weight: 700;
color: #0F172A;
}
.desc {
margin-top: 16px;
font-size: 34px;
line-height: 1.35;
color: #6B7280;
max-width: 900px;
}
/* Toggle (OFF) */
.toggle {
position: absolute;
right: 36px;
top: 36px;
width: 128px;
height: 68px;
background: #E5EAF2;
border-radius: 34px;
border: 1px solid #D7DEE8;
box-sizing: border-box;
}
.toggle .knob {
position: absolute;
top: 5px;
left: 5px;
width: 58px;
height: 58px;
background: #FFFFFF;
border-radius: 50%;
border: 1px solid #D8DFEA;
box-shadow: 0 2px 4px rgba(16,24,40,0.08);
}
/* Simple icons */
svg { display: block }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">6:12</div>
<div class="status-right">
<!-- signal -->
<svg width="32" height="28" viewBox="0 0 24 24">
<rect x="2" y="14" width="3" height="8" fill="#111827" opacity="0.35"/>
<rect x="7" y="12" width="3" height="10" fill="#111827" opacity="0.55"/>
<rect x="12" y="9" width="3" height="13" fill="#111827" opacity="0.75"/>
<rect x="17" y="6" width="3" height="16" fill="#111827"/>
</svg>
<!-- wifi -->
<svg width="32" height="28" viewBox="0 0 24 24">
<path d="M2 8c5-4 15-4 20 0" stroke="#111827" stroke-width="2" fill="none"/>
<path d="M5 12c4-3 10-3 14 0" stroke="#111827" stroke-width="2" fill="none"/>
<path d="M8 16c3-2 5-2 8 0" stroke="#111827" stroke-width="2" fill="none"/>
<circle cx="12" cy="19" r="2" fill="#111827"/>
</svg>
<!-- battery -->
<svg width="46" height="28" viewBox="0 0 36 20">
<rect x="1" y="3" width="30" height="14" rx="3" ry="3" fill="none" stroke="#111827" stroke-width="2"/>
<rect x="3" y="5" width="22" height="10" fill="#111827"/>
<rect x="32" y="7" width="3" height="6" rx="1" fill="#111827"/>
</svg>
<span>100%</span>
</div>
</div>
<!-- App Bar -->
<div class="app-bar">
<div class="back-btn">
<svg width="50" height="50" viewBox="0 0 24 24">
<path d="M15 4L7 12l8 8" stroke="#111827" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="title">Notifications</div>
</div>
<!-- Content -->
<div class="content">
<div class="section section-box">
<div class="section-title">Friend Requests</div>
<div class="row">
<h3>Private mode</h3>
<div class="desc">By enabling private mode, you choose not to receive friend requests from otherlearners</div>
<div class="toggle"><div class="knob"></div></div>
</div>
</div>
<div class="section section-box">
<div class="section-title">General</div>
<div class="row">
<h3>Notifications</h3>
<div class="toggle"><div class="knob"></div></div>
</div>
<div class="row">
<h3>Correction received</h3>
<div class="desc">i.e. Alexandra has corrected your exercise</div>
<div class="toggle"><div class="knob"></div></div>
</div>
<div class="row">
<h3>Correction added</h3>
<div class="desc">e.g. Alexandra added a correction</div>
<div class="toggle"><div class="knob"></div></div>
</div>
<div class="row">
<h3>Replies</h3>
<div class="desc">e.g. Alexandra has replied to your correction</div>
<div class="toggle"><div class="knob"></div></div>
</div>
<div class="row" style="border-bottom:none;">
<h3>Friend requests</h3>
<div class="desc">e.g. Alexandra has sent you a friend request</div>
<div class="toggle"><div class="knob"></div></div>
</div>
</div>
</div>
</div>
</body>
</html>