Commit graph

7081 commits

Author SHA1 Message Date
Jeffrey Chen
698698eec1
style: 改进字号 CSS 和列表项的伪元素布局 (#13959)
* style: 添加 --b3-font-size-editor 变量

* style: 添加 --b3-font-size-editor 变量
2025-01-30 11:51:07 +08:00
Vanessa
68ecf0ef48 🎨 https://github.com/siyuan-note/siyuan/pull/13937 2025-01-30 11:48:54 +08:00
Vanessa
54fc5dd5a2 🎨 https://github.com/siyuan-note/siyuan/pull/13937 2025-01-29 23:58:52 +08:00
Vanessa
46e7b0d82b 🎨 https://github.com/siyuan-note/siyuan/pull/13821 2025-01-29 23:43:58 +08:00
Jeffrey Chen
c93dc582a5
Improve the ghosting of list items fix https://github.com/siyuan-note/siyuan/issues/11920 (#13821)
* style: 去除 ghost 元素的高亮

* fix(drag): 改进列表项拖影

* fix(drag): 改进列表项拖影

* clean code
2025-01-29 23:25:43 +08:00
Vanessa
332f859684 🎨 https://github.com/siyuan-note/siyuan/pull/13927 2025-01-29 23:17:40 +08:00
Jeffrey Chen
6abaa967cb
style(typography): 将标记的样式移到行级样式末尾,覆盖键盘样式和备注样式 (#13845) 2025-01-29 21:46:10 +08:00
Vanessa
2ea36de32c 🎨 https://github.com/siyuan-note/siyuan/pull/13927 2025-01-29 21:40:58 +08:00
Davide Garberi
1415aa1d8f
app: Emit bus paste event for pasteText as well (#13927)
* This allows having the emit function working properly on mobile
   as well, which means being able to trigger plugins that use this.
2025-01-29 21:31:02 +08:00
Jeffrey Chen
32b9b9919a
style(menu): 分隔线使用默认光标 (#13854) 2025-01-29 21:11:13 +08:00
Vanessa
7f1db1fefd 🎨 https://github.com/siyuan-note/siyuan/pull/13564 2025-01-29 20:48:56 +08:00
Jeffrey Chen
d9d48273fb
style: Improve block styles (#13564)
* style: 调整列表项的伪元素竖线高度

* style: 选中嵌入块的高亮覆盖其 border

* style: 代码块 margin 与其他块统一、代码块语言的位置有点难看

* style: 公式块 margin 与其他块统一

* style: iframe 块 margin 与其他块统一

* style: 标题块 margin padding 与其他块统一、标题文本在块内垂直居中

* style: 去除表格块下方多余的空白

* style: 避免标题块高度抖动(空标题块和有内容的标题块高度不一致)

* style: 选中水平布局超级块内的单个块时,高亮范围与超级块保持一致,覆盖 margin

* style: 使用 flex 避免超级块内的相邻子块发生外边距折叠 margin collapsing

* style: 选中水平布局超级块内的单个嵌入块时,高亮范围与超级块保持一致,覆盖 border 和 margin

* style: 添加编辑器字号的基准 CSS 变量 --b3-font-size-editor 供主题或插件使用

比如用 CSS 实现界面字号与编辑器字号同步调整

body > #dockBottom, body > .fn__flex-1 {
    font-size: calc(var(--b3-font-size-editor) - 2px);
}

* style: Improve block styles

* style: 减小列表内的标题块行高
2025-01-29 12:36:20 +08:00
Daniel
d98d62dcc5
🎨 Improve file:// address decoding https://github.com/siyuan-note/siyuan/issues/13908 2025-01-27 15:19:33 +08:00
Daniel
15349ebfb1
🎨 Improve file:// address decoding https://github.com/siyuan-note/siyuan/issues/13908 2025-01-27 14:23:02 +08:00
Vanessa
bf78cf03b6 🎨 https://github.com/siyuan-note/siyuan/issues/12175 2025-01-26 11:54:00 +08:00
Vanessa
cc14e5b75a 🐛 config 2025-01-26 11:44:21 +08:00
Vanessa
a368d6fc4b 🎨 https://github.com/siyuan-note/siyuan/issues/13945 2025-01-26 11:00:10 +08:00
Vanessa
5143121ac4 🎨 https://github.com/siyuan-note/siyuan/issues/13780 2025-01-26 09:38:32 +08:00
Gary Wang
25054e137c
style: finetuning titlebar look-n-feel for PWA support (#13779)
The previous patch (675e59c) introduce initial PWA WCO support,
this patch finetunes the PWA titlebar support by ensure the
titlebar is always visible and fill 100% page (window)
width, with the following changes:

* Use margin instead of padding to ensure 'width' fills 100% page
  width, so does bottom border.

Remaining PWA stuff:

The remaining PWA WCO part have inconsistent color with the actual
color that SiYuan('s titlebar) uses, thus to make the PWA titlebar
feel native, we still needs to set either:

- a "theme-color" `<meta>` attribute (suggested)
- a "theme_color" member in the PWA manifest

...which will be a seprated topic that won't be worked on in this
patchset.

Also, the titlebar bottom border might be covered by the WCO, since
it involves half-pixel border issue which seems to be by-design,
I won't address such issue in this patchset.

See also:

* https://github.com/siyuan-note/siyuan/issues/13226#issuecomment-2594551219
  This patchset can address this issue
* https://github.com/siyuan-note/siyuan/pull/13779#discussion_r1918108643
  Previously mentioned half-pixel issue
2025-01-26 09:07:38 +08:00
Vanessa
8d9cc439db Merge remote-tracking branch 'origin/dev' into dev 2025-01-18 00:12:55 +08:00
Vanessa
e982d4c1d9 🎨 https://github.com/siyuan-note/siyuan/issues/13846 2025-01-18 00:12:41 +08:00
Daniel
51d3c737fb
🎨 Improve code block parsing https://github.com/siyuan-note/siyuan/issues/13831 2025-01-17 23:31:58 +08:00
Vanessa
cee6d444d7 🎨 https://github.com/siyuan-note/siyuan/issues/13826 2025-01-17 18:16:55 +08:00
Vanessa
c3342935d6 🎨 https://github.com/siyuan-note/siyuan/issues/13843 2025-01-17 17:59:14 +08:00
Vanessa
0636b2e1fb 🎨 重启后 listDocsByPath 请求重复 2025-01-16 22:58:13 +08:00
Vanessa
b508170638 🚨 2025-01-16 22:29:27 +08:00
Vanessa
e260b462a2
🎨 https://github.com/siyuan-note/siyuan/issues/13753 2025-01-16 21:30:28 +08:00
Daniel
6f98849e9c
🎨 PNPM Lint 2025-01-16 10:00:30 +08:00
Vanessa
2b22ff9aa6 🎨 https://github.com/siyuan-note/siyuan/issues/13793 2025-01-15 11:42:08 +08:00
Vanessa
c70bf3571f 🎨 https://github.com/siyuan-note/siyuan/issues/13677 2025-01-15 10:58:22 +08:00
Vanessa
db60169f1d 🎨 https://github.com/siyuan-note/siyuan/issues/13801 2025-01-14 23:36:59 +08:00
Vanessa
af42046c91 🎨 https://github.com/siyuan-note/siyuan/issues/13796 2025-01-14 23:04:03 +08:00
Vanessa
cffec4b0e8 🎨 https://github.com/siyuan-note/siyuan/issues/13735 2025-01-14 22:28:03 +08:00
Vanessa
e55214da2f 🎨 https://github.com/siyuan-note/siyuan/issues/13704 2025-01-14 22:06:40 +08:00
Vanessa
bddb5bd706 Merge remote-tracking branch 'origin/dev' into dev 2025-01-14 21:49:50 +08:00
Vanessa
c4c656c16a 🎨 https://github.com/siyuan-note/siyuan/issues/13704 2025-01-14 21:47:31 +08:00
Jeffrey Chen
4325228196
🎨 Improve text
* fix(hint): https://github.com/siyuan-note/siyuan/issues/13802

* fix(hint): https://github.com/siyuan-note/siyuan/issues/13802
2025-01-14 17:20:04 +08:00
Vanessa
6eaaf77a41 🎨 https://github.com/siyuan-note/siyuan/issues/13791 2025-01-13 18:00:26 +08:00
Vanessa
5d8a899d7e 🎨 https://github.com/siyuan-note/siyuan/issues/13791 2025-01-13 17:55:42 +08:00
Vanessa
6a817cecf1 🎨 https://github.com/siyuan-note/siyuan/issues/13791 2025-01-13 13:44:05 +08:00
Vanessa
fe84fb6abf 🎨 https://github.com/siyuan-note/siyuan/issues/13791 2025-01-13 13:25:31 +08:00
Vanessa
a635bcbafd 🎨 https://github.com/siyuan-note/siyuan/issues/13791 2025-01-13 12:47:28 +08:00
Daniel
8996effcb2
🎨 Clean code 2025-01-12 22:16:03 +08:00
Vanessa
64c2e6f102 🎨 https://github.com/siyuan-note/siyuan/issues/13797 2025-01-12 18:58:59 +08:00
Vanessa
c6e06b9f21 🎨 https://github.com/siyuan-note/siyuan/issues/13704 2025-01-12 18:35:56 +08:00
Vanessa
997be84ac4 🎨 https://github.com/siyuan-note/siyuan/issues/13704 2025-01-12 17:59:54 +08:00
Vanessa
06fe73f598 🎨 https://github.com/siyuan-note/siyuan/issues/13704 2025-01-12 17:53:14 +08:00
Vanessa
2ac80f3cb1 🎨 主键转义 2025-01-12 17:41:23 +08:00
Vanessa
9704c6e300 🎨 2025-01-12 17:39:25 +08:00
Vanessa
06ec052ded 🎨 https://github.com/siyuan-note/siyuan/issues/13429 2025-01-12 17:24:54 +08:00