AndroidCode / code /10176 /10176_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
6.53 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Account Settings Mock</title>
<style>
body { margin:0; padding:0; background:transparent; font-family: Arial, Helvetica, sans-serif; }
#render-target{
width:1080px; height:2400px;
position:relative; overflow:hidden;
background:#0f171b; color:#e6f1f5;
}
/* Status bar */
.status-bar{
position:absolute; left:0; top:0; width:100%; height:70px;
padding:0 32px; box-sizing:border-box;
display:flex; align-items:center; justify-content:space-between;
color:#d8e6ee; font-size:32px; letter-spacing:1px;
opacity:0.9;
}
.status-left{ display:flex; align-items:center; gap:16px; }
.dot{ width:8px; height:8px; background:#8aa2ad; border-radius:50%; display:inline-block; }
.status-right{ display:flex; align-items:center; gap:18px; }
.battery{
width:54px; height:24px; border:3px solid #d8e6ee; border-radius:5px; position:relative;
}
.battery::after{
content:""; position:absolute; right:-8px; top:6px; width:6px; height:12px; background:#d8e6ee; border-radius:2px;
}
.battery .level{ position:absolute; left:2px; top:2px; bottom:2px; width:70%; background:#d8e6ee; }
.wifi{ width:26px; height:26px; border:3px solid #d8e6ee; border-radius:50%; border-top-color:transparent; border-left-color:transparent; transform:rotate(45deg); box-sizing:border-box; }
/* Header */
.header{
position:absolute; left:0; top:70px; width:100%; height:110px;
display:flex; align-items:center; justify-content:center;
}
.header h1{
margin:0; font-size:54px; font-weight:800; letter-spacing:1px; color:#cfe7f6;
}
.save-btn{
position:absolute; right:32px; top:28px;
font-size:42px; color:#6fc3ff; font-weight:800; letter-spacing:1px;
}
.close{
position:absolute; left:26px; top:26px; width:72px; height:72px; display:flex; align-items:center; justify-content:center;
}
.close svg{ width:42px; height:42px; stroke:#a7c3d2; stroke-width:6; fill:none; }
/* Content area */
.content{
position:absolute; left:0; top:190px; right:0; bottom:0;
padding:24px 32px 32px; box-sizing:border-box;
overflow:hidden;
}
.label{
font-size:42px; color:#9db7c3; margin:26px 8px 18px;
}
.input{
height:120px; border-radius:32px;
background:#1a242a; border:2px solid #2a3a41; color:#eaf6ff;
display:flex; align-items:center; padding:0 30px; font-size:40px; letter-spacing:0.5px;
box-sizing:border-box;
}
.line-btn{
height:118px; border-radius:30px; margin-top:26px;
border:3px solid #2b4e5f; color:#78c6ff; font-weight:800; letter-spacing:2px;
display:flex; align-items:center; justify-content:center; font-size:40px; background:#101a1e;
}
.section-title{
font-size:58px; font-weight:800; margin:56px 8px 24px; color:#e5f2fb;
}
.card{
background:#0f191d; border:3px solid #273940; border-radius:34px;
padding:10px 0; box-sizing:border-box;
}
.row{
display:flex; align-items:center; justify-content:space-between;
padding:36px 28px; box-sizing:border-box;
border-bottom:1px solid #213239;
}
.row:last-child{ border-bottom:none; }
.row .name{ font-size:44px; color:#e8f4fb; }
.caption{ font-size:44px; color:#79c7ff; font-weight:700; }
/* Toggle mock similar to screenshot (pill + small rounded square) */
.toggle-wrap{ display:flex; align-items:center; gap:24px; }
.toggle{
width:190px; height:88px; background:#79c9ff; border-radius:50px; position:relative;
box-shadow: inset 0 0 0 6px rgba(20,40,50,0.25);
}
.toggle::before{
content:""; position:absolute; right:10px; top:10px; width:68px; height:68px; background:#e9f7ff; border-radius:50%;
box-shadow:0 2px 0 rgba(0,0,0,0.25);
}
.toggle-square{
width:110px; height:90px; border-radius:22px; border:8px solid #79c9ff; background:#0f171b;
}
.help{
margin-top:30px;
height:118px; border-radius:30px;
border:3px solid #2b4e5f; color:#78c6ff; font-weight:800; letter-spacing:2px;
display:flex; align-items:center; justify-content:center; font-size:42px; background:#101a1e;
}
.bottom-area{
position:absolute; left:0; right:0; bottom:18px;
padding:0 32px; box-sizing:border-box;
}
.manage{
height:124px; border-radius:34px; border:3px solid #2b4e5f;
display:flex; align-items:center; justify-content:center;
color:#78c6ff; font-size:48px; font-weight:800; letter-spacing:2px; background:#0f191d;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<span>5:53</span>
<span class="dot"></span>
<span class="dot"></span>
<span class="dot"></span>
</div>
<div class="status-right">
<div class="wifi"></div>
<span>96%</span>
<div class="battery"><div class="level"></div></div>
</div>
</div>
<!-- Header -->
<div class="header">
<div class="close">
<svg viewBox="0 0 24 24">
<path d="M4 4 L20 20 M20 4 L4 20"></path>
</svg>
</div>
<h1>Account</h1>
<div class="save-btn">SAVE</div>
</div>
<!-- Content -->
<div class="content">
<div class="label">Email</div>
<div class="input">fabioteixeira00123@gmail.com</div>
<div class="label">Password</div>
<div class="input">••••••••</div>
<div class="line-btn">DUOLINGO FOR SCHOOLS</div>
<div class="line-btn">SIGN OUT</div>
<div class="section-title">General</div>
<div class="card">
<div class="row">
<div class="name">Sound effects</div>
<div class="toggle-wrap">
<div class="toggle"></div>
<div class="toggle-square"></div>
</div>
</div>
<div class="row">
<div class="name">Dark mode</div>
<div class="caption">System Default</div>
</div>
<div class="row">
<div class="name">Friends Quest</div>
<div class="toggle-wrap">
<div class="toggle"></div>
<div class="toggle-square"></div>
</div>
</div>
<div class="row">
<div class="name">Motivational messages</div>
<div class="toggle-wrap">
<div class="toggle"></div>
<div class="toggle-square"></div>
</div>
</div>
</div>
<div class="help">HELP CENTER</div>
</div>
<div class="bottom-area">
<div class="manage">MANAGE COURSES</div>
</div>
</div>
</body>
</html>