AndroidCode / code /10127 /10127_8.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
7.77 kB
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>All rooms UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #222; }
#render-target {
width: 1080px; height: 2400px;
position: relative; overflow: hidden;
background: #ffffff;
}
/* Top hero area */
.hero {
position: absolute; left: 0; top: 0;
width: 1080px; height: 520px;
background: #ffd9df;
border-bottom-left-radius: 140px;
}
.hero .circle {
position: absolute; right: -120px; bottom: -40px;
width: 420px; height: 420px; border-radius: 50%;
background: radial-gradient(circle at 50% 50%, #ff6c6c 0%, #ff6c6c 20%, #ff8f8f 55%, rgba(255, 144, 144, 0.6) 75%, rgba(255, 144, 144, 0) 100%);
}
/* Header elements */
.back-btn {
position: absolute; left: 48px; top: 140px;
width: 100px; height: 100px; border-radius: 50%;
background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,0.12);
display: flex; align-items: center; justify-content: center;
}
.back-btn svg { width: 44px; height: 44px; }
.currency-chip {
position: absolute; right: 48px; top: 130px;
background: #fff; border-radius: 28px; padding: 18px 28px;
display: flex; align-items: center; gap: 16px;
box-shadow: 0 6px 16px rgba(0,0,0,0.12);
font-weight: 600;
}
.currency-icon {
width: 46px; height: 46px; border-radius: 50%;
background: #fff; border: 1px solid #DFE3EB;
display: flex; align-items: center; justify-content: center;
}
.header-title {
position: absolute; left: 168px; top: 168px;
font-size: 64px; font-weight: 800; color: #222;
}
/* Search card */
.card {
position: absolute; left: 40px; right: 40px; top: 360px;
background: #fff; border-radius: 28px;
box-shadow: 0 10px 20px rgba(0,0,0,0.12);
padding: 28px 32px 36px 32px;
}
.tabs {
display: flex; align-items: center; gap: 48px;
font-size: 36px; font-weight: 700;
}
.tab-active { color: #2e6cf6; }
.tab-inactive { color: #8b8f98; }
.tab-underline {
margin-top: 16px; height: 6px; width: 180px; background: #2e6cf6; border-radius: 3px;
}
.new-badge {
position: absolute; left: 240px; top: -20px;
background: #e8453c; color: #fff; font-weight: 700; font-size: 26px;
padding: 8px 14px; border-radius: 10px; box-shadow: 0 6px 14px rgba(0,0,0,0.16);
}
.divider { margin-top: 24px; height: 2px; background: #E8EBF2; }
.pill {
height: 96px; border-radius: 48px;
background: #ECF0F9; display: flex; align-items: center;
padding: 0 28px; font-size: 34px; font-weight: 700; color: #333;
margin-top: 26px;
gap: 20px;
}
.pill svg { width: 50px; height: 50px; }
.date-row { display: flex; gap: 28px; }
.date-pill { flex: 1; }
.cta-row { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.map-circle {
width: 110px; height: 110px; border-radius: 55px;
border: 2px solid #2e6cf6; display: flex; align-items: center; justify-content: center;
color: #2e6cf6;
}
.search-btn {
flex: 1; height: 110px; background: #2e6cf6; color: #fff;
border-radius: 56px; display: flex; align-items: center; justify-content: center;
font-size: 40px; font-weight: 800;
box-shadow: 0 8px 16px rgba(46,108,246,0.35);
}
/* Discount section */
.section {
position: absolute; left: 40px; right: 40px; top: 1020px;
}
.section h2 {
margin: 0 0 24px 0; font-size: 48px; font-weight: 800; color: #222;
}
.coupon-row { display: flex; gap: 24px; }
.coupon-card {
flex: 1;
background: #fff; border-radius: 26px;
border: 2px solid #D8E1F2;
box-shadow: 0 6px 10px rgba(0,0,0,0.06);
padding: 20px; display: flex; gap: 22px; align-items: center;
}
.img-ph {
width: 200px; height: 160px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; justify-content: center; align-items: center; color: #757575; border-radius: 12px;
text-align: center; padding: 6px;
}
.coupon-content { flex: 1; }
.coupon-title { font-size: 36px; font-weight: 800; margin-bottom: 6px; }
.coupon-desc { font-size: 28px; color: #666; }
.coupon-link { margin-top: 12px; color: #2e6cf6; font-size: 34px; font-weight: 700; }
/* Bottom gesture bar */
.gesture-bar {
position: absolute; bottom: 28px; left: 50%;
transform: translateX(-50%);
width: 240px; height: 12px; background: #C9CDD3; border-radius: 6px;
}
</style>
</head>
<body>
<div id="render-target">
<div class="hero">
<div class="circle"></div>
</div>
<div class="back-btn">
<svg viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M15 18l-6-6 6-6"/>
</svg>
</div>
<div class="currency-chip">
<div class="currency-icon">
<svg viewBox="0 0 24 24" width="26" height="26">
<circle cx="12" cy="12" r="10" fill="none" stroke="#333" stroke-width="1.6"/>
<path d="M7 12h10M12 7v10" stroke="#333" stroke-width="1.6" />
</svg>
</div>
<div>INR</div>
</div>
<div class="header-title">All rooms</div>
<div class="card">
<div class="new-badge">New!</div>
<div class="tabs">
<div class="tab-active">Overnight</div>
<div class="tab-inactive">Day Use</div>
</div>
<div class="tab-underline"></div>
<div class="divider"></div>
<div class="pill">
<svg viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2">
<circle cx="11" cy="11" r="8"></circle>
<path d="M21 21l-4.3-4.3"></path>
</svg>
<span>London</span>
</div>
<div class="date-row">
<div class="pill date-pill">
<svg viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2">
<rect x="3" y="5" width="18" height="16" rx="2"></rect>
<path d="M16 3v4M8 3v4M3 10h18"></path>
</svg>
<span>Mon, Jan 15, 2024</span>
</div>
<div class="pill date-pill">
<svg viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2">
<rect x="3" y="5" width="18" height="16" rx="2"></rect>
<path d="M16 3v4M8 3v4M3 10h18"></path>
</svg>
<span>Tue, Jan 16, 2024</span>
</div>
</div>
<div class="pill">
<svg viewBox="0 0 24 24" fill="#333">
<circle cx="12" cy="8" r="4"></circle>
<path d="M4 20c0-4 4-6 8-6s8 2 8 6" fill="#333"></path>
</svg>
<span>1 room 2 adults</span>
</div>
<div class="cta-row">
<div class="map-circle">
<svg viewBox="0 0 24 24" fill="none" stroke="#2e6cf6" stroke-width="2">
<path d="M12 21s7-7 7-11a7 7 0 10-14 0c0 4 7 11 7 11z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
</div>
<div class="search-btn">Search</div>
</div>
</div>
<div class="section">
<h2>Discount Coupons</h2>
<div class="coupon-row">
<div class="coupon-card">
<div class="img-ph">[IMG: Coupon 5% OFF]</div>
<div class="coupon-content">
<div class="coupon-title">UP TO ₹8,000 ...</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-content">
<div class="coupon-title">UP TO 8% ...</div>
<div class="coupon-desc">Min. spend required | Offer details inside.</div>
<div class="coupon-link">Get coupon</div>
</div>
</div>
</div>
</div>
<div class="gesture-bar"></div>
</div>
</body>
</html>