@font-face { font-family: 'IBM Plex Sans'; src: url(/3rdparty/IBMPlexSans-Regular.ttf); } html, body { margin: 0; padding: 0; width: 100%; height: 100%; font-family: 'IBM Plex Sans', sans-serif; } #app { position: absolute; height: 100vh; width: 100%; } .map { position: absolute; height: 100vh; width: 100%; } .map-overlay { position: absolute; z-index: 500; /* leaflet is on 400 */ } .container { display: flex; border: 1px solid rgba(0,0,0,0.15); box-shadow: 0 2px 3px rgba(0,0,0,0.06); border-radius: 3px; background: white; } .query-search-input { position: absolute; top: 10px; left: 10px; width: 450px; transition: all 0.25s cubic-bezier(.65,.05,.36,1); } .query-search-input.open { left: 60px; width: 390px; } @media all and (max-width: 768px) { .query-search-input { width: 100%; left: 0; } .query-search-input.open { width: 80%; } } .query-search-input-placeholder { height: 60px; line-height: 60px; background-color: #409EFF; transition: all 0.25s cubic-bezier(.65,.05,.36,1); } .query-search-input-placeholder.second { height: 110px; } .query-search-result-container { overflow: auto; background: white; flex-basis: 0; transition: all 0.25s cubic-bezier(.65,.05,.36,1); } .query-search-result-container.open { flex-basis: 100%; } .query-search-result-container-inner { padding-top: 10px; } .query-search-result-container-inner.details { padding: 10px; } .query-search-result-item { cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 5px 10px; } .query-search-result-item:hover { background: #E7E7E7; } .query-search-result-item h4 { margin: 0; margin-top: 10px; margin-bottom: 5px; } .query-search-result-item p { margin: 0; margin-bottom: 10px; color: gray; font-size: 14px; } .search-input { width: 100%; } .side-panel { display: flex; flex-direction: column; color: #333; transition: all 0.25s cubic-bezier(.65,.05,.36,1); width: 0; height: 100vh; overflow: hidden; } .side-panel.open { width: 470px; } @media all and (max-width: 768px) { .side-panel.open { width: 100%; } } .side-panel-toggle-button { position: fixed; left: 5px; top: 50vh; transition: all 0.25s cubic-bezier(.65,.05,.36,1); } .side-panel-toggle-button.open { left: 475px; } .search-result-marker { background-image: url('pin.svg'); background-size: cover; width: 80px; height: 80px; cursor: pointer; } .poi-icon { color: #8a7862; font-size: 20px; transition: all 0.25s cubic-bezier(.65,.05,.36,1); } .poi-icon:hover { color: #ff0029a6; transform: scale(1.5); } /* element ui patches */ .el-carousel__item { text-align: center; } .whats-here { background-size: cover; background-repeat: no-repeat; width: 128px; height: 128px; } .current-location-icon { height: 12px; width: 12px; background-color: #1e88e4; border-radius: 100%; } @keyframes pulsate{ 0% { transform: scale(0); opacity: .05; } 20% { transform: scale(1.5); opacity: .1; } 40% { transform: scale(2.5); opacity: .2; } 60% { transform: scale(3); opacity: .3; } 100% { transform: scale(4); opacity: 0; } } .current-location-icon::after { position: absolute; top: 50%; left: 50%; display: block; content: ""; height: 22px; width: 22px; margin: -10px 0 0 -10px; animation: pulsate 2s linear; animation-iteration-count: infinite; border-radius: 100%; background-color: #1e88e4; } .current-location-icon-container { border: none; background-color: none; } .sign { font-size: 14px !important; color: #6d6d6d; transform: translate(-50%, 0) !important; white-space: nowrap; } .overpass-layer-icon { font-size: 14px !important; color: #6d6d6d; }