AndroidCode / code /10022 /10022_5.html
yhzheng1031's picture
Add files using upload-large-folder tool
fa881a6 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Italian Recipes 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: #FAFAFA;
}
/* Status bar */
.status-bar {
position: absolute;
top: 0;
left: 0;
width: 1080px;
height: 150px;
background: #3A3A3A;
color: #fff;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
font-size: 36px;
letter-spacing: 0.5px;
}
.status-left { display: flex; align-items: center; gap: 24px; }
.status-right {
margin-left: auto;
display: flex;
align-items: center;
gap: 28px;
}
.icon-wifi, .icon-battery, .icon-mail {
width: 44px; height: 44px;
}
/* Header */
.header {
position: absolute;
top: 150px;
left: 0;
width: 1080px;
height: 160px;
background: #FFFFFF;
display: flex;
align-items: center;
padding: 0 40px;
box-sizing: border-box;
border-bottom: 1px solid #EEE;
}
.back-btn {
width: 64px; height: 64px;
margin-right: 24px;
}
.header-title {
font-size: 72px;
font-weight: 700;
color: #333;
}
/* Content list */
.content {
position: absolute;
top: 310px;
left: 0;
width: 1080px;
height: 2090px; /* remaining space */
overflow-y: auto;
padding: 40px 56px 120px 56px;
box-sizing: border-box;
}
.card {
position: relative;
width: 968px;
height: 520px;
border-radius: 28px;
margin-bottom: 40px;
box-shadow: 0 6px 18px rgba(0,0,0,0.08);
overflow: hidden;
background: #000;
color: #fff;
}
/* Image placeholder layer for photo cards */
.card .img {
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;
}
.card .img::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.5) 100%);
}
/* Labels and text */
.guided-pill {
position: absolute;
top: 28px;
left: 28px;
background: #FFFFFF;
color: #333;
font-size: 36px;
font-weight: 700;
border-radius: 40px;
padding: 10px 26px 10px 20px;
display: inline-flex;
align-items: center;
gap: 16px;
box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}
.guided-pill svg { width: 44px; height: 44px; }
.stars {
position: absolute;
left: 36px;
top: 120px;
font-size: 34px;
letter-spacing: 4px;
}
.stars .on { color: #FF6D00; }
.stars .off { color: #BDBDBD; }
.title {
position: absolute;
left: 36px;
top: 180px;
right: 160px;
font-size: 54px;
font-weight: 800;
line-height: 1.15;
color: #FFFFFF;
}
.source {
position: absolute;
left: 36px;
bottom: 34px;
font-size: 30px;
letter-spacing: 2px;
color: #BDBDBD;
text-transform: uppercase;
}
.add-btn {
position: absolute;
right: 28px;
bottom: 28px;
width: 96px;
height: 96px;
border-radius: 50%;
background: #2A9D8F;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 8px 18px rgba(42,157,143,0.4);
}
.add-btn svg { width: 56px; height: 56px; }
/* OS bottom gesture pill */
.gesture-bar {
position: absolute;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
width: 300px;
height: 20px;
background: #CFCFCF;
border-radius: 12px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">
<span>8:42</span>
<span>18Β°</span>
<svg class="icon-mail" viewBox="0 0 24 24" fill="#fff">
<path d="M3 5h18v14H3V5zm9 6L3 6v12l9-7 9 7V6l-9 5z"/>
</svg>
<span>32Β°</span>
</div>
<div class="status-right">
<svg class="icon-wifi" viewBox="0 0 24 24" fill="#fff">
<path d="M12 18.5l2.5 2.5-2.5 2.5-2.5-2.5L12 18.5z" opacity="0"/>
<path d="M12 20a2 2 0 1 0 .001-4.001A2 2 0 0 0 12 20z"/>
<path d="M2 8c5.5-4.5 14.5-4.5 20 0l-2 2c-4.5-3.5-11.5-3.5-16 0L2 8z"/>
<path d="M5 11c4-3 10-3 14 0l-2 2c-3-2-7-2-10 0l-2-2z"/>
</svg>
<svg class="icon-battery" viewBox="0 0 32 24" fill="none">
<rect x="2" y="4" width="24" height="16" rx="3" stroke="#fff" stroke-width="2"/>
<rect x="4" y="6" width="16" height="12" rx="2" fill="#fff"/>
<rect x="26" y="8" width="4" height="8" rx="1" fill="#fff"/>
</svg>
</div>
</div>
<!-- Header -->
<div class="header">
<svg class="back-btn" viewBox="0 0 24 24" fill="none">
<path d="M15 18L9 12l6-6" stroke="#333" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<div class="header-title">Italian</div>
</div>
<!-- Content -->
<div class="content">
<!-- Card 1: Black background -->
<div class="card" style="background:#000000;">
<div class="guided-pill">
<svg viewBox="0 0 24 24">
<path d="M12 2a5 5 0 0 0-5 5v3H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2h-2V7a5 5 0 0 0-5-5zm-3 8V7a3 3 0 0 1 6 0v3H9z" fill="#333"/>
</svg>
<span>Guided</span>
</div>
<div class="stars">
<span class="on">β˜…</span><span class="on">β˜…</span><span class="on">β˜…</span><span class="on">β˜…</span><span class="off">β˜…</span>
</div>
<div class="title">Quick and Easy Italian Meatballs</div>
<div class="source">YUMMLY</div>
<div class="add-btn">
<svg viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
</div>
<!-- Card 2: Image placeholder -->
<div class="card">
<div class="img">[IMG: Baked Garlic Butter Shrimp Scampi]</div>
<div class="guided-pill">
<svg viewBox="0 0 24 24">
<path d="M12 2a5 5 0 0 0-5 5v3H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2h-2V7a5 5 0 0 0-5-5zm-3 8V7a3 3 0 0 1 6 0v3H9z" fill="#333"/>
</svg>
<span>Guided</span>
</div>
<div class="stars">
<span class="on">β˜…</span><span class="on">β˜…</span><span class="on">β˜…</span><span class="on">β˜…</span><span class="off">β˜…</span>
</div>
<div class="title">Baked Garlic Butter Shrimp Scampi</div>
<div class="source">YUMMLY</div>
<div class="add-btn">
<svg viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
</div>
<!-- Card 3: Image placeholder -->
<div class="card">
<div class="img">[IMG: Herbed Garlic Bread]</div>
<div class="guided-pill">
<svg viewBox="0 0 24 24">
<path d="M12 2a5 5 0 0 0-5 5v3H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2h-2V7a5 5 0 0 0-5-5zm-3 8V7a3 3 0 0 1 6 0v3H9z" fill="#333"/>
</svg>
<span>Guided</span>
</div>
<div class="stars">
<span class="on">β˜…</span><span class="on">β˜…</span><span class="on">β˜…</span><span class="on">β˜…</span><span class="off">β˜…</span>
</div>
<div class="title">Herbed Garlic Bread</div>
<div class="source">YUMMLY</div>
<div class="add-btn">
<svg viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
</div>
<!-- Card 4: Image placeholder -->
<div class="card">
<div class="img">[IMG: Quick Margherita Naan]</div>
<div class="guided-pill">
<svg viewBox="0 0 24 24">
<path d="M12 2a5 5 0 0 0-5 5v3H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2h-2V7a5 5 0 0 0-5-5zm-3 8V7a3 3 0 0 1 6 0v3H9z" fill="#333"/>
</svg>
<span>Guided</span>
</div>
<div class="stars">
<span class="on">β˜…</span><span class="on">β˜…</span><span class="on">β˜…</span><span class="on">β˜…</span><span class="off">β˜…</span>
</div>
<div class="title">Quick Margherita Naan</div>
<div class="source">YUMMLY</div>
<div class="add-btn">
<svg viewBox="0 0 24 24">
<path d="M12 5v14M5 12h14" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
</div>
</div>
<!-- Bottom gesture bar -->
<div class="gesture-bar"></div>
</div>
</body>
</html>