* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; } .header { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 2px solid #e0e0e0; margin-bottom: 20px; } .header h1 { font-size: 28px; color: #2c3e50; } .status { display: flex; align-items: center; gap: 20px; font-size: 14px; color: #666; } #connection-status { padding: 5px 12px; border-radius: 20px; font-weight: 500; } #connection-status.connected { background: #e8f5e9; color: #2e7d32; } #connection-status.disconnected { background: #ffebee; color: #c62828; } #path-display { font-family: 'Monaco', 'Consolas', monospace; background: #e3f2fd; padding: 5px 15px; border-radius: 5px; color: #1565c0; } .breadcrumb { display: flex; flex-wrap: wrap; gap: 5px; padding: 10px 15px; background: #fff; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .crumb { color: #1976d2; cursor: pointer; padding: 5px 10px; border-radius: 4px; transition: background 0.2s; } .crumb:hover { background: #e3f2fd; } .crumb:last-child { color: #333; cursor: default; background: transparent; } .crumb:not(:last-child)::after { content: '/'; margin-left: 5px; color: #999; } .toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 15px; background: #fff; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .toolbar-left, .toolbar-right, .toolbar-center { display: flex; gap: 10px; } .toolbar-center { flex: 1; justify-content: center; min-width: 300px; } .search-box { display: flex; align-items: center; background: #f5f5f5; border-radius: 8px; padding: 5px 10px; width: 100%; max-width: 400px; } .search-box input { flex: 1; border: none; background: transparent; padding: 8px; font-size: 14px; outline: none; } .search-box input::placeholder { color: #999; } .search-btn { background: none; border: none; cursor: pointer; font-size: 16px; padding: 5px; opacity: 0.7; transition: opacity 0.2s; } .search-btn:hover { opacity: 1; } .btn { padding: 10px 20px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 5px; transition: all 0.2s; } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .btn-primary { background: #2196f3; color: white; } .btn-primary:hover:not(:disabled) { background: #1976d2; } .btn-secondary { background: #f5f5f5; color: #333; } .btn-secondary:hover:not(:disabled) { background: #e0e0e0; } .btn-danger { background: #f44336; color: white; } .btn-danger:hover:not(:disabled) { background: #d32f2f; } .file-list-container { background: #fff; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); overflow: hidden; } .file-list { width: 100%; border-collapse: collapse; } .file-list th, .file-list td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #eee; } .file-list th { background: #fafafa; font-weight: 600; color: #666; font-size: 13px; text-transform: uppercase; } .file-list tbody tr { transition: background 0.2s; } .file-list tbody tr:hover { background: #f5f5f5; } .file-list tbody tr.selected { background: #e3f2fd; } .col-checkbox { width: 50px; } .col-name { min-width: 200px; } .col-size { width: 120px; } .col-time { width: 180px; } .col-actions { width: 150px; } .file-name { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #1976d2; } .file-name:hover { text-decoration: underline; } .file-name.is-dir { color: #2e7d32; font-weight: 500; } .file-icon { font-size: 20px; } .file-size { color: #666; font-size: 13px; } .file-time { color: #666; font-size: 13px; } .file-actions { display: flex; gap: 8px; } .action-btn { padding: 5px 10px; border: none; background: transparent; cursor: pointer; font-size: 14px; border-radius: 4px; transition: background 0.2s; } .action-btn:hover { background: #e0e0e0; } .action-btn.delete:hover { background: #ffebee; color: #c62828; } .drop-zone { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(33, 150, 243, 0.9); z-index: 1000; justify-content: center; align-items: center; } .drop-zone.active { display: flex; } .drop-zone-content { text-align: center; color: white; } .drop-icon { font-size: 80px; display: block; margin-bottom: 20px; } .drop-zone-content p { font-size: 24px; } .modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1000; justify-content: center; align-items: center; padding: 20px; } .modal.active { display: flex; } .modal-content { background: white; border-radius: 12px; width: 100%; max-width: 450px; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; } .modal-large { max-width: 900px; } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid #eee; } .modal-header h3 { font-size: 18px; color: #333; } .modal-close { background: none; border: none; font-size: 28px; cursor: pointer; color: #999; line-height: 1; } .modal-close:hover { color: #333; } .modal-body { padding: 20px; overflow-y: auto; flex: 1; } .modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 15px 20px; border-top: 1px solid #eee; } .form-group { margin-bottom: 15px; } .form-group label { display: block; margin-bottom: 5px; color: #666; font-size: 14px; } .form-group input { width: 100%; padding: 10px 15px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; } .form-group input:focus { outline: none; border-color: #2196f3; } .move-filename { padding: 10px; background: #f5f5f5; border-radius: 6px; margin-bottom: 15px; font-family: monospace; } .dir-tree { max-height: 300px; overflow-y: auto; border: 1px solid #eee; border-radius: 6px; padding: 10px; } .dir-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; cursor: pointer; border-radius: 4px; margin-bottom: 2px; } .dir-item:hover { background: #f5f5f5; } .dir-item.selected { background: #e3f2fd; } .dir-item.current { background: #fff3e0; } .preview-image { max-width: 100%; max-height: 60vh; display: block; margin: 0 auto; } .preview-text { white-space: pre-wrap; font-family: 'Monaco', 'Consolas', monospace; font-size: 13px; line-height: 1.5; max-height: 60vh; overflow: auto; background: #f5f5f5; padding: 15px; border-radius: 6px; } .preview-placeholder { text-align: center; padding: 60px 20px; color: #999; } .preview-placeholder .icon { font-size: 80px; display: block; margin-bottom: 20px; } .notification { position: fixed; bottom: 20px; right: 20px; padding: 15px 25px; background: #333; color: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transform: translateY(100px); opacity: 0; transition: all 0.3s; z-index: 2000; } .notification.show { transform: translateY(0); opacity: 1; } .notification.success { background: #4caf50; } .notification.error { background: #f44336; } .notification.info { background: #2196f3; } .empty-message { text-align: center; padding: 60px 20px; color: #999; } .empty-message .icon { font-size: 60px; display: block; margin-bottom: 15px; } .loading { text-align: center; padding: 40px; color: #666; } .loading::after { content: ''; display: inline-block; width: 20px; height: 20px; border: 2px solid #e0e0e0; border-top-color: #2196f3; border-radius: 50%; animation: spin 0.8s linear infinite; margin-left: 10px; vertical-align: middle; } @keyframes spin { to { transform: rotate(360deg); } } @media (max-width: 768px) { .header { flex-direction: column; gap: 15px; text-align: center; } .toolbar { flex-direction: column; } .toolbar-left, .toolbar-right, .toolbar-center { justify-content: center; width: 100%; } .toolbar-center { order: -1; margin-bottom: 10px; } .search-box { max-width: 100%; } .file-list th:nth-child(3), .file-list td:nth-child(3), .file-list th:nth-child(4), .file-list td:nth-child(4) { display: none; } .file-actions { flex-direction: column; gap: 2px; } } .tooltip { position: relative; } .tooltip::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding: 5px 10px; background: #333; color: white; font-size: 12px; border-radius: 4px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; } .tooltip:hover::after { opacity: 1; } .upload-list { max-height: 300px; overflow-y: auto; margin-bottom: 15px; } .upload-item { display: flex; align-items: center; padding: 10px; border-bottom: 1px solid #eee; gap: 10px; } .upload-item:last-child { border-bottom: none; } .upload-item-icon { font-size: 24px; } .upload-item-info { flex: 1; min-width: 0; } .upload-item-name { font-weight: 500; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .upload-item-status { font-size: 12px; color: #666; } .upload-progress-container { height: 8px; background: #e0e0e0; border-radius: 4px; overflow: hidden; margin-bottom: 10px; display: none; } .upload-progress-container.active { display: block; } .upload-progress-bar { height: 100%; background: linear-gradient(90deg, #2196f3, #4caf50); border-radius: 4px; transition: width 0.3s ease; width: 0%; } .upload-stats { text-align: center; font-size: 14px; color: #666; display: none; } .upload-stats.active { display: block; }