umap-project 3.2.0__py3-none-any.whl → 3.3.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.

Potentially problematic release.


This version of umap-project might be problematic. Click here for more details.

Files changed (173) hide show
  1. umap/__init__.py +1 -1
  2. umap/locale/en/LC_MESSAGES/django.mo +0 -0
  3. umap/locale/en/LC_MESSAGES/django.po +15 -15
  4. umap/settings/base.py +2 -0
  5. umap/static/umap/css/contextmenu.css +58 -2
  6. umap/static/umap/css/form.css +175 -45
  7. umap/static/umap/css/icon.css +20 -0
  8. umap/static/umap/img/16-white.svg +21 -40
  9. umap/static/umap/img/16.svg +1 -1
  10. umap/static/umap/img/24-white.svg +9 -9
  11. umap/static/umap/img/24.svg +23 -10
  12. umap/static/umap/img/source/16-white.svg +23 -41
  13. umap/static/umap/img/source/16.svg +1 -1
  14. umap/static/umap/img/source/24-white.svg +11 -11
  15. umap/static/umap/img/source/24.svg +25 -12
  16. umap/static/umap/js/modules/caption.js +8 -0
  17. umap/static/umap/js/modules/data/features.js +317 -173
  18. umap/static/umap/js/modules/data/layer.js +17 -18
  19. umap/static/umap/js/modules/form/builder.js +11 -7
  20. umap/static/umap/js/modules/form/fields.js +10 -7
  21. umap/static/umap/js/modules/formatter.js +42 -20
  22. umap/static/umap/js/modules/importer.js +6 -1
  23. umap/static/umap/js/modules/importers/opendata.js +125 -37
  24. umap/static/umap/js/modules/importers/openrouteservice.js +140 -0
  25. umap/static/umap/js/modules/managers.js +12 -4
  26. umap/static/umap/js/modules/printer.js +107 -0
  27. umap/static/umap/js/modules/rendering/controls.js +78 -2
  28. umap/static/umap/js/modules/rendering/icon.js +113 -82
  29. umap/static/umap/js/modules/rendering/layers/cluster.js +199 -63
  30. umap/static/umap/js/modules/rendering/map.js +5 -1
  31. umap/static/umap/js/modules/rendering/template.js +71 -1
  32. umap/static/umap/js/modules/rendering/ui.js +98 -34
  33. umap/static/umap/js/modules/schema.js +24 -0
  34. umap/static/umap/js/modules/share.js +19 -12
  35. umap/static/umap/js/modules/ui/bar.js +6 -1
  36. umap/static/umap/js/modules/ui/base.js +24 -9
  37. umap/static/umap/js/modules/ui/contextmenu.js +17 -7
  38. umap/static/umap/js/modules/ui/dialog.js +7 -4
  39. umap/static/umap/js/modules/umap.js +67 -61
  40. umap/static/umap/js/umap.controls.js +22 -57
  41. umap/static/umap/locale/am_ET.js +39 -4
  42. umap/static/umap/locale/am_ET.json +39 -4
  43. umap/static/umap/locale/ar.js +39 -4
  44. umap/static/umap/locale/ar.json +39 -4
  45. umap/static/umap/locale/ast.js +39 -4
  46. umap/static/umap/locale/ast.json +39 -4
  47. umap/static/umap/locale/bg.js +39 -4
  48. umap/static/umap/locale/bg.json +39 -4
  49. umap/static/umap/locale/br.js +39 -4
  50. umap/static/umap/locale/br.json +39 -4
  51. umap/static/umap/locale/ca.js +39 -4
  52. umap/static/umap/locale/ca.json +39 -4
  53. umap/static/umap/locale/cs_CZ.js +39 -4
  54. umap/static/umap/locale/cs_CZ.json +39 -4
  55. umap/static/umap/locale/da.js +47 -12
  56. umap/static/umap/locale/da.json +47 -12
  57. umap/static/umap/locale/de.js +39 -4
  58. umap/static/umap/locale/de.json +39 -4
  59. umap/static/umap/locale/el.js +39 -4
  60. umap/static/umap/locale/el.json +39 -4
  61. umap/static/umap/locale/en.js +39 -4
  62. umap/static/umap/locale/en.json +39 -4
  63. umap/static/umap/locale/en_US.json +39 -4
  64. umap/static/umap/locale/es.js +47 -12
  65. umap/static/umap/locale/es.json +47 -12
  66. umap/static/umap/locale/et.js +39 -4
  67. umap/static/umap/locale/et.json +39 -4
  68. umap/static/umap/locale/eu.js +79 -44
  69. umap/static/umap/locale/eu.json +79 -44
  70. umap/static/umap/locale/fa_IR.js +39 -4
  71. umap/static/umap/locale/fa_IR.json +39 -4
  72. umap/static/umap/locale/fi.js +39 -4
  73. umap/static/umap/locale/fi.json +39 -4
  74. umap/static/umap/locale/fr.js +39 -4
  75. umap/static/umap/locale/fr.json +39 -4
  76. umap/static/umap/locale/gl.js +39 -4
  77. umap/static/umap/locale/gl.json +39 -4
  78. umap/static/umap/locale/he.js +39 -4
  79. umap/static/umap/locale/he.json +39 -4
  80. umap/static/umap/locale/hr.js +39 -4
  81. umap/static/umap/locale/hr.json +39 -4
  82. umap/static/umap/locale/hu.js +39 -4
  83. umap/static/umap/locale/hu.json +39 -4
  84. umap/static/umap/locale/id.js +39 -4
  85. umap/static/umap/locale/id.json +39 -4
  86. umap/static/umap/locale/is.js +39 -4
  87. umap/static/umap/locale/is.json +39 -4
  88. umap/static/umap/locale/it.js +39 -4
  89. umap/static/umap/locale/it.json +39 -4
  90. umap/static/umap/locale/ja.js +39 -4
  91. umap/static/umap/locale/ja.json +39 -4
  92. umap/static/umap/locale/ko.js +39 -4
  93. umap/static/umap/locale/ko.json +39 -4
  94. umap/static/umap/locale/lt.js +39 -4
  95. umap/static/umap/locale/lt.json +39 -4
  96. umap/static/umap/locale/ms.js +39 -4
  97. umap/static/umap/locale/ms.json +39 -4
  98. umap/static/umap/locale/nl.js +39 -4
  99. umap/static/umap/locale/nl.json +39 -4
  100. umap/static/umap/locale/no.js +39 -4
  101. umap/static/umap/locale/no.json +39 -4
  102. umap/static/umap/locale/pl.js +39 -4
  103. umap/static/umap/locale/pl.json +39 -4
  104. umap/static/umap/locale/pl_PL.json +39 -4
  105. umap/static/umap/locale/pt.js +39 -4
  106. umap/static/umap/locale/pt.json +39 -4
  107. umap/static/umap/locale/pt_BR.js +39 -4
  108. umap/static/umap/locale/pt_BR.json +39 -4
  109. umap/static/umap/locale/pt_PT.js +39 -4
  110. umap/static/umap/locale/pt_PT.json +39 -4
  111. umap/static/umap/locale/ro.js +39 -4
  112. umap/static/umap/locale/ro.json +39 -4
  113. umap/static/umap/locale/ru.js +39 -4
  114. umap/static/umap/locale/ru.json +39 -4
  115. umap/static/umap/locale/sk_SK.js +39 -4
  116. umap/static/umap/locale/sk_SK.json +39 -4
  117. umap/static/umap/locale/sl.js +39 -4
  118. umap/static/umap/locale/sl.json +39 -4
  119. umap/static/umap/locale/sr.js +39 -4
  120. umap/static/umap/locale/sr.json +39 -4
  121. umap/static/umap/locale/sv.js +39 -4
  122. umap/static/umap/locale/sv.json +39 -4
  123. umap/static/umap/locale/th_TH.js +39 -4
  124. umap/static/umap/locale/th_TH.json +39 -4
  125. umap/static/umap/locale/tr.js +39 -4
  126. umap/static/umap/locale/tr.json +39 -4
  127. umap/static/umap/locale/uk_UA.js +39 -4
  128. umap/static/umap/locale/uk_UA.json +39 -4
  129. umap/static/umap/locale/vi.js +39 -4
  130. umap/static/umap/locale/vi.json +39 -4
  131. umap/static/umap/locale/vi_VN.json +39 -4
  132. umap/static/umap/locale/zh.js +39 -4
  133. umap/static/umap/locale/zh.json +39 -4
  134. umap/static/umap/locale/zh_CN.json +39 -4
  135. umap/static/umap/locale/zh_TW.Big5.json +39 -4
  136. umap/static/umap/locale/zh_TW.js +98 -63
  137. umap/static/umap/locale/zh_TW.json +98 -63
  138. umap/static/umap/map.css +90 -41
  139. umap/static/umap/vars.css +1 -0
  140. umap/static/umap/vendors/editable/Leaflet.Editable.js +3 -1
  141. umap/static/umap/vendors/openrouteservice/ors-js-client.js +521 -0
  142. umap/static/umap/vendors/openrouteservice/ors-js-client.js.map +1 -0
  143. umap/static/umap/vendors/simple-elevation-chart/elevation.js +63 -0
  144. umap/static/umap/vendors/simple-elevation-chart/elevation.svg +8 -0
  145. umap/static/umap/vendors/snapdom/snapdom.min.mjs +3 -0
  146. umap/storage/staticfiles.py +12 -0
  147. umap/templates/umap/css.html +0 -4
  148. umap/templates/umap/js.html +1 -3
  149. umap/tests/integration/test_basics.py +2 -0
  150. umap/tests/integration/test_conditional_rules.py +17 -17
  151. umap/tests/integration/test_datalayer.py +1 -1
  152. umap/tests/integration/test_draw_polygon.py +3 -5
  153. umap/tests/integration/test_draw_polyline.py +4 -6
  154. umap/tests/integration/test_draw_route.py +178 -0
  155. umap/tests/integration/test_edit_map.py +1 -1
  156. umap/tests/integration/test_edit_marker.py +7 -7
  157. umap/tests/integration/test_edit_polygon.py +2 -2
  158. umap/tests/integration/test_export_map.py +74 -10
  159. umap/tests/integration/test_map_preview.py +1 -1
  160. umap/tests/integration/test_share.py +1 -1
  161. umap/tests/integration/test_tableeditor.py +4 -4
  162. umap/tests/integration/test_websocket_sync.py +4 -4
  163. umap/utils.py +5 -1
  164. umap/views.py +2 -0
  165. {umap_project-3.2.0.dist-info → umap_project-3.3.0.dist-info}/METADATA +8 -8
  166. {umap_project-3.2.0.dist-info → umap_project-3.3.0.dist-info}/RECORD +169 -165
  167. umap/static/umap/vendors/markercluster/MarkerCluster.Default.css +0 -60
  168. umap/static/umap/vendors/markercluster/MarkerCluster.css +0 -14
  169. umap/static/umap/vendors/markercluster/leaflet.markercluster.js +0 -2
  170. umap/static/umap/vendors/markercluster/leaflet.markercluster.js.map +0 -1
  171. {umap_project-3.2.0.dist-info → umap_project-3.3.0.dist-info}/WHEEL +0 -0
  172. {umap_project-3.2.0.dist-info → umap_project-3.3.0.dist-info}/entry_points.txt +0 -0
  173. {umap_project-3.2.0.dist-info → umap_project-3.3.0.dist-info}/licenses/LICENSE +0 -0
