|
22 | 22 | .feature-edit-section.hidden{ 'data-edit-section': "style" } |
23 | 23 | .feature-section-card.pt-2 |
24 | 24 | #point-size-ui.edit-ui.edit-point |
25 | | - %label{ for: "point-size"} Size: |
| 25 | + %label.left-label{ for: "point-size"} Size: |
26 | 26 | %input.slider#point-size{ type: "range", min: "1", max: "75", value: "1", 'data-action': "input->feature--edit#addUndo input->feature--edit#updatePointSize change->feature--edit#saveFeature" } |
27 | 27 | %span#point-size-val.text-muted.small |
28 | 28 |
|
29 | 29 | #point-scaling-ui.edit-ui.edit-point |
30 | | - %label.edit-polygon.edit-line{ for: "point-scaling"} Point scaling: |
| 30 | + %label.left-label.edit-polygon.edit-line{ for: "point-scaling"} Point scaling: |
31 | 31 | %input#point-scaling{type: "checkbox", data: { action: "input->feature--edit#addUndo input->feature--edit#updatePointScaling change->feature--edit#saveFeature"} } |
32 | 32 | %label{ for: "point-scaling"} Scaled with zoom |
33 | 33 |
|
34 | 34 | #line-width-ui.edit-ui.edit-line |
35 | | - %label{ for: "line-width"} Width: |
| 35 | + %label.left-label{ for: "line-width"} Width: |
36 | 36 | %input.slider#line-width{ type: "range", min: "1", max: "15", value: "1", 'data-action': "input->feature--edit#addUndo input->feature--edit#updateLineWidth change->feature--edit#saveFeature" } |
37 | 37 | %span#line-width-val.text-muted.small |
38 | 38 |
|
39 | 39 | #outline-width-ui.edit-ui.edit-polygon |
40 | | - %label{ for: "outline-width"} Line width: |
| 40 | + %label.left-label{ for: "outline-width"} Line width: |
41 | 41 | %input.slider#outline-width{ type: "range", min: "0", max: "15", value: "1", 'data-action': "input->feature--edit#addUndo input->feature--edit#updateOutLineWidth change->feature--edit#saveFeature" } |
42 | 42 | %span#outline-width-val.text-muted.small |
43 | 43 |
|
44 | 44 | #stroke-color-ui.edit-ui.edit-line.edit-polygon.edit-point |
45 | | - %label.edit-polygon.edit-line{ for: "stroke-color"} Line color: |
46 | | - %label.edit-point{ for: "stroke-color"} Border color: |
| 45 | + %label.left-label.edit-polygon.edit-line{ for: "stroke-color"} Line color: |
| 46 | + %label.left-label.edit-point{ for: "stroke-color"} Border color: |
47 | 47 | %input.form-control#stroke-color{ type: "color", 'data-action': "input->feature--edit#addUndo input->feature--edit#updateStrokeColor change->feature--edit#saveFeature" } |
48 | 48 | %div.edit-polygon.edit-point |
49 | 49 | %input#stroke-color-transparent{type: "checkbox", data: { action: "input->feature--edit#addUndo input->feature--edit#updateStrokeColorTransparent change->feature--edit#saveFeature"} } |
50 | 50 | %label{ for: "stroke-color-transparent"}transparent |
51 | 51 |
|
52 | 52 | #fill-color-ui.edit-ui.edit-polygon.edit-point |
53 | | - %label{ for: "fill-color"} Fill color: |
| 53 | + %label.left-label{ for: "fill-color"} Fill color: |
54 | 54 | %input.form-control#fill-color{ type: "color", 'data-action': "input->feature--edit#addUndo input->feature--edit#updateFillColor change->feature--edit#saveFeature" } |
55 | 55 | %div |
56 | 56 | %input#fill-color-transparent{type: "checkbox", value: 'transparent', data: { action: "input->feature--edit#addUndo input->feature--edit#updateFillColorTransparent change->feature--edit#saveFeature"} } |
57 | 57 | %label{ for: "fill-color-transparent"}transparent |
58 | 58 |
|
59 | 59 | #opacity-ui.edit-ui.edit-polygon |
60 | | - %label{ for: "opacity"} Opacity: |
| 60 | + %label.left-label{ for: "opacity"} Opacity: |
61 | 61 | %input.slider#opacity{ type: "range", min: "1", max: "10", value: "7", 'data-action': "input->feature--edit#addUndo input->feature--edit#updateOpacity change->feature--edit#saveFeature" } |
62 | 62 | %span#opacity-val.text-muted.small |
63 | 63 |
|
64 | 64 | #marker-symbol-ui.edit-ui.edit-point |
65 | | - %label{ for: "marker-symbol"} Symbol: |
| 65 | + %label.left-label{ for: "marker-symbol"} Symbol: |
66 | 66 | %span#emoji |
67 | 67 | %input.form-control#marker-symbol{ type: "hidden", inputmode: 'emoji' } |
68 | | - #marker-symbol-select.btn.btn-blue.ps-1.pe-2{ 'data-action': "click->feature--edit#openEmojiPicker" } |
| 68 | + #marker-symbol-select.btn.btn-secondary.ps-1.pe-2{ 'data-action': "click->feature--edit#openEmojiPicker" } |
69 | 69 | %i.bi.bi-pencil-square.ms-1#no-emoji |
70 | 70 |
|
71 | 71 | #marker-image-ui.edit-ui.edit-point |
72 | | - %label{ for: "marker-image"} Image: |
| 72 | + %label.left-label{ for: "marker-image"} Image: |
73 | 73 | .feature-image |
74 | 74 | - if @user |
75 | | - %label.btn.btn-blue.p-1.ps-2.pe-2{for: 'marker-image'} |
| 75 | + %label.btn.btn-secondary.p-1.ps-2.pe-2{for: 'marker-image'} |
76 | 76 | %i.bi.bi-upload |
77 | 77 | %input.form-control#marker-image.hidden{ type: "file", 'data-action': "input->feature--edit#addUndo change->feature--edit#updateMarkerImage" } |
78 | 78 | - else |
79 | 79 | %i.bi.bi-info-circle |
80 | 80 | Please log in to upload images |
81 | 81 |
|
82 | 82 | #fill-extrusion-height-ui.edit-ui.edit-line.edit-polygon |
83 | | - %label{ for: "fill-extrusion-height"} Height: |
| 83 | + %label.left-label{ for: "fill-extrusion-height"} Height: |
84 | 84 | %input.slider#fill-extrusion-height{ type: "range", min: "0", max: "500", value: "0", 'data-action': "input->feature--edit#addUndo input->feature--edit#updateFillExtrusionHeight change->feature--edit#saveFeature" } |
85 | 85 | %span#fill-extrusion-height-val.text-muted.small |
86 | 86 |
|
87 | 87 | #show-km-markers-ui.edit-ui.edit-line |
88 | | - %label.edit-line{ for: "show-km-markers"} Show km markers: |
| 88 | + %label.left-label.edit-line{ for: "show-km-markers"} |
| 89 | + Distance |
| 90 | + %br |
| 91 | + markers: |
89 | 92 | %input#show-km-markers{type: "checkbox", data: { action: "input->feature--edit#addUndo input->feature--edit#updateShowKmMarkers change->feature--edit#saveFeature"} } |
90 | 93 |
|
91 | 94 | .feature-edit-section.hidden{ 'data-edit-section': "advanced" } |
|
0 commit comments