File size: 8,581 Bytes
0e1717f | 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 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>Greyhound Booking UI Mock</title>
<style>
body {
margin: 0;
padding: 0;
background: transparent;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #333;
}
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #F4F5F6;
}
/* Top app bar */
.app-bar {
position: relative;
width: 100%;
height: 300px;
background: #0A5D69;
color: #fff;
}
.status-row {
height: 96px;
display: flex;
align-items: center;
padding: 0 36px;
font-weight: 600;
font-size: 36px;
letter-spacing: 0.5px;
}
.status-row .spacer {
flex: 1;
}
.status-icon {
width: 42px;
height: 42px;
margin-left: 22px;
border-radius: 50%;
border: 2px solid rgba(255,255,255,0.8);
}
.brand-row {
height: 204px;
display: flex;
align-items: center;
padding: 0 36px;
}
.brand-placeholder {
width: 420px;
height: 120px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
border-radius: 6px;
}
/* Card common */
.card {
background: #fff;
margin: 18px 24px;
border-radius: 12px;
box-shadow: 0 2px 0 rgba(0,0,0,0.06), 0 6px 12px rgba(0,0,0,0.08);
}
/* Search card & fields */
.search-card {
margin-top: 18px;
padding: 28px;
position: relative;
}
.field {
position: relative;
border: 2px solid #CFCFCF;
border-radius: 16px;
margin-bottom: 28px;
padding: 42px 28px 28px 28px;
background: #fff;
}
.label {
position: absolute;
top: -12px;
left: 22px;
display: flex;
align-items: center;
width: calc(100% - 44px);
}
.label span {
font-size: 26px;
color: #7A7A7A;
background: #fff;
padding-right: 10px;
}
.label .line {
height: 2px;
flex: 1;
background: #CFCFCF;
margin-left: 10px;
}
.value {
font-size: 44px;
color: #2E2E2E;
}
/* Row of two small fields */
.row {
display: flex;
gap: 26px;
}
.small-field {
flex: 1;
}
/* Swap circular button */
.swap-btn {
position: absolute;
right: 46px;
top: 256px; /* between From and To fields */
width: 120px;
height: 120px;
border-radius: 60px;
background: #fff;
border: 3px solid #9FB7BC;
box-shadow: 0 3px 8px rgba(0,0,0,0.12);
display: flex;
align-items: center;
justify-content: center;
}
.swap-btn svg path {
stroke: #0A5D69;
stroke-width: 10;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
/* Add/plus in Return field */
.return-extra {
position: absolute;
right: 24px;
top: 50%;
transform: translateY(-50%);
}
.plus-icon {
width: 54px;
height: 54px;
}
.plus-icon path {
stroke: #0A5D69;
stroke-width: 10;
fill: none;
stroke-linecap: round;
}
/* Search button */
.search-btn {
margin-top: 10px;
width: 100%;
height: 120px;
background: #B55A12;
border-radius: 12px;
color: #fff;
font-weight: 800;
font-size: 42px;
letter-spacing: 3px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 6px 10px rgba(0,0,0,0.12);
}
/* What's new card */
.news-card {
padding: 30px;
}
.news-overline {
font-size: 28px;
letter-spacing: 1.5px;
color: #7A7A7A;
text-transform: uppercase;
margin-bottom: 12px;
}
.news-title {
font-size: 58px;
font-weight: 700;
color: #262626;
margin-bottom: 24px;
line-height: 1.2;
}
.news-image {
width: 100%;
height: 540px;
background: #E0E0E0;
border: 1px solid #BDBDBD;
display: flex;
align-items: center;
justify-content: center;
color: #757575;
border-radius: 10px;
margin-bottom: 26px;
}
.news-text {
font-size: 36px;
color: #5A5A5A;
line-height: 1.4;
margin-bottom: 18px;
}
.news-link {
font-size: 36px;
color: #0A5D69;
font-weight: 700;
}
/* Bottom navigation */
.bottom-nav {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 190px;
background: #FFFFFF;
border-top: 2px solid #E5E5E5;
display: flex;
align-items: center;
justify-content: space-around;
padding-bottom: 10px;
}
.nav-item {
width: 220px;
display: flex;
flex-direction: column;
align-items: center;
color: #8B8B8B;
font-size: 30px;
}
.nav-item.active {
color: #0A5D69;
}
.nav-icon {
width: 90px;
height: 90px;
margin-bottom: 10px;
}
.nav-item.active .nav-icon {
background: rgba(10,93,105,0.12);
border-radius: 45px;
}
.nav-icon svg path, .nav-icon svg circle {
stroke: #7F7F7F;
stroke-width: 8;
fill: none;
}
.nav-item.active .nav-icon svg path,
.nav-item.active .nav-icon svg circle {
stroke: #0A5D69;
}
</style>
</head>
<body>
<div id="render-target">
<div class="app-bar">
<div class="status-row">
<div>10:18</div>
<div class="spacer"></div>
<div class="status-icon"></div>
<div class="status-icon"></div>
</div>
<div class="brand-row">
<div class="brand-placeholder">[IMG: Greyhound logo]</div>
</div>
</div>
<div class="card search-card">
<div class="field">
<div class="label"><span>From</span><div class="line"></div></div>
<div class="value">Hamilton, ON</div>
</div>
<div class="field">
<div class="label"><span>To</span><div class="line"></div></div>
<div class="value">Richmond, VA</div>
</div>
<div class="row">
<div class="field small-field">
<div class="label"><span>Departing</span><div class="line"></div></div>
<div class="value">Oct 25, 2023</div>
</div>
<div class="field small-field" style="position: relative;">
<div class="label"><span>Return</span><div class="line"></div></div>
<div class="value" style="color:#7A7A7A;">Tap to add</div>
<div class="return-extra">
<svg class="plus-icon" viewBox="0 0 100 100">
<path d="M50 20 L50 80 M20 50 L80 50" />
</svg>
</div>
</div>
</div>
<div class="field">
<div class="label"><span>Passengers/Bikes</span><div class="line"></div></div>
<div class="value">1 adult</div>
</div>
<div class="search-btn">SEARCH</div>
<div class="swap-btn" title="Swap From/To">
<svg width="90" height="90" viewBox="0 0 100 100">
<!-- Up arrow -->
<path d="M32 70 L32 30 M20 42 L32 30 L44 42" />
<!-- Down arrow -->
<path d="M68 30 L68 70 M56 58 L68 70 L80 58" />
</svg>
</div>
</div>
<div class="card news-card">
<div class="news-overline">WHAT'S NEW?</div>
<div class="news-title">Greyhound and Flix join forces!</div>
<div class="news-image">[IMG: Buses - Greyhound and FlixBus]</div>
<div class="news-text">Our network has expanded! See how this benefits you.</div>
<div class="news-link">FIND OUT MORE</div>
</div>
<div class="bottom-nav">
<div class="nav-item active">
<div class="nav-icon">
<svg viewBox="0 0 100 100">
<circle cx="44" cy="44" r="22"></circle>
<path d="M72 72 L90 90"></path>
</svg>
</div>
<div>Booking</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg viewBox="0 0 100 100">
<path d="M20 30 L80 30 L80 70 L20 70 Z"></path>
<path d="M35 30 L35 20 M65 30 L65 20"></path>
<path d="M35 50 L65 50"></path>
</svg>
</div>
<div>Tickets</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg viewBox="0 0 100 100">
<path d="M50 20 C65 20 78 33 78 48 C78 66 50 90 50 90 C50 90 22 66 22 48 C22 33 35 20 50 20 Z"></path>
<circle cx="50" cy="48" r="10"></circle>
</svg>
</div>
<div>Stops</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<svg viewBox="0 0 100 100">
<circle cx="50" cy="50" r="32"></circle>
<path d="M50 30 L50 54"></path>
<path d="M50 66 L50 70"></path>
</svg>
</div>
<div>More</div>
</div>
</div>
</div>
</body>
</html> |