feat: update login background

This commit is contained in:
Frudrax Cheng
2026-06-06 14:13:00 +08:00
parent d99c91533c
commit eaf58e85a8
2 changed files with 20 additions and 7 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

+20 -7
View File
@@ -2,10 +2,13 @@
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
align-items: flex-start;
justify-content: center;
padding: 20px;
background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
padding: 48px 20px 48px clamp(32px, 8vw, 120px);
background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.6) 36%, rgba(255, 255, 255, 0.12) 66%), url('@/assets/img/background.webp');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
overflow: hidden;
}
@@ -13,9 +16,9 @@
width: 100%;
max-width: 480px;
padding: 24px;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
backdrop-filter: blur(14px);
background: rgba(255, 255, 255, 0.92);
box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.36);
border-radius: 24px;
animation: slideIn 0.5s ease-out;
}
@@ -63,6 +66,8 @@
.copyright {
margin-top: 32px;
width: 100%;
max-width: 480px;
text-align: center;
color: #6B7280;
font-size: 14px;
@@ -86,4 +91,12 @@
height: 16px;
vertical-align: middle;
margin-right: 4px;
}
}
@media (max-width: 768px) {
.login-container {
align-items: center;
padding: 20px;
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.9) 100%), url('@/assets/img/background.webp');
}
}