AndroidCode / code /10166 /10166_8.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
7.99 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Google Fit Dancing UI</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: "Google Sans", Roboto, Arial, sans-serif;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 120px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
color: #3c4043;
font-size: 38px;
}
.status-left {
display: flex;
align-items: center;
gap: 24px;
}
.status-right {
display: flex;
align-items: center;
gap: 34px;
}
.status-icon svg { display: block; }
/* Toolbar */
.toolbar {
position: absolute;
top: 120px;
left: 0;
width: 100%;
height: 110px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
color: #3c4043;
background: #ffffff;
}
.toolbar .back {
width: 64px;
height: 64px;
}
.toolbar .menu {
width: 40px;
height: 80px;
}
/* Card area */
.card {
position: absolute;
top: 230px;
left: 0;
width: 100%;
height: 1200px;
background: #E8F0FE;
}
.card-top {
display: flex;
align-items: center;
justify-content: space-between;
padding: 60px;
}
.brand {
display: flex;
align-items: center;
gap: 24px;
color: #1a73e8;
}
.brand .heart {
width: 60px;
height: 60px;
}
.brand-title {
font-size: 52px;
line-height: 1.1;
font-weight: 600;
}
.brand-subtitle {
font-size: 46px;
line-height: 1.1;
font-weight: 500;
opacity: 0.95;
}
.runner {
width: 56px;
height: 56px;
}
.big-metric {
position: absolute;
top: 520px;
left: 0;
width: 100%;
text-align: center;
color: #1a73e8;
}
.big-metric .value {
font-size: 220px;
font-weight: 700;
letter-spacing: -4px;
}
.big-metric .label {
font-size: 44px;
margin-top: 16px;
font-weight: 500;
}
/* Controls section */
.controls {
position: absolute;
top: 1460px;
left: 0;
width: 100%;
padding: 40px 60px 0;
color: #3c4043;
background: #ffffff;
}
.chips {
display: flex;
gap: 28px;
justify-content: center;
margin-bottom: 30px;
}
.chip {
display: inline-block;
padding: 22px 36px;
border-radius: 32px;
font-size: 40px;
border: 2px solid #d5d7da;
color: #5f6368;
background: #fff;
}
.chip.selected {
background: #E8F0FE;
color: #1a73e8;
border: 2px solid transparent;
box-shadow: 0 1px 0 rgba(0,0,0,0.04) inset;
}
.section-title {
text-align: center;
font-size: 48px;
margin: 28px 0 36px;
font-weight: 500;
color: #424242;
}
.swatches {
display: flex;
justify-content: center;
gap: 72px;
padding-bottom: 20px;
}
.swatch {
width: 120px;
height: 120px;
border-radius: 50%;
position: relative;
}
.swatch.selected {
border: 8px solid #1a73e8;
box-sizing: border-box;
background: transparent;
}
.swatch.selected .dot {
position: absolute;
top: 50%;
left: 50%;
width: 86px;
height: 86px;
border-radius: 50%;
transform: translate(-50%, -50%);
background: #99B6F9;
}
.swatch.green { background: #93c69b; }
.swatch.gray { background: #d9dce0; }
.swatch.yellow { background: #f1cf68; }
.swatch.red { background: #df887b; }
/* Floating action button */
.fab {
position: absolute;
right: 60px;
bottom: 240px;
width: 160px;
height: 160px;
border-radius: 50%;
background: #E8F0FE;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 22px 36px rgba(0,0,0,0.26);
}
/* Navigation handle */
.handle {
position: absolute;
bottom: 40px;
left: 50%;
width: 380px;
height: 14px;
transform: translateX(-50%);
background: #6c6c6c;
border-radius: 8px;
opacity: 0.6;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>1:17</div>
<div class="status-icon">
<!-- Cloud icon -->
<svg width="50" height="34" viewBox="0 0 50 34">
<path d="M12 22c-5 0-8-3.5-8-7s3-7 8-7c2.2-4.2 8-6.5 12-3.8 2.3 1.6 3.7 4.2 4.1 6.8 7.1-.4 12.9 3.6 12.9 9 0 5.2-5.2 9-11.8 9H12z"
fill="#9aa0a6"></path>
</svg>
</div>
</div>
<div class="status-right">
<!-- WiFi icon -->
<svg width="44" height="34" viewBox="0 0 44 34">
<path d="M4 12c8-6 28-6 36 0" stroke="#5f6368" stroke-width="3" fill="none" stroke-linecap="round"/>
<path d="M9 17c6-4 20-4 26 0" stroke="#5f6368" stroke-width="3" fill="none" stroke-linecap="round"/>
<circle cx="22" cy="24" r="3.5" fill="#5f6368"/>
</svg>
<!-- Battery icon -->
<svg width="50" height="34" viewBox="0 0 50 34">
<rect x="2" y="8" width="38" height="18" rx="3" ry="3" stroke="#5f6368" stroke-width="3" fill="none"/>
<rect x="6" y="11" width="30" height="12" fill="#5f6368"/>
<rect x="42" y="12" width="6" height="10" rx="1" fill="#5f6368"/>
</svg>
</div>
</div>
<!-- Toolbar -->
<div class="toolbar">
<!-- Back arrow -->
<svg class="back" viewBox="0 0 48 48">
<path d="M30 10 L14 24 L30 38" stroke="#3c4043" stroke-width="5" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<!-- Vertical menu (ellipsis) -->
<svg class="menu" viewBox="0 0 10 30">
<circle cx="5" cy="6" r="2" fill="#3c4043"/>
<circle cx="5" cy="15" r="2" fill="#3c4043"/>
<circle cx="5" cy="24" r="2" fill="#3c4043"/>
</svg>
</div>
<!-- Light blue card -->
<div class="card">
<div class="card-top">
<div class="brand">
<!-- Heart icon -->
<svg class="heart" viewBox="0 0 48 48">
<path d="M24 40 L12 28 C7 23 7 16 12 12 C16 9 21 10 24 14 C27 10 32 9 36 12 C41 16 41 23 36 28 L24 40 Z"
fill="#1a73e8"/>
</svg>
<div>
<div class="brand-title">Google Fit</div>
<div class="brand-subtitle">Dancing</div>
</div>
</div>
<!-- Runner icon -->
<svg class="runner" viewBox="0 0 56 56">
<circle cx="40" cy="10" r="5" fill="#1a73e8"/>
<path d="M26 20 L40 16 L34 28 L44 38" stroke="#1a73e8" stroke-width="4" fill="none" stroke-linecap="round"/>
<path d="M28 24 L22 36 L12 32" stroke="#1a73e8" stroke-width="4" fill="none" stroke-linecap="round"/>
<path d="M22 36 L30 46" stroke="#1a73e8" stroke-width="4" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="big-metric">
<div class="value">1h</div>
<div class="label">Active time</div>
</div>
</div>
<!-- Controls -->
<div class="controls">
<div class="chips">
<div class="chip selected">Metrics</div>
<div class="chip">Photo</div>
</div>
<div class="section-title">Highlight color</div>
<div class="swatches">
<div class="swatch selected">
<div class="dot"></div>
</div>
<div class="swatch green"></div>
<div class="swatch gray"></div>
<div class="swatch yellow"></div>
<div class="swatch red"></div>
</div>
</div>
<!-- Floating action button with check -->
<div class="fab">
<svg width="72" height="72" viewBox="0 0 72 72">
<path d="M18 38 L30 50 L54 26" stroke="#1a73e8" stroke-width="8" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<!-- Navigation handle -->
<div class="handle"></div>
</div>
</body>
</html>