umap-project 3.3.2__py3-none-any.whl → 3.4.0__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.
Files changed (242) hide show
  1. umap/__init__.py +1 -1
  2. umap/context_processors.py +4 -1
  3. umap/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
  4. umap/locale/cs_CZ/LC_MESSAGES/django.po +43 -33
  5. umap/locale/da/LC_MESSAGES/django.mo +0 -0
  6. umap/locale/da/LC_MESSAGES/django.po +43 -33
  7. umap/locale/de/LC_MESSAGES/django.mo +0 -0
  8. umap/locale/de/LC_MESSAGES/django.po +64 -53
  9. umap/locale/el/LC_MESSAGES/django.mo +0 -0
  10. umap/locale/el/LC_MESSAGES/django.po +35 -29
  11. umap/locale/en/LC_MESSAGES/django.po +47 -41
  12. umap/locale/es/LC_MESSAGES/django.mo +0 -0
  13. umap/locale/es/LC_MESSAGES/django.po +43 -33
  14. umap/locale/et/LC_MESSAGES/django.mo +0 -0
  15. umap/locale/et/LC_MESSAGES/django.po +58 -54
  16. umap/locale/eu/LC_MESSAGES/django.mo +0 -0
  17. umap/locale/eu/LC_MESSAGES/django.po +43 -33
  18. umap/locale/fa_IR/LC_MESSAGES/django.mo +0 -0
  19. umap/locale/fa_IR/LC_MESSAGES/django.po +43 -33
  20. umap/locale/fr/LC_MESSAGES/django.mo +0 -0
  21. umap/locale/fr/LC_MESSAGES/django.po +36 -30
  22. umap/locale/gl/LC_MESSAGES/django.mo +0 -0
  23. umap/locale/gl/LC_MESSAGES/django.po +43 -33
  24. umap/locale/hu/LC_MESSAGES/django.mo +0 -0
  25. umap/locale/hu/LC_MESSAGES/django.po +35 -29
  26. umap/locale/is/LC_MESSAGES/django.mo +0 -0
  27. umap/locale/is/LC_MESSAGES/django.po +43 -33
  28. umap/locale/it/LC_MESSAGES/django.mo +0 -0
  29. umap/locale/it/LC_MESSAGES/django.po +43 -33
  30. umap/locale/nl/LC_MESSAGES/django.mo +0 -0
  31. umap/locale/nl/LC_MESSAGES/django.po +35 -29
  32. umap/locale/pl/LC_MESSAGES/django.mo +0 -0
  33. umap/locale/pl/LC_MESSAGES/django.po +114 -103
  34. umap/locale/pt/LC_MESSAGES/django.mo +0 -0
  35. umap/locale/pt/LC_MESSAGES/django.po +43 -33
  36. umap/locale/th_TH/LC_MESSAGES/django.mo +0 -0
  37. umap/locale/th_TH/LC_MESSAGES/django.po +310 -109
  38. umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
  39. umap/locale/zh_TW/LC_MESSAGES/django.po +80 -70
  40. umap/management/commands/switch_user.py +2 -2
  41. umap/migrations/0018_datalayer_uuid.py +1 -1
  42. umap/models.py +7 -3
  43. umap/settings/local.py.sample +1 -1
  44. umap/static/umap/base.css +89 -32
  45. umap/static/umap/content.css +129 -33
  46. umap/static/umap/css/bar.css +82 -20
  47. umap/static/umap/css/browser.css +163 -0
  48. umap/static/umap/css/contextmenu.css +15 -0
  49. umap/static/umap/css/dialog.css +36 -16
  50. umap/static/umap/css/form.css +123 -33
  51. umap/static/umap/css/icon.css +46 -3
  52. umap/static/umap/css/panel.css +7 -3
  53. umap/static/umap/css/popup.css +34 -8
  54. umap/static/umap/css/tooltip.css +8 -4
  55. umap/static/umap/img/16-white.svg +26 -8
  56. umap/static/umap/img/16.svg +1 -1
  57. umap/static/umap/img/source/16-white.svg +36 -18
  58. umap/static/umap/img/source/16.svg +1 -1
  59. umap/static/umap/js/components/alerts/alert.css +69 -31
  60. umap/static/umap/js/components/alerts/alert.js +20 -2
  61. umap/static/umap/js/components/base.js +1 -1
  62. umap/static/umap/js/modules/browser.js +69 -61
  63. umap/static/umap/js/modules/caption.js +10 -7
  64. umap/static/umap/js/modules/data/features.js +89 -63
  65. umap/static/umap/js/modules/data/fields.js +446 -0
  66. umap/static/umap/js/modules/data/layer.js +116 -196
  67. umap/static/umap/js/modules/domutils.js +109 -0
  68. umap/static/umap/js/modules/filters.js +780 -0
  69. umap/static/umap/js/modules/form/builder.js +8 -5
  70. umap/static/umap/js/modules/form/fields.js +111 -221
  71. umap/static/umap/js/modules/formatter.js +24 -1
  72. umap/static/umap/js/modules/help.js +4 -3
  73. umap/static/umap/js/modules/i18n.js +1 -1
  74. umap/static/umap/js/modules/importer.js +1 -1
  75. umap/static/umap/js/modules/importers/opendata.js +15 -0
  76. umap/static/umap/js/modules/importers/openrouteservice.js +6 -1
  77. umap/static/umap/js/modules/managers.js +2 -1
  78. umap/static/umap/js/modules/permissions.js +39 -31
  79. umap/static/umap/js/modules/rendering/controls.js +11 -9
  80. umap/static/umap/js/modules/rendering/icon.js +3 -8
  81. umap/static/umap/js/modules/rendering/layers/base.js +3 -3
  82. umap/static/umap/js/modules/rendering/layers/classified.js +18 -11
  83. umap/static/umap/js/modules/rendering/layers/cluster.js +23 -11
  84. umap/static/umap/js/modules/rendering/layers/heat.js +27 -21
  85. umap/static/umap/js/modules/rendering/map.js +1 -0
  86. umap/static/umap/js/modules/rendering/template.js +50 -23
  87. umap/static/umap/js/modules/rendering/ui.js +33 -25
  88. umap/static/umap/js/modules/rules.js +38 -44
  89. umap/static/umap/js/modules/schema.js +3 -6
  90. umap/static/umap/js/modules/share.js +5 -4
  91. umap/static/umap/js/modules/tableeditor.js +50 -38
  92. umap/static/umap/js/modules/templates.js +2 -3
  93. umap/static/umap/js/modules/ui/bar.js +55 -23
  94. umap/static/umap/js/modules/ui/dialog.js +38 -27
  95. umap/static/umap/js/modules/ui/panel.js +23 -8
  96. umap/static/umap/js/modules/ui/tooltip.js +6 -5
  97. umap/static/umap/js/modules/umap.js +158 -51
  98. umap/static/umap/js/modules/utils.js +24 -2
  99. umap/static/umap/js/umap.core.js +1 -110
  100. umap/static/umap/locale/am_ET.js +52 -17
  101. umap/static/umap/locale/am_ET.json +52 -17
  102. umap/static/umap/locale/ar.js +52 -17
  103. umap/static/umap/locale/ar.json +52 -17
  104. umap/static/umap/locale/ast.js +52 -17
  105. umap/static/umap/locale/ast.json +52 -17
  106. umap/static/umap/locale/bg.js +52 -17
  107. umap/static/umap/locale/bg.json +52 -17
  108. umap/static/umap/locale/br.js +48 -22
  109. umap/static/umap/locale/br.json +48 -22
  110. umap/static/umap/locale/ca.js +52 -17
  111. umap/static/umap/locale/ca.json +52 -17
  112. umap/static/umap/locale/cs_CZ.js +52 -17
  113. umap/static/umap/locale/cs_CZ.json +52 -17
  114. umap/static/umap/locale/da.js +54 -17
  115. umap/static/umap/locale/da.json +54 -17
  116. umap/static/umap/locale/de.js +102 -67
  117. umap/static/umap/locale/de.json +102 -67
  118. umap/static/umap/locale/el.js +52 -17
  119. umap/static/umap/locale/el.json +52 -17
  120. umap/static/umap/locale/en.js +54 -16
  121. umap/static/umap/locale/en.json +54 -16
  122. umap/static/umap/locale/en_US.json +52 -17
  123. umap/static/umap/locale/es.js +54 -17
  124. umap/static/umap/locale/es.json +54 -17
  125. umap/static/umap/locale/et.js +91 -56
  126. umap/static/umap/locale/et.json +91 -56
  127. umap/static/umap/locale/eu.js +84 -49
  128. umap/static/umap/locale/eu.json +84 -49
  129. umap/static/umap/locale/fa_IR.js +52 -17
  130. umap/static/umap/locale/fa_IR.json +52 -17
  131. umap/static/umap/locale/fi.js +52 -17
  132. umap/static/umap/locale/fi.json +52 -17
  133. umap/static/umap/locale/fr.js +54 -17
  134. umap/static/umap/locale/fr.json +54 -17
  135. umap/static/umap/locale/gl.js +52 -17
  136. umap/static/umap/locale/gl.json +52 -17
  137. umap/static/umap/locale/he.js +52 -17
  138. umap/static/umap/locale/he.json +52 -17
  139. umap/static/umap/locale/hr.js +52 -17
  140. umap/static/umap/locale/hr.json +52 -17
  141. umap/static/umap/locale/hu.js +59 -24
  142. umap/static/umap/locale/hu.json +59 -24
  143. umap/static/umap/locale/id.js +52 -17
  144. umap/static/umap/locale/id.json +52 -17
  145. umap/static/umap/locale/is.js +52 -17
  146. umap/static/umap/locale/is.json +52 -17
  147. umap/static/umap/locale/it.js +52 -17
  148. umap/static/umap/locale/it.json +52 -17
  149. umap/static/umap/locale/ja.js +52 -17
  150. umap/static/umap/locale/ja.json +52 -17
  151. umap/static/umap/locale/ko.js +52 -17
  152. umap/static/umap/locale/ko.json +52 -17
  153. umap/static/umap/locale/lt.js +52 -17
  154. umap/static/umap/locale/lt.json +52 -17
  155. umap/static/umap/locale/ms.js +52 -17
  156. umap/static/umap/locale/ms.json +52 -17
  157. umap/static/umap/locale/nl.js +52 -17
  158. umap/static/umap/locale/nl.json +52 -17
  159. umap/static/umap/locale/no.js +52 -17
  160. umap/static/umap/locale/no.json +52 -17
  161. umap/static/umap/locale/pl.js +53 -17
  162. umap/static/umap/locale/pl.json +53 -17
  163. umap/static/umap/locale/pl_PL.json +52 -17
  164. umap/static/umap/locale/pt.js +52 -17
  165. umap/static/umap/locale/pt.json +52 -17
  166. umap/static/umap/locale/pt_BR.js +52 -17
  167. umap/static/umap/locale/pt_BR.json +52 -17
  168. umap/static/umap/locale/pt_PT.js +52 -17
  169. umap/static/umap/locale/pt_PT.json +52 -17
  170. umap/static/umap/locale/ro.js +52 -17
  171. umap/static/umap/locale/ro.json +52 -17
  172. umap/static/umap/locale/ru.js +52 -17
  173. umap/static/umap/locale/ru.json +52 -17
  174. umap/static/umap/locale/si.js +1 -1
  175. umap/static/umap/locale/si.json +1 -1
  176. umap/static/umap/locale/sk_SK.js +52 -17
  177. umap/static/umap/locale/sk_SK.json +52 -17
  178. umap/static/umap/locale/sl.js +52 -17
  179. umap/static/umap/locale/sl.json +52 -17
  180. umap/static/umap/locale/sr.js +52 -17
  181. umap/static/umap/locale/sr.json +52 -17
  182. umap/static/umap/locale/sv.js +52 -17
  183. umap/static/umap/locale/sv.json +52 -17
  184. umap/static/umap/locale/th_TH.js +52 -17
  185. umap/static/umap/locale/th_TH.json +52 -17
  186. umap/static/umap/locale/tr.js +52 -17
  187. umap/static/umap/locale/tr.json +52 -17
  188. umap/static/umap/locale/uk_UA.js +52 -17
  189. umap/static/umap/locale/uk_UA.json +52 -17
  190. umap/static/umap/locale/vi.js +52 -17
  191. umap/static/umap/locale/vi.json +52 -17
  192. umap/static/umap/locale/vi_VN.json +52 -17
  193. umap/static/umap/locale/zh.js +52 -17
  194. umap/static/umap/locale/zh.json +52 -17
  195. umap/static/umap/locale/zh_CN.json +52 -17
  196. umap/static/umap/locale/zh_TW.Big5.json +52 -17
  197. umap/static/umap/locale/zh_TW.js +53 -17
  198. umap/static/umap/locale/zh_TW.json +53 -17
  199. umap/static/umap/map.css +63 -226
  200. umap/static/umap/unittests/utils.js +18 -0
  201. umap/static/umap/vars.css +23 -5
  202. umap/templates/umap/components/alerts/alert.html +32 -29
  203. umap/templates/umap/css.html +2 -1
  204. umap/templates/umap/login_popup_end.html +18 -9
  205. umap/templates/umap/user_map_table.html +7 -2
  206. umap/tests/integration/conftest.py +10 -6
  207. umap/tests/integration/test_anonymous_owned_map.py +90 -37
  208. umap/tests/integration/test_basics.py +25 -1
  209. umap/tests/integration/test_browser.py +37 -0
  210. umap/tests/integration/test_cluster.py +110 -0
  211. umap/tests/integration/test_conditional_rules.py +107 -52
  212. umap/tests/integration/test_datalayer.py +9 -16
  213. umap/tests/integration/test_draw_polygon.py +6 -0
  214. umap/tests/integration/test_draw_polyline.py +11 -0
  215. umap/tests/integration/test_edit_marker.py +12 -1
  216. umap/tests/integration/test_export_map.py +19 -0
  217. umap/tests/integration/test_fields.py +541 -0
  218. umap/tests/integration/test_filters.py +616 -0
  219. umap/tests/integration/test_iframe.py +1 -1
  220. umap/tests/integration/test_import.py +38 -42
  221. umap/tests/integration/test_map_preview.py +1 -1
  222. umap/tests/integration/test_picto.py +1 -1
  223. umap/tests/integration/test_popup.py +31 -0
  224. umap/tests/integration/test_remote_data.py +60 -4
  225. umap/tests/integration/test_save.py +1 -1
  226. umap/tests/integration/test_share.py +4 -4
  227. umap/tests/integration/test_tableeditor.py +31 -7
  228. umap/tests/integration/test_websocket_sync.py +71 -20
  229. umap/tests/test_dashboard.py +11 -1
  230. umap/tests/test_statics.py +2 -2
  231. umap/tests/test_utils.py +19 -2
  232. umap/tests/test_views.py +1 -1
  233. umap/urls.py +1 -0
  234. umap/utils.py +8 -1
  235. umap/views.py +5 -0
  236. {umap_project-3.3.2.dist-info → umap_project-3.4.0.dist-info}/METADATA +15 -15
  237. {umap_project-3.3.2.dist-info → umap_project-3.4.0.dist-info}/RECORD +240 -236
  238. umap/static/umap/js/modules/facets.js +0 -164
  239. umap/tests/integration/test_facets_browser.py +0 -279
  240. {umap_project-3.3.2.dist-info → umap_project-3.4.0.dist-info}/WHEEL +0 -0
  241. {umap_project-3.3.2.dist-info → umap_project-3.4.0.dist-info}/entry_points.txt +0 -0
  242. {umap_project-3.3.2.dist-info → umap_project-3.4.0.dist-info}/licenses/LICENSE +0 -0
