| 1 |
.leaflet-control-geocoder { |
| 2 |
border-radius: 4px; |
| 3 |
background: #fff; |
| 4 |
min-width: 26px; |
| 5 |
min-height: 26px |
| 6 |
} |
| 7 |
|
| 8 |
.leaflet-touch .leaflet-control-geocoder { |
| 9 |
min-width: 30px; |
| 10 |
min-height: 30px |
| 11 |
} |
| 12 |
|
| 13 |
.leaflet-control-geocoder a, .leaflet-control-geocoder .leaflet-control-geocoder-icon { |
| 14 |
border-bottom: none; |
| 15 |
display: inline-block |
| 16 |
} |
| 17 |
|
| 18 |
.leaflet-control-geocoder .leaflet-control-geocoder-alternatives a { |
| 19 |
width: inherit; |
| 20 |
height: inherit; |
| 21 |
line-height: inherit |
| 22 |
} |
| 23 |
|
| 24 |
.leaflet-control-geocoder a:hover, .leaflet-control-geocoder .leaflet-control-geocoder-icon:hover { |
| 25 |
border-bottom: none; |
| 26 |
display: inline-block |
| 27 |
} |
| 28 |
|
| 29 |
.leaflet-control-geocoder-form { |
| 30 |
display: none; |
| 31 |
vertical-align: middle |
| 32 |
} |
| 33 |
|
| 34 |
.leaflet-control-geocoder-expanded .leaflet-control-geocoder-form { |
| 35 |
display: inline-block |
| 36 |
} |
| 37 |
|
| 38 |
.leaflet-control-geocoder-form input { |
| 39 |
font-size: 120%; |
| 40 |
border: 0; |
| 41 |
background-color: transparent; |
| 42 |
width: 246px |
| 43 |
} |
| 44 |
|
| 45 |
.leaflet-control-geocoder-icon { |
| 46 |
border-radius: 4px; |
| 47 |
width: 26px; |
| 48 |
height: 26px; |
| 49 |
border: none; |
| 50 |
background-color: #fff; |
| 51 |
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.2 13l3.4 6.6c.6 1.1 2.5-.4 2-1.2l-4-6.2z'/%3E%3Ccircle cx='10.8' cy='8.9' r='3.9' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); |
| 52 |
background-repeat: no-repeat; |
| 53 |
background-position: center; |
| 54 |
cursor: pointer |
| 55 |
} |
| 56 |
|
| 57 |
.leaflet-touch .leaflet-control-geocoder-icon { |
| 58 |
width: 30px; |
| 59 |
height: 30px |
| 60 |
} |
| 61 |
|
| 62 |
.leaflet-control-geocoder-throbber .leaflet-control-geocoder-icon { |
| 63 |
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23000' stroke-linecap='round' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cdefs/%3E%3Cg%3E%3Cpath stroke-opacity='.1' d='M14 8.4l3-5'/%3E%3Cpath stroke-opacity='.2' d='M15.6 10l5-3'/%3E%3Cpath stroke-opacity='.3' d='M16.2 12H22'/%3E%3Cpath stroke-opacity='.4' d='M15.6 14l5 3m-6.5-1.4l2.9 5'/%3E%3Cpath stroke-opacity='.5' d='M12 16.2V22m-2-6.4l-3 5'/%3E%3Cpath stroke-opacity='.6' d='M8.4 14l-5 3'/%3E%3Cpath stroke-opacity='.7' d='M7.8 12H2'/%3E%3Cpath stroke-opacity='.8' d='M8.4 10l-5-3'/%3E%3Cpath stroke-opacity='.9' d='M10 8.4l-3-5'/%3E%3Cpath d='M12 7.8V2'/%3E%3CanimateTransform attributeName='transform' calcMode='discrete' dur='1s' repeatCount='indefinite' type='rotate' values='0 12 12;30 12 12;60 12 12;90 12 12;120 12 12;150 12 12;180 12 12;210 12 12;240 12 12;270 12 12;300 12 12;330 12 12'/%3E%3C/g%3E%3C/svg%3E") |
| 64 |
} |
| 65 |
|
| 66 |
.leaflet-control-geocoder-form-no-error { |
| 67 |
display: none |
| 68 |
} |
| 69 |
|
| 70 |
.leaflet-control-geocoder-form input:focus { |
| 71 |
outline: none |
| 72 |
} |
| 73 |
|
| 74 |
.leaflet-control-geocoder-form button { |
| 75 |
display: none |
| 76 |
} |
| 77 |
|
| 78 |
.leaflet-control-geocoder-error { |
| 79 |
margin-top: 8px; |
| 80 |
margin-left: 8px; |
| 81 |
display: block; |
| 82 |
color: #444 |
| 83 |
} |
| 84 |
|
| 85 |
.leaflet-control-geocoder-alternatives { |
| 86 |
display: block; |
| 87 |
width: 272px; |
| 88 |
list-style: none; |
| 89 |
padding: 0; |
| 90 |
margin: 0 |
| 91 |
} |
| 92 |
|
| 93 |
.leaflet-control-geocoder-alternatives-minimized { |
| 94 |
display: none; |
| 95 |
height: 0 |
| 96 |
} |
| 97 |
|
| 98 |
.leaflet-control-geocoder-alternatives li { |
| 99 |
white-space: nowrap; |
| 100 |
display: block; |
| 101 |
overflow: hidden; |
| 102 |
padding: 5px 8px; |
| 103 |
text-overflow: ellipsis; |
| 104 |
border-bottom: 1px solid #ccc; |
| 105 |
cursor: pointer |
| 106 |
} |
| 107 |
|
| 108 |
.leaflet-control-geocoder-alternatives li a, .leaflet-control-geocoder-alternatives li a:hover { |
| 109 |
width: inherit; |
| 110 |
height: inherit; |
| 111 |
line-height: inherit; |
| 112 |
background: inherit; |
| 113 |
border-radius: inherit; |
| 114 |
text-align: left |
| 115 |
} |
| 116 |
|
| 117 |
.leaflet-control-geocoder-alternatives li:last-child { |
| 118 |
border-bottom: none |
| 119 |
} |
| 120 |
|
| 121 |
.leaflet-control-geocoder-alternatives li:hover, .leaflet-control-geocoder-selected { |
| 122 |
background-color: #f5f5f5 |
| 123 |
} |
| 124 |
|
| 125 |
.leaflet-control-geocoder-address-context { |
| 126 |
color: #666 |
| 127 |
} |