diff --git a/resources/js/Components/SlideGrid.vue b/resources/js/Components/SlideGrid.vue index 10c7cbf..62be224 100644 --- a/resources/js/Components/SlideGrid.vue +++ b/resources/js/Components/SlideGrid.vue @@ -1,7 +1,8 @@ @@ -156,15 +203,23 @@ function isExpired(expireDate) { Noch keine Folien vorhanden - - + + - Verarbeitung läuft... + Verarbeitung läuft... @@ -198,26 +253,26 @@ function isExpired(expireDate) { data-testid="slide-grid-delete-button" @click.stop="promptDelete(slide)" class="absolute left-2.5 top-2.5 flex h-8 w-8 items-center justify-center rounded-lg bg-black/60 text-white shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-red-600 hover:scale-110" - title="Löschen" + title="Löschen" > - - + - + + - + @@ -249,7 +304,7 @@ function isExpired(expireDate) { v-if="editingExpireId !== slide.id" class="flex items-center gap-1.5 cursor-pointer rounded-lg px-2 py-1 -mx-1 transition-colors hover:bg-gray-50" @click="startEditExpire(slide)" - :title="'Ablaufdatum ändern'" + :title="'Ablaufdatum ändern'" > - - - + - - Folien hinzufügen + Folien hinzufügen - + - + - + + + + + + + + + + + + + + + + + + + + + + @@ -369,4 +465,22 @@ function isExpired(expireDate) { .slide-upload-card { min-height: 0; } + +/* Drag highlight styles */ +.slide-drag-ghost { + opacity: 0.4; + border: 2px dashed rgb(99, 102, 241); +} + +.slide-drag-chosen { + ring: 2px; + ring-color: rgb(99, 102, 241); + box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); + transform: scale(1.05); +} + +.slide-drag-active { + opacity: 0.8; + transform: rotate(2deg); +}
Noch keine Folien vorhanden