changed anilist login flow

This commit is contained in:
2026-01-06 20:12:08 +01:00
parent 8296e8d7da
commit 82ddc6d5e9
10 changed files with 602 additions and 161 deletions

View File

@@ -10,15 +10,29 @@
.background-gradient {
position: fixed;
inset: 0;
background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
background:
radial-gradient(
ellipse at top,
rgba(139, 92, 246, 0.15) 0%,
transparent 60%
),
radial-gradient(
ellipse at bottom right,
rgba(59, 130, 246, 0.1) 0%,
transparent 50%
);
z-index: 0;
animation: gradientShift 10s ease infinite;
}
@keyframes gradientShift {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}
.content-container {
@@ -80,9 +94,8 @@
box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}
/* Badge de contraseña protegida */
.user-card.has-password::after {
content: '🔒';
content: "🔒";
position: absolute;
top: 10px;
left: 10px;
@@ -116,7 +129,11 @@
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
background: linear-gradient(
135deg,
rgba(139, 92, 246, 0.1) 0%,
rgba(59, 130, 246, 0.05) 100%
);
}
.user-avatar-placeholder svg {
@@ -131,7 +148,12 @@
left: 0;
right: 0;
padding: 1rem 1.5rem;
background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
background: linear-gradient(
to top,
rgba(0, 0, 0, 0.95) 0%,
rgba(0, 0, 0, 0.7) 50%,
transparent 100%
);
transform: translateY(100%);
transition: transform 0.3s ease;
}
@@ -168,7 +190,9 @@
justify-content: center;
cursor: pointer;
opacity: 0;
transition: opacity 0.3s, background 0.2s;
transition:
opacity 0.3s,
background 0.2s;
z-index: 20;
}
@@ -205,7 +229,6 @@
box-shadow: 0 10px 30px var(--color-primary-glow);
}
/* Modal Styles */
.modal {
display: none;
position: fixed;
@@ -438,7 +461,6 @@ input[type="file"] {
color: white;
}
/* Estilos para modal de password */
.password-modal-content {
padding: 1.5rem;
}
@@ -461,7 +483,6 @@ input[type="file"] {
margin-top: 0.1rem;
}
/* ESTILOS PARA MODAL DE ACCIONES INDIVIDUALES */
.manage-actions-modal {
display: flex;
flex-direction: column;
@@ -673,10 +694,13 @@ input[type="file"] {
border: 1px solid rgba(59, 130, 246, 0.4);
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeInDown {
@@ -720,22 +744,140 @@ input[type="file"] {
}
@keyframes shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
/* Responsive */
@media (max-width: 768px) {
.page-wrapper {
padding: 1rem;
align-items: flex-start;
padding-top: 2rem;
}
.header-section {
margin-bottom: 2rem;
}
.page-title {
font-size: 2.5rem;
font-size: 2.2rem;
line-height: 1.1;
}
.users-grid {
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 1.5rem;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
max-width: 100%;
}
.user-name {
font-size: 1.1rem;
font-weight: 800;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.user-config-btn {
width: 44px;
height: 44px;
top: 5px;
right: 5px;
background: rgba(0, 0, 0, 0.6);
opacity: 1 !important;
}
.user-config-btn svg {
width: 20px;
height: 20px;
}
.btn-add-user {
width: 100%;
padding: 1.25rem;
font-size: 1.1rem;
margin-bottom: 3rem;
}
}
@media (max-width: 380px) {
.users-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
.user-card {
aspect-ratio: 16/9;
}
}
@media (hover: none) {
.user-info {
transform: translateY(0);
background: linear-gradient(
to top,
rgba(0, 0, 0, 0.95) 0%,
rgba(0, 0, 0, 0.6) 50%,
transparent 100%
);
padding: 1rem;
}
.user-card:hover {
transform: none;
border-color: rgba(255, 255, 255, 0.1);
}
.user-card:active {
transform: scale(0.97);
border-color: var(--color-primary);
}
}
@media (max-width: 768px) {
.modal {
align-items: flex-end;
}
.modal-content {
width: 100%;
max-width: 100%;
border-radius: 20px 20px 0 0;
max-height: 85vh;
padding: 1.5rem;
overflow-y: auto;
}
.form-group input[type="text"],
.form-group input[type="password"] {
padding: 1.2rem;
font-size: 16px;
}
.btn-primary,
.btn-secondary {
padding: 1.2rem;
}
}
.anilist-status a.btn-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
transition: all 0.2s;
}
.anilist-status a.btn-secondary:hover {
border-color: var(--color-primary);
color: white;
background: rgba(139, 92, 246, 0.1);
}
#manualAniListToken {
font-family: monospace;
font-size: 0.9rem;
}