AndroidCode / code /10022 /10022_7.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Italian Recipes - Mock UI</title>
<meta name="viewport" content="width=1080, initial-scale=1.0">
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif; color: #111; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #F4F4F4;
}
/* Top system status bar */
.status-bar {
height: 120px;
background: #3C3C3C;
color: #fff;
display: flex;
align-items: center;
padding: 0 36px;
font-size: 34px;
letter-spacing: 0.5px;
}
.status-left { flex: 1; opacity: 0.95; }
.status-right { display: flex; gap: 28px; align-items: center; opacity: 0.9; }
/* App bar */
.app-bar {
height: 160px;
background: #FFFFFF;
display: flex;
align-items: center;
padding: 0 36px;
box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.back-btn {
width: 88px; height: 88px; border-radius: 44px;
display: flex; align-items: center; justify-content: center;
color: #333;
}
.app-title {
font-size: 60px;
font-weight: 700;
margin-left: 8px;
letter-spacing: 0.2px;
}
/* Scroll content area */
.content {
position: absolute;
top: 280px; /* status 120 + appbar 160 = 280; aligns with overlay image edge */
left: 0; right: 0; bottom: 0;
overflow-y: auto;
padding: 0 36px 120px;
}
/* Cards */
.card {
position: relative;
border-radius: 28px;
overflow: hidden;
margin: 36px 8px 36px 8px;
background: #000;
box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.card .img {
height: 560px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex; justify-content: center; align-items: center;
color: #757575;
font-size: 40px;
}
.card .darken {
position: absolute; inset: 0;
background: linear-gradient(to bottom, rgba(0,0,0,0.25) 20%, rgba(0,0,0,0.55) 70%);
pointer-events: none;
}
.card.black { background: #101010; }
.card.black .img { background: #111; border-color: #222; color: #999; }
.pill {
position: absolute;
top: 28px; left: 28px;
background: #FFFFFF;
color: #222;
font-size: 34px;
padding: 14px 26px;
border-radius: 999px;
display: inline-flex; align-items: center; gap: 14px;
box-shadow: 0 1px 0 rgba(0,0,0,0.06);
z-index: 2;
}
.title {
position: absolute;
left: 36px; right: 160px;
bottom: 120px;
color: #fff;
font-size: 56px;
line-height: 1.18;
font-weight: 700;
text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.subtitle {
position: absolute;
left: 36px; bottom: 56px;
color: rgba(255,255,255,0.85);
font-weight: 700;
letter-spacing: 2px;
font-size: 30px;
}
.rating {
position: absolute;
left: 36px; bottom: 208px;
display: inline-flex; gap: 8px; align-items: center;
}
.rating .star { width: 26px; height: 26px; }
.rating .dots { width: 8px; height: 8px; background: transparent; }
.fab {
position: absolute;
right: 28px; bottom: 28px;
width: 96px; height: 96px; border-radius: 50%;
background: #2FAF9C;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
/* Bottom gesture bar */
.gesture-bar {
position: absolute;
left: 0; right: 0; bottom: 24px;
display: flex; justify-content: center;
pointer-events: none;
}
.gesture-bar span {
width: 360px; height: 14px; background: #C9C9C9; border-radius: 7px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Android-style status bar -->
<div class="status-bar">
<div class="status-left">8:43 18° ✉ 32°</div>
<div class="status-right">
<span></span>
<span>🔋</span>
</div>
</div>
<!-- App Bar -->
<div class="app-bar">
<div class="back-btn" aria-label="Back">
<svg width="48" height="48" viewBox="0 0 24 24" fill="none">
<path d="M15 18l-6-6 6-6" stroke="#333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="app-title">Italian</div>
</div>
<!-- Scrollable content -->
<div class="content">
<!-- Card 1 -->
<div class="card">
<div class="img">[IMG: Juicy Herbed Chicken Thighs]</div>
<div class="darken"></div>
<div class="pill">
<svg width="34" height="34" viewBox="0 0 24 24" fill="#333">
<path d="M12 1a5 5 0 00-5 5v3H5a2 2 0 00-2 2v6a2 2 0 002 2h14a2 2 0 002-2v-6a2 2 0 00-2-2h-2V6a5 5 0 00-5-5zm-3 8V6a3 3 0 016 0v3H9z"/>
</svg>
<span>GUIDED</span>
</div>
<div class="rating">
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
</div>
<div class="title">Juicy Herbed Weeknight Chicken Thighs</div>
<div class="subtitle">YUMMLY</div>
<div class="fab" aria-label="Add">
<svg width="40" height="40" viewBox="0 0 24 24" fill="#fff">
<path d="M11 5h2v14h-2zM5 11h14v2H5z"/>
</svg>
</div>
</div>
<!-- Card 2 (dark) -->
<div class="card black">
<div class="img">[IMG: Dark Overlay Placeholder]</div>
<div class="pill">
<svg width="34" height="34" viewBox="0 0 24 24" fill="#333">
<path d="M12 1a5 5 0 00-5 5v3H5a2 2 0 00-2 2v6a2 2 0 002 2h14a2 2 0 002-2v-6a2 2 0 00-2-2h-2V6a5 5 0 00-5-5zm-3 8V6a3 3 0 016 0v3H9z"/>
</svg>
<span>GUIDED</span>
</div>
<div class="rating">
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
</div>
<div class="title">Sheet Pan Chicken Parmesan Dinner</div>
<div class="subtitle">YUMMLY</div>
<div class="fab" aria-label="Add">
<svg width="40" height="40" viewBox="0 0 24 24" fill="#fff">
<path d="M11 5h2v14h-2zM5 11h14v2H5z"/>
</svg>
</div>
</div>
<!-- Card 3 -->
<div class="card">
<div class="img">[IMG: Italian Beef and Vegetable Soup]</div>
<div class="darken"></div>
<div class="pill">
<svg width="34" height="34" viewBox="0 0 24 24" fill="#333">
<path d="M12 1a5 5 0 00-5 5v3H5a2 2 0 00-2 2v6a2 2 0 002 2h14a2 2 0 002-2v-6a2 2 0 00-2-2h-2V6a5 5 0 00-5-5zm-3 8V6a3 3 0 016 0v3H9z"/>
</svg>
<span>GUIDED</span>
</div>
<div class="rating">
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
</div>
<div class="title">Hearty Italian Beef and Vegetable Soup</div>
<div class="subtitle">YUMMLY</div>
<div class="fab" aria-label="Add">
<svg width="40" height="40" viewBox="0 0 24 24" fill="#fff">
<path d="M11 5h2v14h-2zM5 11h14v2H5z"/>
</svg>
</div>
</div>
<!-- Card 4 -->
<div class="card">
<div class="img">[IMG: Eggplant Naan Pizzas]</div>
<div class="darken"></div>
<div class="pill">
<svg width="34" height="34" viewBox="0 0 24 24" fill="#333">
<path d="M12 1a5 5 0 00-5 5v3H5a2 2 0 00-2 2v6a2 2 0 002 2h14a2 2 0 002-2v-6a2 2 0 00-2-2h-2V6a5 5 0 00-5-5zm-3 8V6a3 3 0 016 0v3H9z"/>
</svg>
<span>GUIDED</span>
</div>
<div class="rating">
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
<svg class="star" viewBox="0 0 24 24" fill="#FF7A00">
<path d="M12 2l2.9 6.1L22 9l-5 4.7L18 21l-6-3.3L6 21l1-7.3L2 9l7.1-.9L12 2z"/>
</svg>
</div>
<div class="title">Quick & Easy Eggplant Naan Pizzas</div>
<div class="subtitle">YUMMLY</div>
<div class="fab" aria-label="Add">
<svg width="40" height="40" viewBox="0 0 24 24" fill="#fff">
<path d="M11 5h2v14h-2zM5 11h14v2H5z"/>
</svg>
</div>
</div>
</div>
<!-- Gesture bar -->
<div class="gesture-bar"><span></span></div>
</div>
</body>
</html>