mapshaper 0.7.69 → 0.7.71

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
@@ -1697,8 +1697,8 @@ img.eye-btn {
1697
1697
  box-sizing: border-box;
1698
1698
  position: absolute;
1699
1699
  z-index: 40;
1700
- top: 12px;
1701
- left: 12px;
1700
+ top: 7px;
1701
+ left: 7px;
1702
1702
  padding: 5px 0;
1703
1703
  }
1704
1704
 
@@ -2774,7 +2774,7 @@ body.pan.panning .map-layers:not(.drawing) {
2774
2774
  --label-menu-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='none' stroke='%23666' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l4 4 4-4'/%3E%3C/svg%3E");
2775
2775
  position: absolute;
2776
2776
  z-index: 21;
2777
- top: 6px;
2777
+ top: 7px;
2778
2778
  right: 36px;
2779
2779
  /* Wide enough for a pair of controls side by side, which is what these
2780
2780
  panels are mostly made of: at 185px the narrow column of a pair was too
@@ -3367,6 +3367,22 @@ body.pan.panning .map-layers:not(.drawing) {
3367
3367
  border-bottom-color: #999;
3368
3368
  }
3369
3369
 
3370
+ /* A pattern's size and gap are a pair, measured the same way, so they share
3371
+ the row equally rather than one taking the narrow column. */
3372
+ .layer-pattern-size-row {
3373
+ display: grid;
3374
+ grid-template-columns: 1fr 1fr;
3375
+ column-gap: 10px;
3376
+ }
3377
+
3378
+ .layer-pattern-size-row .label-split-cell {
3379
+ min-width: 0;
3380
+ }
3381
+
3382
+ .layer-pattern-code-row input[type="text"] {
3383
+ width: 100%;
3384
+ }
3385
+
3370
3386
  .label-split-row .label-split-cell + .label-split-cell {
3371
3387
  white-space: nowrap;
3372
3388
  }
@@ -3976,6 +3992,16 @@ body.dragging-color-picker * {
3976
3992
  font-size: 12px;
3977
3993
  }
3978
3994
 
3995
+ /* Words, like the label panel's Fixed/Draggable, but splitting the group
3996
+ evenly so that it lines up with the shapes above. */
3997
+ .layer-style-panel .layer-arrow-position-buttons .label-panel-btn {
3998
+ display: flex;
3999
+ align-items: center;
4000
+ justify-content: center;
4001
+ padding: 0 4px;
4002
+ font-size: 12px;
4003
+ }
4004
+
3979
4005
  .label-panel-btn.selected {
3980
4006
  background-color: black;
3981
4007
  border-color: black;
@@ -4008,6 +4034,16 @@ body.dragging-color-picker * {
4008
4034
  transform: scale(1.4);
4009
4035
  }
4010
4036
 
4037
+ /* Drawn as the symbol is, an outline around a hollow star, in the artwork's
4038
+ own 40-unit coordinates -- so the stroke width is in those units too. */
4039
+ .label-icon-buttons .label-panel-btn[data-icon="nyt-star"] .label-icon-symbol {
4040
+ fill: none;
4041
+ stroke: currentColor;
4042
+ stroke-width: 5;
4043
+ stroke-miterlimit: 10;
4044
+ transform: scale(0.95);
4045
+ }
4046
+
4011
4047
  .label-align-buttons .label-panel-btn,
4012
4048
  .label-callout-buttons .label-panel-btn {
4013
4049
  display: flex;