/
spirzen
/
it-knowledge-base
Обзор
Документация
Войти
/
spirzen
/
it-knowledge-base
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
Mobile
src/components/CodeRunPlacePlay.module.css
144 строки
2 KB
Spirzen
Major changes
22 май 2026, 03:11
22 май 2026, 03:11
99393a4
Код
Авторство
О чём код?
.root { max-width: min(720px, 100%); margin: 0 auto; } .scenarioBar { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; } .stage { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.5rem; align-items: stretch; min-height: 160px; } @media (max-width: 640px) { .stage { grid-template-columns: 1fr; } .arrowCol { flex-direction: row !important; justify-content: center; } } .zone { padding: 0.65rem; border-radius: 10px; border: 2px solid var(--ifm-color-emphasis-300); background: color-mix(in srgb, var(--ifm-background-color) 90%, var(--ifm-color-emphasis-100)); transition: border-color 0.2s, box-shadow 0.2s; } .zoneActive { border-color: var(--ifm-color-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ifm-color-primary) 25%, transparent); } .zoneBrowser { border-color: color-mix(in srgb, #264de4 50%, var(--ifm-color-emphasis-300)); } .zoneServer { border-color: color-mix(in srgb, #3776ab 50%, var(--ifm-color-emphasis-300)); } .zoneHead { display: flex; align-items: center; gap: 0.35rem; font-weight: 800; font-size: 0.82rem; margin-bottom: 0.35rem; } .zoneList { margin: 0; padding-left: 1.1rem; font-size: 0.76rem; line-height: 1.5; } .codeMini { margin: 0.4rem 0 0; padding: 0.35rem 0.45rem; font-size: 0.68rem; border-radius: 6px; background: var(--ifm-code-background); white-space: pre-wrap; word-break: break-word; } .arrowCol { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; font-size: 0.7rem; font-weight: 700; color: var(--ifm-color-emphasis-600); } .packet { padding: 0.2rem 0.45rem; border-radius: 4px; background: var(--ifm-color-primary); color: var(--ifm-color-primary-contrast-background); animation: pulse 0.8s ease infinite; } @keyframes pulse { 50% { opacity: 0.65; } } .controls { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.65rem; } .stepLabel { flex: 1 1 100%; font-size: 0.8rem; margin: 0.35rem 0 0; line-height: 1.45; color: var(--ifm-color-emphasis-700); } .legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.5rem; font-size: 0.72rem; } .legendItem { display: inline-flex; align-items: center; gap: 0.25rem; } .dot { width: 8px; height: 8px; border-radius: 50%; } .dotClient { background: #264de4; } .dotServer { background: #3776ab; }