UNPKG

@geoapify/route-planner-sdk

Version:

TypeScript SDK for the Geoapify Route Planner API. Supports route optimization, delivery planning, and timeline visualization in browser and Node.js

237 lines (205 loc) 4.76 kB
.geoapify-rp-sdk-timeline-item { display: flex; flex-direction: row; align-items: center; padding-right: 20px; margin-right: -20px; padding-left: 20px; margin-left: -20px; } .geoapify-rp-sdk-timeline-item.geoapify-rp-sdk-even { background-color: #fff; } .geoapify-rp-sdk-timeline-item-agent { padding-top: 5px; padding-bottom: 5px; display: flex; flex-direction: row; align-items: center; width: 140px; } .geoapify-rp-sdk-timeline-item-agent.geoapify-rp-sdk-wider { width: 200px; } .geoapify-rp-sdk-agent-info { margin-right: 10px; display: flex; flex: 1; min-height: 0; min-width: 0; flex-direction: column; } .geoapify-rp-sdk-mat-subtitle-2 { font: 500 14px / 22px Roboto, sans-serif; letter-spacing: .0071428571em; } .geoapify-rp-sdk-mat-caption { font: 400 12px / 20px Roboto, sans-serif; letter-spacing: .0333333333em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .geoapify-rp-sdk-timeline { margin-left: 10px; position: relative; height: 100%; min-height: 45px; flex: 1; min-width: 0; } .geoapify-rp-sdk-timeline .geoapify-rp-sdk-line { position: absolute; top: 50%; right: 0; left: 0; height: 1px; border-top: 1px solid rgba(0, 0, 0, .1); } .geoapify-rp-sdk-timeline .geoapify-rp-sdk-value-line { position: absolute; top: 50%; left: 0; height: 8px; margin-top: -4px; z-index: 10; border-radius: 4px; } .geoapify-rp-sdk-solution-item { position: absolute; top: 50%; transform: translate(-50%, -50%); z-index: 100; } .geoapify-rp-sdk-label-vertical-line { position: absolute; border-left: 1px solid rgba(0, 0, 0, 0.05); width: 1px; top: 0; bottom: 0; } .geoapify-rp-sdk-solution-item .geoapify-rp-sdk-solution-item-full { height: 10px; border: 1px solid rgba(0, 0, 0, .3); border-radius: 5px; } .geoapify-rp-sdk-solution-item-standard { height: 10px; width: 20px; border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 5px; } .geoapify-rp-sdk-solution-item .geoapify-rp-sdk-solution-item-minimal { height: 10px; width: 10px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .3); } .geoapify-rp-sdk-timeline .geoapify-rp-sdk-label-vertical-line { position: absolute; border-left: 1px solid rgba(0, 0, 0, .05); width: 1px; top: 0; bottom: 0; } .geoapify-rp-sdk-custom-tooltip { position: fixed; background: #616161; color: white; padding: 6px 8px; font-size: 12px; border-radius: 4px; z-index: 99999; pointer-events: none; opacity: 0; transition: opacity 0.2s; max-width: 200px; min-width: 80px; min-height: 24px; word-break: normal; overflow-wrap: anywhere; text-align: center; white-space: pre-line; } .geoapify-rp-sdk-custom-tooltip.geoapify-rp-sdk-show { opacity: 1; } .geoapify-rp-sdk-timeline-labels { position: absolute; left: 0; right: 0; top: 0; height: 14px; font-size: 11px; color: #6b6b6b; } .geoapify-rp-sdk-timeline-label { position: absolute; transform: translateX(-50%); white-space: nowrap; } .geoapify-rp-sdk-timeline-labels-row { margin-bottom: 0px; } .geoapify-rp-sdk-timeline-labels-container { position: relative; height: 14px; margin-left: 10px; } .geoapify-rp-sdk-three-dot-menu { position: relative; display: inline-block; margin-left: 10px; } .geoapify-rp-sdk-three-dot-button { background: none; border: none; font-size: 20px; cursor: pointer; display: flex; justify-content: center; align-items: center; padding: 7px 15px; margin-right: 6px; border-radius: 50%; padding: 7px 15px; transition: background-color 0.5s; } .geoapify-rp-sdk-three-dot-button:hover { background: #80808024; } .geoapify-rp-sdk-three-dot-button svg { height: 1.2rem; } .geoapify-rp-sdk-menu-list { display: none; position: absolute; left: 26px; top: 0; background-color: white; border: 1px solid #ccc; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1000; list-style: none; padding: 5px 0; margin: 0; min-width: 150px; border-radius: 5px; } .geoapify-rp-sdk-menu-item { padding: 8px 12px; cursor: pointer; } .geoapify-rp-sdk-menu-item:hover { background-color: #f1f1f1; } .geoapify-rp-sdk-menu-item-disabled { opacity: 0.5; color: #999 !important; cursor: not-allowed !important; pointer-events: auto; } .geoapify-rp-sdk-menu-item-disabled:hover { background-color: transparent !important; color: #999 !important; }