AndroidCode / code /10093 /10093_0.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<html>
<head>
<meta charset="UTF-8">
<title>General Settings UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #121212;
color: #FFFFFF;
}
/* Top status bar */
.statusbar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 110px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
font-size: 42px;
color: #fff;
opacity: 0.95;
}
.status-right {
display: flex;
align-items: center;
gap: 26px;
font-size: 36px;
color: #dddddd;
}
.icon-battery, .icon-wifi, .icon-signal {
width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
}
.icon-battery svg, .icon-wifi svg, .icon-signal svg { fill: #ddd; }
/* Back button and title */
.back-btn {
position: absolute;
top: 140px;
left: 40px;
width: 64px;
height: 64px;
border-radius: 32px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
}
.title {
position: absolute;
top: 190px;
left: 40px;
font-size: 74px;
font-weight: 800;
letter-spacing: 0.5px;
}
/* Card list container */
.card {
position: absolute;
top: 360px;
left: 30px;
width: 1020px;
border-radius: 44px;
background: #1E1E1E;
box-shadow: 0 2px 16px rgba(0,0,0,0.6);
overflow: hidden;
}
.row {
height: 140px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 56px;
border-top: 1px solid #2A2A2A;
font-size: 44px;
}
.row:first-child { border-top: none; }
.label { color: #FFFFFF; }
.right-text { color: #CFCFCF; font-size: 40px; }
/* Chevron for "Voice" row */
.right-inline {
display: inline-flex;
align-items: center;
gap: 20px;
}
.chevron {
width: 28px; height: 28px;
}
.chevron svg { fill: #CFCFCF; }
/* Toggle switch */
.toggle {
width: 150px;
height: 70px;
border-radius: 35px;
background: #3A3A3A;
position: relative;
box-shadow: inset 0 0 0 2px rgba(255,255,255,0.06);
}
.toggle .knob {
position: absolute;
top: 8px;
left: 10px;
width: 54px;
height: 54px;
background: #FFFFFF;
border-radius: 50%;
box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.toggle.active { background: #F2A93C; }
.toggle.active .knob { left: 86px; }
/* Delete Account style */
.danger { color: #E53935; font-weight: 600; }
/* Home pill */
.home-indicator {
position: absolute;
bottom: 42px;
left: 50%;
transform: translateX(-50%);
width: 500px;
height: 16px;
background: #EDEDED;
border-radius: 10px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar">
<div class="status-left">8:40</div>
<div class="status-right">
<span>🔒</span>
<span class="icon-signal">
<svg viewBox="0 0 24 24">
<path d="M2 18h2v2H2v-2zm4-4h2v6H6v-6zm4-4h2v10h-2V10zm4-4h2v14h-2V6zm4-4h2v18h-2V2z"/>
</svg>
</span>
<span class="icon-wifi">
<svg viewBox="0 0 24 24">
<path d="M12 20c1.104 0 2-.896 2-2s-.896-2-2-2-2 .896-2 2 .896 2 2 2zm6.93-7.36a11.96 11.96 0 0 0-13.86 0l1.41 1.41a9.96 9.96 0 0 1 11.04 0l1.41-1.41zm3.07-3.07a16 16 0 0 0-20 0l1.42 1.42a14 14 0 0 1 17.16 0l1.42-1.42z"/>
</svg>
</span>
<span class="icon-battery">
<svg viewBox="0 0 24 24">
<path d="M16 4h1v2h3v12h-3v2h-1V4zM2 6h12v12H2V6z"/>
</svg>
</span>
</div>
</div>
<!-- Back button -->
<div class="back-btn">
<svg width="42" height="42" viewBox="0 0 24 24">
<path fill="#FFFFFF" d="M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
</svg>
</div>
<!-- Title -->
<div class="title">General Settings</div>
<!-- Settings card -->
<div class="card">
<div class="row">
<div class="label">Measurement Units</div>
<div class="right-text">US / METRIC</div>
</div>
<div class="row">
<div class="label">Voice</div>
<div class="right-inline">
<span class="right-text">Joanna</span>
<span class="chevron">
<svg viewBox="0 0 24 24">
<path d="M9 6l6 6-6 6z"/>
</svg>
</span>
</div>
</div>
<div class="row">
<div class="label">Push Notification</div>
<div class="toggle active">
<div class="knob"></div>
</div>
</div>
<div class="row">
<div class="label">CookAssist</div>
<div class="toggle active">
<div class="knob"></div>
</div>
</div>
<div class="row">
<div class="label">Show Purchasable Content</div>
<div class="toggle active">
<div class="knob"></div>
</div>
</div>
<div class="row">
<div class="label">Manage Subscription</div>
<div class="right-text"></div>
</div>
<div class="row">
<div class="danger">Delete Account</div>
<div></div>
</div>
</div>
<!-- Bottom home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>