-
Notifications
You must be signed in to change notification settings - Fork 9
/
L.Control.Geonames.css
116 lines (99 loc) · 3.22 KB
/
L.Control.Geonames.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
.leaflet-top.leaflet-center {
left: 10px;
right: 10px;
}
.leaflet-geonames-search {
background-color: #FFF;
width: 34px;
max-width: 300px;
box-sizing: border-box;
}
.leaflet-geonames-search.active {
width: 100%;
}
.leaflet-geonames-search a {
border-radius: 4px;
position: absolute;
left: 0;
top: 0;
background-color: transparent !important;
border: none !important;
}
.leaflet-geonames-search form {
width: 100%;
height: 30px;
}
.leaflet-geonames-search input {
padding: 6px 6px 2px 30px;
margin: 0;
border: none;
display: none;
width: 100%;
font-size: 12pt;
box-sizing: border-box;
-ms-box-sizing: border-box;
}
.leaflet-geonames-search ul {
display: none;
list-style: none;
padding: 0;
margin: 0;
clear: both;
}
.leaflet-geonames-search ul li {
padding: 4px 8px;
border-top: 1px solid #DDD;
font-size: 1.1em;
}
.leaflet-geonames-search ul.hasResults li:hover {
background: #F2F2F2;
cursor: pointer;
}
.leaflet-geonames-search ul li em {
color: #999;
}
.leaflet-geonames-search input:focus {
outline: 0;
}
.leaflet-geonames-search.active input,
.leaflet-geonames-search.active label {
display: inline-block;
}
.leaflet-geonames-search ul.hasResults,
.leaflet-geonames-search ul.noResults {
display: block;
}
.leaflet-geonames-search ul.noResults {
color: #999;
font-style: italic;
}
.leaflet-geonames-icon {
background: transparent no-repeat center center;
/*src: https://material.io/icons/#ic_search*/
background-image: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWln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NEgweiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==);
animation: spin 2s infinite linear;
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg)
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg)
}
}
@keyframes spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg)
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg)
}
}