forked from MapComplete/MapComplete
UX: when using a white background icon, a dark outline gets used instead
This commit is contained in:
parent
59a294a166
commit
26c06a2697
3 changed files with 14 additions and 0 deletions
|
@ -4891,6 +4891,11 @@ a.link-underline {
|
||||||
animation: glowing-drop-shadow 1s ease-in-out infinite alternate;
|
animation: glowing-drop-shadow 1s ease-in-out infinite alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.selected .light-icon svg:not(.noselect *) path.selectable {
|
||||||
|
stroke: #4a4a4a !important;
|
||||||
|
stroke-width: 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.selected svg {
|
.selected svg {
|
||||||
/* A marker on the map gets the 'selected' class when it's properties are displayed
|
/* A marker on the map gets the 'selected' class when it's properties are displayed
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -24,6 +24,10 @@
|
||||||
|
|
||||||
{#if iconItem?.startsWith("<")}
|
{#if iconItem?.startsWith("<")}
|
||||||
{@html iconItem}
|
{@html iconItem}
|
||||||
|
{:else if color === "white"}
|
||||||
|
<span class="light-icon">
|
||||||
|
<Icon icon={iconItem} {color} {emojiHeight} />
|
||||||
|
</span>
|
||||||
{:else}
|
{:else}
|
||||||
<Icon icon={iconItem} {color} {emojiHeight} />
|
<Icon icon={iconItem} {color} {emojiHeight} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -531,6 +531,11 @@ a.link-underline {
|
||||||
animation: glowing-drop-shadow 1s ease-in-out infinite alternate;
|
animation: glowing-drop-shadow 1s ease-in-out infinite alternate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.selected .light-icon svg:not(.noselect *) path.selectable {
|
||||||
|
stroke: #4a4a4a !important;
|
||||||
|
stroke-width: 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.selected svg {
|
.selected svg {
|
||||||
/* A marker on the map gets the 'selected' class when it's properties are displayed
|
/* A marker on the map gets the 'selected' class when it's properties are displayed
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue