UNPKG

xgis-ol

Version:

基于openlayers + ol-ext库进行封装

2,372 lines (2,040 loc) 172 kB
@charset "UTF-8"; .layer_label_nowrap { text-wrap: nowrap; } .layer_right_bar { min-width: 40px; text-wrap: nowrap; } .layer_opacity_slider { width: 200px; } .drawToolList { flex-direction: row !important; } .mapContainer { width: 100%; height: 100%; position: relative; } .mainMapPanel { width: 100%; height: 100%; position: relative; } .mapLeftPanel { position: absolute; left: 0px; top: 0px; width: 0px; height: 100%; } .mapRightPanel { position: absolute; top: 0px; right: 0px; width: 0px; height: 100%; } .xmap-position { position: absolute; top: unset !important; right: unset !important; left: 0px; bottom: 0px; height: 20px; width: auto; font-size: 14px; line-height: 20px; text-align: left; background-color: #eee; color: #000; width: auto; } .extendmenu { position: absolute; top: 40px; right: 0.5em; height: 300px; padding-left: 20px; z-index: 10; display: flex; flex-direction: column; justify-content: space-between; } .measureToolList { flex-direction: row !important; } .mainViewContent { width: 100%; } .layerTree { position: absolute; top: 35px; border: 1px solid #c3c3c3; width: 300px; border-radius: 4px; /* z-index: 10; */ font-size: 14px; } .ol-zoom { display: none !important; } :root, :host { --ol-background-color: white; --ol-accent-background-color: #F5F5F5; --ol-subtle-background-color: rgba(128, 128, 128, 0.25); --ol-partial-background-color: rgba(255, 255, 255, 0.75); --ol-foreground-color: #333333; --ol-subtle-foreground-color: #666666; --ol-brand-color: #00AAFF; } .ol-box { box-sizing: border-box; border-radius: 2px; border: 1.5px solid var(--ol-background-color); background-color: var(--ol-partial-background-color); } .ol-mouse-position { top: 8px; right: 8px; position: absolute; } .ol-scale-line { background: var(--ol-partial-background-color); border-radius: 4px; bottom: 8px; left: 8px; padding: 2px; position: absolute; } .ol-scale-line-inner { border: 1px solid var(--ol-subtle-foreground-color); border-top: none; color: var(--ol-foreground-color); font-size: 10px; text-align: center; margin: 1px; will-change: contents, width; transition: all 0.25s; } .ol-scale-bar { position: absolute; bottom: 8px; left: 8px; } .ol-scale-bar-inner { display: flex; } .ol-scale-step-marker { width: 1px; height: 15px; background-color: var(--ol-foreground-color); float: right; z-index: 10; } .ol-scale-step-text { position: absolute; bottom: -5px; font-size: 10px; z-index: 11; color: var(--ol-foreground-color); text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color); } .ol-scale-text { position: absolute; font-size: 12px; text-align: center; bottom: 25px; color: var(--ol-foreground-color); text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color); } .ol-scale-singlebar { position: relative; height: 10px; z-index: 9; box-sizing: border-box; border: 1px solid var(--ol-foreground-color); } .ol-scale-singlebar-even { background-color: var(--ol-subtle-foreground-color); } .ol-scale-singlebar-odd { background-color: var(--ol-background-color); } .ol-unsupported { display: none; } .ol-viewport, .ol-unselectable { -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; } .ol-viewport canvas { all: unset; overflow: hidden; } .ol-viewport { touch-action: pan-x pan-y; } .ol-selectable { -webkit-touch-callout: default; -webkit-user-select: text; -moz-user-select: text; user-select: text; } .ol-grabbing { cursor: -webkit-grabbing; cursor: -moz-grabbing; cursor: grabbing; } .ol-grab { cursor: move; cursor: -webkit-grab; cursor: -moz-grab; cursor: grab; } .ol-control { position: absolute; background-color: var(--ol-subtle-background-color); border-radius: 4px; } .ol-zoom { top: 0.5em; left: 0.5em; } .ol-rotate { top: 0.5em; right: 0.5em; transition: opacity 0.25s linear, visibility 0s linear; } .ol-rotate.ol-hidden { opacity: 0; visibility: hidden; transition: opacity 0.25s linear, visibility 0s linear 0.25s; } .ol-zoom-extent { top: 4.643em; left: 0.5em; } .ol-full-screen { right: 0.5em; top: 0.5em; } .ol-control button { display: block; margin: 1px; padding: 0; color: var(--ol-subtle-foreground-color); font-weight: bold; text-decoration: none; font-size: inherit; text-align: center; height: 1.375em; width: 1.375em; line-height: 0.4em; background-color: var(--ol-background-color); border: none; border-radius: 2px; } .ol-control button::-moz-focus-inner { border: none; padding: 0; } .ol-zoom-extent button { line-height: 1.4em; } .ol-compass { display: block; font-weight: normal; will-change: transform; } .ol-touch .ol-control button { font-size: 1.5em; } .ol-touch .ol-zoom-extent { top: 5.5em; } .ol-control button:hover, .ol-control button:focus { text-decoration: none; outline: 1px solid var(--ol-subtle-foreground-color); color: var(--ol-foreground-color); } .ol-zoom .ol-zoom-in { border-radius: 2px 2px 0 0; } .ol-zoom .ol-zoom-out { border-radius: 0 0 2px 2px; } .ol-attribution { text-align: right; bottom: 0.5em; right: 0.5em; max-width: calc(100% - 1.3em); display: flex; flex-flow: row-reverse; align-items: center; } .ol-attribution a { color: var(--ol-subtle-foreground-color); text-decoration: none; } .ol-attribution ul { margin: 0; padding: 1px 0.5em; color: var(--ol-foreground-color); text-shadow: 0 0 2px var(--ol-background-color); font-size: 12px; } .ol-attribution li { display: inline; list-style: none; } .ol-attribution li:not(:last-child):after { content: " "; } .ol-attribution img { max-height: 2em; max-width: inherit; vertical-align: middle; } .ol-attribution button { flex-shrink: 0; } .ol-attribution.ol-collapsed ul { display: none; } .ol-attribution:not(.ol-collapsed) { background: var(--ol-partial-background-color); } .ol-attribution.ol-uncollapsible { bottom: 0; right: 0; border-radius: 4px 0 0; } .ol-attribution.ol-uncollapsible img { margin-top: -0.2em; max-height: 1.6em; } .ol-attribution.ol-uncollapsible button { display: none; } .ol-zoomslider { top: 4.5em; left: 0.5em; height: 200px; } .ol-zoomslider button { position: relative; height: 10px; } .ol-touch .ol-zoomslider { top: 5.5em; } .ol-overviewmap { left: 0.5em; bottom: 0.5em; } .ol-overviewmap.ol-uncollapsible { bottom: 0; left: 0; border-radius: 0 4px 0 0; } .ol-overviewmap .ol-overviewmap-map, .ol-overviewmap button { display: block; } .ol-overviewmap .ol-overviewmap-map { border: 1px solid var(--ol-subtle-foreground-color); height: 150px; width: 150px; } .ol-overviewmap:not(.ol-collapsed) button { bottom: 0; left: 0; position: absolute; } .ol-overviewmap.ol-collapsed .ol-overviewmap-map, .ol-overviewmap.ol-uncollapsible button { display: none; } .ol-overviewmap:not(.ol-collapsed) { background: var(--ol-subtle-background-color); } .ol-overviewmap-box { border: 1.5px dotted var(--ol-subtle-foreground-color); } .ol-overviewmap .ol-overviewmap-box:hover { cursor: move; } .ol-overviewmap .ol-viewport:hover { cursor: pointer; } .horizonaldivider { position: absolute; width: 4px; background-color: #fff; pointer-events: none; z-index: 1; float: left; } .verticaldivider { position: absolute; height: 4px; background-color: #fff; pointer-events: none; z-index: 1; float: left; } /* 地图工具栏样式 */ .tool-container { z-index: 10; font-size: 12px; display: flex; flex-direction: column; justify-content: space-between; margin: 0 0; padding: 0 0; } .tool-container > li { width: 30px; height: 30px; border-radius: 5px; background: rgb(255, 255, 255); text-align: center; line-height: 26px; cursor: pointer; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6); border-bottom: 1px solid rgba(0, 0, 0, 0.6); } .tool-container > li:hover { background: #aaa; } /* 图层管理树样式 */ .layerTreeControl { font-size: 16px; height: 100%; width: 100%; font-family: "Microsoft Yahei", FangSong, SimHei, sans-serif; } .ol-control i { cursor: default; } /* Bar style */ .ol-control.ol-bar { left: 50%; min-height: 1em; min-width: 1em; position: absolute; top: 0.5em; transform: translate(-50%, 0); -webkit-transform: translate(-50%, 0); white-space: nowrap; } /* Hide subbar when not inserted in a parent bar */ .ol-control.ol-toggle .ol-option-bar { display: none; } /* Default position for controls */ .ol-control.ol-bar .ol-bar { position: static; } .ol-control.ol-bar .ol-control { position: relative; top: auto; left: auto; right: auto; bottom: auto; display: inline-block; vertical-align: middle; background-color: transparent; padding: 0; margin: 0; transform: none; -webkit-transform: none; } .ol-control.ol-bar .ol-bar { position: static; } .ol-control.ol-bar .ol-control button { margin: 2px 1px; outline: none; } /* Positionning */ .ol-control.ol-bar.ol-left { left: 0.5em; top: 50%; -webkit-transform: translate(0px, -50%); transform: translate(0px, -50%); } .ol-control.ol-bar.ol-left .ol-control { display: block; } .ol-control.ol-bar.ol-right { left: auto; right: 0.5em; top: 50%; -webkit-transform: translate(0px, -50%); transform: translate(0px, -50%); } .ol-control.ol-bar.ol-right .ol-control { display: block; } .ol-control.ol-bar.ol-bottom { top: auto; bottom: 0.5em; } .ol-control.ol-bar.ol-top.ol-left, .ol-control.ol-bar.ol-top.ol-right { top: 4.5em; -webkit-transform: none; transform: none; } .ol-touch .ol-control.ol-bar.ol-top.ol-left, .ol-touch .ol-control.ol-bar.ol-top.ol-right { top: 5.5em; } .ol-control.ol-bar.ol-bottom.ol-left, .ol-control.ol-bar.ol-bottom.ol-right { top: auto; bottom: 0.5em; -webkit-transform: none; transform: none; } /* Group buttons */ .ol-control.ol-bar.ol-group { margin: 1px 1px 1px 0; } .ol-control.ol-bar.ol-right .ol-group, .ol-control.ol-bar.ol-left .ol-group { margin: 1px 1px 0 1px; } .ol-control.ol-bar.ol-group button { border-radius: 0; margin: 0 0 0 1px; } .ol-control.ol-bar.ol-right.ol-group button, .ol-control.ol-bar.ol-left.ol-group button, .ol-control.ol-bar.ol-right .ol-group button, .ol-control.ol-bar.ol-left .ol-group button { margin: 0 0 1px 0; } .ol-control.ol-bar.ol-group .ol-control:first-child > button { border-radius: 5px 0 0 5px; } .ol-control.ol-bar.ol-group .ol-control:last-child > button { border-radius: 0 5px 5px 0; } .ol-control.ol-bar.ol-left.ol-group .ol-control:first-child > button, .ol-control.ol-bar.ol-right.ol-group .ol-control:first-child > button, .ol-control.ol-bar.ol-left .ol-group .ol-control:first-child > button, .ol-control.ol-bar.ol-right .ol-group .ol-control:first-child > button { border-radius: 5px 5px 0 0; } .ol-control.ol-bar.ol-left.ol-group .ol-control:last-child > button, .ol-control.ol-bar.ol-right.ol-group .ol-control:last-child > button, .ol-control.ol-bar.ol-left .ol-group .ol-control:last-child > button, .ol-control.ol-bar.ol-right .ol-group .ol-control:last-child > button { border-radius: 0 0 5px 5px; } /* */ .ol-control.ol-bar .ol-rotate { opacity: 1; visibility: visible; } .ol-control.ol-bar .ol-rotate button { display: block; } /* Active buttons */ .ol-control.ol-bar .ol-toggle.ol-active > button, .ol-control.ol-bar .ol-toggle.ol-active button:hover { background-color: #00AAFF; color: #fff; } .ol-control.ol-toggle button:disabled { background-color: #ccc; } /* Subbar toolbar */ .ol-control.ol-bar .ol-control.ol-option-bar { display: none; position: absolute; top: 100%; left: 0; margin: 5px 0; border-radius: 0; background-color: rgba(255, 255, 255, 0.8); /* border: 1px solid rgba(0, 60, 136, 0.5); */ -webkit-box-shadow: 0 0 0 1px rgba(0, 60, 136, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.5); box-shadow: 0 0 0 1px rgba(0, 60, 136, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.5); } .ol-control.ol-bar .ol-option-bar:before { content: ""; border: 0.5em solid transparent; border-color: transparent transparent rgba(0, 60, 136, 0.5); position: absolute; bottom: 100%; left: 0.3em; pointer-events: none; } .ol-control.ol-bar .ol-option-bar .ol-control { display: table-cell; } .ol-control.ol-bar .ol-control .ol-bar { display: none; } .ol-control.ol-bar .ol-control.ol-active > .ol-option-bar { display: block; } .ol-control.ol-bar .ol-control.ol-collapsed ul { display: none; } .ol-control.ol-bar .ol-control.ol-text-button > div:hover, .ol-control.ol-bar .ol-control.ol-text-button > div { background-color: transparent; color: rgba(0, 60, 136, 0.5); width: auto; min-width: 1.375em; margin: 0; } .ol-control.ol-bar .ol-control.ol-text-button { font-size: 0.9em; border-left: 1px solid rgba(0, 60, 136, 0.8); border-radius: 0; } .ol-control.ol-bar .ol-control.ol-text-button:first-child { border-left: 0; } .ol-control.ol-bar .ol-control.ol-text-button > div { padding: 0.11em 0.3em; font-weight: normal; font-size: 1.14em; font-family: Arial, Helvetica, sans-serif; } .ol-control.ol-bar .ol-control.ol-text-button div:hover { color: rgb(0, 60, 136); } .ol-control.ol-bar.ol-bottom .ol-option-bar { top: auto; bottom: 100%; } .ol-control.ol-bar.ol-bottom .ol-option-bar:before { border-color: rgba(0, 60, 136, 0.5) transparent transparent; bottom: auto; top: 100%; } .ol-control.ol-bar.ol-left .ol-option-bar { left: 100%; top: 0; bottom: auto; margin: 0 5px; } .ol-control.ol-bar.ol-left .ol-option-bar:before { border-color: transparent rgba(0, 60, 136, 0.5) transparent transparent; bottom: auto; right: 100%; left: auto; top: 0.3em; } .ol-control.ol-bar.ol-right .ol-option-bar { right: 100%; left: auto; top: 0; bottom: auto; margin: 0 5px; } .ol-control.ol-bar.ol-right .ol-option-bar:before { border-color: transparent transparent transparent rgba(0, 60, 136, 0.5); bottom: auto; left: 100%; top: 0.3em; } .ol-control.ol-bar.ol-left .ol-option-bar .ol-option-bar, .ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar { top: 100%; bottom: auto; left: 0.3em; right: auto; margin: 5px 0; } .ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar { right: 0.3em; left: auto; } .ol-control.ol-bar.ol-left .ol-option-bar .ol-option-bar:before, .ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar:before { border-color: transparent transparent rgba(0, 60, 136, 0.5); bottom: 100%; top: auto; left: 0.3em; right: auto; } .ol-control.ol-bar.ol-right .ol-option-bar .ol-option-bar:before { right: 0.3em; left: auto; } .ol-control-title { position: absolute; top: 0; left: 0; right: 0; } .ol-center-position { position: absolute; bottom: 0; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); background-color: rgba(255, 255, 255, 0.8); padding: 0.1em 1em; } .ol-compassctrl { display: none; top: 1em; left: auto; right: 1em; } .ol-compassctrl.ol-visible { display: block !important; } .ol-ext-dialog { position: fixed; top: -100%; left: 0; width: 150%; height: 100%; opacity: 0; background-color: rgba(0, 0, 0, 0.5); z-index: 1000; pointer-events: none !important; -webkit-transition: opacity 0.2s, top 0s 0.2s; transition: opacity 0.2s, top 0s 0.2s; } .ol-ext-dialog.ol-visible { opacity: 1; top: 0; pointer-events: all !important; -webkit-transition: opacity 0.2s, top 0s; transition: opacity 0.2s, top 0s; } .ol-viewport .ol-ext-dialog { position: absolute; } .ol-ext-dialog > form > h2 { margin: 0 0.5em 0.5em 0; display: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ol-ext-dialog > form.ol-title > h2 { display: block; } .ol-ext-dialog > form { position: absolute; top: 0; left: 33.33%; min-width: 5em; max-width: 60%; min-height: 3em; max-height: 100%; background-color: #fff; border: 1px solid #333; -webkit-box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5); box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5); -webkit-transform: translate(-50%, -30%); transform: translate(-50%, -30%); -webkit-transition: top 0.2s, -webkit-transform 0.2s; transition: top 0.2s, -webkit-transform 0.2s; transition: top 0.2s, transform 0.2s; transition: top 0.2s, transform 0.2s, -webkit-transform 0.2s; padding: 1em; -webkit-box-sizing: border-box; box-sizing: border-box; overflow-x: hidden; overflow-y: auto; } .ol-ext-dialog > form.ol-closebox { padding-top: 1.5em; } .ol-ext-dialog > form.ol-title { padding-top: 1em; } .ol-ext-dialog > form.ol-button { padding-bottom: 0.5em; } .ol-ext-dialog.ol-zoom > form { top: 30%; -webkit-transform: translate(-50%, -30%) scale(0); transform: translate(-50%, -30%) scale(0); } .ol-ext-dialog.ol-visible > form { top: 30%; } .ol-ext-dialog.ol-zoom.ol-visible > form { -webkit-transform: translate(-50%, -30%) scale(1); transform: translate(-50%, -30%) scale(1); } .ol-ext-dialog > form .ol-content { overflow-x: hidden; overflow-y: auto; } .ol-ext-dialog > form .ol-closebox { position: absolute; top: 0.5em; right: 0.5em; width: 1em; height: 1em; cursor: pointer; display: none; } .ol-ext-dialog > form.ol-closebox .ol-closebox { display: block; } .ol-ext-dialog > form .ol-closebox:before, .ol-ext-dialog > form .ol-closebox:after { content: ""; position: absolute; background-color: currentColor; top: 50%; left: 50%; width: 1em; height: 0.1em; border-radius: 0.1em; -webkit-transform: translate(-50%, -50%) rotate(45deg); transform: translate(-50%, -50%) rotate(45deg); } .ol-ext-dialog > form .ol-closebox:before { -webkit-transform: translate(-50%, -50%) rotate(-45deg); transform: translate(-50%, -50%) rotate(-45deg); } .ol-ext-dialog > form .ol-buttons { text-align: right; overflow-x: hidden; } .ol-ext-dialog > form .ol-buttons input { margin-top: 0.5em; padding: 0.5em; background: none; border: 0; font-size: 1em; color: rgb(0, 60, 136); cursor: pointer; border-radius: 0.25em; outline-width: 0; } .ol-ext-dialog > form .ol-buttons input:hover { background-color: rgba(0, 60, 136, 0.1); } .ol-ext-dialog > form .ol-buttons input[type=submit] { font-weight: bold; } .ol-ext-dialog .ol-progress-message { font-size: 0.9em; text-align: center; padding-bottom: 0.5em; } .ol-ext-dialog .ol-progress-bar { border: 1px solid #369; width: 20em; height: 1em; max-width: 100%; padding: 2px; margin: 0.5em auto 0; overflow: hidden; } .ol-ext-dialog .ol-progress-bar > div { background: #369; height: 100%; width: 50%; -webkit-transition: width 0.3s; transition: width 0.3s; } .ol-ext-dialog .ol-progress-bar > div.notransition { -webkit-transition: unset; transition: unset; } /* full screen */ .ol-ext-dialog.ol-fullscreen-dialog form { top: 1em; -webkit-transform: none; transform: none; left: 1em; bottom: 1em; right: 1em; max-width: calc(66.6% - 2em); text-align: center; background: transparent; -webkit-box-shadow: none; box-shadow: none; border: none; color: #fff; } .ol-ext-dialog.ol-fullscreen-dialog form .ol-closebox { top: 0; right: 0; font-size: 2em; } .ol-ext-dialog.ol-fullscreen-dialog .ol-closebox:before, .ol-ext-dialog.ol-fullscreen-dialog .ol-closebox:after { border: 0.1em solid currentColor; } .ol-ext-dialog.ol-fullscreen-dialog img, .ol-ext-dialog.ol-fullscreen-dialog video { max-width: 100%; } /* Fullscreen dialog */ body > .ol-ext-dialog .ol-content { max-height: calc(100vh - 10em); } body > .ol-ext-dialog > form { overflow: visible; } .ol-editbar .ol-button button { position: relative; display: inline-block; font-style: normal; -webkit-box-sizing: border-box; box-sizing: border-box; vertical-align: middle; } .ol-editbar .ol-button button:before, .ol-editbar .ol-button button:after { content: ""; border-width: 0; position: absolute; -webkit-box-sizing: border-box; box-sizing: border-box; background-color: currentColor; } .ol-editbar .ol-button button:focus { outline: none; } .ol-editbar .ol-selection > button:before { width: 0.6em; height: 1em; background-color: transparent; border: 0.5em solid currentColor; border-width: 0 0.25em 0.65em; border-color: currentColor transparent; -webkit-box-shadow: 0 0.6em 0 -0.23em; box-shadow: 0 0.6em 0 -0.23em; top: 0.35em; left: 0.5em; -webkit-transform: translate(-50%, -50%) rotate(-30deg); transform: translate(-50%, -50%) rotate(-30deg); } .ol-editbar .ol-selection0 > button:after { width: 0.28em; height: 0.6em; background-color: transparent; border: 0.5em solid currentColor; border-width: 0 0.05em 0.7em; border-color: currentColor transparent; top: 0.5em; left: 0.7em; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); } .ol-editbar .ol-delete button:after, .ol-editbar .ol-delete button:before { width: 1em; height: 0.2em; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%) rotate(45deg); transform: translate(-50%, -50%) rotate(45deg); } .ol-editbar .ol-delete button:after { -webkit-transform: translate(-50%, -50%) rotate(-45deg); transform: translate(-50%, -50%) rotate(-45deg); } .ol-editbar .ol-info button:before { width: 0.25em; height: 0.6em; border-radius: 0.03em; top: 0.47em; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); } .ol-editbar .ol-info button:after { width: 0.25em; height: 0.2em; border-radius: 0.03em; -webkit-box-shadow: -0.1em 0.35em, -0.1em 0.82em, 0.1em 0.82em; box-shadow: -0.1em 0.35em, -0.1em 0.82em, 0.1em 0.82em; top: 0.12em; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); } .ol-editbar .ol-drawpoint button:before { width: 0.7em; height: 0.7em; border-radius: 50%; border: 0.15em solid currentColor; background-color: transparent; top: 0.2em; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); } .ol-editbar .ol-drawpoint button:after { width: 0.4em; height: 0.4em; border: 0.15em solid currentColor; border-color: currentColor transparent; border-width: 0.4em 0.2em 0; background-color: transparent; top: 0.8em; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); } .ol-editbar .ol-drawline > button:before, .ol-editbar .ol-drawpolygon > button:before, .ol-editbar .ol-drawhole > button:before { width: 0.8em; height: 0.8em; border: 0.13em solid currentColor; background-color: transparent; border-width: 0.2em 0.13em 0.09em; top: 0.2em; left: 0.25em; -webkit-transform: rotate(10deg) perspective(1em) rotateX(40deg); transform: rotate(10deg) perspective(1em) rotateX(40deg); } .ol-editbar .ol-drawline > button:before { border-bottom: 0; } .ol-editbar .ol-drawline > button:after, .ol-editbar .ol-drawhole > button:after, .ol-editbar .ol-drawpolygon > button:after { width: 0.3em; height: 0.3em; top: 0.2em; left: 0.25em; -webkit-box-shadow: -0.2em 0.55em, 0.6em 0.1em, 0.65em 0.7em; box-shadow: -0.2em 0.55em, 0.6em 0.1em, 0.65em 0.7em; } .ol-editbar .ol-drawhole > button:after { -webkit-box-shadow: -0.2em 0.55em, 0.6em 0.1em, 0.65em 0.7em, 0.25em 0.35em; box-shadow: -0.2em 0.55em, 0.6em 0.1em, 0.65em 0.7em, 0.25em 0.35em; } .ol-editbar .ol-offset > button i, .ol-editbar .ol-transform > button i { position: absolute; width: 0.9em; height: 0.9em; overflow: hidden; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .ol-editbar .ol-offset > button i { width: 0.8em; height: 0.8em; } .ol-editbar .ol-offset > button i:before, .ol-editbar .ol-transform > button i:before, .ol-editbar .ol-transform > button i:after { content: ""; height: 1em; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%) rotate(45deg); transform: translate(-50%, -50%) rotate(45deg); -webkit-box-shadow: 0.5em 0 0 0.1em, -0.5em 0 0 0.1em; box-shadow: 0.5em 0 0 0.1em, -0.5em 0 0 0.1em; width: 0.1em; position: absolute; background-color: currentColor; } .ol-editbar .ol-offset > button i:before { -webkit-box-shadow: 0.45em 0 0 0.1em, -0.45em 0 0 0.1em; box-shadow: 0.45em 0 0 0.1em, -0.45em 0 0 0.1em; } .ol-editbar .ol-transform > button i:after { -webkit-transform: translate(-50%, -50%) rotate(-45deg); transform: translate(-50%, -50%) rotate(-45deg); } .ol-editbar .ol-split > button:before { width: 0.3em; height: 0.3em; top: 0.81em; left: 0.75em; border-radius: 50%; -webkit-box-shadow: 0.1em -0.4em, -0.15em -0.25em; box-shadow: 0.1em -0.4em, -0.15em -0.25em; } .ol-editbar .ol-split > button:after { width: 0.8em; height: 0.8em; top: 0.15em; left: -0.1em; border: 0.1em solid currentColor; border-width: 0 0.2em 0.2em 0; background-color: transparent; border-radius: 0.1em; -webkit-transform: rotate(20deg) scaleY(0.6) rotate(-45deg); transform: rotate(20deg) scaleY(0.6) rotate(-45deg); } .ol-editbar .ol-drawregular > button:before { width: 0.9em; height: 0.9em; top: 50%; left: 50%; border: 0.1em solid currentColor; background-color: transparent; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .ol-editbar .ol-drawregular .ol-bar .ol-text-button > div > div > div { border: 0.5em solid currentColor; border-color: transparent currentColor; display: inline-block; cursor: pointer; vertical-align: text-bottom; } .ol-editbar .ol-drawregular .ol-bar:before, .ol-control.ol-bar.ol-editbar .ol-drawregular .ol-bar { left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); } .ol-editbar .ol-drawregular .ol-bar .ol-text-button { min-width: 6em; text-align: center; } .ol-editbar .ol-drawregular .ol-bar .ol-text-button > div > div > div:first-child { border-width: 0.5em 0.5em 0.5em 0; margin: 0 0.5em 0 0; } .ol-editbar .ol-drawregular .ol-bar .ol-text-button > div > div > div:last-child { border-width: 0.5em 0 0.5em 0.5em; margin: 0 0 0 0.5em; } .ol-feature-list { position: relative; } .ol-control.ol-feature-list { position: absolute; bottom: 0; left: 0; width: 100%; } .ol-control.ol-feature-list > button:before { content: ""; position: absolute; width: 60%; height: 50%; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); -webkit-box-shadow: inset 0 2.5px; box-shadow: inset 0 2.5px; background-image: -webkit-gradient(linear, left top, right top, from(currentColor), to(transparent)); background-image: linear-gradient(90deg, currentColor, transparent); } .ol-control.ol-feature-list.ol-collapsed { bottom: 0.5em; left: 0.5em; width: auto; } .ol-feature-list .ol-content { background-color: #f4f6f8; clear: both; } .ol-feature-list.ol-collapsed .ol-content > * { display: none; } .ol-feature-list .ol-header { position: relative; overflow: hidden; } .ol-feature-list.ol-collapsed .ol-header { display: block; } .ol-control.ol-feature-list > button, .ol-control.ol-feature-list.ol-collapsed .ol-content { display: none; } .ol-control.ol-feature-list.ol-collapsed > button { display: block; } .ol-feature-list .ol-sizer { width: 100%; height: 1px; cursor: row-resize; background-color: #ccc; position: relative; border: 1px solid #f4f6f8; border-width: 1px 0; } .ol-feature-list.ol-bottom .ol-sizer { position: absolute; bottom: 0; } .ol-feature-list .ol-sizer:before { content: ""; width: 1.5em; height: 4px; background-color: #ddd; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); z-index: 1; border: 3px solid transparent; border-width: 3px 1.5em; -webkit-box-shadow: inset 0 -1px #aaa, inset 0 1px #aaa; box-shadow: inset 0 -1px #aaa, inset 0 1px #aaa; border-radius: 2px; } .ol-feature-list .ol-sizer:hover:before { background-color: #ccc; } .ol-feature-list .ol-content .ol-header p { display: inline-block; margin: 0.1em 0.25em; vertical-align: middle; white-space: nowrap; width: calc(100% - 2em); text-overflow: ellipsis; overflow: hidden; } .ol-feature-list .ol-content .ol-header .ol-buttons { position: absolute; right: 0; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .ol-feature-list .ol-content .ol-header button { position: relative; border: 0; background: transparent; vertical-align: middle; width: 1em; height: 1em; margin: 0 0.2em; -webkit-box-sizing: border-box; box-sizing: border-box; } .ol-feature-list .ol-content .ol-header button.ol-closebox:before, .ol-feature-list .ol-content .ol-header button.ol-closebox:after { content: ""; position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%) rotate(45deg); transform: translate(-50%, -50%) rotate(45deg); background: currentColor; width: 0.1em; height: 1em; display: block; font-style: normal; } .ol-feature-list .ol-content .ol-header button.ol-closebox:after { -webkit-transform: translate(-50%, -50%) rotate(-45deg); transform: translate(-50%, -50%) rotate(-45deg); } .ol-feature-list.ol-collapsed .ol-content .ol-header button.ol-closebox { border: 1px solid currentColor; } .ol-feature-list.ol-collapsed .ol-content .ol-header button.ol-closebox:before { -webkit-transform: translate(-50%, -50%) rotate(90deg); transform: translate(-50%, -50%) rotate(90deg); } .ol-feature-list.ol-collapsed .ol-content .ol-header button.ol-closebox:after { display: none; } .ol-feature-list .ol-scroll-container { overflow: auto; height: 10em; min-height: 3em; } .ol-feature-list .ol-scroll-container:focus { outline: unset; } .ol-feature-list table { background-color: #fff; border-collapse: collapse; white-space: nowrap; position: relative; } .ol-feature-list table thead { background-color: #f4f6f8; position: -webkit-sticky; position: sticky; top: 0; overflow: hidden; } /* Fixed height */ .ol-feature-list table tr { height: 1.4em; -webkit-box-sizing: border-box; box-sizing: border-box; } .ol-feature-list table tbody tr:hover { background-color: #eee; cursor: pointer; } .ol-feature-list table tbody tr.ol-selected { background-color: #eee; } .ol-feature-list table td { border: 0 solid #ddd; border-width: 0 0 1px 1px; overflow: hidden; width: 100px; } .ol-feature-list table td.number { text-align: right; } .ol-feature-list table td.undefined { text-align: center; background-color: #fafafa; } .ol-feature-list table tr:hover td, .ol-feature-list table .ol-selected td { background-color: transparent; } .ol-feature-list thead td { position: relative; } .ol-feature-list thead td.sort { padding-right: 1.5em; } .ol-feature-list thead td p { margin: 0; display: inline-block; } .ol-feature-list table td button { position: absolute; width: 1.2em; height: 1.4em; top: 0; right: 0; margin: 0.1em 0; padding: 0; background-color: transparent; border: 0; } .ol-feature-list thead td button.sort:before { content: "⇅"; font-style: normal; font-weight: normal; cursor: pointer; font-size: 1em; line-height: 1em; } .ol-feature-list thead td button.sortup:before { content: "↧"; } .ol-feature-list thead td button.sortdown:before { content: "↥"; } .ol-gauge { top: 0.5em; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); background-color: rgba(255, 255, 255, 0.5); padding: 0.1em 0.5em; } .ol-gauge > * { display: inline-block; vertical-align: middle; } .ol-gauge > span { margin: 0 0.5em 0 0; } .ol-gauge > div { display: inline-block; width: 200px; border: 1px solid rgba(0, 60, 136, 0.5); border-radius: 3px; padding: 1px; } .ol-gauge button { height: 0.8em; margin: 0; max-width: 100%; } .ol-control.ol-bookmark { top: 0.5em; left: 3em; background-color: rgba(255, 255, 255, 0.5); } .ol-control.ol-bookmark button { position: relative; } .ol-control.ol-bookmark > button::before { content: ""; position: absolute; border-width: 10px 5px 4px; border-style: solid; border-color: currentColor; border-bottom-color: transparent; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); height: 0; } .ol-control.ol-bookmark > div { display: block; min-width: 5em; } .ol-control.ol-bookmark.ol-collapsed > div { display: none; } .ol-control.ol-bookmark input { font-size: 0.9em; margin: 0 0.5em 0.5em; padding: 0 0.5em; } .ol-control.ol-bookmark ul { margin: 0 0 0.5em; padding: 0; list-style: none; min-width: 10em; } .ol-control.ol-bookmark li { color: rgba(0, 60, 136, 0.8); font-size: 0.9em; padding: 0 0.2em 0 0.5em; cursor: default; clear: both; } .ol-control.ol-bookmark li:hover { background-color: rgba(0, 60, 136, 0.5); color: #fff; } .ol-control.ol-bookmark > div button { width: 1em; height: 0.8em; float: right; background-color: transparent; cursor: pointer; border-radius: 0; } .ol-control.ol-bookmark > div button:before { content: "⨯"; color: #936; font-size: 1.2em; line-height: 1em; border-radius: 0; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .ol-bookmark ul li button, .ol-bookmark input { display: none; } .ol-bookmark.ol-editable ul li button, .ol-bookmark.ol-editable input { display: block; } .ol-control.ol-geobt { top: auto; left: auto; right: 0.5em; bottom: 3em; } .ol-touch .ol-control.ol-geobt { bottom: 3.5em; } .ol-control.ol-geobt button:before { content: ""; position: absolute; background: transparent; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); border: 0.16em solid currentColor; width: 0.4em; height: 0.4em; border-radius: 50%; } .ol-control.ol-geobt button:after { content: ""; position: absolute; width: 0.2em; height: 0.2em; background: transparent; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); -webkit-box-shadow: 0.42em 0, -0.42em 0, 0 0.42em, 0 -0.42em; box-shadow: 0.42em 0, -0.42em 0, 0 0.42em, 0 -0.42em; } .ol-control.ol-bar.ol-geobar .ol-control { display: inline-block; vertical-align: middle; } .ol-control.ol-bar.ol-geobar .ol-bar { display: none; } .ol-bar.ol-geobar.ol-active .ol-bar { display: inline-block; } .ol-bar.ol-geobar .geolocBt button:before, .ol-bar.ol-geobar .geolocBt button:after { content: ""; display: block; position: absolute; border: 1px solid transparent; border-width: 0.3em 0.8em 0 0.2em; border-color: currentColor transparent transparent; -webkit-transform: rotate(-30deg); transform: rotate(-30deg); top: 0.45em; left: 0.15em; font-size: 1.2em; } .ol-bar.ol-geobar .geolocBt button:after { border-width: 0 0.8em 0.3em 0.2em; border-color: transparent transparent currentColor; -webkit-transform: rotate(-61deg); transform: rotate(-61deg); } .ol-bar.ol-geobar .startBt button:before { content: ""; display: block; position: absolute; width: 1em; height: 1em; background-color: #800; border-radius: 50%; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .ol-bar.ol-geobar .pauseBt button:before, .ol-bar.ol-geobar .pauseBt button:after { content: ""; display: block; position: absolute; width: 0.25em; height: 1em; background-color: currentColor; top: 50%; left: 35%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .ol-bar.ol-geobar .pauseBt button:after { left: 65%; } .ol-control.ol-bar.ol-geobar .centerBt, .ol-control.ol-bar.ol-geobar .pauseBt, .ol-bar.ol-geobar.pauseTrack .startBt, .ol-bar.ol-geobar.centerTrack .startBt, .ol-bar.ol-geobar.centerTrack.pauseTrack .pauseBt, .ol-bar.ol-geobar.centerTrack .pauseBt { display: none; } .ol-bar.ol-geobar.pauseTrack .pauseBt, .ol-bar.ol-geobar.centerTrack .centerBt { display: inline-block; } .ol-control.ol-globe { position: absolute; left: 0.5em; bottom: 0.5em; border-radius: 50%; opacity: 0.7; transform: scale(0.5); transform-origin: 0 100%; -webkit-transform: scale(0.5); -webkit-transform-origin: 0 100%; } .ol-control.ol-globe:hover { opacity: 0.9; } .ol-control.ol-globe .panel { display: block; width: 170px; height: 170px; background-color: #fff; cursor: pointer; border-radius: 50%; overflow: hidden; -webkit-box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5); box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5); } .ol-control.ol-globe .panel .ol-viewport { border-radius: 50%; } .ol-control.ol-globe .ol-pointer { display: block; background-color: #fff; width: 10px; height: 10px; border: 10px solid red; position: absolute; top: 50%; left: 50%; transform: translate(-15px, -40px); -webkit-transform: translate(-15px, -40px); border-radius: 50%; z-index: 1; transition: opacity 0.15s, top 0s, left 0s; -webkit-transition: opacity 0.15s, top 0s, left 0s; } .ol-control.ol-globe .ol-pointer.hidden { opacity: 0; transition: opacity 0.15s, top 3s, left 5s; -webkit-transition: opacity 0.15s, top 3s, left 5s; } .ol-control.ol-globe .ol-pointer::before { border-radius: 50%; -webkit-box-shadow: 6px 6px 10px 5px #000; box-shadow: 6px 6px 10px 5px #000; content: ""; display: block; height: 0; left: 0; position: absolute; top: 23px; width: 0; } .ol-control.ol-globe .ol-pointer::after { content: ""; width: 0; height: 0; display: block; position: absolute; border-width: 20px 10px 0; border-color: red transparent; border-style: solid; left: -50%; top: 100%; } .ol-control.ol-globe .panel::before { border-radius: 50%; -webkit-box-shadow: -20px -20px 80px 2px rgba(0, 0, 0, 0.7) inset; box-shadow: -20px -20px 80px 2px rgba(0, 0, 0, 0.7) inset; content: ""; display: block; height: 100%; left: 0; position: absolute; top: 0; width: 100%; z-index: 1; } .ol-control.ol-globe .panel::after { border-radius: 50%; -webkit-box-shadow: 0 0 20px 7px rgb(255, 255, 255); box-shadow: 0 0 20px 7px rgb(255, 255, 255); content: ""; display: block; height: 0; left: 23%; position: absolute; top: 20%; -webkit-transform: rotate(-40deg); transform: rotate(-40deg); width: 20%; z-index: 1; } .ol-control.ol-globe.ol-collapsed .panel { display: none; } .ol-control-top.ol-globe { bottom: auto; top: 5em; transform-origin: 0 0; -webkit-transform-origin: 0 0; } .ol-control-right.ol-globe { left: auto; right: 0.5em; transform-origin: 100% 100%; -webkit-transform-origin: 100% 100%; } .ol-control-right.ol-control-top.ol-globe { left: auto; right: 0.5em; transform-origin: 100% 0; -webkit-transform-origin: 100% 0; } .ol-gridreference { background: #fff; border: 1px solid #000; overflow: auto; max-height: 100%; top: 0; right: 0; } .ol-gridreference input { width: 100%; } .ol-gridreference ul { margin: 0; padding: 0; list-style: none; } .ol-gridreference li { padding: 0 0.5em; cursor: pointer; } .ol-gridreference ul li:hover { background-color: #ccc; } .ol-gridreference li.ol-title, .ol-gridreference li.ol-title:hover { background: rgba(0, 60, 136, 0.5); color: #fff; cursor: default; } .ol-gridreference ul li .ol-ref { margin-left: 0.5em; } .ol-gridreference ul li .ol-ref:before { content: "("; } .ol-gridreference ul li .ol-ref:after { content: ")"; } .ol-control.ol-imageline { bottom: 0; left: 0; right: 0; padding: 0; overflow: visible; -webkit-transition: 0.3s; transition: 0.3s; border-radius: 0; } .ol-control.ol-imageline.ol-collapsed { -webkit-transform: translateY(100%); transform: translateY(100%); } .ol-imageline > div { height: 4em; position: relative; white-space: nowrap; scroll-behavior: smooth; overflow: hidden; width: 100%; } .ol-imageline > div.ol-move { scroll-behavior: unset; } .ol-control.ol-imageline button { position: absolute; top: -1em; -webkit-transform: translateY(-100%); transform: translateY(-100%); margin: 0.65em; -webkit-box-shadow: 0 0 0 0.15em rgba(255, 255, 255, 0.4); box-shadow: 0 0 0 0.15em rgba(255, 255, 255, 0.4); } .ol-control.ol-imageline button:before { content: ""; position: absolute; -webkit-transform: translate(-50%, -50%) rotate(135deg); transform: translate(-50%, -50%) rotate(135deg); top: 40%; left: 50%; width: 0.4em; height: 0.4em; border: 0.1em solid currentColor; border-width: 0.15em 0.15em 0 0; } .ol-control.ol-imageline.ol-collapsed button:before { top: 60%; -webkit-transform: translate(-50%, -50%) rotate(-45deg); transform: translate(-50%, -50%) rotate(-45deg); } .ol-imageline, .ol-imageline:hover { background-color: rgba(0, 0, 0, 0.75); } .ol-imageline.ol-arrow:after, .ol-imageline.ol-arrow:before { content: ""; position: absolute; top: 50%; left: 0.2em; border-color: #fff #000; border-width: 1em 0.6em 1em 0; border-style: solid; -webkit-transform: translateY(-50%); transform: translateY(-50%); z-index: 1; opacity: 0.8; pointer-events: none; -webkit-box-shadow: -0.6em 0 0 1em #fff; box-shadow: -0.6em 0 0 1em #fff; } .ol-imageline.ol-arrow:after { border-width: 1em 0 1em 0.6em; left: auto; right: 0.2em; -webkit-box-shadow: 0.6em 0 0 1em #fff; box-shadow: 0.6em 0 0 1em #fff; } .ol-imageline.ol-scroll0.ol-arrow:before { display: none; } .ol-imageline.ol-scroll1.ol-arrow:after { display: none; } .ol-imageline .ol-image { position: relative; height: 100%; display: inline-block; cursor: pointer; } .ol-imageline img { max-height: 100%; border: 0.25em solid transparent; -webkit-box-sizing: border-box; box-sizing: border-box; opacity: 0; -webkit-transition: 1s; transition: 1s; } .ol-imageline img.ol-loaded { opacity: 1; } .ol-imageline .ol-image.select { background-color: #fff; } .ol-imageline .ol-image span { position: absolute; width: 125%; max-height: 2.4em; left: 50%; bottom: 0; display: none; color: #fff; background-color: rgba(0, 0, 0, 0.5); font-size: 0.8em; overflow: hidden; white-space: normal; text-align: center; line-height: 1.2em; -webkit-transform: translateX(-50%) scaleX(0.8); transform: translateX(-50%) scaleX(0.8); } /* .ol-imageline .ol-image.select span, */ .ol-imageline .ol-image:hover span { display: block; } .ol-control.ol-routing.ol-isochrone .ol-method-time, .ol-control.ol-routing.ol-isochrone .ol-method-distance, .ol-control.ol-routing.ol-isochrone > button { position: relative; } .ol-control.ol-routing.ol-isochrone .ol-method-time:before, .ol-control.ol-routing.ol-isochrone > button:before { content: ""; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); border: 0.1em solid currentColor; width: 0.8em; height: 0.8em; border-radius: 50%; -webkit-box-shadow: 0 -0.5em 0 -0.35em, 0.4em -0.35em 0 -0.35em; box-shadow: 0 -0.5em 0 -0.35em, 0.4em -0.35em 0 -0.35em; clip: unset; } .ol-control.ol-routing.ol-isochrone .ol-method-time:after, .ol-control.ol-routing.ol-isochrone > button:after { content: ""; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%) rotate(-60deg); transform: translate(-50%, -50%) rotate(-60deg); border-radius: 50%; border: 0.3em solid transparent; border-right-color: currentColor; -webkit-box-shadow: none; box-shadow: none; -webkit-box-sizing: border-box; box-sizing: border-box; clip: unset; } .ol-control.ol-routing.ol-isochrone .ol-method-distance:before { content: ""; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%) rotate(-30deg); transform: translate(-50%, -50%) rotate(-30deg); width: 1em; height: 0.5em; border: 0.1em solid currentColor; -webkit-box-sizing: border-box; box-sizing: border-box; } .ol-control.ol-routing.ol-isochrone .ol-method-distance:after { content: ""; position: absolute; width: 0.1em; height: 0.15em; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%) rotate(-30deg); transform: translate(-50%, -50%) rotate(-30deg); -webkit-box-shadow: inset 0 -0.15em, 0 0.1em, 0.25em 0.1em, -0.25em 0.1em; box-shadow: inset 0 -0.15em, 0 0.1em, 0.25em 0.1em, -0.25em 0.1em; } .ol-control.ol-routing.ol-isochrone .ol-direction-direct:before, .ol-control.ol-routing.ol-isochrone .ol-direction-reverse:before { content: ""; position: absolute; top: 50%; left: 30%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 0.3em; height: 0.3em; border-radius: 50%; border: 0.1em solid currentColor; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-box-shadow: 0.25em 0 0 -0.05em; box-shadow: 0.25em 0 0 -0.05em; } .ol-control.ol-routing.ol-isochrone .ol-direction-direct:after, .ol-control.ol-routing.ol-isochrone .ol-direction-reverse:after { content: ""; position: absolute; top: 50%; left: 70%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); border: 0.4em solid transparent; border-width: 0.4em 0 0.4em 0.4em; border-color: transparent currentColor; } .ol-control.ol-routing.ol-isochrone .ol-direction-reverse:after { border-width: 0.4em 0.4em 0.4em 0; } .ol-control.ol-isochrone.ol-collapsed .content { display: none; } .ol-control.ol-isochrone input[type=number] { width: 3em; text-align: right; margin: 0 0.1em; } .ol-control.ol-isochrone .ol-distance input[type=number] { width: 5em; } .ol-isochrone .ol-time, .ol-isochrone .ol-distance { display: none; } .ol-isochrone .ol-time.selected, .ol-isochrone .ol-distance.selected { display: block; } .ol-control.ol-layerswitcher-popup { position: absolute; right: 0.5em; text-align: left; top: 3em; } .ol-control.ol-layerswitcher-popup .panel { clear: both; background: #fff; } .ol-layerswitcher-popup .panel { list-style: none; padding: 0.25em; margin: 0; overflow: hidden; } .ol-layerswitcher-popup .panel ul { list-style: none; padding: 0 0 0 20px; overflow: hidden; } .ol-layerswitcher-popup.ol-collapsed .panel { display: none; } .ol-layerswitcher-popup.ol-forceopen .panel { display: block; } .ol-layerswitcher-popup button { background-color: white; background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAACE1BMVEX///8A//8AgICA//8AVVVAQID///8rVVVJtttgv98nTmJ2xNgkW1ttyNsmWWZmzNZYxM4gWGgeU2JmzNNr0N1Rwc0eU2VXxdEhV2JqytQeVmMhVmNoydUfVGUgVGQfVGQfVmVqy9hqy9dWw9AfVWRpydVry9YhVmMgVGNUw9BrytchVWRexdGw294gVWQgVmUhVWPd4N6HoaZsy9cfVmQgVGRrytZsy9cgVWQgVWMgVWRsy9YfVWNsy9YgVWVty9YgVWVry9UgVWRsy9Zsy9UfVWRsy9YgVWVty9YgVWRty9Vsy9aM09sgVWRTws/AzM0gVWRtzNYgVWRuy9Zsy9cgVWRGcHxty9bb5ORbxdEgVWRty9bn6OZTws9mydRfxtLX3Nva5eRix9NFcXxOd4JPeINQeIMiVmVUws9Vws9Vw9BXw9BYxNBaxNBbxNBcxdJexdElWWgmWmhjyNRlx9IqXGtoipNpytVqytVryNNrytZsjZUuX210k5t1y9R2zNR3y9V4lp57zth9zdaAnKOGoaeK0NiNpquV09mesrag1tuitbmj1tuj19uktrqr2d2svcCu2d2xwMO63N+7x8nA3uDC3uDFz9DK4eHL4eLN4eIyYnDX5OM5Z3Tb397e4uDf4uHf5uXi5ePi5+Xj5+Xk5+Xm5+Xm6OY6aHXQ19fT4+NfhI1Ww89gx9Nhx9Nsy9ZWw9Dpj2abAAAAWnRSTlMAAQICAwQEBgcIDQ0ODhQZGiAiIyYpKywvNTs+QklPUlNUWWJjaGt0dnd+hIWFh4mNjZCSm6CpsbW2t7nDzNDT1dje5efr7PHy9PT29/j4+Pn5+vr8/f39/f6DPtKwAAABTklEQVR4Xr3QVWPbMBSAUTVFZmZmhhSXMjNvkhwqMzMzMzPDeD+xASvObKePPa+ffHVl8PlsnE0+qPpBuQjVJjno6pZpSKXYl7/bZyFaQxhf98hHDKEppwdWIW1frFnrxSOWHFfWesSEWC6R/P4zOFrix3TzDFLlXRTR8c0fEEJ1/itpo7SVO9Jdr1DVxZ0USyjZsEY5vZfiiAC0UoTGOrm9PZLuRl8X+Dq1HQtoFbJZbv61i+Poblh/97TC7n0neCcK0ETNUrz1/xPHf+DNAW9Ac6t8O8WH3Vp98f5lCaYKAOFZMLyHL4Y0fe319idMNgMMp+zWVSybUed/+/h7I4wRAG1W6XDy4XmjR9HnzvDRZXUAYDFOhC1S/Hh+fIXxen+eO+AKqbs+wAo30zDTDvDxKoJN88sjUzDFAvBzEUGFsnADoIvAJzoh2BZ8sner+Ke/vwECuQAAAABJRU5ErkJggg=="); background-position: center; background-repeat: no-repeat; float: right; height: 38px; width: 38px; } .ol-layerswitcher-popup li { color: #369; padding: 0.25em 1em; font-family: "Trebuchet MS", Helvetica, sans-serif; cursor: pointer; } .ol-layerswitcher-popup li.ol-header { display: none; } .ol-layerswitcher-popup li.select, .ol-layerswitcher-popup li.ol-visible { background: rgba(0, 60, 136, 0.7); color: #fff; } .ol-layerswitcher-popup li:hover { background: rgba(0, 60, 136, 0.9); color: #fff; } .ol-control.ol-layerswitcher.ol-layer-shop { height: calc(100% - 4em); max-height: unset; max-width: 16em; background-color: transparent; pointer-events: none !important; overflow: visible; } .ol-control.ol-layerswitcher > * { pointer-events: auto; } .ol-control.ol-layer-shop > button, .ol-control.ol-layer-shop .panel-container { -webkit-box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); } .ol-control.ol-layerswitcher.ol-layer-shop .panel-container { overflow-y: scroll; max-height: calc(100% - 6.5em); border: 2px solid #369; border-width: 2px 0; padding: 0; } .ol-control.ol-layer-shop .panel { padding: 0; -webkit-box-sizing: border-box; box-si