AndroidCode / code /10006 /10006_35.html
yhzheng1031's picture
Add files using upload-large-folder tool
98687c3 verified
<html>
<head>
<meta charset="UTF-8">
<title>Fitbit Permission Dialog UI</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: linear-gradient(180deg, #4d5b5f 0%, #2a7c7a 40%, #1a7c79 100%);
color:#ffffff;
}
/* Status bar */
.status-bar {
position:absolute; top:0; left:0; right:0;
height:150px; background:#6a6a6a;
color:#fff; font-weight:600;
}
.status-left { position:absolute; left:36px; top:52px; font-size:52px; letter-spacing:1px; }
.status-icons { position:absolute; left:220px; top:60px; display:flex; gap:26px; align-items:center; }
.dot { width:14px; height:14px; background:#fff; border-radius:50%; opacity:0.9; }
.status-right { position:absolute; right:40px; top:48px; display:flex; align-items:center; gap:28px; }
.wifi {
width:48px; height:48px;
}
.battery {
width:42px; height:60px; border:4px solid #fff; border-radius:8px; position:relative;
}
.battery::after {
content:""; position:absolute; top:-10px; left:12px; width:18px; height:8px; background:#fff; border-radius:2px;
}
/* Main content */
.headline { position:absolute; top:240px; width:100%; text-align:center; font-size:96px; font-weight:600; letter-spacing:1px; }
.subtext { position:absolute; top:360px; width:100%; text-align:center; font-size:44px; color:#cde7e7; }
.phone-image {
position:absolute; left:140px; top:540px;
width:800px; height:900px;
background:#E0E0E0; border:1px solid #BDBDBD;
display:flex; justify-content:center; align-items:center; color:#757575;
border-radius:50px; box-shadow:0 30px 80px rgba(0,0,0,0.35);
}
/* Bottom buttons */
.bottom-actions { position:absolute; bottom:220px; left:80px; right:80px; }
.action-btn {
width:920px; height:120px; border-radius:70px;
display:flex; align-items:center; justify-content:center;
margin:26px 0; font-size:40px; font-weight:700; letter-spacing:1px;
}
.btn-light { background:rgba(255,255,255,0.18); color:#d7f2f2; }
.btn-dark { background:#0e5654; color:#cde7e7; }
/* Overlay and dialog */
.dim { position:absolute; left:0; top:0; right:0; bottom:0; background:rgba(0,0,0,0.45); }
.dialog {
position:absolute; left:90px; top:880px; width:900px;
background:#383a3f; border-radius:60px;
padding:80px 70px; text-align:center;
box-shadow:0 30px 80px rgba(0,0,0,0.6);
}
.runner-icon { margin:0 auto 40px auto; display:block; }
.dialog-title {
font-size:54px; line-height:1.2; font-weight:700; margin-bottom:70px;
}
.dialog-btn {
background:#bfe6ff; color:#132b3a;
height:140px; border-radius:40px; font-size:46px; font-weight:700;
display:flex; align-items:center; justify-content:center;
margin:22px auto; width:760px;
}
.dialog-btn.secondary { margin-top:24px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">10:20</div>
<div class="status-icons">
<div class="dot"></div>
<div class="dot"></div>
<div class="dot"></div>
</div>
<div class="status-right">
<!-- simple wifi icon -->
<svg class="wifi" viewBox="0 0 64 64">
<path d="M6 24c12-12 40-12 52 0" stroke="#fff" stroke-width="6" fill="none" stroke-linecap="round"/>
<path d="M14 32c8-8 28-8 36 0" stroke="#fff" stroke-width="6" fill="none" stroke-linecap="round"/>
<path d="M22 40c4-4 16-4 20 0" stroke="#fff" stroke-width="6" fill="none" stroke-linecap="round"/>
<circle cx="32" cy="50" r="4" fill="#fff"/>
</svg>
<div class="battery"></div>
</div>
</div>
<!-- Background content -->
<div class="headline">Nice.</div>
<div class="subtext">You are now on your way to better health.</div>
<div class="phone-image">[IMG: Phone with Fitbit app preview]</div>
<div class="bottom-actions">
<div class="action-btn btn-light">SEE WHAT FITBIT TRACKERS CAN DO</div>
<div class="action-btn btn-dark">SET UP YOUR PHONE</div>
</div>
<!-- Dim overlay and centered dialog -->
<div class="dim"></div>
<div class="dialog">
<!-- simple runner icon -->
<svg class="runner-icon" width="72" height="72" viewBox="0 0 72 72">
<circle cx="36" cy="14" r="7" fill="#9ad8ff"/>
<path d="M30 28 L42 34 L52 26" stroke="#9ad8ff" stroke-width="6" fill="none" stroke-linecap="round"/>
<path d="M28 36 L36 44 L30 56" stroke="#9ad8ff" stroke-width="6" fill="none" stroke-linecap="round"/>
<path d="M42 42 L52 52" stroke="#9ad8ff" stroke-width="6" fill="none" stroke-linecap="round"/>
</svg>
<div class="dialog-title">Allow Fitbit to access your physical activity?</div>
<div class="dialog-btn">Allow</div>
<div class="dialog-btn secondary">Don’t allow</div>
</div>
</div>
</body>
</html>