/
spirzen
/
it-knowledge-base
Обзор
Документация
Войти
/
spirzen
/
it-knowledge-base
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
Mobile
src/components/SocialNetworkArchPlay.module.css
129 строк
2 KB
Spirzen
Components pack 2
23 май 2026, 03:42
23 май 2026, 03:42
b7f65e4
Код
Авторство
О чём код?
.root { max-width: min(820px, 100%); margin: 0 auto; } .check { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; margin-bottom: 0.5rem; } .graph { position: relative; min-height: 130px; margin-bottom: 0.5rem; } .graphSvg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } .edge { stroke: var(--ifm-color-emphasis-400); stroke-width: 2; } .graphNode { position: absolute; z-index: 1; padding: 0.35rem 0.6rem; border-radius: 999px; border: 1px solid var(--ifm-color-emphasis-300); font-size: 0.75rem; background: var(--ifm-background-surface-color); cursor: pointer; } .graphNode:nth-child(1) { left: 0; top: 42%; } .graphNode:nth-child(2) { left: 38%; top: 0; } .graphNode:nth-child(3) { left: 38%; top: 72%; } .graphNode:nth-child(4) { right: 0; top: 42%; } .graphNodeActive { border-color: var(--ifm-color-primary); font-weight: 700; } .weights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 0.65rem; } .weights label { display: flex; flex-direction: column; font-size: 0.72rem; gap: 0.2rem; } .feed { margin: 0; padding-left: 0; list-style: none; font-size: 0.8rem; } .feed li { padding: 0.45rem 0; border-bottom: 1px solid var(--ifm-color-emphasis-200); } .rank { display: inline-block; min-width: 1.8rem; color: var(--ifm-color-primary); font-weight: 700; } .score { display: block; font-size: 0.72rem; color: var(--ifm-color-content-secondary); } .services { display: flex; flex-wrap: wrap; gap: 0.4rem; } .svc { padding: 0.4rem 0.6rem; border-radius: 6px; font-size: 0.75rem; background: color-mix(in srgb, var(--ifm-color-primary) 12%, transparent); border: 1px solid var(--ifm-color-emphasis-300); } .hint { margin: 0.65rem 0 0; font-size: 0.78rem; color: var(--ifm-color-content-secondary); } @media (max-width: 560px) { .weights { grid-template-columns: 1fr; } }