forked from MapComplete/MapComplete
complete styling
This commit is contained in:
parent
3113afb39d
commit
26f8830c1d
3 changed files with 27 additions and 8 deletions
|
@ -14,13 +14,13 @@ export class LayerSelection extends UIElement{
|
|||
this._checkboxes.push(new CheckBox(
|
||||
new Combine([
|
||||
`<svg width="26" height="18" viewBox="0 0 26 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3 7.28571L10.8261 15L23 3" stroke="#003B8B" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M3 7.28571L10.8261 15L23 3" stroke="#003B8B" stroke-width="4" stroke-linejoin="round"/>
|
||||
</svg>`,
|
||||
`<img width="20" height="20" src="${layer.layerDef.icon}" alt="layer.layerDef.icon">`,
|
||||
layer.layerDef.name]),
|
||||
new Combine([
|
||||
`<svg width="26" height="18" viewBox="0 0 26 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3 7.28571L10.8261 15L23 3" stroke="#ffffff" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M3 7.28571L10.8261 15L23 3" stroke="#ffffff" stroke-width="4" stroke-linejoin="round"/>
|
||||
</svg>`,
|
||||
`<img width="20" height="20" src="${layer.layerDef.icon}" alt="layer.layerDef.icon">`,
|
||||
layer.layerDef.name]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue