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

@@ -9,6 +9,8 @@
--radius-md: 12px;
--radius-lg: 24px;
--radius-full: 9999px;
--danger: #ef4444;
--success: #22c55e;
}
body {
@@ -198,9 +200,15 @@ body {
font-size: 1rem;
border: 1px solid rgba(255,255,255,0.2);
cursor: pointer;
transition: background 0.2s;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 0.5rem;
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.2);
transform: scale(1.05);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); }
.description-box {
margin-top: 3rem;
@@ -263,6 +271,7 @@ body {
.sidebar { display: none; }
}
/* Modal Styles */
.modal-overlay {
display: none;
position: fixed;
@@ -274,6 +283,7 @@ body {
justify-content: center;
opacity: 0;
transition: opacity 0.3s;
padding: 2rem;
}
.modal-overlay.active {
display: flex;
@@ -296,6 +306,11 @@ body {
.modal-overlay.active .modal-content {
transform: scale(1);
}
.modal-content.modal-list {
max-width: 500px;
}
.modal-close {
position: absolute;
top: 1.5rem;
@@ -318,7 +333,89 @@ body {
font-size: 1.1rem;
color: #e4e4e7;
}
.modal-title { margin-top: 0; margin-bottom: 1.5rem; font-size: 1.5rem; }
.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 var(--accent-glow);
}
.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: var(--danger);
color: white;
}
.btn-modal-danger:hover {
opacity: 0.9;
}
.read-more-btn {
background: none;
@@ -406,4 +503,15 @@ body {
color: #a1a1aa;
font-size: 0.9rem;
font-weight: 500;
}
/* Asegura que por defecto esté oculto si quitaste el style en línea */
#add-list-modal {
display: none;
}
/* Define cómo se muestra al abrirlo */
#add-list-modal.active {
display: flex;
opacity: 1;
}