AndroidCode / code /10013 /10013_4.html
yhzheng1031's picture
Add files using upload-large-folder tool
98687c3 verified
<html>
<head>
<meta charset="UTF-8">
<title>Government Alerts UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: Roboto, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #23272A; /* dark app background */
color: #ECEFF1;
}
/* Status bar */
.status-bar {
height: 90px;
padding: 0 36px;
color: #C9D0D6;
font-size: 40px;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
}
.status-left { display: flex; gap: 24px; align-items: center; }
.status-icons { display: flex; gap: 22px; align-items: center; }
.dot { width: 10px; height: 10px; background:#C9D0D6; border-radius:50%; display:inline-block; }
/* App bar */
.app-bar {
height: 120px;
border-bottom: 1px solid #353A40;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.app-title {
font-size: 56px;
font-weight: 600;
letter-spacing: 0.3px;
color: #E9EDF0;
}
.back-btn {
position: absolute;
left: 24px;
top: 50%;
transform: translateY(-50%);
width: 72px;
height: 72px;
border-radius: 36px;
display: flex;
align-items: center;
justify-content: center;
color: #E9EDF0;
}
.back-btn svg { width: 40px; height: 40px; fill: none; stroke: #E9EDF0; stroke-width: 6px; }
/* Info line */
.info-line {
height: 110px;
padding: 0 40px;
display: flex;
align-items: center;
color: #9AA4AD;
font-size: 34px;
border-bottom: 1px solid #343A40;
}
/* List section */
.section { border-bottom: 1px solid #343A40; }
.row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 40px;
box-sizing: border-box;
height: 150px;
}
.row-title {
font-size: 46px;
font-weight: 600;
color: #E8ECEF;
}
.row-sub {
font-size: 34px;
color: #8D98A2;
margin-top: 8px;
}
.left-wrap { display: flex; align-items: center; gap: 28px; }
/* Simple location icon */
.loc-icon {
width: 48px; height: 48px;
}
.loc-icon svg { width: 48px; height: 48px; fill: none; stroke: #B7BEC4; stroke-width: 6px; }
/* Toggle switch */
.toggle {
width: 170px;
height: 88px;
background: #3D4349;
border-radius: 44px;
position: relative;
box-shadow: inset 0 0 0 2px rgba(255,255,255,0.06);
}
.toggle .knob {
position: absolute;
top: 10px;
left: 12px;
width: 68px;
height: 68px;
background: #60676D;
border-radius: 34px;
box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.toggle.on {
background: #78C66A;
}
.toggle.on .knob {
left: 90px;
background: #E9F5E5;
}
.toggle.disabled {
opacity: 0.7;
}
/* Favorites header */
.favorites-head {
padding: 34px 40px 16px 40px;
color: #B7BEC4;
font-size: 34px;
letter-spacing: 0.4px;
}
/* Chevron */
.chevron {
width: 40px; height: 40px;
}
.chevron svg { width: 40px; height: 40px; fill: none; stroke: #B7BEC4; stroke-width: 8px; }
/* Divider soft */
.soft-divider { height: 1px; background: #31363B; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>8:21</div>
<div class="status-icons">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
</div>
<div class="status-icons">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="back-btn">
<svg viewBox="0 0 24 24"><path d="M15 5 L8 12 L15 19"/></svg>
</div>
<div class="app-title">Government Alerts</div>
</div>
<!-- Info line -->
<div class="info-line">Switch on locations to receive notifications.</div>
<!-- Current Location row -->
<div class="section">
<div class="row">
<div class="left-wrap">
<div class="loc-icon">
<svg viewBox="0 0 24 24"><path d="M12 2 L20 12 L12 22 L4 12 Z"/></svg>
</div>
<div>
<div class="row-title">Current Location</div>
</div>
</div>
<div class="toggle disabled">
<div class="knob"></div>
</div>
</div>
</div>
<!-- Favorites header -->
<div class="favorites-head">FAVORITES</div>
<!-- Orleans row -->
<div class="section">
<div class="row">
<div>
<div class="row-title">Orléans</div>
<div class="row-sub">France</div>
</div>
<div class="toggle on">
<div class="knob"></div>
</div>
</div>
</div>
<!-- Tokyo row -->
<div class="section">
<div class="row">
<div>
<div class="row-title">Tokyo</div>
<div class="row-sub">Japan</div>
</div>
<div class="toggle">
<div class="knob"></div>
</div>
</div>
</div>
<!-- Edit Locations row -->
<div class="section">
<div class="row" style="height: 130px;">
<div class="row-title">Edit Locations</div>
<div class="chevron"><svg viewBox="0 0 24 24"><path d="M9 5 L16 12 L9 19"/></svg></div>
</div>
</div>
<!-- Large bottom blank area to match screenshot -->
<div class="soft-divider"></div>
</div>
</body>
</html>