umap-project 1.14.0a1__py3-none-any.whl → 1.14.0a2__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 (182) hide show
  1. umap/__init__.py +1 -1
  2. umap/static/.gitignore +0 -0
  3. umap/static/umap/base.css +994 -0
  4. umap/static/umap/bitbucket.png +0 -0
  5. umap/static/umap/content.css +395 -0
  6. umap/static/umap/favicons/apple-touch-icon.png +0 -0
  7. umap/static/umap/favicons/favicon.ico +0 -0
  8. umap/static/umap/favicons/icon-192.png +0 -0
  9. umap/static/umap/favicons/icon-512.png +0 -0
  10. umap/static/umap/favicons/icon.svg +5 -0
  11. umap/static/umap/font/FiraSans-Light.woff +0 -0
  12. umap/static/umap/font/FiraSans-Light.woff2 +0 -0
  13. umap/static/umap/font/FiraSans-LightItalic.woff +0 -0
  14. umap/static/umap/font/FiraSans-LightItalic.woff2 +0 -0
  15. umap/static/umap/font/FiraSans-SemiBold.woff +0 -0
  16. umap/static/umap/font/FiraSans-SemiBold.woff2 +0 -0
  17. umap/static/umap/font.css +33 -0
  18. umap/static/umap/github.png +0 -0
  19. umap/static/umap/img/16-white.svg +190 -0
  20. umap/static/umap/img/16.svg +182 -0
  21. umap/static/umap/img/24-white.svg +62 -0
  22. umap/static/umap/img/24.svg +90 -0
  23. umap/static/umap/img/edit.svg +7 -0
  24. umap/static/umap/img/icon-bg.png +0 -0
  25. umap/static/umap/img/logo.svg +4 -0
  26. umap/static/umap/img/logo_filigree.png +0 -0
  27. umap/static/umap/img/logo_small.svg +14 -0
  28. umap/static/umap/img/marker.png +0 -0
  29. umap/static/umap/img/opensource.svg +7 -0
  30. umap/static/umap/img/osm.svg +7 -0
  31. umap/static/umap/img/search.gif +0 -0
  32. umap/static/umap/img/source/16-white.svg +980 -0
  33. umap/static/umap/img/source/16.svg +201 -0
  34. umap/static/umap/img/source/24-white.svg +83 -0
  35. umap/static/umap/img/source/24.svg +110 -0
  36. umap/static/umap/js/components/fragment.js +13 -0
  37. umap/static/umap/js/modules/global.js +8 -0
  38. umap/static/umap/js/modules/urls.js +29 -0
  39. umap/static/umap/js/umap.autocomplete.js +336 -0
  40. umap/static/umap/js/umap.browser.js +148 -0
  41. umap/static/umap/js/umap.controls.js +1542 -0
  42. umap/static/umap/js/umap.core.js +851 -0
  43. umap/static/umap/js/umap.datalayer.permissions.js +72 -0
  44. umap/static/umap/js/umap.features.js +1216 -0
  45. umap/static/umap/js/umap.forms.js +1267 -0
  46. umap/static/umap/js/umap.icon.js +234 -0
  47. umap/static/umap/js/umap.importer.js +166 -0
  48. umap/static/umap/js/umap.js +2010 -0
  49. umap/static/umap/js/umap.layer.js +1636 -0
  50. umap/static/umap/js/umap.permissions.js +212 -0
  51. umap/static/umap/js/umap.popup.js +340 -0
  52. umap/static/umap/js/umap.share.js +254 -0
  53. umap/static/umap/js/umap.slideshow.js +165 -0
  54. umap/static/umap/js/umap.tableeditor.js +120 -0
  55. umap/static/umap/js/umap.ui.js +240 -0
  56. umap/static/umap/js/umap.xhr.js +304 -0
  57. umap/static/umap/locale/am_ET.js +447 -0
  58. umap/static/umap/locale/am_ET.json +445 -0
  59. umap/static/umap/locale/ar.js +447 -0
  60. umap/static/umap/locale/ar.json +445 -0
  61. umap/static/umap/locale/ast.js +447 -0
  62. umap/static/umap/locale/ast.json +445 -0
  63. umap/static/umap/locale/bg.js +447 -0
  64. umap/static/umap/locale/bg.json +445 -0
  65. umap/static/umap/locale/br.js +447 -0
  66. umap/static/umap/locale/br.json +445 -0
  67. umap/static/umap/locale/ca.js +447 -0
  68. umap/static/umap/locale/ca.json +445 -0
  69. umap/static/umap/locale/cs_CZ.js +447 -0
  70. umap/static/umap/locale/cs_CZ.json +445 -0
  71. umap/static/umap/locale/da.js +447 -0
  72. umap/static/umap/locale/da.json +445 -0
  73. umap/static/umap/locale/de.js +447 -0
  74. umap/static/umap/locale/de.json +445 -0
  75. umap/static/umap/locale/el.js +447 -0
  76. umap/static/umap/locale/el.json +445 -0
  77. umap/static/umap/locale/en.js +447 -0
  78. umap/static/umap/locale/en.json +445 -0
  79. umap/static/umap/locale/en_US.json +445 -0
  80. umap/static/umap/locale/es.js +447 -0
  81. umap/static/umap/locale/es.json +445 -0
  82. umap/static/umap/locale/et.js +447 -0
  83. umap/static/umap/locale/et.json +445 -0
  84. umap/static/umap/locale/eu.js +413 -0
  85. umap/static/umap/locale/eu.json +411 -0
  86. umap/static/umap/locale/fa_IR.js +447 -0
  87. umap/static/umap/locale/fa_IR.json +445 -0
  88. umap/static/umap/locale/fi.js +447 -0
  89. umap/static/umap/locale/fi.json +445 -0
  90. umap/static/umap/locale/fr.js +447 -0
  91. umap/static/umap/locale/fr.json +445 -0
  92. umap/static/umap/locale/gl.js +447 -0
  93. umap/static/umap/locale/gl.json +445 -0
  94. umap/static/umap/locale/he.js +447 -0
  95. umap/static/umap/locale/he.json +445 -0
  96. umap/static/umap/locale/hr.js +447 -0
  97. umap/static/umap/locale/hr.json +445 -0
  98. umap/static/umap/locale/hu.js +447 -0
  99. umap/static/umap/locale/hu.json +445 -0
  100. umap/static/umap/locale/id.js +447 -0
  101. umap/static/umap/locale/id.json +445 -0
  102. umap/static/umap/locale/is.js +447 -0
  103. umap/static/umap/locale/is.json +445 -0
  104. umap/static/umap/locale/it.js +447 -0
  105. umap/static/umap/locale/it.json +445 -0
  106. umap/static/umap/locale/ja.js +447 -0
  107. umap/static/umap/locale/ja.json +445 -0
  108. umap/static/umap/locale/ko.js +447 -0
  109. umap/static/umap/locale/ko.json +445 -0
  110. umap/static/umap/locale/lt.js +447 -0
  111. umap/static/umap/locale/lt.json +445 -0
  112. umap/static/umap/locale/ms.js +447 -0
  113. umap/static/umap/locale/ms.json +445 -0
  114. umap/static/umap/locale/nl.js +447 -0
  115. umap/static/umap/locale/nl.json +445 -0
  116. umap/static/umap/locale/no.js +447 -0
  117. umap/static/umap/locale/no.json +445 -0
  118. umap/static/umap/locale/pl.js +447 -0
  119. umap/static/umap/locale/pl.json +445 -0
  120. umap/static/umap/locale/pl_PL.json +445 -0
  121. umap/static/umap/locale/pt.js +447 -0
  122. umap/static/umap/locale/pt.json +445 -0
  123. umap/static/umap/locale/pt_BR.js +447 -0
  124. umap/static/umap/locale/pt_BR.json +445 -0
  125. umap/static/umap/locale/pt_PT.js +447 -0
  126. umap/static/umap/locale/pt_PT.json +445 -0
  127. umap/static/umap/locale/ro.js +447 -0
  128. umap/static/umap/locale/ro.json +445 -0
  129. umap/static/umap/locale/ru.js +447 -0
  130. umap/static/umap/locale/ru.json +445 -0
  131. umap/static/umap/locale/si.js +439 -0
  132. umap/static/umap/locale/si.json +437 -0
  133. umap/static/umap/locale/sk_SK.js +447 -0
  134. umap/static/umap/locale/sk_SK.json +445 -0
  135. umap/static/umap/locale/sl.js +447 -0
  136. umap/static/umap/locale/sl.json +445 -0
  137. umap/static/umap/locale/sr.js +447 -0
  138. umap/static/umap/locale/sr.json +445 -0
  139. umap/static/umap/locale/sv.js +447 -0
  140. umap/static/umap/locale/sv.json +445 -0
  141. umap/static/umap/locale/th_TH.js +447 -0
  142. umap/static/umap/locale/th_TH.json +445 -0
  143. umap/static/umap/locale/tr.js +447 -0
  144. umap/static/umap/locale/tr.json +445 -0
  145. umap/static/umap/locale/uk_UA.js +447 -0
  146. umap/static/umap/locale/uk_UA.json +445 -0
  147. umap/static/umap/locale/vi.js +447 -0
  148. umap/static/umap/locale/vi.json +445 -0
  149. umap/static/umap/locale/vi_VN.json +445 -0
  150. umap/static/umap/locale/zh.js +447 -0
  151. umap/static/umap/locale/zh.json +445 -0
  152. umap/static/umap/locale/zh_CN.json +445 -0
  153. umap/static/umap/locale/zh_TW.Big5.json +445 -0
  154. umap/static/umap/locale/zh_TW.js +447 -0
  155. umap/static/umap/locale/zh_TW.json +445 -0
  156. umap/static/umap/map.css +1843 -0
  157. umap/static/umap/nav.css +81 -0
  158. umap/static/umap/openstreetmap.png +0 -0
  159. umap/static/umap/test/.eslintrc +22 -0
  160. umap/static/umap/test/Choropleth.js +243 -0
  161. umap/static/umap/test/Controls.js +100 -0
  162. umap/static/umap/test/DataLayer.js +495 -0
  163. umap/static/umap/test/Feature.js +382 -0
  164. umap/static/umap/test/Map.Export.js +106 -0
  165. umap/static/umap/test/Map.Init.js +46 -0
  166. umap/static/umap/test/Map.js +342 -0
  167. umap/static/umap/test/Marker.js +122 -0
  168. umap/static/umap/test/Permissions.js +74 -0
  169. umap/static/umap/test/Polygon.js +367 -0
  170. umap/static/umap/test/Polyline.js +402 -0
  171. umap/static/umap/test/TableEditor.js +100 -0
  172. umap/static/umap/test/URLs.js +54 -0
  173. umap/static/umap/test/Util.js +549 -0
  174. umap/static/umap/test/_pre.js +460 -0
  175. umap/static/umap/test/index.html +135 -0
  176. umap/static/umap/theme.css +1 -0
  177. umap/static/umap/twitter.png +0 -0
  178. {umap_project-1.14.0a1.dist-info → umap_project-1.14.0a2.dist-info}/METADATA +1 -1
  179. {umap_project-1.14.0a1.dist-info → umap_project-1.14.0a2.dist-info}/RECORD +182 -6
  180. {umap_project-1.14.0a1.dist-info → umap_project-1.14.0a2.dist-info}/WHEEL +0 -0
  181. {umap_project-1.14.0a1.dist-info → umap_project-1.14.0a2.dist-info}/entry_points.txt +0 -0
  182. {umap_project-1.14.0a1.dist-info → umap_project-1.14.0a2.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,994 @@
1
+ /*
2
+ * Generic
3
+ */
4
+ body, div, ul, ol, li, a, section, nav,
5
+ h1, h2, h3, h4, h5, h6, label,
6
+ hr, input, textarea {
7
+ -moz-box-sizing:border-box;
8
+ -webkit-box-sizing:border-box;
9
+ box-sizing: border-box;
10
+ margin: 0;
11
+ padding: 0;
12
+ font-family: "fira_sans", -apple-system, BlinkMacSystemFont,
13
+ "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
14
+ "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
15
+ }
16
+ body, div, ul, ol, li, a, section, nav,
17
+ h1, h2, h3, h4, h5, h6, label, hr {
18
+ padding: 0;
19
+ }
20
+ a {
21
+ text-decoration: none;
22
+ color: SeaGreen;
23
+ }
24
+ hr {
25
+ clear: both;
26
+ width: 100%;
27
+ height: 0;
28
+ max-width: 980px;
29
+ margin: 28px auto;
30
+ -moz-border-bottom-colors: none;
31
+ -moz-border-left-colors: none;
32
+ -moz-border-right-colors: none;
33
+ -moz-border-top-colors: none;
34
+ border-color: #ddd;
35
+ border-image: none;
36
+ border-style: solid;
37
+ border-width: 1px 0 0;
38
+ }
39
+ h1, h2 {
40
+ margin-bottom: 28px;
41
+ }
42
+ h3, h4, h5 {
43
+ margin-bottom: 14px;
44
+ }
45
+ p {
46
+ line-height: 21px;
47
+ margin-top: 14px;
48
+ margin-bottom: 14px;
49
+ }
50
+ kbd {
51
+ border: 1px solid #b4b4b4;
52
+ box-shadow:
53
+ 0 1px 1px rgba(0, 0, 0, 0.2),
54
+ 0 2px 0 0 rgba(255, 255, 255, 0.7) inset;
55
+ border-radius: 3px;
56
+ padding: 1px 4px;
57
+ display: inline-block;
58
+ white-space: nowrap;
59
+ }
60
+
61
+ /*
62
+ * List
63
+ */
64
+ ul {
65
+ list-style-image:none;
66
+ list-style-position:inside;
67
+ list-style-type:none;
68
+ }
69
+
70
+ /* ************************************************* */
71
+ /* *********************** GRID ******************** */
72
+ /* ************************************************* */
73
+ .wrapper {
74
+ width: 100%;
75
+ clear: both;
76
+ }
77
+ .wrapper:after {
78
+ visibility: hidden;
79
+ display: block;
80
+ font-size: 0;
81
+ content: " ";
82
+ clear: both;
83
+ height: 0;
84
+ }
85
+ .row {
86
+ width: 100%;
87
+ max-width: 1200px;
88
+ clear: both;
89
+ margin-left: auto;
90
+ margin-right: auto;
91
+ margin-top: 0;
92
+ margin-bottom: 2rem;
93
+ }
94
+ .col {
95
+ float: left;
96
+ }
97
+ .right {
98
+ float: right;
99
+ }
100
+ .col + .col {
101
+ padding-left: 20px;
102
+ }
103
+ .half {
104
+ width: 50%;
105
+ }
106
+ .third {
107
+ width: 33.33%;
108
+ }
109
+ .two-third {
110
+ width: 66.66%
111
+ }
112
+ .quarter {
113
+ width: 25%;
114
+ }
115
+ .wide {
116
+ width: 100%;
117
+ }
118
+ .col + .wide {
119
+ padding-left: inherit;
120
+ }
121
+ .mshow, .tshow {
122
+ display: none;
123
+ }
124
+ .center {
125
+ margin-left: auto;
126
+ margin-right: auto;
127
+ float: none;
128
+ }
129
+
130
+
131
+ /* *********** */
132
+ /* forms */
133
+ /* *********** */
134
+ input[type="text"], input[type="password"], input[type="date"],
135
+ input[type="datetime"], input[type="email"], input[type="number"],
136
+ input[type="search"], input[type="tel"], input[type="time"],
137
+ input[type="url"], textarea {
138
+ background-color: white;
139
+ border: 1px solid #CCCCCC;
140
+ border-radius: 2px 2px 2px 2px;
141
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
142
+ color: rgba(0, 0, 0, 0.75);
143
+ display: block;
144
+ font-family: inherit;
145
+ font-size: 14px;
146
+ height: 32px;
147
+ margin: 0 0 14px;
148
+ padding: 7px;
149
+ width: 100%;
150
+ }
151
+ input[type="range"] {
152
+ margin-top: 10px;
153
+ margin-bottom: 5px;
154
+ width: 100%;
155
+ }
156
+ input[type="checkbox"] {
157
+ margin: 0 5px;
158
+ vertical-align: middle;
159
+ }
160
+ textarea {
161
+ height: inherit;
162
+ padding: 7px;
163
+ }
164
+ select {
165
+ border: 1px solid #222;
166
+ width: 100%;
167
+ height: 28px;
168
+ line-height: 28px;
169
+ margin-top: 5px;
170
+ }
171
+ .dark select {
172
+ color: #efefef;
173
+ background-color: #393F3F;
174
+ }
175
+ select[multiple="multiple"] {
176
+ height: auto;
177
+ }
178
+ .button,
179
+ [type="button"],
180
+ input[type="submit"] {
181
+ display: block;
182
+ margin-bottom: 14px;
183
+ text-align: center;
184
+ border-radius: 2px;
185
+ font-weight: normal;
186
+ cursor: pointer;
187
+ padding: 7px;
188
+ width: 100%;
189
+ min-height: 32px;
190
+ line-height: 32px;
191
+ border: none;
192
+ text-decoration: none;
193
+ background-color: white;
194
+ }
195
+ .dark .button,
196
+ .dark [type="button"] {
197
+ background-color: #2a2e30;
198
+ color: #eeeeec;
199
+ border: 1px solid #1b1f20;
200
+ }
201
+ .dark .button:hover,
202
+ .dark [type="button"]:hover,
203
+ .dark input[type="submit"]:hover {
204
+ background-color: #2e3436;
205
+ }
206
+ .dark a {
207
+ color: #eeeeec;
208
+ }
209
+ button.flat,
210
+ [type="button"].flat,
211
+ .dark [type="button"].flat {
212
+ border: none;
213
+ background-color: inherit;
214
+ padding: 0;
215
+ text-align: left;
216
+ min-height: inherit;
217
+ width: initial;
218
+ display: initial;
219
+ text-decoration: underline;
220
+ }
221
+ .help-text, .helptext {
222
+ display: block;
223
+ padding: 7px 7px;
224
+ margin-bottom: 14px;
225
+ background: #393F3F;
226
+ color: #ddd;
227
+ font-size: 10px;
228
+ border-radius: 0 2px;
229
+ }
230
+ .content .helptext {
231
+ background-color: #eee;
232
+ color: #000;
233
+ }
234
+ input + .help-text {
235
+ margin-top: -14px;
236
+ }
237
+ .formbox {
238
+ min-height: 36px;
239
+ line-height: 28px;
240
+ margin-bottom: 14px;
241
+ }
242
+ .formbox.with-switch {
243
+ padding-top: 2px;
244
+ }
245
+ .formbox select {
246
+ width: calc(100% - 14px);
247
+ }
248
+ label {
249
+ display: block;
250
+ font-size: 12px;
251
+ line-height: 21px;
252
+ width: 100%;
253
+ }
254
+ .content label {
255
+ font-weight: bold;
256
+ }
257
+ input[type="checkbox"] + label {
258
+ display: inline;
259
+ padding: 0 14px;
260
+ }
261
+ select + .error,
262
+ input + .error {
263
+ display: block;
264
+ padding: 7px 7px;
265
+ margin-top: -14px;
266
+ margin-bottom: 14px;
267
+ background: #ddd;
268
+ color: #fff;
269
+ background-color: #cc0000;
270
+ font-size: 11px;
271
+ border-radius: 0 2px;
272
+ }
273
+ input[type="file"] + .error {
274
+ margin-top: 0;
275
+ }
276
+ .fieldset {
277
+ border: 1px solid #222;
278
+ margin-bottom: 5px;
279
+ border-top-left-radius: 4px;
280
+ border-top-right-radius: 4px;
281
+ }
282
+ .fieldset .fields {
283
+ visibility: hidden;
284
+ opacity: 0;
285
+ transition: visibility 0s, opacity 0.5s linear;
286
+ height: 0;
287
+ overflow: hidden;
288
+ }
289
+ .fieldset.toggle.on .fields {
290
+ visibility: visible;
291
+ opacity: 1;
292
+ height: initial;
293
+ padding: 10px;
294
+ }
295
+ .fieldset.toggle .legend {
296
+ text-align: left;
297
+ display: block;
298
+ cursor: pointer;
299
+ background-color: #eee;
300
+ height: 30px;
301
+ line-height: 30px;
302
+ margin: 0;
303
+ font-family: fira_sans;
304
+ font-weight: normal;
305
+ font-size: 1.2em;
306
+ padding: 0 5px;
307
+ }
308
+ .dark .fieldset.toggle .legend {
309
+ background-color: #232729;
310
+ color: #fff;
311
+ }
312
+ .fieldset.toggle .legend:before {
313
+ background-repeat: no-repeat;
314
+ text-indent: 24px;
315
+ height: 24px;
316
+ width: 24px;
317
+ line-height: 24px;
318
+ display: inline-block;
319
+ background-image: url('./img/16.svg');
320
+ vertical-align: bottom;
321
+ content: " ";
322
+ background-position: -144px -76px;
323
+ }
324
+ .dark .fieldset.toggle .legend:before {
325
+ background-image: url('./img/16-white.svg');
326
+ }
327
+ .fieldset.toggle.on .legend:before {
328
+ background-position: -144px -51px;
329
+ }
330
+ /* Switch */
331
+ input.switch:empty {
332
+ display: none;
333
+ }
334
+ input.switch:empty ~ label {
335
+ white-space: nowrap;
336
+ position: relative;
337
+ float: left;
338
+ line-height: 2em;
339
+ height: 2em;
340
+ text-indent: 6em;
341
+ margin: 0.2em 0;
342
+ cursor: pointer;
343
+ -webkit-user-select: none;
344
+ -moz-user-select: none;
345
+ -ms-user-select: none;
346
+ user-select: none;
347
+ text-shadow: 0 1px rgba(0, 0, 0, 0.1);
348
+ width: 80px;
349
+ }
350
+ input.switch:empty ~ label:before,
351
+ input.switch:empty ~ label:after {
352
+ position: absolute;
353
+ display: block;
354
+ top: 0;
355
+ bottom: 0;
356
+ left: 0;
357
+ content: ' ';
358
+ width: 6em;
359
+ -webkit-transition: all 100ms ease-in;
360
+ transition: all 100ms ease-in;
361
+ color: #c9c9c7;
362
+ font-weight: bold;
363
+ background-color: #ededed;
364
+ }
365
+ .dark input.switch:empty ~ label:before,
366
+ .dark input.switch:empty ~ label:after {
367
+ background-color: #272c2e;
368
+ }
369
+ input.switch:empty ~ label:after {
370
+ width: 3em;
371
+ margin-left: 0.1em;
372
+ background-color: #ededed;
373
+ content: "OFF";
374
+ text-indent: 3.5em;
375
+ border: 1px solid #374E75;
376
+ font-weight: bold;
377
+ }
378
+ .dark input.switch:empty ~ label:after {
379
+ border: 1px solid #202425;
380
+ background-color: #2c3233;
381
+ }
382
+ input.switch:checked:empty ~ label:after {
383
+ content: ' ';
384
+ }
385
+ .dark input.switch:checked ~ label:before,
386
+ input.switch:checked ~ label:before {
387
+ background-color: #215d9c;
388
+ content: "ON";
389
+ text-indent: 0.7em;
390
+ text-align: left;
391
+ font-weight: bold;
392
+ }
393
+ input.switch:checked ~ label:after {
394
+ margin-left: 3em;
395
+ }
396
+ .button-bar, .umap-multiplechoice {
397
+ margin-top: 5px;
398
+ text-align: center;
399
+ display: grid;
400
+ width: 100%
401
+ }
402
+ .button-bar {
403
+ grid-gap: 7px;
404
+ }
405
+ .button-bar.half {
406
+ grid-template-columns: 1fr 1fr;
407
+ }
408
+ .umap-multiplechoice.by3,
409
+ .umap-multiplechoice.by5 {
410
+ grid-template-columns: 1fr 1fr 1fr;
411
+ }
412
+ .umap-multiplechoice.by4 {
413
+ grid-template-columns: 1fr 1fr 1fr 1fr;
414
+ }
415
+ .button-bar .button,
416
+ .button-bar [type="button"] {
417
+ display: inline-block;
418
+ }
419
+ .umap-multiplechoice input[type='radio'] {
420
+ display: none;
421
+ }
422
+ .umap-multiplechoice label {
423
+ border: 1px solid #374E75;
424
+ cursor: pointer;
425
+ background-color: #c9c9c7;
426
+ min-height: 30px;
427
+ line-height: 30px;
428
+ text-align: center;
429
+ width: 100%;
430
+ display: inline-block;
431
+ }
432
+ .dark .umap-multiplechoice label {
433
+ border: 1px solid black;
434
+ background-color: #2c3233;
435
+ }
436
+ .umap-multiplechoice input[type='radio']:checked + label {
437
+ background-color: #215d9c;
438
+ box-shadow: inset 0 0 6px 0px #2c3233;
439
+ color: #ededed;
440
+ }
441
+ .inheritable .header,
442
+ .inheritable {
443
+ clear: both;
444
+ overflow: hidden;
445
+ }
446
+ .inheritable .header {
447
+ margin-bottom: 5px;
448
+ }
449
+ .inheritable .header label {
450
+ padding-top: 6px;
451
+ }
452
+ .inheritable + .inheritable {
453
+ border-top: 1px solid #222;
454
+ padding-top: 5px;
455
+ margin-top: 5px;
456
+ }
457
+ .umap-field-iconUrl .action-button,
458
+ .inheritable .define,
459
+ .inheritable .undefine {
460
+ float: right;
461
+ width: initial;
462
+ min-height: 18px;
463
+ line-height: 18px;
464
+ margin-bottom: 0;
465
+ }
466
+ .inheritable .quick-actions {
467
+ float: right;
468
+ }
469
+ .inheritable .quick-actions .formbox {
470
+ margin-bottom: 0;
471
+ }
472
+ .inheritable .quick-actions input {
473
+ width: 100px;
474
+ margin-right: 5px;
475
+ }
476
+ .inheritable .define,
477
+ .inheritable.undefined .undefine,
478
+ .inheritable.undefined .show-on-defined {
479
+ display: none;
480
+ }
481
+ .inheritable.undefined .define {
482
+ display: block;
483
+ }
484
+ i.info {
485
+ background-repeat: no-repeat;
486
+ background-image: url('./img/16.svg');
487
+ background-position: -170px -50px;
488
+ display: inline-block;
489
+ margin-left: 5px;
490
+ vertical-align: middle;
491
+ width: 16px;
492
+ height: 18px;
493
+ }
494
+ .dark i.info {
495
+ background-image: url('./img/16-white.svg');
496
+ }
497
+ .with-transition {
498
+ transition: all .7s;
499
+ }
500
+
501
+ .umap-delete:before, .umap-empty:before, .umap-to-polygon:before,
502
+ .umap-clone:before, .umap-edit:before, .umap-download:before,
503
+ .umap-to-polyline:before {
504
+ background-repeat: no-repeat;
505
+ text-indent: 36px;
506
+ height: 24px;
507
+ line-height: 24px;
508
+ display: inline-block;
509
+ background-image: url('./img/24.svg');
510
+ vertical-align: bottom;
511
+ content: " ";
512
+ }
513
+ .dark .umap-delete:before, .dark .umap-empty:before,
514
+ .dark .umap-to-polygon:before,
515
+ .dark .umap-clone:before,
516
+ .dark .umap-edit:before, .dark .umap-download:before,
517
+ .dark .umap-to-polyline:before {
518
+ background-image: url('./img/24-white.svg');
519
+ vertical-align: middle;
520
+ }
521
+ .umap-to-polygon:before {
522
+ background-position: -80px -48px;
523
+ }
524
+ .umap-to-polyline:before {
525
+ background-position: -120px -48px;
526
+ }
527
+ .umap-clone:before {
528
+ background-position: -150px -78px;
529
+ }
530
+ .umap-delete:before {
531
+ background-position: -40px -8px;
532
+ }
533
+ .umap-edit:before {
534
+ background-position: -6px -6px;
535
+ }
536
+ .umap-empty:before {
537
+ background-position: -110px -78px;
538
+ }
539
+ .umap-download:before {
540
+ background-position: -77px -78px;
541
+ }
542
+ .permissions-panel,
543
+ .umap-upload,
544
+ .umap-share,
545
+ .umap-edit-container,
546
+ .umap-datalayer-container,
547
+ .umap-layer-properties-container,
548
+ .umap-browse-data,
549
+ .umap-facet-search,
550
+ .umap-browse-datalayers,
551
+ .umap-tilelayer-switcher-container {
552
+ padding: 0 10px;
553
+ }
554
+ .umap-field-datalist {
555
+ display: flex;
556
+ justify-content: space-between;
557
+ font-size: 9px;
558
+ margin-top: -8px;
559
+ padding: 0 5px;
560
+ }
561
+ .pictogram-tabs {
562
+ display: flex;
563
+ justify-content: space-around;
564
+ font-size: 1.2em;
565
+ padding-bottom: 20px;
566
+ }
567
+ .pictogram-tabs button {
568
+ padding: 10px;
569
+ color: #fff;
570
+ text-decoration: none;
571
+ cursor: pointer;
572
+ }
573
+ .pictogram-tabs .on {
574
+ font-weight: bold;
575
+ border-bottom: 1px solid #fff;
576
+ }
577
+ .umap-pictogram-category h6 {
578
+ font-size: 1.3em;
579
+ }
580
+ .umap-pictogram-grid {
581
+ display: grid;
582
+ grid-template-columns: repeat(auto-fill, 30px);
583
+ justify-content: space-between;
584
+ grid-gap: 5px;
585
+ }
586
+ .umap-pictogram-choice {
587
+ width: 30px;
588
+ height: 30px;
589
+ line-height: 30px;
590
+ cursor: pointer;
591
+ background-color: #999;
592
+ text-align: center;
593
+ margin-bottom: 5px;
594
+ display: block;
595
+ color: black;
596
+ font-weight: bold;
597
+ }
598
+ .umap-pictogram-choice img {
599
+ vertical-align: middle;
600
+ max-width: 24px;
601
+ }
602
+ .umap-pictogram-choice:hover,
603
+ .umap-color-picker span:hover {
604
+ background-color: #bebebe;
605
+ }
606
+ .umap-pictogram-choice.selected {
607
+ box-shadow: inset 0 0 0 1px #e9e9e9;
608
+ }
609
+
610
+ .umap-pictogram-choice .leaflet-marker-icon {
611
+ bottom: 0;
612
+ left: 30px;
613
+ position: absolute;
614
+ }
615
+ .umap-color-picker {
616
+ clear: both;
617
+ margin-bottom: 20px;
618
+ overflow: hidden;
619
+ display: none;
620
+ }
621
+ .umap-color-picker span {
622
+ width: 20px;
623
+ height: 20px;
624
+ display: block;
625
+ padding: 0;
626
+ margin: 0;
627
+ cursor: pointer;
628
+ float: left;
629
+ }
630
+ input.blur {
631
+ width: calc(100% - 40px);
632
+ display: inline-block;
633
+ vertical-align: middle;
634
+ border-top-right-radius: 0;
635
+ border-bottom-right-radius: 0;
636
+ }
637
+ .blur + .button:before,
638
+ .blur + [type="button"]:before {
639
+ content: '✔';
640
+ }
641
+ .blur + .button,
642
+ .blur + [type="button"] {
643
+ width: 40px;
644
+ height: 18px;
645
+ display: inline-block;
646
+ vertical-align: middle;
647
+ line-height: 18px;
648
+ border-top-left-radius: 0;
649
+ border-bottom-left-radius: 0;
650
+ box-sizing: border-box;
651
+ }
652
+ input[type=hidden].blur + .button,
653
+ input[type=hidden].blur + [type="button"] {
654
+ display: none;
655
+ }
656
+ .copiable-input {
657
+ display: flex;
658
+ align-items: end;
659
+ }
660
+ .copiable-input input {
661
+ border-radius: initial;
662
+ }
663
+ .copiable-input button {
664
+ background-repeat: no-repeat;
665
+ background-image: url('./img/16.svg');
666
+ background-position: -45px -140px;
667
+ display: inline;
668
+ padding: 0 10px;
669
+ height: 32px;
670
+ width: 32px;
671
+ border: 1px solid #202425;
672
+ border-radius: initial;
673
+ }
674
+
675
+ /* *********** */
676
+ /* Panel */
677
+ /* *********** */
678
+ .leaflet-ui-container {
679
+ overflow-x: hidden;
680
+ }
681
+ #umap-ui-container {
682
+ position: absolute;
683
+ bottom: 0;
684
+ padding: 0 10px;
685
+ border-left: 1px solid #ddd;
686
+ overflow-x: auto;
687
+ z-index: 1010;
688
+ background-color: #fff;
689
+ opacity: 0.98;
690
+ cursor: initial;
691
+ }
692
+ #umap-ui-container.login-panel {
693
+ position: fixed; /* Should not scroll when used in content pages (like home page) */
694
+ z-index: 1011; /* Above a map panel if any */
695
+ }
696
+ #umap-ui-container.dark {
697
+ border-left: 1px solid #222;
698
+ background-color: #323737;
699
+ color: #efefef;
700
+ }
701
+ #umap-ui-container.fullwidth {
702
+ width: 100%;
703
+ right: -100%;
704
+ z-index: 10000;
705
+ padding-left: 0;
706
+ padding-right: 0;
707
+ }
708
+ .umap-caption-bar-enabled #umap-ui-container {
709
+ bottom: 46px;
710
+ }
711
+ .leaflet-top,
712
+ .leaflet-right {
713
+ transition: all .7s;
714
+ }
715
+ .umap-ui .leaflet-right {
716
+ right: 400px;
717
+ }
718
+ #umap-ui-container,
719
+ #umap-alert-container,
720
+ #umap-tooltip-container {
721
+ -moz-box-sizing:border-box;
722
+ -webkit-box-sizing:border-box;
723
+ box-sizing: border-box;
724
+ }
725
+ #umap-ui-container .umap-popup-content img {
726
+ /* See https://github.com/Leaflet/Leaflet/commit/61d746818b99d362108545c151a27f09d60960ee#commitcomment-6061847 */
727
+ max-width: 99% !important;
728
+ }
729
+ #umap-ui-container .umap-popup-content {
730
+ max-height: inherit;
731
+ }
732
+ #umap-ui-container .body {
733
+ clear: both;
734
+ height: calc(100% - 54px); /* Minus size of toolbox */
735
+ }
736
+ #umap-ui-container .toolbox {
737
+ padding: 5px 10px;
738
+ overflow: hidden;
739
+ display: flex;
740
+ flex-direction: row-reverse;
741
+ font-size: 10px;
742
+ justify-content: flex-start;
743
+ gap: 5px;
744
+ }
745
+ #umap-ui-container .toolbox li {
746
+ color: #2e3436;
747
+ line-height: 32px;
748
+ cursor: pointer;
749
+ float: right;
750
+ display: inline;
751
+ padding: 0 7px;
752
+ border: 1px solid #b6b6b3;
753
+ border-radius: 2px;
754
+ }
755
+ #umap-ui-container.dark .toolbox li {
756
+ color: #d3dfeb;
757
+ border: 1px solid #202425;
758
+ }
759
+ #umap-ui-container .toolbox li:hover {
760
+ color: #2e3436;
761
+ background-color: #d4d4d2;
762
+ }
763
+ #umap-ui-container.dark .toolbox li:hover {
764
+ color: #eeeeec;
765
+ background-color: #353c3e;
766
+ }
767
+ .dark input, .dark textarea {
768
+ background-color: #232729;
769
+ border-color: #1b1f20;
770
+ /*box-shadow: inset 0 0 0 1px #215d9c;*/
771
+ color: #efefef;
772
+ }
773
+ input:invalid {
774
+ border-color: red;
775
+ background-color: darkred;
776
+ }
777
+
778
+
779
+ /* *********** */
780
+ /* Alerts */
781
+ /* *********** */
782
+ #umap-alert-container {
783
+ min-height: 46px;
784
+ line-height: 46px;
785
+ padding-left: 10px;
786
+ width: calc(100% - 500px);
787
+ position: absolute;
788
+ top: -46px;
789
+ left: 250px; /* Keep save/cancel button accessible. */
790
+ right: 250px;
791
+ box-shadow: 0 1px 7px #999999;
792
+ visibility: hidden;
793
+ background: none repeat scroll 0 0 rgba(20, 22, 23, 0.8);
794
+ font-weight: bold;
795
+ color: #fff;
796
+ font-size: 0.8em;
797
+ z-index: 1012;
798
+ border-radius: 2px;
799
+ }
800
+ #umap-alert-container.error {
801
+ background-color: #c60f13;
802
+ }
803
+ .umap-alert #umap-alert-container {
804
+ visibility: visible;
805
+ top: 23px;
806
+ }
807
+ .umap-alert-container .umap-action {
808
+ margin-left: 10px;
809
+ background-color: #fff;
810
+ color: #000;
811
+ padding: 5px;
812
+ border-radius: 4px;
813
+ }
814
+ .umap-alert-container .umap-action:hover {
815
+ color: #000;
816
+ }
817
+ .umap-alert-container .error .umap-action {
818
+ background-color: #666;
819
+ color: #eee;
820
+ }
821
+ .umap-alert-container .error .umap-action:hover {
822
+ color: #fff;
823
+ }
824
+ .umap-alert-container input {
825
+ padding: 5px;
826
+ border-radius: 4px;
827
+ width: 100%;
828
+ }
829
+
830
+ /* *********** */
831
+ /* Tooltip */
832
+ /* *********** */
833
+ #umap-tooltip-container {
834
+ line-height: 20px;
835
+ padding: 5px 10px;
836
+ width: auto;
837
+ position: absolute;
838
+ box-shadow: 0 1px 7px #999999;
839
+ display: none;
840
+ background-color: rgba(40, 40, 40, 0.8);
841
+ color: #eeeeec;
842
+ font-size: 0.8em;
843
+ border-radius: 2px;
844
+ z-index: 1011;
845
+ font-weight: normal;
846
+ max-width: 300px;
847
+ }
848
+ .umap-tooltip #umap-tooltip-container {
849
+ display: block;
850
+ }
851
+ #umap-tooltip-container.tooltip-top:after {
852
+ top: 100%;
853
+ left: calc(50% - 11px);
854
+ border: solid transparent;
855
+ content: " ";
856
+ height: 0;
857
+ width: 0;
858
+ position: absolute;
859
+ pointer-events: none;
860
+ border-top-color: rgba(30, 30, 30, 0.8);
861
+ border-width: 11px;
862
+ margin-left: calc(-50% + 21px);
863
+ }
864
+ #umap-tooltip-container.tooltip-bottom:before {
865
+ top: -22px;
866
+ left: calc(50% - 11px);
867
+ border: solid transparent;
868
+ content: " ";
869
+ height: 0;
870
+ width: 0;
871
+ position: absolute;
872
+ pointer-events: none;
873
+ border-top-color: rgba(30, 30, 30, 0.7);
874
+ border-width: 11px;
875
+ transform: rotate(180deg);
876
+ }
877
+ #umap-tooltip-container.tooltip.tooltip-left:after {
878
+ left: 100%;
879
+ top: 50%;
880
+ border: solid transparent;
881
+ content: " ";
882
+ height: 0;
883
+ width: 0;
884
+ position: absolute;
885
+ pointer-events: none;
886
+ border-color: rgba(136, 183, 213, 0);
887
+ border-left-color: #333;
888
+ border-width: 11px;
889
+ margin-top: -10px;
890
+ }
891
+
892
+
893
+
894
+ /* *********** */
895
+ /* Close link */
896
+ /* *********** */
897
+ .umap-close-icon {
898
+ background-repeat: no-repeat;
899
+ background-image: url('./img/16.svg');
900
+ background-position: -28px -6px;
901
+ display: inline;
902
+ padding: 0 10px;
903
+ vertical-align: middle;
904
+ }
905
+ .dark .umap-close-icon {
906
+ background-image: url('./img/16-white.svg');
907
+ }
908
+ .dark .umap-close-link {
909
+ border: 1px solid #202425;
910
+ color: #eeeeec;
911
+ padding: 0 7px;
912
+ line-height: 32px;
913
+ background-color: #323737;
914
+ }
915
+ .dark .umap-close-link:hover {
916
+ background-color: #2e3436;
917
+ }
918
+ #umap-alert-container .umap-close-link {
919
+ color: #fff;
920
+ float: right;
921
+ padding-right: 10px;
922
+ width: 100px;
923
+ line-height: 1;
924
+ margin: .5rem;
925
+ background-color: #202425;
926
+ font-size: .7rem;
927
+ }
928
+ #umap-alert-container .umap-close-icon {
929
+ background-position: -74px -55px;
930
+ }
931
+ #umap-alert-container .umap-alert-actions {
932
+ display: flex;
933
+ margin: 1rem;
934
+ }
935
+ #umap-alert-container .umap-alert-actions .umap-action {
936
+ margin-bottom: 0;
937
+ }
938
+
939
+
940
+ /* *********** */
941
+ /* Various */
942
+ /* *********** */
943
+
944
+ .umap-dragover:before {
945
+ content: ' ';
946
+ background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="arcs">%3Cpath d="M3 15v4c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-4M17 9l-5 5-5-5M12 12.8V2.5"/>%3C/svg>');
947
+ background-repeat: no-repeat;
948
+ background-position: center;
949
+ background-color: #323e56;
950
+ z-index: 401;
951
+ display: block;
952
+ position: absolute;
953
+ width: 100vw;
954
+ height: 100vh;
955
+ opacity: 0.5;
956
+ }
957
+
958
+
959
+ /* *********** */
960
+ /* Mobile */
961
+ /* *********** */
962
+ @media all and (orientation:landscape) {
963
+ .umap-edit-enabled #umap-ui-container {
964
+ top: 46px;
965
+ }
966
+ #umap-ui-container {
967
+ width: 400px;
968
+ right: -400px;
969
+ top: 0;
970
+ }
971
+ .umap-ui #umap-ui-container {
972
+ right: 0;
973
+ }
974
+ }
975
+ @media all and (orientation:portrait) {
976
+ #umap-ui-container {
977
+ height: 50%;
978
+ max-height: 400px;
979
+ width: 100%;
980
+ bottom: 0;
981
+ right: -100%;
982
+ }
983
+ .umap-ui #umap-ui-container {
984
+ right: 0;
985
+ }
986
+ .umap-ui .leaflet-right {
987
+ right: 0;
988
+ }
989
+ #umap-alert-container {
990
+ width: 100%;
991
+ left: 0;
992
+ right: 0;
993
+ }
994
+ }