Skip to content

Commit d215fb9

Browse files
committed
merge: style(login) onboarding-style background from dev
2 parents 02d6710 + a4c188a commit d215fb9

1 file changed

Lines changed: 70 additions & 39 deletions

File tree

‎public/css/style.css‎

Lines changed: 70 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,57 +1687,80 @@ html {
16871687
align-items: center;
16881688
justify-content: center;
16891689
min-height: 100vh;
1690-
background: linear-gradient(135deg, var(--bg-primary) 0%, #18181b 50%, var(--bg-secondary) 100%);
1690+
padding: 32px 16px 48px;
1691+
background:
1692+
radial-gradient(circle at top, rgba(99, 102, 241, 0.16) 0%, transparent 32%),
1693+
linear-gradient(135deg, #09090b 0%, #0f1020 48%, #111113 100%);
16911694
position: relative;
1692-
overflow: hidden;
1695+
overflow-x: hidden;
1696+
overflow-y: auto;
16931697
}
16941698

1695-
.login-page::before {
1699+
.login-page::before,
1700+
.login-page::after {
16961701
content: '';
1697-
position: absolute;
1698-
width: 500px;
1699-
height: 500px;
1700-
background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
1701-
top: -250px;
1702-
right: -250px;
1703-
animation: float 20s infinite alternate;
1702+
position: fixed;
1703+
inset: 0;
1704+
pointer-events: none;
1705+
z-index: 0;
17041706
}
17051707

1706-
.login-page::after {
1707-
content: '';
1708-
position: absolute;
1709-
width: 400px;
1710-
height: 400px;
1711-
background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
1712-
bottom: -200px;
1713-
left: -200px;
1714-
animation: float 15s infinite alternate-reverse;
1708+
.login-page::before {
1709+
inset: -35vmax;
1710+
background: conic-gradient(
1711+
from 0deg,
1712+
rgba(99, 102, 241, 0.18),
1713+
rgba(168, 85, 247, 0.14),
1714+
rgba(14, 165, 233, 0.12),
1715+
rgba(99, 102, 241, 0.18)
1716+
);
1717+
filter: blur(96px);
1718+
opacity: 0.9;
1719+
transform-origin: center;
1720+
animation: onboardingRotate 42s linear infinite;
17151721
}
17161722

1717-
@keyframes float {
1718-
to {
1719-
transform: translate(50px, 50px) scale(1.1);
1720-
}
1723+
.login-page::after {
1724+
background:
1725+
radial-gradient(circle at 18% 18%, rgba(99, 102, 241, 0.18), transparent 26%),
1726+
radial-gradient(circle at 82% 16%, rgba(168, 85, 247, 0.16), transparent 28%),
1727+
radial-gradient(circle at 50% 82%, rgba(56, 189, 248, 0.12), transparent 24%);
1728+
animation: onboardingFloat 18s ease-in-out infinite alternate;
17211729
}
17221730

17231731
.login-container {
17241732
width: 100%;
1725-
max-width: 420px;
1733+
max-width: 440px;
17261734
padding: 20px;
17271735
position: relative;
17281736
z-index: 1;
17291737
}
17301738

17311739
.login-box {
1732-
background: var(--bg-secondary);
1733-
border: 1px solid var(--border);
1734-
border-radius: var(--radius);
1735-
padding: 48px;
1736-
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
1740+
position: relative;
1741+
background: rgba(17, 17, 19, 0.86);
1742+
border: 1px solid rgba(63, 63, 70, 0.78);
1743+
border-radius: 24px;
1744+
padding: clamp(28px, 4vw, 48px);
1745+
box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
17371746
backdrop-filter: blur(20px);
1747+
overflow: hidden;
17381748
animation: slideUp 0.5s ease-out;
17391749
}
17401750

1751+
.login-box::before {
1752+
content: '';
1753+
position: absolute;
1754+
inset: 0;
1755+
background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 28%);
1756+
pointer-events: none;
1757+
}
1758+
1759+
.login-box > * {
1760+
position: relative;
1761+
z-index: 1;
1762+
}
1763+
17411764
@keyframes slideUp {
17421765
from {
17431766
opacity: 0;
@@ -1853,30 +1876,38 @@ html {
18531876
/* Login Language Switcher */
18541877
.login-lang-switcher {
18551878
display: flex;
1856-
justify-content: center;
1879+
align-items: center;
18571880
gap: 8px;
1858-
margin-bottom: 20px;
1881+
padding: 6px;
1882+
margin: 0 auto 24px;
1883+
width: fit-content;
1884+
background: rgba(255, 255, 255, 0.04);
1885+
border: 1px solid var(--border);
1886+
border-radius: 999px;
18591887
}
18601888

18611889
.login-lang-switcher .lang-btn {
1862-
padding: 6px 16px;
1890+
min-width: 48px;
1891+
padding: 7px 14px;
18631892
font-size: 12px;
1864-
font-weight: 500;
1893+
font-weight: 600;
18651894
color: var(--text-secondary);
18661895
text-decoration: none;
1867-
border-radius: var(--radius-xs);
1868-
background: var(--bg-tertiary);
1869-
transition: var(--transition);
1896+
border-radius: 999px;
1897+
background: transparent;
1898+
text-align: center;
1899+
transition: all 0.2s ease;
18701900
}
18711901

18721902
.login-lang-switcher .lang-btn:hover {
18731903
color: var(--text-primary);
1874-
background: var(--bg-hover);
1904+
background: rgba(255, 255, 255, 0.06);
18751905
}
18761906

18771907
.login-lang-switcher .lang-btn.active {
1878-
color: var(--text-primary);
1879-
background: var(--accent);
1908+
color: #fff;
1909+
background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gradient-end) 100%);
1910+
box-shadow: 0 10px 24px rgba(99, 102, 241, 0.25);
18801911
}
18811912

18821913
/* Lockout Alert */

0 commit comments

Comments
 (0)