mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-11 15:12:33 +01:00
This commit is contained in:
parent
0dd627fe52
commit
84da3069fc
1 changed files with 20 additions and 13 deletions
|
|
@ -326,10 +326,6 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .protyle-action__drag {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.protyle-action__drag {
|
.protyle-action__drag {
|
||||||
height: 30%;
|
height: 30%;
|
||||||
width: 4px;
|
width: 4px;
|
||||||
|
|
@ -382,10 +378,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& > [contenteditable="false"] > .img:hover .protyle-action__drag {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.iframe {
|
&.iframe {
|
||||||
// https://ld246.com/article/1644827326901
|
// https://ld246.com/article/1644827326901
|
||||||
// https://github.com/siyuan-note/siyuan/issues/4172
|
// https://github.com/siyuan-note/siyuan/issues/4172
|
||||||
|
|
@ -410,10 +402,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .protyle-action__drag {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.protyle-action__drag {
|
.protyle-action__drag {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
width: 4px;
|
width: 4px;
|
||||||
|
|
@ -595,12 +583,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 在思源中,不论只读模式还是预览点击图片都可以进行预览
|
||||||
|
.protyle .img > span:nth-child(2) {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
// 导出 html 不需要编辑样式
|
// 导出 html 不需要编辑样式
|
||||||
.protyle-wysiwyg[data-readonly="false"] {
|
.protyle-wysiwyg[data-readonly="false"] {
|
||||||
span[data-type~="inline-math"],
|
span[data-type~="inline-math"],
|
||||||
span[data-type~="tag"],
|
span[data-type~="tag"],
|
||||||
.protyle-action__language,
|
.protyle-action__language,
|
||||||
.img > span:nth-child(2),
|
|
||||||
.render-node {
|
.render-node {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
@ -609,6 +601,12 @@
|
||||||
background-color: var(--b3-theme-surface-lighter);
|
background-color: var(--b3-theme-surface-lighter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.img:hover .protyle-action__drag,
|
||||||
|
.iframe:hover .protyle-action__drag {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
.code-block .protyle-action {
|
.code-block .protyle-action {
|
||||||
-webkit-user-modify: read-only;
|
-webkit-user-modify: read-only;
|
||||||
|
|
||||||
|
|
@ -671,6 +669,15 @@
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.av__cell {
|
||||||
|
cursor: inherit;
|
||||||
|
|
||||||
|
&text--url,
|
||||||
|
&assetimg {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.av__cell[data-block-id] > .block__icon[data-type="copy"] {
|
.av__cell[data-block-id] > .block__icon[data-type="copy"] {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue