@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.
@@ -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.2fr 0.8fr;
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
- .nerve-centreline {
202
- background: #CC0;
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
- .nerve-cns {
205
- background: #9B1FC1;
250
+ #flatmap-annotation-form
251
+ {
252
+ flex: auto;
206
253
  }
207
- .nerve-lcn {
208
- background: #F19E38;
254
+
255
+ #flatmap-annotation-feature,
256
+ #flatmap-annotation-form,
257
+ #flatmap-annotation-existing
258
+ {
259
+ padding: 4px;
209
260
  }
210
- .nerve-other {
211
- background: #888;
261
+ #flatmap-annotation-feature,
262
+ #flatmap-annotation-existing
263
+ {
264
+ background-color: #DDD;
265
+ border: 2px solid #888;
212
266
  }
213
- .nerve-para-pre {
214
- background: #3F8F4A;
267
+
268
+ #flatmap-annotation-existing
269
+ {
270
+ overflow: scroll;
271
+ max-height: 400px;
215
272
  }
216
- .nerve-para-post {
217
- background: repeating-linear-gradient(to right,#3F8F4A 0,#3F8F4A 6px,transparent 6px,transparent 9px)
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
- .nerve-sensory {
220
- background: #2A62F6;
282
+
283
+ .flatmap-annotation-value
284
+ {
285
+ display: inline-block;
286
+ vertical-align: top;
221
287
  }
222
- .nerve-somatic {
223
- background: #98561D;
288
+
289
+ #flatmap-annotation-formdata
290
+ {
291
+ display: flex;
292
+ flex-direction: column;
293
+ flex-wrap: nowrap;
294
+ padding-right: 4px;
224
295
  }
225
- .nerve-symp-pre {
226
- background: #EA3423;
296
+
297
+ #flatmap-annotation-formdata div
298
+ {
299
+ padding-top: 4px;
300
+ padding-bottom: 4px;
227
301
  }
228
- .nerve-symp-post {
229
- background: repeating-linear-gradient(to right,#EA3423 0,#EA3423 6px,transparent 6px,transparent 9px)
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
- /* Markers */
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
- .flatmap-marker {
236
- transform: scale(0.5);
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 */