AndroidCode / code /10111 /10111_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
3.92 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Recipe Step UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: "Helvetica Neue", Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #B0183E; /* deep raspberry header */
}
/* Status bar */
.statusbar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 210px;
padding: 40px 44px;
box-sizing: border-box;
color: #FFFFFF;
}
.status-left {
position: absolute;
left: 44px;
top: 40px;
font-size: 48px;
font-weight: 600;
letter-spacing: 0.5px;
}
.status-right {
position: absolute;
right: 44px;
top: 40px;
display: flex;
align-items: center;
gap: 22px;
}
.status-right span {
font-size: 40px;
font-weight: 600;
}
.icon { display: inline-block; }
/* Main dark panel */
.panel {
position: absolute;
top: 150px;
left: 0;
width: 1080px;
height: 2100px;
background: #2C2D31;
border-top-left-radius: 64px;
border-top-right-radius: 64px;
box-sizing: border-box;
}
/* Tabs/header inside panel */
.tabs {
display: flex;
justify-content: space-between;
align-items: center;
padding: 70px 56px 22px 56px;
color: #ECEFF1;
}
.tabs .left {
font-size: 44px;
font-weight: 700;
letter-spacing: 0.4px;
}
.tabs .right {
font-size: 44px;
font-weight: 800;
color: #E58A96;
}
.progress {
height: 10px;
margin: 0 0 30px 0;
background: #1E1F23;
}
.progress .bar {
width: 120px; /* small progress */
height: 10px;
background: #E58A96;
}
/* Content text */
.content {
padding: 60px 64px 0 64px;
color: #E6E7EA;
line-height: 88px;
font-size: 64px;
font-weight: 500;
}
/* Bottom gesture area */
.gesture-area {
position: absolute;
bottom: 0;
left: 0;
width: 1080px;
height: 160px;
background: #000000;
}
.gesture-pill {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 220px;
height: 18px;
background: #E8E8E8;
border-radius: 12px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="statusbar">
<div class="status-left">7:48</div>
<div class="status-right">
<!-- WiFi Icon -->
<svg class="icon" width="56" height="48" viewBox="0 0 56 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 16 C 18 6 38 6 50 16" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round"/>
<path d="M12 24 C 22 16 34 16 44 24" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round"/>
<path d="M18 32 C 24 28 32 28 38 32" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round"/>
<circle cx="28" cy="38" r="3.5" fill="#FFFFFF"/>
</svg>
<!-- Battery Icon -->
<svg class="icon" width="64" height="40" viewBox="0 0 64 40" xmlns="http://www.w3.org/2000/svg">
<rect x="2" y="8" width="52" height="24" rx="4" stroke="#FFFFFF" stroke-width="4" fill="none"/>
<rect x="56" y="14" width="6" height="12" rx="2" fill="#FFFFFF"/>
<rect x="6" y="12" width="44" height="16" rx="2" fill="#FFFFFF"/>
</svg>
<span>100%</span>
</div>
</div>
<!-- Main panel -->
<div class="panel">
<div class="tabs">
<div class="left">1 of 10</div>
<div class="right">Ingredients</div>
</div>
<div class="progress">
<div class="bar"></div>
</div>
<div class="content">
Preheat the oven to 350ºF (180ºC). Grease a 9 x 13-inch<br>
baking dish with nonstick spray.
</div>
</div>
<!-- Bottom gesture bar -->
<div class="gesture-area">
<div class="gesture-pill"></div>
</div>
</div>
</body>
</html>