Spaces:
Paused
Paused
| .add-files-dialog { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100vh; | |
| background-color: rgba(0, 0, 0, 0.2); | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| z-index: 1000; | |
| overflow: hidden; | |
| } | |
| .add-files-dialog-inner { | |
| position: relative; | |
| border-radius: 12px; | |
| padding: 32px; | |
| width: 45%; | |
| max-width: 100%; | |
| background-color: #1e1e1e; | |
| max-height: 80vh; | |
| overflow-y: auto; | |
| padding-top: 4.5rem; | |
| } | |
| .add-files-dialog-inner .dialog-title { | |
| position: absolute; | |
| font-weight: bold; | |
| font-size: 1.5rem; | |
| top: 16px; | |
| left: 16px; | |
| color: #e0e0e0; | |
| } | |
| .add-files-dialog-inner .close-btn { | |
| position: absolute; | |
| top: 16px; | |
| right: 16px; | |
| background: none; | |
| color: white; | |
| padding: 7px; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| border: none; | |
| } | |
| .add-files-dialog-inner .close-btn:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| color: white; | |
| } | |
| .dialog-content-area { | |
| color: #e0e0e0; | |
| } | |
| .url-input-container { | |
| margin-bottom: 1.5rem; | |
| } | |
| .url-input-label { | |
| display: block; | |
| margin-bottom: 0.5rem; | |
| font-size: 0.9rem; | |
| font-weight: 500; | |
| } | |
| .url-input-textarea { | |
| width: 100%; | |
| min-height: 80px; | |
| background: #1E1E1E; | |
| color: #DDD; | |
| border: 1px solid #444; | |
| padding: 10px; | |
| border-radius: 5px; | |
| font-size: 16px; | |
| resize: vertical; | |
| transition: border 0.3s ease, background 0.3s ease; | |
| } | |
| .file-drop-zone { | |
| margin-top: 1rem; | |
| border: 2px dashed #555; | |
| border-radius: 8px; | |
| padding: 2rem; | |
| text-align: center; | |
| cursor: pointer; | |
| transition: border-color 0.2s ease, background-color 0.2s ease; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| color: #aaa; | |
| } | |
| .file-drop-zone:hover { | |
| border-color: #777; | |
| background-color: #2a2a2a; | |
| } | |
| .file-drop-zone.dragging { | |
| border-color: #26a8dc; | |
| background-color: rgba(38, 168, 220, 0.1); | |
| } | |
| .file-drop-zone .upload-icon { | |
| font-size: 3rem; | |
| margin-bottom: 1rem; | |
| color: #666; | |
| } | |
| .file-drop-zone p { | |
| margin: 0; | |
| font-size: 1rem; | |
| } | |
| .file-list { | |
| margin-top: 1.5rem; | |
| max-height: 250px; | |
| overflow-y: auto; | |
| padding-right: 0.5rem; /* Space for scrollbar */ | |
| } | |
| .file-item { | |
| display: flex; | |
| align-items: center; | |
| background-color: #2a2a2a; | |
| padding: 0.75rem; | |
| border-radius: 6px; | |
| margin-bottom: 0.5rem; | |
| } | |
| .file-icon { | |
| color: #aaa; | |
| font-size: 1.5rem; | |
| margin-right: 1rem; | |
| } | |
| .file-info { | |
| flex-grow: 1; | |
| display: flex; | |
| flex-direction: column; | |
| overflow: hidden; | |
| } | |
| .file-name { | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| font-size: 0.9rem; | |
| } | |
| .file-size { | |
| font-size: 0.75rem; | |
| color: #888; | |
| } | |
| .progress-bar-container { | |
| width: 100px; | |
| height: 8px; | |
| background-color: #444; | |
| border-radius: 4px; | |
| margin: 0 1rem; | |
| } | |
| .progress-bar { | |
| height: 100%; | |
| background-color: #26a8dc; | |
| border-radius: 4px; | |
| transition: width 0.3s ease; | |
| } | |
| .cancel-file-btn { | |
| background: none; | |
| border: none; | |
| color: #aaa; | |
| cursor: pointer; | |
| font-size: 1rem; | |
| padding: 0.25rem; | |
| } | |
| .cancel-file-btn:hover { | |
| color: #fff; | |
| } | |
| .dialog-actions { | |
| margin-top: 1.5rem; | |
| display: flex; | |
| justify-content: flex-end; | |
| gap: 0.75rem; | |
| } |