AndroidCode / code /10111 /10111_3.html
yhzheng1031's picture
Add files using upload-large-folder tool
0e1717f verified
raw
history blame
4.7 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<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: #2B2D31;
}
/* Top status bar */
.status-bar {
position: relative;
height: 220px;
background: #B0124E;
color: #FFFFFF;
padding: 36px 48px 0 48px;
box-sizing: border-box;
}
.status-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.time {
font-size: 46px;
font-weight: 600;
letter-spacing: 0.5px;
}
.status-icons {
display: flex;
align-items: center;
gap: 18px;
font-size: 34px;
font-weight: 600;
}
.status-icons svg {
display: block;
}
/* Header card */
.header-card {
position: relative;
margin-top: -30px;
background: #1F2126;
color: #fff;
height: 220px;
border-radius: 36px 36px 0 0;
padding: 40px 48px;
box-sizing: border-box;
}
.header-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.step-count {
font-size: 48px;
font-weight: 800;
letter-spacing: 1px;
}
.section-title {
font-size: 46px;
font-weight: 800;
color: #F08FA0;
}
.underline {
position: absolute;
left: 0;
bottom: 0;
height: 8px;
width: 220px;
background: #B0124E;
border-radius: 0 6px 0 0;
}
/* Media/Image Area */
.media-area {
width: 100%;
height: 900px;
background: #E0E0E0;
border-top: 1px solid #BDBDBD;
border-bottom: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
font-size: 36px;
position: relative;
box-sizing: border-box;
}
.media-label {
padding: 16px 24px;
background: rgba(255,255,255,0.75);
border-radius: 8px;
border: 1px solid #BDBDBD;
}
.overlay-text {
position: absolute;
top: 24px;
left: 24px;
color: #2E3136;
font-weight: 800;
font-size: 40px;
letter-spacing: 0.5px;
display: flex;
flex-direction: column;
line-height: 1.1;
}
.overlay-text small {
font-weight: 600;
font-size: 32px;
color: #565A61;
}
/* Description area */
.description {
background: #2B2D31;
color: #FFFFFF;
padding: 48px;
font-size: 44px;
line-height: 64px;
box-sizing: border-box;
}
/* Bottom gesture bar */
.gesture-bar {
position: absolute;
bottom: 36px;
left: 50%;
transform: translateX(-50%);
width: 360px;
height: 12px;
background: #E6E6E6;
border-radius: 12px;
opacity: 0.9;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-row">
<div class="time">7:51</div>
<div class="status-icons">
<!-- Wi-Fi Icon -->
<svg width="44" height="44" viewBox="0 0 24 24">
<g fill="none" stroke="#FFFFFF" stroke-width="2" stroke-linecap="round">
<path d="M3 9c4.5-4 13.5-4 18 0"/>
<path d="M6 12c3-2.5 9-2.5 12 0"/>
<path d="M9 15c1.5-1 4.5-1 6 0"/>
<circle cx="12" cy="18" r="1.5" fill="#FFFFFF" stroke="none"/>
</g>
</svg>
<!-- Battery Icon -->
<svg width="48" height="48" viewBox="0 0 28 18">
<rect x="1" y="2" width="22" height="14" rx="2" ry="2" fill="none" stroke="#FFFFFF" stroke-width="2"/>
<rect x="3" y="4" width="12" height="10" rx="1" ry="1" fill="#FFFFFF"/>
<rect x="24" y="6" width="3" height="6" rx="1" ry="1" fill="#FFFFFF"/>
</svg>
<span>100%</span>
</div>
</div>
</div>
<!-- Section Header -->
<div class="header-card">
<div class="header-row">
<div class="step-count">2 of 10</div>
<div class="section-title">Ingredients</div>
</div>
<div class="underline"></div>
</div>
<!-- Media/Image Placeholder -->
<div class="media-area">
<div class="overlay-text">
<span>SALT</span>
<small>1 TSP</small>
</div>
<div class="media-label">[IMG: Mixing ingredients in glass bowl]</div>
</div>
<!-- Description Text -->
<div class="description">
Make the cinnamon topping: In a medium bowl, mix together the butter, brown sugar, salt, flour, McCormick® Ground Cinnamon, and pecans. Microwave for 30 seconds.
</div>
<!-- Bottom Gesture Bar -->
<div class="gesture-bar"></div>
</div>
</body>
</html>