leaflet-polyline-segment-edit
Version:
An extension to Leaflet.draw to allow editing large polylines one chunk at the time
104 lines (86 loc) • 1.5 kB
CSS
html{overflow-y: scroll;}
body{
margin: 0;
padding: 0;
font-size: 13px;
font-family: 'Roboto', sans-serif;
color: #919191;
background-color: white;
overflow-x: hidden;
}
.clear:after{content:"."; display:block; height:0; clear:both; visibility:hidden; line-height:0;}
.clear{display:block; clear:both;}
html[xmlns] .clear{display:block;}
* html .clear{height:1%;}
div.wrapper{display:block; width:100%; margin:0; padding:0; text-align:left;}
#header, #container {
display: block;
width: 960px;
margin: 0 auto;
}
.left { float: left; }
.right { float: right; }
h1 {
color: #00B484;
}
a {
color: #097BCD;
}
p {
margin: 5px 0;
font-size: 18px;
}
#header{
padding: 5px 0;
}
#container{
padding: 10px 0;
}
#map {
width: 100%;
height: 550px;
background-color: white;
}
#button-wrapper {
width: 100%;
}
#toggle-btn {
width: 120px;
background-color: #00B484;
border: none;
float: right;
margin-bottom: 10px;
padding: 8px;
cursor: pointer;
}
#toggle-btn:hover {
background-color: #42C4A0;
}
#toggle-btn span {
color: white;
font-size: 18px;
}
footer {
padding: 20px 10px;
width: 100%;
position: absolute;
bottom: 0;
background-color: #00B484;
box-sizing: border-box;
}
footer div {
display: block;
width: 960px;
margin: 0 auto;
}
#logo-lemaf {
background: url(logo-lemaf.svg);
background-size: cover;
background-repeat: no-repeat;
width: 144px;
height: 30px;
display: block;
}
.leaflet-editing-icon {
border-radius: 50%;
}