studio/src/admin-preview/GdMusicPreview.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

226 lines
3.2 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: 18px;
padding-bottom: 14px;
border-bottom: 1px solid #2f3548;
}
.h1 {
margin: 0;
font-size: 22px;
font-weight: 700;
}
.subline {
margin-top: 8px;
color: #8a93a8;
font-size: 13px;
}
.subline code {
background: #2a3142;
padding: 1px 6px;
border-radius: 3px;
font-size: 12px;
}
.epochSection {
margin-top: 24px;
}
.epochTitle {
margin: 0 0 12px;
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 12px;
}
.card {
background: #2a3142;
border: 1px solid #3a4156;
border-radius: 8px;
overflow: hidden;
display: flex;
flex-direction: column;
}
.cardBoss {
border-color: #ffaa00;
box-shadow: 0 0 0 1px rgba(255, 170, 0, 0.2);
}
.cardHeader {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 12px;
background: #232938;
border-top: 4px solid #3a7a4a;
}
.epochBadge {
font-size: 12px;
font-weight: 700;
color: #cdd4e0;
}
.kindMain, .kindBoss {
font-size: 11px;
font-weight: 600;
padding: 2px 8px;
border-radius: 4px;
}
.kindMain {
background: #1c2030;
color: #8a93a8;
}
.kindBoss {
background: linear-gradient(135deg, #ff9533, #ffaa00);
color: #1a1500;
}
.cardBody {
padding: 10px 12px;
}
.title {
font-size: 14px;
font-weight: 600;
line-height: 1.35;
margin-bottom: 8px;
}
.stats {
display: flex;
gap: 12px;
font-size: 12px;
color: #8a93a8;
align-items: center;
}
.stats strong {
color: #66b3ff;
font-size: 14px;
}
.statusFile {
color: #5fd886;
font-weight: 600;
margin-left: auto;
}
.statusSynth {
color: #ffaa66;
font-weight: 600;
margin-left: auto;
}
.cardActions {
padding: 8px 12px 10px;
border-top: 1px dashed #3a4156;
display: flex;
gap: 10px;
align-items: center;
}
.btnPlay, .btnStop {
padding: 6px 14px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 13px;
font-weight: 600;
transition: all 0.1s;
}
.btnPlay {
background: #2db360;
color: white;
}
.btnPlay:hover {
background: #34c970;
}
.btnStop {
background: #cc4444;
color: white;
}
.btnStop:hover {
background: #dd5555;
}
.trackId {
margin-left: auto;
font-size: 11px;
color: #8a93a8;
background: #1c2030;
padding: 2px 6px;
border-radius: 3px;
}
.footer {
margin-top: 32px;
padding: 18px 20px;
background: #232938;
border-radius: 8px;
border: 1px solid #2f3548;
color: #cdd4e0;
font-size: 13px;
line-height: 1.6;
}
.footer p {
margin: 6px 0;
}
.footer ol {
margin: 8px 0;
padding-left: 22px;
}
.footer code {
background: #1c2030;
padding: 1px 6px;
border-radius: 3px;
font-size: 12px;
color: #66b3ff;
}