File size: 8,254 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 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, initial-scale=1.0" />
<title>Trip Summary UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #2b2b2b; }
#render-target {
width: 1080px;
height: 2400px;
position: relative;
overflow: hidden;
background: #ffffff;
}
/* Status bar */
.status-bar {
height: 80px;
padding: 22px 32px 0 32px;
display: flex;
align-items: center;
justify-content: space-between;
color: #5b5b5b;
font-size: 30px;
}
.status-right {
display: flex;
align-items: center;
gap: 20px;
color: #7a7a7a;
font-size: 26px;
}
.status-dot { font-weight: 700; }
/* App bar */
.app-bar {
height: 120px;
padding: 0 32px;
display: flex;
align-items: center;
position: relative;
}
.back-btn {
width: 72px; height: 72px;
display: flex; align-items: center; justify-content: center;
}
.app-title {
position: absolute;
left: 50%; transform: translateX(-50%);
font-size: 48px; font-weight: 700; color: #3a3a3a;
}
.app-actions {
margin-left: auto;
display: flex; align-items: center; gap: 26px;
}
.circle-count {
width: 60px; height: 60px; border-radius: 30px;
background: #f1f4f6; display: flex; align-items: center; justify-content: center;
font-weight: 700; color: #3a3a3a;
border: 1px solid #e2e6ea;
}
.icon-btn {
width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
border-radius: 12px;
color: #3a3a3a;
}
.divider { height: 1px; background: #e9eef2; }
/* Content */
.content {
padding: 36px 36px 180px 36px;
}
.section-title {
font-size: 52px; font-weight: 700; margin-bottom: 12px;
}
.subline {
font-size: 28px; letter-spacing: 1px; text-transform: uppercase; color: #7c8a98;
}
/* Card */
.trip-card {
margin-top: 28px;
background: #fff;
border: 2px solid #d7e3ec;
border-radius: 26px;
padding: 28px;
box-shadow: 0 2px 0 rgba(0,0,0,0.04);
}
.card-header {
display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px;
}
.line-left {
display: flex; align-items: center; gap: 16px;
font-weight: 800; letter-spacing: 0.3px; color: #4f6a7f; font-size: 30px;
}
.rating {
display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; color: #00a6e7; font-weight: 700;
}
.price {
color: #00a6e7; font-weight: 800; font-size: 34px;
}
.times-row {
display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 20px;
margin: 8px 0 6px 0;
}
.time {
font-size: 56px; font-weight: 800; color: #2d2d2d;
}
.duration {
color: #8da0b1; font-size: 26px; display: flex; align-items: center; gap: 12px;
}
.stations {
display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; margin-top: 10px; margin-bottom: 22px;
color: #5b6c79; font-size: 28px;
}
.pills { display: flex; flex-wrap: wrap; gap: 18px; }
.pill {
padding: 18px 26px; border-radius: 30px; font-weight: 700; font-size: 26px;
display: inline-flex; align-items: center; gap: 12px;
}
.pill.details { background: #e6f7f8; color: #179fa2; }
.pill.transfers { background: #e9edf1; color: #7b858e; }
.pill.ticket { background: #dff6ea; color: #1aa578; }
.pill.luxury { background: #efe4fb; color: #8c62d6; margin-top: 18px; }
/* Bottom CTA */
.cta-wrap {
position: absolute; left: 0; right: 0; bottom: 80px;
padding: 0 34px;
}
.cta {
width: 100%;
background: #ff6661;
border-radius: 24px;
height: 140px;
display: flex; align-items: center; justify-content: center;
color: #ffffff; font-weight: 800; font-size: 40px; letter-spacing: 3px;
box-shadow: 0 8px 18px rgba(255, 102, 97, 0.35);
}
.home-indicator {
position: absolute; left: 50%; transform: translateX(-50%);
bottom: 24px; width: 260px; height: 10px; background: #d7d7d7; border-radius: 6px;
}
/* Simple helpers */
.muted { color: #7a8a98; }
.img-placeholder {
width: 40px; height: 40px; background: #E0E0E0; border: 1px solid #BDBDBD;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 20px; border-radius: 8px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div>9:46</div>
<div class="status-right">
<span>4°</span>
<span class="img-placeholder">[IMG]</span>
<span>82°</span>
<span class="status-dot">•</span>
<!-- Simple wifi icon -->
<svg width="28" height="28" viewBox="0 0 24 24"><path fill="#6d6d6d" d="M12 18.5l-1.6 1.6a2.3 2.3 0 013.2 0L12 18.5zm-5-3.8l1.5 1.5a6 6 0 018 0l1.5-1.5a8.5 8.5 0 00-11 0zm-3.2-3.2l1.6 1.6a10.5 10.5 0 0114.2 0l1.6-1.6c-5.5-5-13.5-5-19 0z"/></svg>
<!-- Battery icon -->
<svg width="36" height="36" viewBox="0 0 24 24"><rect x="2" y="6" width="18" height="12" rx="2" ry="2" fill="none" stroke="#6d6d6d" stroke-width="2"/><rect x="4" y="8" width="12" height="8" fill="#6d6d6d"/><rect x="20" y="10" width="2" height="4" fill="#6d6d6d"/></svg>
</div>
</div>
<!-- App bar -->
<div class="app-bar">
<div class="back-btn">
<svg width="36" height="36" viewBox="0 0 24 24"><path d="M15 18l-6-6 6-6" stroke="#3a3a3a" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="app-title">Trip Summary</div>
<div class="app-actions">
<div class="circle-count">1</div>
<div class="icon-btn">
<!-- plus icon -->
<svg width="36" height="36" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14" stroke="#3a3a3a" stroke-width="2" stroke-linecap="round"/></svg>
</div>
<div class="icon-btn">
<!-- user icon -->
<svg width="36" height="36" viewBox="0 0 24 24"><circle cx="12" cy="8" r="4" fill="#3a3a3a"/><path d="M4 20c0-4.4 4-6 8-6s8 1.6 8 6" fill="#3a3a3a"/></svg>
</div>
</div>
</div>
<div class="divider"></div>
<!-- Main content -->
<div class="content">
<div class="section-title">Departure</div>
<div class="subline">NEW YORK › NEWARK • MON, AUG 14</div>
<div class="trip-card">
<div class="card-header">
<div class="line-left">
<!-- train icon -->
<svg width="32" height="32" viewBox="0 0 24 24"><path d="M7 3h10a2 2 0 012 2v9a3 3 0 01-3 3l1.5 2H7.5L9 17a3 3 0 01-3-3V5a2 2 0 012-2z" fill="#8ea4b4"/><circle cx="9" cy="13" r="1.4" fill="#fff"/><circle cx="15" cy="13" r="1.4" fill="#fff"/></svg>
<span>AMTRAK ACELA</span>
<span class="rating">
<svg width="26" height="26" viewBox="0 0 24 24"><path d="M12 2l3.1 6.6 7 1-5.1 4.9 1.3 7-6.3-3.3-6.3 3.3 1.3-7L1.9 9.6l7-1L12 2z" fill="#00a6e7"/></svg>
4.5
</span>
</div>
<div class="price">$46.00</div>
</div>
<div class="times-row">
<div class="time">6:00 PM</div>
<div class="duration">
<span>0h 13m</span>
<svg width="56" height="20" viewBox="0 0 56 20"><path d="M2 10h50M46 5l6 5-6 5" stroke="#c5d2dc" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>
</div>
<div class="time">6:13 PM</div>
</div>
<div class="stations">
<div>NY Moynihan Train Hall …</div>
<div style="text-align:right;">Newark Penn Station</div>
</div>
<div class="pills">
<div class="pill details">
Details
<svg width="22" height="22" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" stroke="#179fa2" stroke-width="2" fill="none" stroke-linecap="round"/></svg>
</div>
<div class="pill transfers">0 transfers</div>
<div class="pill ticket">E-ticket</div>
</div>
<div class="pill luxury">Luxury</div>
</div>
</div>
<!-- Bottom CTA -->
<div class="cta-wrap">
<div class="cta">BOOK | $46.00</div>
</div>
<div class="home-indicator"></div>
</div>
</body>
</html> |