/
aliyyyada
/
FrontendAdminPanel
Обзор
Документация
Войти
/
aliyyyada
/
FrontendAdminPanel
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/components/common/LegalDocModal.module.css
249 строк
4 KB
Алина
initial commit
15 июн 2026, 18:49
15 июн 2026, 18:49
7512c1b
Код
Авторство
О чём код?
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 1000; display: flex; align-items: flex-end; justify-content: center; padding: 0; } @media (min-width: 520px) { .overlay { align-items: center; padding: 16px; } } .modal { background: #fff; border-radius: 16px 16px 0 0; width: 100%; max-width: 680px; height: 92dvh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18); } @media (min-width: 520px) { .modal { border-radius: 16px; height: auto; max-height: 90vh; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); } } .dragHandle { width: 36px; height: 4px; border-radius: 2px; background: #d0d0d0; margin: 10px auto 0; flex-shrink: 0; } @media (min-width: 520px) { .dragHandle { display: none; } } .header { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid #e8e8e8; flex-shrink: 0; } @media (min-width: 520px) { .header { padding: 20px 24px 16px; gap: 12px; } } .title { flex: 1; font-size: 14px; font-weight: 700; color: #1a1a1a; line-height: 1.3; margin: 0; } @media (min-width: 520px) { .title { font-size: 16px; } } .closeBtn { width: 30px; height: 30px; border-radius: 8px; background: #f0f0f0; color: #666; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.15s, color 0.15s; } .closeBtn:hover { background: #e0e0e0; color: #1a1a1a; } .body { flex: 1; overflow-y: auto; padding: 16px; -webkit-overflow-scrolling: touch; } @media (min-width: 520px) { .body { padding: 20px 24px; } } .footer { padding: 12px 16px 20px; border-top: 1px solid #e8e8e8; flex-shrink: 0; display: flex; justify-content: stretch; } @media (min-width: 520px) { .footer { padding: 16px 24px; justify-content: flex-end; } } .closeFooterBtn { flex: 1; padding: 13px 24px; border-radius: 12px; background: #2d3cc0; color: #fff; font-size: 15px; font-weight: 600; transition: background 0.15s; } @media (min-width: 520px) { .closeFooterBtn { flex: none; padding: 10px 24px; border-radius: 10px; font-size: 14px; } } .closeFooterBtn:hover { background: #1e2d9e; } .docContent { font-size: 13px; line-height: 1.65; color: #333; } .docOrg { font-size: 11px; color: #888; margin-bottom: 12px; } .docMainTitle { font-size: 15px; font-weight: 700; color: #1a1a1a; text-align: center; margin-bottom: 6px; } .docSubTitle { font-size: 12px; text-align: center; color: #555; margin-bottom: 4px; } .docCity { font-size: 12px; text-align: center; color: #888; margin-bottom: 20px; } .docSection { font-size: 13px; font-weight: 700; color: #1a1a1a; margin-top: 20px; margin-bottom: 8px; } .docSubSection { font-size: 13px; font-weight: 600; color: #333; margin-top: 12px; margin-bottom: 6px; } .docContent p { margin-bottom: 8px; } .docList { padding-left: 20px; margin-bottom: 10px; } .docList li { margin-bottom: 4px; } .schoolInfoTable { display: flex; flex-direction: column; } .schoolInfoRow { display: flex; justify-content: space-between; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid #f0f0f0; gap: 12px; } .schoolInfoRow:last-child { border-bottom: none; } .schoolInfoLabel { font-size: 12px; color: #888; flex-shrink: 0; width: 128px; line-height: 1.45; } .schoolInfoValue { font-size: 13px; color: #1a1a1a; text-align: right; line-height: 1.45; font-weight: 500; }