-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
styles.css
94 lines (75 loc) · 1.33 KB
/
styles.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
/* Control color. */
:root {
--farmos-map-accent-color: green;
}
.ol-control {
background-color: rgba(255, 255, 255, 0.25);
}
.ol-control svg {
fill: var(--farmos-map-accent-color);
}
.ol-control button {
color: var(--farmos-map-accent-color);
background-color: rgba(255, 255, 255, 0.8);
}
.ol-control button:hover,
.ol-control button:focus {
background-color: rgba(255, 255, 255, 1);
}
.ol-scale-line {
background: rgba(255, 255, 255, 0.25);
}
/* Control backgrounds. */
.ol-geocoder .gcd-gl-btn {
background-image: none;
}
.ol-geocoder .gcd-gl-btn::after {
content: '\1f50d';
}
.layer-switcher > button {
background-size: 1.5em 1.5em;
}
/* Control sizing. */
.ol-control button,
.ol-geocoder .gcd-gl-btn {
height: 1.75em;
width: 1.75em;
}
.ol-geocoder .gcd-gl-control {
width: 2.4em;
height: 2.4em;
font-size: 1.14em;
}
.ol-geocoder .gcd-gl-expanded {
width: 16em;
height: 2.4em;
}
.ol-geocoder .gcd-gl-input {
height: 2.4em;
top: 0.125em;
left: 3em;
}
/* Control positioning. */
.ol-geolocate.ol-control {
left: 3.5em;
}
.ol-geocoder.gcd-gl-container {
top: 0.5em;
left: 7em;
}
.ol-edit.ol-control {
top: 4.75em;
}
.ol-rotate.ol-control {
right: 3.5em;
}
.layer-switcher {
top: 3.5em;
}
.layer-switcher.shown {
max-height: 300px;
}
/* Popup styles. */
.ol-popup {
padding: 0.75em;
}