Files
esengine/packages/editor-app/src/styles/CompileDialog.css
YHH 107439d70c Feature/runtime cdn and plugin loader (#240)
* feat(ui): 完善 UI 布局系统和编辑器可视化工具

* refactor: 移除 ModuleRegistry,统一使用 PluginManager 插件系统

* fix: 修复 CodeQL 警告并提升测试覆盖率

* refactor: 分离运行时入口点,解决 runtime bundle 包含 React 的问题

* fix(ci): 添加 editor-core 和 editor-runtime 到 CI 依赖构建步骤

* docs: 完善 ServiceContainer 文档,新增 Symbol.for 模式和 @InjectProperty 说明

* fix(ci): 修复 type-check 失败问题

* fix(ci): 修复类型检查失败问题

* fix(ci): 修复类型检查失败问题

* fix(ci): behavior-tree 构建添加 @tauri-apps 外部依赖

* fix(ci): behavior-tree 添加 @tauri-apps/plugin-fs 类型依赖

* fix(ci): platform-web 添加缺失的 behavior-tree 依赖

* fix(lint): 移除正则表达式中不必要的转义字符
2025-11-27 20:42:46 +08:00

177 lines
3.4 KiB
CSS

.compile-dialog-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
z-index: var(--z-index-modal);
}
.compile-dialog {
background: #1e1e1e;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
min-width: 500px;
max-width: 800px;
width: 90%;
max-height: 90vh;
display: flex;
flex-direction: column;
}
.compile-dialog-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 20px;
border-bottom: 1px solid #3e3e3e;
}
.compile-dialog-header h3 {
margin: 0;
font-size: 16px;
font-weight: 600;
color: #cccccc;
}
.compile-dialog-close {
background: transparent;
border: none;
color: #cccccc;
cursor: pointer;
padding: 4px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
transition: background 0.2s;
}
.compile-dialog-close:hover {
background: #2a2a2a;
}
.compile-dialog-content {
padding: 20px;
overflow-y: auto;
flex: 1;
}
.compile-dialog-description {
padding: 12px;
background: #252526;
border-left: 3px solid #0e639c;
margin-bottom: 20px;
font-size: 13px;
color: #999;
line-height: 1.5;
}
.compile-dialog-error {
padding: 12px;
background: rgba(244, 135, 113, 0.1);
border-left: 3px solid #f48771;
margin-bottom: 16px;
font-size: 13px;
color: #f48771;
}
.compile-dialog-result {
padding: 16px;
border-radius: 6px;
margin-top: 16px;
font-size: 13px;
}
.compile-dialog-result.success {
background: rgba(137, 209, 133, 0.1);
border: 1px solid rgba(137, 209, 133, 0.3);
color: #89d185;
}
.compile-dialog-result.error {
background: rgba(244, 135, 113, 0.1);
border: 1px solid rgba(244, 135, 113, 0.3);
color: #f48771;
}
.compile-dialog-result-message {
font-weight: 600;
margin-bottom: 12px;
}
.compile-dialog-output-files {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.compile-dialog-output-file {
padding: 6px 10px;
background: rgba(0, 0, 0, 0.2);
border-radius: 4px;
margin-bottom: 6px;
font-family: 'Consolas', 'Monaco', monospace;
font-size: 12px;
}
.compile-dialog-errors {
margin-top: 12px;
padding-top: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.compile-dialog-error-item {
padding: 6px 10px;
background: rgba(0, 0, 0, 0.2);
border-radius: 4px;
margin-bottom: 6px;
font-family: 'Consolas', 'Monaco', monospace;
font-size: 12px;
}
.compile-dialog-footer {
display: flex;
justify-content: flex-end;
gap: 12px;
padding: 16px 20px;
border-top: 1px solid #3e3e3e;
}
.compile-dialog-btn {
padding: 8px 20px;
border: none;
border-radius: 4px;
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.compile-dialog-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.compile-dialog-btn-cancel {
background: #3a3a3a;
color: #cccccc;
}
.compile-dialog-btn-cancel:hover:not(:disabled) {
background: #4a4a4a;
}
.compile-dialog-btn-primary {
background: #0e639c;
color: #ffffff;
}
.compile-dialog-btn-primary:hover:not(:disabled) {
background: #1177bb;
}