AndroidCode / code /10117 /10117_5.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
6.17 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Inbox notifications UI</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 {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 100px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #ffffff;
box-sizing: border-box;
font-size: 36px;
letter-spacing: 0.5px;
}
.status-left {
display: flex;
align-items: center;
gap: 20px;
}
.status-right {
display: flex;
align-items: center;
gap: 22px;
color: #ffffff;
}
.status-icon {
width: 36px;
height: 36px;
opacity: 0.85;
}
.battery {
display: flex;
align-items: center;
gap: 10px;
font-size: 30px;
}
/* App bar */
.appbar {
position: absolute;
top: 100px;
left: 0;
width: 1080px;
height: 140px;
display: flex;
align-items: center;
box-sizing: border-box;
padding: 0 36px;
}
.appbar-title {
font-size: 56px;
font-weight: 500;
margin-left: 18px;
}
.spacer {
flex: 1;
}
.icon-btn {
width: 72px;
height: 72px;
display: flex;
align-items: center;
justify-content: center;
}
/* Content */
.content {
position: absolute;
top: 240px;
left: 0;
width: 1080px;
box-sizing: border-box;
padding: 0 36px;
}
.section {
padding: 34px 0;
}
.title {
font-size: 44px;
font-weight: 500;
margin-bottom: 16px;
}
.subtext {
font-size: 30px;
color: #BDBDBD;
}
.section-label {
font-size: 32px;
color: #8BC34A;
margin: 30px 0 18px 0;
font-weight: 500;
}
.row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 28px 0;
}
.row + .row {
border-top: 1px solid #1F1F1F;
margin-top: 12px;
}
.row-title {
font-size: 42px;
font-weight: 500;
}
.row-subtext {
font-size: 30px;
color: #9E9E9E;
margin-top: 10px;
}
.checkbox {
width: 60px;
height: 60px;
border-radius: 8px;
border: 3px solid #9E9E9E;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
}
.checkbox.checked {
background: #8BC34A;
border-color: #8BC34A;
}
.divider {
height: 1px;
background: #202020;
margin: 28px 0;
}
/* Gesture bar */
.gesture {
position: absolute;
bottom: 42px;
left: 50%;
transform: translateX(-50%);
width: 260px;
height: 12px;
background: #DADADA;
border-radius: 12px;
opacity: 0.85;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div class="time">11:27</div>
<!-- simple placeholders for small status icons -->
<svg class="status-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="#CFCFCF"/>
<path d="M12 6v6l4 4" stroke="#121212" stroke-width="3" fill="none" stroke-linecap="round"/>
</svg>
<svg class="status-icon" viewBox="0 0 24 24">
<rect x="3" y="10" width="18" height="8" rx="2" fill="#CFCFCF"/>
<rect x="5" y="12" width="8" height="4" rx="1" fill="#121212"/>
</svg>
<svg class="status-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#CFCFCF" stroke-width="3"/>
<circle cx="12" cy="12" r="3" fill="#CFCFCF"/>
</svg>
</div>
<div class="status-right">
<svg class="status-icon" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" fill="none" stroke="#CFCFCF" stroke-width="3"/>
<path d="M12 6v6" stroke="#CFCFCF" stroke-width="3" stroke-linecap="round"/>
</svg>
<div class="battery">
<svg width="42" height="24" viewBox="0 0 42 24">
<rect x="2" y="4" width="34" height="16" rx="3" fill="none" stroke="#CFCFCF" stroke-width="3"/>
<rect x="38" y="8" width="4" height="8" rx="1" fill="#CFCFCF"/>
<rect x="5" y="6.5" width="28" height="11" rx="2" fill="#CFCFCF"/>
</svg>
<span>100%</span>
</div>
</div>
</div>
<!-- App bar -->
<div class="appbar">
<div class="icon-btn">
<svg width="64" height="64" viewBox="0 0 48 48">
<path d="M30 8 L14 24 L30 40" stroke="#FFFFFF" stroke-width="5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="appbar-title">Inbox notifications</div>
<div class="spacer"></div>
<div class="icon-btn">
<svg width="52" height="52" viewBox="0 0 24 24">
<circle cx="12" cy="4" r="2.5" fill="#BDBDBD"/>
<circle cx="12" cy="12" r="2.5" fill="#BDBDBD"/>
<circle cx="12" cy="20" r="2.5" fill="#BDBDBD"/>
</svg>
</div>
</div>
<!-- Content -->
<div class="content">
<div class="section">
<div class="title">Sync messages</div>
<div class="subtext">Last 30 days of messages will download when connected</div>
</div>
<div class="section-label">Notifications</div>
<div class="row">
<div>
<div class="row-title">Label notifications</div>
</div>
<div class="checkbox checked">
<svg width="46" height="46" viewBox="0 0 24 24">
<path d="M5 12l4 4 10-10" stroke="#FFFFFF" stroke-width="3.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="divider"></div>
<div class="row">
<div>
<div class="row-title">Notify for every message</div>
<div class="row-subtext">Play sound/vibrate when each new message arrives</div>
</div>
<div class="checkbox"></div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture"></div>
</div>
</body>
</html>