studio/src/admin-preview/GdSfxPreview.module.css
МИН 31adbf151b Initial public release: Студия Рублокса v1.0
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)
2026-05-27 23:41:10 +03:00

196 lines
2.8 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;
}
.topbar {
margin-bottom: 20px;
padding-bottom: 14px;
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;
}
.controls {
margin-top: 12px;
display: flex;
gap: 14px;
align-items: center;
}
.playAllBtn {
padding: 8px 18px;
background: linear-gradient(135deg, #3357ff, #b266ff);
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 13px;
font-weight: 600;
}
.playAllBtn:hover {
filter: brightness(1.1);
}
.statusReady {
color: #5fd886;
font-size: 12px;
font-weight: 600;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 14px;
}
.card {
background: #2a3142;
border: 1px solid #3a4156;
border-radius: 8px;
padding: 14px;
display: flex;
flex-direction: column;
transition: all 0.15s;
}
.cardActive {
border-color: #ffe44a;
box-shadow: 0 0 16px rgba(255, 228, 74, 0.45);
transform: scale(1.02);
}
.cardHeader {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 10px;
}
.emoji {
font-size: 36px;
line-height: 1;
}
.title {
margin: 0;
font-size: 15px;
font-weight: 600;
}
.id {
display: inline-block;
margin-top: 3px;
font-size: 11px;
color: #8a93a8;
background: #1c2030;
padding: 1px 6px;
border-radius: 3px;
}
.description {
flex: 1;
margin: 0 0 12px;
font-size: 12.5px;
line-height: 1.4;
color: #cdd4e0;
}
.cardActions {
display: flex;
align-items: center;
gap: 10px;
padding-top: 8px;
border-top: 1px dashed #3a4156;
}
.playBtn {
padding: 6px 14px;
background: #2db360;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 13px;
font-weight: 600;
}
.playBtn:hover {
background: #34c970;
}
.duration {
margin-left: auto;
font-size: 11px;
color: #8a93a8;
}
.footer {
margin-top: 28px;
padding: 16px 20px;
background: #232938;
border-radius: 8px;
border: 1px solid #2f3548;
color: #cdd4e0;
font-size: 13px;
line-height: 1.6;
}
.footer p {
margin: 4px 0;
}
.footer ul {
margin: 8px 0;
padding-left: 22px;
}
.footer code {
background: #1c2030;
padding: 1px 6px;
border-radius: 3px;
font-size: 12px;
color: #66b3ff;
}