mapshaper 0.7.16 → 0.7.18
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/mapshaper.js +119 -16
- package/package.json +2 -2
- package/www/index.html +6 -1
- package/www/mapshaper-gui.js +6746 -9956
- package/www/mapshaper.js +119 -16
- package/www/page.css +643 -16
package/www/page.css
CHANGED
|
@@ -300,13 +300,13 @@ body.map-view {
|
|
|
300
300
|
|
|
301
301
|
.history-menu-dropdown .info-box {
|
|
302
302
|
pointer-events: initial;
|
|
303
|
-
min-width:
|
|
303
|
+
min-width: 185px;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
.history-menu-item {
|
|
307
307
|
color: var(--normal-text);
|
|
308
308
|
cursor: pointer;
|
|
309
|
-
padding: 2px
|
|
309
|
+
padding-top: 2px;
|
|
310
310
|
white-space: nowrap;
|
|
311
311
|
}
|
|
312
312
|
|
|
@@ -323,12 +323,6 @@ body.map-view {
|
|
|
323
323
|
pointer-events: none;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
.history-menu-separator {
|
|
327
|
-
height: 1px;
|
|
328
|
-
background-color: #ddd;
|
|
329
|
-
margin: 6px 0 5px 0;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
326
|
.history-menu-note {
|
|
333
327
|
color: #777;
|
|
334
328
|
font-size: 12px;
|
|
@@ -338,6 +332,14 @@ body.map-view {
|
|
|
338
332
|
white-space: normal;
|
|
339
333
|
}
|
|
340
334
|
|
|
335
|
+
|
|
336
|
+
.history-snapshot-list .save-menu-item {
|
|
337
|
+
right: auto;
|
|
338
|
+
text-align: left;
|
|
339
|
+
padding-left: 0;
|
|
340
|
+
padding-right: 0;
|
|
341
|
+
}
|
|
342
|
+
|
|
341
343
|
.header-menu-item.header-menu-sponsor svg {
|
|
342
344
|
width: 12px;
|
|
343
345
|
height: 12px;
|
|
@@ -670,7 +672,7 @@ textarea:focus {
|
|
|
670
672
|
word-wrap: break-word;
|
|
671
673
|
text-align: left;
|
|
672
674
|
margin-top: 12px;
|
|
673
|
-
padding:
|
|
675
|
+
padding: 14px 16px 13px 18px;
|
|
674
676
|
vertical-align: top;
|
|
675
677
|
display: inline-block;
|
|
676
678
|
/* border: 1px solid #aaa; */
|
|
@@ -704,11 +706,11 @@ textarea:focus {
|
|
|
704
706
|
}
|
|
705
707
|
|
|
706
708
|
.info-box h3 {
|
|
707
|
-
font-size:
|
|
709
|
+
font-size: 17px;
|
|
708
710
|
line-height: 1.1;
|
|
709
711
|
padding: 0;
|
|
710
712
|
margin: 0 0 0.4em 0;
|
|
711
|
-
font-weight:
|
|
713
|
+
font-weight: 500;
|
|
712
714
|
}
|
|
713
715
|
|
|
714
716
|
.info-box h3.list-header {
|
|
@@ -1009,13 +1011,28 @@ body.console-open .console-tab {
|
|
|
1009
1011
|
.console-info-title {
|
|
1010
1012
|
color: #fff;
|
|
1011
1013
|
border-bottom: 1px solid rgba(255,255,255,0.35);
|
|
1012
|
-
|
|
1014
|
+
line-height: 1.45; /* space between border and text */
|
|
1013
1015
|
}
|
|
1014
1016
|
|
|
1015
1017
|
.console-info-subtitle {
|
|
1016
1018
|
margin-top: 0.65em;
|
|
1017
1019
|
}
|
|
1018
1020
|
|
|
1021
|
+
.layer-info-popup .console-info-title {
|
|
1022
|
+
color: var(--normal-text);
|
|
1023
|
+
border-bottom-color: #ccc;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
.layer-info-popup .console-attribute-table tr:first-child {
|
|
1027
|
+
border-bottom-color: #ccc;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
.layer-info-popup .console-info-table td:first-child,
|
|
1031
|
+
.layer-info-popup .console-attribute-table td:first-child,
|
|
1032
|
+
.layer-info-popup .console-attribute-table th:first-child {
|
|
1033
|
+
color: #555;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1019
1036
|
.input-field {
|
|
1020
1037
|
outline: none;
|
|
1021
1038
|
min-width: 100px;
|
|
@@ -1883,6 +1900,15 @@ body.pan.panning .map-layers:not(.drawing) {
|
|
|
1883
1900
|
stroke-linejoin: round;
|
|
1884
1901
|
}
|
|
1885
1902
|
|
|
1903
|
+
.map-layers > svg text.label-style-selected {
|
|
1904
|
+
stroke: #fce300;
|
|
1905
|
+
stroke-opacity: 0.25;
|
|
1906
|
+
paint-order: stroke fill;
|
|
1907
|
+
stroke-width: 4px;
|
|
1908
|
+
stroke-linecap: round;
|
|
1909
|
+
stroke-linejoin: round;
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1886
1912
|
/* --- MAP BUTTONS --- */
|
|
1887
1913
|
|
|
1888
1914
|
/*.pointer-btn {
|
|
@@ -1979,6 +2005,607 @@ body.pan.panning .map-layers:not(.drawing) {
|
|
|
1979
2005
|
fill: white;
|
|
1980
2006
|
}
|
|
1981
2007
|
|
|
2008
|
+
.label-style-panel {
|
|
2009
|
+
position: absolute;
|
|
2010
|
+
z-index: 21;
|
|
2011
|
+
top: 6px;
|
|
2012
|
+
right: 36px;
|
|
2013
|
+
width: 185px;
|
|
2014
|
+
padding: 8px 12px 12px;
|
|
2015
|
+
text-align: left;
|
|
2016
|
+
background-color: white;
|
|
2017
|
+
border: 1px solid #ddd;
|
|
2018
|
+
border-radius: 6px;
|
|
2019
|
+
box-shadow: 0 1px 7px rgba(0,0,0,0.12);
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
.label-style-panel button,
|
|
2023
|
+
.label-style-panel select,
|
|
2024
|
+
.label-style-panel input {
|
|
2025
|
+
font-size: 12.5px;
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
.label-style-panel button.label-style-close {
|
|
2029
|
+
font-size: 16px; /* close button icon */
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
|
|
2033
|
+
.label-style-panel select {
|
|
2034
|
+
padding: 1px 0;
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
.label-style-panel-title {
|
|
2038
|
+
position: relative;
|
|
2039
|
+
font-weight: 600;
|
|
2040
|
+
font-size: 16px;
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
.label-style-close {
|
|
2044
|
+
position: absolute;
|
|
2045
|
+
right: -5px;
|
|
2046
|
+
border: 0;
|
|
2047
|
+
background: transparent;
|
|
2048
|
+
cursor: pointer;
|
|
2049
|
+
font-size: 16px;
|
|
2050
|
+
line-height: 1;
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
|
+
.label-style-row {
|
|
2054
|
+
display: block;
|
|
2055
|
+
margin-top: 7px;
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
.label-style-row span,
|
|
2059
|
+
.label-style-row-label {
|
|
2060
|
+
display: block;
|
|
2061
|
+
/* margin-bottom: 3px; */
|
|
2062
|
+
color: #555;
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
.label-style-row select {
|
|
2066
|
+
width: 100%;
|
|
2067
|
+
box-sizing: border-box;
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
.label-style-panel select {
|
|
2071
|
+
background-color: white;
|
|
2072
|
+
border: 1px solid #999;
|
|
2073
|
+
box-shadow: none;
|
|
2074
|
+
}
|
|
2075
|
+
|
|
2076
|
+
.label-style-panel select:focus {
|
|
2077
|
+
border-color: #d3aa00;
|
|
2078
|
+
box-shadow: none;
|
|
2079
|
+
outline: none;
|
|
2080
|
+
}
|
|
2081
|
+
|
|
2082
|
+
.label-style-panel input[type="text"] {
|
|
2083
|
+
-webkit-appearance: none;
|
|
2084
|
+
appearance: none;
|
|
2085
|
+
background: white;
|
|
2086
|
+
border: 1px solid #999;
|
|
2087
|
+
border-radius: 0;
|
|
2088
|
+
box-shadow: none;
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
.label-style-panel input[type="text"]:focus {
|
|
2092
|
+
border-color: #d3aa00;
|
|
2093
|
+
box-shadow: none;
|
|
2094
|
+
outline: none;
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
.label-create-expression-row input {
|
|
2098
|
+
width: 100%;
|
|
2099
|
+
box-sizing: border-box;
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
.label-create-copy-row {
|
|
2103
|
+
display: flex;
|
|
2104
|
+
align-items: flex-start;
|
|
2105
|
+
gap: 5px;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
.label-create-copy-row input {
|
|
2109
|
+
margin-top: 1px;
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
.label-create-copy-row span {
|
|
2113
|
+
display: inline;
|
|
2114
|
+
margin: 0;
|
|
2115
|
+
color: #555;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
.label-saved-style-row select {
|
|
2119
|
+
width: 100%;
|
|
2120
|
+
margin-bottom: 4px;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
.label-saved-style-row {
|
|
2124
|
+
margin-top: 10px;
|
|
2125
|
+
padding-top: 8px;
|
|
2126
|
+
border-top: 1px solid #ccc;
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
.label-saved-style-row button,
|
|
2130
|
+
.label-style-row button {
|
|
2131
|
+
margin-right: 5px;
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
.label-split-row {
|
|
2135
|
+
display: grid;
|
|
2136
|
+
grid-template-columns: 105px 1fr;
|
|
2137
|
+
column-gap: 8px;
|
|
2138
|
+
align-items: start;
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
.label-split-cell > span,
|
|
2142
|
+
.label-split-cell > .label-style-row-label {
|
|
2143
|
+
display: block;
|
|
2144
|
+
margin-bottom: 2px;
|
|
2145
|
+
color: #555;
|
|
2146
|
+
}
|
|
2147
|
+
|
|
2148
|
+
.label-split-row .label-size-row,
|
|
2149
|
+
.label-split-row .label-icon-size-row {
|
|
2150
|
+
justify-self: end;
|
|
2151
|
+
white-space: nowrap;
|
|
2152
|
+
}
|
|
2153
|
+
|
|
2154
|
+
.label-color-row {
|
|
2155
|
+
position: relative;
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
.label-panel-btn {
|
|
2159
|
+
box-sizing: border-box;
|
|
2160
|
+
user-select: none;
|
|
2161
|
+
cursor: pointer;
|
|
2162
|
+
border: 1px solid #999;
|
|
2163
|
+
border-radius: 3px;
|
|
2164
|
+
background: #eee;
|
|
2165
|
+
padding: 0;
|
|
2166
|
+
height: 19px;
|
|
2167
|
+
width: 19px;
|
|
2168
|
+
}
|
|
2169
|
+
|
|
2170
|
+
.label-panel-btn.disabled {
|
|
2171
|
+
color: #999;
|
|
2172
|
+
cursor: default;
|
|
2173
|
+
opacity: 0.45;
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
.label-color-row .label-color-chit {
|
|
2177
|
+
display: inline-block;
|
|
2178
|
+
width: 19px;
|
|
2179
|
+
height: 19px;
|
|
2180
|
+
margin-right: 5px;
|
|
2181
|
+
padding: 0;
|
|
2182
|
+
vertical-align: top;
|
|
2183
|
+
border: 1px solid #888;
|
|
2184
|
+
cursor: pointer;
|
|
2185
|
+
}
|
|
2186
|
+
|
|
2187
|
+
.label-color-row input[type="text"] {
|
|
2188
|
+
width: 79px;
|
|
2189
|
+
height: 19px;
|
|
2190
|
+
padding-top: 0;
|
|
2191
|
+
padding-bottom: 0;
|
|
2192
|
+
box-sizing: border-box;
|
|
2193
|
+
vertical-align: top;
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
.label-color-row .label-color-picker {
|
|
2197
|
+
left: auto;
|
|
2198
|
+
right: 0;
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
.label-color-row .label-color-picker input[type="text"] {
|
|
2202
|
+
width: 45px;
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
.label-css-row input {
|
|
2206
|
+
width: 100%;
|
|
2207
|
+
box-sizing: border-box;
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
.layer-style-panel .layer-color-row {
|
|
2211
|
+
position: relative;
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
.point-style-section + .point-style-section {
|
|
2215
|
+
margin-top: 10px;
|
|
2216
|
+
padding-top: 8px;
|
|
2217
|
+
border-top: 1px solid #ccc;
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
.point-style-section.point-style-first-visible {
|
|
2221
|
+
margin-top: 7px;
|
|
2222
|
+
padding-top: 0;
|
|
2223
|
+
border-top: 0;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
.point-style-note {
|
|
2227
|
+
color: #555;
|
|
2228
|
+
line-height: 1.25;
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
.point-create-labels-row {
|
|
2232
|
+
display: flex;
|
|
2233
|
+
align-items: center;
|
|
2234
|
+
gap: 10px;
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2237
|
+
.point-create-circles-row {
|
|
2238
|
+
display: flex;
|
|
2239
|
+
align-items: baseline;
|
|
2240
|
+
gap: 2px;
|
|
2241
|
+
color: #555;
|
|
2242
|
+
}
|
|
2243
|
+
|
|
2244
|
+
.point-create-circles-row span {
|
|
2245
|
+
display: inline;
|
|
2246
|
+
margin: 0;
|
|
2247
|
+
color: #555;
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
.point-create-copy-label {
|
|
2251
|
+
display: inline-flex;
|
|
2252
|
+
align-items: center;
|
|
2253
|
+
gap: 4px;
|
|
2254
|
+
margin: 0;
|
|
2255
|
+
color: #555;
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
.point-create-copy-label span {
|
|
2259
|
+
display: inline;
|
|
2260
|
+
margin: 0;
|
|
2261
|
+
color: #555;
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
.point-symbol-row {
|
|
2265
|
+
display: flex;
|
|
2266
|
+
align-items: flex-start;
|
|
2267
|
+
gap: 12px;
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
.point-symbol-size-row {
|
|
2271
|
+
display: flex;
|
|
2272
|
+
align-items: flex-start;
|
|
2273
|
+
gap: 12px;
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
.point-symbol-stepper-control {
|
|
2277
|
+
display: flex;
|
|
2278
|
+
flex-direction: column;
|
|
2279
|
+
gap: 2px;
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
.point-symbol-stepper-control:last-child {
|
|
2283
|
+
margin-left: auto;
|
|
2284
|
+
align-items: flex-end;
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
.point-symbol-color-cell {
|
|
2288
|
+
position: relative;
|
|
2289
|
+
white-space: nowrap;
|
|
2290
|
+
flex: 1;
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2293
|
+
.point-symbol-row .layer-number-control input[type="text"],
|
|
2294
|
+
.point-symbol-width-row input[type="text"] {
|
|
2295
|
+
width: 45px;
|
|
2296
|
+
height: 19px;
|
|
2297
|
+
padding-top: 0;
|
|
2298
|
+
padding-bottom: 0;
|
|
2299
|
+
box-sizing: border-box;
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2302
|
+
.point-symbol-width-row input[type="text"] {
|
|
2303
|
+
width: 55px;
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
.layer-style-control-line {
|
|
2307
|
+
display: flex;
|
|
2308
|
+
align-items: flex-start;
|
|
2309
|
+
gap: 12px;
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
.layer-color-cell {
|
|
2313
|
+
position: relative;
|
|
2314
|
+
white-space: nowrap;
|
|
2315
|
+
}
|
|
2316
|
+
|
|
2317
|
+
.layer-style-panel .layer-color-row input[type="text"] {
|
|
2318
|
+
width: 79px;
|
|
2319
|
+
height: 19px;
|
|
2320
|
+
padding-top: 0;
|
|
2321
|
+
padding-bottom: 0;
|
|
2322
|
+
box-sizing: border-box;
|
|
2323
|
+
vertical-align: top;
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
.layer-row-controls {
|
|
2327
|
+
display: flex;
|
|
2328
|
+
gap: 6px;
|
|
2329
|
+
align-items: flex-start;
|
|
2330
|
+
justify-content: flex-start;
|
|
2331
|
+
}
|
|
2332
|
+
|
|
2333
|
+
.layer-number-control {
|
|
2334
|
+
display: block;
|
|
2335
|
+
margin: 0;
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
.layer-number-control > span,
|
|
2339
|
+
.label-color-row > span,
|
|
2340
|
+
.layer-color-cell > span {
|
|
2341
|
+
display: block;
|
|
2342
|
+
margin-bottom: 3px;
|
|
2343
|
+
color: #555;
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
.layer-style-panel .layer-number-control input[type="text"] {
|
|
2347
|
+
width: 45px;
|
|
2348
|
+
height: 19px;
|
|
2349
|
+
padding-top: 0;
|
|
2350
|
+
padding-bottom: 0;
|
|
2351
|
+
box-sizing: border-box;
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
.layer-stepper-control {
|
|
2355
|
+
display: flex;
|
|
2356
|
+
align-items: center;
|
|
2357
|
+
gap: 2px;
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2360
|
+
.layer-stepper-control .label-panel-btn {
|
|
2361
|
+
text-align: center;
|
|
2362
|
+
line-height: 18px;
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
.layer-stroke-width-value {
|
|
2366
|
+
display: inline-block;
|
|
2367
|
+
width: 30px;
|
|
2368
|
+
min-height: 17px;
|
|
2369
|
+
line-height: 17px;
|
|
2370
|
+
text-align: center;
|
|
2371
|
+
border: 1px solid #999;
|
|
2372
|
+
background: white;
|
|
2373
|
+
cursor: pointer;
|
|
2374
|
+
box-sizing: border-box;
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
.layer-stroke-width-value.editing {
|
|
2378
|
+
cursor: text;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
.layer-stroke-width-row .layer-number-control {
|
|
2382
|
+
display: block;
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2385
|
+
.layer-style-panel .layer-color-row .label-color-picker input[type="text"] {
|
|
2386
|
+
width: 45px;
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
.label-color-picker {
|
|
2390
|
+
position: absolute;
|
|
2391
|
+
z-index: 25;
|
|
2392
|
+
top: 48px;
|
|
2393
|
+
right: 0;
|
|
2394
|
+
padding: 8px;
|
|
2395
|
+
background: white;
|
|
2396
|
+
border: 1px solid #ddd;
|
|
2397
|
+
border-radius: 6px;
|
|
2398
|
+
box-shadow: 0 1px 7px rgba(0,0,0,0.18);
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
.label-color-picker canvas {
|
|
2402
|
+
display: block;
|
|
2403
|
+
width: 256px;
|
|
2404
|
+
margin: 0 0 6px 0;
|
|
2405
|
+
cursor: crosshair;
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2408
|
+
.label-color-presets {
|
|
2409
|
+
margin: 0 0 6px 0;
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
.label-color-preset-row {
|
|
2413
|
+
display: flex;
|
|
2414
|
+
gap: 2px;
|
|
2415
|
+
margin-bottom: 2px;
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
.label-color-preset {
|
|
2419
|
+
box-sizing: border-box;
|
|
2420
|
+
width: 14px;
|
|
2421
|
+
height: 14px;
|
|
2422
|
+
border: 1px solid rgba(0, 0, 0, 0.25);
|
|
2423
|
+
cursor: pointer;
|
|
2424
|
+
}
|
|
2425
|
+
|
|
2426
|
+
.label-color-preset:hover,
|
|
2427
|
+
.label-color-preset:focus {
|
|
2428
|
+
outline: 1px solid #d3aa00;
|
|
2429
|
+
outline-offset: 1px;
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
.label-color-preset-group-start {
|
|
2433
|
+
margin-left: 2px;
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
.label-color-picker.dragging-color canvas {
|
|
2437
|
+
cursor: none;
|
|
2438
|
+
}
|
|
2439
|
+
|
|
2440
|
+
body.dragging-color-picker,
|
|
2441
|
+
body.dragging-color-picker * {
|
|
2442
|
+
cursor: none !important;
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2445
|
+
.label-color-canvas-wrap {
|
|
2446
|
+
position: relative;
|
|
2447
|
+
width: 256px;
|
|
2448
|
+
overflow: visible;
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
.label-color-marker {
|
|
2452
|
+
position: absolute;
|
|
2453
|
+
pointer-events: none;
|
|
2454
|
+
overflow: visible;
|
|
2455
|
+
}
|
|
2456
|
+
|
|
2457
|
+
.label-color-marker circle {
|
|
2458
|
+
fill: none;
|
|
2459
|
+
stroke-width: 1.5;
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2462
|
+
.label-color-picker-fields {
|
|
2463
|
+
display: flex;
|
|
2464
|
+
align-items: center;
|
|
2465
|
+
gap: 6px;
|
|
2466
|
+
margin-top: 6px;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
.label-color-picker-fields label {
|
|
2470
|
+
display: inline-flex;
|
|
2471
|
+
align-items: center;
|
|
2472
|
+
gap: 3px;
|
|
2473
|
+
margin: 0;
|
|
2474
|
+
color: #555;
|
|
2475
|
+
}
|
|
2476
|
+
|
|
2477
|
+
.label-color-picker-fields span {
|
|
2478
|
+
display: inline;
|
|
2479
|
+
margin: 0;
|
|
2480
|
+
color: #555;
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
.label-color-picker-fields input {
|
|
2484
|
+
width: 34px;
|
|
2485
|
+
box-sizing: border-box;
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
.label-color-picker-fields button {
|
|
2489
|
+
margin-left: auto;
|
|
2490
|
+
}
|
|
2491
|
+
|
|
2492
|
+
.label-style-selection-row button {
|
|
2493
|
+
margin-right: 5px;
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
.label-style-selection-row .label-editing-status,
|
|
2497
|
+
.label-style-selection-row .label-editing-clear {
|
|
2498
|
+
display: inline;
|
|
2499
|
+
}
|
|
2500
|
+
|
|
2501
|
+
.label-style-selection-row .label-editing-clear.hidden {
|
|
2502
|
+
display: none;
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
.label-editing-status {
|
|
2506
|
+
color: #555;
|
|
2507
|
+
}
|
|
2508
|
+
|
|
2509
|
+
.label-style-selection-row .label-editing-clear {
|
|
2510
|
+
margin-left: 8px;
|
|
2511
|
+
color: var(--colored-text);
|
|
2512
|
+
cursor: pointer;
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
.label-style-selection-row .label-editing-clear:hover {
|
|
2516
|
+
color: black;
|
|
2517
|
+
text-decoration: underline;
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2520
|
+
.label-position-grid {
|
|
2521
|
+
display: grid;
|
|
2522
|
+
grid-template-columns: repeat(3, 10px);
|
|
2523
|
+
gap: 2px;
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
.label-position-grid .label-panel-btn {
|
|
2527
|
+
width: 9px;
|
|
2528
|
+
height: 9px;
|
|
2529
|
+
cursor: pointer;
|
|
2530
|
+
border-radius: 0;
|
|
2531
|
+
background: white;
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2534
|
+
.label-panel-btn.selected {
|
|
2535
|
+
background-color: black;
|
|
2536
|
+
border-color: black;
|
|
2537
|
+
color: white;
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
.label-icon-buttons {
|
|
2541
|
+
display: flex;
|
|
2542
|
+
gap: 2px;
|
|
2543
|
+
}
|
|
2544
|
+
|
|
2545
|
+
.label-icon-buttons .label-panel-btn {
|
|
2546
|
+
display: flex;
|
|
2547
|
+
align-items: center;
|
|
2548
|
+
justify-content: center;
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2551
|
+
.label-icon-symbol {
|
|
2552
|
+
display: block;
|
|
2553
|
+
width: 13px;
|
|
2554
|
+
height: 13px;
|
|
2555
|
+
fill: currentColor;
|
|
2556
|
+
stroke: none;
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
.label-icon-buttons .label-panel-btn[data-icon="none"] .label-icon-symbol,
|
|
2560
|
+
.label-icon-buttons .label-panel-btn[data-icon="ring"] .label-icon-symbol {
|
|
2561
|
+
fill: none;
|
|
2562
|
+
stroke: currentColor;
|
|
2563
|
+
stroke-width: 1.8;
|
|
2564
|
+
stroke-linecap: round;
|
|
2565
|
+
stroke-linejoin: round;
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
.label-icon-buttons .label-panel-btn[data-icon="star"] .label-icon-symbol {
|
|
2569
|
+
transform: scale(1.4);
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2572
|
+
.label-size-row .label-panel-btn,
|
|
2573
|
+
.label-icon-size-row .label-panel-btn {
|
|
2574
|
+
display: inline-block;
|
|
2575
|
+
text-align: center;
|
|
2576
|
+
line-height: 18px;
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
.label-size-row .label-panel-btn,
|
|
2580
|
+
.label-icon-size-row .label-panel-btn {
|
|
2581
|
+
margin-right: 4px;
|
|
2582
|
+
}
|
|
2583
|
+
|
|
2584
|
+
.label-split-row .label-size-row .label-panel-btn,
|
|
2585
|
+
.label-split-row .label-icon-size-row .label-panel-btn {
|
|
2586
|
+
margin-right: 2px;
|
|
2587
|
+
}
|
|
2588
|
+
|
|
2589
|
+
.label-split-row .label-size-row .label-panel-btn:last-child,
|
|
2590
|
+
.label-split-row .label-icon-size-row .label-panel-btn:last-child {
|
|
2591
|
+
margin-right: 0;
|
|
2592
|
+
}
|
|
2593
|
+
|
|
2594
|
+
.label-size-row .label-size-value,
|
|
2595
|
+
.label-icon-size-row .label-icon-size-value {
|
|
2596
|
+
display: inline-block;
|
|
2597
|
+
width: 28px;
|
|
2598
|
+
margin: 0 3px 0 0;
|
|
2599
|
+
text-align: center;
|
|
2600
|
+
color: black;
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2603
|
+
.label-split-row .label-size-value,
|
|
2604
|
+
.label-split-row .label-icon-size-value {
|
|
2605
|
+
width: 24px;
|
|
2606
|
+
margin-right: 2px;
|
|
2607
|
+
}
|
|
2608
|
+
|
|
1982
2609
|
.nav-menu-item,
|
|
1983
2610
|
.contextmenu-item {
|
|
1984
2611
|
background-color: #fff;
|
|
@@ -2033,9 +2660,9 @@ body.pan.panning .map-layers:not(.drawing) {
|
|
|
2033
2660
|
display: inline-block;
|
|
2034
2661
|
border-radius: 4px;
|
|
2035
2662
|
border: 1px solid #aaa;
|
|
2036
|
-
font-size:
|
|
2037
|
-
margin-left:
|
|
2038
|
-
padding:
|
|
2663
|
+
font-size: 13px;
|
|
2664
|
+
margin-left: 4px;
|
|
2665
|
+
padding: 2px 4px 3px 4px;
|
|
2039
2666
|
}
|
|
2040
2667
|
|
|
2041
2668
|
.add-field-btn,
|
|
@@ -2081,7 +2708,7 @@ body.pan.panning .map-layers:not(.drawing) {
|
|
|
2081
2708
|
text-align: right;
|
|
2082
2709
|
background-color: #fff;
|
|
2083
2710
|
white-space: nowrap;
|
|
2084
|
-
padding:
|
|
2711
|
+
padding: 3px 7px 0px 7px;
|
|
2085
2712
|
line-height: 11px;
|
|
2086
2713
|
cursor: pointer;
|
|
2087
2714
|
}
|