Дата: Пятница, 20.03.2026, 23:36 | Сообщение # 1 |
|
Написал: Узнаваемый
Автор темы
Мурчанн
не в сети
Сообщений: 218
Более новая версия авторизации , ещё один шаг в сторону современного дизайна. Это промежуточный вариант: впереди будут и другие решения, пока не будет достигнут желаемый результат. Сейчас это лишь этап разработки и взгляд со стороны. До того, что нам действительно нужно, ещё далеко, хотя, возможно, кому-то и этот вариант окажется полезным.Исходной код: Код
<!DOCTYPE html> <html lang="ru"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>ConnectSphere | Вход</title> <!-- Font Awesome для иконок --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css"> <style> :root { --primary: #6366f1; --primary-dark: #4f46e5; --accent: #ec4899; --text: #f1f5f9; --card-bg: rgba(30, 41, 59, 0.78); --blur: 14px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; min-height: 100vh; color: var(--text); background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%), url('https://bro.usite.pro/img/hot-air-balloon.jpeg') center/cover no-repeat fixed; background-blend-mode: overlay; position: relative; overflow-x: hidden; } body::before { content: ""; position: fixed; inset: 0; background: radial-gradient(circle at 30% 70%, rgba(236,72,153,0.09) 0%, transparent 65%); backdrop-filter: blur(3px); z-index: -2; } body::after { content: ""; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.48); z-index: -1; } .container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; min-height: 100vh; display: flex; align-items: center; justify-content: center; } .layout { display: flex; width: 100%; gap: 80px; align-items: center; flex-wrap: wrap; justify-content: center; } .promo { flex: 1; min-width: 320px; max-width: 520px; } .brand { font-size: 4.8rem; font-weight: 800; letter-spacing: -2px; background: linear-gradient(90deg, #c084fc, #ec4899, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 12px; } .tagline { font-size: 1.45rem; opacity: 0.92; font-weight: 300; margin-bottom: 24px; } .promo-subtitle { font-size: 1.3rem; opacity: 0.95; margin-bottom: 32px; font-weight: 400; line-height: 1.45; } .highlights { display: flex; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; justify-content: flex-start; } .highlight { text-align: center; min-width: 110px; } .highlight .number { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; } .highlight .label { font-size: 0.95rem; opacity: 0.85; margin-top: 6px; } .features { display: flex; flex-direction: column; gap: 24px; } .feature { display: flex; align-items: flex-start; gap: 18px; } .feature i { font-size: 2.5rem; color: var(--accent); margin-top: 4px; } .feature-text { flex: 1; } .feature-text strong { color: white; font-weight: 600; } .promo-btn { display: inline-block; background: linear-gradient(90deg, var(--accent), #d946ef); color: white; padding: 16px 40px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 1.15rem; margin: 40px 0 20px; box-shadow: 0 10px 30px rgba(236,72,153,0.4); transition: all 0.3s ease; } .promo-btn:hover { transform: translateY(1px); box-shadow: 0 20px 50px rgba(236,72,153,0.55); } .promo-small { font-size: 1rem; opacity: 0.75; text-align: center; } /* Форма входа */ .login-card { width: 420px; max-width: 100%; background: var(--card-bg); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); border-radius: 24px; border: 1px solid rgba(255,255,255,0.1); padding: 50px 42px; box-shadow: 0 25px 70px rgba(0,0,0,0.45); } h1 { font-size: 2.2rem; font-weight: 700; text-align: center; margin-bottom: 40px; color: white; } .form-group { margin-bottom: 26px; } input { width: 100%; height: 58px; padding: 0 22px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; color: white; font-size: 1.1rem; transition: all 0.25s ease; } input::placeholder { color: rgba(255,255,255,0.55); } input:focus { border-color: var(--accent); background: rgba(255,255,255,0.14); box-shadow: 0 0 0 4px rgba(236,72,153,0.22); outline: none; } .remember { display: flex; align-items: center; gap: 12px; font-size: 0.98rem; color: rgba(255,255,255,0.85); margin: 22px 0 30px; } .remember input { width: 20px; height: 20px; accent-color: var(--accent); } .btn { width: 100%; height: 58px; background: linear-gradient(90deg, var(--primary), var(--accent)); color: white; border: none; border-radius: 14px; font-size: 1.15rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(99,102,241,0.35); } .btn:hover { transform: translateY(0px); box-shadow: 0 20px 50px rgba(236,72,153,0.5); } .links { text-align: center; margin-top: 28px; font-size: 0.98rem; } .links a { color: var(--accent); text-decoration: none; } .links a:hover { text-decoration: underline; } .social { display: flex; justify-content: center; gap: 32px; margin-top: 36px; } .social i { font-size: 2rem; color: rgba(255,255,255,0.75); transition: all 0.3s; } .social i:hover { color: white; transform: scale(1.2); } .powered-by { text-align: center; margin: 1px 0 6px; font-size: 0.15rem; letter-spacing: 1.2px; opacity: 0.75; transition: opacity 0.6s ease; } .powered-text { background: linear-gradient(90deg, #a78bfa, #ec4899, #f472b6, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% 100%; animation: gradientFlow 6s linear infinite; font-weight: 600; } @keyframes gradientFlow { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } } @media (max-width: 980px) { .layout { flex-direction: column; gap: 70px; } .login-card { width: 100%; max-width: 480px; } .promo { text-align: center; } .highlights { justify-content: center; } } @media (max-width: 500px) { .brand { font-size: 3.8rem; } .login-card { padding: 40px 28px; } } </style> </head> <body> <div class="container"> <div class="layout"> <!-- Промо-часть (информативная) --> <div class="promo"> <div class="brand">Echo LinkUp</div> <div class="tagline">Твоё пространство. Твои люди. Твои моменты.</div> <p class="promo-subtitle">Присоединяйся к миллионам, кто уже живёт ярко и без границ</p> <div class="highlights"> <div class="highlight"> <span class="number">+120 млн</span> <span class="label">пользователей</span> </div> <div class="highlight"> <span class="number">5+ млн</span> <span class="label">сторис ежедневно</span> </div> <div class="highlight"> <span class="number">24/7</span> <span class="label">живые эфиры</span> </div> </div> <div class="features"> <div class="feature"> <i class="fas fa-bolt"></i> <div class="feature-text"> <strong>Мгновенные чаты и звонки</strong><br> Голос, видео, секретные сообщения — без лимитов и задержек </div> </div> <div class="feature"> <i class="fas fa-film"></i> <div class="feature-text"> <strong>Сторис, Reels и лента</strong><br> Делись жизнью, смотри тренды и будь в курсе всего </div> </div> <div class="feature"> <i class="fas fa-users-rectangle"></i> <div class="feature-text"> <strong>Сообщества по интересам</strong><br> От геймеров до творцов — найди своих людей </div> </div> <div class="feature"> <i class="fas fa-headphones"></i> <div class="feature-text"> <strong>Музыка и подкасты</strong><br> Совместные плейлисты, живые концерты, ритм твоей жизни </div> </div> <div class="feature"> <i class="fas fa-shield-halved"></i> <div class="feature-text"> <strong>Максимальная приватность </strong><br> Полный контроль + end-to-end шифрование </div> </div> </div> <a href="/index/3" class="promo-btn">Присоединиться бесплатно </a> <p class="promo-small"></p> </div> <!-- Форма входа полностью рабочая --> <div class="login-card"> <h1>Вход в аккаунт</h1> <form method="post" action="/index/sub/"> <input type="hidden" name="a" value="2"> <div class="form-group"> <input type="text" name="user" placeholder="Логин" required autocomplete="username"> </div> <div class="form-group"> <input type="password" name="password" placeholder="Пароль" required autocomplete="current-password"> </div> <label class="remember"> <input type="checkbox" name="rem"> Я согласен с условиями сервиса </label> <button type="submit" class="btn">Войти</button> <div class="links"> <a href="javascript:void(0)" onclick="new _uWnd('Prm','Восстановление пароля',380,180,{closeonesc:1},{url:'/index/5'}); return false;"> Забыли пароль? </a> </div> <div class="social"> <i class="fab fa-google"></i> <i class="fab fa-apple"></i> <i class="fab fa-telegram-plane"></i> </div> </form> </div> </div> </div> <div class="powered-by"> <span class="powered-text">$POWERED_BY$</span> </div> </body> </html>
Признаюсь, не знаю почему, но глядя на звезды мне всегда хочется мечтать.