@@ -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-lightGray);
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
- border: 1px solid var(--color-lightGray);
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,24 @@ 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 .button.anonymous:hover,
166
+ .dark [type="button"].anonymous:hover {
167
+ background-color: var(--color-veryDarkViolet);
168
+ }
169
+
147
170
  .dark a {
148
171
  color: var(--color-verySoftCyan) !important;
149
172
  }
@@ -155,16 +178,19 @@ input[type="submit"] {
155
178
  }
156
179
 
157
180
  button.flat,
158
- [type="button"].flat,
159
- .dark [type="button"].flat {
160
- border: none;
161
- background-color: inherit;
181
+ [type="button"].flat {
162
182
  padding: 0;
163
183
  text-align: start;
164
184
  min-height: inherit;
165
185
  width: initial;
166
186
  display: initial;
167
- line-height: inherit;
187
+ }
188
+
189
+ button.flat,
190
+ [type="button"].flat,
191
+ .dark [type="button"].flat {
192
+ border: none;
193
+ background-color: inherit;
168
194
  color: var(--text-color);
169
195
  }
170
196
 
@@ -175,11 +201,18 @@ button.flat:hover,
175
201
  }
176
202
 
177
203
  .dark button.round,
204
+ [type="button"].round,
178
205
  button.round {
179
206
  border-radius: 20px;
180
207
  border: 0.5px solid rgba(153, 153, 153, 0.40);
181
208
  }
