ol 7.0.0-dev.1659294315609 → 7.0.0-dev.1659294938999
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ol.css +88 -39
- package/package.json +1 -1
package/ol.css
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--ol-background-color: white;
|
|
3
|
+
--ol-foreground-color: #333333;
|
|
4
|
+
--ol-subtle-foreground-color: #666666;
|
|
5
|
+
--ol-subtle-background-color: rgba(128, 128, 128, 0.25);
|
|
6
|
+
--ol-partial-background-color: rgba(255, 255, 255, 0.75);
|
|
7
|
+
}
|
|
8
|
+
|
|
1
9
|
.ol-box {
|
|
2
10
|
box-sizing: border-box;
|
|
3
11
|
border-radius: 2px;
|
|
4
|
-
border: 1.5px solid
|
|
5
|
-
background-color:
|
|
12
|
+
border: 1.5px solid var(--ol-background-color);
|
|
13
|
+
background-color: var(--ol-subtle-background-color);
|
|
6
14
|
}
|
|
7
15
|
|
|
8
16
|
.ol-mouse-position {
|
|
@@ -12,122 +20,138 @@
|
|
|
12
20
|
}
|
|
13
21
|
|
|
14
22
|
.ol-scale-line {
|
|
15
|
-
background:
|
|
23
|
+
background: var(--ol-partial-background-color);
|
|
16
24
|
border-radius: 4px;
|
|
17
25
|
bottom: 8px;
|
|
18
26
|
left: 8px;
|
|
19
27
|
padding: 2px;
|
|
20
28
|
position: absolute;
|
|
21
29
|
}
|
|
30
|
+
|
|
22
31
|
.ol-scale-line-inner {
|
|
23
|
-
border: 1px solid
|
|
32
|
+
border: 1px solid var(--ol-subtle-foreground-color);
|
|
24
33
|
border-top: none;
|
|
25
|
-
color:
|
|
34
|
+
color: var(--ol-foreground-color);
|
|
26
35
|
font-size: 10px;
|
|
27
36
|
text-align: center;
|
|
28
37
|
margin: 1px;
|
|
29
38
|
will-change: contents, width;
|
|
30
39
|
transition: all 0.25s;
|
|
31
40
|
}
|
|
32
|
-
|
|
33
|
-
|
|
41
|
+
|
|
42
|
+
.ol-scale-singlebar-even {
|
|
43
|
+
background-color: var(--ol-subtle-foreground-color);
|
|
34
44
|
}
|
|
35
|
-
|
|
36
|
-
|
|
45
|
+
|
|
46
|
+
.ol-scale-singlebar-odd {
|
|
47
|
+
background-color: var(--ol-background-color);
|
|
37
48
|
}
|
|
49
|
+
|
|
38
50
|
.ol-scale-bar {
|
|
39
51
|
position: absolute;
|
|
40
52
|
bottom: 8px;
|
|
41
53
|
left: 8px;
|
|
42
54
|
}
|
|
55
|
+
|
|
43
56
|
.ol-scale-step-marker {
|
|
44
57
|
width: 1px;
|
|
45
58
|
height: 15px;
|
|
46
|
-
background-color:
|
|
59
|
+
background-color: var(--ol-foreground-color);
|
|
47
60
|
float: right;
|
|
48
61
|
z-index: 10;
|
|
49
62
|
}
|
|
63
|
+
|
|
50
64
|
.ol-scale-step-text {
|
|
51
65
|
position: absolute;
|
|
52
66
|
bottom: -5px;
|
|
53
|
-
font-size:
|
|
67
|
+
font-size: 10px;
|
|
54
68
|
z-index: 11;
|
|
55
|
-
color:
|
|
56
|
-
text-shadow: -
|
|
69
|
+
color: var(--ol-foreground-color);
|
|
70
|
+
text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color);
|
|
57
71
|
}
|
|
72
|
+
|
|
58
73
|
.ol-scale-text {
|
|
59
74
|
position: absolute;
|
|
60
|
-
font-size:
|
|
75
|
+
font-size: 12px;
|
|
61
76
|
text-align: center;
|
|
62
77
|
bottom: 25px;
|
|
63
|
-
color:
|
|
64
|
-
text-shadow: -
|
|
78
|
+
color: var(--ol-foreground-color);
|
|
79
|
+
text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color);
|
|
65
80
|
}
|
|
81
|
+
|
|
66
82
|
.ol-scale-singlebar {
|
|
67
83
|
position: relative;
|
|
68
84
|
height: 10px;
|
|
69
85
|
z-index: 9;
|
|
70
86
|
box-sizing: border-box;
|
|
71
|
-
border: 1px solid
|
|
87
|
+
border: 1px solid var(--ol-foreground-color);
|
|
72
88
|
}
|
|
73
89
|
|
|
74
90
|
.ol-unsupported {
|
|
75
91
|
display: none;
|
|
76
92
|
}
|
|
77
|
-
|
|
93
|
+
|
|
94
|
+
.ol-viewport,
|
|
95
|
+
.ol-unselectable {
|
|
78
96
|
-webkit-touch-callout: none;
|
|
79
97
|
-webkit-user-select: none;
|
|
80
98
|
-moz-user-select: none;
|
|
81
99
|
user-select: none;
|
|
82
|
-
-webkit-tap-highlight-color:
|
|
100
|
+
-webkit-tap-highlight-color: transparent;
|
|
83
101
|
}
|
|
102
|
+
|
|
84
103
|
.ol-viewport canvas {
|
|
85
104
|
all: unset;
|
|
86
105
|
}
|
|
106
|
+
|
|
87
107
|
.ol-selectable {
|
|
88
108
|
-webkit-touch-callout: default;
|
|
89
109
|
-webkit-user-select: text;
|
|
90
110
|
-moz-user-select: text;
|
|
91
111
|
user-select: text;
|
|
92
112
|
}
|
|
113
|
+
|
|
93
114
|
.ol-grabbing {
|
|
94
115
|
cursor: -webkit-grabbing;
|
|
95
116
|
cursor: -moz-grabbing;
|
|
96
117
|
cursor: grabbing;
|
|
97
118
|
}
|
|
119
|
+
|
|
98
120
|
.ol-grab {
|
|
99
121
|
cursor: move;
|
|
100
122
|
cursor: -webkit-grab;
|
|
101
123
|
cursor: -moz-grab;
|
|
102
124
|
cursor: grab;
|
|
103
125
|
}
|
|
126
|
+
|
|
104
127
|
.ol-control {
|
|
105
128
|
position: absolute;
|
|
106
|
-
background-color:
|
|
129
|
+
background-color: var(--ol-subtle-background-color);
|
|
107
130
|
border-radius: 4px;
|
|
108
|
-
padding: 2px;
|
|
109
|
-
}
|
|
110
|
-
.ol-control:hover {
|
|
111
|
-
background-color: rgba(255,255,255,0.6);
|
|
112
131
|
}
|
|
132
|
+
|
|
113
133
|
.ol-zoom {
|
|
114
134
|
top: .5em;
|
|
115
135
|
left: .5em;
|
|
116
136
|
}
|
|
137
|
+
|
|
117
138
|
.ol-rotate {
|
|
118
139
|
top: .5em;
|
|
119
140
|
right: .5em;
|
|
120
141
|
transition: opacity .25s linear, visibility 0s linear;
|
|
121
142
|
}
|
|
143
|
+
|
|
122
144
|
.ol-rotate.ol-hidden {
|
|
123
145
|
opacity: 0;
|
|
124
146
|
visibility: hidden;
|
|
125
147
|
transition: opacity .25s linear, visibility 0s linear .25s;
|
|
126
148
|
}
|
|
149
|
+
|
|
127
150
|
.ol-zoom-extent {
|
|
128
151
|
top: 4.643em;
|
|
129
152
|
left: .5em;
|
|
130
153
|
}
|
|
154
|
+
|
|
131
155
|
.ol-full-screen {
|
|
132
156
|
right: .5em;
|
|
133
157
|
top: .5em;
|
|
@@ -137,7 +161,7 @@
|
|
|
137
161
|
display: block;
|
|
138
162
|
margin: 1px;
|
|
139
163
|
padding: 0;
|
|
140
|
-
color:
|
|
164
|
+
color: var(--ol-subtle-foreground-color);
|
|
141
165
|
font-weight: bold;
|
|
142
166
|
text-decoration: none;
|
|
143
167
|
font-size: inherit;
|
|
@@ -145,42 +169,49 @@
|
|
|
145
169
|
height: 1.375em;
|
|
146
170
|
width: 1.375em;
|
|
147
171
|
line-height: .4em;
|
|
148
|
-
background-color:
|
|
172
|
+
background-color: var(--ol-background-color);
|
|
149
173
|
border: none;
|
|
150
174
|
border-radius: 2px;
|
|
151
175
|
}
|
|
176
|
+
|
|
152
177
|
.ol-control button::-moz-focus-inner {
|
|
153
178
|
border: none;
|
|
154
179
|
padding: 0;
|
|
155
180
|
}
|
|
181
|
+
|
|
156
182
|
.ol-zoom-extent button {
|
|
157
183
|
line-height: 1.4em;
|
|
158
184
|
}
|
|
185
|
+
|
|
159
186
|
.ol-compass {
|
|
160
187
|
display: block;
|
|
161
188
|
font-weight: normal;
|
|
162
|
-
font-size: 1.2em;
|
|
163
189
|
will-change: transform;
|
|
164
190
|
}
|
|
191
|
+
|
|
165
192
|
.ol-touch .ol-control button {
|
|
166
193
|
font-size: 1.5em;
|
|
167
194
|
}
|
|
195
|
+
|
|
168
196
|
.ol-touch .ol-zoom-extent {
|
|
169
197
|
top: 5.5em;
|
|
170
198
|
}
|
|
199
|
+
|
|
171
200
|
.ol-control button:hover,
|
|
172
201
|
.ol-control button:focus {
|
|
173
202
|
text-decoration: none;
|
|
174
|
-
|
|
203
|
+
outline: 1px solid var(--ol-subtle-foreground-color);
|
|
204
|
+
color: var(--ol-foreground-color);
|
|
175
205
|
}
|
|
206
|
+
|
|
176
207
|
.ol-zoom .ol-zoom-in {
|
|
177
208
|
border-radius: 2px 2px 0 0;
|
|
178
209
|
}
|
|
210
|
+
|
|
179
211
|
.ol-zoom .ol-zoom-out {
|
|
180
212
|
border-radius: 0 0 2px 2px;
|
|
181
213
|
}
|
|
182
214
|
|
|
183
|
-
|
|
184
215
|
.ol-attribution {
|
|
185
216
|
text-align: right;
|
|
186
217
|
bottom: .5em;
|
|
@@ -190,47 +221,58 @@
|
|
|
190
221
|
flex-flow: row-reverse;
|
|
191
222
|
align-items: center;
|
|
192
223
|
}
|
|
224
|
+
|
|
193
225
|
.ol-attribution a {
|
|
194
|
-
color:
|
|
226
|
+
color: var(--ol-subtle-foreground-color);
|
|
195
227
|
text-decoration: none;
|
|
196
228
|
}
|
|
229
|
+
|
|
197
230
|
.ol-attribution ul {
|
|
198
231
|
margin: 0;
|
|
199
232
|
padding: 1px .5em;
|
|
200
|
-
color:
|
|
201
|
-
text-shadow: 0 0 2px
|
|
233
|
+
color: var(--ol-foreground-color);
|
|
234
|
+
text-shadow: 0 0 2px var(--ol-background-color);
|
|
202
235
|
font-size: 12px;
|
|
203
236
|
}
|
|
237
|
+
|
|
204
238
|
.ol-attribution li {
|
|
205
239
|
display: inline;
|
|
206
240
|
list-style: none;
|
|
207
241
|
}
|
|
242
|
+
|
|
208
243
|
.ol-attribution li:not(:last-child):after {
|
|
209
244
|
content: " ";
|
|
210
245
|
}
|
|
246
|
+
|
|
211
247
|
.ol-attribution img {
|
|
212
248
|
max-height: 2em;
|
|
213
249
|
max-width: inherit;
|
|
214
250
|
vertical-align: middle;
|
|
215
251
|
}
|
|
252
|
+
|
|
216
253
|
.ol-attribution button {
|
|
217
254
|
flex-shrink: 0;
|
|
218
255
|
}
|
|
256
|
+
|
|
219
257
|
.ol-attribution.ol-collapsed ul {
|
|
220
258
|
display: none;
|
|
221
259
|
}
|
|
260
|
+
|
|
222
261
|
.ol-attribution:not(.ol-collapsed) {
|
|
223
|
-
background:
|
|
262
|
+
background: var(--ol-partial-background-color);
|
|
224
263
|
}
|
|
264
|
+
|
|
225
265
|
.ol-attribution.ol-uncollapsible {
|
|
226
266
|
bottom: 0;
|
|
227
267
|
right: 0;
|
|
228
268
|
border-radius: 4px 0 0;
|
|
229
269
|
}
|
|
270
|
+
|
|
230
271
|
.ol-attribution.ol-uncollapsible img {
|
|
231
272
|
margin-top: -.2em;
|
|
232
273
|
max-height: 1.6em;
|
|
233
274
|
}
|
|
275
|
+
|
|
234
276
|
.ol-attribution.ol-uncollapsible button {
|
|
235
277
|
display: none;
|
|
236
278
|
}
|
|
@@ -240,6 +282,7 @@
|
|
|
240
282
|
left: .5em;
|
|
241
283
|
height: 200px;
|
|
242
284
|
}
|
|
285
|
+
|
|
243
286
|
.ol-zoomslider button {
|
|
244
287
|
position: relative;
|
|
245
288
|
height: 10px;
|
|
@@ -253,35 +296,41 @@
|
|
|
253
296
|
left: 0.5em;
|
|
254
297
|
bottom: 0.5em;
|
|
255
298
|
}
|
|
299
|
+
|
|
256
300
|
.ol-overviewmap.ol-uncollapsible {
|
|
257
301
|
bottom: 0;
|
|
258
302
|
left: 0;
|
|
259
303
|
border-radius: 0 4px 0 0;
|
|
260
304
|
}
|
|
305
|
+
|
|
261
306
|
.ol-overviewmap .ol-overviewmap-map,
|
|
262
307
|
.ol-overviewmap button {
|
|
263
308
|
display: block;
|
|
264
309
|
}
|
|
310
|
+
|
|
265
311
|
.ol-overviewmap .ol-overviewmap-map {
|
|
266
|
-
border: 1px solid
|
|
312
|
+
border: 1px solid var(--ol-subtle-foreground-color);
|
|
267
313
|
height: 150px;
|
|
268
|
-
margin: 2px;
|
|
269
314
|
width: 150px;
|
|
270
315
|
}
|
|
316
|
+
|
|
271
317
|
.ol-overviewmap:not(.ol-collapsed) button {
|
|
272
|
-
bottom:
|
|
273
|
-
left:
|
|
318
|
+
bottom: 0;
|
|
319
|
+
left: 0;
|
|
274
320
|
position: absolute;
|
|
275
321
|
}
|
|
322
|
+
|
|
276
323
|
.ol-overviewmap.ol-collapsed .ol-overviewmap-map,
|
|
277
324
|
.ol-overviewmap.ol-uncollapsible button {
|
|
278
325
|
display: none;
|
|
279
326
|
}
|
|
327
|
+
|
|
280
328
|
.ol-overviewmap:not(.ol-collapsed) {
|
|
281
|
-
background:
|
|
329
|
+
background: var(--ol-subtle-background-color);
|
|
282
330
|
}
|
|
331
|
+
|
|
283
332
|
.ol-overviewmap-box {
|
|
284
|
-
border:
|
|
333
|
+
border: 1.5px dotted var(--ol-subtle-foreground-color);
|
|
285
334
|
}
|
|
286
335
|
|
|
287
336
|
.ol-overviewmap .ol-overviewmap-box:hover {
|