AndroidCode / code /10093 /10093_4.html
yhzheng1031's picture
Add files using upload-large-folder tool
5501681 verified
<html>
<head>
<meta charset="utf-8">
<title>Display Settings UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: Roboto, Arial, sans-serif;
color: #000;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 160px;
background: #cfcfcf;
}
.status-left {
position: absolute;
left: 48px;
top: 50%;
transform: translateY(-50%);
font-size: 42px;
color: #222;
letter-spacing: 1px;
}
.status-right {
position: absolute;
right: 40px;
top: 50%;
transform: translateY(-50%);
display: flex;
gap: 28px;
align-items: center;
}
.icon { width: 44px; height: 44px; }
/* App bar */
.appbar {
position: absolute;
top: 160px;
left: 0;
width: 100%;
height: 180px;
background: #ffffff;
display: flex;
align-items: center;
border-bottom: 1px solid #e6e6e6;
}
.back-btn {
width: 88px;
height: 88px;
margin-left: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.title {
margin-left: 20px;
font-size: 64px;
font-weight: 600;
color: #222;
}
/* Content */
.content {
position: absolute;
top: 340px;
left: 0;
right: 0;
bottom: 0;
padding-top: 20px;
}
.section-title {
font-size: 42px;
font-weight: 700;
letter-spacing: 2px;
color: #1a1a1a;
margin-left: 64px;
margin-bottom: 40px;
}
.row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 40px 64px;
}
.row .label {
font-size: 56px;
color: #111;
}
/* Radio buttons */
.radio {
width: 80px;
height: 80px;
border-radius: 50%;
border: 8px solid #9e9e9e;
box-sizing: border-box;
}
.radio.selected {
border-color: #f26f3a;
position: relative;
}
.radio.selected::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 34px;
height: 34px;
border-radius: 50%;
border: 8px solid #f26f3a;
}
/* Gesture bar */
.gesture {
position: absolute;
bottom: 42px;
left: 50%;
transform: translateX(-50%);
width: 320px;
height: 12px;
background: #8f8f8f;
border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">8:47</div>
<div class="status-right">
<!-- simple notification dots -->
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3" fill="#757575"/></svg>
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3" fill="#757575"/></svg>
<svg class="icon" viewBox="0 0 24 24"><circle cx="12" cy="12" r="3" fill="#757575"/></svg>
<!-- wifi icon -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M2 8c5-5 15-5 20 0" stroke="#616161" stroke-width="2" fill="none"/>
<path d="M5 11c3.5-3.5 10.5-3.5 14 0" stroke="#616161" stroke-width="2" fill="none"/>
<path d="M8 14c2-2 6-2 8 0" stroke="#616161" stroke-width="2" fill="none"/>
<circle cx="12" cy="17" r="2" fill="#616161"/>
</svg>
<!-- battery icon -->
<svg class="icon" viewBox="0 0 24 24">
<rect x="1" y="6" width="18" height="12" rx="2" ry="2" stroke="#616161" stroke-width="2" fill="none"/>
<rect x="3" y="8" width="14" height="8" fill="#616161"/>
<rect x="20" y="9" width="3" height="6" fill="#616161"/>
</svg>
</div>
</div>
<!-- App bar -->
<div class="appbar">
<div class="back-btn">
<svg width="56" height="56" viewBox="0 0 24 24">
<path d="M15 18l-6-6 6-6" stroke="#222" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="title">Display</div>
</div>
<!-- Content -->
<div class="content">
<div class="section-title">DARK THEME</div>
<div class="row">
<div class="label">Use System Default</div>
<div class="radio"></div>
</div>
<div class="row">
<div class="label">Light</div>
<div class="radio selected"></div>
</div>
<div class="row">
<div class="label">Dark</div>
<div class="radio"></div>
</div>
</div>
<!-- Gesture handle -->
<div class="gesture"></div>
</div>
</body>
</html>