forked from mikeskaug/Leaflet.Legend
-
Notifications
You must be signed in to change notification settings - Fork 3
/
leaflet-legend.css
65 lines (58 loc) · 1.15 KB
/
leaflet-legend.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
.leaflet-legend {
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
background: #fff;
border-radius: 5px;
}
a.leaflet-legend-toggle {
width: 36px;
height: 36px;
}
.leaflet-touch .leaflet-legend-toggle {
width: 44px;
height: 44px;
}
.leaflet-legend .leaflet-legend-list,
.leaflet-legend-expanded .leaflet-legend-toggle {
display: none;
}
.leaflet-legend-expanded .leaflet-legend-list {
display: block;
position: relative;
padding: 0;
}
a.leaflet-legend-toggle {
color: #000 !important;
text-decoration: none;
padding: 6px;
}
a.leaflet-legend-toggle i {
font-size: 30px;
padding: 6px 0px;
}
.leaflet-legend-expanded {
padding: 6px 10px 6px 6px;
color: #333;
background: #fff;
}
.leaflet-legend-list {
padding: 6px;
}
.leaflet-legend-item {
white-space: nowrap;
padding-bottom: 2px;
}
.leaflet-legend-text, .leaflet-legend-color {
display: inline-block;
}
.leaflet-legend-color {
width: 20px;
heigth: 20px;
margin-right: 4px;
}
.leaflet-touch .leaflet-legend {
box-shadow: none;
}
.leaflet-touch .leaflet-legend {
border: 2px solid rgba(0,0,0,0.2);
background-clip: padding-box;
}