/
grigorin
/
InterviewHelper
Обзор
Документация
Войти
/
grigorin
/
InterviewHelper
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/components/topicDetails.css
139 строк
3 KB
Grigory Nevarov
обновил README.md
12 дек 2025, 16:02
12 дек 2025, 16:02
d560e85
Код
Авторство
О чём код?
.topic-panel { margin-top: 2rem; padding: 1.5rem; border-radius: 24px; background: linear-gradient(135deg, rgba(8, 10, 35, 0.9), rgba(21, 4, 45, 0.9)); border: 1px solid rgba(9, 251, 211, 0.2); box-shadow: 0 0 30px rgba(14, 21, 84, 0.6); } .topic-panel__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; } .topic-panel__eyebrow { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.2em; color: #f5d300; margin-bottom: 0.2rem; } .topic-panel__title { margin: 0; font-size: 1.5rem; color: #f7f7ff; } .topic-panel__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; } .topic-panel__list { display: flex; flex-direction: column; gap: 0.75rem; } .topic-card { background: rgba(7, 14, 50, 0.8); border: 1px solid rgba(9, 251, 211, 0.2); border-radius: 18px; padding: 1rem 1.25rem; text-align: left; color: #fefefe; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease; } .topic-card:hover { transform: translateX(4px); border-color: rgba(9, 251, 211, 0.5); box-shadow: 0 0 20px rgba(9, 251, 211, 0.25); } .topic-card.active { border-color: rgba(245, 211, 0, 0.8); background: linear-gradient(120deg, rgba(9, 251, 211, 0.2), rgba(245, 211, 0, 0.2)); box-shadow: 0 0 30px rgba(245, 211, 0, 0.35); } .topic-card__name { font-weight: 600; } .topic-card__count { font-size: 0.8rem; opacity: 0.8; } .topic-panel__details { background: rgba(4, 10, 40, 0.9); border-radius: 20px; border: 1px solid rgba(9, 251, 211, 0.2); padding: 1.25rem; box-shadow: inset 0 0 30px rgba(10, 14, 55, 0.7); } .topic-panel__questions h4 { margin: 0 0 0.75rem; color: #fefefe; font-size: 1.2rem; } .question-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; } .question-chip { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1rem; background: rgba(255, 255, 255, 0.05); border-radius: 14px; border: 1px dashed rgba(9, 251, 211, 0.4); color: #e6faff; font-size: 0.95rem; position: relative; overflow: hidden; } .question-chip__glow { width: 8px; height: 8px; border-radius: 50%; background: #09fbd3; box-shadow: 0 0 10px rgba(9, 251, 211, 0.8), 0 0 20px rgba(9, 251, 211, 0.5); } .topic-panel__placeholder { min-height: 200px; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.6); font-size: 1rem; text-align: center; } @media (max-width: 960px) { .topic-panel__grid { grid-template-columns: 1fr; } }