@use '@/styles/variables.scss' as *; // 导入全局样式变量 // ===== 创建应用页面样式 ===== // 注意: // 1. 主容器使用全局的 .page-layout(已定义在 PageLayout/index.less) // 2. 标题栏使用 .list-header.with-back(已定义在 global.less) // 3. 此处只定义页面特定的表单和布局样式,不要覆盖全局样式 // ===== 预设问题区域 ===== .preset-questions { margin: $spacing-6 0; h4 { margin-bottom: $spacing-4; color: $text-primary; font-size: $font-lg; font-weight: $font-weight-medium; } .question-item { display: flex; align-items: center; margin-bottom: $spacing-3; gap: $spacing-3; label { min-width: 80px; color: $text-secondary; font-size: $font-md; } .question-input { flex: 1; min-width: 200px; } .question-actions { display: flex; gap: $spacing-2; .question-icon { font-size: 18px; color: $primary-color; cursor: pointer; transition: all 0.2s ease; &:hover { color: $primary-color-hover; transform: scale(1.1); } } } } } // ===== Splitter 布局 ===== .app-splitter { border: 1px solid $border-light; border-radius: $radius-lg; height: calc(100vh - 200px); min-height: 400px; .splitter-panel { padding: $spacing-5; overflow-y: auto; } } // ===== Prompt 编辑区 ===== .prompt-editor { width: 100%; height: 100%; display: flex; flex-direction: column; .prompt-info { margin-bottom: $spacing-3; .variable-highlight { color: $primary-color; font-weight: $font-weight-medium; padding: 2px 6px; border-radius: $radius-sm; background: rgba(0, 93, 128, 0.1); font-family: $font-family-mono; } } .prompt-textarea { flex: 1; min-height: 300px; resize: vertical; } } // ===== 隐藏滚动条 ===== .hide-scrollbar { scrollbar-width: none; -ms-overflow-style: none; &::-webkit-scrollbar { display: none; } }