added my lists page

This commit is contained in:
2025-12-06 14:28:40 +01:00
parent 9832384627
commit e5ec8aa7e5
21 changed files with 2400 additions and 44 deletions

View File

@@ -216,4 +216,147 @@ body {
.sidebar { display: none; }
.chapters-table th:nth-child(3), .chapters-table td:nth-child(3) { display: none; }
.chapters-table th:nth-child(4), .chapters-table td:nth-child(4) { display: none; }
}
/* ==================================== */
/* MODAL STYLES (Add to Library Modal) */
/* ==================================== */
.modal-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(8px);
z-index: 2000;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s;
padding: 2rem;
}
.modal-overlay.active {
display: flex;
opacity: 1;
}
.modal-content {
background: #18181b;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 24px;
padding: 2.5rem;
max-width: 650px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
position: relative;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
transform: scale(0.95);
transition: transform 0.3s;
}
.modal-overlay.active .modal-content {
transform: scale(1);
}
.modal-content.modal-list {
max-width: 500px;
}
.modal-close {
position: absolute;
top: 1.5rem;
right: 1.5rem;
background: rgba(255, 255, 255, 0.1);
border: none;
color: white;
width: 32px;
height: 32px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: 0.2s;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.2); }
.modal-title { margin-top: 0; margin-bottom: 1.5rem; font-size: 1.5rem; font-weight: 800; }
.modal-body {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.form-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.form-group label {
font-size: 0.9rem;
font-weight: 600;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.form-input {
background: var(--bg-base);
border: 1px solid rgba(255,255,255,0.1);
color: var(--text-primary);
padding: 0.8rem 1rem;
border-radius: 8px;
font-family: inherit;
font-size: 1rem;
transition: 0.2s;
}
.form-input:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 10px rgba(139, 92, 246, 0.4); /* Usar el color acento */
}
.modal-actions {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.btn-modal-primary, .btn-modal-secondary, .btn-modal-danger {
padding: 0.8rem 1.5rem;
border-radius: 999px;
font-weight: 700;
font-size: 0.95rem;
border: none;
cursor: pointer;
transition: transform 0.2s, opacity 0.2s;
flex: 1;
}
.btn-modal-primary {
background: var(--accent);
color: white;
}
.btn-modal-primary:hover {
transform: scale(1.05);
}
.btn-modal-secondary {
background: rgba(255,255,255,0.1);
color: white;
border: 1px solid rgba(255,255,255,0.2);
}
.btn-modal-secondary:hover {
background: rgba(255,255,255,0.15);
}
.btn-modal-danger {
background: #ef4444; /* Usar el color danger */
color: white;
}
.btn-modal-danger:hover {
opacity: 0.9;
}