File size: 9,633 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 | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Travel Results</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: #ffffff;
}
/* Header */
.header {
position: absolute; left: 0; top: 0; width: 100%; height: 320px;
background: #0e2557; color: #fff;
}
.status-bar {
height: 70px; display: flex; align-items: center; justify-content: space-between;
padding: 0 40px; font-size: 34px; opacity: 0.95;
}
.status-right { display: flex; align-items: center; gap: 24px; }
.title-row {
display: flex; align-items: center; justify-content: space-between;
padding: 16px 40px 6px 40px;
}
.title-left { display: flex; align-items: center; gap: 24px; }
.page-title {
font-size: 44px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 820px;
}
.subtitle {
padding-left: 104px; color: #dbe3f6; font-size: 30px;
}
/* Transport mode summary row */
.mode-summary {
position: absolute; left: 0; top: 320px; width: 100%; height: 170px;
background: #f5f6f8; border-top: 1px solid rgba(0,0,0,0.06);
display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
}
.mode {
text-align: center; color: #9aa3b7;
}
.mode .price { color: #25325f; font-weight: 700; font-size: 40px; }
.mode .duration { color: #7a8399; font-size: 30px; }
.mode svg { margin-bottom: 8px; }
/* Filters (chips) */
.filters {
position: absolute; left: 0; top: 490px; width: 100%;
display: flex; gap: 24px; padding: 24px 40px;
}
.chip {
display: flex; align-items: center; gap: 20px; background: #ffffff;
border: 1px solid #e6e8ee; border-radius: 40px; padding: 18px 28px; color: #475070; font-weight: 600; font-size: 34px;
box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.chip.disabled { color: #aab0bf; background: #f1f3f7; }
/* Result card */
.result-card {
position: absolute; left: 40px; top: 680px; width: 1000px;
background: #fff; border-radius: 24px; box-shadow: 0 10px 18px rgba(0,0,0,0.08);
padding: 34px;
}
.tag {
color: #16a36b; font-weight: 700; font-size: 30px; letter-spacing: 0.5px;
}
.logo-box {
width: 200px; height: 70px; margin-top: 14px; margin-bottom: 10px;
background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 28px; border-radius: 8px;
}
.times-row {
display: grid; grid-template-columns: 1fr 90px 1fr; align-items: center; margin-top: 16px; margin-bottom: 14px;
}
.big-time { font-size: 64px; font-weight: 800; color: #0f1f4e; }
.middle-duration { text-align: center; color: #7a8399; font-size: 32px; }
.moon { display: inline-block; vertical-align: middle; margin-left: 8px; }
.loc-row {
display: grid; grid-template-columns: 1fr 1fr; gap: 30px; color: #2e385d; font-size: 34px;
}
.transfer-row {
margin-top: 24px; display: flex; align-items: center; justify-content: space-between;
}
.pill {
background: #dbe8ff; color: #2f4c8f; font-weight: 700; border-radius: 26px; padding: 16px 24px; font-size: 32px; display: inline-flex; align-items: center; gap: 14px;
}
.price-info { text-align: right; }
.price { font-size: 54px; font-weight: 800; color: #0f1f4e; }
.passengers { margin-top: 8px; color: #4b567a; font-size: 32px; display: inline-flex; align-items: center; gap: 10px; }
/* Footer small print */
.small-print {
position: absolute; left: 0; top: 1280px; width: 100%; text-align: center; color: #2e385d; font-size: 36px; font-weight: 700;
}
.small-print span { font-weight: 400; color: #7781a0; }
.small-print a { color: #2e385d; text-decoration: none; font-weight: 800; }
/* Bottom home indicator area */
.home-bar {
position: absolute; left: 0; bottom: 0; width: 100%; height: 130px; background: #0e2557;
}
.home-indicator {
position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%);
width: 300px; height: 12px; background: #e9edf7; border-radius: 10px;
}
/* Simple helper icon styling */
.icon { width: 44px; height: 44px; }
.icon-lg { width: 64px; height: 64px; }
</style>
</head>
<body>
<div id="render-target">
<!-- Header -->
<div class="header">
<div class="status-bar">
<div>6:13</div>
<div class="status-right">
<!-- simple dots to mimic notifications -->
<svg class="icon" viewBox="0 0 40 40"><circle cx="20" cy="20" r="6" fill="#c6d1ef"/></svg>
<svg class="icon" viewBox="0 0 40 40"><path d="M6 24h28l-3 6H9zM8 10h24v10H8z" fill="#c6d1ef"/></svg>
<svg class="icon" viewBox="0 0 40 40"><path d="M6 12h28M6 20h28M6 28h28" stroke="#c6d1ef" stroke-width="3" /></svg>
<!-- wifi -->
<svg class="icon" viewBox="0 0 40 40">
<path d="M8 15c7-6 17-6 24 0" stroke="#fff" stroke-width="3" fill="none" />
<path d="M12 20c5-4 11-4 16 0" stroke="#fff" stroke-width="3" fill="none" />
<circle cx="20" cy="26" r="3" fill="#fff"/>
</svg>
<!-- battery -->
<svg class="icon" viewBox="0 0 50 40">
<rect x="4" y="10" width="36" height="20" rx="4" stroke="#fff" stroke-width="3" fill="none"/>
<rect x="7" y="13" width="25" height="14" rx="2" fill="#fff"/>
<rect x="42" y="16" width="4" height="8" fill="#fff"/>
</svg>
</div>
</div>
<div class="title-row">
<div class="title-left">
<!-- back arrow -->
<svg class="icon-lg" viewBox="0 0 48 48">
<path d="M30 10 L16 24 L30 38" stroke="#fff" stroke-width="4" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<div class="page-title">Toronto, ON › Rice Lak...</div>
</div>
<!-- share icon -->
<svg class="icon-lg" viewBox="0 0 48 48">
<circle cx="14" cy="24" r="5" fill="#c6d1ef"/>
<circle cx="34" cy="12" r="5" fill="#c6d1ef"/>
<circle cx="34" cy="36" r="5" fill="#c6d1ef"/>
<path d="M18 23 L29 14 M18 25 L29 34" stroke="#c6d1ef" stroke-width="3" fill="none" stroke-linecap="round"/>
</svg>
</div>
<div class="subtitle">Sun, Oct 22, 3 passengers</div>
</div>
<!-- Transport modes summary -->
<div class="mode-summary">
<div class="mode">
<!-- Train icon -->
<svg class="icon-lg" viewBox="0 0 64 64">
<rect x="12" y="16" width="40" height="28" rx="6" fill="#63729a"/>
<rect x="18" y="22" width="28" height="10" rx="2" fill="#cdd4e6"/>
<circle cx="22" cy="48" r="4" fill="#63729a"/>
<circle cx="42" cy="48" r="4" fill="#63729a"/>
</svg>
<div class="price">$629</div>
<div class="duration">31h17m</div>
</div>
<div class="mode">
<!-- Bus icon -->
<svg class="icon-lg" viewBox="0 0 64 64">
<rect x="10" y="22" width="44" height="20" rx="4" fill="#cdd4e6"/>
<circle cx="20" cy="46" r="4" fill="#cdd4e6"/>
<circle cx="44" cy="46" r="4" fill="#cdd4e6"/>
</svg>
<div style="font-size:40px;">-</div>
</div>
<div class="mode">
<!-- Plane icon -->
<svg class="icon-lg" viewBox="0 0 64 64">
<path d="M8 28 L56 16 L40 32 L56 48 L8 36" fill="#cdd4e6"/>
</svg>
<div style="font-size:40px;">-</div>
</div>
</div>
<!-- Filters -->
<div class="filters">
<div class="chip">
<svg class="icon" viewBox="0 0 48 48">
<path d="M8 16h26M8 24h18M8 32h30" stroke="#5b6a94" stroke-width="4" stroke-linecap="round"/>
<path d="M36 16v-6M26 24v-6M40 32v-6" stroke="#5b6a94" stroke-width="4" stroke-linecap="round"/>
</svg>
<div>Departure time</div>
</div>
<div class="chip">Stops</div>
<div class="chip">Arrival</div>
<div class="chip disabled">Departure</div>
</div>
<!-- Result Card -->
<div class="result-card">
<div class="tag">CHEAPEST, FASTEST</div>
<div class="logo-box">[IMG: VIA Rail Canada Logo]</div>
<div class="times-row">
<div class="big-time">9:55 AM</div>
<div class="middle-duration">31h17m</div>
<div class="big-time">4:12 PM
<svg class="moon" width="28" height="28" viewBox="0 0 28 28">
<path d="M20 14a8 8 0 1 1-8-8c-2 3 0 13 8 8z" fill="#f2b84c"/>
</svg>
</div>
</div>
<div class="loc-row">
<div>Toronto (Union Station), Toronto, ON</div>
<div>Rice Lake, Winnitoba, MB</div>
</div>
<div class="transfer-row">
<div class="pill">
<span>0 Transfers</span>
<svg width="28" height="28" viewBox="0 0 28 28">
<path d="M6 10l8 8 8-8" fill="none" stroke="#2f4c8f" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
<div class="price-info">
<div class="price">$629</div>
<div class="passengers">
<svg width="30" height="30" viewBox="0 0 32 32">
<circle cx="16" cy="10" r="6" fill="#7a8399"/>
<path d="M6 28c0-6 20-6 20 0" fill="#7a8399"/>
</svg>
<span>3 • One-way</span>
</div>
</div>
</div>
</div>
<!-- Small print -->
<div class="small-print">
Our small print, <a href="#">Terms of use</a> <span>and</span> <a href="#">Privacy Policy</a>
</div>
<!-- Bottom home indicator -->
<div class="home-bar">
<div class="home-indicator"></div>
</div>
</div>
</body>
</html> |