AndroidCode / code /10022 /10022_9.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Italian Recipes UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
font-family: Arial, Helvetica, sans-serif;
color: #222;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 135px;
background: #3b3b3b;
color: #fff;
display: flex;
align-items: center;
padding: 0 32px;
box-sizing: border-box;
font-weight: 600;
}
.status-left { display: flex; align-items: center; gap: 22px; font-size: 42px; }
.status-right { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.status-icon { width: 40px; height: 40px; display: inline-block; }
/* App bar */
.app-bar {
position: absolute;
top: 135px;
left: 0;
width: 1080px;
height: 165px;
background: #ffffff;
border-bottom: 1px solid #e9e9e9;
display: flex;
align-items: center;
padding: 0 36px;
box-sizing: border-box;
}
.back-btn {
width: 80px;
height: 80px;
margin-right: 20px;
display: flex;
align-items: center;
justify-content: center;
}
.app-title {
font-size: 64px;
font-weight: 700;
letter-spacing: 0.5px;
}
/* Content area */
.content {
position: absolute;
top: 300px;
left: 0;
width: 1080px;
height: calc(2400px - 300px);
overflow: hidden;
padding: 0 40px 40px;
box-sizing: border-box;
}
.card {
position: relative;
width: 100%;
height: 480px;
border-radius: 28px;
box-shadow: 0 6px 16px rgba(0,0,0,0.12);
margin-bottom: 40px;
overflow: hidden;
}
.card.black { background: #000; }
.card .img-placeholder {
position: absolute;
inset: 0;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
justify-content: center;
align-items: center;
color: #757575;
font-size: 34px;
letter-spacing: 0.3px;
}
.pill {
position: absolute;
top: 34px;
left: 34px;
background: #ffffff;
color: #333;
border-radius: 28px;
padding: 20px 28px;
display: inline-flex;
align-items: center;
gap: 16px;
font-weight: 700;
font-size: 34px;
box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.lock-ic { width: 40px; height: 40px; }
.stars {
position: absolute;
left: 50px;
bottom: 205px;
display: flex;
gap: 8px;
}
.star { width: 36px; height: 36px; }
.star.orange path { fill: #ff6d2e; }
.star.gray path { fill: #cfcfcf; }
.card-title {
position: absolute;
left: 50px;
bottom: 120px;
right: 180px;
color: #ffffff;
font-size: 54px;
font-weight: 700;
line-height: 1.2;
text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.brand {
position: absolute;
left: 50px;
bottom: 60px;
color: #cfcfcf;
font-size: 30px;
letter-spacing: 2px;
font-weight: 700;
}
.plus {
position: absolute;
right: 36px;
bottom: 40px;
width: 92px;
height: 92px;
background: #39b6aa;
color: #ffffff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 56px;
line-height: 0;
font-weight: 700;
box-shadow: 0 8px 16px rgba(57,182,170,0.35);
}
/* Light text for image cards */
.card.image .card-title { color: #ffffff; }
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">
<div>8:43</div>
<div>18°</div>
<div class="status-icon">
<!-- Simple mail envelope -->
<svg viewBox="0 0 24 24" width="40" height="40" fill="#fff" opacity="0.9">
<path d="M2 5h20v14H2z" fill="none" stroke="#fff" stroke-width="2"/>
<path d="M2 5l10 8 10-8" fill="none" stroke="#fff" stroke-width="2"/>
</svg>
</div>
<div>32°</div>
</div>
<div class="status-right">
<svg class="status-icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">
<path d="M2 18c3-4 7-6 10-6s7 2 10 6" />
<path d="M6 18c2-3 4-4 6-4s4 1 6 4" />
<circle cx="12" cy="18" r="1.5" fill="#fff"/>
</svg>
<svg class="status-icon" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2">
<rect x="3" y="7" width="15" height="10" rx="2" />
<rect x="19" y="10" width="2" height="4" />
<rect x="5" y="9" width="11" height="6" fill="#fff"/>
</svg>
</div>
</div>
<!-- App Bar -->
<div class="app-bar">
<div class="back-btn">
<svg viewBox="0 0 24 24" width="64" height="64" fill="none" stroke="#444" stroke-width="3">
<path d="M15 19l-7-7 7-7" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="app-title">Italian</div>
</div>
<!-- Content -->
<div class="content">
<!-- Card: Black background -->
<div class="card black">
<div class="pill">
<svg class="lock-ic" viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2">
<rect x="6" y="10" width="12" height="10" rx="2" fill="none"/>
<path d="M8 10V7a4 4 0 018 0v3" />
<circle cx="12" cy="15" r="1.7" fill="#333"/>
</svg>
<span>GUIDED</span>
</div>
<div class="stars">
<svg class="star orange" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
<svg class="star orange" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
<svg class="star orange" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
<svg class="star orange" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
<svg class="star gray" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
</div>
<div class="card-title">Sheet Pan Pizza Chicken</div>
<div class="brand">YUMMLY</div>
<div class="plus">+</div>
</div>
<!-- Card: Stuffed Mushrooms (image placeholder) -->
<div class="card image">
<div class="img-placeholder">[IMG: Creamy Spinach Stuffed Mushrooms]</div>
<div class="pill">
<svg class="lock-ic" viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2">
<rect x="6" y="10" width="12" height="10" rx="2" fill="none"/>
<path d="M8 10V7a4 4 0 018 0v3" />
<circle cx="12" cy="15" r="1.7" fill="#333"/>
</svg>
<span>GUIDED</span>
</div>
<div class="stars">
<svg class="star orange" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
<svg class="star orange" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
<svg class="star orange" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
<svg class="star orange" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
<svg class="star gray" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
</div>
<div class="card-title">Creamy Spinach Stuffed Mushrooms</div>
<div class="brand">YUMMLY</div>
<div class="plus">+</div>
</div>
<!-- Card: Pasta Bake (image placeholder) -->
<div class="card image">
<div class="img-placeholder">[IMG: Super Easy Pasta Bake]</div>
<div class="pill">
<svg class="lock-ic" viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2">
<rect x="6" y="10" width="12" height="10" rx="2" fill="none"/>
<path d="M8 10V7a4 4 0 018 0v3" />
<circle cx="12" cy="15" r="1.7" fill="#333"/>
</svg>
<span>GUIDED</span>
</div>
<div class="stars">
<svg class="star orange" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
<svg class="star orange" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
<svg class="star orange" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
<svg class="star orange" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
<svg class="star gray" viewBox="0 0 24 24">
<path d="M12 2l3 6 7 .7-5 4.6 1.5 6.7L12 17l-6.5 3 1.5-6.7-5-4.6 7-.7 3-6z"/>
</svg>
</div>
<div class="card-title">Super Easy Pasta Bake</div>
<div class="brand">YUMMLY</div>
<div class="plus">+</div>
</div>
<!-- Partial next card visible at bottom (image placeholder) -->
<div class="card image" style="height: 420px;">
<div class="img-placeholder">[IMG: Baked Spaghetti Dish]</div>
<div class="pill">
<svg class="lock-ic" viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2">
<rect x="6" y="10" width="12" height="10" rx="2" fill="none"/>
<path d="M8 10V7a4 4 0 018 0v3" />
<circle cx="12" cy="15" r="1.7" fill="#333"/>
</svg>
<span>GUIDED</span>
</div>
<div class="card-title" style="bottom: 110px;">Cheesy Baked Spaghetti</div>
<div class="brand">YUMMLY</div>
<div class="plus">+</div>
</div>
</div>
</div>
</body>
</html>