* 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): 移除正则表达式中不必要的转义字符
125 lines
2.6 KiB
CSS
125 lines
2.6 KiB
CSS
.qrcode-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);
|
|
}
|
|
|
|
.qrcode-dialog {
|
|
background: var(--panel-background, #2d2d2d);
|
|
border-radius: 8px;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
|
width: 320px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.qrcode-dialog-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px;
|
|
border-bottom: 1px solid var(--border-color, #404040);
|
|
}
|
|
|
|
.qrcode-dialog-header h3 {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--text-color, #e0e0e0);
|
|
}
|
|
|
|
.qrcode-dialog-close {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-secondary, #808080);
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.qrcode-dialog-close:hover {
|
|
background: var(--hover-background, #3d3d3d);
|
|
color: var(--text-color, #e0e0e0);
|
|
}
|
|
|
|
.qrcode-dialog-content {
|
|
padding: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.qrcode-dialog-content canvas,
|
|
.qrcode-dialog-content img {
|
|
background: white;
|
|
border-radius: 4px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.qrcode-loading,
|
|
.qrcode-error {
|
|
width: 200px;
|
|
height: 200px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--input-background, #1e1e1e);
|
|
border-radius: 4px;
|
|
color: var(--text-secondary, #808080);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.qrcode-url-container {
|
|
display: flex;
|
|
width: 100%;
|
|
gap: 8px;
|
|
}
|
|
|
|
.qrcode-url-input {
|
|
flex: 1;
|
|
padding: 8px 12px;
|
|
background: var(--input-background, #1e1e1e);
|
|
border: 1px solid var(--border-color, #404040);
|
|
border-radius: 4px;
|
|
color: var(--text-color, #e0e0e0);
|
|
font-size: 12px;
|
|
font-family: monospace;
|
|
}
|
|
|
|
.qrcode-url-input:focus {
|
|
outline: none;
|
|
border-color: var(--accent-color, #0078d4);
|
|
}
|
|
|
|
.qrcode-copy-button {
|
|
padding: 8px;
|
|
background: var(--button-background, #3d3d3d);
|
|
border: 1px solid var(--border-color, #404040);
|
|
border-radius: 4px;
|
|
color: var(--text-color, #e0e0e0);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.qrcode-copy-button:hover {
|
|
background: var(--button-hover-background, #4d4d4d);
|
|
}
|
|
|
|
.qrcode-hint {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
color: var(--text-secondary, #808080);
|
|
text-align: center;
|
|
} |