mirror of
https://github.com/jlengrand/leaflet-geosearch.git
synced 2026-03-10 08:31:26 +00:00
99 lines
1.8 KiB
CSS
99 lines
1.8 KiB
CSS
.geosearch.leaflet-bar form,
|
|
.geosearch.leaflet-bar .message {
|
|
display: none;
|
|
}
|
|
|
|
.geosearch.leaflet-bar.active form {
|
|
display: block;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.geosearch a.leaflet-bar-part {
|
|
border-radius: 4px;
|
|
border-bottom: none;
|
|
background-image: url(../img/geosearch.png);
|
|
background-position: center center;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.geosearch.pending a.leaflet-bar-part {
|
|
background-image: url(../img/spinner.gif);
|
|
background-size: 12px 12px;
|
|
}
|
|
|
|
.geosearch.error a.leaflet-bar-part {
|
|
background-image: url(../img/alert.png);
|
|
background-size: 18px 18px;
|
|
}
|
|
.geosearch.active a.leaflet-bar-part {
|
|
border-radius: 4px 0 0 4px
|
|
}
|
|
|
|
.leaflet-control-geosearch {
|
|
position: relative;
|
|
}
|
|
|
|
.leaflet-control-geosearch form {
|
|
position: absolute;
|
|
top: -2px;
|
|
left: 30px;
|
|
border-radius: 0 4px 4px 0;
|
|
border: 2px solid rgba(0,0,0,0.2);
|
|
border-left: none;
|
|
background-clip: padding-box;
|
|
z-index: -1;
|
|
height: auto;
|
|
margin: 0;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.leaflet-control-geosearch form input {
|
|
min-width: 200px;
|
|
width: 100%;
|
|
border: none;
|
|
outline: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 12px;
|
|
height: 30px;
|
|
border-radius: 0 4px 4px 0;
|
|
text-indent: 8px;
|
|
}
|
|
|
|
.leaflet-control-geosearch {
|
|
border-left: 2px solid rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.leaflet-control-geosearch .message {
|
|
position: absolute;
|
|
top: 26px;
|
|
left: 0px;
|
|
width: 226px;
|
|
color: #FFF;
|
|
background: rgb(40, 40, 40);
|
|
padding: 4px 0 4px 8px;
|
|
}
|
|
|
|
.leaflet-touch .leaflet-control-geosearch .message {
|
|
top: 30px;
|
|
left: -2px;
|
|
}
|
|
|
|
.leaflet-control-geosearch .results > * {
|
|
white-space: nowrap;
|
|
line-height: 24px;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.leaflet-control-geosearch .results.active {
|
|
padding: 8px 0;
|
|
border-top: 1px solid #c6c6c6;
|
|
}
|
|
|
|
.leaflet-control-geosearch .results > div.active,
|
|
.leaflet-control-geosearch .results > div:hover {
|
|
background-color: #f8f8f8;
|
|
border-color: #c6c6c6;
|
|
cursor: pointer;
|
|
}
|