forked from MapComplete/MapComplete
Don't show a highlight of elements within the last-click animation
This commit is contained in:
parent
07be3dbe26
commit
6d9a984f32
3 changed files with 4 additions and 5 deletions
|
@ -74,7 +74,7 @@
|
|||
"then": "{first_preset}"
|
||||
}
|
||||
],
|
||||
"render": "<div class='relative'> <img src='./assets/svg/add_pin.svg' class='absolute' style='height: 50px'> <div class='absolute top-0 left-0 rounded-full overflow-hidden' style='width: 40px; height: 40px'><div class='flex slide min-w-min' style='animation: slide linear {number_of_presets}s infinite; width: calc( (1 + {number_of_presets}) * 40px ); height: 40px'>{renderings}{first_preset}</div></div></div>"
|
||||
"render": "<div class='relative'> <img src='./assets/svg/add_pin.svg' class='absolute' style='height: 50px'> <div class='absolute top-0 left-0 rounded-full overflow-hidden noselect' style='width: 40px; height: 40px'><div class='flex slide min-w-min' style='animation: slide linear {number_of_presets}s infinite; width: calc( (1 + {number_of_presets}) * 40px ); height: 40px'>{renderings}{first_preset}</div></div></div>"
|
||||
},
|
||||
"labelCssClasses": "text-sm min-w-min pl-1 pr-1 rounded-3xl text-white opacity-65 whitespace-nowrap block-ruby",
|
||||
"labelCss": "background: #00000088",
|
||||
|
@ -158,4 +158,4 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2094,10 +2094,9 @@ li::marker {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.selected svg path.selectable {
|
||||
.selected svg:not(.noselect *) path.selectable {
|
||||
stroke: white !important;
|
||||
stroke-width: 20px !important;
|
||||
/* filter: drop-shadow(5px 5px 40px rgb(0 0 0 / 0.6));*/
|
||||
overflow: visible !important;
|
||||
-webkit-animation: glowing-drop-shadow 1s ease-in-out infinite alternate;
|
||||
animation: glowing-drop-shadow 1s ease-in-out infinite alternate;
|
||||
|
|
|
@ -304,7 +304,7 @@ li::marker {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.selected svg path.selectable {
|
||||
.selected svg:not(.noselect *) path.selectable {
|
||||
stroke: white !important;
|
||||
stroke-width: 20px !important;
|
||||
overflow: visible !important;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue