фикс прокрутки на формах регистрации и логина

This commit is contained in:
Professional 2025-05-23 22:34:50 +07:00
parent 32f265eb3d
commit 78947ccf96
3 changed files with 32 additions and 16 deletions

View File

@ -394,6 +394,7 @@ onMounted(async () => {
left: 0;
width: 200%;
height: 150px;
background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z" opacity=".25" fill="white"/><path d="M0 0v15.81c13 21.11 27.64 41.05 47.69 56.24C99.41 111.27 165 111 224.58 91.58c31.15-10.15 60.09-26.07 89.67-39.8 40.92-19 84.73-46 130.83-49.67 36.26-2.85 70.9 9.42 98.6 31.56 31.77 25.39 62.32 62 103.63 73 40.44 10.79 81.35-6.69 119.13-24.28s75.16-39 116.92-43.05c59.73-5.85 113.28 22.88 168.9 38.84 30.2 8.66 59 6.17 87.09-7.5 22.43-10.89 48-26.93 60.65-49.24V0z" opacity=".5" fill="white"/><path d="M0 0v5.63C149.93 59 314.09 71.32 475.83 42.57c43-7.64 84.23-20.12 127.61-26.46 59-8.63 112.48 12.24 165.56 35.4C827.93 77.22 886 95.24 951.2 90c86.53-7 172.46-45.71 248.8-84.81V0z" fill="white"/></svg>') repeat-x;
background-size: 1200px 150px;
transform: rotate(180deg);
animation: wave 10s linear infinite;

View File

@ -114,16 +114,19 @@ const handleLogin = async () => {
.login-container {
min-height: 100vh;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
height: 100vh;
overflow: hidden;
}
.auth-bg {
min-height: 100vh;
height: 100vh;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem 1rem;
padding: 0 1rem;
position: relative;
overflow: hidden;
}
@ -131,10 +134,12 @@ const handleLogin = async () => {
.brand-logo {
display: flex;
align-items: center;
justify-content: center;
font-size: 2.5rem;
font-weight: 800;
letter-spacing: 1px;
margin-bottom: 2.5rem;
margin-bottom: 1.5rem;
flex-shrink: 0;
}
.logo-letter {
@ -172,13 +177,16 @@ const handleLogin = async () => {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 3rem 2rem;
padding: 2rem 2rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
border: 1px solid rgba(255, 255, 255, 0.2);
animation: fadeUp 0.8s ease;
text-align: center;
position: relative;
z-index: 10;
max-height: calc(100vh - 120px);
overflow-y: auto;
margin: 0 auto;
}
@keyframes fadeUp {
@ -187,14 +195,14 @@ const handleLogin = async () => {
}
.login-header {
margin-bottom: 2.5rem;
margin-bottom: 1.5rem;
color: white;
}
.login-header h2 {
font-size: 2.2rem;
font-size: 1.8rem;
font-weight: 700;
margin-bottom: 0.7rem;
margin-bottom: 0.5rem;
}
.login-header p {
@ -207,7 +215,7 @@ const handleLogin = async () => {
}
.form-group {
margin-bottom: 1.5rem;
margin-bottom: 1rem;
position: relative;
}

View File

@ -161,17 +161,20 @@ const handleRegister = async () => {
<style scoped>
.register-container {
min-height: 100vh;
height: 100vh;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
overflow: hidden;
}
.auth-bg {
min-height: 100vh;
height: 100vh;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem 1rem;
padding: 0 1rem;
position: relative;
overflow: hidden;
}
@ -179,10 +182,12 @@ const handleRegister = async () => {
.brand-logo {
display: flex;
align-items: center;
justify-content: center;
font-size: 2.5rem;
font-weight: 800;
letter-spacing: 1px;
margin-bottom: 2.5rem;
margin-bottom: 1.5rem;
flex-shrink: 0;
}
.logo-letter {
@ -220,14 +225,16 @@ const handleRegister = async () => {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 3rem 2rem;
padding: 2rem 2rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
border: 1px solid rgba(255, 255, 255, 0.2);
animation: fadeUp 0.8s ease;
text-align: center;
position: relative;
z-index: 10;
margin: 1rem 0 3rem;
margin: 0 auto;
max-height: calc(100vh - 120px);
overflow-y: auto;
}
@keyframes fadeUp {
@ -236,14 +243,14 @@ const handleRegister = async () => {
}
.register-header {
margin-bottom: 2.5rem;
margin-bottom: 1.5rem;
color: white;
}
.register-header h2 {
font-size: 2.2rem;
font-size: 1.8rem;
font-weight: 700;
margin-bottom: 0.7rem;
margin-bottom: 0.5rem;
}
.register-header p {
@ -256,7 +263,7 @@ const handleRegister = async () => {
}
.form-group {
margin-bottom: 1.5rem;
margin-bottom: 0.9rem;
position: relative;
}
@ -276,7 +283,7 @@ const handleRegister = async () => {
.form-group input {
width: 100%;
padding: 1rem 1.2rem;
padding: 0.8rem 1rem;
background: rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 12px;