/
Hero
/
web-static-labs
Обзор
Документация
Войти
/
Hero
/
web-static-labs
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
html/lab4/task8/styles.css
410 строк
9 KB
Hero
upload files
14 окт 2025, 23:22
14 окт 2025, 23:22
1b457b8
Код
Авторство
О чём код?
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif; min-height: 100vh; background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%), linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); display: flex; align-items: center; justify-content: center; padding: 20px; } .security-terminal { background: rgba(15, 15, 35, 0.7); backdrop-filter: blur(40px); border-radius: 32px; padding: 60px 50px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 100px rgba(120, 119, 198, 0.1); border: 1px solid rgba(255, 255, 255, 0.08); width: 100%; max-width: 520px; position: relative; overflow: hidden; } .security-terminal::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(120, 119, 198, 0.8), rgba(255, 119, 198, 0.8), rgba(120, 219, 255, 0.8), transparent ); animation: scanLine 3s linear infinite; } @keyframes scanLine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .terminal-header { text-align: center; margin-bottom: 50px; position: relative; } .security-badge { font-size: 4.5rem; margin-bottom: 25px; display: block; filter: drop-shadow(0 0 30px rgba(120, 119, 198, 0.5)); animation: float 6s ease-in-out infinite; } @keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-10px) rotate(2deg); } } .terminal-title { font-size: 3rem; font-weight: 900; background: linear-gradient(135deg, #7877c6, #ff77c6, #78dbff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 15px; letter-spacing: -1px; text-shadow: 0 0 30px rgba(120, 119, 198, 0.3); } .terminal-subtitle { color: rgba(255, 255, 255, 0.5); font-size: 1.1rem; font-weight: 300; letter-spacing: 1px; } .input-section { margin-bottom: 40px; } .password-field { position: relative; display: inline-block; } .password-input { width: 200px; padding: 20px 50px 20px 25px; font-size: 1.3rem; border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 20px; background: rgba(255, 255, 255, 0.03); color: white; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); font-family: 'SF Mono', Monaco, monospace; letter-spacing: 2px; text-shadow: 0 0 10px rgba(120, 219, 255, 0.5); } .password-input:focus { outline: none; border-color: #7877c6; background: rgba(255, 255, 255, 0.05); box-shadow: 0 0 0 4px rgba(120, 119, 198, 0.2), 0 0 30px rgba(120, 119, 198, 0.3); transform: scale(1.02); } .password-input::placeholder { color: rgba(255, 255, 255, 0.2); letter-spacing: normal; } .input-icon { position: absolute; right: 20px; top: 29%; transform: translateY(-50%); font-size: 1.3rem; color: rgba(255, 255, 255, 0.3); transition: all 0.3s ease; } .password-input:focus + .input-icon { color: #7877c6; transform: translateY(-50%) scale(1.1); } .strength-display { margin-top: 25px; width: 200px; } .strength-indicator { display: flex; gap: 2px; margin-bottom: 10px; height: 6px; } .strength-segment { flex: 1; height: 100%; background: rgba(255, 255, 255, 0.1); border-radius: 3px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; } .strength-segment.active { transform: scaleY(1.3); box-shadow: 0 0 10px currentColor; } .strength-segment.active.red { background: linear-gradient(45deg, #ff4444, #ff6b6b); } .strength-segment.active.yellow { background: linear-gradient(45deg, #ffd93d, #ff9a3d); } .strength-segment.active.green { background: linear-gradient(45deg, #00ff88, #00ccff); } .strength-segment.active::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: segmentGlow 1.5s infinite; } @keyframes segmentGlow { 0% { left: -100%; } 100% { left: 100%; } } .strength-labels { display: flex; justify-content: space-between; color: rgba(255, 255, 255, 0.4); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; } .analyze-section { margin-bottom: 40px; text-align: center; } .analyze-btn { padding: 20px 50px; font-size: 1.2rem; font-weight: 700; background: linear-gradient(135deg, #7877c6, #ff77c6); color: white; border: none; border-radius: 20px; cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 10px 30px rgba(120, 119, 198, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2); position: relative; overflow: hidden; } .analyze-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.6s; } .analyze-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 15px 40px rgba(120, 119, 198, 0.6), 0 0 50px rgba(255, 119, 198, 0.3); } .analyze-btn:hover::before { left: 100%; } .analyze-btn:active { transform: translateY(-1px) scale(1.02); } .result-panel { background: rgba(255, 255, 255, 0.02); border-radius: 24px; padding: 35px; border: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.4s ease; position: relative; overflow: hidden; } .result-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(120, 119, 198, 0.5), transparent); } .score-display { text-align: center; margin-bottom: 30px; } .score-value { font-size: 4rem; font-weight: 900; background: linear-gradient(135deg, #7877c6, #ff77c6, #78dbff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 10px; text-shadow: 0 0 30px rgba(120, 119, 198, 0.3); animation: pulse 2s ease-in-out infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } .score-label { color: rgba(255, 255, 255, 0.6); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 300; } .criteria-grid { display: grid; gap: 12px; } .criteria-item { display: flex; align-items: center; gap: 15px; padding: 16px 20px; background: rgba(255, 255, 255, 0.03); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; } .criteria-item::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent); transition: left 0.5s; } .criteria-item:hover::before { left: 100%; } .criteria-item.met { border-color: rgba(120, 119, 198, 0.3); background: rgba(120, 119, 198, 0.08); transform: translateX(8px); } .criteria-icon { font-size: 1.3rem; width: 28px; text-align: center; transition: all 0.3s ease; filter: drop-shadow(0 0 10px currentColor); } .criteria-item.met .criteria-icon { color: #7877c6; transform: scale(1.2); animation: iconPulse 2s infinite; } @keyframes iconPulse { 0%, 100% { transform: scale(1.2); } 50% { transform: scale(1.4); } } .criteria-item:not(.met) .criteria-icon { color: rgba(255, 255, 255, 0.2); } .criteria-text { flex: 1; font-size: 0.95rem; font-weight: 500; transition: all 0.3s ease; } .criteria-item.met .criteria-text { color: #78dbff; font-weight: 700; text-shadow: 0 0 10px rgba(120, 219, 255, 0.3); } .criteria-item:not(.met) .criteria-text { color: rgba(255, 255, 255, 0.3); } .hidden { display: none; } .cyber-glitch { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.1) 50%, transparent 55%); opacity: 0; pointer-events: none; animation: glitch 0.3s infinite; } @keyframes glitch { 0%, 100% { opacity: 0; transform: translateX(0); } 50% { opacity: 0.1; transform: translateX(2px); } }