-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathleaflet-responsive-attribution.css
More file actions
45 lines (40 loc) · 1.04 KB
/
leaflet-responsive-attribution.css
File metadata and controls
45 lines (40 loc) · 1.04 KB
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
.leaflet-container .leaflet-control-attribution {
padding: 2px 6px;
background: rgba(255, 255, 255, 0.9);
}
.leaflet-container .leaflet-control-attribution.leaflet-compact-attribution {
width: auto !important;
margin: 10px 44px 0 10px;
padding: 7px;
border-radius: 2px;
background: rgba(255, 255, 255, 0.9);
visibility: hidden;
}
.leaflet-compact-attribution-label:after {
font-family: 'FontAwesome';
content: '\f129';
position: absolute;
right: 0;
bottom: 0;
z-index: 1;
display: inline-block;
width: 30px;
height: 30px;
background: white;
border-radius: 50%;
border: 1px solid #ccc;
line-height: 28px;
text-align: center;
font-size: 14px;
cursor: pointer;
visibility: visible;
}
.leaflet-compact-attribution-toggle, .leaflet-compact-attribution-label {
display: none;
}
.leaflet-compact-attribution ~ .leaflet-compact-attribution-label {
display: block;
}
.leaflet-compact-attribution-toggle:checked ~ .leaflet-control-attribution.leaflet-compact-attribution {
visibility: visible;
}