AndroidCode / code /10127 /10127_1.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
8.29 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>All rooms 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: linear-gradient(180deg, #f6cfd2 0%, #f7f5f7 50%, #f5f6f8 100%);
}
/* Decorative top bar (status area) */
.status-bar {
position: absolute;
left: 0; top: 0; width: 1080px; height: 120px;
background: #b29fa0;
}
/* Background accents */
.accent-circle {
position: absolute;
right: -140px; top: 340px;
width: 520px; height: 520px; border-radius: 50%;
background: radial-gradient(circle at 30% 30%, #ff6b6b 0%, #f56f79 55%, #f7c9cd 100%);
opacity: 0.45;
}
/* Header */
.header {
position: absolute;
top: 140px; left: 40px; right: 40px;
}
.back-btn {
position: absolute;
left: 0; top: 10px;
width: 100px; height: 100px; border-radius: 50%;
background: #ffffff;
box-shadow: 0 6px 18px rgba(0,0,0,0.12);
display: flex; align-items: center; justify-content: center;
}
.back-btn svg { width: 42px; height: 42px; }
.title {
margin-left: 140px;
font-size: 72px; font-weight: 700; color: #1a1a1a;
}
.currency-pill {
position: absolute; right: 0; top: 0;
background: #ffffff; border-radius: 30px;
box-shadow: 0 8px 22px rgba(0,0,0,0.12);
padding: 20px 28px;
display: flex; align-items: center; gap: 18px;
font-weight: 600; color: #222;
}
.currency-pill svg { width: 40px; height: 40px; }
/* Search card */
.card {
position: absolute;
left: 40px; right: 40px; top: 360px;
background: #ffffff;
border-radius: 34px;
box-shadow: 0 12px 28px rgba(0,0,0,0.14);
padding: 32px 34px 40px 34px;
}
.tabs {
display: flex; align-items: center; gap: 44px;
font-size: 40px; font-weight: 600;
}
.tab-active { color: #2a66f7; position: relative; padding-bottom: 18px; }
.tab-active::after {
content: ""; position: absolute; left: 0; bottom: 0;
width: 160px; height: 8px; background: #2a66f7; border-radius: 8px;
}
.tab-inactive { color: #7b8794; }
.new-badge {
position: absolute; left: 280px; top: 30px;
background: #e63a2d; color: #fff; font-weight: 700;
font-size: 30px; padding: 10px 18px; border-radius: 10px;
box-shadow: 0 6px 16px rgba(230,58,45,0.35);
}
.divider {
height: 2px; background: #e0e6ed; margin-top: 26px;
}
.field {
margin-top: 28px;
background: #eef2f8;
border-radius: 60px;
padding: 28px 30px;
display: flex; align-items: center; gap: 20px;
color: #2a2f36; font-size: 38px; font-weight: 600;
}
.field .sub { font-weight: 600; }
.field-half-wrap { display: flex; gap: 24px; margin-top: 28px; }
.field-half {
flex: 1;
background: #eef2f8; border-radius: 60px;
padding: 28px 30px;
display: flex; align-items: center; gap: 20px;
color: #2a2f36; font-size: 36px; font-weight: 700;
}
.field svg { width: 50px; height: 50px; color: #2d2d2d; }
.field-half svg { width: 48px; height: 48px; color: #2d2d2d; }
/* Search action area */
.action-row {
margin-top: 40px;
display: flex; align-items: center; gap: 30px;
}
.geo-icon {
width: 120px; height: 120px; border-radius: 60px;
border: 2px solid #2a66f7;
display: flex; align-items: center; justify-content: center;
color: #2a66f7;
background: #ffffff;
}
.geo-icon svg { width: 52px; height: 52px; }
.search-btn {
flex: 1;
background: linear-gradient(90deg, #2a66f7 0%, #2a66f7 100%);
color: #ffffff; font-size: 44px; font-weight: 700;
border-radius: 64px; padding: 34px 20px; text-align: center;
box-shadow: 0 10px 22px rgba(42,102,247,0.35);
}
/* Coupons section */
.section {
position: absolute; left: 40px; right: 40px; top: 1150px;
}
.section-title {
font-size: 54px; font-weight: 700; color: #1a1a1a; margin-bottom: 30px;
}
.coupon-row { display: flex; gap: 26px; }
.coupon-card {
width: 500px; background: #ffffff; border-radius: 26px;
box-shadow: 0 8px 22px rgba(0,0,0,0.1);
padding: 24px; display: flex; gap: 22px; align-items: center;
}
.img-ph {
width: 170px; height: 170px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575; font-size: 30px; text-align: center; border-radius: 18px;
}
.coupon-info { flex: 1; }
.coupon-title { font-size: 40px; font-weight: 800; color: #1f2937; line-height: 1.2; }
.coupon-desc { font-size: 30px; color: #6b7280; margin-top: 8px; }
.coupon-link { margin-top: 14px; font-size: 34px; color: #2a66f7; font-weight: 700; }
/* Bottom gesture bar */
.gesture-area {
position: absolute; left: 0; bottom: 0; width: 1080px; height: 140px; background: #000000;
}
.gesture-bar {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 46px; width: 380px; height: 16px; border-radius: 10px; background: #d7d7d7;
opacity: 0.85;
}
/* Common icon color */
svg { fill: currentColor; }
</style>
</head>
<body>
<div id="render-target">
<div class="status-bar"></div>
<div class="accent-circle"></div>
<div class="header">
<div class="back-btn">
<svg viewBox="0 0 24 24">
<path d="M15.5 4.5L7 12l8.5 7.5-1.8 2L3.5 12 13.7 2.5z"/>
</svg>
</div>
<div class="title">All rooms</div>
<div class="currency-pill">
<svg viewBox="0 0 24 24">
<path d="M12 3c4.4 0 8 3.6 8 8s-3.6 8-8 8-8-3.6-8-8 3.6-8 8-8zm-1 4h-1v2H8v2h2v3.5c0 1.7 1.3 3 3 3h1v-2h-1c-.6 0-1-.4-1-1V11h2V9h-2V7z"/>
</svg>
<span>INR</span>
</div>
</div>
<div class="card">
<div class="tabs">
<div class="tab-active">Overnight</div>
<div class="tab-inactive">Day Use</div>
<div class="new-badge">New!</div>
</div>
<div class="divider"></div>
<div class="field">
<svg viewBox="0 0 24 24"><path d="M15.5 14h-.8l-.3-.3a6.5 6.5 0 10-.9.9l.3.3v.8l5 5 1.5-1.5-5-5zm-6 0a4.5 4.5 0 110-9 4.5 4.5 0 010 9z"/></svg>
<span>Where would you like to go?</span>
</div>
<div class="field-half-wrap">
<div class="field-half">
<svg viewBox="0 0 24 24"><path d="M19 4h-1V3h-2v1H8V3H6v1H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H5V9h14v9z"/></svg>
<span>Thu, Dec 07</span>
</div>
<div class="field-half">
<svg viewBox="0 0 24 24"><path d="M19 4h-1V3h-2v1H8V3H6v1H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H5V9h14v9z"/></svg>
<span>Fri, Dec 08</span>
</div>
</div>
<div class="field">
<svg viewBox="0 0 24 24"><path d="M12 12c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm0 2c-3.3 0-6 2.7-6 6h12c0-3.3-2.7-6-6-6z"/></svg>
<span>1 room 2 adults</span>
</div>
<div class="action-row">
<div class="geo-icon">
<svg viewBox="0 0 24 24"><path d="M12 2C7.6 2 4 5.6 4 10c0 6 8 12 8 12s8-6 8-12c0-4.4-3.6-8-8-8zm0 11a3 3 0 110-6 3 3 0 010 6z"/></svg>
</div>
<div class="search-btn">Search</div>
</div>
</div>
<div class="section">
<div class="section-title">Discount Coupons</div>
<div class="coupon-row">
<div class="coupon-card">
<div class="img-ph">[IMG: Coupon 5% off]</div>
<div class="coupon-info">
<div class="coupon-title">UP TO ₹8,000 off</div>
<div class="coupon-desc">* No minimum spend required. | Offer expires in 3 days!</div>
<div class="coupon-link">Get coupon</div>
</div>
</div>
<div class="coupon-card">
<div class="img-ph">[IMG: Coupon 8% off]</div>
<div class="coupon-info">
<div class="coupon-title">UP TO 8% off</div>
<div class="coupon-desc">Min. spend required | Offer expires soon</div>
<div class="coupon-link">Get coupon</div>
</div>
</div>
</div>
</div>
<div class="gesture-area">
<div class="gesture-bar"></div>
</div>
</div>
</body>
</html>