/* Reset and base styles */ * { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } body { display: flex; height: 100vh; background-color: #f5f7fa; overflow: hidden; } /* Custom scrollbar styling */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.2); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 0, 0, 0.3); } /* Firefox scrollbar */ * { scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0.2) transparent; } /* Global select styling */ select { padding: 8px 32px 8px 12px; border: 1px solid #e2e8f0; border-radius: 8px; background-color: white; font-size: 14px; color: #2d3748; cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; transition: border-color 0.15s ease, box-shadow 0.15s ease; font-family: inherit; } select:hover { border-color: #cbd5e0; } select:focus { outline: none; border-color: #ff5e3a; box-shadow: 0 0 0 3px rgba(255, 94, 58, 0.1); } /* Sidebar */ .sidebar { width: 250px; background-color: #2a3042; color: #fff; display: flex; flex-direction: column; height: 100%; flex-shrink: 0; } .logo-container { padding: 20px; display: flex; align-items: center; margin-bottom: 20px; } .logo { width: 40px; height: 40px; background-color: #ff5e3a; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 10px; [dir='rtl'] & { margin-left: 10px; margin-right: unset; } } .logo svg { width: 24px; height: 24px; fill: white; } .app-name { font-size: 18px; font-weight: bold; color: white; } .nav-menu { display: flex; flex-direction: column; flex-grow: 1; padding: 0 15px; } .nav-item { display: flex; align-items: center; padding: 12px 15px; margin-bottom: 5px; border-radius: 8px; cursor: pointer; color: white; font-size: 16px; } .nav-item:hover { background-color: #3a4157; } .nav-item.active { background-color: #374e65; } .nav-item i { margin-right: 15px; width: 20px; text-align: center; [dir='rtl'] & { margin-left: 15px; margin-right: unset; } } /* Storage indicator */ .storage-container { margin: 20px 15px; background-color: #374e65; border-radius: 8px; padding: 15px; } .storage-title { text-align: center; margin-bottom: 10px; font-size: 14px; } .storage-bar { height: 10px; background-color: #6b7e8f; border-radius: 5px; overflow: hidden; margin-bottom: 10px; } .storage-fill { height: 100%; background-color: #ff5e3a; width: 0%; /* Will be set dynamically via JavaScript */ } .storage-info { text-align: center; font-size: 12px; color: #f5f5f5; } /* Main content */ .main-content { flex-grow: 1; display: flex; flex-direction: column; overflow: hidden; } /* Top bar */ .top-bar { height: 70px; min-height: 70px; max-height: 70px; background-color: white; border-bottom: 1px solid #e6e6e6; display: flex; align-items: center; padding: 0 30px; justify-content: space-between; flex-shrink: 0; } .search-container { flex-grow: 1; max-width: 600px; position: relative; margin-right: 20px; display: flex; align-items: center; [dir='rtl'] & { margin-left: 20px; margin-right: unset; } } .search-container input { width: 100%; padding: 12px 50px 12px 44px; border-radius: 12px; border: 2px solid #e2e8f0; background-color: #f8fafc; font-size: 14px; height: 46px; color: #1a202c; transition: all 0.2s ease; } .search-container input:hover { border-color: #cbd5e0; background-color: #fff; } .search-container input:focus { outline: none; border-color: #ff5e3a; background-color: #fff; box-shadow: 0 0 0 4px rgba(255, 94, 58, 0.1); } .search-container input::placeholder { color: #a0aec0; } .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #a0aec0; font-size: 16px; pointer-events: none; transition: color 0.2s ease; [dir='rtl'] & { right: 16px; left: unset; } } .search-container input:focus + .search-icon, .search-container:focus-within .search-icon { color: #ff5e3a; } .search-button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: linear-gradient(135deg, #ff5e3a 0%, #ff2d55 100%); color: white; border: none; border-radius: 10px; width: 36px; height: 36px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; box-shadow: 0 2px 8px rgba(255, 94, 58, 0.3); [dir='rtl'] & { left: 6px; right: unset; } } .search-button:hover { transform: translateY(-50%) scale(1.05); box-shadow: 0 4px 12px rgba(255, 94, 58, 0.4); } .search-button:active { transform: translateY(-50%) scale(0.98); } .search-button i { font-size: 14px; } /* Styles for search results */ .search-results-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; margin-bottom: 15px; border-bottom: 1px solid #eee; width: 100%; } .search-results-header h3 { margin: 0; font-size: 16px; color: #555; } .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; text-align: center; color: #888; width: 100%; } .user-controls { display: flex; align-items: center; gap: 12px; } .logout-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; color: #64748b; cursor: pointer; font-size: 16px; transition: all 0.2s ease; } .logout-btn:hover { background-color: #fef2f2; border-color: #fecaca; color: #ef4444; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15); } .logout-btn:active { transform: translateY(0); } /* Language Selector - Custom Dropdown */ .language-selector { position: relative; margin-right: 15px; } .language-selector-toggle { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background-color: #f0f3f7; border: 1px solid #e2e8f0; border-radius: 50px; cursor: pointer; font-size: 14px; font-weight: 500; color: #4a5568; transition: all 0.2s ease; user-select: none; } .language-selector-toggle:hover { background-color: #e2e8f0; border-color: #cbd5e0; } .language-selector-toggle i { font-size: 14px; color: #718096; } .language-selector-toggle .lang-code { font-weight: 600; color: #2d3748; } .language-selector-toggle .dropdown-arrow { font-size: 10px; color: #718096; transition: transform 0.2s ease; margin-left: 2px; } .language-selector.open .dropdown-arrow { transform: rotate(180deg); } .language-selector-dropdown { position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px; background-color: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); border: 1px solid #e2e8f0; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.2s ease; z-index: 1000; overflow: hidden; } .language-selector.open .language-selector-dropdown { opacity: 1; visibility: visible; transform: translateY(0); } .language-option { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; font-size: 14px; color: #4a5568; transition: background-color 0.15s ease; } .language-option:hover { background-color: #f7fafc; } .language-option.active { background-color: #fff5f3; color: #ff5e3a; } .language-option .lang-flag { font-size: 18px; line-height: 1; } .language-option .lang-name { flex: 1; } .language-option .lang-check { color: #ff5e3a; font-size: 12px; opacity: 0; } .language-option.active .lang-check { opacity: 1; } .user-avatar { width: 40px; height: 40px; background-color: #ff5e3a; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; } /* Content area */ .content-area { flex-grow: 1; padding: 20px; overflow-y: scroll; scrollbar-gutter: stable; } .page-title { font-size: 24px; font-weight: bold; margin-bottom: 20px; color: #2d3748; } .actions-bar { display: flex; justify-content: space-between; margin-bottom: 20px; } .action-buttons { display: flex; gap: 12px; } .btn { padding: 12px 24px; border-radius: 12px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; gap: 8px; transition: all 0.2s ease; } .btn i { font-size: 15px; } .btn-primary { background: linear-gradient(135deg, #ff5e3a 0%, #ff2d55 100%); color: white; box-shadow: 0 4px 15px rgba(255, 94, 58, 0.3); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 94, 58, 0.4); } .btn-primary:active { transform: translateY(0); box-shadow: 0 2px 10px rgba(255, 94, 58, 0.3); } .btn-secondary { background-color: #f8fafc; color: #4a5568; border: 2px solid #e2e8f0; } .btn-secondary:hover { background-color: #edf2f7; border-color: #cbd5e0; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); } .btn-secondary:active { transform: translateY(0); background-color: #e2e8f0; } .btn-danger { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); color: white; box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3); } .btn-danger:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4); } .btn-danger:active { transform: translateY(0); box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3); } /* View Toggle Buttons */ .view-toggle { display: flex; gap: 6px; padding: 4px; background-color: #f0f3f7; border-radius: 12px; border: 1px solid #e2e8f0; } .toggle-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 36px; background-color: transparent; border: none; border-radius: 8px; cursor: pointer; color: #64748b; font-size: 16px; transition: all 0.2s ease; } .toggle-btn:hover { background-color: #e2e8f0; color: #4a5568; } .toggle-btn.active { background-color: white; color: #ff5e3a; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); } .toggle-btn i { pointer-events: none; } /* Files grid */ .files-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 240px)); gap: 20px; justify-content: start; } .file-card { background-color: white; border-radius: 8px; border: 1px solid #e2e8f0; padding: 20px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 1px 3px rgba(0,0,0,0.05); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; width: 100%; min-height: 180px; } .file-card:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); border-color: #cbd5e0; } .file-card.dragging { opacity: 0.5; transform: scale(0.95); box-shadow: none; } .file-card.drop-target { background-color: rgba(255, 193, 7, 0.1); border: 2px dashed #ffc107; } /* Styles for folders as in the mockup */ .file-icon.folder-icon { width: 100px; height: 70px; background-color: #ffeaa7; /* Light yellow color */ border-radius: 8px; position: relative; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; } .file-icon.folder-icon::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 20px; background-color: #fdcb6e; /* Darker yellow color for the tab */ border-radius: 8px 8px 0 0; } .file-icon.folder-icon i { display: none; /* Hide Font Awesome icon */ } /* Style for documents */ .file-icon.doc-icon { width: 100px; height: 70px; background-color: #e2e8f0; /* Fondo gris claro */ border-radius: 4px; position: relative; margin-bottom: 10px; } .file-icon.doc-icon::before { content: ""; position: absolute; top: 15px; left: 20px; right: 20px; height: 4px; background-color: #a0aec0; border-radius: 2px; } .file-icon.doc-icon::after { content: ""; position: absolute; top: 25px; left: 20px; right: 30px; height: 4px; background-color: #a0aec0; border-radius: 2px; } /* Style for images */ .file-icon.image-icon { width: 100px; height: 70px; background-color: #74b9ff; /* Light blue background */ border-radius: 4px; position: relative; margin-bottom: 10px; overflow: hidden; } .file-icon.image-icon::before { content: ""; position: absolute; top: 10px; left: 15px; width: 20px; height: 20px; background-color: #ffda79; /* Yellow circle like a sun */ border-radius: 50%; } /* Style for videos */ .file-icon.video-icon { width: 100px; height: 70px; background-color: #111; /* Black background */ border-radius: 4px; position: relative; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; } .file-icon.video-icon::before { content: ""; width: 0; height: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 20px solid white; /* Play triangle */ } /* Styles for code files */ .file-icon.code-icon { width: 100px; height: 70px; background-color: #e2e8f0; /* Fondo gris claro */ border-radius: 4px; position: relative; margin-bottom: 10px; border-top: 3px solid #556ee6; /* Blue top border */ overflow: hidden; } /* Lines that simulate code */ .file-icon.code-icon::before, .file-icon.code-icon::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background-color: #556ee6; /* Blue color for code */ } .file-icon.code-icon::before { top: 15px; width: 80%; } .file-icon.code-icon::after { top: 25px; width: 60%; } /* Add additional lines to simulate code */ .file-icon.code-icon .code-line-1, .file-icon.code-icon .code-line-2, .file-icon.code-icon .code-line-3 { position: absolute; left: 10px; height: 2px; background-color: #a0aec0; /* Gray color for code */ } .file-icon.code-icon .code-line-1 { top: 35px; width: 70%; } .file-icon.code-icon .code-line-2 { top: 45px; width: 85%; } .file-icon.code-icon .code-line-3 { top: 55px; width: 50%; } /* Specific colors for different code file types */ .file-icon.json-icon { border-top-color: #ffb86c; /* Orange for JSON */ } .file-icon.json-icon::before, .file-icon.json-icon::after { background-color: #ffb86c; } .file-icon.js-icon { border-top-color: #ffd43b; /* Yellow for JavaScript */ } .file-icon.js-icon::before, .file-icon.js-icon::after { background-color: #ffd43b; } .file-icon.html-icon { border-top-color: #e34c26; /* Red for HTML */ } .file-icon.html-icon::before, .file-icon.html-icon::after { background-color: #e34c26; } .file-icon.css-icon { border-top-color: #2965f1; /* Blue for CSS */ } .file-icon.css-icon::before, .file-icon.css-icon::after { background-color: #2965f1; } .file-icon.py-icon { border-top-color: #3776ab; /* Dark blue for Python */ } .file-icon.py-icon::before, .file-icon.py-icon::after { background-color: #3776ab; } .file-name { font-size: 14px; font-weight: 500; text-align: center; margin-bottom: 5px; color: #2d3748; } .file-info { font-size: 12px; color: #718096; text-align: center; } /* Lista de archivos - Estilo mejorado */ .files-list-view { display: flex; flex-direction: column; width: 100%; border-radius: 10px; overflow: hidden; background-color: white; box-shadow: 0 1px 3px rgba(0,0,0,0.05); } .list-header { display: grid; grid-template-columns: minmax(200px, 2fr) 1fr 1fr 120px; padding: 15px; font-weight: 600; color: #2d3748; background-color: #f8f9fa; border-bottom: 1px solid #e0e6ed; } .file-item { display: grid; grid-template-columns: minmax(200px, 2fr) 1fr 1fr 120px; padding: 12px 15px; border-bottom: 1px solid #f0f0f0; align-items: center; cursor: pointer; transition: background-color 0.2s; background-color: white; } /* Para modo papelera, ajustar columnas */ .trash-item.file-item { grid-template-columns: minmax(180px, 1.5fr) 0.5fr 1fr 120px 100px; } .file-item:hover { background-color: #f0f8ff; } .file-item .name-cell { display: flex; align-items: center; gap: 12px; } .file-item .file-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 20px; margin-bottom: 0; } .file-item .file-icon.folder-icon { background-color: #ffeaa7; position: relative; width: 36px; height: 36px; margin-bottom: 0; } .file-item .file-icon.folder-icon::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background-color: #fdcb6e; border-radius: 8px 8px 0 0; } .file-item .file-icon.folder-icon i { display: none; } /* Iconos específicos para archivos en vista de lista */ .file-item .file-icon.pdf-icon { background-color: #fee2e2; } .file-item .file-icon.pdf-icon i { color: #e53e3e; } .file-item .file-icon.image-icon { background-color: #e0f2fe; } .file-item .file-icon.image-icon i { color: #3b82f6; } .file-item .file-icon.video-icon { background-color: #e2e8f0; } .file-item .file-icon.video-icon i { color: #ef4444; } .file-item .file-icon.audio-icon { background-color: #fef3c7; } .file-item .file-icon.audio-icon i { color: #f59e0b; } .file-item .file-icon.text-icon { background-color: #f3f4f6; } .file-item .file-icon.text-icon i { color: #6b7280; } .file-item .date-cell { color: #718096; font-size: 14px; } .file-item .size-cell { color: #718096; font-size: 14px; text-align: right; } .file-item .type-cell { color: #4b5563; font-weight: 500; font-size: 14px; } .file-item.dragging { opacity: 0.5; background-color: #f9fafb; } .file-item.drop-target { background-color: rgba(255, 193, 7, 0.1); border: 2px dashed #ffc107; } /* Breadcrumb */ .breadcrumb { display: flex; align-items: center; margin-bottom: 15px; font-size: 14px; color: #666; } .breadcrumb-item { cursor: pointer; } .breadcrumb-item:hover { text-decoration: underline; } .breadcrumb-separator { margin: 0 8px; } /* Context menu */ .context-menu { position: absolute; background-color: white; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 5px 0; min-width: 150px; z-index: 1000; display: none; } .context-menu-item { padding: 8px 15px; cursor: pointer; display: flex; align-items: center; color: #333; } .context-menu-item:hover { background-color: #f0f8ff; } .context-menu-item i { margin-right: 8px; width: 16px; text-align: center; [dir='rtl'] & { margin-left: 8px; margin-right: unset; } } /* Dialog */ .rename-dialog { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 2000; display: none; } .rename-dialog-content { background-color: white; border-radius: 8px; padding: 20px; width: 400px; max-width: 90%; } .rename-dialog-header { font-size: 18px; font-weight: bold; margin-bottom: 15px; } .rename-dialog input { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; } .rename-dialog-buttons { display: flex; justify-content: flex-end; gap: 10px; } /* Dropzone */ .dropzone { border: 2px dashed #ddd; border-radius: 8px; padding: 20px; text-align: center; margin: 20px 0; color: #666; display: none; } .dropzone.active { border-color: #ff5e3a; background-color: rgba(255, 94, 58, 0.05); } .upload-progress { margin-top: 15px; width: 100%; display: none; } .progress-bar { background-color: #f0f0f0; height: 6px; border-radius: 3px; overflow: hidden; } .progress-fill { height: 100%; background-color: #ff5e3a; width: 0%; transition: width 0.3s; } /* Notificación */ .notification { position: absolute; top: 70px; right: 20px; background-color: white; width: 250px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); padding: 15px; border-left: 4px solid #ff5e3a; z-index: 1000; display: none; [dir='rtl'] & { left: 20px; border-right: 4px solid #ff5e3a; right: unset; border-left: unset; } } .notification-title { font-weight: bold; font-size: 14px; margin-bottom: 5px; color: #2d3748; } .notification-message { font-size: 12px; color: #718096; } /* Modern Modal Overlay */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: none; justify-content: center; align-items: center; z-index: 3000; opacity: 0; transition: opacity 0.2s ease; } .modal-overlay.active { display: flex; opacity: 1; } .modal-container { background-color: white; border-radius: 16px; width: 420px; max-width: 90%; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); transform: scale(0.9) translateY(-20px); transition: transform 0.2s ease; overflow: hidden; } .modal-overlay.active .modal-container { transform: scale(1) translateY(0); } .modal-header { display: flex; align-items: center; padding: 20px 24px; border-bottom: 1px solid #e2e8f0; position: relative; } .modal-icon { width: 44px; height: 44px; background: linear-gradient(135deg, #ff5e3a 0%, #ff2d55 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-right: 14px; flex-shrink: 0; [dir='rtl'] & { margin-left: 14px; margin-right: unset; } } .modal-icon i { color: white; font-size: 20px; } .modal-header h3 { font-size: 18px; font-weight: 600; color: #1a202c; margin: 0; flex: 1; } .modal-close-btn { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: none; background: #f0f3f7; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #64748b; transition: all 0.15s ease; [dir='rtl'] & { left: 16px; right: unset; } } .modal-close-btn:hover { background: #e2e8f0; color: #1a202c; } .modal-body { padding: 24px; } .modal-body label { display: block; font-size: 14px; font-weight: 500; color: #4a5568; margin-bottom: 8px; } .modal-input { width: 100%; padding: 12px 16px; font-size: 15px; border: 2px solid #e2e8f0; border-radius: 10px; background: #f8fafc; color: #1a202c; transition: all 0.15s ease; outline: none; } .modal-input:focus { border-color: #ff5e3a; background: white; box-shadow: 0 0 0 3px rgba(255, 94, 58, 0.1); } .modal-input::placeholder { color: #a0aec0; } .modal-footer { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 24px; background: #f8fafc; border-top: 1px solid #e2e8f0; } .modal-footer .btn { padding: 10px 20px; font-size: 14px; font-weight: 500; border-radius: 10px; cursor: pointer; transition: all 0.15s ease; } .modal-footer .btn-secondary { background: white; border: 1px solid #e2e8f0; color: #4a5568; } .modal-footer .btn-secondary:hover { background: #f0f3f7; border-color: #cbd5e0; } .modal-footer .btn-primary { background: linear-gradient(135deg, #ff5e3a 0%, #ff2d55 100%); border: none; color: white; box-shadow: 0 2px 8px rgba(255, 94, 58, 0.3); } .modal-footer .btn-primary:hover { box-shadow: 0 4px 12px rgba(255, 94, 58, 0.4); transform: translateY(-1px); } .modal-footer .btn-primary:active { transform: translateY(0); } /* Dialogs (Rename, Move, Share) */ .rename-dialog, .share-dialog { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: none; justify-content: center; align-items: center; z-index: 2000; } .rename-dialog-content, .share-dialog-content { background-color: white; padding: 20px; border-radius: 8px; width: 400px; max-width: 90%; } .share-dialog-content { width: 500px; } .rename-dialog-header, .share-dialog-header { font-size: 18px; font-weight: bold; margin-bottom: 15px; } .rename-dialog input, .share-dialog input { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; } .rename-dialog-buttons, .share-dialog-buttons { display: flex; justify-content: flex-end; gap: 10px; } /* Share dialog specific styles */ .shared-item-info { padding: 10px 0; margin-bottom: 15px; border-bottom: 1px solid #eee; } .share-options h3, #existing-shares-section h3, #new-share-section h3 { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: #333; } .form-group { margin-bottom: 15px; } .form-group label { display: block; margin-bottom: 5px; font-weight: 500; } .permission-options { display: flex; gap: 15px; margin-top: 5px; } .permission-option { display: flex; align-items: center; gap: 5px; } .existing-share-item { background-color: #f8f9fa; border-radius: 4px; padding: 10px; margin-bottom: 10px; } .share-url { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 5px; color: #1565c0; } .share-info { font-size: 11px; display: flex; gap: 15px; margin-bottom: 10px; color: #757575; } .share-protected { color: #1565c0; } .share-expiration { color: #b71c1c; } .share-actions { display: flex; gap: 5px; justify-content: flex-end; } .share-link-actions { display: flex; gap: 10px; margin-top: 5px; } .btn-small { font-size: 12px; padding: 5px 10px; } #notification-message { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; resize: vertical; } /* Shared Resources Page Styles */ /* Header styles for shared page */ header { background-color: white; border-bottom: 1px solid #e6e6e6; padding: 15px 20px; } .header-container { display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; } .header-actions { display: flex; align-items: center; gap: 15px; } .header-button { padding: 8px 15px; background-color: #f0f3f7; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; transition: background-color 0.2s; } .header-button:hover { background-color: #e6e9ed; } /* Shared page container */ .shared-page-container { max-width: 1280px; margin: 20px auto; padding: 0 20px; } .shared-header { margin-bottom: 25px; } .shared-header h2 { font-size: 24px; color: #2d3748; margin-bottom: 8px; } .shared-header p { color: #718096; font-size: 16px; } /* Filters and search */ .shared-filters { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; } .filter-group { display: flex; align-items: center; gap: 10px; } .filter-group label { font-size: 14px; color: #4a5568; font-weight: 500; } .filter-group select { padding: 8px 32px 8px 12px; border: 1px solid #e2e8f0; border-radius: 8px; background-color: white; font-size: 14px; color: #2d3748; cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; transition: border-color 0.15s ease, box-shadow 0.15s ease; [dir='rtl'] & { background-position: left 10px center; } } .filter-group select:hover { border-color: #cbd5e0; } .filter-group select:focus { outline: none; border-color: #ff5e3a; box-shadow: 0 0 0 3px rgba(255, 94, 58, 0.1); } .search-box { display: flex; gap: 10px; } .search-box input { padding: 8px 15px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; width: 250px; } .search-box button { padding: 8px 15px; background-color: #ff5e3a; color: white; border: none; border-radius: 6px; cursor: pointer; transition: background-color 0.2s; } .search-box button:hover { background-color: #e64a29; } /* Shared items list */ .shared-list-container { background-color: white; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); overflow: hidden; } .shared-list { width: 100%; border-collapse: collapse; } .shared-list thead th { padding: 15px; text-align: left; font-weight: 600; color: #2d3748; background-color: #f8f9fa; border-bottom: 1px solid #e0e6ed; } .shared-list tbody td { padding: 15px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; } .shared-item-name { display: flex; align-items: center; gap: 10px; } .shared-item-actions { display: flex; gap: 10px; } .action-btn { width: 32px; height: 32px; border: 1px solid #e2e8f0; border-radius: 6px; background-color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; } .action-btn:hover { background-color: #f0f8ff; border-color: #90cdf4; } .action-icon { font-size: 14px; } /* Empty state */ .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; background-color: white; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); } .empty-state-icon { font-size: 40px; margin-bottom: 20px; color: #a0aec0; } .empty-state h3 { font-size: 18px; color: #2d3748; margin-bottom: 10px; } .empty-state p { color: #718096; margin-bottom: 20px; text-align: center; } /* Dialog styles */ .dialog { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: none; align-items: center; justify-content: center; z-index: 1000; } .dialog.active { display: flex; } .dialog-content { background-color: white; border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); width: 500px; max-width: 90%; max-height: 90vh; overflow-y: auto; } .dialog-header { padding: 15px 20px; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; } .dialog-header h3 { font-size: 18px; color: #2d3748; margin: 0; } .close-dialog-btn { background: none; border: none; font-size: 24px; cursor: pointer; color: #a0aec0; } .dialog-body { padding: 20px; } /* Share dialog specific styles */ .share-item-info { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; } .item-icon { font-size: 24px; } .item-name { font-size: 16px; font-weight: 500; color: #2d3748; } .share-link-section { margin-bottom: 20px; } .share-link-container { display: flex; gap: 10px; } .share-link-container input { flex-grow: 1; padding: 10px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; } .share-link-container button { padding: 0 15px; background-color: #4a5568; color: white; border: none; border-radius: 6px; cursor: pointer; transition: background-color 0.2s; } .share-link-container button:hover { background-color: #2d3748; } .share-settings { margin-bottom: 20px; } .share-setting { margin-bottom: 15px; } .share-setting label { display: block; margin-bottom: 8px; font-weight: 500; color: #4a5568; } .permissions-options { display: flex; gap: 20px; } .permissions-options label { font-weight: normal; display: flex; align-items: center; gap: 5px; } .password-setting, .expiration-setting { display: flex; align-items: center; gap: 10px; } .password-setting input[type="checkbox"], .expiration-setting input[type="checkbox"] { width: auto; } .password-setting input[type="password"], .expiration-setting input[type="date"] { flex-grow: 1; padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; } .password-setting button { padding: 8px 12px; background-color: #4a5568; color: white; border: none; border-radius: 6px; cursor: pointer; font-size: 12px; transition: background-color 0.2s; } .password-setting button:hover { background-color: #2d3748; } .share-actions { display: flex; justify-content: flex-end; gap: 10px; } /* Form styles */ .form-group { margin-bottom: 15px; } .form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #4a5568; } .form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; } .form-group textarea { resize: vertical; min-height: 80px; } /* Button styles */ .button { padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; transition: background-color 0.2s; } .primary { background-color: #ff5e3a; color: white; } .primary:hover { background-color: #e64a29; } .secondary { background-color: #e2e8f0; color: #4a5568; } .secondary:hover { background-color: #cbd5e0; } .danger { background-color: #f56565; color: white; } .danger:hover { background-color: #e53e3e; } /* Notification banner */ .notification-banner { position: fixed; top: 20px; right: 20px; padding: 15px 20px; background-color: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: space-between; max-width: 400px; z-index: 2000; transform: translateY(-100px); opacity: 0; transition: transform 0.3s, opacity 0.3s; } .notification-banner.active { transform: translateY(0); opacity: 1; } .notification-banner.success { border-left: 4px solid #48bb78; } .notification-banner.error { border-left: 4px solid #f56565; } .close-notification-btn { background: none; border: none; font-size: 18px; cursor: pointer; color: #a0aec0; margin-left: 10px; } /* Folder selection for move dialog */ .folder-select-item { padding: 8px 10px; margin-bottom: 5px; border-radius: 4px; cursor: pointer; display: flex; align-items: center; } .folder-select-item:hover { background-color: #f0f8ff; } .folder-select-item.selected { background-color: #e6f7ff; border-left: 3px solid #1890ff; [dir='rtl'] & { border-right: 3px solid #1890ff; border-left: unset; } } .folder-select-item i { margin-right: 8px; color: #ffc107; [dir='rtl'] & { margin-left: 8px; margin-right: unset; } } /* Styles for trash */ .trash-item { position: relative; } .trash-actions { position: absolute; top: 10px; right: 10px; display: none; gap: 8px; } .file-card.trash-item:hover .trash-actions, .file-item.trash-item:hover .actions-cell { display: flex; } .trash-actions button, .actions-cell button { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 4px 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; transition: all 0.2s; } .trash-actions button:hover, .actions-cell button:hover { background: #f0f0f0; } .btn-restore { color: #4CAF50; } .btn-delete { color: #f44336; } .actions-cell { display: flex; gap: 8px; justify-content: flex-start; align-items: center; } .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 300px; width: 100%; color: #666; grid-column: 1 / -1; } /* Danger button for emptying trash */ .btn-danger { background-color: #f44336; color: white; } /* Responsive */ @media (max-width: 768px) { .sidebar { width: 60px; padding: 15px 10px; } .app-name, .storage-title, .storage-info { display: none; } .nav-item { justify-content: center; padding: 12px 0; } .nav-item i { margin-right: 0; } .nav-item span { display: none; } /* Responsive styles for shared page */ .shared-filters { flex-direction: column; align-items: flex-start; } .shared-list thead th:nth-child(4), .shared-list thead th:nth-child(5), .shared-list tbody td:nth-child(4), .shared-list tbody td:nth-child(5) { display: none; } .dialog-content { width: 95%; } } /* Estilos específicos para la página Shared */ .page-description { color: #718096; font-size: 16px; margin-top: -15px; margin-bottom: 25px; } /* Mejoras para los filtros en la página Shared */ .shared-filters { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; background-color: white; border-radius: 10px; padding: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); } .filter-group { display: flex; align-items: center; gap: 10px; } .filter-group label { font-size: 14px; color: #4a5568; font-weight: 500; } .filter-group select { padding: 8px 12px; border: 1px solid #e2e8f0; border-radius: 6px; background-color: white; font-size: 14px; min-width: 120px; } .search-box { display: flex; gap: 10px; } .search-box input { padding: 8px 15px; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 14px; width: 250px; } /* Mejoras en la tabla de elementos compartidos */ .shared-list-container { background-color: white; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); overflow: hidden; margin-bottom: 25px; } .shared-list { width: 100%; border-collapse: collapse; } .shared-list thead th { padding: 15px; text-align: left; font-weight: 600; color: #2d3748; background-color: #f8f9fa; border-bottom: 1px solid #e0e6ed; } .shared-list tbody td { padding: 15px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; } /* Estado vacío mejorado */ .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; background-color: white; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); text-align: center; } .empty-state-icon { font-size: 48px; margin-bottom: 20px; color: #ffc107; } .empty-state h3 { font-size: 18px; color: #2d3748; margin-bottom: 10px; } .empty-state p { color: #718096; margin-bottom: 20px; text-align: center; } .button.primary { padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; background-color: #ff5e3a; color: white; text-decoration: none; display: inline-block; transition: background-color 0.2s; } .button.primary:hover { background-color: #e64a29; } html[dir='rtl'] .fa-arrow-left::before { content: "\f061"; } html[dir='rtl'] .fa-sign-out-alt { -webkit-transform: rotate(180deg); transform: rotate(180deg); }