This commit is contained in:
pika 2025-03-24 20:34:42 +01:00
parent 34afc48816
commit 4e781ba819
8 changed files with 855 additions and 160 deletions

View file

@ -803,4 +803,76 @@
.browser-actions {
margin-top: 1rem;
}
}
/* Selection box */
.selection-box {
position: fixed;
background-color: rgba(var(--primary-rgb), 0.2);
border: 1px solid var(--primary-color);
z-index: 100;
pointer-events: none;
}
/* Selected item styling */
.file-item.selected,
.folder-item.selected {
background-color: rgba(var(--primary-rgb), 0.1);
border: 1px solid var(--primary-color);
}
/* Dragging item styling */
.file-item.dragging,
.folder-item.dragging {
opacity: 0.6;
}
/* Drag target styling */
.folder-item.drag-over {
background-color: rgba(var(--primary-rgb), 0.2);
border: 2px dashed var(--primary-color);
}
/* Selection action bar */
.selection-actions {
display: none;
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background-color: var(--card-bg);
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
padding: 10px 15px;
z-index: 1000;
animation: slide-up 0.3s ease;
}
.selection-actions.active {
display: flex;
align-items: center;
}
.selection-count {
margin-right: 15px;
color: var(--text-color);
font-weight: 500;
}
.selection-actions .action-btn {
margin-left: 5px;
padding: 8px 12px;
font-size: 14px;
}
@keyframes slide-up {
from {
transform: translate(-50%, 20px);
opacity: 0;
}
to {
transform: translate(-50%, 0);
opacity: 1;
}
}