/
magarich
/
web
Обзор
Документация
Войти
/
magarich
/
web
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
html/lab4/task8/styles.css
144 строки
2 KB
Юра Магарьян
Final submission: Lab2 and Lab3 by Magaryan Yury PIZ2402
17 апр 2026, 23:12
17 апр 2026, 23:12
0827836
Код
Авторство
О чём код?
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', sans-serif; min-height: 100vh; background: #f0f2f5; display: flex; align-items: center; justify-content: center; padding: 20px; color: #1a1a2e; } .security-terminal { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1); width: 100%; max-width: 440px; } h1 { font-size: 1.5rem; font-weight: 600; margin-bottom: 24px; } .input-section { margin-bottom: 16px; } .password-input { width: 120px; padding: 10px 12px; font-size: 1rem; border: 1px solid #d0d5dd; border-radius: 8px; color: #1a1a2e; display: block; transition: border-color 0.2s ease; } .password-input:focus { outline: none; border-color: #4caf50; } .strength-display { margin-top: 8px; } .strength-indicator { display: flex; gap: 1px; } .strength-segment { width: 10px; height: 5px; background: #e0e0e0; border-radius: 1px; transition: background 0.2s ease; } .strength-segment.active.red { background: #e53935; } .strength-segment.active.yellow { background: #f9a825; } .strength-segment.active.green { background: #43a047; } .analyze-section { margin-bottom: 24px; } .analyze-btn { padding: 12px; width: 120px; font-size: 1rem; font-weight: 600; background: #4caf50; color: white; border: none; border-radius: 8px; cursor: pointer; transition: filter 0.15s ease, transform 0.1s ease; } .analyze-btn:hover { filter: brightness(1.1); } .analyze-btn:active { transform: scale(0.98); } .result-panel { border-top: 1px solid #eee; padding-top: 24px; } .score-display { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; } .score-value { font-size: 2rem; font-weight: 700; color: #4caf50; } .score-label { font-size: 0.9rem; color: #888; } .criteria-grid { display: grid; gap: 8px; } .criteria-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: #f9f9f9; font-size: 0.9rem; color: #aaa; transition: background 0.2s ease, color 0.2s ease; } .criteria-item.met { background: #eafaf1; color: #1e7e34; } .criteria-icon { width: 20px; text-align: center; } .hidden { display: none; }