mapshaper 0.7.68 → 0.7.69

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/www/page.css CHANGED
@@ -995,8 +995,12 @@ body:not(.sidebar-open) .intersection-display {
995
995
  fill: var(--theme-col);
996
996
  }
997
997
 
998
+ .sidebar-tab.layer-tab {
999
+ padding-bottom: 6px;
1000
+ }
1001
+
998
1002
  .sidebar-tab.console-tab {
999
- padding-top: 8px;
1003
+ padding-top: 7px;
1000
1004
  }
1001
1005
 
1002
1006
  .sidebar-tab:hover .sidebar-icon * {
@@ -2614,7 +2618,7 @@ body.pan.panning .map-layers:not(.drawing) {
2614
2618
  }
2615
2619
 
2616
2620
  .pointer-btn .nav-sub-menu {
2617
- top: -3px;
2621
+ top: -2px;
2618
2622
  }
2619
2623
 
2620
2624
  .nav-btn.open .nav-sub-menu {
@@ -2843,6 +2847,69 @@ body.pan.panning .map-layers:not(.drawing) {
2843
2847
  width: 264px;
2844
2848
  }
2845
2849
 
2850
+ .scalebar-properties-popup {
2851
+ width: 264px;
2852
+ }
2853
+
2854
+ .scalebar-properties-form.label-style-panel {
2855
+ background: transparent;
2856
+ border: 0;
2857
+ border-radius: 0;
2858
+ box-shadow: none;
2859
+ box-sizing: border-box;
2860
+ max-height: none;
2861
+ overflow: visible;
2862
+ padding: 0;
2863
+ position: static;
2864
+ width: 100%;
2865
+ }
2866
+
2867
+ .label-style-row.scalebar-row {
2868
+ align-items: end;
2869
+ display: grid;
2870
+ gap: 6px;
2871
+ }
2872
+
2873
+ .scalebar-two-col {
2874
+ grid-template-columns: 1fr 1fr;
2875
+ }
2876
+
2877
+ .scalebar-row select {
2878
+ box-sizing: border-box;
2879
+ min-width: 0;
2880
+ width: 100%;
2881
+ }
2882
+
2883
+ .scalebar-row > * {
2884
+ min-width: 0;
2885
+ }
2886
+
2887
+ /* The bottom padding puts the text on the baseline of the menu beside it.
2888
+ Baseline alignment doesn't: Chrome puts a select's baseline 2px above the
2889
+ text it shows. */
2890
+ .scalebar-checkbox {
2891
+ align-items: center;
2892
+ display: flex;
2893
+ padding-bottom: 2px;
2894
+ font-size: 12px;
2895
+ gap: 4px;
2896
+ white-space: nowrap;
2897
+ }
2898
+
2899
+ /* centered on the menu, which the text's baseline alignment leaves it below */
2900
+ .scalebar-checkbox input {
2901
+ margin: 0;
2902
+ position: relative;
2903
+ top: -2px;
2904
+ width: auto;
2905
+ }
2906
+
2907
+ .scalebar-properties-note {
2908
+ color: #a33;
2909
+ font-size: 12px;
2910
+ margin-bottom: 8px;
2911
+ }
2912
+
2846
2913
  /* The field tips are drawn above the "?" that opens them, which the box's own
2847
2914
  overflow would clip. The dialog is three rows and two buttons and never has
2848
2915
  anything to scroll. */
@@ -3269,6 +3336,37 @@ body.pan.panning .map-layers:not(.drawing) {
3269
3336
  color: #555;
3270
3337
  }
3271
3338
 
3339
+ /* A "?" just after its caption rather than floated to the far edge of the row,
3340
+ and in the caption's size, so it reads as part of the caption. */
3341
+ .label-style-panel .label-style-row-label > .tip-button {
3342
+ float: none;
3343
+ margin: 0 0 0 4px;
3344
+ font-size: 12px;
3345
+ font-weight: bold;
3346
+ }
3347
+
3348
+ /* The panel sits at the top of the map, where a bubble drawn above its "?"
3349
+ would go under the page header, so these open downward, tail pointing up. */
3350
+ .label-style-panel .label-style-row-label > .tip-button .tip-anchor {
3351
+ bottom: auto;
3352
+ top: 22px;
3353
+ }
3354
+
3355
+ .label-style-panel .label-style-row-label > .tip-button .tip:after,
3356
+ .label-style-panel .label-style-row-label > .tip-button .tip:before {
3357
+ top: auto;
3358
+ bottom: 100%;
3359
+ border-top-color: transparent;
3360
+ }
3361
+
3362
+ .label-style-panel .label-style-row-label > .tip-button .tip:after {
3363
+ border-bottom-color: #fff;
3364
+ }
3365
+
3366
+ .label-style-panel .label-style-row-label > .tip-button .tip:before {
3367
+ border-bottom-color: #999;
3368
+ }
3369
+
3272
3370
  .label-split-row .label-split-cell + .label-split-cell {
3273
3371
  white-space: nowrap;
3274
3372
  }
@@ -4496,7 +4594,7 @@ body.dragging-color-picker * {
4496
4594
 
4497
4595
  .simplify-control .handle {
4498
4596
  position: absolute;
4499
- top: -3px;
4597
+ top: -2px;
4500
4598
  }
4501
4599
 
4502
4600
  .simplify-control .handle img {