Front end improvements

This commit is contained in:
2026-02-01 05:57:52 -05:00
parent a7aedd3b64
commit 2193c37a3e
3 changed files with 311 additions and 44 deletions

View File

@@ -585,6 +585,110 @@ video::-webkit-media-controls {
transition: width 0.2s;
}
.file-drop-zone {
border: 2px dashed rgba(0, 245, 255, 0.5);
border-radius: 12px;
padding: 40px 20px;
text-align: center;
cursor: pointer;
transition: all 0.3s;
background: rgba(0, 245, 255, 0.05);
}
.file-drop-zone:hover {
border-color: rgba(0, 245, 255, 0.8);
background: rgba(0, 245, 255, 0.1);
}
.file-drop-zone.drag-over {
border-color: #00f5ff;
background: rgba(0, 245, 255, 0.2);
transform: scale(1.02);
}
.file-drop-zone p {
color: rgba(255, 255, 255, 0.7);
font-size: 14px;
margin: 0;
}
.drop-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: none;
align-items: center;
justify-content: center;
z-index: 9999;
pointer-events: none;
}
.drop-overlay.active {
display: flex;
pointer-events: auto;
}
.drop-indicator {
color: white;
font-size: 32px;
font-weight: bold;
text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
animation: pulse 1s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
#progressList {
display: flex;
flex-direction: column;
gap: 12px;
}
.progress-item {
padding: 10px;
background: rgba(255, 255, 255, 0.05);
border-radius: 6px;
border-left: 3px solid #00f5ff;
}
.progress-item-name {
font-size: 12px;
color: rgba(255, 255, 255, 0.8);
margin-bottom: 6px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.progress-item-bar {
width: 100%;
height: 4px;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
overflow: hidden;
}
.progress-item-fill {
height: 100%;
background: linear-gradient(90deg, #ff006e, #00f5ff);
width: 0%;
transition: width 0.2s ease;
}
.progress-item.success {
border-left-color: #00ff00;
}
.progress-item.error {
border-left-color: #ff0000;
}
#loginError,
#uploadError {
color: #ff6b6b;