File size: 5,107 Bytes
98687c3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | <html lang="en">
<head>
<meta charset="UTF-8">
<title>Notifications Settings UI</title>
<style>
body{margin:0;padding:0;background:transparent;font-family: Arial, Helvetica, sans-serif;color:#111;}
#render-target{
width:1080px;height:2400px;position:relative;overflow:hidden;
background:#F3F5F7;
}
/* Status bar */
.status-bar{
height:120px;background:#ffffff;display:flex;align-items:center;
padding:0 36px;box-shadow:0 1px 0 rgba(0,0,0,0.06);
}
.status-left{font-size:40px;color:#333;}
.status-right{margin-left:auto;display:flex;align-items:center;gap:26px;color:#444;font-size:34px;}
.battery{
width:80px;height:38px;border:2px solid #333;border-radius:8px;position:relative;
}
.battery::after{
content:"";position:absolute;right:-10px;top:10px;width:8px;height:18px;background:#333;border-radius:2px;
}
.battery .level{width:64px;height:28px;background:#333;margin:4px;border-radius:6px;}
/* App bar */
.app-bar{
height:160px;background:#ffffff;display:flex;align-items:center;
padding:0 36px;gap:24px;box-shadow:0 2px 0 rgba(0,0,0,0.06);
}
.back-icon{width:60px;height:60px;}
.title{font-size:64px;font-weight:600;color:#222;}
/* Content sections */
.content{padding:24px 0 0 0;}
.section{padding:36px 36px 20px 36px;}
.section-title{
color:#2A62D7;font-size:36px;font-weight:700;letter-spacing:1px;margin-bottom:30px;
}
.card{
background:#EEF1F5;border-radius:0; /* flat section look */
padding:36px 36px;border-top:1px solid rgba(0,0,0,0.06);
border-bottom:1px solid rgba(0,0,0,0.06);
}
.row{display:flex;align-items:center;margin-bottom:46px;}
.row:last-child{margin-bottom:0;}
.label{font-size:52px;color:#1a1a1a;}
.desc{font-size:40px;color:#6b6f74;margin-top:20px;line-height:1.35;}
.grow{flex:1;}
/* Toggle switch */
.toggle{
width:126px;height:68px;border-radius:34px;background:#e0e3e7;position:relative;box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}
.toggle .thumb{
width:64px;height:64px;border-radius:32px;background:#ffffff;position:absolute;top:2px;left:2px;
box-shadow:0 1px 3px rgba(0,0,0,0.25);
}
.toggle.on{background:#5AD083;}
.toggle.on .thumb{left:60px;background:#EDEFF2;}
/* Gesture pill */
.gesture{
position:absolute;left:50%;transform:translateX(-50%);
bottom:40px;width:500px;height:18px;background:#B8BCC3;border-radius:12px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">6:13</div>
<div class="status-right">
<span>📶</span>
<span>⟲</span>
<span>🔋 100%</span>
<div class="battery"><div class="level"></div></div>
</div>
</div>
<!-- App Bar -->
<div class="app-bar">
<svg class="back-icon" viewBox="0 0 24 24">
<path d="M15.5 19l-7-7 7-7" fill="none" stroke="#333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<div class="title">Notifications</div>
</div>
<!-- Content -->
<div class="content">
<!-- FRIEND REQUESTS -->
<div class="section">
<div class="section-title">FRIEND REQUESTS</div>
<div class="card">
<div class="row">
<div class="grow">
<div class="label">Private mode</div>
<div class="desc">By enabling private mode, you choose not to receive friend requests from otherlearners</div>
</div>
<div class="toggle"><div class="thumb"></div></div>
</div>
</div>
</div>
<!-- GENERAL -->
<div class="section">
<div class="section-title">GENERAL</div>
<div class="card">
<div class="row">
<div class="grow">
<div class="label">Notifications</div>
</div>
<div class="toggle on"><div class="thumb"></div></div>
</div>
<div class="row">
<div class="grow">
<div class="label">Correction received</div>
<div class="desc">i.e. Alexandra has corrected your exercise</div>
</div>
<div class="toggle on"><div class="thumb"></div></div>
</div>
<div class="row">
<div class="grow">
<div class="label">Correction added</div>
<div class="desc">e.g. Alexandra added a correction</div>
</div>
<div class="toggle on"><div class="thumb"></div></div>
</div>
<div class="row">
<div class="grow">
<div class="label">Replies</div>
<div class="desc">e.g. Alexandra has replied to your correction</div>
</div>
<div class="toggle on"><div class="thumb"></div></div>
</div>
<div class="row">
<div class="grow">
<div class="label">Friend requests</div>
<div class="desc">e.g. Alexandra has sent you a friend request</div>
</div>
<div class="toggle on"><div class="thumb"></div></div>
</div>
</div>
</div>
</div>
<!-- Gesture pill -->
<div class="gesture"></div>
</div>
</body>
</html> |