Open-source веб-студия для создания игр Рублокса, двойная лицензия AGPL-3.0 + Коммерческая. Главное: - Vite 5 + React 18 + Babylon 7.54.3 + Monaco Editor + Colyseus 0.16 - Самодостаточный движок ~28к строк (66 файлов): BlockManager, TerrainVoxelBuilder, ModelManager, DecoManager, PlayerController, ScriptSandboxWorker, MultiplayerSync, 30+ GD-гейммодов - Главный редактор KubikonEditor (~37к строк) + панели, ScriptEditor (Monaco) - Витрина игр (KubikonFeed, KubikonStudio, KubikonDocs, KubikonLearn) - Geometry Dash sub-app (GdMenu, GdShop, GdRules, GdCoverArt) - 10 admin-preview каталогов для дизайнеров (скины, музыка, порталы и т.д.) - Конфигурируемый бэкенд через VITE_API_BASE — работает со staging (dev-api.rublox.pro) без настройки - Standalone-режим (VITE_STANDALONE=true) — открыть пустой редактор без бэка - Полная документация (на русском): README, ARCHITECTURE, CONTRIBUTING, SECURITY, CHANGELOG - ESLint + Prettier + EditorConfig - Legal: LICENSE (AGPL-3.0), LICENSE-COMMERCIAL.md, CLA.md, COPYRIGHT.md - Issue templates: bug_report, feature_request, security_disclosure Перед публикацией: - Все импорты из minecraftia заменены на локальные - Все хардкоды URL (minecraftia-school.ru) и внутренних IP убраны → env - Admin-эндпоинты Kubikon3DService вырезаны (остаются в приватном репо) - AdminKubikonModeration не публикуется (модерация — в team.rublox.pro) - 93 МБ ассетов public/kubikon-assets вынесены в .gitignore (раздаются через release artifact)
152 lines
2.3 KiB
CSS
152 lines
2.3 KiB
CSS
.root {
|
|
min-height: 100vh;
|
|
background: #1f2433;
|
|
color: #e3e8f0;
|
|
padding: 24px;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
|
|
}
|
|
|
|
.loading, .denied {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #1f2433;
|
|
color: #e3e8f0;
|
|
gap: 16px;
|
|
}
|
|
|
|
.backBtn {
|
|
padding: 8px 18px;
|
|
background: #228be6;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.topbar {
|
|
margin-bottom: 24px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid #2f3548;
|
|
}
|
|
|
|
.h1 {
|
|
margin: 0;
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.subline {
|
|
margin-top: 6px;
|
|
color: #8a93a8;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.subline code {
|
|
background: #2a3142;
|
|
padding: 1px 6px;
|
|
border-radius: 3px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
|
|
gap: 18px;
|
|
}
|
|
|
|
.card {
|
|
background: #2a3142;
|
|
border: 1px solid #3a4156;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 12px 14px;
|
|
background: #232938;
|
|
border-bottom: 1px solid #2f3548;
|
|
}
|
|
|
|
.levelBadge {
|
|
background: linear-gradient(135deg, #3357ff, #b266ff);
|
|
color: white;
|
|
font-weight: 700;
|
|
padding: 4px 10px;
|
|
border-radius: 5px;
|
|
font-size: 13px;
|
|
min-width: 42px;
|
|
text-align: center;
|
|
}
|
|
|
|
.title {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.canvasWrap {
|
|
position: relative;
|
|
aspect-ratio: 1;
|
|
background: #1c2030;
|
|
}
|
|
|
|
.canvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
touch-action: none;
|
|
}
|
|
|
|
.overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(28, 32, 48, 0.85);
|
|
color: #ff8a8a;
|
|
font-size: 13px;
|
|
text-align: center;
|
|
padding: 16px;
|
|
}
|
|
|
|
.description {
|
|
padding: 12px 14px;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
color: #cdd4e0;
|
|
}
|
|
|
|
.stats {
|
|
padding: 8px 14px 12px;
|
|
font-size: 12px;
|
|
color: #8a93a8;
|
|
border-top: 1px dashed #3a4156;
|
|
}
|
|
|
|
.stats a {
|
|
color: #66b3ff;
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.footer {
|
|
margin-top: 28px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid #2f3548;
|
|
color: #8a93a8;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.footer p {
|
|
margin: 4px 0;
|
|
}
|