AndroidCode / code /10111 /10111_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
3.92 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Recipe Steps Screen</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #2c2d31; /* dark app surface */
}
/* Top status area */
.status-bg {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 220px;
background: #b31c4c; /* deep pink/red */
}
.status-content {
position: absolute;
top: 60px;
left: 48px;
right: 48px;
height: 100px;
color: #ffffff;
font-size: 42px;
display: flex;
align-items: center;
justify-content: space-between;
}
.status-right {
display: flex;
align-items: center;
gap: 24px;
font-size: 42px;
}
.status-icon {
width: 52px;
height: 52px;
fill: none;
stroke: #fff;
stroke-width: 4;
}
/* Main rounded surface below status bar */
.main-surface {
position: absolute;
top: 140px;
left: 0;
width: 1080px;
height: 2260px;
background: #2c2d31;
border-top-left-radius: 40px;
border-top-right-radius: 40px;
}
/* Step header */
.step-header {
position: relative;
padding: 56px 48px 24px 48px;
color: #e8e8ea;
}
.step-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.step-row .left {
font-weight: 700;
font-size: 48px;
color: #f1f1f3;
}
.step-row .right {
font-weight: 700;
font-size: 48px;
color: #f39aa9; /* soft pink */
}
.progress-track {
width: 100%;
height: 10px;
background: #1f2024;
border-radius: 5px;
margin-top: 24px;
overflow: hidden;
}
.progress-fill {
height: 100%;
width: 96px; /* 1 of 10 */
background: #b31c4c;
}
/* Instruction text */
.instructions {
padding: 80px 60px 0 60px;
color: #e5e5e7;
font-size: 64px;
line-height: 1.35;
letter-spacing: -0.2px;
}
/* Bottom system navigation area */
.system-bar {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 160px;
background: #000;
}
.gesture-pill {
position: absolute;
bottom: 40px;
left: 50%;
transform: translateX(-50%);
width: 320px;
height: 16px;
background: #e5e5e5;
border-radius: 10px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Top status bar -->
<div class="status-bg"></div>
<div class="status-content">
<div class="status-left">7:51</div>
<div class="status-right">
<!-- Wi-Fi icon -->
<svg class="status-icon" viewBox="0 0 24 24">
<path d="M2 8c10-8 20 0 20 0" />
<path d="M5 12c7-6 14 0 14 0" />
<path d="M9 16c4-4 8 0 8 0" />
<circle cx="12" cy="19" r="1.5" fill="#fff" stroke="none"/>
</svg>
<!-- Battery icon -->
<svg class="status-icon" viewBox="0 0 24 24">
<rect x="2" y="6" width="18" height="12" rx="2" />
<rect x="20" y="9" width="2" height="6" rx="1" />
<rect x="4" y="8" width="12" height="8" fill="#fff" stroke="none"/>
</svg>
<div>100%</div>
</div>
</div>
<!-- Main surface -->
<div class="main-surface">
<div class="step-header">
<div class="step-row">
<div class="left">1 of 10</div>
<div class="right">Ingredients</div>
</div>
<div class="progress-track">
<div class="progress-fill"></div>
</div>
</div>
<div class="instructions">
Preheat the oven to 350ºF (180ºC). Grease a 9 x 13-inch baking dish with nonstick spray.
</div>
</div>
<!-- Bottom system navigation -->
<div class="system-bar">
<div class="gesture-pill"></div>
</div>
</div>
</body>
</html>