rlayers
Version:
React Components for OpenLayers
116 lines (97 loc) • 1.86 kB
CSS
.example-map p,
.jumbotron p {
margin: 0;
padding: 0;
}
.example-map {
width: 100%;
height: 60vh;
margin-bottom: 1em;
}
.no-interaction {
user-select: none;
pointer-events: none;
}
.example-overlay {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
user-select: none;
pointer-events: none;
position: absolute;
width: max-content;
background-color: white;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
padding: 15px;
border-radius: 10px;
border: 1px solid #cccccc;
}
.example-control {
top: 2.5em;
right: 0.5em;
}
.example-list {
width: 150px;
max-width: 150px;
min-width: 150px;
font-size: 0.7em;
list-style: lower-latin;
padding: 0;
overflow: hidden;
}
.example-list ul {
padding: 0;
overflow: hidden;
}
.example-list li {
font-style: italic;
overflow: hidden;
}
.example-overview .ol-overviewmap-map {
border: none ;
width: 300px ;
}
.example-overview .ol-overviewmap-box {
border: 2px solid blue;
}
.example-overview,
.example-overview.ol-uncollapsible {
bottom: auto ;
left: auto ;
right: 0 ;
top: 0 ;
}
.example-overview:not(.ol-collapsed) button {
bottom: auto ;
left: auto ;
right: 1px ;
top: 1px ;
}
.example-fullscreen {
top: 5em;
right: 0.5em;
}
.fullscreen:-webkit-full-screen {
height: 100%;
margin: 0;
}
.fullscreen:-ms-fullscreen {
height: 100%;
}
.fullscreen:fullscreen {
height: 100%;
}
.fullscreen {
margin-bottom: 10px;
width: 100%;
height: 400px;
}
.example-spinner {
position: absolute;
top: 40%;
left: 40%;
width: 20%;
height: 20%;
z-index: 1000;
}
.example-spinner>img {
width: 100%;
}