| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> |
| <title>Directions UI Mock</title> |
| <style> |
| body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; } |
| #render-target { |
| width: 1080px; height: 2400px; position: relative; overflow: hidden; |
| background: #ffffff; |
| } |
| |
| .status-bar { |
| height: 90px; padding: 24px 32px 0 32px; color: #333; font-size: 34px; |
| display: flex; justify-content: space-between; align-items: center; |
| } |
| .status-icons { display: flex; gap: 18px; align-items: center; color: #777; } |
| .dot { width: 14px; height: 14px; background: #777; border-radius: 50%; display: inline-block; } |
| |
| .route-header { |
| padding: 16px 28px 12px 28px; |
| } |
| .row { |
| display: flex; align-items: center; gap: 18px; margin-bottom: 18px; |
| } |
| .circle-btn { |
| width: 64px; height: 64px; border-radius: 50%; border: 1px solid #DADCE0; |
| display: flex; align-items: center; justify-content: center; background: #fff; |
| } |
| .input-chip { |
| flex: 1; |
| background: #fff; border: 1px solid #DADCE0; border-radius: 18px; |
| height: 86px; display: flex; align-items: center; padding: 0 28px; font-size: 34px; color: #333; |
| box-shadow: 0 1px 0 rgba(0,0,0,0.04); |
| } |
| .ghost-btn { |
| width: 64px; height: 64px; border-radius: 50%; border: 1px solid #DADCE0; |
| display: flex; align-items: center; justify-content: center; background: #fff; |
| } |
| .mode-row { |
| display: flex; align-items: center; gap: 26px; margin-top: 8px; padding: 8px 4px; |
| font-size: 34px; color: #666; |
| } |
| .mode-pill { |
| display: flex; align-items: center; gap: 14px; |
| background: #E7F0FE; color: #1967D2; border-radius: 28px; padding: 20px 28px; border: 1px solid #CFE0FF; |
| font-weight: 600; |
| } |
| .mode-icon { width: 44px; height: 44px; } |
| .mode-sep { color: #999; margin: 0 6px; } |
| |
| .map-wrap { position: relative; } |
| .map { |
| width: 100%; height: 1350px; background: #E0E0E0; border-top: 1px solid #BDBDBD; border-bottom: 1px solid #BDBDBD; |
| display: flex; align-items: center; justify-content: center; color: #757575; font-size: 40px; |
| } |
| .floating-stack { position: absolute; right: 36px; top: 520px; display: flex; flex-direction: column; gap: 26px; } |
| .fab { |
| width: 120px; height: 120px; border-radius: 60px; background: #fff; border: 1px solid #DADCE0; |
| box-shadow: 0 2px 6px rgba(0,0,0,0.12); display: flex; align-items: center; justify-content: center; |
| } |
| .scale { |
| position: absolute; right: 180px; bottom: 320px; color: #444; font-size: 28px; |
| display: flex; align-items: center; gap: 18px; |
| } |
| .scale-line { width: 180px; height: 4px; background: #333; } |
| .blue-bubble, .white-bubble { |
| position: absolute; padding: 18px 24px; border-radius: 18px; font-size: 34px; font-weight: 600; |
| box-shadow: 0 2px 6px rgba(0,0,0,0.15); |
| } |
| .blue-bubble { background: #1A73E8; color: #fff; right: 260px; top: 860px; } |
| .white-bubble { background: #fff; color: #333; left: 120px; top: 1060px; border: 1px solid #E0E0E0; font-weight: 500; } |
| .map-pin { |
| position: absolute; right: 190px; top: 1150px; width: 50px; height: 50px; |
| background: #EA4335; border-radius: 25px 25px 25px 25px; transform: rotate(45deg); |
| box-shadow: 0 2px 6px rgba(0,0,0,0.25); |
| } |
| .map-pin::after { |
| content: ""; position: absolute; left: 10px; top: 10px; width: 30px; height: 30px; background: #fff; border-radius: 50%; |
| transform: rotate(-45deg); |
| } |
| .thumb { |
| position: absolute; left: 60px; bottom: 430px; |
| width: 250px; height: 160px; background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575; |
| display: flex; align-items: center; justify-content: center; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.2); |
| font-size: 28px; |
| } |
| |
| .bottom-card { |
| position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-top-left-radius: 28px; border-top-right-radius: 28px; |
| box-shadow: 0 -4px 16px rgba(0,0,0,0.15); |
| padding: 32px 40px 48px 40px; |
| } |
| .handle { width: 140px; height: 12px; background: #E0E0E0; border-radius: 6px; margin: 0 auto 16px auto; } |
| .summary { font-size: 44px; margin-top: 12px; } |
| .summary .time { color: #1A8738; font-weight: 700; } |
| .summary .distance { color: #333; } |
| .subtext { font-size: 32px; color: #666; margin-top: 10px; } |
| .cta-row { display: flex; gap: 26px; margin-top: 32px; } |
| .cta { |
| padding: 24px 34px; border-radius: 28px; border: 1px solid #DADCE0; color: #1967D2; font-size: 36px; font-weight: 600; |
| display: flex; align-items: center; gap: 16px; background: #fff; |
| } |
| .cta.primary { background: #1A73E8; color: #fff; border-color: #1A73E8; } |
| .cta-icon { width: 36px; height: 36px; } |
| |
| .gesture-bar { |
| position: absolute; left: 50%; transform: translateX(-50%); |
| bottom: 22px; width: 420px; height: 14px; background: #A9A9A9; border-radius: 7px; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="status-bar"> |
| <div>10:59</div> |
| <div class="status-icons"> |
| <span class="dot"></span><span class="dot"></span><span class="dot"></span><span class="dot"></span><span class="dot"></span> |
| <span class="dot"></span> |
| <span class="dot"></span> |
| <span class="dot"></span> |
| </div> |
| </div> |
|
|
| |
| <div class="route-header"> |
| <div class="row"> |
| <div class="circle-btn"> |
| <svg width="34" height="34" viewBox="0 0 24 24"> |
| <path d="M15 18l-6-6 6-6" fill="none" stroke="#5f6368" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
| </svg> |
| </div> |
| <div class="input-chip">Dawson Creek, British Colum...</div> |
| <div class="ghost-btn"> |
| <svg width="34" height="34" viewBox="0 0 24 24"> |
| <circle cx="12" cy="5" r="2" fill="#5f6368"></circle> |
| <circle cx="12" cy="12" r="2" fill="#5f6368"></circle> |
| <circle cx="12" cy="19" r="2" fill="#5f6368"></circle> |
| </svg> |
| </div> |
| </div> |
| <div class="row"> |
| <div class="circle-btn"> |
| <svg width="34" height="34" viewBox="0 0 24 24"> |
| <path d="M12 2C8 2 6 5.2 6 8c0 3.9 5.2 8.3 5.5 8.6.3.3.7.3 1 0C12.8 16.3 18 11.9 18 8c0-2.8-2-6-6-6z" fill="#EA4335"/> |
| <circle cx="12" cy="8" r="2.5" fill="#fff"/> |
| </svg> |
| </div> |
| <div class="input-chip">Pouce Coupe Museum</div> |
| <div class="ghost-btn"> |
| <svg width="34" height="34" viewBox="0 0 24 24"> |
| <path d="M7 7l-3-3M7 17l-3 3M17 7l3-3M17 17l3 3" stroke="#5f6368" stroke-width="2" stroke-linecap="round"/> |
| <path d="M8 6h8M8 18h8" stroke="#5f6368" stroke-width="2" stroke-linecap="round"/> |
| </svg> |
| </div> |
| </div> |
|
|
| <div class="mode-row"> |
| <div class="mode-pill"> |
| <svg class="mode-icon" viewBox="0 0 24 24"> |
| <path d="M3 12h14l-2-4H7l-4 4z" fill="#1967D2"/> |
| <circle cx="7" cy="16" r="2" fill="#1967D2"></circle> |
| <circle cx="15" cy="16" r="2" fill="#1967D2"></circle> |
| </svg> |
| <span>12 min</span> |
| </div> |
| <svg class="mode-icon" viewBox="0 0 24 24"> |
| <path d="M5 14l2-5h6l2 5" stroke="#666" stroke-width="2" fill="none" stroke-linecap="round"/> |
| <circle cx="8" cy="17" r="2" fill="#666"></circle> |
| <circle cx="16" cy="17" r="2" fill="#666"></circle> |
| </svg> |
| <span class="mode-sep">—</span> |
| <svg class="mode-icon" viewBox="0 0 24 24"> |
| <rect x="4" y="6" width="16" height="10" rx="2" fill="#666"></rect> |
| <circle cx="8" cy="18" r="2" fill="#666"></circle> |
| <circle cx="16" cy="18" r="2" fill="#666"></circle> |
| </svg> |
| <span class="mode-sep">—</span> |
| <svg class="mode-icon" viewBox="0 0 24 24"> |
| <path d="M6 18l3-6 2 3 3-2 1 5" stroke="#666" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/> |
| <circle cx="12" cy="5" r="2" fill="#666"></circle> |
| </svg> |
| <span style="color:#333;">2 hr 24</span> |
| <svg class="mode-icon" viewBox="0 0 24 24"> |
| <path d="M5 13l4-3 3 3 3-2" stroke="#666" stroke-width="2" fill="none" stroke-linecap="round"/> |
| <circle cx="8" cy="18" r="2" fill="#666"></circle> |
| <circle cx="16" cy="18" r="2" fill="#666"></circle> |
| </svg> |
| <span style="color:#333;">36 min</span> |
| </div> |
| </div> |
|
|
| |
| <div class="map-wrap"> |
| <div class="map">[IMG: Map with route]</div> |
|
|
| |
| <div class="floating-stack"> |
| <div class="fab"> |
| <svg width="48" height="48" viewBox="0 0 24 24"> |
| <rect x="4" y="4" width="6" height="6" rx="1.5" fill="#5f6368"></rect> |
| <rect x="14" y="4" width="6" height="6" rx="1.5" fill="#5f6368"></rect> |
| <rect x="4" y="14" width="6" height="6" rx="1.5" fill="#5f6368"></rect> |
| <rect x="14" y="14" width="6" height="6" rx="1.5" fill="#5f6368"></rect> |
| </svg> |
| </div> |
| <div class="fab"> |
| <svg width="48" height="48" viewBox="0 0 24 24"> |
| <circle cx="12" cy="12" r="6" fill="none" stroke="#5f6368" stroke-width="2"/> |
| <circle cx="12" cy="12" r="2" fill="#5f6368"/> |
| <path d="M12 2v4M22 12h-4M12 22v-4M2 12h4" stroke="#5f6368" stroke-width="2" stroke-linecap="round"/> |
| </svg> |
| </div> |
| </div> |
|
|
| |
| <div class="blue-bubble">12 min</div> |
| <div class="white-bubble">12 min</div> |
|
|
| |
| <div class="map-pin"></div> |
|
|
| |
| <div class="scale"> |
| <div class="scale-line"></div> |
| <div> |
| <div>1 mi</div> |
| <div>1 km</div> |
| </div> |
| </div> |
|
|
| |
| <div class="thumb">[IMG: Street View Thumbnail]</div> |
| </div> |
|
|
| |
| <div class="bottom-card"> |
| <div class="handle"></div> |
| <div class="summary"><span class="time">12 min</span> <span class="distance">(11 km)</span></div> |
| <div class="subtext">Fastest route now due to traffic conditions</div> |
| <div class="cta-row"> |
| <div class="cta primary"> |
| <svg class="cta-icon" viewBox="0 0 24 24"> |
| <path d="M4 12h16M12 4l8 8-8 8" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/> |
| </svg> |
| <span>Preview</span> |
| </div> |
| <div class="cta"> |
| <svg class="cta-icon" viewBox="0 0 24 24"> |
| <path d="M6 6h12M6 12h12M6 18h12" stroke="#1967D2" stroke-width="2" fill="none" stroke-linecap="round"/> |
| </svg> |
| <span>Steps</span> |
| </div> |
| <div class="cta"> |
| <svg class="cta-icon" viewBox="0 0 24 24"> |
| <path d="M12 3l4 6h-8l4-6zM6 9v10h12V9" stroke="#1967D2" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/> |
| </svg> |
| <span>Pin</span> |
| </div> |
| </div> |
| </div> |
|
|
| <div class="gesture-bar"></div> |
| </div> |
| </body> |
| </html> |