ol-wfst 5.0.0 → 5.1.0

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.
@@ -1,61 +1,54 @@
1
- :root {
1
+ .ol-wfst--map {
2
2
  --ol-subtle-background-color: transparent;
3
3
  }
4
-
5
- .ol-zoom {
4
+ .ol-wfst--map .ol-control button {
5
+ cursor: pointer;
6
+ }
7
+ .ol-wfst--map .ol-control.ol-zoom {
6
8
  top: inherit;
7
9
  left: inherit;
8
10
  bottom: 5em;
9
11
  right: 0.5em;
10
12
  }
11
-
12
- .ol-wfst--input-field-container {
13
- display: inline-block;
14
- width: 49%;
15
- padding: 5px;
16
- margin-bottom: 10px;
13
+ .ol-wfst--map .ol-control.ol-wfst--fullscreen {
14
+ top: auto;
15
+ left: auto;
16
+ right: 0.5em;
17
+ bottom: 18px;
17
18
  }
18
-
19
- .ol-wfst--input-field-label {
20
- display: block;
21
- font-weight: 500;
22
- margin-bottom: 4px;
19
+ .ol-wfst--map .ol-control.ol-wfst--fullscreen button {
20
+ background: #fff;
21
+ border-radius: 8px;
22
+ outline: 0;
23
+ width: 32px;
24
+ height: 32px;
25
+ display: -webkit-inline-flex;
26
+ display: inline-flex;
27
+ align-items: center;
28
+ justify-content: center;
29
+ padding: 0;
23
30
  }
24
-
25
- .ol-wfst--input-field-input {
26
- width: 100%;
27
- padding: 5px;
28
- border: 1px solid black;
29
- border-radius: 3px;
31
+ .ol-wfst--map .ol-control.ol-wfst--fullscreen button svg {
32
+ width: 20px;
33
+ height: 20px;
34
+ pointer-events: none;
30
35
  }
31
-
32
- .ol-wfst--input-field-input.ol-wfst--input-multiple::-moz-placeholder {
33
- font-style: italic;
34
- color: #888;
36
+ .ol-wfst--map .ol-control.ol-wfst--fullscreen button:hover, .ol-wfst--map .ol-control.ol-wfst--fullscreen button:active {
37
+ opacity: 0.95;
35
38
  }
36
-
37
- .ol-wfst--input-field-input.ol-wfst--input-multiple::placeholder {
38
- font-style: italic;
39
- color: #888;
39
+ .ol-wfst--map .ol-control.ol-wfst--fullscreen button:active {
40
+ transform: translateY(1px);
40
41
  }
41
-
42
- .ol-wfst--edit-modal-notice {
43
- padding: 10px 12px;
44
- margin-bottom: 12px;
45
- border: 1px solid #ffc107;
46
- border-radius: 8px;
47
- background: #fff8e1;
48
- color: #6b5300;
49
- font-size: 13px;
50
- font-weight: 500;
42
+ .ol-wfst--map .ol-box.ol-wfst--dragbox {
43
+ border: 2px dashed #ffc800;
44
+ background-color: rgba(255, 200, 0, 0.1);
45
+ border-radius: 0;
51
46
  }
52
-
53
- .ol-wfst--edit-button-cnt {
47
+ .ol-wfst--map .ol-wfst--edit-button-cnt {
54
48
  display: inline-block;
55
49
  margin: 0 5px;
56
50
  }
57
-
58
- .ol-wfst--edit-button {
51
+ .ol-wfst--map .ol-wfst--edit-button {
59
52
  outline: 0;
60
53
  padding: 8px;
61
54
  height: 38px;
@@ -67,24 +60,22 @@
67
60
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
68
61
  cursor: pointer;
69
62
  }
70
- .ol-wfst--edit-button:hover {
63
+ .ol-wfst--map .ol-wfst--edit-button:hover {
71
64
  background: #f5f5f5;
72
65
  }
73
- .ol-wfst--edit-button:active {
66
+ .ol-wfst--map .ol-wfst--edit-button:active {
74
67
  background: rgb(98%, 98%, 98%);
75
68
  transform: translateY(1px);
76
69
  }
77
- .ol-wfst--edit-button svg {
70
+ .ol-wfst--map .ol-wfst--edit-button svg {
78
71
  fill: #333;
79
72
  width: 20px;
80
73
  height: 20px;
81
74
  }
82
-
83
- .ol-wfst--extend-button-cnt {
75
+ .ol-wfst--map .ol-wfst--extend-button-cnt {
84
76
  display: inline-block;
85
77
  }
86
-
87
- .ol-wfst--extend-button {
78
+ .ol-wfst--map .ol-wfst--extend-button-cnt .ol-wfst--extend-button {
88
79
  outline: 0;
89
80
  display: -webkit-flex;
90
81
  display: flex;
@@ -99,20 +90,19 @@
99
90
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
100
91
  cursor: pointer;
101
92
  }
102
- .ol-wfst--extend-button:hover {
93
+ .ol-wfst--map .ol-wfst--extend-button-cnt .ol-wfst--extend-button:hover {
103
94
  background: #f5f5f5;
104
95
  }
105
- .ol-wfst--extend-button:active {
96
+ .ol-wfst--map .ol-wfst--extend-button-cnt .ol-wfst--extend-button:active {
106
97
  background: rgb(98%, 98%, 98%);
107
98
  transform: translateY(1px);
108
99
  }
109
- .ol-wfst--extend-button svg {
100
+ .ol-wfst--map .ol-wfst--extend-button-cnt .ol-wfst--extend-button svg {
110
101
  fill: #333;
111
102
  width: 16px;
112
103
  height: 16px;
113
104
  }
114
-
115
- .ol-wfst--changes-control {
105
+ .ol-wfst--map .ol-wfst--changes-control {
116
106
  position: absolute;
117
107
  left: 50%;
118
108
  top: 0;
@@ -129,7 +119,6 @@
129
119
  padding: 12px 14px 14px;
130
120
  animation: ol-wfst--slide-down 0.28s ease-out;
131
121
  }
132
-
133
122
  @keyframes ol-wfst--slide-down {
134
123
  from {
135
124
  opacity: 0;
@@ -140,7 +129,7 @@
140
129
  transform: translate(-50%, 0);
141
130
  }
142
131
  }
143
- .ol-wfst--changes-control-el {
132
+ .ol-wfst--map .ol-wfst--changes-control .ol-wfst--changes-control-el {
144
133
  display: -webkit-flex;
145
134
  display: flex;
146
135
  flex-wrap: wrap;
@@ -148,33 +137,7 @@
148
137
  align-items: center;
149
138
  gap: 8px;
150
139
  }
151
- .ol-wfst--changes-control-el button {
152
- margin: 0;
153
- transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
154
- }
155
- .ol-wfst--changes-control-el button:hover {
156
- box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
157
- filter: brightness(1.05);
158
- }
159
- .ol-wfst--changes-control-el button:active {
160
- transform: translateY(-1px);
161
- box-shadow: none;
162
- filter: brightness(0.97);
163
- }
164
- .ol-wfst--changes-control-el .btn-danger-outline {
165
- color: rgba(255, 255, 255, 0.9);
166
- border: 1px solid rgba(255, 255, 255, 0.55);
167
- background: transparent;
168
- }
169
- .ol-wfst--changes-control-el .btn-danger-outline:hover {
170
- background: rgba(255, 255, 255, 0.15);
171
- box-shadow: none;
172
- }
173
- .ol-wfst--changes-control-el .btn-danger-outline:active {
174
- background: rgba(255, 255, 255, 0.25);
175
- }
176
-
177
- .ol-wfst--changes-control-id {
140
+ .ol-wfst--map .ol-wfst--changes-control .ol-wfst--changes-control-el .ol-wfst--changes-control-id {
178
141
  flex-basis: 100%;
179
142
  display: -webkit-flex;
180
143
  display: flex;
@@ -190,13 +153,13 @@
190
153
  letter-spacing: 0.4px;
191
154
  color: #fff;
192
155
  }
193
- .ol-wfst--changes-control-id b {
156
+ .ol-wfst--map .ol-wfst--changes-control .ol-wfst--changes-control-el .ol-wfst--changes-control-id b {
194
157
  display: -webkit-inline-flex;
195
158
  display: inline-flex;
196
159
  align-items: center;
197
160
  gap: 6px;
198
161
  }
199
- .ol-wfst--changes-control-id b::before {
162
+ .ol-wfst--map .ol-wfst--changes-control .ol-wfst--changes-control-el .ol-wfst--changes-control-id b::before {
200
163
  content: "";
201
164
  width: 8px;
202
165
  height: 8px;
@@ -204,7 +167,18 @@
204
167
  background: currentColor;
205
168
  animation: ol-wfst--pulse 1.6s infinite;
206
169
  }
207
- .ol-wfst--changes-control-id i {
170
+ @keyframes ol-wfst--pulse {
171
+ 0% {
172
+ box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
173
+ }
174
+ 70% {
175
+ box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
176
+ }
177
+ 100% {
178
+ box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
179
+ }
180
+ }
181
+ .ol-wfst--map .ol-wfst--changes-control .ol-wfst--changes-control-el .ol-wfst--changes-control-id i {
208
182
  font-style: normal;
209
183
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
210
184
  font-size: 11px;
@@ -219,110 +193,43 @@
219
193
  text-overflow: ellipsis;
220
194
  white-space: nowrap;
221
195
  }
222
-
223
- @keyframes ol-wfst--pulse {
224
- 0% {
225
- box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
226
- }
227
- 70% {
228
- box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
229
- }
230
- 100% {
231
- box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
232
- }
233
- }
234
- .ol-wfst--tools-control {
235
- position: absolute;
236
- top: 0.5em;
237
- left: 0.5em;
238
- }
239
-
240
- .ol-control button {
241
- cursor: pointer;
242
- }
243
-
244
- .ol-wfst--fullscreen {
245
- top: auto;
246
- left: auto;
247
- right: 0.5em;
248
- bottom: 18px;
249
- }
250
- .ol-wfst--fullscreen button {
251
- background: #fff;
252
- border-radius: 8px;
253
- outline: 0;
254
- width: 32px;
255
- height: 32px;
256
- display: -webkit-inline-flex;
257
- display: inline-flex;
258
- align-items: center;
259
- justify-content: center;
260
- padding: 0;
261
- }
262
- .ol-wfst--fullscreen button svg {
263
- width: 20px;
264
- height: 20px;
265
- pointer-events: none;
196
+ .ol-wfst--map .ol-wfst--changes-control .ol-wfst--changes-control-el button {
197
+ margin: 0;
198
+ transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
266
199
  }
267
- .ol-wfst--fullscreen button:hover, .ol-wfst--fullscreen button:active {
268
- opacity: 0.95;
200
+ .ol-wfst--map .ol-wfst--changes-control .ol-wfst--changes-control-el button:hover {
201
+ box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
202
+ filter: brightness(1.05);
269
203
  }
270
- .ol-wfst--fullscreen button:active {
271
- transform: translateY(1px);
204
+ .ol-wfst--map .ol-wfst--changes-control .ol-wfst--changes-control-el button:active {
205
+ transform: translateY(-1px);
206
+ box-shadow: none;
207
+ filter: brightness(0.97);
272
208
  }
273
-
274
- .btn.btn-third {
209
+ .ol-wfst--map .ol-wfst--changes-control .ol-wfst--changes-control-el button:first-of-type {
275
210
  margin-right: auto;
276
- color: #d43f3a;
277
- }
278
-
279
- .ol-wfst--layer-not-visible {
280
- opacity: 0.5 !important;
281
- font-style: italic;
282
211
  }
283
-
284
- .wfst--layer-control {
285
- position: relative;
286
- min-width: 200px;
287
- opacity: 0.7;
288
- display: -webkit-flex;
289
- display: flex;
290
- }
291
- .wfst--layer-control label {
292
- width: 100%;
293
- padding: 5px 10px;
294
- display: -webkit-flex;
295
- display: flex;
296
- gap: 6px;
212
+ .ol-wfst--map .ol-wfst--changes-control .ol-wfst--changes-control-el .btn-danger-outline {
213
+ color: rgba(255, 255, 255, 0.9);
214
+ border: 1px solid rgba(255, 255, 255, 0.55);
215
+ background: transparent;
297
216
  }
298
- .wfst--layer-control.ol-wfst--visible-on {
299
- opacity: 1;
217
+ .ol-wfst--map .ol-wfst--changes-control .ol-wfst--changes-control-el .btn-danger-outline:hover {
218
+ background: rgba(255, 255, 255, 0.15);
219
+ box-shadow: none;
300
220
  }
301
- .wfst--layer-control.ol-wfst--selected-on {
302
- background-color: rgba(94%, 87.3647058824%, 0%, 0.6) !important;
221
+ .ol-wfst--map .ol-wfst--changes-control .ol-wfst--changes-control-el .btn-danger-outline:active {
222
+ background: rgba(255, 255, 255, 0.25);
303
223
  }
304
- .wfst--layer-control:hover, .wfst--layer-control:active {
305
- background-color: #f5f5f5;
224
+ .ol-wfst--map .ol-wfst--tools-control {
225
+ position: absolute;
226
+ top: 0.5em;
227
+ left: 0.5em;
306
228
  }
307
- .wfst--layer-control input[type=radio] {
229
+ .ol-wfst--map .ol-wfst--tools-control.ol-wfst--controls--hidden {
308
230
  display: none;
309
231
  }
310
-
311
- .wfst--tools-control--select-layers .wfst--tools-control--select-layers-title {
312
- padding: 5px 10px;
313
- font-weight: bold;
314
- border-bottom: 1px solid rgba(169, 169, 169, 0.7333333333);
315
- background-color: #dddddd;
316
- }
317
- .wfst--tools-control--select-layers .wfst--tools-control--select-layers-list {
318
- max-height: 150px;
319
- overflow-y: auto;
320
- }
321
- .wfst--tools-control--select-layers .wfst--layer-control:not(.ol-wfst--selected-on) label {
322
- cursor: pointer;
323
- }
324
-
325
- .ol-wfst--tools-control-btn {
232
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn {
326
233
  border-radius: 8px;
327
234
  outline: 0;
328
235
  width: 40px;
@@ -334,23 +241,22 @@
334
241
  border: 1px solid #c0c0c0;
335
242
  background-color: #fff;
336
243
  }
337
- .ol-wfst--tools-control-btn.wfst--active {
244
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn.wfst--active {
338
245
  background-color: #ffed00 !important;
339
246
  opacity: 1;
340
247
  }
341
- .ol-wfst--tools-control-btn:hover, .ol-wfst--tools-control-btn:active {
248
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn:hover, .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn:active {
342
249
  background-color: #f5f5f5;
343
250
  opacity: 0.95;
344
251
  }
345
- .ol-wfst--tools-control-btn:active {
252
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn:active {
346
253
  transform: translateY(1px);
347
254
  }
348
- .ol-wfst--tools-control-btn svg {
255
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn svg {
349
256
  width: 20px;
350
257
  height: 20px;
351
258
  }
352
-
353
- .wfst--tools-control--head {
259
+ .ol-wfst--map .ol-wfst--tools-control .wfst--tools-control--head {
354
260
  position: absolute;
355
261
  background: #dddddd;
356
262
  padding: 10px;
@@ -362,72 +268,51 @@
362
268
  pointer-events: auto;
363
269
  gap: 6px;
364
270
  }
365
- .wfst--tools-control--head label {
271
+ .ol-wfst--map .ol-wfst--tools-control .wfst--tools-control--head label {
366
272
  cursor: pointer;
367
273
  }
368
- .wfst--tools-control--head > * {
274
+ .ol-wfst--map .ol-wfst--tools-control .wfst--tools-control--head > * {
369
275
  display: -webkit-flex;
370
276
  display: flex;
371
277
  }
372
-
373
- .ol-wfst--layers-control {
374
- font-size: 13px;
375
- position: absolute;
376
- left: 10px;
377
- bottom: 10px;
378
- pointer-events: auto;
379
- }
380
- .ol-wfst--layers-control .wfst--tools-control--select-layers {
381
- border-radius: 8px;
382
- border: 1px solid rgba(169, 169, 169, 0.7333333333);
383
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.42);
384
- background-color: #fff;
385
- overflow: hidden;
386
- }
387
-
388
- .ol-wfst--tools-control-select-cnt {
278
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-select-cnt {
389
279
  font-size: 0;
390
280
  }
391
- .ol-wfst--tools-control-select-cnt:not(:first-child) {
281
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-select-cnt:not(:first-child) {
392
282
  margin-left: 6px;
393
283
  }
394
-
395
- .ol-wfst--tools-control-btn-select,
396
- .ol-wfst--tools-control-btn-select-box,
397
- .ol-wfst--tools-control-btn-select-freehand {
284
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn-select,
285
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn-select-box,
286
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn-select-freehand {
398
287
  width: 34px;
399
288
  padding: 0;
400
289
  border-radius: 0;
401
290
  }
402
-
403
- .ol-wfst--tools-control-btn-select {
291
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn-select {
404
292
  border-radius: 8px 0 0 8px;
405
293
  }
406
- .ol-wfst--tools-control-btn-select svg {
294
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn-select svg {
407
295
  width: 11px;
408
296
  height: auto;
409
297
  }
410
-
411
- .ol-wfst--tools-control-btn-select-box {
298
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn-select-box {
412
299
  border-left: 0;
413
300
  }
414
-
415
- .ol-wfst--tools-control-btn-select-freehand {
301
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn-select-freehand {
416
302
  border-left: 0;
417
303
  border-radius: 0 8px 8px 0;
418
304
  }
419
-
420
- .ol-box.ol-wfst--dragbox {
421
- border: 2px dashed #ffc800;
422
- background-color: rgba(255, 200, 0, 0.1);
423
- border-radius: 0;
305
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-query-cnt .ol-wfst--tools-control-btn-query {
306
+ border-radius: 8px;
424
307
  }
425
-
426
- .ol-wfst--tools-control-btn-upload {
308
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-query-cnt svg {
309
+ width: 16px;
310
+ height: 16px;
311
+ }
312
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn-upload {
427
313
  padding: 3px;
428
314
  }
429
-
430
- .wfst--tools-control--select-draw {
315
+ .ol-wfst--map .ol-wfst--tools-control .wfst--tools-control--select-draw {
431
316
  outline: 0;
432
317
  border: 1px solid #c0c0c0;
433
318
  border-radius: 8px;
@@ -442,24 +327,105 @@
442
327
  border-left: 0;
443
328
  border-radius: 0 8px 8px 0;
444
329
  }
445
-
446
- .ol-wfst--tools-control-btn-draw {
330
+ .ol-wfst--map .ol-wfst--tools-control .ol-wfst--tools-control-btn-draw {
447
331
  border-radius: 8px 0 0 8px;
448
332
  opacity: 0.7;
449
333
  }
450
-
451
- .draw-mode .wfst--tools-control--select-draw {
452
- pointer-events: inherit;
334
+ .ol-wfst--map .ol-wfst--tools-control #ol-wfst--upload {
335
+ display: none;
336
+ visibility: hidden;
337
+ }
338
+ .ol-wfst--map .ol-wfst--layers-control {
339
+ font-size: 13px;
340
+ position: absolute;
341
+ left: 10px;
342
+ bottom: 10px;
343
+ pointer-events: auto;
344
+ }
345
+ .ol-wfst--map .ol-wfst--layers-control .ol-wfst--layer-not-visible {
346
+ opacity: 0.5 !important;
347
+ font-style: italic;
348
+ }
349
+ .ol-wfst--map .ol-wfst--layers-control .ol-wfst--layer-control-visible {
350
+ display: inline-block;
351
+ position: relative;
352
+ z-index: 999;
353
+ }
354
+ .ol-wfst--map .ol-wfst--layers-control .ol-wfst--layer-control-visible svg {
355
+ width: 14px;
356
+ height: 14px;
357
+ }
358
+ .ol-wfst--map .ol-wfst--layers-control .ol-wfst--layer-control-visible .ol-wfst--layer-control-visible -btn {
359
+ opacity: 0.6;
360
+ cursor: pointer;
361
+ }
362
+ .ol-wfst--map .ol-wfst--layers-control .ol-wfst--layer-control-visible .ol-wfst--layer-control-visible -btn:hover {
363
+ opacity: 0.9;
364
+ }
365
+ .ol-wfst--map .ol-wfst--layers-control .wfst--tools-control--select-layers {
366
+ border-radius: 8px;
367
+ border: 1px solid rgba(169, 169, 169, 0.7333333333);
368
+ box-shadow: 0 1px 4px rgba(0, 0, 0, 0.42);
369
+ background-color: #fff;
370
+ overflow: hidden;
371
+ }
372
+ .ol-wfst--map .ol-wfst--layers-control .wfst--tools-control--select-layers .wfst--tools-control--select-layers-title {
373
+ padding: 5px 10px;
374
+ font-weight: bold;
375
+ border-bottom: 1px solid rgba(169, 169, 169, 0.7333333333);
376
+ background-color: #dddddd;
377
+ }
378
+ .ol-wfst--map .ol-wfst--layers-control .wfst--tools-control--select-layers .wfst--tools-control--select-layers-list {
379
+ max-height: 150px;
380
+ overflow-y: auto;
381
+ }
382
+ .ol-wfst--map .ol-wfst--layers-control .wfst--tools-control--select-layers .wfst--layer-control:not(.ol-wfst--selected-on) label {
383
+ cursor: pointer;
384
+ }
385
+ .ol-wfst--map .ol-wfst--layers-control .wfst--layer-control {
386
+ position: relative;
387
+ min-width: 200px;
388
+ opacity: 0.7;
389
+ display: -webkit-flex;
390
+ display: flex;
391
+ }
392
+ .ol-wfst--map .ol-wfst--layers-control .wfst--layer-control label {
393
+ width: 100%;
394
+ padding: 5px 10px;
395
+ display: -webkit-flex;
396
+ display: flex;
397
+ gap: 6px;
398
+ }
399
+ .ol-wfst--map .ol-wfst--layers-control .wfst--layer-control.ol-wfst--visible-on {
453
400
  opacity: 1;
454
- background: #fffab5;
455
401
  }
456
-
457
- #ol-wfst--upload {
402
+ .ol-wfst--map .ol-wfst--layers-control .wfst--layer-control.ol-wfst--selected-on {
403
+ background-color: rgba(94%, 87.3647058824%, 0%, 0.6) !important;
404
+ }
405
+ .ol-wfst--map .ol-wfst--layers-control .wfst--layer-control:hover, .ol-wfst--map .ol-wfst--layers-control .wfst--layer-control:active {
406
+ background-color: #f5f5f5;
407
+ }
408
+ .ol-wfst--map .ol-wfst--layers-control .wfst--layer-control input[type=radio] {
458
409
  display: none;
459
- visibility: hidden;
460
410
  }
461
-
462
- .ol-wfst--tools-control--loading {
411
+ .ol-wfst--map .ol-wfst--layers-control .ol-wfst--visible-btn-on {
412
+ display: none;
413
+ }
414
+ .ol-wfst--map .ol-wfst--layers-control .ol-wfst--visible-on .ol-wfst--visible-btn-on {
415
+ display: block;
416
+ }
417
+ .ol-wfst--map .ol-wfst--layers-control .ol-wfst--visible-on .ol-wfst--visible-btn-off {
418
+ display: none;
419
+ }
420
+ .ol-wfst--map .ol-wfst--layers-control .ol-wfst--visible-btn-off {
421
+ display: block;
422
+ }
423
+ .ol-wfst--map .draw-mode .wfst--tools-control--select-draw {
424
+ pointer-events: inherit;
425
+ opacity: 1;
426
+ background: #fffab5;
427
+ }
428
+ .ol-wfst--map .ol-wfst--tools-control--loading {
463
429
  display: none;
464
430
  position: absolute;
465
431
  top: -10px;
@@ -470,8 +436,7 @@
470
436
  border-radius: 4px;
471
437
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
472
438
  }
473
-
474
- .ol-wfst--tools-control--loading::before {
439
+ .ol-wfst--map .ol-wfst--tools-control--loading::before {
475
440
  content: "";
476
441
  position: absolute;
477
442
  top: 0;
@@ -482,7 +447,6 @@
482
447
  border-radius: inherit;
483
448
  animation: ol-wfst-loading-sweep 1.1s ease-in-out infinite;
484
449
  }
485
-
486
450
  @keyframes ol-wfst-loading-sweep {
487
451
  0% {
488
452
  transform: translateX(-100%);
@@ -491,54 +455,10 @@
491
455
  transform: translateX(300%);
492
456
  }
493
457
  }
494
- .ol-wfst--tools-control--loading.ol-wfst--tools-control--loading-show {
458
+ .ol-wfst--map .ol-wfst--tools-control--loading.ol-wfst--tools-control--loading-show {
495
459
  display: block;
496
460
  }
497
-
498
- .ol-wfst--tools-control-visible {
499
- display: inline-block;
500
- position: relative;
501
- z-index: 999;
502
- }
503
-
504
- .ol-wfst--tools-control-visible svg {
505
- width: 14px;
506
- height: 14px;
507
- }
508
-
509
- .ol-wfst--tools-control-visible-btn {
510
- opacity: 0.6;
511
- cursor: pointer;
512
- }
513
-
514
- .ol-wfst--tools-control-visible-btn:hover {
515
- opacity: 0.9;
516
- }
517
-
518
- .ol-wfst--visible-btn-on {
519
- display: none;
520
- }
521
-
522
- .ol-wfst--visible-on .ol-wfst--visible-btn-on {
523
- display: block;
524
- }
525
- .ol-wfst--visible-on .ol-wfst--visible-btn-off {
526
- display: none;
527
- }
528
-
529
- .ol-wfst--visible-btn-off {
530
- display: block;
531
- }
532
-
533
- .ol-wfst--tools-control-query-cnt .ol-wfst--tools-control-btn-query {
534
- border-radius: 8px;
535
- }
536
- .ol-wfst--tools-control-query-cnt svg {
537
- width: 16px;
538
- height: 16px;
539
- }
540
-
541
- .ol-wfst--query-popup {
461
+ .ol-wfst--map .ol-wfst--query-popup {
542
462
  position: relative;
543
463
  width: 260px;
544
464
  max-width: 280px;
@@ -550,8 +470,7 @@
550
470
  color: #333;
551
471
  overflow: hidden;
552
472
  }
553
-
554
- .ol-wfst--query-popup-head {
473
+ .ol-wfst--map .ol-wfst--query-popup .ol-wfst--query-popup-head {
555
474
  display: -webkit-flex;
556
475
  display: flex;
557
476
  align-items: center;
@@ -560,13 +479,11 @@
560
479
  background: #f2f2f2;
561
480
  border-bottom: 1px solid #d9d9d9;
562
481
  }
563
-
564
- .ol-wfst--query-popup-title {
482
+ .ol-wfst--map .ol-wfst--query-popup .ol-wfst--query-popup-title {
565
483
  font-weight: 600;
566
484
  font-size: 12px;
567
485
  }
568
-
569
- .ol-wfst--query-popup-close {
486
+ .ol-wfst--map .ol-wfst--query-popup .ol-wfst--query-popup-close {
570
487
  outline: 0;
571
488
  border: 0;
572
489
  background: transparent;
@@ -576,11 +493,10 @@
576
493
  color: #555;
577
494
  padding: 0 2px;
578
495
  }
579
- .ol-wfst--query-popup-close:hover {
496
+ .ol-wfst--map .ol-wfst--query-popup .ol-wfst--query-popup-close:hover {
580
497
  color: #000;
581
498
  }
582
-
583
- .ol-wfst--query-popup-subtitle {
499
+ .ol-wfst--map .ol-wfst--query-popup .ol-wfst--query-popup-subtitle {
584
500
  display: -webkit-flex;
585
501
  display: flex;
586
502
  align-items: center;
@@ -589,10 +505,10 @@
589
505
  padding: 6px 10px;
590
506
  border-bottom: 1px solid #efefef;
591
507
  }
592
- .ol-wfst--query-popup-subtitle b {
508
+ .ol-wfst--map .ol-wfst--query-popup .ol-wfst--query-popup-subtitle b {
593
509
  font-weight: 600;
594
510
  }
595
- .ol-wfst--query-popup-subtitle i {
511
+ .ol-wfst--map .ol-wfst--query-popup .ol-wfst--query-popup-subtitle i {
596
512
  font-style: normal;
597
513
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
598
514
  font-size: 11px;
@@ -602,33 +518,155 @@
602
518
  text-overflow: ellipsis;
603
519
  white-space: nowrap;
604
520
  }
605
-
606
- .ol-wfst--query-popup-body {
521
+ .ol-wfst--map .ol-wfst--query-popup .ol-wfst--query-popup-body {
607
522
  max-height: 220px;
608
523
  overflow-y: auto;
609
524
  padding: 4px 0;
610
525
  }
611
-
612
- .ol-wfst--query-popup-row {
526
+ .ol-wfst--map .ol-wfst--query-popup .ol-wfst--query-popup-row {
613
527
  display: -webkit-flex;
614
528
  display: flex;
615
529
  gap: 8px;
616
530
  padding: 3px 10px;
617
531
  word-break: break-word;
618
532
  }
619
- .ol-wfst--query-popup-row:nth-child(odd) {
533
+ .ol-wfst--map .ol-wfst--query-popup .ol-wfst--query-popup-row:nth-child(odd) {
620
534
  background: #fafafa;
621
535
  }
622
-
623
- .ol-wfst--query-popup-key {
536
+ .ol-wfst--map .ol-wfst--query-popup .ol-wfst--query-popup-key {
624
537
  flex: 0 0 35%;
625
538
  font-weight: 600;
626
539
  color: #555;
627
540
  overflow: hidden;
628
541
  text-overflow: ellipsis;
629
542
  }
630
-
631
- .ol-wfst--query-popup-value {
543
+ .ol-wfst--map .ol-wfst--query-popup .ol-wfst--query-popup-value {
632
544
  flex: 1;
633
545
  color: #222;
546
+ }
547
+
548
+ .modal .ol-wfst--edit-modal-notice {
549
+ display: -webkit-flex;
550
+ display: flex;
551
+ align-items: center;
552
+ gap: 8px;
553
+ padding: 10px 12px;
554
+ margin-bottom: 12px;
555
+ border: 1px solid #ffc107;
556
+ border-radius: 8px;
557
+ background: #fff8e1;
558
+ color: #6b5300;
559
+ font-size: 13px;
560
+ font-weight: 500;
561
+ }
562
+ .modal .ol-wfst--edit-modal-notice-txt {
563
+ flex: 1;
564
+ }
565
+ .modal .ol-wfst--edit-modal-toolbar-btn {
566
+ outline: 0;
567
+ display: -webkit-inline-flex;
568
+ display: inline-flex;
569
+ align-items: center;
570
+ justify-content: center;
571
+ flex: 0 0 auto;
572
+ padding: 0;
573
+ width: 26px;
574
+ height: 26px;
575
+ background: #ffffff;
576
+ border: 1px solid #b3b3b3;
577
+ border-radius: 8px;
578
+ cursor: pointer;
579
+ }
580
+ .modal .ol-wfst--edit-modal-toolbar-btn:hover {
581
+ background: #f5f5f5;
582
+ }
583
+ .modal .ol-wfst--edit-modal-toolbar-btn:active {
584
+ background: rgb(98%, 98%, 98%);
585
+ transform: translateY(1px);
586
+ }
587
+ .modal .ol-wfst--edit-modal-toolbar-btn svg {
588
+ width: 16px;
589
+ height: 16px;
590
+ }
591
+ .modal .modal-dialog.ol-wfst--edit-table-modal {
592
+ --bs-modal-width: min(90vw, 1400px);
593
+ width: min(90vw, 1400px);
594
+ max-width: min(90vw, 1400px);
595
+ }
596
+ .modal .modal-dialog .btn-danger:first-child {
597
+ margin-right: auto;
598
+ }
599
+ .modal .ol-wfst--edit-table-wrap {
600
+ overflow-x: auto;
601
+ overflow-y: auto;
602
+ max-height: 60vh;
603
+ border: 1px solid #dddddd;
604
+ border-radius: 8px;
605
+ }
606
+ .modal .ol-wfst--edit-table {
607
+ width: 100%;
608
+ border-collapse: collapse;
609
+ font-size: 13px;
610
+ }
611
+ .modal .ol-wfst--edit-table th,
612
+ .modal .ol-wfst--edit-table td {
613
+ border: 1px solid #dddddd;
614
+ padding: 4px 6px;
615
+ text-align: left;
616
+ vertical-align: middle;
617
+ white-space: nowrap;
618
+ }
619
+ .modal .ol-wfst--edit-table th {
620
+ position: -webkit-sticky;
621
+ position: sticky;
622
+ top: 0;
623
+ z-index: 1;
624
+ background: #f2f2f2;
625
+ font-weight: 600;
626
+ }
627
+ .modal .ol-wfst--edit-table .ol-wfst--input-field-input {
628
+ min-width: 120px;
629
+ padding: 2px 4px;
630
+ border: 0;
631
+ border-radius: 0;
632
+ background: transparent;
633
+ }
634
+ .modal .ol-wfst--edit-table .ol-wfst--input-field-input:focus {
635
+ outline: 1px solid #86b7fe;
636
+ background: #f8fbff;
637
+ }
638
+ .modal .ol-wfst--edit-table-fid,
639
+ .modal .ol-wfst--edit-table-geom {
640
+ font-weight: 600;
641
+ color: #555;
642
+ }
643
+ .modal .ol-wfst--edit-table-geom {
644
+ font-style: italic;
645
+ font-size: 12px;
646
+ color: #777;
647
+ }
648
+ .modal .ol-wfst--input-field-container {
649
+ display: inline-block;
650
+ width: 49%;
651
+ padding: 5px;
652
+ margin-bottom: 10px;
653
+ }
654
+ .modal .ol-wfst--input-field-label {
655
+ display: block;
656
+ font-weight: 500;
657
+ margin-bottom: 4px;
658
+ }
659
+ .modal .ol-wfst--input-field-input {
660
+ width: 100%;
661
+ padding: 5px;
662
+ border: 1px solid black;
663
+ border-radius: 3px;
664
+ }
665
+ .modal .ol-wfst--input-field-input.ol-wfst--input-multiple::-moz-placeholder {
666
+ font-style: italic;
667
+ color: #888;
668
+ }
669
+ .modal .ol-wfst--input-field-input.ol-wfst--input-multiple::placeholder {
670
+ font-style: italic;
671
+ color: #888;
634
672
  }