AndroidCode / code /10159 /10159_4.html
yhzheng1031's picture
Add files using upload-large-folder tool
ff1f000 verified
raw
history blame
11.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>Travel Planner UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; }
#render-target {
position: relative;
overflow: hidden;
width: 1080px;
height: 2400px;
background: #DFF1F9;
border-radius: 24px;
box-shadow: 0 8px 30px rgba(0,0,0,0.08);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #1E3853;
}
/* Decorative soft circles */
.soft-circle {
position: absolute;
border-radius: 50%;
background: rgba(170, 216, 238, 0.5);
filter: blur(0.3px);
}
.soft-circle.c1 { width: 700px; height: 700px; top: -180px; right: -180px; }
.soft-circle.c2 { width: 520px; height: 520px; top: 240px; left: -180px; opacity: 0.35; }
/* Status bar */
.status-bar {
position: absolute;
top: 18px;
left: 0;
right: 0;
height: 64px;
display: flex;
align-items: center;
padding: 0 40px;
font-size: 34px;
color: #2B3E52;
}
.status-left { flex: 1; }
.status-right {
display: flex;
gap: 28px;
align-items: center;
}
.status-icon svg { width: 36px; height: 36px; fill: #2B3E52; }
/* Main content */
.content {
position: absolute;
top: 110px;
left: 28px;
right: 28px;
padding: 24px;
}
.card {
background: #FFFFFF;
border-radius: 44px;
box-shadow: 0 14px 40px rgba(0,0,0,0.08);
padding: 44px;
}
.brand-mark {
width: 84px;
height: 84px;
margin: 8px auto 18px;
background: #F4A934;
border-radius: 18px;
transform: rotate(45deg);
position: relative;
}
.brand-mark:after {
content: "";
position: absolute;
left: 50%; top: 50%;
width: 44px; height: 22px;
border: 6px solid rgba(255,255,255,0.9);
border-top: none; border-left: none; border-right: none;
border-bottom-left-radius: 40px; border-bottom-right-radius: 40px;
transform: translate(-50%, -10%);
}
.title {
text-align: center;
font-weight: 800;
font-size: 64px;
line-height: 72px;
margin: 6px 24px 28px;
color: #1C2F49;
}
.field {
background: #EAF1F5;
border-radius: 28px;
padding: 26px 34px;
margin: 18px 0;
position: relative;
}
.field .label {
font-size: 30px;
color: #72859B;
margin-bottom: 8px;
}
.field .value {
font-size: 42px;
font-weight: 800;
color: #1F3650;
}
.muted {
color: #7A93AB;
font-weight: 600;
}
.swap-icon {
position: absolute;
right: 18px;
top: 50%;
transform: translateY(-50%);
width: 82px; height: 82px;
background: #FFFFFF;
border-radius: 24px;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.swap-icon svg { width: 40px; height: 40px; stroke: #6E8AA4; }
.row {
display: flex;
gap: 24px;
}
.row .cell { flex: 1; }
.field.small { padding: 24px 28px; min-height: 152px; }
.field.small .value { font-size: 40px; font-weight: 700; }
.search-btn {
margin-top: 26px;
background: #3E86FF;
color: #FFFFFF;
border: none;
border-radius: 36px;
height: 120px;
font-size: 44px;
font-weight: 800;
display: flex;
align-items: center;
justify-content: center;
gap: 18px;
box-shadow: inset 0 0 0 6px rgba(255,255,255,0.25);
}
.search-btn svg { width: 46px; height: 46px; fill: #FFFFFF; }
.ideas {
margin-top: 36px;
padding: 10px 8px;
}
.ideas h3 {
margin: 30px 20px 22px;
font-size: 44px;
color: #3C5671;
}
.cards {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 28px;
padding: 0 12px 220px 12px; /* leave space above nav */
}
.idea-card {
position: relative;
border-radius: 40px;
overflow: hidden;
background: #CCE3F2;
}
.idea-image {
width: 100%;
height: 420px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center;
color: #757575;
font-size: 34px;
}
.idea-info {
position: absolute;
left: 24px;
right: 24px;
bottom: 22px;
background: #FFFFFF;
border-radius: 34px;
padding: 24px 26px;
box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.idea-info .sub {
font-size: 30px;
color: #7D8EA3;
margin-bottom: 6px;
font-weight: 700;
}
.idea-info .main {
font-size: 42px;
font-weight: 800;
color: #1D334D;
}
/* Bottom navigation */
.tabbar {
position: absolute;
left: 0; right: 0; bottom: 46px;
height: 170px;
background: #FFFFFF;
border-top-left-radius: 26px; border-top-right-radius: 26px;
box-shadow: 0 -8px 22px rgba(0,0,0,0.08);
display: flex;
align-items: center;
justify-content: space-around;
padding-bottom: 12px;
}
.tab {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
color: #7B8FA6;
font-size: 26px;
font-weight: 800;
letter-spacing: 0.5px;
}
.tab svg { width: 52px; height: 52px; }
.tab.active { color: #3178FF; }
.tab.active svg path, .tab.active svg circle { stroke: #3178FF; fill: #3178FF; }
/* Home indicator */
.home-indicator {
position: absolute;
left: 50%;
bottom: 10px;
transform: translateX(-50%);
width: 360px; height: 10px;
background: #0A0A0A;
border-radius: 8px;
opacity: 0.95;
}
/* Utilities */
.pill { border-radius: 30px; }
.right { text-align: right; }
</style>
</head>
<body>
<div id="render-target">
<div class="soft-circle c1"></div>
<div class="soft-circle c2"></div>
<!-- Status Bar -->
<div class="status-bar">
<div class="status-left">2:47</div>
<div class="status-right">
<span class="status-icon" title="mail">
<svg viewBox="0 0 24 24"><path d="M3 6h18v12H3z" fill="none" stroke="#2B3E52" stroke-width="2"/><path d="M3 7l9 6 9-6" fill="none" stroke="#2B3E52" stroke-width="2"/></svg>
</span>
<span class="status-icon" title="cast">
<svg viewBox="0 0 24 24"><path d="M3 18h3" stroke="#2B3E52" stroke-width="2" fill="none"/><path d="M3 14h7" stroke="#2B3E52" stroke-width="2" fill="none"/><path d="M3 10h11" stroke="#2B3E52" stroke-width="2" fill="none"/><rect x="8" y="5" width="13" height="14" rx="2" ry="2" fill="none" stroke="#2B3E52" stroke-width="2"/></svg>
</span>
<span class="status-icon" title="signal">
<svg viewBox="0 0 24 24"><path d="M2 20h3v-4H2zM7 20h3v-7H7zM12 20h3v-10h-3zM17 20h3V6h-3z" fill="#2B3E52"/></svg>
</span>
<span class="status-icon" title="battery">
<svg viewBox="0 0 26 24">
<rect x="1" y="6" width="20" height="12" rx="2" ry="2" fill="none" stroke="#2B3E52" stroke-width="2"/>
<rect x="3" y="8" width="16" height="8" fill="#2B3E52"/>
<rect x="22" y="9" width="3" height="6" rx="1" fill="#2B3E52"/>
</svg>
</span>
</div>
</div>
<div class="content">
<div class="card">
<div class="brand-mark"></div>
<div class="title">What are your travel plans?</div>
<div class="field">
<div class="label">From</div>
<div class="value">Brussels City Center - Midi Train station, …</div>
<div class="swap-icon" aria-hidden="true">
<svg viewBox="0 0 24 24" fill="none">
<path d="M8 4v8M5 7l3-3 3 3" stroke-width="2" stroke="#6E8AA4" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M16 20v-8M19 17l-3 3-3-3" stroke-width="2" stroke="#6E8AA4" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="field">
<div class="label">To</div>
<div class="value">Gajnice Train Station, <span class="muted">Zagreb</span></div>
</div>
<div class="row">
<div class="cell">
<div class="field small">
<div class="label">Date • <span class="muted">Tomorrow</span></div>
<div class="value">Fri, Nov 10</div>
</div>
</div>
<div class="cell">
<div class="field small">
<div class="label">&nbsp;</div>
<div class="value">+ <span class="muted">Return</span></div>
</div>
</div>
</div>
<div class="field">
<div class="label">Passengers</div>
<div class="value">1 Adult</div>
</div>
<button class="search-btn">
<svg viewBox="0 0 24 24">
<path d="M15.5 14h-.79l-.28-.27A6.5 6.5 0 1 0 14 15.5l.27.28v.79L20 22l2-2-6.5-6.5zM5 10.5A5.5 5.5 0 1 1 10.5 16 5.5 5.5 0 0 1 5 10.5z"/>
</svg>
Search
</button>
</div>
<div class="ideas">
<h3>Ideas for your next trip</h3>
<div class="cards">
<!-- Idea card 1 -->
<div class="idea-card">
<div class="idea-image">[IMG: Statue of Liberty skyline]</div>
<div class="idea-info">
<div class="sub">Boston</div>
<div class="main">New York</div>
</div>
</div>
<!-- Idea card 2 -->
<div class="idea-card">
<div class="idea-image">[IMG: Retro diner neon lights]</div>
<div class="idea-info">
<div class="sub">Miami</div>
<div class="main">Orlando</div>
</div>
</div>
</div>
</div>
</div>
<!-- Bottom navigation -->
<div class="tabbar">
<div class="tab active">
<svg viewBox="0 0 24 24"><path d="M10.5 3a7.5 7.5 0 105.2 12.8L22 22l-2 2-6.3-5.8A7.5 7.5 0 0010.5 3z" fill="none" stroke="#7B8FA6" stroke-width="2"/></svg>
<div>SEARCH</div>
</div>
<div class="tab">
<svg viewBox="0 0 24 24">
<rect x="3" y="7" width="18" height="12" rx="2" ry="2" fill="none" stroke="#7B8FA6" stroke-width="2"/>
<path d="M8 7V5a4 4 0 018 0v2" fill="none" stroke="#7B8FA6" stroke-width="2"/>
</svg>
<div>TRIPS</div>
</div>
<div class="tab">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10" fill="none" stroke="#7B8FA6" stroke-width="2"/>
<path d="M12 17v-1.5a3 3 0 10-3-3" fill="none" stroke="#7B8FA6" stroke-width="2" stroke-linecap="round"/>
<circle cx="12" cy="18.5" r="1" fill="#7B8FA6"/>
</svg>
<div>HELP</div>
</div>
<div class="tab">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="8" r="4" fill="none" stroke="#7B8FA6" stroke-width="2"/>
<path d="M4 20c2-4 6-6 8-6s6 2 8 6" fill="none" stroke="#7B8FA6" stroke-width="2" stroke-linecap="round"/>
</svg>
<div>PROFILE</div>
</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html>