182
209
 
210
+ .soft-round,
211
+ .dark button.soft-round,
212
+ button.soft-round {
213
+ border-radius: var(--border-radius);
214
+ }
215
+
183
216
  button.round.small {
184
217
  padding: var(--button-padding-small);
185
218
  }
@@ -190,13 +223,13 @@ button.round.small {
190
223
  padding: 7px 7px;
191
224
  margin-bottom: 14px;
192
225
  background: var(--color-mediumGray);
193
- color: var(--color-lightGray);
226
+ color: var(--color-veryLightGray);
194
227
  font-size: 10px;
195
228
  border-radius: 0 2px;
196
229
  }
197
230
 
198
231
  .content .helptext {
199
- background-color: var(--color-lightGray);
232
+ background-color: var(--color-veryLightGray);
200
233
  color: var(--color-dark);
201
234
  }
202
235
 
@@ -209,7 +242,11 @@ input+.help-text {
209
242
  margin-bottom: 14px;
210
243
  display: flex;
211
244
  flex-direction: column;
212
- gap: var(--text-margin);
245
+ gap: var(--gutter);
246
+ }
247
+
248
+ .formbox .formbox {
249
+ margin-bottom: 0;
213
250
  }
214
251
 
215
252
  .formbox.with-switch {
@@ -222,7 +259,7 @@ input+.help-text {
222
259
 
223
260
  fieldset.formbox {
224
261
  border: none;
225
- border-top: 1px solid var(--color-lightGray);
262
+ border-top: 1px solid var(--color-veryLightGray);
226
263
  }
227
264
 
228
265
  label {
@@ -251,7 +288,7 @@ input+.error {
251
288
  padding: 7px 7px;
252
289
  margin-top: -14px;
253
290
  margin-bottom: 14px;
254
- background: var(--color-lightGray);
291
+ background: var(--color-veryLightGray);
255
292
  color: var(--color-light);
256
293
  background-color: var(--color-red);
257
294
  font-size: 11px;
@@ -265,6 +302,7 @@ input[type="file"]+.error {
265
302
  input[value]:invalid {
266
303
  border-color: var(--color-red);
267
304
  background-color: var(--color-darkRed);
305
+ color: var(--color-light);
268
306
  }
269
307
 
270
308
  .dark input,
@@ -272,7 +310,7 @@ input[value]:invalid {
272
310
  background-color: var(--color-darkerGray);
273
311
  border-color: var(--color-veryDarkGray);
274
312
  border-width: 1px;
275
- color: var(--color-lightGray);
313
+ color: var(--color-veryLightGray);
276
314
  }
277
315
 
278
316
  details {
@@ -288,17 +326,16 @@ details {
288
326
 
289
327
  details fieldset {
290
328
  overflow: hidden;
291
- border: 1px solid var(--color-lightGray);
329
+ border: 1px solid var(--color-veryLightGray);
292
330
  margin: 0;
293
- padding-top: 10px;
331
+ padding: var(--text-margin);
294
332
  }
295
333
 
296
334
  details summary {
297
335
  cursor: pointer;
298
- background-color: var(--color-lightGray);
299
- line-height: 30px;
300
- font-size: 1.2em;
301
- padding: 0 5px;
336
+ background-color: var(--color-veryLightGray);
337
+ font-size: 0.9rem;
338
+ padding: var(--small-box-padding);
302
339
  }
303
340
 
304
341
  .dark details summary {
@@ -306,10 +343,14 @@ details summary {
306
343
  color: var(--color-light);
307
344
  }
308
345
 
309
- .dark details fieldset {
346
+ .dark details fieldset:not(.formbox) {
310
347
  border: 1px solid var(--color-darkGray);
311
348
  }
312
349
 
350
+ summary h4 {
351
+ display: inline;
352
+ }
353
+
313
354
  fieldset legend {
314
355
  font-size: .9rem;
315
356
  padding: 0 5px;
@@ -317,7 +358,7 @@ fieldset legend {
317
358
 
318
359
  fieldset.separator {
319
360
  border: none;
320
- border-top: 1px solid var(--color-lightGray);
361
+ border-top: 1px solid var(--color-veryLightGray);
321
362
  }
322
363
 
323
364
  [data-badge] {
@@ -377,7 +418,7 @@ input.switch:empty~label:after {
377
418
  transition: all 100ms ease-in;
378
419
  color: var(--color-mediumGray);
379
420
  font-weight: bold;
380
- background-color: var(--color-lighterGray);
421
+ background-color: var(--color-veryLightGray);
381
422
  }
382
423
 
383
424
  .dark input.switch:empty~label:before,
@@ -398,7 +439,7 @@ input.switch:empty~label:after {
398
439
  .dark input.switch:empty~label:after {
399
440
  border: 1px solid var(--color-veryDarkGray);
400
441
  background-color: var(--color-darkerGray);
401
- color: var(--color-lightGray);
442
+ color: var(--color-veryLightGray);
402
443
  }
403
444
 
404
445
  input.switch:checked:empty~label:after {
@@ -408,7 +449,7 @@ input.switch:checked:empty~label:after {
408
449
  .dark input.switch:checked~label:before,
409
450
  input.switch:checked~label:before {
410
451
  background-color: var(--color-verySoftCyan);
411
- border: 1px solid var(--color-lightGray);
452
+ border: 1px solid var(--color-veryLightGray);
412
453
  color: var(--color-darkGray);
413
454
  content: "ON";
414
455
  text-indent: 0.7em;
@@ -474,7 +515,7 @@ input.switch:checked~label:after {
474
515
  .umap-multiplechoice label {
475
516
  border: 1px solid var(--color-veryDarkGray);
476
517
  cursor: pointer;
477
- background-color: var(--color-lightGray);
518
+ background-color: var(--color-veryLightGray);
478
519
  min-height: 30px;
479
520
  line-height: 30px;
480
521
  text-align: center;
@@ -549,10 +590,6 @@ i.info {
549
590
  background-image: url('../img/16-white.svg');
550
591
  }
551
592
 
552
- .with-transition {
553
- transition: all .7s;
554
- }
555
-
556
593
  .umap-empty:before,
557
594
  .umap-to-polygon:before,
558
595
  .umap-clone:before,
@@ -610,7 +647,7 @@ i.info {
610
647
  .flat-tabs {
611
648
  display: flex;
612
649
  justify-content: space-around;
613
- font-size: 1.2em;
650
+ font-size: 1.2rem;
614
651
  margin-bottom: 20px;
615
652
  border-bottom: 1px solid var(--color-lighterGray);
616
653
  }
@@ -660,7 +697,7 @@ i.info {
660
697
  height: 30px;
661
698
  line-height: 30px;
662
699
  cursor: pointer;
663
- background-color: var(--color-lightGray);
700
+ background-color: var(--color-veryLightGray);
664
701
  text-align: center;
665
702
  margin-bottom: 5px;
666
703
  display: inline-block;
@@ -744,12 +781,13 @@ input[type=hidden].blur+[type="button"] {
744
781
  border-radius: initial;
745
782
  }
746
783
 
747
- .copiable-input button {
784
+ .copiable-input button[type=button] {
748
785
  background-color: var(--background-color);
749
786
  color: var(--text-color);
750
787
  border: 2px solid var(--color-darkBlue);
751
788
  border-left: none;
752
789
  width: 40px;
790
+ height: 40px;
753
791
  }
754
792
 
755
793
  input.highlightable:not(:placeholder-shown) {
@@ -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
+ }
@@ -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-caption {
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: move;
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
  }
@@ -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-lightGray);
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 {
@@ -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
- content: '✉︎ ';
34
+ content: '✉︎ ';
31
35
  }
36
+
32
37
  a[href^='tel']::before {
33
- content: '☎︎ ';
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
- .wikipedia-link a::before {
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
- .leaflet-popup-content-wrapper, .leaflet-popup-tip {
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
- background-color: #f6f6f6;
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
  }
@@ -5,7 +5,7 @@
5
5
  max-width: 300px;
6
6
  position: absolute;
7
7
  box-shadow: var(--block-shadow);
8
- display: none;
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
- .umap-tooltip .umap-tooltip-container {
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
  }