mirror of
https://github.com/wanglin2/obsidian-simplemindmap.git
synced 2026-07-22 18:20:28 +00:00
155 lines
No EOL
2.7 KiB
CSS
155 lines
No EOL
2.7 KiB
CSS
.smm-save-tip {
|
|
font-size: 12px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.smm-setting-link-list .smm-setting-link-item {
|
|
margin-right: var(--size-4-4);
|
|
}
|
|
|
|
.smm-setting-link-list .smm-setting-link-item svg {
|
|
height: 30px;
|
|
margin-right: 8px;
|
|
width: 30px;
|
|
}
|
|
|
|
.smm-setting-link-list .smm-setting-link-item a {
|
|
align-items: center;
|
|
display: flex;
|
|
text-align: left;
|
|
}
|
|
|
|
.smm-setting-sub-item {
|
|
padding-left: 50px;
|
|
}
|
|
|
|
.smm-setting-item-enable-select {
|
|
user-select: text;
|
|
}
|
|
|
|
/* 字体管理弹窗样式 */
|
|
.smm-font-manager-modal {
|
|
}
|
|
|
|
.smm-font-manager-modal hr {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.smm-font-manager-modal h2 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.smm-font-manager-modal .smm-font-search-input {
|
|
width: 100%;
|
|
padding: 8px;
|
|
margin-bottom: 10px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.smm-font-results-list,
|
|
.smm-added-fonts-list {
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.smm-font-results-list li,
|
|
.smm-added-fonts-list li {
|
|
padding: 8px 12px;
|
|
margin-bottom: 5px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.smm-font-results-list li {
|
|
background-color: var(--background-secondary);
|
|
transition: background-color 0.2s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.smm-font-results-list li:hover {
|
|
background-color: var(--background-primary-alt);
|
|
}
|
|
|
|
.smm-added-fonts-list li {
|
|
background-color: var(--background-secondary);
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.smm-added-fonts-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.smm-added-fonts-list li {
|
|
width: 49%;
|
|
}
|
|
|
|
.smm-font-name {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.smm-remove-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: var(--cursor);
|
|
padding: 4px;
|
|
border-radius: var(--radius-s);
|
|
color: var(--icon-color);
|
|
opacity: var(--icon-opacity);
|
|
}
|
|
|
|
.smm-remove-btn:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
|
|
/* ob白板 */
|
|
.smm-canvas-node-content {
|
|
justify-content: center;
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
|
|
.smm-canvas-node-content img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
/* 悬浮预览弹窗 */
|
|
.smm-popover-img-preview-content img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
/* 确认弹窗样式 */
|
|
.smm-confirm-dialog-content, .smm-text-info-dialog-content {
|
|
padding: 16px 0;
|
|
line-height: 1.6;
|
|
margin-bottom: 16px;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.smm-confirm-dialog-content p, .smm-text-info-dialog-content p {
|
|
margin: 0;
|
|
}
|
|
|
|
.smm-confirm-dialog-buttons, .smm-text-info-dialog-buttons {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
/* 文字信息弹窗 */
|
|
.smm-text-info-dialog-content p a {
|
|
color: var(--text-accent);
|
|
} |