leaflet.bigimage
Version:
A leaflet plugin that allows users to receive a map as an Big image and donwload it.
128 lines (113 loc) • 2.6 kB
CSS
a.polyline-measure-controlOnBgColor, a.polyline-measure-controlOnBgColor:hover {
background-color: #8f8;
}
.polyline-measure-unicode-icon {
font-size: 19px;
font-weight: bold;
display: block;
border-radius: 4px;
cursor: pointer;
}
.polyline-measure-unicode-icon-disable {
display: none ;
}
.print-disabled {
pointer-events: none;
opacity: 0.3;
}
#print-params {
width: 100%;
text-align: center;
}
#print-params > h6 {
text-align: center;
margin-top: 10px;
margin-bottom: 5px;
font-size: 1rem;
font-family: inherit;
font-weight: 500;
color: inherit;
}
#print-params > input[type="number"] {
border: 1px solid rgb(153, 153, 153);
border-radius: 4px;
}
.close {
color: rgba(0, 0, 0, 0.8);
font-size: 20px;
font-weight: bold;
position: absolute;
top: 0;
right: 5px;
}
.close:hover,
.close:focus {
color: #000000;
text-decoration: none;
cursor: pointer;
}
.operation-btn {
text-decoration: none;
display: inline ;
padding-right: 3px;
vertical-align: middle;
font-size: 20px;
margin: 3px;
}
.see-btn:before {
content: '\1F441';
}
.download-btn:before {
content: '\2B07';
}
#print-loading {
display: none;
position: absolute;
top: 50%;
left: 50%;
height: 30px;
width: 30px;
margin: -15px 0 0 -15px;
border: 4px rgb(167, 164, 171) solid;
border-top: 4px #52006d solid;
border-radius: 50%;
-webkit-animation: spin 1s infinite linear;
animation: spin 1s infinite linear;
}
@-webkit-keyframes spin {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@keyframes spin {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
.download-button {
font-family: sans-serif;
display: inline-block;
font-size: 1em;
text-align: center;
padding: 0.3em 0.8em;
background: linear-gradient(45deg, #2b71ad, #0c7162);
color: #fff;
box-shadow: 0 0.4em 0.4em rgba(0, 0, 0, 0.25);
border-radius: 0.4em;
transition: box-shadow 0.2s ease-in-out;
cursor: pointer;
margin-top: 5px;
}
.download-button:hover {
box-shadow: 0 0.1em 0.25em rgba(0,0,0,0.25);
}