olcubo_obsidian-cubox/styles.css
2025-03-17 16:26:24 +08:00

81 lines
No EOL
1.4 KiB
CSS

/*
This CSS file will be included with your plugin, and
available in the app when your plugin is enabled.
If your plugin does not need CSS, delete this file.
*/
/* 文件夹选择模态框样式 */
.folder-list {
max-height: 300px;
overflow-y: auto;
margin: 10px 0;
border: 1px solid var(--background-modifier-border);
border-radius: 4px;
padding: 5px;
}
.modal-footer {
display: flex;
justify-content: flex-end;
margin-top: 20px;
gap: 10px;
}
.modal-footer button {
padding: 6px 12px;
border-radius: 4px;
background-color: var(--interactive-normal);
color: var(--text-normal);
cursor: pointer;
}
.modal-footer button.mod-cta {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
/* 变量列表样式优化 */
.cubox-variables-container {
margin: 20px 0;
color: var(--text-muted);
}
.cubox-variables-title {
font-weight: 500;
margin-bottom: 8px;
color: var(--text-normal);
}
.cubox-variables-list {
margin: 0;
padding-left: 15px;
list-style-type: disc;
}
.cubox-variables-list li {
margin-bottom: 4px;
line-height: 1.2;
}
.highlight-sublist {
margin-top: 4px;
padding-left: 15px;
list-style-type: disc;
}
.cubox-reference {
margin-top: 10px;
font-size: 1.0em;
}
.reference-link {
color: var(--text-accent);
text-decoration: none;
}
.reference-link:hover {
text-decoration: underline;
}