get rid of toggleDraggedItemOverlay and replace it with css classes that are computed inside the template

This commit is contained in:
chfhtw
2026-04-13 13:21:35 +02:00
parent e98ed3c74f
commit 9fd033b30e
2 changed files with 14 additions and 27 deletions
+10 -10
View File
@@ -124,19 +124,19 @@
position: relative;
}
.dashboard-item-overlay {
.drop-grid-item-move > .dashboard-item {
background-color: var(--fhc-dashboard-item-overlay-background);
}
.dashboard-item-overlay::before {
position:absolute;
content:"";
top:0.25rem;
left:0.25rem;
right:0.25rem;
bottom:0.25rem;
border:4px dashed var(--fhc-dashboard-item-overly-border-color);
opacity: 0.5;
.drop-grid-item-move > .dashboard-item::before {
position: absolute;
content: "";
top: .25rem;
left: .25rem;
right: .25rem;
bottom: .25rem;
border: 4px dashed var(--fhc-dashboard-item-overly-border-color);
opacity: .5;
}
#deleteBookmark i {