-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlegend.css
More file actions
67 lines (64 loc) · 1.09 KB
/
legend.css
File metadata and controls
67 lines (64 loc) · 1.09 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.ol-legend {
bottom: .5em;
left: .5em;
max-width: calc(100% - 1.3em);
}
.ol-legend > div {
font-size:small;
}
.ol-legend-label {
margin:0.5em;
border-bottom:1px solid #333;
}
.ol-legend ul {
margin: 0;
padding: 0 .5em;
color: #000;
text-shadow: 0 0 2px #fff;
display: flex;
flex-wrap: wrap;
}
.ol-legend li {
flex-basis: 22%;
margin-right:2em;
display: flex;
align-items: center;
}
.ol-legend li span {
margin-left:0.5em;
}
.ol-legend li span::first-letter {
text-transform:uppercase;
}
.ol-legend li:not(:last-child):after {
content: " ";
}
.ol-legend img {
max-height: 2em;
max-width: inherit;
vertical-align: middle;
}
.ol-legend span{
display: inline-block;
}
.ol-legend button {
display: inline-block;
}
.ol-legend.ol-collapsed div div {
display: none;
}
.ol-legend:not(.ol-collapsed) {
background: rgba(255,255,255,0.8);
}
.ol-legend.ol-uncollapsible {
bottom: 0;
right: 0;
border-radius: 4px 4px 0;
}
.ol-legend.ol-uncollapsible img {
margin-top: -.2em;
max-height: 1.6em;
}
.ol-legend.ol-uncollapsible button {
display: none;
}