Gitea-Fix
Dieser Commit ist enthalten in:
@ -695,3 +695,206 @@
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
/* =============================================================================
|
||||
BROWSER UPLOAD
|
||||
============================================================================= */
|
||||
|
||||
.browser-compat-notice {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: var(--spacing-3);
|
||||
padding: var(--spacing-3) var(--spacing-4);
|
||||
background: rgba(245, 158, 11, 0.1);
|
||||
border: 1px solid rgba(245, 158, 11, 0.3);
|
||||
border-radius: var(--radius-md);
|
||||
margin-bottom: var(--spacing-4);
|
||||
color: var(--warning);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.browser-compat-notice svg {
|
||||
flex-shrink: 0;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* Upload Steps */
|
||||
.upload-step {
|
||||
background: var(--bg-tertiary);
|
||||
border-radius: var(--radius-md);
|
||||
padding: var(--spacing-4);
|
||||
margin-bottom: var(--spacing-4);
|
||||
}
|
||||
|
||||
.step-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--spacing-3);
|
||||
margin-bottom: var(--spacing-4);
|
||||
}
|
||||
|
||||
.step-number {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
background: var(--primary);
|
||||
color: white;
|
||||
border-radius: 50%;
|
||||
font-weight: 600;
|
||||
font-size: var(--text-sm);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.step-title {
|
||||
font-weight: 500;
|
||||
color: var(--text-primary);
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.file-count {
|
||||
font-size: var(--text-sm);
|
||||
color: var(--text-secondary);
|
||||
background: var(--bg-primary);
|
||||
padding: var(--spacing-1) var(--spacing-2);
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
/* Directory Picker */
|
||||
.directory-picker {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--spacing-3);
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.btn-lg {
|
||||
padding: var(--spacing-3) var(--spacing-6);
|
||||
font-size: var(--text-base);
|
||||
}
|
||||
|
||||
.drop-zone {
|
||||
width: 100%;
|
||||
padding: var(--spacing-8);
|
||||
border: 2px dashed var(--border-default);
|
||||
border-radius: var(--radius-lg);
|
||||
text-align: center;
|
||||
color: var(--text-tertiary);
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.drop-zone svg {
|
||||
margin-bottom: var(--spacing-2);
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
.drop-zone p {
|
||||
margin: 0;
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
|
||||
.drop-zone.drag-over {
|
||||
border-color: var(--primary);
|
||||
background: rgba(59, 130, 246, 0.05);
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.drop-zone.drag-over svg {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
/* Files List */
|
||||
.upload-files-list {
|
||||
max-height: 250px;
|
||||
overflow-y: auto;
|
||||
border: 1px solid var(--border-default);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--bg-primary);
|
||||
}
|
||||
|
||||
.upload-file-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--spacing-2);
|
||||
padding: var(--spacing-2) var(--spacing-3);
|
||||
border-bottom: 1px solid var(--border-default);
|
||||
font-size: var(--text-sm);
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.upload-file-item:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.upload-file-item .file-icon {
|
||||
color: var(--text-tertiary);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.upload-file-item .file-path {
|
||||
flex: 1;
|
||||
color: var(--text-primary);
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.upload-file-item .file-size {
|
||||
color: var(--text-tertiary);
|
||||
font-size: var(--text-xs);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.excluded-info {
|
||||
margin-top: var(--spacing-2);
|
||||
color: var(--text-tertiary);
|
||||
}
|
||||
|
||||
/* Upload Actions */
|
||||
.upload-actions {
|
||||
display: flex;
|
||||
gap: var(--spacing-3);
|
||||
justify-content: flex-end;
|
||||
margin-top: var(--spacing-4);
|
||||
}
|
||||
|
||||
/* Progress Bar */
|
||||
.upload-progress {
|
||||
margin-top: var(--spacing-4);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--spacing-3);
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
flex: 1;
|
||||
height: 8px;
|
||||
background: var(--bg-primary);
|
||||
border-radius: var(--radius-full);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.progress-fill {
|
||||
height: 100%;
|
||||
background: var(--primary);
|
||||
border-radius: var(--radius-full);
|
||||
transition: width 0.3s ease;
|
||||
width: 0%;
|
||||
}
|
||||
|
||||
#upload-progress-text {
|
||||
font-size: var(--text-sm);
|
||||
color: var(--text-secondary);
|
||||
min-width: 40px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 480px) {
|
||||
.upload-actions {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.upload-actions .btn {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren