added manual matching on anime

This commit is contained in:
2026-01-02 14:22:53 +01:00
parent a1d70193fa
commit f5cfa29b64
12 changed files with 646 additions and 64 deletions

View File

@@ -709,7 +709,7 @@ body.stop-scrolling {
MODAL DE DESCARGAS - REDISEÑO "GLASS"
========================================= */
#download-modal {
#download-modal, #match-modal {
position: fixed !important;
top: 0;
left: 0;
@@ -727,7 +727,7 @@ body.stop-scrolling {
}
/* Estado visible activado por JS */
#download-modal.show {
#download-modal.show, #match-modal.show {
display: flex !important;
opacity: 1 !important;
pointer-events: auto !important;
@@ -752,7 +752,8 @@ body.stop-scrolling {
overflow: hidden;
}
#download-modal.show .download-settings-content {
#download-modal.show .download-settings-content,
#match-modal.show .download-settings-content {
transform: scale(1);
}
@@ -916,4 +917,96 @@ body.stop-scrolling {
background: #7c3aed; /* Un tono más oscuro del brand */
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}
.glass-input {
width: 100%;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
color: white;
padding: 12px 16px;
border-radius: 8px;
font-size: 1rem;
outline: none;
transition: all 0.2s ease;
}
.glass-input:focus {
background: rgba(255, 255, 255, 0.15);
border-color: var(--brand-color);
box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}
/* Reutilización para los resultados de búsqueda */
.match-item {
display: flex;
align-items: center;
gap: 12px;
background: rgba(255, 255, 255, 0.05);
padding: 10px;
border-radius: 6px;
cursor: pointer;
transition: background 0.2s;
}
.match-item:hover {
background: rgba(255, 255, 255, 0.15);
}
.match-item img {
width: 40px;
height: 56px;
object-fit: cover;
border-radius: 4px;
background: #222;
}
.match-title {
font-weight: 600;
font-size: 0.95rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #fff;
}
.match-meta {
font-size: 0.8rem;
color: #aaa;
}
/* Estado activo (seleccionado actualmente si quisieras marcarlo) */
.match-item.active {
border: 1px solid var(--brand-color);
background: rgba(139, 92, 246, 0.1);
}
.btn-view-source {
display: flex;
align-items: center;
justify-content: center;
padding: 8px;
background: rgba(255, 255, 255, 0.1);
border-radius: 6px;
color: rgba(255, 255, 255, 0.7);
transition: all 0.2s ease;
border: 1px solid rgba(255, 255, 255, 0.1);
text-decoration: none;
margin-left: auto; /* Empuja el botón a la derecha */
}
.btn-view-source:hover {
background: var(--brand-color);
color: white;
border-color: var(--brand-color-light);
transform: scale(1.1);
}
/* Ajuste para que el texto no choque con el botón */
.match-info {
flex: 1;
margin-right: 10px;
display: flex;
flex-direction: column;
overflow: hidden;
}