Missing CSS was confirmed with issue #680, this commit is to fix it and change ol-mouse-position class to ol-mouseposition. I choose for the moment the top right corner to display the coordinates from mouse position control because of potential conflict with the scaleline control.
199 lines
3.4 KiB
CSS
199 lines
3.4 KiB
CSS
.ol-attribution {
|
|
position: absolute;
|
|
font-size: 10px;
|
|
text-align: right;
|
|
color: #eeeeee;
|
|
bottom: 0;
|
|
right: 0;
|
|
background: rgba(0,60,136,0.3);
|
|
font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
|
|
padding: 2px 4px;
|
|
}
|
|
.ol-attribution a {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
.ol-attribution li {
|
|
display: inline;
|
|
list-style: none;
|
|
}
|
|
.ol-attribution li:not(:last-child):after {
|
|
content: "\2003";
|
|
}
|
|
.ol-dragbox {
|
|
position: absolute;
|
|
border: 2px solid red;
|
|
}
|
|
.ol-full-screen {
|
|
background: rgba(255,255,255,0.4);
|
|
border-radius: 4px;
|
|
padding: 2px;
|
|
position: absolute;
|
|
right: 8px;
|
|
top: 8px;
|
|
}
|
|
@media print {
|
|
.ol-full-screen {
|
|
display: none;
|
|
}
|
|
}
|
|
.ol-full-screen a {
|
|
background: rgba(0,60,136,0.5);
|
|
color: white;
|
|
display: block;
|
|
font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
height: 22px;
|
|
line-height: 19px;
|
|
margin: 1px;
|
|
padding: 0;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
width: 22px;
|
|
}
|
|
a.ol-full-screen-false:after {
|
|
content: "\2194";
|
|
}
|
|
a.ol-full-screen-true:after {
|
|
content: "\00d7";
|
|
}
|
|
|
|
.ol-full-screen div {
|
|
border-radius: 2px;
|
|
}
|
|
.ol-full-screen div a {
|
|
border-radius: 2px;
|
|
}
|
|
.ol-full-screen a:hover {
|
|
background: rgba(0,60,136,0.7);
|
|
}
|
|
.ol-logo {
|
|
bottom: 0;
|
|
left: 0;
|
|
padding: 2px;
|
|
position: absolute;
|
|
}
|
|
.ol-logo ul {
|
|
margin: 0;
|
|
}
|
|
.ol-logo ul li {
|
|
display: inline;
|
|
list-style: none;
|
|
}
|
|
|
|
.ol-mouseposition {
|
|
top: 8px;
|
|
right: 8px;
|
|
position: absolute;
|
|
}
|
|
|
|
.ol-scale-line {
|
|
background: rgba(0,60,136,0.3);
|
|
border-radius: 4px;
|
|
bottom: 8px;
|
|
left: 8px;
|
|
padding: 2px;
|
|
position: absolute;
|
|
}
|
|
.ol-scale-line-inner {
|
|
border: 1px solid #eeeeee;
|
|
border-top: none;
|
|
color: #eeeeee;
|
|
font-size: 10px;
|
|
font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
|
|
text-align: center;
|
|
margin: 1px;
|
|
padding: 0px 2px;
|
|
}
|
|
.ol-unsupported {
|
|
display: none;
|
|
}
|
|
.ol-viewport .ol-unselectable {
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
}
|
|
.ol-zoom {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
background: rgba(255,255,255,0.4);
|
|
border-radius: 4px;
|
|
padding: 2px;
|
|
}
|
|
@media print {
|
|
.ol-zoom {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.ol-zoom a {
|
|
display: block;
|
|
margin: 1px;
|
|
padding: 0;
|
|
color: white;
|
|
font-size: 18px;
|
|
font-family: 'Lucida Grande',Verdana,Geneva,Lucida,Arial,Helvetica,sans-serif;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
text-align: center;
|
|
height: 22px;
|
|
width: 22px;
|
|
line-height: 19px;
|
|
background: rgba(0,60,136,0.5);
|
|
}
|
|
.ol-touch .ol-zoom a {
|
|
font-size: 20px;
|
|
height: 30px;
|
|
width: 30px;
|
|
line-height: 26px;
|
|
}
|
|
.ol-zoom a:hover {
|
|
background: rgba(0,60,136,0.7);
|
|
}
|
|
|
|
.ol-zoom-in {
|
|
border-radius: 2px 2px 0 0;
|
|
}
|
|
.ol-zoom-in:before {
|
|
content: "+";
|
|
}
|
|
|
|
.ol-zoom-out {
|
|
border-radius: 0 0 2px 2px;
|
|
}
|
|
.ol-zoom-out:before {
|
|
content: "\2212";
|
|
}
|
|
|
|
.ol-zoomslider {
|
|
position: absolute;
|
|
top: 67px;
|
|
left: 8px;
|
|
background: rgba(255, 255, 255, 0.4);
|
|
border-radius: 4px;
|
|
width: 28px;
|
|
height: 200px;
|
|
outline: none;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.ol-zoomslider-thumb {
|
|
position: absolute;
|
|
display: block;
|
|
padding: 0;
|
|
margin: 2px;
|
|
background: rgba(0,60,136,0.5);
|
|
border-radius: 2px;
|
|
outline: none;
|
|
overflow: hidden;
|
|
height: 20px;
|
|
width: 24px;
|
|
}
|