-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathleaflet-gps.css
60 lines (56 loc) · 1.33 KB
/
leaflet-gps.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
.leaflet-container .leaflet-control-gps {
position:relative;
float:left;
background:#fff;
color:#1978cf;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
/*background-color: rgba(0, 0, 0, 0.25);*/
background-color: rgba(255, 255, 255, 0.8);
z-index:1000;
/*box-shadow: 0 1px 7px rgba(0,0,0,0.65);*/
border: 2px solid rgba(0,0,0,0.2);
background-clip: padding-box;
margin-left:10px;
margin-top:10px;
}
.leaflet-control-gps .gps-button {
display:block;
float:left;
width:22px;
height:22px;
background-image: url('gps-icon.svg');
background-repeat: no-repeat;
background-position: 1px 1px;
background-color: #475C9D;
border-radius:4px;
padding: 2px;
margin: 2px;
}
.leaflet-control-gps .gps-button:hover,
.leaflet-control-gps .gps-button.active:hover {
background-color: #f4f4f4;
}
.leaflet-control-gps .gps-button.loading,
.leaflet-control-gps .gps-button.loading:hover {
background-position: 1px -28px;
}
.leaflet-control-gps .gps-button.active {
background-position: 1px -52px;
}
.leaflet-control-gps .gps-button.disabled {
background-position: 1px -24px;
}
.leaflet-control-gps .gps-alert {
position:absolute;
left:34px;
bottom:-1px;
width:220px;
padding:2px;
line-height:1em;
color:#e00;
border: 2px solid rgba(0,0,0,0.2);
background-color: rgba(255, 255, 255, 0.75);
border-radius:4px;
}