@abi-software/flatmap-viewer 2.3.0-a.1 → 2.3.0-a.2
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.
- package/README.rst +1 -1
- package/package.json +5 -3
- package/src/annotation.js +487 -0
- package/src/controls.js +503 -11
- package/src/editor.js +198 -0
- package/src/flatmap-viewer.js +176 -64
- package/src/info.js +5 -1
- package/src/interactions.js +299 -232
- package/src/layers.js +242 -151
- package/src/main.js +22 -17
- package/src/newcontrols.js +617 -0
- package/src/pathways.js +47 -21
- package/src/search.js +4 -1
- package/src/styling.js +275 -95
- package/src/systems.js +76 -0
- package/src/utils.js +1 -1
- package/static/{flatmap-viewer.css → css/flatmap-viewer.css} +153 -30
- package/static/css/font-awesome.css +2337 -0
- package/static/css/font-awesome.min.css +4 -0
- package/static/fonts/FontAwesome.otf +0 -0
- package/static/fonts/fontawesome-webfont.eot +0 -0
- package/static/fonts/fontawesome-webfont.svg +2671 -0
- package/static/fonts/fontawesome-webfont.ttf +0 -0
- package/static/fonts/fontawesome-webfont.woff +0 -0
- package/static/fonts/fontawesome-webfont.woff2 +0 -0
- /package/static/{favicon.ico → icons/favicon.ico} +0 -0
|
@@ -51,6 +51,10 @@ li.flatmap-contextmenu-item:hover {
|
|
|
51
51
|
margin-top: 2px;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
.text-button {
|
|
55
|
+
width: 64px;
|
|
56
|
+
}
|
|
57
|
+
|
|
54
58
|
/* Search box */
|
|
55
59
|
|
|
56
60
|
#search-control-input {
|
|
@@ -103,22 +107,22 @@ li.flatmap-contextmenu-item:hover {
|
|
|
103
107
|
/* Navigation control buttons */
|
|
104
108
|
|
|
105
109
|
.maplibregl-ctrl button.navigation-zoom-in {
|
|
106
|
-
background-image: url("images/zoom-in-button.png");
|
|
110
|
+
background-image: url("../images/zoom-in-button.png");
|
|
107
111
|
}
|
|
108
112
|
.maplibregl-ctrl button.navigation-zoom-in:active {
|
|
109
|
-
background-image: url("images/zoom-in-active.png");
|
|
113
|
+
background-image: url("../images/zoom-in-active.png");
|
|
110
114
|
}
|
|
111
115
|
.maplibregl-ctrl button.navigation-zoom-out {
|
|
112
|
-
background-image: url("images/zoom-out-button.png");
|
|
116
|
+
background-image: url("../images/zoom-out-button.png");
|
|
113
117
|
}
|
|
114
118
|
.maplibregl-ctrl button.navigation-zoom-out:active {
|
|
115
|
-
background-image: url("images/zoom-out-active.png");
|
|
119
|
+
background-image: url("../images/zoom-out-active.png");
|
|
116
120
|
}
|
|
117
121
|
.maplibregl-ctrl button.navigation-reset {
|
|
118
|
-
background-image: url("images/reset-map-button.png");
|
|
122
|
+
background-image: url("../images/reset-map-button.png");
|
|
119
123
|
}
|
|
120
124
|
.maplibregl-ctrl button.navigation-reset:active {
|
|
121
|
-
background-image: url("images/reset-map-active.png");
|
|
125
|
+
background-image: url("../images/reset-map-active.png");
|
|
122
126
|
}
|
|
123
127
|
.navigation-group button {
|
|
124
128
|
display: block;
|
|
@@ -176,7 +180,7 @@ li.flatmap-contextmenu-item:hover {
|
|
|
176
180
|
.flatmap-nerve-grid {
|
|
177
181
|
margin-top: 10px;
|
|
178
182
|
display: grid;
|
|
179
|
-
grid-template-columns: 3fr 0.
|
|
183
|
+
grid-template-columns: 3fr 0.8fr 0.2fr;
|
|
180
184
|
column-gap: 10px;
|
|
181
185
|
row-gap: 0.2em;
|
|
182
186
|
width: 300px;
|
|
@@ -198,42 +202,161 @@ li.flatmap-contextmenu-item:hover {
|
|
|
198
202
|
label[for=path-all-paths] {
|
|
199
203
|
font-weight: bold;
|
|
200
204
|
}
|
|
201
|
-
|
|
202
|
-
|
|
205
|
+
|
|
206
|
+
/* Layer control */
|
|
207
|
+
|
|
208
|
+
.flatmap-control {
|
|
209
|
+
text-align: right;
|
|
210
|
+
}
|
|
211
|
+
.flatmap-control-grid {
|
|
212
|
+
margin-top: 10px;
|
|
213
|
+
display: grid;
|
|
214
|
+
grid-template-columns: 3.8fr 0.2fr;
|
|
215
|
+
column-gap: 10px;
|
|
216
|
+
row-gap: 0.2em;
|
|
217
|
+
width: 300px;
|
|
218
|
+
font-size: 10pt;
|
|
219
|
+
cursor: pointer;
|
|
220
|
+
text-align: left;
|
|
221
|
+
background: white;
|
|
222
|
+
border: 1px solid gray;
|
|
223
|
+
padding: 4px;
|
|
224
|
+
opacity: 0.8;
|
|
225
|
+
}
|
|
226
|
+
.flatmap-control-grid input {
|
|
227
|
+
height: 1.1em;
|
|
228
|
+
}
|
|
229
|
+
label[for=layer-all-layers] {
|
|
230
|
+
font-weight: bold;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/* Markers */
|
|
234
|
+
|
|
235
|
+
.flatmap-marker {
|
|
236
|
+
transform: scale(0.5);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/* Annotator */
|
|
240
|
+
.flex-auto {
|
|
241
|
+
flex: 1 1 auto;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
#flatmap-annotation-panel {
|
|
245
|
+
display: flex;
|
|
246
|
+
flex-direction: column;
|
|
247
|
+
flex-wrap: nowrap;
|
|
248
|
+
height: 100%;
|
|
203
249
|
}
|
|
204
|
-
|
|
205
|
-
|
|
250
|
+
#flatmap-annotation-form
|
|
251
|
+
{
|
|
252
|
+
flex: auto;
|
|
206
253
|
}
|
|
207
|
-
|
|
208
|
-
|
|
254
|
+
|
|
255
|
+
#flatmap-annotation-feature,
|
|
256
|
+
#flatmap-annotation-form,
|
|
257
|
+
#flatmap-annotation-existing
|
|
258
|
+
{
|
|
259
|
+
padding: 4px;
|
|
209
260
|
}
|
|
210
|
-
|
|
211
|
-
|
|
261
|
+
#flatmap-annotation-feature,
|
|
262
|
+
#flatmap-annotation-existing
|
|
263
|
+
{
|
|
264
|
+
background-color: #DDD;
|
|
265
|
+
border: 2px solid #888;
|
|
212
266
|
}
|
|
213
|
-
|
|
214
|
-
|
|
267
|
+
|
|
268
|
+
#flatmap-annotation-existing
|
|
269
|
+
{
|
|
270
|
+
overflow: scroll;
|
|
271
|
+
max-height: 400px;
|
|
215
272
|
}
|
|
216
|
-
|
|
217
|
-
|
|
273
|
+
|
|
274
|
+
.flatmap-annotation-prompt
|
|
275
|
+
{
|
|
276
|
+
font-weight: bold;
|
|
277
|
+
display: inline-block;
|
|
278
|
+
min-width: 80px;
|
|
279
|
+
padding-right: 6px;
|
|
280
|
+
vertical-align: top;
|
|
218
281
|
}
|
|
219
|
-
|
|
220
|
-
|
|
282
|
+
|
|
283
|
+
.flatmap-annotation-value
|
|
284
|
+
{
|
|
285
|
+
display: inline-block;
|
|
286
|
+
vertical-align: top;
|
|
221
287
|
}
|
|
222
|
-
|
|
223
|
-
|
|
288
|
+
|
|
289
|
+
#flatmap-annotation-formdata
|
|
290
|
+
{
|
|
291
|
+
display: flex;
|
|
292
|
+
flex-direction: column;
|
|
293
|
+
flex-wrap: nowrap;
|
|
294
|
+
padding-right: 4px;
|
|
224
295
|
}
|
|
225
|
-
|
|
226
|
-
|
|
296
|
+
|
|
297
|
+
#flatmap-annotation-formdata div
|
|
298
|
+
{
|
|
299
|
+
padding-top: 4px;
|
|
300
|
+
padding-bottom: 4px;
|
|
227
301
|
}
|
|
228
|
-
|
|
229
|
-
|
|
302
|
+
|
|
303
|
+
.flatmap-annotation-entry {
|
|
304
|
+
display: flex;
|
|
305
|
+
flex-wrap: nowrap;
|
|
230
306
|
}
|
|
231
307
|
|
|
308
|
+
#flatmap-annotation-form input,
|
|
309
|
+
#flatmap-annotation-form .multiple,
|
|
310
|
+
#flatmap-annotation-form select,
|
|
311
|
+
#flatmap-annotation-form textarea
|
|
312
|
+
{
|
|
313
|
+
flex: auto;
|
|
314
|
+
}
|
|
232
315
|
|
|
233
|
-
|
|
316
|
+
#flatmap-annotation-form label
|
|
317
|
+
{
|
|
318
|
+
padding-right: 6px;
|
|
319
|
+
display: inline-block;
|
|
320
|
+
width: 80px;
|
|
321
|
+
}
|
|
322
|
+
#flatmap-annotation-form .multiple,
|
|
323
|
+
#flatmap-annotation-form textarea
|
|
324
|
+
{
|
|
325
|
+
width: 360px;
|
|
326
|
+
}
|
|
327
|
+
#flatmap-annotation-form input[type="text"]
|
|
328
|
+
{
|
|
329
|
+
width: 300px;
|
|
330
|
+
}
|
|
331
|
+
#flatmap-annotation-form .multiple
|
|
332
|
+
{
|
|
333
|
+
padding:0;
|
|
334
|
+
}
|
|
335
|
+
#flatmap-annotation-form select
|
|
336
|
+
{
|
|
337
|
+
width: 160px;
|
|
338
|
+
}
|
|
339
|
+
#flatmap-annotation-form input[type="button"]
|
|
340
|
+
{
|
|
341
|
+
float: right;
|
|
342
|
+
background-color: #BBB;
|
|
343
|
+
}
|
|
234
344
|
|
|
235
|
-
.
|
|
236
|
-
|
|
345
|
+
.jsPanel-title {
|
|
346
|
+
font-size: 1.4em !important;
|
|
347
|
+
font-weight: bold !important;
|
|
237
348
|
}
|
|
238
349
|
|
|
350
|
+
.jsPanel-content
|
|
351
|
+
{
|
|
352
|
+
background-color: #EEE !important;
|
|
353
|
+
}
|
|
354
|
+
.jsPanel-hdr,
|
|
355
|
+
.jsPanel-ftr
|
|
356
|
+
{
|
|
357
|
+
background-color: #BBB !important;
|
|
358
|
+
}
|
|
359
|
+
.jsPanel-ftr-btn {
|
|
360
|
+
cursor: pointer;
|
|
361
|
+
}
|
|
239
362
|
/* End of file */
|