mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-06-13 18:31:16 +08:00
feat: 生成参数全面汉化 + 滑动条改造
- 20 个字段标签全部中文化 - 基础: 最大上下文/补全 Tokens、回复次数、流式输出、温度、种子等 - 惩罚: 频率惩罚、存在惩罚、重复惩罚 - 行为: 合并系统消息、推理努力度、请求思考过程、函数调用等 - 7 个连续参数改为滑动条 + 精确数字输入 - temperature(0-2), top_p/top_a/min_p(0-1) - frequency/presence_penalty(-2~2), repetition_penalty(0-3) - 双向同步: 拖动滑块自动更新数字输入及反向 - CSS: 自定义轨道/滑块/hover glow/紧凑数字框
This commit is contained in:
63
style.css
63
style.css
@@ -1506,6 +1506,69 @@
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
/* ── 滑动条组件 ── */
|
||||
|
||||
.bme-range-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.bme-range-input {
|
||||
flex: 1;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
height: 4px;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 2px;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.bme-range-input::-webkit-slider-thumb {
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background: var(--bme-primary);
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
border: 2px solid rgba(0, 0, 0, 0.3);
|
||||
transition: box-shadow 0.15s ease;
|
||||
}
|
||||
|
||||
.bme-range-input::-webkit-slider-thumb:hover {
|
||||
box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.15);
|
||||
}
|
||||
|
||||
.bme-range-input::-moz-range-thumb {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background: var(--bme-primary);
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
border: 2px solid rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.bme-range-input::-moz-range-track {
|
||||
height: 4px;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.bme-range-number {
|
||||
width: 72px;
|
||||
flex-shrink: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bme-range-value {
|
||||
font-size: 11px;
|
||||
font-weight: 400;
|
||||
color: var(--bme-primary);
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.bme-task-section-label {
|
||||
margin: 16px 0 10px;
|
||||
font-size: 11px;
|
||||
|
||||
Reference in New Issue
Block a user