File size: 12,032 Bytes
fa881a6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Pizza Detail UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #f0f0f0;
border-radius: 24px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
/* Top overlay area mimicking dimmed background */
.top-overlay {
position: absolute;
left: 0; top: 0; width: 100%; height: 700px;
background: rgba(60,60,60,0.35);
}
/* Status bar */
.status-bar {
position: absolute;
top: 8px; left: 24px; right: 24px; height: 64px;
display: flex; align-items: center; justify-content: space-between; color: #1a1a1a;
mix-blend-mode: normal;
}
.status-left { display: flex; align-items: center; gap: 18px; color: #000; }
.time { font-weight: 600; font-size: 34px; letter-spacing: 0.3px; }
.status-dot { width: 16px; height: 16px; background: #000; border-radius: 50%; opacity: 0.65; }
.status-right { display: flex; align-items: center; gap: 20px; }
.icon { width: 38px; height: 38px; display: inline-block; }
/* Header content */
.header {
position: absolute;
top: 120px; left: 24px; right: 24px;
color: #000;
}
.title-row {
display: flex; align-items: center; justify-content: space-between;
}
.title-left { display: flex; align-items: center; gap: 20px; }
.back-btn {
width: 60px; height: 60px; border-radius: 12px;
display: flex; align-items: center; justify-content: center;
}
.title {
font-size: 68px; font-weight: 800; letter-spacing: 0.2px;
}
.search-btn {
width: 68px; height: 68px; border-radius: 34px; display: flex; align-items: center; justify-content: center;
border: 2px solid #2e2e2e;
background: rgba(255,255,255,0.35);
}
.price { margin-top: 28px; font-size: 56px; font-weight: 700; }
.short-desc { margin-top: 18px; font-size: 34px; color: #2d2d2d; opacity: 0.9; }
/* Floating close button */
.close-circle {
position: absolute;
top: 480px; left: 50%;
transform: translateX(-50%);
width: 110px; height: 110px; border-radius: 55px;
background: #000; display: flex; align-items: center; justify-content: center;
box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.close-circle svg { width: 60px; height: 60px; }
/* Bottom sheet */
.sheet {
position: absolute;
left: 0; right: 0; bottom: 0;
height: 1680px;
background: #fff;
border-top-left-radius: 36px;
border-top-right-radius: 36px;
box-shadow: 0 -8px 20px rgba(0,0,0,0.25);
overflow: hidden;
}
.sheet-inner { padding: 36px 40px 220px; }
.hero-img {
width: 100%; height: 640px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
border-radius: 28px;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 36px; font-weight: 600;
}
.radio-check {
margin-top: 26px;
width: 34px; height: 34px;
border-radius: 8px;
border: 2px solid #4a8f4a;
display: flex; align-items: center; justify-content: center;
}
.radio-check svg { width: 22px; height: 22px; }
.product-title { margin-top: 12px; font-size: 56px; font-weight: 800; color: #1a1a1a; }
.product-desc {
margin-top: 12px; font-size: 34px; line-height: 1.45; color: #6b6b6b;
}
.divider { height: 1px; background: #e0e0e0; margin: 32px 0; }
.section-title { font-size: 42px; font-weight: 700; color: #1a1a1a; margin-bottom: 18px; }
/* Size cards grid */
.sizes {
display: flex; flex-wrap: wrap; gap: 28px;
}
.size-card {
width: 310px; height: 240px;
border-radius: 22px;
background: #fff;
box-shadow: 0 6px 14px rgba(0,0,0,0.08);
border: 1px solid #eee;
padding: 22px;
position: relative;
}
.size-card .label { font-size: 38px; font-weight: 800; color: #222; }
.size-card .price { font-size: 34px; font-weight: 700; margin-top: 12px; }
.size-card .serve { font-size: 28px; color: #7a7a7a; margin-top: 6px; }
.size-card .pie {
position: absolute; right: 18px; bottom: 18px;
width: 88px; height: 88px;
}
.size-card.selected {
background: #dfe9df;
border-color: #cbd9cb;
box-shadow: 0 8px 16px rgba(60,100,60,0.25);
}
.selected .check-badge {
position: absolute; right: 18px; top: 18px;
width: 48px; height: 48px; border-radius: 24px;
background: #2f6b36; display: flex; align-items: center; justify-content: center;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.check-badge svg { width: 28px; height: 28px; }
/* Sticky add bar inside sheet */
.sticky-add {
position: absolute; left: 0; right: 0; bottom: 0;
height: 180px; background: #fff;
border-top: 1px solid #e5e5e5;
box-shadow: 0 -8px 18px rgba(0,0,0,0.15);
display: flex; align-items: center; justify-content: space-between;
padding: 0 40px;
}
.total-wrap { display: flex; flex-direction: column; gap: 10px; }
.total-label { font-size: 48px; font-weight: 800; color: #222; }
.total-value { font-size: 40px; font-weight: 800; color: #222; }
.add-btn {
height: 112px; padding: 0 54px;
background: #3a6b3d; color: #fff; font-size: 42px; font-weight: 800;
border: none; border-radius: 18px; box-shadow: 0 6px 12px rgba(58,107,61,0.4);
}
/* Gesture bar */
.gesture-bar {
position: absolute; bottom: 18px; left: 50%;
transform: translateX(-50%);
width: 240px; height: 12px; background: #000; opacity: 0.9; border-radius: 6px;
}
</style>
</head>
<body>
<div id="render-target">
<div class="top-overlay"></div>
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div class="time">2:03</div>
<span class="status-dot"></span>
<span class="status-dot" style="opacity:0.5;"></span>
<span class="status-dot" style="opacity:0.35;"></span>
<span class="status-dot" style="opacity:0.25;"></span>
</div>
<div class="status-right">
<!-- Wi-Fi icon -->
<svg class="icon" viewBox="0 0 24 24">
<path d="M2 8c5-5 15-5 20 0" stroke="#000" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M5 12c3-3 11-3 14 0" stroke="#000" stroke-width="2" fill="none" stroke-linecap="round"/>
<path d="M9 16c2-2 4-2 6 0" stroke="#000" stroke-width="2" fill="none" stroke-linecap="round"/>
<circle cx="12" cy="19" r="2" fill="#000"/>
</svg>
<!-- Battery icon -->
<svg class="icon" viewBox="0 0 28 16">
<rect x="1" y="3" width="22" height="10" rx="2" ry="2" stroke="#000" fill="none" stroke-width="2"/>
<rect x="3" y="5" width="16" height="6" fill="#000"/>
<rect x="24" y="6" width="3" height="4" fill="#000"/>
</svg>
</div>
</div>
<!-- Header content -->
<div class="header">
<div class="title-row">
<div class="title-left">
<div class="back-btn">
<svg viewBox="0 0 24 24" width="46" height="46">
<path d="M15 19L8 12l7-7" stroke="#000" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="title">Pizza</div>
</div>
<div class="search-btn">
<svg viewBox="0 0 24 24" width="36" height="36">
<circle cx="10" cy="10" r="7" stroke="#2e2e2e" stroke-width="2" fill="none"/>
<path d="M15 15l6 6" stroke="#2e2e2e" stroke-width="2" fill="none" stroke-linecap="round"/>
</svg>
</div>
</div>
<div class="price">₹155</div>
<div class="short-desc">crispy onion with real mozzarella & cheddar cheese</div>
</div>
<!-- Floating close button -->
<div class="close-circle">
<svg viewBox="0 0 24 24">
<path d="M5 5l14 14M19 5L5 19" stroke="#fff" stroke-width="3" stroke-linecap="round"/>
</svg>
</div>
<!-- Bottom sheet -->
<div class="sheet">
<div class="sheet-inner">
<div class="hero-img">[IMG: Fresh Delight Pizza Photo]</div>
<div class="radio-check">
<svg viewBox="0 0 24 24">
<path d="M4 12l5 5 11-11" stroke="#2f6b36" stroke-width="3" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="product-title">Fresh Delight Pizza</div>
<div class="product-desc">
Loaded With Crips Green Peppers, Fresh Cut Onion, Juicy Tomatoes With 100% Mozzarella And Cheddar Cheese
</div>
<div class="divider"></div>
<div class="section-title">Size of Pizza</div>
<div class="sizes">
<!-- Slice -->
<div class="size-card selected">
<div class="label">Slice</div>
<div class="price">₹175</div>
<div class="serve">Serves 1</div>
<div class="check-badge">
<svg viewBox="0 0 24 24">
<path d="M4 12l5 5 11-11" stroke="#fff" stroke-width="3" fill="none" stroke-linecap="round"/>
</svg>
</div>
<svg class="pie" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#446a44" fill="none" stroke-width="2"/>
<path d="M12 3v9h9" stroke="#446a44" stroke-width="2" fill="none"/>
</svg>
</div>
<!-- Regular -->
<div class="size-card">
<div class="label">Regular</div>
<div class="price">₹185</div>
<div class="serve">Serves 1</div>
<svg class="pie" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#999" fill="none" stroke-width="2"/>
<path d="M12 3v18M3 12h18" stroke="#999" stroke-width="2" fill="none"/>
</svg>
</div>
<!-- Medium -->
<div class="size-card">
<div class="label">Medium</div>
<div class="price">₹445</div>
<div class="serve">Serves 2</div>
<svg class="pie" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#999" fill="none" stroke-width="2"/>
<path d="M12 3v18M3 12h18M6 6l12 12" stroke="#999" stroke-width="2" fill="none"/>
</svg>
</div>
<!-- Large -->
<div class="size-card">
<div class="label">Large</div>
<div class="price">₹565</div>
<div class="serve">Serves 4</div>
<svg class="pie" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#999" fill="none" stroke-width="2"/>
<path d="M12 3v18M3 12h18M6 6l12 12M18 6L6 18" stroke="#999" stroke-width="2" fill="none"/>
</svg>
</div>
<!-- Giant -->
<div class="size-card">
<div class="label">Giant</div>
<div class="price">₹940</div>
<div class="serve">Serves 8</div>
<svg class="pie" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#999" fill="none" stroke-width="2"/>
<path d="M12 3v18M3 12h18M6 6l12 12M18 6L6 18M3 3l18 18" stroke="#999" stroke-width="2" fill="none"/>
</svg>
</div>
<!-- Monster -->
<div class="size-card">
<div class="label">Monster</div>
<div class="price">₹1450</div>
<div class="serve">Serves 12</div>
<svg class="pie" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="#999" fill="none" stroke-width="2"/>
<path d="M12 3v18M3 12h18M6 6l12 12M18 6L6 18M3 3l18 18M3 21l18-18" stroke="#999" stroke-width="2" fill="none"/>
</svg>
</div>
</div>
</div>
<!-- Sticky bottom add bar -->
<div class="sticky-add">
<div class="total-wrap">
<div class="total-label">Item Total</div>
<div class="total-value">₹175</div>
</div>
<button class="add-btn">ADD ITEM</button>
</div>
</div>
<!-- Gesture bar at very bottom -->
<div class="gesture-bar"></div>
</div>
</body>
</html> |