AndroidCode / code /10176 /10176_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
67530d2 verified
raw
history blame
5.55 kB
<html lang="en">
<head>
<meta charset="UTF-8">
<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: #0f1920;
color: #E6EDF3;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 80px;
padding: 0 36px;
display: flex;
align-items: center;
justify-content: space-between;
color: #DDE6EC;
font-size: 34px;
opacity: 0.9;
}
.status-right {
display: flex;
gap: 18px;
align-items: center;
}
.icon-dot {
width: 10px;
height: 10px;
background: #C9D3DA;
border-radius: 50%;
}
.battery {
width: 48px;
height: 24px;
border: 3px solid #C9D3DA;
border-radius: 6px;
position: relative;
}
.battery::after {
content: "";
position: absolute;
right: -8px;
top: 5px;
width: 6px;
height: 14px;
background: #C9D3DA;
border-radius: 2px;
}
.battery-level {
position: absolute;
left: 3px;
top: 3px;
bottom: 3px;
width: 70%;
background: #C9D3DA;
border-radius: 2px;
}
/* App header */
.app-bar {
position: absolute;
top: 80px;
left: 0;
right: 0;
height: 120px;
display: flex;
align-items: center;
justify-content: center;
color: #CFE3EF;
}
.app-title {
font-weight: 700;
font-size: 56px;
letter-spacing: 1px;
}
.action-save {
position: absolute;
right: 36px;
top: 34px;
color: #59A7FF;
font-weight: 700;
font-size: 48px;
letter-spacing: 1px;
}
.action-close {
position: absolute;
left: 24px;
top: 34px;
width: 64px;
height: 64px;
}
/* Content */
.content {
position: absolute;
top: 220px;
left: 0;
right: 0;
bottom: 0;
padding: 0 48px 48px 48px;
overflow: hidden;
}
.avatar-wrap {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 40px;
margin-bottom: 40px;
}
.avatar {
width: 240px;
height: 240px;
border-radius: 50%;
background: #523B34;
display: flex;
align-items: center;
justify-content: center;
font-size: 140px;
font-weight: 700;
color: #FFFFFF;
box-shadow: 0 0 0 6px rgba(255,255,255,0.04) inset;
}
.change-avatar {
margin-top: 28px;
color: #5AB0FF;
font-weight: 800;
font-size: 44px;
letter-spacing: 1px;
}
.label {
color: #8CA1AD;
font-size: 38px;
margin: 28px 8px 16px 8px;
}
.input {
width: 100%;
height: 120px;
border-radius: 28px;
background: #15232A;
border: 2px solid #23343D;
color: #DDE6EC;
font-size: 46px;
padding: 0 36px;
display: flex;
align-items: center;
box-sizing: border-box;
}
.dot-pass {
letter-spacing: 8px;
}
.btn-outline {
width: 100%;
height: 120px;
border-radius: 28px;
background: #132127;
border: 2px solid #2B3C45;
color: #5AB0FF;
font-size: 44px;
font-weight: 800;
letter-spacing: 2px;
display: flex;
align-items: center;
justify-content: center;
margin-top: 26px;
}
.section-title {
margin-top: 36px;
font-size: 58px;
font-weight: 800;
color: #DDE6EC;
}
.row {
margin-top: 28px;
display: flex;
align-items: center;
justify-content: space-between;
}
.row .title {
font-size: 48px;
color: #E3EDF4;
}
/* Toggle */
.toggle {
width: 220px;
height: 88px;
background: #3FA2FF;
border-radius: 44px;
position: relative;
box-shadow: inset 0 0 0 6px rgba(255,255,255,0.06);
}
.toggle .knob {
position: absolute;
right: 4px;
top: 4px;
width: 80px;
height: 80px;
background: #FFFFFF;
border-radius: 50%;
}
/* subtle separators */
.spacer { height: 10px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>5:52</div>
<div class="status-right">
<div class="icon-dot"></div>
<div class="icon-dot"></div>
<div class="battery">
<div class="battery-level"></div>
</div>
<div style="font-size:32px;">96%</div>
</div>
</div>
<!-- App header -->
<div class="app-bar">
<div class="app-title">Account</div>
<div class="action-save">SAVE</div>
<svg class="action-close" viewBox="0 0 24 24">
<path d="M5 5 L19 19 M19 5 L5 19" stroke="#CFE3EF" stroke-width="2.5" stroke-linecap="round"/>
</svg>
</div>
<!-- Content area -->
<div class="content">
<div class="avatar-wrap">
<div class="avatar">F</div>
<div class="change-avatar">CHANGE AVATAR</div>
</div>
<div class="label">Name</div>
<div class="input">Fabio Teixeira</div>
<div class="label">Username</div>
<div class="input">FabioTeixe5546</div>
<div class="label">Email</div>
<div class="input">fabioteixeira00123@gmail.com</div>
<div class="label">Password</div>
<div class="input dot-pass">••••••••</div>
<div class="btn-outline">DUOLINGO FOR SCHOOLS</div>
<div class="btn-outline">SIGN OUT</div>
<div class="section-title">General</div>
<div class="row">
<div class="title">Sound effects</div>
<div class="toggle">
<div class="knob"></div>
</div>
</div>
</div>
</div>
</body>
</html>