wip
This commit is contained in:
parent
34afc48816
commit
4e781ba819
8 changed files with 855 additions and 160 deletions
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -1264,4 +1264,98 @@ body {
|
|||
.upload-actions {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
/* Error messages and toasts */
|
||||
.error-toast,
|
||||
.success-toast {
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
padding: 12px 20px;
|
||||
border-radius: 6px;
|
||||
color: white;
|
||||
font-weight: 500;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
|
||||
z-index: 9999;
|
||||
opacity: 1;
|
||||
transition: opacity 0.3s ease, transform 0.3s ease;
|
||||
transform: translateX(0);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 300px;
|
||||
max-width: 500px;
|
||||
animation: slide-in 0.3s ease;
|
||||
}
|
||||
|
||||
.error-toast {
|
||||
background-color: var(--danger-color);
|
||||
border-left: 4px solid #c82333;
|
||||
}
|
||||
|
||||
.success-toast {
|
||||
background-color: var(--success-color);
|
||||
border-left: 4px solid #218838;
|
||||
}
|
||||
|
||||
.toast-close {
|
||||
font-size: 18px;
|
||||
margin-left: auto;
|
||||
background: none;
|
||||
border: none;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
opacity: 0.7;
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.toast-close:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.toast-icon {
|
||||
margin-right: 12px;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.toast-content {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
@keyframes slide-in {
|
||||
from {
|
||||
transform: translateX(100%);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Error page styling */
|
||||
.error-container {
|
||||
text-align: center;
|
||||
padding: 3rem 1rem;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.error-icon {
|
||||
font-size: 4rem;
|
||||
color: var(--danger-color);
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.error-container h1 {
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 1rem;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.error-container p {
|
||||
font-size: 1.2rem;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 2rem;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue