umap-project 3.3.5__py3-none-any.whl → 3.4.0b0__py3-none-any.whl
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.
Potentially problematic release.
This version of umap-project might be problematic. Click here for more details.
- umap/__init__.py +1 -1
- umap/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
- umap/locale/cs_CZ/LC_MESSAGES/django.po +43 -33
- umap/locale/da/LC_MESSAGES/django.mo +0 -0
- umap/locale/da/LC_MESSAGES/django.po +43 -33
- umap/locale/de/LC_MESSAGES/django.mo +0 -0
- umap/locale/de/LC_MESSAGES/django.po +35 -29
- umap/locale/el/LC_MESSAGES/django.mo +0 -0
- umap/locale/el/LC_MESSAGES/django.po +35 -29
- umap/locale/en/LC_MESSAGES/django.po +34 -28
- umap/locale/es/LC_MESSAGES/django.mo +0 -0
- umap/locale/es/LC_MESSAGES/django.po +43 -33
- umap/locale/et/LC_MESSAGES/django.mo +0 -0
- umap/locale/et/LC_MESSAGES/django.po +58 -54
- umap/locale/eu/LC_MESSAGES/django.mo +0 -0
- umap/locale/eu/LC_MESSAGES/django.po +43 -33
- umap/locale/fa_IR/LC_MESSAGES/django.mo +0 -0
- umap/locale/fa_IR/LC_MESSAGES/django.po +43 -33
- umap/locale/fr/LC_MESSAGES/django.mo +0 -0
- umap/locale/fr/LC_MESSAGES/django.po +36 -30
- umap/locale/gl/LC_MESSAGES/django.mo +0 -0
- umap/locale/gl/LC_MESSAGES/django.po +43 -33
- umap/locale/hu/LC_MESSAGES/django.mo +0 -0
- umap/locale/hu/LC_MESSAGES/django.po +35 -29
- umap/locale/is/LC_MESSAGES/django.mo +0 -0
- umap/locale/is/LC_MESSAGES/django.po +43 -33
- umap/locale/it/LC_MESSAGES/django.mo +0 -0
- umap/locale/it/LC_MESSAGES/django.po +43 -33
- umap/locale/nl/LC_MESSAGES/django.mo +0 -0
- umap/locale/nl/LC_MESSAGES/django.po +35 -29
- umap/locale/pl/LC_MESSAGES/django.mo +0 -0
- umap/locale/pl/LC_MESSAGES/django.po +43 -33
- umap/locale/pt/LC_MESSAGES/django.mo +0 -0
- umap/locale/pt/LC_MESSAGES/django.po +43 -33
- umap/locale/th_TH/LC_MESSAGES/django.mo +0 -0
- umap/locale/th_TH/LC_MESSAGES/django.po +310 -109
- umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
- umap/locale/zh_TW/LC_MESSAGES/django.po +80 -70
- umap/management/commands/switch_user.py +2 -2
- umap/static/umap/base.css +89 -32
- umap/static/umap/content.css +129 -33
- umap/static/umap/css/bar.css +82 -20
- umap/static/umap/css/browser.css +163 -0
- umap/static/umap/css/contextmenu.css +15 -0
- umap/static/umap/css/dialog.css +36 -16
- umap/static/umap/css/form.css +122 -32
- umap/static/umap/css/icon.css +46 -3
- umap/static/umap/css/panel.css +7 -3
- umap/static/umap/css/popup.css +34 -8
- umap/static/umap/css/tooltip.css +8 -4
- umap/static/umap/img/16-white.svg +26 -8
- umap/static/umap/img/16.svg +1 -1
- umap/static/umap/img/source/16-white.svg +36 -18
- umap/static/umap/img/source/16.svg +1 -1
- umap/static/umap/js/components/alerts/alert.css +69 -31
- umap/static/umap/js/components/alerts/alert.js +20 -2
- umap/static/umap/js/modules/browser.js +64 -56
- umap/static/umap/js/modules/caption.js +10 -7
- umap/static/umap/js/modules/data/features.js +82 -59
- umap/static/umap/js/modules/data/layer.js +75 -166
- umap/static/umap/js/modules/domutils.js +109 -0
- umap/static/umap/js/modules/filters.js +807 -0
- umap/static/umap/js/modules/form/builder.js +8 -5
- umap/static/umap/js/modules/form/fields.js +110 -220
- umap/static/umap/js/modules/formatter.js +24 -1
- umap/static/umap/js/modules/help.js +3 -2
- umap/static/umap/js/modules/importers/opendata.js +5 -0
- umap/static/umap/js/modules/importers/openrouteservice.js +6 -1
- umap/static/umap/js/modules/managers.js +265 -0
- umap/static/umap/js/modules/permissions.js +35 -31
- umap/static/umap/js/modules/rendering/controls.js +7 -7
- umap/static/umap/js/modules/rendering/icon.js +3 -8
- umap/static/umap/js/modules/rendering/layers/base.js +1 -1
- umap/static/umap/js/modules/rendering/layers/classified.js +17 -10
- umap/static/umap/js/modules/rendering/layers/cluster.js +2 -2
- umap/static/umap/js/modules/rendering/template.js +44 -8
- umap/static/umap/js/modules/rendering/ui.js +29 -23
- umap/static/umap/js/modules/rules.js +4 -3
- umap/static/umap/js/modules/schema.js +3 -6
- umap/static/umap/js/modules/share.js +4 -3
- umap/static/umap/js/modules/tableeditor.js +50 -38
- umap/static/umap/js/modules/templates.js +2 -3
- umap/static/umap/js/modules/ui/bar.js +42 -18
- umap/static/umap/js/modules/ui/dialog.js +33 -31
- umap/static/umap/js/modules/ui/panel.js +21 -7
- umap/static/umap/js/modules/ui/tooltip.js +6 -5
- umap/static/umap/js/modules/umap.js +155 -46
- umap/static/umap/js/modules/utils.js +23 -1
- umap/static/umap/js/umap.core.js +1 -110
- umap/static/umap/locale/am_ET.js +40 -14
- umap/static/umap/locale/am_ET.json +40 -14
- umap/static/umap/locale/ar.js +40 -14
- umap/static/umap/locale/ar.json +40 -14
- umap/static/umap/locale/ast.js +40 -14
- umap/static/umap/locale/ast.json +40 -14
- umap/static/umap/locale/bg.js +40 -14
- umap/static/umap/locale/bg.json +40 -14
- umap/static/umap/locale/br.js +47 -21
- umap/static/umap/locale/br.json +47 -21
- umap/static/umap/locale/ca.js +40 -14
- umap/static/umap/locale/ca.json +40 -14
- umap/static/umap/locale/cs_CZ.js +40 -14
- umap/static/umap/locale/cs_CZ.json +40 -14
- umap/static/umap/locale/da.js +40 -14
- umap/static/umap/locale/da.json +40 -14
- umap/static/umap/locale/de.js +39 -13
- umap/static/umap/locale/de.json +39 -13
- umap/static/umap/locale/el.js +40 -14
- umap/static/umap/locale/el.json +40 -14
- umap/static/umap/locale/en.js +39 -13
- umap/static/umap/locale/en.json +39 -13
- umap/static/umap/locale/en_US.json +40 -14
- umap/static/umap/locale/es.js +40 -14
- umap/static/umap/locale/es.json +40 -14
- umap/static/umap/locale/et.js +79 -53
- umap/static/umap/locale/et.json +79 -53
- umap/static/umap/locale/eu.js +72 -46
- umap/static/umap/locale/eu.json +72 -46
- umap/static/umap/locale/fa_IR.js +40 -14
- umap/static/umap/locale/fa_IR.json +40 -14
- umap/static/umap/locale/fi.js +40 -14
- umap/static/umap/locale/fi.json +40 -14
- umap/static/umap/locale/fr.js +39 -13
- umap/static/umap/locale/fr.json +39 -13
- umap/static/umap/locale/gl.js +40 -14
- umap/static/umap/locale/gl.json +40 -14
- umap/static/umap/locale/he.js +40 -14
- umap/static/umap/locale/he.json +40 -14
- umap/static/umap/locale/hr.js +40 -14
- umap/static/umap/locale/hr.json +40 -14
- umap/static/umap/locale/hu.js +40 -14
- umap/static/umap/locale/hu.json +40 -14
- umap/static/umap/locale/id.js +40 -14
- umap/static/umap/locale/id.json +40 -14
- umap/static/umap/locale/is.js +40 -14
- umap/static/umap/locale/is.json +40 -14
- umap/static/umap/locale/it.js +40 -14
- umap/static/umap/locale/it.json +40 -14
- umap/static/umap/locale/ja.js +40 -14
- umap/static/umap/locale/ja.json +40 -14
- umap/static/umap/locale/ko.js +40 -14
- umap/static/umap/locale/ko.json +40 -14
- umap/static/umap/locale/lt.js +40 -14
- umap/static/umap/locale/lt.json +40 -14
- umap/static/umap/locale/ms.js +40 -14
- umap/static/umap/locale/ms.json +40 -14
- umap/static/umap/locale/nl.js +40 -14
- umap/static/umap/locale/nl.json +40 -14
- umap/static/umap/locale/no.js +40 -14
- umap/static/umap/locale/no.json +40 -14
- umap/static/umap/locale/pl.js +40 -14
- umap/static/umap/locale/pl.json +40 -14
- umap/static/umap/locale/pl_PL.json +40 -14
- umap/static/umap/locale/pt.js +40 -14
- umap/static/umap/locale/pt.json +40 -14
- umap/static/umap/locale/pt_BR.js +40 -14
- umap/static/umap/locale/pt_BR.json +40 -14
- umap/static/umap/locale/pt_PT.js +40 -14
- umap/static/umap/locale/pt_PT.json +40 -14
- umap/static/umap/locale/ro.js +40 -14
- umap/static/umap/locale/ro.json +40 -14
- umap/static/umap/locale/ru.js +40 -14
- umap/static/umap/locale/ru.json +40 -14
- umap/static/umap/locale/sk_SK.js +40 -14
- umap/static/umap/locale/sk_SK.json +40 -14
- umap/static/umap/locale/sl.js +40 -14
- umap/static/umap/locale/sl.json +40 -14
- umap/static/umap/locale/sr.js +40 -14
- umap/static/umap/locale/sr.json +40 -14
- umap/static/umap/locale/sv.js +40 -14
- umap/static/umap/locale/sv.json +40 -14
- umap/static/umap/locale/th_TH.js +40 -14
- umap/static/umap/locale/th_TH.json +40 -14
- umap/static/umap/locale/tr.js +40 -14
- umap/static/umap/locale/tr.json +40 -14
- umap/static/umap/locale/uk_UA.js +40 -14
- umap/static/umap/locale/uk_UA.json +40 -14
- umap/static/umap/locale/vi.js +40 -14
- umap/static/umap/locale/vi.json +40 -14
- umap/static/umap/locale/vi_VN.json +40 -14
- umap/static/umap/locale/zh.js +40 -14
- umap/static/umap/locale/zh.json +40 -14
- umap/static/umap/locale/zh_CN.json +40 -14
- umap/static/umap/locale/zh_TW.Big5.json +40 -14
- umap/static/umap/locale/zh_TW.js +40 -14
- umap/static/umap/locale/zh_TW.json +40 -14
- umap/static/umap/map.css +60 -223
- umap/static/umap/unittests/utils.js +18 -0
- umap/static/umap/vars.css +23 -5
- umap/templates/umap/components/alerts/alert.html +32 -29
- umap/templates/umap/css.html +2 -1
- umap/templates/umap/login_popup_end.html +18 -9
- umap/templates/umap/user_map_table.html +7 -2
- umap/tests/integration/conftest.py +2 -6
- umap/tests/integration/test_anonymous_owned_map.py +89 -36
- umap/tests/integration/test_basics.py +25 -1
- umap/tests/integration/test_browser.py +37 -0
- umap/tests/integration/test_datalayer.py +9 -16
- umap/tests/integration/test_draw_polygon.py +2 -0
- umap/tests/integration/test_edit_marker.py +1 -1
- umap/tests/integration/test_export_map.py +19 -0
- umap/tests/integration/test_fields.py +522 -0
- umap/tests/integration/test_filters.py +617 -0
- umap/tests/integration/test_import.py +15 -42
- umap/tests/integration/test_remote_data.py +60 -4
- umap/tests/integration/test_share.py +4 -4
- umap/tests/integration/test_tableeditor.py +31 -7
- umap/tests/integration/test_websocket_sync.py +3 -1
- umap/tests/test_dashboard.py +10 -0
- umap/urls.py +1 -0
- umap/views.py +5 -0
- {umap_project-3.3.5.dist-info → umap_project-3.4.0b0.dist-info}/METADATA +12 -12
- {umap_project-3.3.5.dist-info → umap_project-3.4.0b0.dist-info}/RECORD +216 -213
- umap/static/umap/js/modules/facets.js +0 -164
- umap/tests/integration/test_facets_browser.py +0 -279
- {umap_project-3.3.5.dist-info → umap_project-3.4.0b0.dist-info}/WHEEL +0 -0
- {umap_project-3.3.5.dist-info → umap_project-3.4.0b0.dist-info}/entry_points.txt +0 -0
- {umap_project-3.3.5.dist-info → umap_project-3.4.0b0.dist-info}/licenses/LICENSE +0 -0
umap/static/umap/css/form.css
CHANGED
|
@@ -47,7 +47,7 @@ input[type="checkbox"]:after {
|
|
|
47
47
|
content: ' ';
|
|
48
48
|
width: 12px;
|
|
49
49
|
height: 12px;
|
|
50
|
-
border: 1px solid var(--color-
|
|
50
|
+
border: 1px solid var(--color-veryLightGray);
|
|
51
51
|
cursor: pointer;
|
|
52
52
|
text-align: center;
|
|
53
53
|
font-size: 1rem;
|
|
@@ -94,12 +94,19 @@ select {
|
|
|
94
94
|
border-width: 1px;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
.dark select[disabled],
|
|
98
|
+
select[disabled] {
|
|
99
|
+
background-color: var(--color-mediumGray);
|
|
100
|
+
color: var(--color-veryLightGray);
|
|
101
|
+
cursor: not-allowed;
|
|
102
|
+
}
|
|
103
|
+
|
|
97
104
|
select[multiple="multiple"] {
|
|
98
105
|
height: auto;
|
|
99
106
|
}
|
|
100
107
|
|
|
101
108
|
.button,
|
|
102
|
-
[type="button"],
|
|
109
|
+
[type="button"]:not(.icon),
|
|
103
110
|
input[type="submit"] {
|
|
104
111
|
display: flex;
|
|
105
112
|
align-items: center;
|
|
@@ -119,7 +126,11 @@ input[type="submit"] {
|
|
|
119
126
|
.dark [type="button"] {
|
|
120
127
|
background-color: var(--color-darkerGray);
|
|
121
128
|
color: var(--text-color);
|
|
122
|
-
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.dark menu .button,
|
|
132
|
+
.dark menu [type="button"] {
|
|
133
|
+
border: 1px solid var(--color-veryLightGray);
|
|
123
134
|
}
|
|
124
135
|
|
|
125
136
|
.dark.umap-edit-bar .button,
|
|
@@ -138,12 +149,25 @@ input[type="submit"] {
|
|
|
138
149
|
border: 1px solid var(--color-veryDarkGray);
|
|
139
150
|
}
|
|
140
151
|
|
|
152
|
+
.dark .anonymous,
|
|
153
|
+
.dark .button.anonymous,
|
|
154
|
+
.dark [type="button"].anonymous {
|
|
155
|
+
background-color: var(--color-veryDarkerViolet);
|
|
156
|
+
border: 1px solid var(--color-lightViolet);
|
|
157
|
+
}
|
|
158
|
+
|
|
141
159
|
.dark .button:hover,
|
|
142
160
|
.dark [type="button"]:hover,
|
|
143
161
|
.dark input[type="submit"]:hover {
|
|
144
162
|
background-color: var(--color-mediumGray);
|
|
145
163
|
}
|
|
146
164
|
|
|
165
|
+
.dark .anonymous:hover,
|
|
166
|
+
.dark .button.anonymous:hover,
|
|
167
|
+
.dark [type="button"].anonymous:hover {
|
|
168
|
+
background-color: var(--color-veryDarkViolet);
|
|
169
|
+
}
|
|
170
|
+
|
|
147
171
|
.dark a {
|
|
148
172
|
color: var(--color-verySoftCyan) !important;
|
|
149
173
|
}
|
|
@@ -155,16 +179,19 @@ input[type="submit"] {
|
|
|
155
179
|
}
|
|
156
180
|
|
|
157
181
|
button.flat,
|
|
158
|
-
[type="button"].flat
|
|
159
|
-
.dark [type="button"].flat {
|
|
160
|
-
border: none;
|
|
161
|
-
background-color: inherit;
|
|
182
|
+
[type="button"].flat {
|
|
162
183
|
padding: 0;
|
|
163
184
|
text-align: start;
|
|
164
185
|
min-height: inherit;
|
|
165
186
|
width: initial;
|
|
166
187
|
display: initial;
|
|
167
|
-
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
button.flat,
|
|
191
|
+
[type="button"].flat,
|
|
192
|
+
.dark [type="button"].flat {
|
|
193
|
+
border: none;
|
|
194
|
+
background-color: inherit;
|
|
168
195
|
color: var(--text-color);
|
|
169
196
|
}
|
|
170
197
|
|
|
@@ -175,11 +202,18 @@ button.flat:hover,
|
|
|
175
202
|
}
|
|
176
203
|
|
|
177
204
|
.dark button.round,
|
|
205
|
+
[type="button"].round,
|
|
178
206
|
button.round {
|
|
179
207
|
border-radius: 20px;
|
|
180
208
|
border: 0.5px solid rgba(153, 153, 153, 0.40);
|
|
181
209
|
}
|
|
182
210
|
|
|
211
|
+
.soft-round,
|
|
212
|
+
.dark button.soft-round,
|
|
213
|
+
button.soft-round {
|
|
214
|
+
border-radius: var(--border-radius);
|
|
215
|
+
}
|
|
216
|
+
|
|
183
217
|
button.round.small {
|
|
184
218
|
padding: var(--button-padding-small);
|
|
185
219
|
}
|
|
@@ -190,13 +224,13 @@ button.round.small {
|
|
|
190
224
|
padding: 7px 7px;
|
|
191
225
|
margin-bottom: 14px;
|
|
192
226
|
background: var(--color-mediumGray);
|
|
193
|
-
color: var(--color-
|
|
227
|
+
color: var(--color-veryLightGray);
|
|
194
228
|
font-size: 10px;
|
|
195
229
|
border-radius: 0 2px;
|
|
196
230
|
}
|
|
197
231
|
|
|
198
232
|
.content .helptext {
|
|
199
|
-
background-color: var(--color-
|
|
233
|
+
background-color: var(--color-veryLightGray);
|
|
200
234
|
color: var(--color-dark);
|
|
201
235
|
}
|
|
202
236
|
|
|
@@ -209,7 +243,11 @@ input+.help-text {
|
|
|
209
243
|
margin-bottom: 14px;
|
|
210
244
|
display: flex;
|
|
211
245
|
flex-direction: column;
|
|
212
|
-
gap: var(--
|
|
246
|
+
gap: var(--gutter);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.formbox .formbox {
|
|
250
|
+
margin-bottom: 0;
|
|
213
251
|
}
|
|
214
252
|
|
|
215
253
|
.formbox.with-switch {
|
|
@@ -222,7 +260,7 @@ input+.help-text {
|
|
|
222
260
|
|
|
223
261
|
fieldset.formbox {
|
|
224
262
|
border: none;
|
|
225
|
-
border-top: 1px solid var(--color-
|
|
263
|
+
border-top: 1px solid var(--color-veryLightGray);
|
|
226
264
|
}
|
|
227
265
|
|
|
228
266
|
label {
|
|
@@ -251,7 +289,7 @@ input+.error {
|
|
|
251
289
|
padding: 7px 7px;
|
|
252
290
|
margin-top: -14px;
|
|
253
291
|
margin-bottom: 14px;
|
|
254
|
-
background: var(--color-
|
|
292
|
+
background: var(--color-veryLightGray);
|
|
255
293
|
color: var(--color-light);
|
|
256
294
|
background-color: var(--color-red);
|
|
257
295
|
font-size: 11px;
|
|
@@ -265,6 +303,7 @@ input[type="file"]+.error {
|
|
|
265
303
|
input[value]:invalid {
|
|
266
304
|
border-color: var(--color-red);
|
|
267
305
|
background-color: var(--color-darkRed);
|
|
306
|
+
color: var(--color-light);
|
|
268
307
|
}
|
|
269
308
|
|
|
270
309
|
.dark input,
|
|
@@ -272,7 +311,7 @@ input[value]:invalid {
|
|
|
272
311
|
background-color: var(--color-darkerGray);
|
|
273
312
|
border-color: var(--color-veryDarkGray);
|
|
274
313
|
border-width: 1px;
|
|
275
|
-
color: var(--color-
|
|
314
|
+
color: var(--color-veryLightGray);
|
|
276
315
|
}
|
|
277
316
|
|
|
278
317
|
details {
|
|
@@ -288,17 +327,16 @@ details {
|
|
|
288
327
|
|
|
289
328
|
details fieldset {
|
|
290
329
|
overflow: hidden;
|
|
291
|
-
border: 1px solid var(--color-
|
|
330
|
+
border: 1px solid var(--color-veryLightGray);
|
|
292
331
|
margin: 0;
|
|
293
|
-
padding
|
|
332
|
+
padding: var(--text-margin);
|
|
294
333
|
}
|
|
295
334
|
|
|
296
335
|
details summary {
|
|
297
336
|
cursor: pointer;
|
|
298
|
-
background-color: var(--color-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
padding: 0 5px;
|
|
337
|
+
background-color: var(--color-veryLightGray);
|
|
338
|
+
font-size: 0.9rem;
|
|
339
|
+
padding: var(--small-box-padding);
|
|
302
340
|
}
|
|
303
341
|
|
|
304
342
|
.dark details summary {
|
|
@@ -306,10 +344,14 @@ details summary {
|
|
|
306
344
|
color: var(--color-light);
|
|
307
345
|
}
|
|
308
346
|
|
|
309
|
-
.dark details fieldset {
|
|
347
|
+
.dark details fieldset:not(.formbox) {
|
|
310
348
|
border: 1px solid var(--color-darkGray);
|
|
311
349
|
}
|
|
312
350
|
|
|
351
|
+
summary h4 {
|
|
352
|
+
display: inline;
|
|
353
|
+
}
|
|
354
|
+
|
|
313
355
|
fieldset legend {
|
|
314
356
|
font-size: .9rem;
|
|
315
357
|
padding: 0 5px;
|
|
@@ -317,7 +359,7 @@ fieldset legend {
|
|
|
317
359
|
|
|
318
360
|
fieldset.separator {
|
|
319
361
|
border: none;
|
|
320
|
-
border-top: 1px solid var(--color-
|
|
362
|
+
border-top: 1px solid var(--color-veryLightGray);
|
|
321
363
|
}
|
|
322
364
|
|
|
323
365
|
[data-badge] {
|
|
@@ -377,7 +419,7 @@ input.switch:empty~label:after {
|
|
|
377
419
|
transition: all 100ms ease-in;
|
|
378
420
|
color: var(--color-mediumGray);
|
|
379
421
|
font-weight: bold;
|
|
380
|
-
background-color: var(--color-
|
|
422
|
+
background-color: var(--color-veryLightGray);
|
|
381
423
|
}
|
|
382
424
|
|
|
383
425
|
.dark input.switch:empty~label:before,
|
|
@@ -398,7 +440,7 @@ input.switch:empty~label:after {
|
|
|
398
440
|
.dark input.switch:empty~label:after {
|
|
399
441
|
border: 1px solid var(--color-veryDarkGray);
|
|
400
442
|
background-color: var(--color-darkerGray);
|
|
401
|
-
color: var(--color-
|
|
443
|
+
color: var(--color-veryLightGray);
|
|
402
444
|
}
|
|
403
445
|
|
|
404
446
|
input.switch:checked:empty~label:after {
|
|
@@ -408,7 +450,7 @@ input.switch:checked:empty~label:after {
|
|
|
408
450
|
.dark input.switch:checked~label:before,
|
|
409
451
|
input.switch:checked~label:before {
|
|
410
452
|
background-color: var(--color-verySoftCyan);
|
|
411
|
-
border: 1px solid var(--color-
|
|
453
|
+
border: 1px solid var(--color-veryLightGray);
|
|
412
454
|
color: var(--color-darkGray);
|
|
413
455
|
content: "ON";
|
|
414
456
|
text-indent: 0.7em;
|
|
@@ -474,7 +516,7 @@ input.switch:checked~label:after {
|
|
|
474
516
|
.umap-multiplechoice label {
|
|
475
517
|
border: 1px solid var(--color-veryDarkGray);
|
|
476
518
|
cursor: pointer;
|
|
477
|
-
background-color: var(--color-
|
|
519
|
+
background-color: var(--color-veryLightGray);
|
|
478
520
|
min-height: 30px;
|
|
479
521
|
line-height: 30px;
|
|
480
522
|
text-align: center;
|
|
@@ -549,10 +591,6 @@ i.info {
|
|
|
549
591
|
background-image: url('../img/16-white.svg');
|
|
550
592
|
}
|
|
551
593
|
|
|
552
|
-
.with-transition {
|
|
553
|
-
transition: all .7s;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
594
|
.umap-empty:before,
|
|
557
595
|
.umap-to-polygon:before,
|
|
558
596
|
.umap-clone:before,
|
|
@@ -610,7 +648,7 @@ i.info {
|
|
|
610
648
|
.flat-tabs {
|
|
611
649
|
display: flex;
|
|
612
650
|
justify-content: space-around;
|
|
613
|
-
font-size: 1.
|
|
651
|
+
font-size: 1.2rem;
|
|
614
652
|
margin-bottom: 20px;
|
|
615
653
|
border-bottom: 1px solid var(--color-lighterGray);
|
|
616
654
|
}
|
|
@@ -660,7 +698,7 @@ i.info {
|
|
|
660
698
|
height: 30px;
|
|
661
699
|
line-height: 30px;
|
|
662
700
|
cursor: pointer;
|
|
663
|
-
background-color: var(--color-
|
|
701
|
+
background-color: var(--color-veryLightGray);
|
|
664
702
|
text-align: center;
|
|
665
703
|
margin-bottom: 5px;
|
|
666
704
|
display: inline-block;
|
|
@@ -759,3 +797,55 @@ input.highlightable:not(:placeholder-shown) {
|
|
|
759
797
|
.umap-import [type=url] {
|
|
760
798
|
margin-bottom: 0;
|
|
761
799
|
}
|
|
800
|
+
|
|
801
|
+
.select-with-actions {
|
|
802
|
+
display: flex;
|
|
803
|
+
align-items: center;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.ternary-switch {
|
|
807
|
+
--nb-of-items: 3;
|
|
808
|
+
--fraction-width: calc(100%/var(--nb-of-items));
|
|
809
|
+
position: relative;
|
|
810
|
+
display: flex;
|
|
811
|
+
justify-content: space-around;
|
|
812
|
+
align-items: center;
|
|
813
|
+
background-color: var(--color-veryLightGray);
|
|
814
|
+
font-weight: bold;
|
|
815
|
+
text-transform: uppercase;
|
|
816
|
+
padding: var(--text-margin);
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.ternary-switch input[type="radio"] {
|
|
820
|
+
display: none;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.ternary-switch label {
|
|
824
|
+
cursor: pointer;
|
|
825
|
+
text-align: center;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.ternary-switch::before {
|
|
829
|
+
content: '';
|
|
830
|
+
position: absolute;
|
|
831
|
+
left: 0;
|
|
832
|
+
width: var(--fraction-width);
|
|
833
|
+
height: 100%;
|
|
834
|
+
transition: .5s left ease;
|
|
835
|
+
background: transparent;
|
|
836
|
+
border: 2px solid var(--color-mediumGray);
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.ternary-switch:has(input[type="radio"]:nth-of-type(1):checked):before {
|
|
840
|
+
left: 0%;
|
|
841
|
+
border-color: var(--color-accent);
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
.ternary-switch:has(input[type="radio"]:nth-of-type(2):checked):before {
|
|
845
|
+
left: var(--fraction-width);
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
.ternary-switch:has(input[type="radio"]:nth-of-type(3):checked):before {
|
|
849
|
+
left: calc(var(--fraction-width) * 2);
|
|
850
|
+
border-color: var(--color-accent);
|
|
851
|
+
}
|
umap/static/umap/css/icon.css
CHANGED
|
@@ -8,13 +8,16 @@
|
|
|
8
8
|
background-color: initial;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
[type=button].icon-16,
|
|
12
|
+
button.icon-16,
|
|
11
13
|
.icon-16 {
|
|
12
14
|
height: 24px;
|
|
13
|
-
line-height: 24px;
|
|
14
15
|
width: 24px;
|
|
15
16
|
--tile: -24px;
|
|
16
17
|
}
|
|
17
18
|
|
|
19
|
+
[type=button].icon-24,
|
|
20
|
+
button.icon-24,
|
|
18
21
|
.icon-24 {
|
|
19
22
|
background-image: url('../img/24.svg');
|
|
20
23
|
--tile: -36px;
|
|
@@ -65,6 +68,10 @@ html[dir="rtl"] .icon {
|
|
|
65
68
|
background-position: var(--tile) var(--tile);
|
|
66
69
|
}
|
|
67
70
|
|
|
71
|
+
.icon-anonymous {
|
|
72
|
+
background-position: calc(var(--tile) * 8) calc(var(--tile) * 7);
|
|
73
|
+
}
|
|
74
|
+
|
|
68
75
|
.icon-back {
|
|
69
76
|
background-position: calc(var(--tile) * 5) calc(var(--tile) * 6);
|
|
70
77
|
}
|
|
@@ -73,7 +80,7 @@ html[dir="rtl"] .icon {
|
|
|
73
80
|
background-position: var(--tile) calc(var(--tile) * 6);
|
|
74
81
|
}
|
|
75
82
|
|
|
76
|
-
.icon-
|
|
83
|
+
.icon-info {
|
|
77
84
|
background-position: calc(var(--tile) * 4) var(--tile);
|
|
78
85
|
}
|
|
79
86
|
|
|
@@ -118,9 +125,13 @@ html[dir="rtl"] .icon {
|
|
|
118
125
|
background-position: 0 calc(var(--tile) * 6);
|
|
119
126
|
}
|
|
120
127
|
|
|
128
|
+
.icon-draft {
|
|
129
|
+
background-position: calc(var(--tile) * 7) calc(var(--tile) * 7);
|
|
130
|
+
}
|
|
131
|
+
|
|
121
132
|
.icon-drag {
|
|
122
133
|
background-position: calc(var(--tile) * 3) calc(var(--tile) * 3);
|
|
123
|
-
cursor:
|
|
134
|
+
cursor: grab;
|
|
124
135
|
float: inline-end;
|
|
125
136
|
visibility: hidden;
|
|
126
137
|
}
|
|
@@ -157,10 +168,42 @@ html[dir="rtl"] .icon {
|
|
|
157
168
|
background-position: calc(var(--tile) * 5) 0;
|
|
158
169
|
}
|
|
159
170
|
|
|
171
|
+
.icon-field-Boolean {
|
|
172
|
+
background-position: calc(var(--tile) * 2) calc(var(--tile) * 8);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.icon-field-Date {
|
|
176
|
+
background-position: calc(var(--tile) * 5) calc(var(--tile) * 8);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.icon-field-Datetime {
|
|
180
|
+
background-position: calc(var(--tile) * 6) calc(var(--tile) * 8);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.icon-field-Enum {
|
|
184
|
+
background-position: calc(var(--tile) * 7) calc(var(--tile) * 8);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.icon-field-Number {
|
|
188
|
+
background-position: calc(var(--tile) * 3) calc(var(--tile) * 8);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.icon-field-String {
|
|
192
|
+
background-position: var(--tile) calc(var(--tile) * 8);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.icon-field-Text {
|
|
196
|
+
background-position: 0 calc(var(--tile) * 8);
|
|
197
|
+
}
|
|
198
|
+
|
|
160
199
|
.icon-filters {
|
|
161
200
|
background-position: 0px var(--tile);
|
|
162
201
|
}
|
|
163
202
|
|
|
203
|
+
.icon-filters-empty {
|
|
204
|
+
background-position: calc(var(--tile) * 8) calc(var(--tile) * 8);
|
|
205
|
+
}
|
|
206
|
+
|
|
164
207
|
.icon-forward {
|
|
165
208
|
background-position: calc(var(--tile) * 6) calc(var(--tile) * 6);
|
|
166
209
|
}
|
umap/static/umap/css/panel.css
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
color: var(--text-color);
|
|
11
11
|
cursor: initial;
|
|
12
12
|
border-radius: var(--border-radius);
|
|
13
|
-
border: 1px solid var(--color-
|
|
13
|
+
border: 1px solid var(--color-veryLightGray);
|
|
14
14
|
bottom: calc(var(--current-footer-height) + var(--panel-bottom));
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
counter-reset: step;
|
|
@@ -72,6 +72,10 @@
|
|
|
72
72
|
background-color: var(--color-veryDarkGray);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
.panel.dark .datalayer-editable-title {
|
|
76
|
+
max-width: 35ch;
|
|
77
|
+
}
|
|
78
|
+
|
|
75
79
|
@media all and (orientation:landscape) {
|
|
76
80
|
.panel {
|
|
77
81
|
top: var(--current-header-height);
|
|
@@ -128,8 +132,8 @@
|
|
|
128
132
|
}
|
|
129
133
|
|
|
130
134
|
.panel.expanded {
|
|
131
|
-
height: calc(100% - var(--current-footer-height));
|
|
132
|
-
max-height: calc(100% - var(--current-footer-height));
|
|
135
|
+
height: calc(100% - var(--current-footer-height) - var(--current-header-height));
|
|
136
|
+
max-height: calc(100% - var(--current-footer-height) - var(--current-header-height));
|
|
133
137
|
}
|
|
134
138
|
|
|
135
139
|
.umap-caption-bar-enabled .panel {
|
umap/static/umap/css/popup.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.umap-popup {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-flow: column nowrap;
|
|
4
|
-
height:100%;
|
|
4
|
+
height: 100%;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.umap-popup-footer {
|
|
@@ -16,46 +16,56 @@
|
|
|
16
16
|
max-height: 24px;
|
|
17
17
|
justify-content: space-around;
|
|
18
18
|
}
|
|
19
|
+
|
|
19
20
|
.umap-popup a:hover {
|
|
20
21
|
text-decoration: underline;
|
|
21
22
|
}
|
|
23
|
+
|
|
22
24
|
.popup-title {
|
|
23
25
|
display: flex;
|
|
24
26
|
align-items: center;
|
|
25
27
|
}
|
|
28
|
+
|
|
26
29
|
.popup-title .icon {
|
|
27
30
|
margin: 5px;
|
|
28
31
|
}
|
|
32
|
+
|
|
29
33
|
a[href^='mailto']::before {
|
|
30
|
-
|
|
34
|
+
content: '✉︎ ';
|
|
31
35
|
}
|
|
36
|
+
|
|
32
37
|
a[href^='tel']::before {
|
|
33
|
-
|
|
38
|
+
content: '☎︎ ';
|
|
34
39
|
}
|
|
40
|
+
|
|
35
41
|
address span {
|
|
36
42
|
padding-inline-end: 5px;
|
|
37
43
|
}
|
|
44
|
+
|
|
38
45
|
.osm-link {
|
|
39
46
|
margin-top: 10px;
|
|
40
47
|
text-align: end;
|
|
41
48
|
font-style: italic;
|
|
42
49
|
}
|
|
43
|
-
|
|
44
|
-
content: '⇒ ';
|
|
45
|
-
}
|
|
50
|
+
|
|
46
51
|
span.popup-icon {
|
|
47
52
|
padding: 5px;
|
|
48
53
|
}
|
|
54
|
+
|
|
49
55
|
.leaflet-popup-content {
|
|
50
56
|
min-width: 200px;
|
|
51
57
|
line-height: inherit;
|
|
52
58
|
}
|
|
53
|
-
|
|
59
|
+
|
|
60
|
+
.leaflet-popup-content-wrapper,
|
|
61
|
+
.leaflet-popup-tip {
|
|
54
62
|
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
|
|
55
63
|
}
|
|
64
|
+
|
|
56
65
|
.leaflet-popup-content-wrapper {
|
|
57
66
|
border-radius: 4px;
|
|
58
67
|
}
|
|
68
|
+
|
|
59
69
|
.umap-popup-content {
|
|
60
70
|
max-height: 500px;
|
|
61
71
|
flex-grow: 1;
|
|
@@ -65,59 +75,75 @@ span.popup-icon {
|
|
|
65
75
|
overflow-y: auto;
|
|
66
76
|
overflow-x: hidden;
|
|
67
77
|
}
|
|
78
|
+
|
|
68
79
|
.umap-popup-content iframe {
|
|
69
80
|
min-width: 300px;
|
|
70
81
|
max-width: 100%;
|
|
71
82
|
}
|
|
83
|
+
|
|
72
84
|
.umap-popup-content tr:nth-child(odd) {
|
|
73
|
-
|
|
85
|
+
background-color: #f6f6f6;
|
|
74
86
|
}
|
|
87
|
+
|
|
75
88
|
.umap-popup-content th {
|
|
76
89
|
text-align: start;
|
|
77
90
|
}
|
|
91
|
+
|
|
78
92
|
.umap-popup-content td {
|
|
79
93
|
word-break: break-word;
|
|
80
94
|
}
|
|
95
|
+
|
|
81
96
|
.umap-popup-content th,
|
|
82
97
|
.umap-popup-content td {
|
|
83
98
|
padding: 1px 3px;
|
|
84
99
|
}
|
|
100
|
+
|
|
85
101
|
.umap-popup-container {
|
|
86
102
|
flex-grow: 1;
|
|
87
103
|
margin-bottom: 10px;
|
|
88
104
|
}
|
|
105
|
+
|
|
89
106
|
.umap-popup-container ul {
|
|
90
107
|
list-style-type: disc;
|
|
91
108
|
}
|
|
109
|
+
|
|
92
110
|
.leaflet-bar {
|
|
93
111
|
box-shadow: none;
|
|
94
112
|
}
|
|
113
|
+
|
|
95
114
|
.marker-cluster {
|
|
96
115
|
background-color: white;
|
|
97
116
|
width: 40px;
|
|
98
117
|
height: 40px;
|
|
99
118
|
}
|
|
119
|
+
|
|
100
120
|
.leaflet-contextmenu-icon {
|
|
101
121
|
display: none;
|
|
102
122
|
}
|
|
123
|
+
|
|
103
124
|
.umap-popup-large iframe {
|
|
104
125
|
/* See https://github.com/Leaflet/Leaflet/commit/61d746818b99d362108545c151a27f09d60960ee#commitcomment-6061847 */
|
|
105
126
|
max-width: 100% !important;
|
|
106
127
|
min-width: 500px;
|
|
107
128
|
}
|
|
129
|
+
|
|
108
130
|
.umap-popup-large .umap-popup-content {
|
|
109
131
|
width: 500px;
|
|
110
132
|
}
|
|
133
|
+
|
|
111
134
|
.umap-popup-content img {
|
|
112
135
|
max-width: 100%;
|
|
113
136
|
}
|
|
137
|
+
|
|
114
138
|
.umap-georss-link .popup-title {
|
|
115
139
|
text-align: center;
|
|
116
140
|
}
|
|
141
|
+
|
|
117
142
|
@media all and (max-width: 480px) {
|
|
118
143
|
.umap-popup-large iframe {
|
|
119
144
|
min-width: 300px;
|
|
120
145
|
}
|
|
146
|
+
|
|
121
147
|
.umap-popup-large .umap-popup-content {
|
|
122
148
|
width: 300px;
|
|
123
149
|
}
|
umap/static/umap/css/tooltip.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
max-width: 300px;
|
|
6
6
|
position: absolute;
|
|
7
7
|
box-shadow: var(--block-shadow);
|
|
8
|
-
display:
|
|
8
|
+
display: block;
|
|
9
9
|
color: #eeeeec;
|
|
10
10
|
border-radius: var(--border-radius);
|
|
11
11
|
z-index: var(--zindex-tooltip);
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
--tooltip-color: var(--color-darkGray);
|
|
14
14
|
background-color: var(--tooltip-color);
|
|
15
15
|
--arrow-size: 8px;
|
|
16
|
+
font-size: 0.8rem;
|
|
16
17
|
}
|
|
18
|
+
|
|
17
19
|
.tooltip-accent {
|
|
18
20
|
--tooltip-color: var(--color-lightCyan);
|
|
19
21
|
}
|
|
20
|
-
|
|
21
|
-
display: block;
|
|
22
|
-
}
|
|
22
|
+
|
|
23
23
|
.umap-tooltip-container.tooltip-top:after {
|
|
24
24
|
top: 100%;
|
|
25
25
|
left: calc(50% - var(--arrow-size));
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
border-width: var(--arrow-size);
|
|
34
34
|
margin-left: calc(-50% + 2 * var(--arrow-size));
|
|
35
35
|
}
|
|
36
|
+
|
|
36
37
|
.umap-tooltip-container.tooltip-bottom:before {
|
|
37
38
|
top: calc(var(--arrow-size) * -2);
|
|
38
39
|
left: calc(50% - var(--arrow-size));
|
|
@@ -46,16 +47,19 @@
|
|
|
46
47
|
border-width: var(--arrow-size);
|
|
47
48
|
transform: rotate(180deg);
|
|
48
49
|
}
|
|
50
|
+
|
|
49
51
|
.tooltip-accent ul {
|
|
50
52
|
padding-top: var(--small-box-padding);
|
|
51
53
|
padding-bottom: var(--small-box-padding);
|
|
52
54
|
}
|
|
55
|
+
|
|
53
56
|
.tooltip-accent li {
|
|
54
57
|
background-color: var(--color-light);
|
|
55
58
|
color: var(--color-dark);
|
|
56
59
|
padding: var(--small-box-padding);
|
|
57
60
|
margin-bottom: var(--small-box-padding);
|
|
58
61
|
}
|
|
62
|
+
|
|
59
63
|
.tooltip-accent li:last-of-type {
|
|
60
64
|
margin-bottom: 0;
|
|
61
65
|
}
|