-
一直弹出这个通知,能不能关掉呀?
2024-01-31 17:48@player @Near 可能是文档层级导航插件的问题,详情见帖子: 请问这个通知怎么关闭?
后续请关注 issue:Issue #36 · OpaqueGlass/syplugin-hierarchyNavigate
-
请问这个通知怎么关闭?
2024-01-31 16:18请问这个通知怎么关闭? - 88250 的回帖 :可能是某个插件调用了
listDocsByPath
接口,并且传入了参数maxListCount
,如果是的话,只需要取消传入这个参数就可以使用 设置 - 文档树 - 最大列出数量 的配置值了,关联 Issue #7993 · siyuan-note/siyuan那你或许可以试试关闭所有插件,然后一个个排查看看
-
求一个无序列表样式的 CSS 代码片段
2024-01-31 16:05想要代码行数少一点的话,就用这个:
/* 自定义无序列表样式 https://ld246.com/article/1706265880167?r=a2930610542 */ /* 无序列表块、嵌入块、浮窗聚焦 */ [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action svg, [class="protyle-wysiwyg__embed"]>.li[data-subtype="u"]>.protyle-action svg, [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>.li[data-subtype="u"]>.protyle-action svg{ color:transparent; } [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action::before, [class="protyle-wysiwyg__embed"]>.li[data-subtype="u"]>.protyle-action::before, [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>.li[data-subtype="u"]>.protyle-action::before{ font-size: 1.5em; line-height: 1; margin-bottom: 0px; margin-left:13px; font-family: Arial; content: "▪"; } [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before, [class="protyle-wysiwyg__embed"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before, [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{ content: "•"; } [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before, [class="protyle-wysiwyg__embed"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before, [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{ content: "◦"; }
-
求一个无序列表样式的 CSS 代码片段
2024-01-31 15:48我搞明白了,我的列表跟你的有一点点不一样,我单独适配了三种情况,现在这个代码应该行了:
(刚刚更新了一下回帖,现在肯定行了)
/* 自定义无序列表样式 https://ld246.com/article/1706265880167?r=a2930610542 */ /* 无序列表块 */ [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action svg{ color:transparent; } [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action::before { font-size: 1.5em; line-height: 1; margin-bottom: 0px; margin-left:13px; font-family: Arial; content: "▪"; } [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{ content: "•"; } [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{ content: "◦"; } /* 嵌入块 */ [class="protyle-wysiwyg__embed"]>.li[data-subtype="u"]>.protyle-action svg{ color:transparent; } [class="protyle-wysiwyg__embed"]>.li[data-subtype="u"]>.protyle-action::before { font-size: 1.5em; line-height: 1; margin-bottom: 0px; margin-left:13px; font-family: Arial; content: "▪"; } [class="protyle-wysiwyg__embed"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{ content: "•"; } [class="protyle-wysiwyg__embed"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{ content: "◦"; } /* 浮窗 */ [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>.li[data-subtype="u"]>.protyle-action svg{ color:transparent; } [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>.li[data-subtype="u"]>.protyle-action::before { font-size: 1.5em; line-height: 1; margin-bottom: 0px; margin-left:13px; font-family: Arial; content: "▪"; } [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{ content: "•"; } [class="protyle-wysiwyg protyle-wysiwyg--attr"][data-doc-type="NodeListItem"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{ content: "◦"; }
-
求一个无序列表样式的 CSS 代码片段
2024-01-31 13:45可能之前的代码的缩进有点问题,我稍微改了一下,你再用这个试试看:
/* 自定义无序列表样式 https://ld246.com/article/1706265880167?r=a2930610542 */ [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action svg{ color:transparent; } [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action::before { font-size: 1.5em; line-height: 1; margin-bottom: 0px; margin-left:13px; font-family: Arial; content: "▪"; } [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{ content: "•"; } [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{ content: "◦"; }
-
求一个无序列表样式的 CSS 代码片段
2024-01-30 20:26我不明白你那里是什么情况,我这里是没问题的:
可能跟什么插件或者代码片段冲突了,每行都加 !important 试试:
/* 自定义无序列表样式 https://ld246.com/article/1706265880167?r=a2930610542 */ [data-subtype="u"] > .li[data-subtype="u"] > .protyle-action svg { color: transparent !important; } [data-subtype="u"] > .li[data-subtype="u"] > .protyle-action::before { font-size: 1.5em !important; line-height: 1 !important; margin-bottom: 0px !important; margin-left: 13px !important; font-family: Arial !important; content: "▪" !important; } [data-subtype="u"] > [data-subtype="u"] .li[data-subtype="u"] > .protyle-action::before { content: "•" !important; } [data-subtype="u"] > [data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"] > .protyle-action::before { content: "◦" !important; }
-
思源笔记的标签层级不够明显;进度条需要优化
2024-01-30 20:02我用了写味主题、headingIndex 插件、CSS 片段实现了这样的效果:
/* 左右移动标题位置 CSS片段 */ .b3-typography>.h1, .protyle-wysiwyg>.h1 { margin-left: -35px; /* 负值可以根据需要进行调整 */ } .b3-typography>.h2, .b3-typography>.h3, .b3-typography>.h4, .b3-typography>.h5, .b3-typography>.h6, .protyle-wysiwyg>.h2, .protyle-wysiwyg>.h3, .protyle-wysiwyg>.h4, .protyle-wysiwyg>.h5, .protyle-wysiwyg>.h6 { margin-left: -20px; /* 负值可以根据需要进行调整 */ }
-
思源笔记的标签层级不够明显;进度条需要优化
2024-01-30 19:56另一个问题是右边那个蓝色的应该是进度条吧,电脑上还有一个进度条能用,手机上只有这一个进度条,反应特别迟钝,拖动几乎没法用
那个实际上是用于定位特定的块,所以是靠点击而不是拖动的:
电脑上的话还可以自己用 CSS 片段改滚动条的样式,手机上就没用了:
/* 滚动条样式 CSS片段 */ ::-webkit-scrollbar { width: 10px; /* 粗细 */ } ::-webkit-scrollbar-thumb { border: 1px solid #8080804a; /* 边框颜色 */ background-color: #B5B5B5; /* 颜色 */ box-sizing: content-box; border-radius: 10px !important; /* 粗细 */ } /* 在鼠标悬停时的样式 */ ::-webkit-scrollbar-thumb:hover{ background-color: #696969; /* 颜色 */ }
-
求一个无序列表样式的 CSS 代码片段
2024-01-30 17:07写好了,先试试看行不行,没 BUG 的话请采纳:
/* 自定义无序列表样式 https://ld246.com/article/1706265880167?r=a2930610542 */ [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action svg{ color:transparent; } [data-subtype="u"]>.li[data-subtype="u"]>.protyle-action::before { font-size: 1.5em; line-height: 1; margin-bottom: 0px; margin-left:13px; font-family: Arial; content: "▪"; } [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{ content: "•"; } [data-subtype="u"]>[data-subtype="u"] .li[data-subtype="u"] .li[data-subtype="u"]>.protyle-action::before{ content: "◦"; }