generated from dellevin/template
首次提交
This commit is contained in:
80
styles.css
Normal file
80
styles.css
Normal file
@@ -0,0 +1,80 @@
|
||||
.ai-tag-modal .tags-container {
|
||||
margin-bottom: 1em;
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
padding-right: 5px;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: var(--radius-m);
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.ai-tag-modal .tag-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 0.3em;
|
||||
gap: 0.5em;
|
||||
}
|
||||
|
||||
.ai-tag-modal .tag-input {
|
||||
flex-grow: 1;
|
||||
margin: 0;
|
||||
padding: 0.2em 0.4em;
|
||||
font-size: var(--font-ui-small);
|
||||
}
|
||||
|
||||
.ai-tag-modal .remove-tag-btn {
|
||||
margin: 0;
|
||||
padding: 0 0.4em;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: var(--radius-s);
|
||||
color: var(--text-error);
|
||||
font-weight: bold;
|
||||
height: calc(var(--input-height) - 2px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.ai-tag-modal .remove-tag-btn:hover {
|
||||
background-color: var(--background-modifier-hover);
|
||||
color: var(--text-error-hover);
|
||||
}
|
||||
|
||||
.ai-tag-modal .add-tag-btn {
|
||||
margin-bottom: 1em;
|
||||
align-self: flex-start;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
/* --- 新增样式 --- */
|
||||
.ai-tag-modal .ai-thought-details {
|
||||
margin-bottom: 1em;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: var(--radius-m);
|
||||
overflow: hidden; /* 防止内容溢出 */
|
||||
}
|
||||
|
||||
.ai-tag-modal .ai-thought-summary {
|
||||
padding: 0.5em 0.8em;
|
||||
background-color: var(--background-secondary-alt);
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
margin: 0; /* 重置默认margin */
|
||||
}
|
||||
|
||||
.ai-tag-modal .ai-thought-details[open] .ai-thought-summary {
|
||||
border-bottom: 1px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.ai-tag-modal .ai-raw-output {
|
||||
padding: 0.5em 0.8em;
|
||||
white-space: pre-wrap; /* 保留换行符并自动换行 */
|
||||
font-family: var(--font-monospace); /* 使用等宽字体,便于阅读代码或结构化文本 */
|
||||
font-size: var(--font-smallest);
|
||||
max-height: 200px; /* 限制最大高度,配合滚动 */
|
||||
overflow-y: auto;
|
||||
background-color: var(--background-primary-alt); /* 背景色区分 */
|
||||
}
|
||||
Reference in New Issue
Block a user