97 lines
2.2 KiB
CSS
97 lines
2.2 KiB
CSS
.layers-btn-container {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#LayerSwitcher {
|
|
padding: 5px;
|
|
border-radius: 5px;
|
|
background-color: rgba(255, 255, 255, 0.8) !important;
|
|
}
|
|
|
|
#LayerSwitcherInner {
|
|
width: 320px;
|
|
}
|
|
.ol-layerswitcher.ol-layer-shop.ol-miniscroll {
|
|
padding: 10px;
|
|
}
|
|
.panel-container {
|
|
max-height: 400px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#layers-btn {
|
|
width: 25px;
|
|
height: 25px;
|
|
background-image: url('/static/img/layers.svg');
|
|
background-size: cover;
|
|
}
|
|
|
|
#layers-btn.selected {
|
|
background-image: url('/static/img/close.svg');
|
|
}
|
|
|
|
.ol-layerswitcher .layerswitcher-opacity {
|
|
border: 1px solid var(--primary);
|
|
background: var(--primary);
|
|
width: 180px;
|
|
}
|
|
|
|
.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor, .ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor:before {
|
|
position: absolute;
|
|
width: 15px;
|
|
height: 15px;
|
|
top: 50%;
|
|
left: 50%;
|
|
background: rgba(0, 123, 255, .5);
|
|
border-radius: 50%;
|
|
-webkit-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
z-index: 1;
|
|
}
|
|
|
|
.ol-layerswitcher [type=radio] + label:before, .ol-layerswitcher [type=radio]:checked + label:after, .ol-layerswitcher [type=checkbox] + label:before, .ol-layerswitcher [type=checkbox]:checked + label:after {
|
|
border-color: var(--primary) !important;
|
|
}
|
|
|
|
/*.ol-layerswitcher-buttons>div {*/
|
|
/* background: var(--primary) !important;*/
|
|
/*}*/
|
|
|
|
.ol-layerswitcher.ol-layer-shop .layerup {
|
|
color: var(--primary) !important;
|
|
}
|
|
|
|
.ol-layerswitcher.ol-layer-shop .collapse-layers:before {
|
|
background-color: var(--primary) !important;
|
|
}
|
|
|
|
.ol-layerswitcher.ol-layer-shop .expend-layers:before {
|
|
background-color: var(--primary) !important;
|
|
}
|
|
|
|
.ol-layerswitcher.ol-layer-shop .expend-layers:after {
|
|
background-color: var(--primary) !important;
|
|
}
|
|
|
|
.ol-control button {
|
|
width: auto;
|
|
}
|
|
|
|
.ol-control {
|
|
background: none !important;
|
|
}
|
|
|
|
.ol-layer-shop .ol-bar button {
|
|
padding: 10px 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid #a6a6a6;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.ol-bar.ol-bottom-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|