@@ -2,10 +2,19 @@
2
2
  .umap-form-inline {
3
3
  display: inline;
4
4
  }
5
- input[type="text"], input[type="password"], input[type="date"],
6
- input[type="datetime-local"], input[type="email"], input[type="number"],
7
- input[type="search"], input[type="tel"], input[type="time"], input[type="file"],
8
- input[type="url"], textarea {
5
+
6
+ input[type="text"],
7
+ input[type="password"],
8
+ input[type="date"],
9
+ input[type="datetime-local"],
10
+ input[type="email"],
11
+ input[type="number"],
12
+ input[type="search"],
13
+ input[type="tel"],
14
+ input[type="time"],
15
+ input[type="file"],
16
+ input[type="url"],
17
+ textarea {
9
18
  background-color: var(--color-light);
10
19
  border: 2px solid var(--color-darkBlue);
11
20
  color: var(--text-color);
@@ -16,19 +25,23 @@ input[type="url"], textarea {
16
25
  width: 100%;
17
26
  min-height: 40px;
18
27
  }
28
+
19
29
  input[type="range"] {
20
30
  margin-top: 10px;
21
31
  margin-bottom: 5px;
22
32
  width: 100%;
23
33
  }
34
+
24
35
  input[type="radio"] {
25
36
  margin-inline-end: var(--text-margin);
26
37
  }
38
+
27
39
  input[type="checkbox"] {
28
40
  margin: 0 var(--text-margin);
29
41
  vertical-align: middle;
30
42
  appearance: none;
31
43
  }
44
+
32
45
  input[type="checkbox"]:after {
33
46
  display: inline-block;
34
47
  content: ' ';
@@ -40,26 +53,31 @@ input[type="checkbox"]:after {
40
53
  font-size: 1rem;
41
54
  line-height: 0.8rem;
42
55
  }
56
+
43
57
  input[type=checkbox]:checked:after {
44
58
  background-color: var(--color-lightCyan);
45
59
  content: '✓';
46
60
  color: var(--color-darkGray);
47
61
  }
62
+
48
63
  input[data-modified=true] {
49
64
  background-color: var(--color-lightCyan);
50
65
  border: 1px solid var(--color-veryDarkGray);
51
66
  }
52
- input + select,
53
- select + input,
54
- input + input {
67
+
68
+ input+select,
69
+ select+input,
70
+ input+input {
55
71
  border-left: none;
56
72
  }
73
+
57
74
  textarea {
58
75
  height: inherit;
59
76
  padding: 7px;
60
77
  min-height: 15rem;
61
78
  min-height: 6rlh;
62
79
  }
80
+
63
81
  select {
64
82
  border: 2px solid var(--color-darkBlue);
65
83
  width: 100%;
@@ -68,15 +86,18 @@ select {
68
86
  color: var(--text-color);
69
87
  min-height: 40px;
70
88
  }
89
+
71
90
  .dark select {
72
91
  color: var(--text-color);
73
92
  background-color: var(--color-darkGray);
74
93
  border-color: var(--color-veryDarkGray);
75
94
  border-width: 1px;
76
95
  }
96
+
77
97
  select[multiple="multiple"] {
78
98
  height: auto;
79
99
  }
100
+
80
101
  .button,
81
102
  [type="button"],
82
103
  input[type="submit"] {
@@ -93,34 +114,46 @@ input[type="submit"] {
93
114
  font-weight: normal;
94
115
  min-height: 40px;
95
116
  }
117
+
96
118
  .dark .button,
97
119
  .dark [type="button"] {
98
120
  background-color: var(--color-darkerGray);
99
121
  color: var(--text-color);
100
- border: 1px solid var(--color-veryDarkGray);
122
+ border: 1px solid var(--color-lightGray);
123
+ }
124
+
125
+ .dark.umap-edit-bar .button,
126
+ .dark.umap-edit-bar [type="button"] {
127
+ border: none;
101
128
  }
129
+
102
130
  .button.primary {
103
131
  font-weight: bold;
104
132
  }
133
+
105
134
  .dark .button.primary:not([disabled]),
106
135
  .dark [type="button"].primary:not([disabled]) {
107
136
  background-color: var(--color-verySoftCyan);
108
137
  color: var(--color-dark);
109
138
  border: 1px solid var(--color-veryDarkGray);
110
139
  }
140
+
111
141
  .dark .button:hover,
112
142
  .dark [type="button"]:hover,
113
143
  .dark input[type="submit"]:hover {
114
144
  background-color: var(--color-mediumGray);
115
145
  }
146
+
116
147
  .dark a {
117
148
  color: var(--color-verySoftCyan) !important;
118
149
  }
150
+
119
151
  .dark [type="button"][disabled],
120
152
  .dark input[type="submit"][disabled] {
121
153
  background-color: var(--color-mediumGray);
122
154
  cursor: not-allowed;
123
155
  }
156
+
124
157
  button.flat,
125
158
  [type="button"].flat,
126
159
  .dark [type="button"].flat {
@@ -134,20 +167,25 @@ button.flat,
134
167
  line-height: inherit;
135
168
  color: var(--text-color);
136
169
  }
170
+
137
171
  button.flat:hover,
138
172
  [type="button"].flat:hover,
139
173
  .dark [type="button"].flat:hover {
140
174
  text-decoration: underline;
141
175
  }
176
+
142
177
  .dark button.round,
143
178
  button.round {
144
179
  border-radius: 20px;
145
180
  border: 0.5px solid rgba(153, 153, 153, 0.40);
146
181
  }
182
+
147
183
  button.round.small {
148
184
  padding: var(--button-padding-small);
149
185
  }
150
- .help-text, .helptext {
186
+
187
+ .help-text,
188
+ .helptext {
151
189
  display: block;
152
190
  padding: 7px 7px;
153
191
  margin-bottom: 14px;
@@ -156,50 +194,59 @@ button.round.small {
156
194
  font-size: 10px;
157
195
  border-radius: 0 2px;
158
196
  }
197
+
159
198
  .content .helptext {
160
199
  background-color: var(--color-lightGray);
161
200
  color: var(--color-dark);
162
201
  }
163
- input + .help-text {
202
+
203
+ input+.help-text {
164
204
  margin-top: -14px;
165
205
  }
206
+
166
207
  .formbox {
167
208
  min-height: 36px;
168
209
  margin-bottom: 14px;
210
+ display: flex;
211
+ flex-direction: column;
212
+ gap: var(--text-margin);
169
213
  }
214
+
170
215
  .formbox.with-switch {
171
216
  padding-top: 2px;
172
217
  }
218
+
173
219
  .with-switch {
174
220
  overflow: hidden;
175
221
  }
176
- .formbox select,
177
- .formbox textarea,
178
- .formbox input {
179
- margin-bottom: var(--text-margin);
180
- }
222
+
181
223
  fieldset.formbox {
182
224
  border: none;
183
225
  border-top: 1px solid var(--color-lightGray);
184
226
  }
227
+
185
228
  label {
186
229
  display: block;
187
230
  font-size: 12px;
188
231
  line-height: 21px;
189
232
  width: 100%;
190
233
  }
191
- label + label {
234
+
235
+ label+label {
192
236
  margin-top: var(--box-margin);
193
237
  }
238
+
194
239
  .content label {
195
240
  font-weight: bold;
196
241
  }
197
- input[type="checkbox"] + label {
242
+
243
+ input[type="checkbox"]+label {
198
244
  display: inline;
199
245
  padding: 0 14px;
200
246
  }
201
- select + .error,
202
- input + .error {
247
+
248
+ select+.error,
249
+ input+.error {
203
250
  display: block;
204
251
  padding: 7px 7px;
205
252
  margin-top: -14px;
@@ -210,34 +257,42 @@ input + .error {
210
257
  font-size: 11px;
211
258
  border-radius: 0 2px;
212
259
  }
213
- input[type="file"] + .error {
260
+
261
+ input[type="file"]+.error {
214
262
  margin-top: 0;
215
263
  }
264
+
216
265
  input[value]:invalid {
217
266
  border-color: var(--color-red);
218
267
  background-color: var(--color-darkRed);
219
268
  }
220
- .dark input, .dark textarea {
269
+
270
+ .dark input,
271
+ .dark textarea {
221
272
  background-color: var(--color-darkerGray);
222
273
  border-color: var(--color-veryDarkGray);
223
274
  border-width: 1px;
224
275
  color: var(--color-lightGray);
225
276
  }
277
+
226
278
  details {
227
279
  margin-bottom: 5px;
228
280
  margin-top: 5px;
229
281
  border-start-start-radius: 4px;
230
282
  border-start-end-radius: 4px;
231
283
  }
284
+
232
285
  .dark details {
233
286
  border: 1px solid var(--color-veryDarkGray);
234
287
  }
288
+
235
289
  details fieldset {
236
290
  overflow: hidden;
237
291
  border: 1px solid var(--color-lightGray);
238
292
  margin: 0;
239
293
  padding-top: 10px;
240
294
  }
295
+
241
296
  details summary {
242
297
  cursor: pointer;
243
298
  background-color: var(--color-lightGray);
@@ -245,17 +300,21 @@ details summary {
245
300
  font-size: 1.2em;
246
301
  padding: 0 5px;
247
302
  }
303
+
248
304
  .dark details summary {
249
305
  background-color: var(--color-darkerGray);
250
306
  color: var(--color-light);
251
307
  }
308
+
252
309
  .dark details fieldset {
253
310
  border: 1px solid var(--color-darkGray);
254
311
  }
312
+
255
313
  fieldset legend {
256
314
  font-size: .9rem;
257
315
  padding: 0 5px;
258
316
  }
317
+
259
318
  fieldset.separator {
260
319
  border: none;
261
320
  border-top: 1px solid var(--color-lightGray);
@@ -264,6 +323,7 @@ fieldset.separator {
264
323
  [data-badge] {
265
324
  position: relative;
266
325
  }
326
+
267
327
  [data-badge]:after {
268
328
  position: absolute;
269
329
  inset-inline-end: -6px;
@@ -280,15 +340,17 @@ fieldset.separator {
280
340
  border-radius: 50%;
281
341
  content: attr(data-badge);
282
342
  }
343
+
283
344
  [hidden] {
284
- display: none!important;
345
+ display: none !important;
285
346
  }
286
347
 
287
348
  /* Switch */
288
349
  input.switch:empty {
289
350
  display: none;
290
351
  }
291
- input.switch:empty ~ label {
352
+
353
+ input.switch:empty~label {
292
354
  white-space: nowrap;
293
355
  position: relative;
294
356
  float: inline-start;
@@ -301,8 +363,9 @@ input.switch:empty ~ label {
301
363
  text-shadow: 0 1px rgba(0, 0, 0, 0.1);
302
364
  width: 80px;
303
365
  }
304
- input.switch:empty ~ label:before,
305
- input.switch:empty ~ label:after {
366
+
367
+ input.switch:empty~label:before,
368
+ input.switch:empty~label:after {
306
369
  position: absolute;
307
370
  display: block;
308
371
  top: 0;
@@ -316,11 +379,13 @@ input.switch:empty ~ label:after {
316
379
  font-weight: bold;
317
380
  background-color: var(--color-lighterGray);
318
381
  }
319
- .dark input.switch:empty ~ label:before,
320
- .dark input.switch:empty ~ label:after {
382
+
383
+ .dark input.switch:empty~label:before,
384
+ .dark input.switch:empty~label:after {
321
385
  background-color: var(--color-darkerGray);
322
386
  }
323
- input.switch:empty ~ label:after {
387
+
388
+ input.switch:empty~label:after {
324
389
  width: 3em;
325
390
  margin-inline-start: 0.1em;
326
391
  background-color: var(--color-lightGray);
@@ -329,16 +394,19 @@ input.switch:empty ~ label:after {
329
394
  border: 1px solid var(--color-darkerGray);
330
395
  font-weight: bold;
331
396
  }
332
- .dark input.switch:empty ~ label:after {
397
+
398
+ .dark input.switch:empty~label:after {
333
399
  border: 1px solid var(--color-veryDarkGray);
334
400
  background-color: var(--color-darkerGray);
335
401
  color: var(--color-lightGray);
336
402
  }
337
- input.switch:checked:empty ~ label:after {
403
+
404
+ input.switch:checked:empty~label:after {
338
405
  content: ' ';
339
406
  }
340
- .dark input.switch:checked ~ label:before,
341
- input.switch:checked ~ label:before {
407
+
408
+ .dark input.switch:checked~label:before,
409
+ input.switch:checked~label:before {
342
410
  background-color: var(--color-verySoftCyan);
343
411
  border: 1px solid var(--color-lightGray);
344
412
  color: var(--color-darkGray);
@@ -347,27 +415,36 @@ input.switch:checked ~ label:before {
347
415
  text-align: start;
348
416
  font-weight: bold;
349
417
  }
350
- .dark input.switch:checked ~ label:before {
418
+
419
+ .dark input.switch:checked~label:before {
351
420
  border: none;
352
421
  background-color: var(--color-verySoftCyan);
353
422
  }
354
- input.switch:checked ~ label:after {
423
+
424
+ input.switch:checked~label:after {
355
425
  margin-inline-start: 3em;
356
426
  }
357
- .button-bar, .umap-multiplechoice {
427
+
428
+ .button-bar,
429
+ .umap-multiplechoice {
358
430
  margin-top: 5px;
359
431
  text-align: center;
360
432
  display: grid;
361
- width: 100%
433
+ width: 100%;
362
434
  }
435
+
363
436
  .button-bar {
364
437
  grid-gap: var(--gutter);
365
438
  }
439
+
366
440
  .umap-multiplechoice.by2,
441
+ .button-bar.by2,
367
442
  .button-bar.half {
368
443
  grid-template-columns: 1fr 1fr;
369
444
  justify-items: center;
445
+ width: calc(100% - var(--gutter) * 2);
370
446
  }
447
+
371
448
  .button-bar.by3,
372
449
  .button-bar.by5,
373
450
  .button-bar.by6,
@@ -375,19 +452,25 @@ input.switch:checked ~ label:after {
375
452
  .umap-multiplechoice.by5,
376
453
  .umap-multiplechoice.by6 {
377
454
  grid-template-columns: 1fr 1fr 1fr;
455
+ width: calc(100% - var(--gutter) * 3);
378
456
  }
457
+
379
458
  .button-bar.by4,
380
459
  .umap-multiplechoice.by4 {
381
460
  grid-template-columns: 1fr 1fr 1fr 1fr;
461
+ width: calc(100% - var(--gutter) * 4);
382
462
  }
463
+
383
464
  .button-bar .button,
384
465
  .button-bar [type="button"] {
385
466
  display: inline-block;
386
467
  width: 100%;
387
468
  }
469
+
388
470
  .umap-multiplechoice input[type='radio'] {
389
471
  display: none;
390
472
  }
473
+
391
474
  .umap-multiplechoice label {
392
475
  border: 1px solid var(--color-veryDarkGray);
393
476
  cursor: pointer;
@@ -398,17 +481,21 @@ input.switch:checked ~ label:after {
398
481
  width: 100%;
399
482
  display: inline-block;
400
483
  }
484
+
401
485
  .dark .umap-multiplechoice label {
402
486
  border: 1px solid var(--color-veryDarkGray);
403
487
  background-color: var(--color-darkGray);
404
488
  }
405
- .umap-multiplechoice input[type='radio']:checked + label {
489
+
490
+ .umap-multiplechoice input[type='radio']:checked+label {
406
491
  background-color: var(--color-verySoftCyan);
407
492
  color: var(--color-darkGray);
408
493
  }
494
+
409
495
  .inheritable .header .buttons {
410
496
  padding: 0;
411
497
  }
498
+
412
499
  .inheritable .header {
413
500
  margin-bottom: 5px;
414
501
  display: flex;
@@ -416,15 +503,18 @@ input.switch:checked ~ label:after {
416
503
  align-content: center;
417
504
  justify-content: space-between;
418
505
  }
506
+
419
507
  .inheritable .header label {
420
508
  padding-top: 6px;
421
509
  width: initial;
422
510
  }
423
- .inheritable + .inheritable {
511
+
512
+ .inheritable+.inheritable {
424
513
  border-top: 1px solid var(--color-darkerGray);
425
514
  padding-top: 5px;
426
515
  margin-top: 5px;
427
516
  }
517
+
428
518
  .umap-field-iconUrl .action-button,
429
519
  .inheritable .define,
430
520
  .inheritable .undefine {
@@ -433,11 +523,13 @@ input.switch:checked ~ label:after {
433
523
  line-height: 18px;
434
524
  margin-bottom: 0;
435
525
  }
526
+
436
527
  .inheritable .define,
437
528
  .inheritable.undefined .undefine,
438
529
  .inheritable.undefined .show-on-defined {
439
530
  display: none;
440
531
  }
532
+
441
533
  .inheritable.undefined .define {
442
534
  display: block;
443
535
  }
@@ -452,14 +544,20 @@ i.info {
452
544
  width: 16px;
453
545
  height: 18px;
454
546
  }
547
+
455
548
  .dark i.info {
456
549
  background-image: url('../img/16-white.svg');
457
550
  }
551
+
458
552
  .with-transition {
459
553
  transition: all .7s;
460
554
  }
461
- .umap-empty:before, .umap-to-polygon:before,
462
- .umap-clone:before, .umap-edit:before, .umap-download:before,
555
+
556
+ .umap-empty:before,
557
+ .umap-to-polygon:before,
558
+ .umap-clone:before,
559
+ .umap-edit:before,
560
+ .umap-download:before,
463
561
  .umap-to-polyline:before {
464
562
  background-repeat: no-repeat;
465
563
  text-indent: 36px;
@@ -470,29 +568,37 @@ i.info {
470
568
  vertical-align: bottom;
471
569
  content: " ";
472
570
  }
571
+
473
572
  .dark .umap-empty:before,
474
573
  .dark .umap-to-polygon:before,
475
574
  .dark .umap-clone:before,
476
- .dark .umap-edit:before, .dark .umap-download:before,
575
+ .dark .umap-edit:before,
576
+ .dark .umap-download:before,
477
577
  .dark .umap-to-polyline:before {
478
578
  background-image: url('../img/24-white.svg');
479
579
  vertical-align: middle;
480
580
  }
581
+
481
582
  .umap-to-polygon:before {
482
583
  background-position: -72px -42px;
483
584
  }
585
+
484
586
  .umap-to-polyline:before {
485
587
  background-position: -106px -42px;
486
588
  }
589
+
487
590
  .umap-clone:before {
488
591
  background-position: -144px -78px;
489
592
  }
593
+
490
594
  .umap-empty:before {
491
595
  background-position: -108px -78px;
492
596
  }
597
+
493
598
  .umap-download:before {
494
599
  background-position: -72px -78px;
495
600
  }
601
+
496
602
  .umap-field-datalist {
497
603
  display: flex;
498
604
  justify-content: space-between;
@@ -500,6 +606,7 @@ i.info {
500
606
  margin-top: -8px;
501
607
  padding: 0 5px;
502
608
  }
609
+
503
610
  .flat-tabs {
504
611
  display: flex;
505
612
  justify-content: space-around;
@@ -507,6 +614,7 @@ i.info {
507
614
  margin-bottom: 20px;
508
615
  border-bottom: 1px solid var(--color-lighterGray);
509
616
  }
617
+
510
618
  .flat-tabs button.flat {
511
619
  padding: 10px;
512
620
  text-decoration: none;
@@ -514,32 +622,39 @@ i.info {
514
622
  border-bottom: 2px solid transparent;
515
623
  font-weight: bold;
516
624
  }
625
+
517
626
  .flat-tabs button.flat:hover,
518
627
  .flat-tabs .flat.on {
519
628
  color: var(--color-verySoftCyan);
520
629
  border-bottom: 2px solid var(--color-verySoftCyan);
521
630
  }
631
+
522
632
  .dark .flat-tabs button.flat:hover {
523
633
  text-decoration: none;
524
634
  }
635
+
525
636
  .dark .flat-tabs button.flat {
526
637
  border-bottom: 2px solid transparent;
527
638
  color: var(--color-light);
528
639
  }
640
+
529
641
  .dark .flat-tabs button.flat:hover,
530
642
  .dark .flat-tabs .flat.on {
531
643
  color: var(--color-verySoftCyan);
532
644
  border-bottom: 2px solid var(--color-verySoftCyan);
533
645
  }
646
+
534
647
  .umap-pictogram-category h6 {
535
648
  font-size: 1.3em;
536
649
  }
650
+
537
651
  .umap-pictogram-grid {
538
652
  display: grid;
539
653
  grid-template-columns: repeat(auto-fill, 30px);
540
654
  justify-content: space-between;
541
655
  grid-gap: 5px;
542
656
  }
657
+
543
658
  .umap-pictogram-choice {
544
659
  width: 30px;
545
660
  height: 30px;
@@ -553,14 +668,17 @@ i.info {
553
668
  font-weight: bold;
554
669
  overflow: hidden;
555
670
  }
671
+
556
672
  .umap-pictogram-choice img {
557
673
  vertical-align: middle;
558
674
  max-width: 24px;
559
675
  }
676
+
560
677
  .umap-pictogram-choice:hover,
561
678
  .umap-color-picker span:hover {
562
679
  background-color: var(--color-lighterGray);
563
680
  }
681
+
564
682
  .umap-pictogram-choice.selected {
565
683
  box-shadow: inset 0 0 0 1px var(--color-lighterGray);
566
684
  }
@@ -570,11 +688,13 @@ i.info {
570
688
  inset-inline-start: 30px;
571
689
  position: absolute;
572
690
  }
691
+
573
692
  .umap-color-picker {
574
693
  clear: both;
575
694
  margin-bottom: 20px;
576
695
  overflow: hidden;
577
696
  }
697
+
578
698
  .umap-color-picker span {
579
699
  width: 20px;
580
700
  height: 20px;
@@ -584,6 +704,7 @@ i.info {
584
704
  cursor: pointer;
585
705
  float: inline-start;
586
706
  }
707
+
587
708
  input.blur {
588
709
  width: calc(100% - 40px);
589
710
  display: inline-block;
@@ -592,30 +713,37 @@ input.blur {
592
713
  border-end-end-radius: 0;
593
714
  margin-bottom: 0;
594
715
  }
595
- .blur + .button,
596
- .blur + [type="button"] {
716
+
717
+ .blur+.button,
718
+ .blur+[type="button"] {
597
719
  width: 40px;
598
720
  display: inline-block;
599
721
  vertical-align: middle;
600
722
  border-start-start-radius: 0;
601
723
  border-end-start-radius: 0;
602
724
  box-sizing: border-box;
725
+ border: none;
603
726
  }
604
- input[type=hidden].blur + .button,
605
- input[type=hidden].blur + [type="button"] {
727
+
728
+ input[type=hidden].blur+.button,
729
+ input[type=hidden].blur+[type="button"] {
606
730
  display: none;
607
731
  }
732
+
608
733
  .blur-container {
609
734
  display: flex;
610
735
  align-items: stretch;
611
736
  }
737
+
612
738
  .copiable-input {
613
739
  display: flex;
614
740
  align-items: end;
615
741
  }
742
+
616
743
  .copiable-input input {
617
744
  border-radius: initial;
618
745
  }
746
+
619
747
  .copiable-input button {
620
748
  background-color: var(--background-color);
621
749
  color: var(--text-color);
@@ -623,9 +751,11 @@ input[type=hidden].blur + [type="button"] {
623
751
  border-left: none;
624
752
  width: 40px;
625
753
  }
754
+
626
755
  input.highlightable:not(:placeholder-shown) {
627
756
  border: 1px solid var(--color-brightCyan);
628
757
  }
758
+
629
759
  .umap-import [type=url] {
630
760
  margin-bottom: 0;
631
761
  }