openclaw-zhiyi-plugin/styles.css

47 lines
958 B
CSS

/* 织忆插件全局样式 */
/* 侧边栏视图通用 */
.workspace-leaf-content[data-type="zhiyi-memory-view"],
.workspace-leaf-content[data-type="zhiyi-graph-view"] {
height: 100%;
}
/* 分页按钮 */
.zhiyi-pagination button:hover:not(:disabled) {
background: var(--background-modifier-hover);
}
/* 搜索模态框覆盖层 */
.zhiyi-search-modal .modal-bg {
background: rgba(0, 0, 0, 0.4);
}
.zhiyi-search-modal .modal-container {
border: 1px solid var(--background-modifier-border);
border-radius: 8px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
/* 图谱 tooltip */
.zhiyi-tooltip {
pointer-events: none;
z-index: 100;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
/* 设置页 */
.zhiyi-settings-section {
padding: 12px 0;
}
.zhiyi-settings-section h3 {
font-size: 13px;
font-weight: 600;
color: var(--text-normal);
margin: 0 0 8px;
}
/* 蒸馏警告高亮 */
.zhiyi-warn {
color: #ff6b6b;
font-weight: 700;
}