AndroidCode / code /10117 /10117_6.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
6.09 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1080, initial-scale=1">
<title>Inbox notifications (Mock)</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #121212;
color: #EDEDED;
font-family: Roboto, Arial, Helvetica, sans-serif;
}
/* Status bar */
.status-bar {
height: 110px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #F1F1F1;
font-size: 38px;
letter-spacing: 1px;
}
.status-right {
display: flex;
align-items: center;
gap: 22px;
}
.icon {
width: 44px;
height: 44px;
display: inline-flex;
align-items: center;
justify-content: center;
color: #EDEDED;
}
.battery {
width: 62px;
height: 32px;
border: 3px solid #EDEDED;
border-radius: 6px;
position: relative;
margin-left: 6px;
}
.battery::after {
content: "";
position: absolute;
right: -10px;
top: 7px;
width: 6px;
height: 18px;
background: #EDEDED;
border-radius: 2px;
}
.battery .level {
position: absolute;
left: 3px;
top: 3px;
bottom: 3px;
right: 12px;
background: #EDEDED;
border-radius: 3px;
}
/* App bar */
.app-bar {
height: 140px;
display: flex;
align-items: center;
padding: 0 24px;
}
.back-btn {
width: 80px;
height: 80px;
display: inline-flex;
align-items: center;
justify-content: center;
margin-right: 8px;
}
.title {
font-size: 58px;
font-weight: 500;
letter-spacing: 0.2px;
}
.menu-btn {
margin-left: auto;
width: 80px;
height: 80px;
display: inline-flex;
align-items: center;
justify-content: center;
}
/* Content */
.content {
padding: 20px 36px 120px 36px;
}
.subtitle-block {
padding: 22px 0 6px 16px;
}
.primary {
font-size: 44px;
font-weight: 500;
margin-bottom: 8px;
}
.secondary {
color: #A8A8A8;
font-size: 32px;
}
.section-label {
color: #8BC34A;
font-size: 36px;
font-weight: 600;
margin: 36px 0 18px 16px;
}
.row {
display: flex;
align-items: center;
padding: 30px 16px;
}
.row + .row {
border-top: 1px solid #1E1E1E;
}
.row .text {
flex: 1;
}
.row .text .t {
font-size: 44px;
font-weight: 500;
}
.row .text .d {
margin-top: 8px;
font-size: 32px;
color: #A8A8A8;
}
/* Checkbox (Material-like) */
.check {
width: 60px;
height: 60px;
border-radius: 8px;
background: #8BC34A;
display: inline-flex;
align-items: center;
justify-content: center;
box-shadow: inset 0 0 0 2px rgba(0,0,0,0.25);
}
.check svg {
width: 38px;
height: 38px;
fill: none;
stroke: #FFFFFF;
stroke-width: 8;
stroke-linecap: round;
stroke-linejoin: round;
}
/* Gesture bar */
.gesture {
position: absolute;
bottom: 26px;
left: 50%;
transform: translateX(-50%);
width: 320px;
height: 12px;
background: #E6E6E6;
border-radius: 10px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>11:28</div>
<div class="status-right">
<!-- Simple status icons -->
<div class="icon">
<svg viewBox="0 0 24 24" width="36" height="36">
<circle cx="12" cy="12" r="10" stroke="#EDEDED" stroke-width="2" fill="none"></circle>
<path d="M12 7v5l4 2" stroke="#EDEDED" stroke-width="2" fill="none" stroke-linecap="round"></path>
</svg>
</div>
<div class="icon">
<svg viewBox="0 0 24 24" width="36" height="36">
<path d="M10 3h4v2h-4zM5 7h14v12H5z" fill="#EDEDED"></path>
</svg>
</div>
<div class="icon">
<svg viewBox="0 0 24 24" width="36" height="36">
<path d="M3 12h18" stroke="#EDEDED" stroke-width="2" stroke-linecap="round"></path>
<path d="M12 3v18" stroke="#EDEDED" stroke-width="2" stroke-linecap="round"></path>
</svg>
</div>
<div style="display:flex; align-items:center; gap:10px;">
<div class="battery"><div class="level"></div></div>
<div style="font-size:34px;">100%</div>
</div>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="back-btn">
<svg viewBox="0 0 24 24" width="56" height="56">
<path d="M15 19L8 12l7-7" stroke="#EDEDED" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
</div>
<div class="title">Inbox notifications</div>
<div class="menu-btn">
<svg viewBox="0 0 24 24" width="40" height="40">
<circle cx="12" cy="5" r="2.2" fill="#EDEDED"></circle>
<circle cx="12" cy="12" r="2.2" fill="#EDEDED"></circle>
<circle cx="12" cy="19" r="2.2" fill="#EDEDED"></circle>
</svg>
</div>
</div>
<!-- Content -->
<div class="content">
<div class="subtitle-block">
<div class="primary">Sync messages</div>
<div class="secondary">Last 30 days of messages will download when connected</div>
</div>
<div class="section-label">Notifications</div>
<div class="row">
<div class="text">
<div class="t">Label notifications</div>
</div>
<div class="check" aria-checked="true">
<svg viewBox="0 0 24 24">
<path d="M4 12l5 5 11-11"></path>
</svg>
</div>
</div>
<div class="row">
<div class="text">
<div class="t">Notify for every message</div>
<div class="d">Play sound/vibrate when each new message arrives</div>
</div>
<div class="check" aria-checked="true">
<svg viewBox="0 0 24 24">
<path d="M4 12l5 5 11-11"></path>
</svg>
</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>