AndroidCode / code /10013 /10013_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
98687c3 verified
<html>
<head>
<meta charset="UTF-8">
<title>Settings Screen</title>
<style>
body{ margin:0; padding:0; background:transparent; }
#render-target{
width:1080px; height:2400px;
position:relative; overflow:hidden;
background:#1f262a; color:#e6ecef;
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
/* Status bar */
.status{
position:absolute; top:0; left:0; right:0;
height:110px; background:#1b2226;
display:flex; align-items:center; justify-content:space-between;
padding:0 40px; color:#cbd3d7; font-weight:600;
}
.status .left{ display:flex; align-items:center; gap:24px; }
.status .right{ display:flex; align-items:center; gap:22px; }
/* simple icon dots/shape */
.dot{ width:18px; height:18px; border-radius:50%; background:#aab2b7; opacity:.7; }
.bar{ width:24px; height:18px; border:2px solid #aab2b7; border-radius:3px; opacity:.7; }
.circle{ width:22px; height:22px; border:2px solid #aab2b7; border-radius:50%; opacity:.7; }
/* Header / navigation */
.nav{
position:absolute; top:110px; left:0; right:0;
height:120px; display:flex; align-items:center;
padding:0 32px; color:#e9eef1;
border-bottom:1px solid rgba(255,255,255,0.06);
}
.nav .title{ flex:1; text-align:center; font-size:56px; font-weight:700; letter-spacing:.3px; }
.icon-btn{ width:84px; height:84px; display:flex; align-items:center; justify-content:center; }
.icon-btn svg{ width:44px; height:44px; fill:none; stroke:#e9eef1; stroke-width:5; }
/* Content */
.content{ position:absolute; top:240px; left:0; right:0; padding:40px; }
.section{ margin-bottom:64px; }
.label{ font-size:28px; letter-spacing:2px; color:#9aa6ad; text-transform:uppercase; margin:10px 0 22px; }
/* Segmented controls */
.pill-group{
display:flex; gap:0;
background:#242a2f; border-radius:52px; padding:12px;
box-shadow:inset 0 0 0 1px rgba(255,255,255,0.04);
}
.pill-option{
flex:1; border-radius:44px; padding:26px 10px;
text-align:center; color:#cfd6db;
transition:.2s; border:1px solid transparent;
}
.pill-option .title{ font-size:44px; font-weight:700; margin-bottom:8px; color:#eef3f7; }
.pill-option .subtitle{ font-size:28px; color:#92a0a8; }
.pill-option.inactive .title{ color:#cdd6db; }
.pill-option.active{
background:#32383d; border-color:rgba(255,255,255,0.06);
}
/* Two-option group tweaks */
.pill-group.two .pill-option .title{ font-size:48px; }
.pill-group.two .pill-option .subtitle{ font-size:30px; }
/* Display mode simple options (no subtitles) */
.display-options .pill-option{ padding:34px 10px; }
.display-options .pill-option .title{ margin:0; font-size:44px; }
.display-options .pill-option.inactive{ color:#b8c0c6; }
/* Toggle rows */
.row{ padding:30px 0; border-top:1px solid rgba(255,255,255,0.06); }
.row:first-child{ border-top:none; }
.row-head{ display:flex; align-items:center; justify-content:space-between; }
.row-title{ font-size:46px; font-weight:700; color:#eef3f7; }
.row-desc{ margin-top:16px; font-size:32px; line-height:1.35; color:#a3afb6; }
.toggle{
width:156px; height:76px; border-radius:38px;
background:#3c4349; position:relative; box-shadow:inset 0 0 0 2px rgba(255,255,255,0.08);
}
.toggle.on{ background:#4cd275; }
.toggle .knob{
position:absolute; top:8px; left:8px; width:60px; height:60px;
background:#ffffff; border-radius:50%; transition:.2s;
}
.toggle.on .knob{ left:88px; }
/* Footer link with chevron */
.link-row{
margin-top:24px; padding:36px 0;
border-top:1px solid rgba(255,255,255,0.06);
display:flex; align-items:center; justify-content:space-between;
}
.link-text{ font-size:46px; font-weight:700; color:#eef3f7; }
.chev svg{ width:40px; height:40px; stroke:#b9c2c8; stroke-width:5; fill:none; }
/* Bottom handle (home indicator) */
.home-indicator{
position:absolute; bottom:22px; left:50%; transform:translateX(-50%);
width:360px; height:14px; border-radius:8px; background:#8c959a; opacity:.45;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status">
<div class="left">
<div style="font-size:40px;">8:19</div>
<div class="dot"></div>
<div class="circle"></div>
<div class="bar"></div>
<div class="dot"></div>
</div>
<div class="right">
<div class="circle"></div>
<div class="circle"></div>
<div class="dot"></div>
</div>
</div>
<!-- Navigation -->
<div class="nav">
<div class="icon-btn">
<svg viewBox="0 0 24 24">
<path d="M15 5 L7 12 L15 19"></path>
</svg>
</div>
<div class="title">Settings</div>
<div style="width:84px;"></div>
</div>
<!-- Content -->
<div class="content">
<!-- Units -->
<div class="section">
<div class="label">UNITS</div>
<div class="pill-group">
<div class="pill-option active">
<div class="title">Imperial</div>
<div class="subtitle">°F, mph, in</div>
</div>
<div class="pill-option inactive">
<div class="title">Metric</div>
<div class="subtitle">°C, km/h, mm</div>
</div>
<div class="pill-option inactive">
<div class="title">Hybrid</div>
<div class="subtitle">°C, mph, mm</div>
</div>
</div>
</div>
<!-- Wind Direction -->
<div class="section">
<div class="label">WIND DIRECTION</div>
<div class="pill-group two">
<div class="pill-option active">
<div class="title">Cardinal</div>
<div class="subtitle">N, S, W, E</div>
</div>
<div class="pill-option inactive">
<div class="title">Degrees</div>
<div class="subtitle">0° – 360°</div>
</div>
</div>
</div>
<!-- Display Mode -->
<div class="section">
<div class="label">DISPLAY MODE</div>
<div class="pill-group display-options">
<div class="pill-option inactive">
<div class="title">Light</div>
</div>
<div class="pill-option inactive">
<div class="title">Dark</div>
</div>
<div class="pill-option inactive">
<div class="title">Black</div>
</div>
</div>
</div>
<!-- Toggle rows -->
<div class="section">
<div class="row">
<div class="row-head">
<div class="row-title">Use Device Settings</div>
<div class="toggle on">
<div class="knob"></div>
</div>
</div>
<div class="row-desc">
Enable the Light or Dark selection located in your device's Display &amp; Brightness settings
</div>
</div>
<div class="row">
<div class="row-head">
<div class="row-title">Current Conditions Background</div>
<div class="toggle on">
<div class="knob"></div>
</div>
</div>
<div class="row-desc">
Enable/disable the background on your Today screen to visually reflect the weather in your selected location. That means if it’s raining outside, it’s raining in the app.
</div>
</div>
</div>
<!-- Manage notifications -->
<div class="link-row">
<div class="link-text">Manage Notifications</div>
<div class="chev">
<svg viewBox="0 0 24 24"><path d="M9 5 L16 12 L9 19"></path></svg>
</div>
</div>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>