@ixo/editor 7.5.2 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CollectionLifecycleFlowDetail-2SRQUN4V.js → CollectionLifecycleFlowDetail-UL2HCPDI.js} +3 -6
- package/dist/CollectionLifecycleFlowDetail-UL2HCPDI.js.map +1 -0
- package/dist/{EvalEngineFlowDetail-FQAX4PJ5.js → EvalEngineFlowDetail-JTZWOUTV.js} +3 -6
- package/dist/EvalEngineFlowDetail-JTZWOUTV.js.map +1 -0
- package/dist/{chunk-5JEXVSJG.js → chunk-2SKTQGH5.js} +2 -2
- package/dist/chunk-H3UJUFQJ.js +344 -0
- package/dist/chunk-H3UJUFQJ.js.map +1 -0
- package/dist/{chunk-6S3WBLXO.js → chunk-KKTYO345.js} +2641 -2098
- package/dist/chunk-KKTYO345.js.map +1 -0
- package/dist/{chunk-FYPDR7DJ.js → chunk-QHZMBOXS.js} +13 -9
- package/dist/chunk-QHZMBOXS.js.map +1 -0
- package/dist/{connections-Cs5-9hGz.d.ts → connections-o7kw2vBI.d.ts} +1 -1
- package/dist/core/index.cjs +566 -215
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.ts +9 -7
- package/dist/core/index.js +16 -2
- package/dist/core/index.js.map +1 -1
- package/dist/graphql-client-D7Mnaei-.d.ts +536 -0
- package/dist/index-D99iLwsk.d.ts +112 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/mantine/index.d.ts +98 -105
- package/dist/mantine/index.js +54 -249
- package/dist/mantine/index.js.map +1 -1
- package/dist/{types-C6MmkH69.d.ts → types-6w9s8P5j.d.ts} +851 -1848
- package/package.json +18 -13
- package/style-core.css +286 -0
- package/style-mantine.css +8856 -19
- package/style-scoped.css +1478 -255
- package/style.css +8856 -19
- package/dist/CollectionLifecycleFlowDetail-2SRQUN4V.js.map +0 -1
- package/dist/EvalEngineFlowDetail-FQAX4PJ5.js.map +0 -1
- package/dist/chunk-6S3WBLXO.js.map +0 -1
- package/dist/chunk-FYPDR7DJ.js.map +0 -1
- package/dist/graphql-client-BanLWXV8.d.ts +0 -766
- package/dist/nodeContext-CV9D4s3X.d.ts +0 -45
- /package/dist/{chunk-5JEXVSJG.js.map → chunk-2SKTQGH5.js.map} +0 -0
package/style-scoped.css
CHANGED
|
@@ -1,297 +1,1234 @@
|
|
|
1
1
|
.bn-block-outer{line-height:1.5;transition:margin .2s}
|
|
2
|
-
.bn-block{
|
|
3
|
-
.bn-block-content{
|
|
4
|
-
.bn-block-content
|
|
5
|
-
.bn-block-content.ProseMirror-selectednode
|
|
6
|
-
.bn-inline-content{
|
|
7
|
-
.bn-block-
|
|
8
|
-
.bn-
|
|
9
|
-
.bn-
|
|
10
|
-
.bn-block-group .bn-block-group
|
|
2
|
+
.bn-block{flex-direction:column;display:flex}
|
|
3
|
+
.bn-block-content{width:100%;padding:3px 0;transition:font-size .2s;display:flex}
|
|
4
|
+
.bn-block-content.ProseMirror-selectednode>*,.ProseMirror-selectednode>.bn-block-content>*,.bn-block-content .ProseMirror-selectednode,.bn-inline-content .ProseMirror-selectednode,.bn-block-outer[data-drop-target=true]{position:relative}
|
|
5
|
+
.bn-block-content.ProseMirror-selectednode>:after,.ProseMirror-selectednode>.bn-block-content>:after,.bn-block-content .ProseMirror-selectednode:after,.bn-inline-content .ProseMirror-selectednode:after,.bn-block-outer[data-drop-target=true]:after{content:"";pointer-events:none;background-color:#64a0ff14;border-radius:4px;position:absolute;inset:0;box-shadow:inset 0 0 0 4px #64a0ff4d}
|
|
6
|
+
.bn-inline-content .ProseMirror-selectednode:after{box-shadow:none;background-color:#64a0ff4d}
|
|
7
|
+
.bn-block-content:before{content:"";height:0;margin-right:0;transition:all .2s;overflow:visible}
|
|
8
|
+
.bn-inline-content{white-space:pre-wrap}
|
|
9
|
+
.bn-trailing-block{cursor:text;-webkit-user-select:none;user-select:none;height:30px}
|
|
10
|
+
.bn-block-group .bn-block-group{margin-left:24px}
|
|
11
|
+
.bn-block-group .bn-block-group .bn-block-outer{position:relative}
|
|
12
|
+
.bn-block-group .bn-block-group .bn-block-outer:not([data-prev-depth-changed]):before{content:" ";height:100%;transition:all .2s .1s;display:inline;position:absolute;left:-20px}
|
|
13
|
+
.bn-block-group .bn-block-group .bn-block-outer[data-prev-depth-change="-2"]:before{height:0}
|
|
11
14
|
.bn-inline-content code{font-family:monospace}
|
|
12
|
-
[data-prev-depth-change="1"]{--x:
|
|
13
|
-
[data-prev-depth-change="2"]{--x:
|
|
14
|
-
[data-prev-depth-change="3"]{--x:
|
|
15
|
-
[data-prev-depth-change="4"]{--x:
|
|
16
|
-
[data-prev-depth-change="5"]{--x:
|
|
17
|
-
[data-prev-depth-change="-1"]{--x
|
|
18
|
-
[data-prev-depth-change="-2"]{--x
|
|
19
|
-
[data-prev-depth-change="-3"]{--x
|
|
20
|
-
[data-prev-depth-change="-4"]{--x
|
|
21
|
-
[data-prev-depth-change="-5"]{--x
|
|
15
|
+
[data-prev-depth-change="1"]{--x:1}
|
|
16
|
+
[data-prev-depth-change="2"]{--x:2}
|
|
17
|
+
[data-prev-depth-change="3"]{--x:3}
|
|
18
|
+
[data-prev-depth-change="4"]{--x:4}
|
|
19
|
+
[data-prev-depth-change="5"]{--x:5}
|
|
20
|
+
[data-prev-depth-change="-1"]{--x:-1}
|
|
21
|
+
[data-prev-depth-change="-2"]{--x:-2}
|
|
22
|
+
[data-prev-depth-change="-3"]{--x:-3}
|
|
23
|
+
[data-prev-depth-change="-4"]{--x:-4}
|
|
24
|
+
[data-prev-depth-change="-5"]{--x:-5}
|
|
22
25
|
.bn-block-outer[data-prev-depth-change]{margin-left:calc(10px * var(--x))}
|
|
23
26
|
.bn-block-outer[data-prev-depth-change] .bn-block-outer[data-prev-depth-change]{margin-left:0}
|
|
24
|
-
[data-content-type=heading]{--level:
|
|
25
|
-
[data-content-type=heading][data-level="2"]{--level:
|
|
26
|
-
[data-content-type=heading][data-level="3"]{--level:
|
|
27
|
-
[data-
|
|
28
|
-
[data-
|
|
29
|
-
[data-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
[data-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
[data-
|
|
36
|
-
[data-prev-type=
|
|
27
|
+
[data-content-type=heading]{--level:3em;padding-top:18px}
|
|
28
|
+
[data-content-type=heading][data-level="2"]{--level:2em}
|
|
29
|
+
[data-content-type=heading][data-level="3"]{--level:1.3em}
|
|
30
|
+
[data-content-type=heading][data-level="4"]{--level:1em}
|
|
31
|
+
[data-content-type=heading][data-level="5"]{--level:.9em}
|
|
32
|
+
[data-content-type=heading][data-level="6"]{--level:.8em}
|
|
33
|
+
[data-prev-level="1"]{--prev-level:3em}
|
|
34
|
+
[data-prev-level="2"]{--prev-level:2em}
|
|
35
|
+
[data-prev-level="3"]{--prev-level:1.3em}
|
|
36
|
+
[data-prev-level="4"]{--prev-level:1em}
|
|
37
|
+
[data-prev-level="5"]{--prev-level:.9em}
|
|
38
|
+
[data-prev-level="6"]{--prev-level:.8em}
|
|
39
|
+
.bn-block-outer[data-prev-type=heading]>.bn-block>.bn-block-content,.bn-block-outer[data-prev-type=heading]>.bn-block>.bn-toggle-frame>.bn-toggle-slot>.bn-block-content{font-size:var(--prev-level);font-weight:700}
|
|
40
|
+
.bn-block-outer:not([data-prev-type])>.bn-block>.bn-block-content[data-content-type=heading],.bn-block-outer:not([data-prev-type])>.bn-block>.bn-toggle-frame>.bn-toggle-slot>.bn-block-content[data-content-type=heading],.bn-block-outer:not([data-prev-type])>.bn-block>.bn-toggle-frame>.bn-toggle-slot>:not(.bn-block-group) .bn-block-content[data-content-type=heading],.bn-block-outer:not([data-prev-type])>.bn-block>:is(ins,del,[data-type=attributes])>span>:is(ins,del,[data-type=attributes])>span>.bn-block-content[data-content-type=heading],.bn-block-outer:not([data-prev-type])>.bn-block>div[data-type=modification]>div[data-type=modification]>.bn-block-content[data-content-type=heading],.bn-block-outer:not([data-prev-type])>.bn-block>[data-type=attributes]>span>.bn-block-content[data-content-type=heading],.bn-block-outer:not([data-prev-type])>.bn-block>:is(ins,del)>.bn-suggestion-node>.bn-block-content[data-content-type=heading]{font-size:var(--level);font-weight:700}
|
|
41
|
+
[data-content-type=quote] blockquote{color:#7d797a;border-left:2px solid #7d797a;margin:0;padding-left:1em}
|
|
42
|
+
[data-content-type=divider] hr{border:none;border-top:1px solid #7d797a;flex:1;margin:.5em 0}
|
|
43
|
+
.bn-block-content:before{content:"";margin-right:0}
|
|
44
|
+
.bn-block-content[data-content-type=numberedListItem]:before{justify-content:center;min-width:24px;padding-right:4px;display:flex}
|
|
45
|
+
[data-content-type=numberedListItem]{--index:attr(data-index)}
|
|
46
|
+
[data-prev-type=numberedListItem]{--prev-index:attr(data-prev-index)}
|
|
37
47
|
.bn-block-outer[data-prev-type=numberedListItem]:not([data-prev-index=none])>.bn-block>.bn-block-content:before{content:var(--prev-index) "."}
|
|
38
|
-
.bn-block-outer:not([data-prev-type])>.bn-block>.bn-block-content[data-content-type=numberedListItem]:before{content:var(--index) "."}
|
|
39
|
-
.bn-block-content[data-content-type=bulletListItem]{display:flex
|
|
40
|
-
.bn-block-content[data-content-type=checkListItem]>div{
|
|
41
|
-
.bn-block-content[data-content-type=checkListItem]>div>
|
|
48
|
+
.bn-block-outer:not([data-prev-type])>.bn-block>.bn-block-content[data-content-type=numberedListItem]:before,.bn-block-outer:not([data-prev-type])>.bn-block>:is(ins,del,[data-type=attributes])>span>:is(ins,del,[data-type=attributes])>span>.bn-block-content[data-content-type=numberedListItem]:before,.bn-block-outer:not([data-prev-type])>.bn-block>[data-type=attributes]>span>.bn-block-content[data-content-type=numberedListItem]:before,.bn-block-outer:not([data-prev-type])>.bn-block>div[data-type=modification]>.bn-block-content[data-content-type=numberedListItem]:before,.bn-block-outer:not([data-prev-type])>.bn-block>:is(ins,del)>.bn-suggestion-node>.bn-block-content[data-content-type=numberedListItem]:before{content:var(--index) "."}
|
|
49
|
+
.bn-block-content[data-content-type=bulletListItem]:before{justify-content:center;min-width:24px;padding-right:4px;display:flex}
|
|
50
|
+
.bn-block-content[data-content-type=checkListItem]>div:has(>input){height:24px}
|
|
51
|
+
.bn-block-content[data-content-type=checkListItem]>div>input{cursor:pointer;margin-left:4px;margin-right:8px;width:12px;height:24px;margin-block:0}
|
|
42
52
|
.bn-block-content[data-content-type=checkListItem][data-checked=true] .bn-inline-content{text-decoration:line-through}
|
|
43
53
|
.bn-block-content[data-text-alignment=center]{justify-content:center}
|
|
44
54
|
.bn-block-content[data-text-alignment=right]{justify-content:flex-end}
|
|
45
|
-
.bn-
|
|
46
|
-
.bn-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
.bn-
|
|
52
|
-
.bn-block-content[data-content-type=
|
|
55
|
+
.bn-toggle-button{color:var(--bn-colors-editor-text);padding:3px}
|
|
56
|
+
.bn-toggle-button>svg{width:18px;height:18px}
|
|
57
|
+
.bn-toggle-button[aria-expanded=true]{transform:rotate(90deg)}
|
|
58
|
+
.bn-toggle-frame{grid-template-columns:auto 1fr;align-items:center;display:grid}
|
|
59
|
+
.bn-toggle-slot{display:contents}
|
|
60
|
+
.bn-toggle-slot>.bn-block-group,.bn-toggle-frame>.bn-toggle-add-block-button{grid-column:1/-1}
|
|
61
|
+
.bn-toggle-frame:has(>.bn-toggle-button[aria-expanded=false])>.bn-toggle-slot>.bn-block-group{display:none}
|
|
62
|
+
.bn-toggle-frame:has(>.bn-toggle-slot>.bn-block-content[data-content-type=heading],>.bn-toggle-slot>:not(.bn-block-group) .bn-block-content[data-content-type=heading]){padding-top:18px}
|
|
63
|
+
.bn-toggle-slot>.bn-block-content[data-content-type=heading],.bn-toggle-slot>:not(.bn-block-group) .bn-block-content[data-content-type=heading]{padding-top:0}
|
|
64
|
+
.bn-toggle-add-block-button{color:var(--bn-colors-side-menu);width:fit-content;margin-left:22px;padding-inline:2px;font-size:16px;font-weight:400}
|
|
65
|
+
.bn-toggle-button,.bn-toggle-add-block-button{border-radius:var(--bn-border-radius-small);cursor:pointer;-webkit-user-select:none;user-select:none;background:0 0;border:none;display:flex}
|
|
66
|
+
.bn-toggle-button:hover,.bn-toggle-add-block-button:hover{background-color:var(--bn-colors-hovered-background)}
|
|
67
|
+
.bn-block-group{--bn-bullet-marker:"•"}
|
|
68
|
+
[data-content-type=bulletListItem]~.bn-block-group{--bn-bullet-marker:"◦"}
|
|
69
|
+
[data-content-type=bulletListItem]~.bn-block-group [data-content-type=bulletListItem]~.bn-block-group{--bn-bullet-marker:"▪︎"}
|
|
70
|
+
.bn-block-outer[data-prev-type=bulletListItem]>.bn-block>.bn-block-content:before,.bn-block-outer:not([data-prev-type])>.bn-block>.bn-block-content[data-content-type=bulletListItem]:before,.bn-block-outer:not([data-prev-type])>.bn-block>:is(ins,del,[data-type=attributes])>span>:is(ins,del,[data-type=attributes])>span>.bn-block-content[data-content-type=bulletListItem]:before,.bn-block-outer:not([data-prev-type])>.bn-block>[data-type=attributes]>span>.bn-block-content[data-content-type=bulletListItem]:before,.bn-block-outer:not([data-prev-type])>.bn-block>div[data-type=modification]>.bn-block-content[data-content-type=bulletListItem]:before,.bn-block-outer:not([data-prev-type])>.bn-block>:is(ins,del)>.bn-suggestion-node .bn-block-content[data-content-type=bulletListItem]:before{content:var(--bn-bullet-marker)}
|
|
71
|
+
.bn-block-content[data-content-type=codeBlock]{color:#fff;background-color:#161616;border-radius:8px;position:relative}
|
|
72
|
+
.bn-root .bn-suggestion-node .bn-block-content[data-content-type=codeBlock]:has(>pre){color:#fff;background-color:#161616;border-radius:8px;position:relative}
|
|
73
|
+
.bn-block-content[data-content-type=codeBlock]>pre{--bn-suggestion-surface:#161616;white-space:pre;tab-size:2;width:100%;margin:0;padding:24px;overflow-x:auto}
|
|
53
74
|
.bn-block-content[data-content-type=codeBlock]>div{outline:none!important}
|
|
54
|
-
.bn-block-content[data-content-type=codeBlock]>div>select{
|
|
75
|
+
.bn-block-content[data-content-type=codeBlock]>div>select{appearance:none;-webkit-user-select:none;user-select:none;cursor:pointer;color:#fff;opacity:0;background-color:#0000;border:none;font-size:.8em;transition:opacity .3s 1s;position:absolute;top:8px;left:18px;outline:none!important}
|
|
55
76
|
.bn-block-content[data-content-type=codeBlock]>div>select>option{color:#000}
|
|
56
77
|
.bn-block-content[data-content-type=codeBlock]:hover>div>select,.bn-block-content[data-content-type=codeBlock]>div>select:focus{opacity:.5;transition-delay:.1s}
|
|
57
|
-
.bn-block-content[data-content-type=
|
|
78
|
+
.bn-block-content[data-content-type=codeBlock]:has(.bn-preview-with-source-popup){color:inherit;background-color:#0000}
|
|
79
|
+
.shiki{color:var(--bn-suggestion-token-color,var(--shiki-dark))}
|
|
80
|
+
.bn-source-block-popup .shiki{color:var(--bn-suggestion-token-color,var(--shiki-light))}
|
|
81
|
+
.bn-root[data-color-scheme=dark] .bn-source-block-popup .shiki{color:var(--bn-suggestion-token-color,var(--shiki-dark))}
|
|
82
|
+
.bn-preview-with-source-popup{position:relative}
|
|
83
|
+
.bn-block-content .bn-preview-with-source-popup{width:100%;padding:12px;display:flex}
|
|
84
|
+
.bn-inline-content-section .bn-preview-with-source-popup{width:fit-content;padding:0;display:inline-block}
|
|
85
|
+
.bn-preview-container{cursor:pointer}
|
|
86
|
+
.bn-block-content .bn-preview-container{width:100%;overflow:auto}
|
|
87
|
+
.bn-inline-content-section .bn-preview-container{width:fit-content;overflow:visible}
|
|
88
|
+
.bn-block-content .bn-preview-container .katex-html:has(>:is(.tag,.katex-tag)){box-sizing:border-box;width:max-content;min-width:100%;padding-right:2.5em}
|
|
89
|
+
.bn-source-block-popup{box-shadow:none;color:#0000;z-index:0;background-color:#0000;border:none;border-radius:0;width:0;height:0;margin-top:4px;position:absolute;top:100%;left:0;overflow:clip}
|
|
90
|
+
.bn-preview-with-source-popup[data-open=true] .bn-source-block-popup{background-color:var(--bn-colors-menu-background);border:var(--bn-border);border-radius:var(--bn-border-radius-medium);box-shadow:var(--bn-shadow-medium);color:var(--bn-colors-menu-text);height:unset;z-index:1}
|
|
91
|
+
.bn-block-content .bn-preview-with-source-popup[data-open=true] .bn-source-block-popup{width:100%}
|
|
92
|
+
.bn-inline-content-section .bn-preview-with-source-popup[data-open=true] .bn-source-block-popup{width:300px}
|
|
93
|
+
.bn-code-block-source-popup-body{align-items:flex-end;display:flex}
|
|
94
|
+
.bn-code-block-source-popup-body>pre{tab-size:2;white-space:pre;flex:1;align-self:center;width:0;max-height:200px;margin:0;padding:16px;position:relative;overflow:auto}
|
|
95
|
+
.bn-code-block-source-popup-input-empty:before{color:currentColor;content:attr(data-placeholder);opacity:.5;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;position:absolute;top:16px;left:16px;right:16px;overflow:hidden}
|
|
96
|
+
.bn-code-block-source-error{border-top:var(--bn-border);color:var(--bn-colors-highlights-red-text);padding:8px 16px;font-family:monospace;font-size:.8em;white-space:pre-wrap!important}
|
|
97
|
+
.bn-code-block-source-popup-ok-button-wrapper{justify-content:flex-end;align-items:flex-end;padding:14px 16px}
|
|
98
|
+
.bn-code-block-source-popup-ok-button{appearance:none;border-radius:var(--bn-border-radius-small);color:#fff;cursor:pointer;background-color:#2563eb;border:none;align-items:center;gap:4px;padding:4px 8px;font-size:.8em;font-weight:500;display:flex}
|
|
99
|
+
.bn-code-block-source-popup-ok-button-icon{width:1.2em;height:1.2em}
|
|
100
|
+
.bn-code-block-source-popup-ok-button:hover{background-color:#1d4ed8}
|
|
101
|
+
.bn-preview-with-source-popup:has(.bn-preview-placeholder){padding:0}
|
|
102
|
+
.bn-preview-placeholder{color:#5f5b5c;background-color:#f2f1ee;border-radius:4px;align-items:center;display:flex}
|
|
103
|
+
.bn-block-content .bn-preview-placeholder{gap:10px;padding:12px}
|
|
104
|
+
.bn-inline-content-section .bn-preview-placeholder{gap:4px;padding:0 4px}
|
|
105
|
+
.bn-preview-placeholder:where(.dark,.dark *){color:#bebebe;background-color:#464646}
|
|
106
|
+
.bn-editor[contenteditable=true] .bn-preview-placeholder:not(.bn-preview-placeholder-error):hover{background-color:#e1e1e1}
|
|
107
|
+
.bn-editor[contenteditable=true] .bn-preview-placeholder:not(.bn-preview-placeholder-error):hover:where(.dark,.dark *){background-color:#5a5a5a}
|
|
108
|
+
.bn-preview-placeholder-error{background-color:var(--bn-colors-highlights-red-background);color:var(--bn-colors-highlights-red-text)}
|
|
109
|
+
.bn-preview-placeholder-icon{align-items:center;display:flex}
|
|
110
|
+
.bn-block-content .bn-preview-placeholder-icon{width:24px;height:24px}
|
|
111
|
+
.bn-inline-content-section .bn-preview-placeholder-icon{width:14px;height:14px}
|
|
112
|
+
.bn-preview-placeholder-icon>svg{width:100%;height:100%}
|
|
113
|
+
.bn-preview-placeholder-text{margin:0}
|
|
114
|
+
.bn-block-content .bn-preview-placeholder-text{font-size:.9rem}
|
|
115
|
+
.bn-inline-content-section .bn-preview-placeholder-text{font-size:.7rem}
|
|
116
|
+
.bn-suppress-source-popup-caret .bn-inline-content-section .bn-preview-with-source-popup:not([data-open=true]) .bn-source-block-popup{visibility:hidden}
|
|
117
|
+
.bn-block-content[data-content-type=pageBreak]>div{border-top:2px dotted #7d797a;width:100%;height:0;margin-block:11px}
|
|
58
118
|
@media print{.bn-block-content[data-content-type=pageBreak]>div{page-break-after:always}}
|
|
59
|
-
[data-file-block] .bn-file-block-content-wrapper{cursor:pointer
|
|
60
|
-
[data-file-block] .bn-file-block-content-wrapper:has(.bn-add-file-button),[data-file-block] .bn-file-block-content-wrapper:has(.bn-file-name-with-icon){width:100%}
|
|
61
|
-
[data-file-block] .bn-add-file-button{
|
|
119
|
+
[data-file-block] .bn-file-block-content-wrapper{cursor:pointer;-webkit-user-select:none;user-select:none;flex-direction:column;margin:0;display:flex}
|
|
120
|
+
:is([data-file-block] .bn-file-block-content-wrapper:has(.bn-add-file-button),[data-file-block] .bn-file-block-content-wrapper:has(.bn-file-name-with-icon)){width:100%}
|
|
121
|
+
[data-file-block] .bn-add-file-button{color:#7d797a;background-color:#f2f1ee;border-radius:4px;align-items:center;gap:10px;padding:12px;display:flex}
|
|
122
|
+
[data-file-block] .bn-add-file-button:where(.dark,.dark *){color:#bebebe;background-color:#464646}
|
|
62
123
|
.bn-editor[contenteditable=true] [data-file-block] .bn-add-file-button:hover,[data-file-block] .bn-file-name-with-icon:hover,.ProseMirror-selectednode .bn-file-name-with-icon{background-color:#e1e1e1}
|
|
124
|
+
.bn-editor[contenteditable=true] [data-file-block] .bn-add-file-button:hover:where(.dark,.dark *),[data-file-block] .bn-file-name-with-icon:hover:where(.dark,.dark *),.ProseMirror-selectednode .bn-file-name-with-icon:where(.dark,.dark *){background-color:#5a5a5a}
|
|
63
125
|
[data-file-block] .bn-add-file-button-icon,[data-file-block] .bn-file-icon{width:24px;height:24px}
|
|
64
126
|
[data-file-block] .bn-add-file-button-text{font-size:.9rem}
|
|
65
|
-
[data-file-block] .bn-file-name-with-icon{border-radius:4px;
|
|
66
|
-
[data-file-block] .bn-file-caption{
|
|
127
|
+
[data-file-block] .bn-file-name-with-icon{border-radius:4px;gap:4px;padding:4px;display:flex}
|
|
128
|
+
[data-file-block] .bn-file-caption{word-break:break-word;padding-block:4px;font-size:.8em}
|
|
67
129
|
[data-file-block] .bn-file-caption:empty{padding-block:0}
|
|
68
|
-
[data-file-block] .bn-resize-handle{
|
|
69
|
-
[data-file-block] .bn-visual-media-wrapper{
|
|
130
|
+
[data-file-block] .bn-resize-handle{cursor:ew-resize;background-color:#000;border:1px solid #fff;border-radius:4px;width:8px;height:30px;position:absolute}
|
|
131
|
+
[data-file-block] .bn-visual-media-wrapper{align-items:center;max-width:100%;display:flex;position:relative}
|
|
70
132
|
[data-file-block] .bn-visual-media{border-radius:4px;width:100%}
|
|
71
133
|
[data-content-type=audio]>.bn-file-block-content-wrapper,.bn-audio{width:100%}
|
|
72
|
-
.bn-
|
|
73
|
-
[data-text-
|
|
74
|
-
[data-text-
|
|
75
|
-
[data-text-
|
|
76
|
-
[data-text-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
[
|
|
80
|
-
[
|
|
81
|
-
[
|
|
82
|
-
[
|
|
83
|
-
[
|
|
84
|
-
|
|
85
|
-
[data-background-color=orange]{background-color:#f6e9d9}
|
|
86
|
-
[data-background-color=yellow]{background-color:#fbf3db}
|
|
87
|
-
[data-background-color=green]{background-color:#ddedea}
|
|
88
|
-
[data-background-color=blue]{background-color:#ddebf1}
|
|
89
|
-
[data-background-color=purple]{background-color:#eae4f2}
|
|
90
|
-
[data-background-color=pink]{background-color:#f4dfeb}
|
|
91
|
-
[data-text-alignment=left]{justify-content:flex-start!important;text-align:left!important}
|
|
92
|
-
[data-text-alignment=center]{justify-content:center!important;text-align:center!important}
|
|
93
|
-
[data-text-alignment=right]{justify-content:flex-end!important;text-align:right!important}
|
|
94
|
-
[data-text-alignment=justify]{justify-content:flex-start!important;text-align:justify!important}
|
|
95
|
-
.bn-block-column-list{display:flex;flex-direction:row}
|
|
96
|
-
.bn-block-column{flex:1;padding:12px 20px;overflow-x:auto}
|
|
134
|
+
.bn-block-content:has(.ProseMirror-trailingBreak:only-child):after{pointer-events:none;max-width:100%;margin-inline:-2px;font-style:italic}
|
|
135
|
+
[data-text-alignment=left]{text-align:left!important;justify-content:flex-start!important}
|
|
136
|
+
[data-text-alignment=center]{text-align:center!important;justify-content:center!important}
|
|
137
|
+
[data-text-alignment=right]{text-align:right!important;justify-content:flex-end!important}
|
|
138
|
+
[data-text-alignment=justify]{text-align:justify!important;justify-content:flex-start!important}
|
|
139
|
+
.bn-block-column-list{flex-direction:row;display:flex}
|
|
140
|
+
.bn-block-column{flex-direction:column;flex:1;padding:12px 15px 12px 25px;display:flex;overflow-x:auto}
|
|
141
|
+
.bn-editor[contenteditable=true] .bn-column-list-hovered>.bn-block-column:not(:last-child){transition:box-shadow .2s .2s;box-shadow:4px 0 #eee}
|
|
142
|
+
.bn-editor[contenteditable=true] .bn-column-list-hovered>.bn-block-column:not(:last-child):where(.dark,.dark *){box-shadow:4px 0 #464646}
|
|
143
|
+
.bn-editor[contenteditable=true] .bn-column-list-hovered>.bn-block-column.bn-column-resize-border{cursor:col-resize;transition:box-shadow .2s;box-shadow:4px 0 #ccc}
|
|
144
|
+
.bn-editor[contenteditable=true] .bn-column-list-hovered>.bn-block-column.bn-column-resize-border:where(.dark,.dark *){box-shadow:4px 0 #6e6e6e}
|
|
145
|
+
.bn-editor[contenteditable=true] .bn-block-column.bn-column-resize-border+.bn-block-column{cursor:col-resize}
|
|
146
|
+
.bn-block-column>.bn-trailing-block{flex-grow:1;height:auto}
|
|
97
147
|
.bn-block-column:first-child{padding-left:0}
|
|
98
148
|
.bn-block-column:last-child{padding-right:0}
|
|
99
149
|
.bn-thread-mark:not([data-orphan=true]){background:#ffc80026}
|
|
100
150
|
.bn-thread-mark .bn-thread-mark-selected{background:#ffc80040}
|
|
151
|
+
div[data-type=modification]{display:inline}
|
|
152
|
+
.bn-root ins,.bn-root del{background-color:color-mix(in srgb, var(--user-color-light) 50%, white);color:var(--user-color-dark);border-radius:4px;text-decoration:none;position:relative}
|
|
153
|
+
.dark.bn-root ins,.dark.bn-root del{background-color:color-mix(in srgb, var(--user-color-light) 25%, var(--bn-colors-editor-background));color:var(--user-color-light)}
|
|
154
|
+
.bn-suggestion-mark{--bn-suggestion-token-color:currentColor;background-color:color-mix(in srgb, var(--user-color-light) 50%, white);color:var(--user-color-dark);border-radius:4px}
|
|
155
|
+
.dark.bn-root .bn-suggestion-mark,.bn-block-content[data-content-type=codeBlock]>pre .bn-suggestion-mark{background-color:color-mix(in srgb, var(--user-color-light) 25%, var(--bn-suggestion-surface,var(--bn-colors-editor-background)));color:#fff}
|
|
156
|
+
.bn-suggestion-node>*{background-color:color-mix(in srgb, var(--user-color-light) 50%, white);border-radius:4px}
|
|
157
|
+
.dark.bn-root .bn-suggestion-node>*{background-color:color-mix(in srgb, var(--user-color-light) 25%, var(--bn-colors-editor-background))}
|
|
158
|
+
.bn-suggestion-node--delete>:first-child:before{content:var(--deleted-label,"Deleted");text-transform:uppercase;letter-spacing:.04em;vertical-align:middle;color:var(--bn-colors-editor-text);margin-right:6px;padding:0 4px;font-size:11px;font-weight:600;line-height:16px;display:inline-block}
|
|
159
|
+
.bn-suggestion-node:has(.bn-block-content)>*{background-color:#0000}
|
|
160
|
+
.dark.bn-root .bn-suggestion-node:has(.bn-block-content)>*{background-color:#0000}
|
|
161
|
+
.bn-suggestion-node--delete:has(.bn-block-content)>:first-child:before{content:none}
|
|
162
|
+
.bn-suggestion-node--delete .bn-block-content .bn-inline-content{--bn-suggestion-token-color:currentColor;color:var(--user-color-dark);text-decoration:line-through}
|
|
163
|
+
.dark.bn-root .bn-suggestion-node--delete .bn-block-content .bn-inline-content,.bn-suggestion-node--delete .bn-block-content[data-content-type=codeBlock]>pre .bn-inline-content{color:var(--user-color-light)}
|
|
164
|
+
.bn-suggestion-node--delete :is(td,th) p{color:var(--user-color-dark);text-decoration:line-through}
|
|
165
|
+
.dark.bn-root .bn-suggestion-node--delete :is(td,th) p{color:var(--user-color-light)}
|
|
166
|
+
.bn-suggestion-node--delete>:is(table,tr,td,th):first-child:before,:is(td,th) .bn-suggestion-node--delete>:first-child:before{content:none}
|
|
167
|
+
[data-type=attributes]>.bn-suggestion-node>.bn-block-content{--bn-suggestion-card-inset:6px;background-color:color-mix(in srgb, var(--user-color-light) 50%, white);box-shadow:0 0 0 1px color-mix(in srgb, var(--user-color-dark) 25%, transparent);padding:3px var(--bn-suggestion-card-inset);margin-left:calc(-1 * var(--bn-suggestion-card-inset));width:calc(100% + 2 * var(--bn-suggestion-card-inset));border-radius:6px}
|
|
168
|
+
.bn-suggestion-node .bn-block-content:not(:has(.bn-inline-content:not(.bn-source-block-popup *))){--bn-suggestion-card-inset:6px;background-color:color-mix(in srgb, var(--user-color-light) 50%, white);box-shadow:0 0 0 1px color-mix(in srgb, var(--user-color-dark) 25%, transparent);padding:3px var(--bn-suggestion-card-inset);margin-left:calc(-1 * var(--bn-suggestion-card-inset));width:calc(100% + 2 * var(--bn-suggestion-card-inset));border-radius:6px}
|
|
169
|
+
.dark.bn-root [data-type=attributes]>.bn-suggestion-node>.bn-block-content{background-color:color-mix(in srgb, var(--user-color-light) 25%, var(--bn-colors-editor-background))}
|
|
170
|
+
.dark.bn-root .bn-suggestion-node .bn-block-content:not(:has(.bn-inline-content:not(.bn-source-block-popup *))){background-color:color-mix(in srgb, var(--user-color-light) 25%, var(--bn-colors-editor-background))}
|
|
171
|
+
.bn-block-content:not(.bn-suggestion-node *) .bn-preview-with-source-popup:has(.bn-source-block-popup .bn-suggestion-mark) .bn-preview-container{background-color:#e4f7f4;border-radius:6px;box-shadow:0 0 0 1px #0f6e6240}
|
|
172
|
+
.dark.bn-root .bn-block-content:not(.bn-suggestion-node *) .bn-preview-with-source-popup:has(.bn-source-block-popup .bn-suggestion-mark) .bn-preview-container{background-color:color-mix(in srgb, #c9efe9 25%, var(--bn-colors-editor-background))}
|
|
173
|
+
.bn-suggestion-node .bn-block-content:not(:has(.bn-inline-content,.bn-audio)):has(>.bn-file-block-content-wrapper){width:fit-content}
|
|
174
|
+
.bn-suggestion-node--delete .bn-block-content:not(:has(.bn-inline-content:not(.bn-source-block-popup *))){padding-top:21px;position:relative}
|
|
175
|
+
.bn-suggestion-node--delete .bn-block-content:not(:has(.bn-inline-content:not(.bn-source-block-popup *))):before{content:var(--deleted-label,"Deleted");top:3px;left:var(--bn-suggestion-card-inset);letter-spacing:.04em;text-transform:uppercase;color:var(--bn-colors-editor-text);font-size:11px;font-weight:600;line-height:16px;position:absolute}
|
|
176
|
+
[data-type=modification] .bn-suggestion-mark,[data-type=modification] .bn-suggestion-node>*{color:inherit;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;-webkit-text-decoration-color:var(--user-color-dark);-webkit-text-decoration-color:var(--user-color-dark);text-decoration-color:var(--user-color-dark);text-underline-offset:2px;background-color:#0000;text-decoration-thickness:2px}
|
|
177
|
+
.dark.bn-root [data-type=modification] .bn-suggestion-mark,.dark.bn-root [data-type=modification] .bn-suggestion-node>*{color:inherit;-webkit-text-decoration-color:var(--user-color-light);-webkit-text-decoration-color:var(--user-color-light);text-decoration-color:var(--user-color-light);background-color:#0000}
|
|
178
|
+
[data-type=modification] .bn-suggestion-mark:hover,[data-type=modification] .bn-suggestion-node:hover>*{background-color:color-mix(in srgb, var(--user-color-light) 50%, white);border-radius:4px}
|
|
179
|
+
.dark.bn-root [data-type=modification] .bn-suggestion-mark:hover,.dark.bn-root [data-type=modification] .bn-suggestion-node:hover>*{background-color:color-mix(in srgb, var(--user-color-light) 25%, var(--bn-colors-editor-background))}
|
|
180
|
+
.bn-suggestion-mark--delete{color:var(--user-color-dark);background-color:#0000;text-decoration:line-through}
|
|
181
|
+
.dark.bn-root .bn-suggestion-mark--delete,.bn-block-content[data-content-type=codeBlock]>pre .bn-suggestion-mark--delete{color:var(--user-color-light);background-color:#0000}
|
|
182
|
+
.bn-suggestion-tooltip{color:#fff;white-space:nowrap;pointer-events:none;background-color:#232323;border:1px solid #ffffff1a;border-radius:4px;width:max-content;max-width:calc(100vw - 8px);padding:0 4px;font-size:12px;font-weight:700}
|
|
183
|
+
.bn-root del{color:var(--user-color-dark);background-color:#0000;text-decoration:line-through}
|
|
184
|
+
.dark.bn-root del{color:var(--user-color-light);background-color:#0000}
|
|
185
|
+
.bn-root del:hover{text-decoration-line:overline}
|
|
101
186
|
.ProseMirror .tableWrapper{overflow-x:auto}
|
|
102
187
|
.ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;overflow:hidden}
|
|
103
188
|
.ProseMirror td,.ProseMirror th{vertical-align:top;box-sizing:border-box;position:relative}
|
|
104
189
|
.ProseMirror td:not([data-colwidth]):not(.column-resize-dragging),.ProseMirror th:not([data-colwidth]):not(.column-resize-dragging){min-width:var(--default-cell-min-width)}
|
|
105
|
-
.ProseMirror .column-resize-handle{
|
|
190
|
+
.ProseMirror .column-resize-handle{z-index:20;pointer-events:none;background-color:#adf;width:4px;position:absolute;top:0;bottom:0;right:-2px}
|
|
106
191
|
.ProseMirror.resize-cursor{cursor:ew-resize;cursor:col-resize}
|
|
107
|
-
.ProseMirror .selectedCell:after{z-index:2;
|
|
108
|
-
.bn-editor{outline:none;padding-inline:54px
|
|
192
|
+
.ProseMirror .selectedCell:after{z-index:2;content:"";pointer-events:none;background:#c8c8ff66;position:absolute;inset:0}
|
|
193
|
+
.bn-editor{font-synthesis:style weight;--N800:#172b4d;--N40:#dfe1e6;outline:none;padding-inline:54px}
|
|
109
194
|
.bn-comment-editor{width:100%;padding:0}
|
|
110
195
|
.bn-comment-editor .bn-editor{padding:0}
|
|
111
|
-
.bn-
|
|
112
|
-
.bn-
|
|
113
|
-
.bn-
|
|
114
|
-
.bn-
|
|
115
|
-
.bn-table-drop-cursor{position:absolute;z-index:20;background-color:#adf;pointer-events:none}
|
|
116
|
-
.bn-drag-preview{position:absolute;top:0;left:0;padding:10px;opacity:.001}
|
|
196
|
+
.bn-default-styles p,.bn-default-styles h1,.bn-default-styles h2,.bn-default-styles h3,.bn-default-styles h4,.bn-default-styles h5,.bn-default-styles h6,.bn-default-styles li{font-size:inherit;margin:0;padding:0;min-width:2px!important}
|
|
197
|
+
.bn-default-styles{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,Inter fallback,SF Pro Display,-apple-system,BlinkMacSystemFont,Open Sans,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:16px;font-weight:400}
|
|
198
|
+
.bn-table-drop-cursor{z-index:20;pointer-events:none;background-color:#adf;position:absolute}
|
|
199
|
+
.bn-drag-preview{opacity:.001;pointer-events:none;padding:10px;position:absolute;top:0;left:0}
|
|
117
200
|
.bn-editor .bn-collaboration-cursor__base{position:relative}
|
|
118
|
-
.bn-editor .bn-collaboration-cursor__base .bn-collaboration-cursor__caret{position:absolute;
|
|
119
|
-
.bn-editor .bn-collaboration-cursor__base .bn-collaboration-cursor__label{pointer-events:none;border-radius:0 1.5px 1.5px 0;font-size:12px;font-style:normal;font-weight:600;line-height:normal;
|
|
120
|
-
.bn-editor .bn-collaboration-cursor__base[data-active] .bn-collaboration-cursor__label{color:#0d0d0d;
|
|
121
|
-
.bn-editor [data-content-type=table] .tableWrapper{
|
|
122
|
-
.bn-editor [data-content-type=table]
|
|
123
|
-
.bn-editor [data-content-type=table] table{width:auto!important;word-break:break-word}
|
|
201
|
+
.bn-editor .bn-collaboration-cursor__base .bn-collaboration-cursor__caret{width:2px;position:absolute;top:1px;bottom:-2px;left:-1px}
|
|
202
|
+
.bn-editor .bn-collaboration-cursor__base .bn-collaboration-cursor__label{pointer-events:none;white-space:nowrap;-webkit-user-select:none;user-select:none;color:#0000;border-radius:0 1.5px 1.5px 0;max-width:4px;max-height:5px;padding:0;font-size:12px;font-style:normal;font-weight:600;line-height:normal;transition:all .2s;position:absolute;top:-1px;left:0;overflow:hidden}
|
|
203
|
+
.bn-editor .bn-collaboration-cursor__base[data-active] .bn-collaboration-cursor__label{color:#0d0d0d;border-radius:3px 3px 3px 0;max-width:20rem;max-height:1.1rem;padding:.1rem .3rem;transition:all .2s;top:-17px;left:0}
|
|
204
|
+
.bn-editor [data-content-type=table] .tableWrapper{--bn-table-widget-size:22px;--bn-table-handle-size:calc(18px / 2);padding:var(--bn-table-handle-size) var(--bn-table-widget-size) var(--bn-table-widget-size) var(--bn-table-handle-size);width:100%;position:relative;overflow-y:hidden}
|
|
205
|
+
.bn-editor [data-content-type=table] table{word-break:break-word;width:auto!important}
|
|
124
206
|
.bn-editor [data-content-type=table] th,.bn-editor [data-content-type=table] td{border:1px solid #ddd;padding:5px 10px}
|
|
125
|
-
.bn-editor [data-content-type=table] th{font-weight:700
|
|
207
|
+
.bn-editor [data-content-type=table] th{text-align:left;font-weight:700}
|
|
208
|
+
.bn-editor [data-content-type=table] th>p,.bn-editor [data-content-type=table] td>p{min-height:1.5rem}
|
|
126
209
|
.ProseMirror td,.ProseMirror th{min-width:auto!important}
|
|
127
210
|
.ProseMirror td:not([colwidth]):not(.column-resize-dragging),.ProseMirror th:not([colwidth]):not(.column-resize-dragging){min-width:var(--default-cell-min-width)!important}
|
|
128
|
-
.prosemirror-dropcursor-block{transition-property:top,bottom;transition-timing-function:cubic-bezier(.4,0,.2,1)
|
|
211
|
+
.prosemirror-dropcursor-block{transition-property:top,bottom;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}
|
|
129
212
|
.prosemirror-dropcursor-vertical{transition-property:left,right}
|
|
130
213
|
[data-show-selection]{background-color:highlight;padding:2px 0}
|
|
131
|
-
.bn-
|
|
132
|
-
.bn-
|
|
133
|
-
.bn-
|
|
214
|
+
.bn-editor.bn-loading:before{border:calc(5 * var(--bn-loader-size,1px)) solid var(--bn-loader-color,currentColor);box-sizing:border-box;height:calc(48 * var(--bn-loader-size,1px));width:calc(48 * var(--bn-loader-size,1px));border-radius:50%;animation:1s linear infinite bn-loader-rotate,2s linear infinite bn-loader-clip;display:block}
|
|
215
|
+
.bn-editor.bn-loading>.bn-block-group{opacity:.4;transition:opacity .2s}
|
|
216
|
+
.bn-editor.bn-loading:before{content:"";margin:0 auto calc(-48 * var(--bn-loader-size,1px));z-index:1;position:sticky;top:16px}
|
|
217
|
+
@keyframes bn-loader-rotate{to{transform:rotate(360deg)}}
|
|
218
|
+
@keyframes bn-loader-clip{0%{clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}25%{clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}50%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}75%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}to{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}}
|
|
219
|
+
@media (prefers-reduced-motion:reduce){.bn-editor.bn-loading:before{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%);animation:none}}
|
|
220
|
+
.bn-root{--bn-colors-editor-text:#3f3f3f;--bn-colors-editor-background:#fff;--bn-colors-menu-text:#3f3f3f;--bn-colors-menu-background:#fff;--bn-colors-tooltip-text:#3f3f3f;--bn-colors-tooltip-background:#efefef;--bn-colors-hovered-text:#3f3f3f;--bn-colors-hovered-background:#efefef;--bn-colors-selected-text:#fff;--bn-colors-selected-background:#3f3f3f;--bn-colors-disabled-text:#afafaf;--bn-colors-disabled-background:#efefef;--bn-colors-shadow:#cfcfcf;--bn-colors-border:#efefef;--bn-colors-side-menu:#cfcfcf;--bn-colors-highlights-gray-text:#9b9a97;--bn-colors-highlights-gray-background:#ebeced;--bn-colors-highlights-brown-text:#64473a;--bn-colors-highlights-brown-background:#e9e5e3;--bn-colors-highlights-red-text:#e03e3e;--bn-colors-highlights-red-background:#fbe4e4;--bn-colors-highlights-orange-text:#d9730d;--bn-colors-highlights-orange-background:#f6e9d9;--bn-colors-highlights-yellow-text:#dfab01;--bn-colors-highlights-yellow-background:#fbf3db;--bn-colors-highlights-green-text:#4d6461;--bn-colors-highlights-green-background:#ddedea;--bn-colors-highlights-blue-text:#0b6e99;--bn-colors-highlights-blue-background:#ddebf1;--bn-colors-highlights-purple-text:#6940a5;--bn-colors-highlights-purple-background:#eae4f2;--bn-colors-highlights-pink-text:#ad1a72;--bn-colors-highlights-pink-background:#f4dfeb;--bn-font-family:"Inter", "Inter fallback", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Open Sans", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--bn-border-radius:6px;--bn-shadow-medium:0 4px 12px var(--bn-colors-shadow);--bn-shadow-light:0 2px 6px var(--bn-colors-border);--bn-border:1px solid var(--bn-colors-border);--bn-border-radius-small:max(var(--bn-border-radius) - 2px, 1px);--bn-border-radius-medium:var(--bn-border-radius);--bn-border-radius-large:max(var(--bn-border-radius) + 2px, 1px)}
|
|
221
|
+
.bn-root[data-color-scheme=dark]{--bn-colors-editor-text:#cfcfcf;--bn-colors-editor-background:#1f1f1f;--bn-colors-menu-text:#cfcfcf;--bn-colors-menu-background:#1f1f1f;--bn-colors-tooltip-text:#cfcfcf;--bn-colors-tooltip-background:#161616;--bn-colors-hovered-text:#cfcfcf;--bn-colors-hovered-background:#161616;--bn-colors-selected-text:#cfcfcf;--bn-colors-selected-background:#0f0f0f;--bn-colors-disabled-text:#3f3f3f;--bn-colors-disabled-background:#161616;--bn-colors-shadow:#0f0f0f;--bn-colors-border:#161616;--bn-colors-side-menu:#7f7f7f;--bn-colors-highlights-gray-text:#bebdb8;--bn-colors-highlights-gray-background:#9b9a97;--bn-colors-highlights-brown-text:#8e6552;--bn-colors-highlights-brown-background:#64473a;--bn-colors-highlights-red-text:#ec4040;--bn-colors-highlights-red-background:#be3434;--bn-colors-highlights-orange-text:#e3790d;--bn-colors-highlights-orange-background:#b7600a;--bn-colors-highlights-yellow-text:#dfab01;--bn-colors-highlights-yellow-background:#b58b00;--bn-colors-highlights-green-text:#6b8b87;--bn-colors-highlights-green-background:#4d6461;--bn-colors-highlights-blue-text:#0e87bc;--bn-colors-highlights-blue-background:#0b6e99;--bn-colors-highlights-purple-text:#8552d7;--bn-colors-highlights-purple-background:#6940a5;--bn-colors-highlights-pink-text:#da208f;--bn-colors-highlights-pink-background:#ad1a72}
|
|
222
|
+
.bn-root{font-family:var(--bn-font-family)}
|
|
134
223
|
.bn-editor{background-color:var(--bn-colors-editor-background);border-radius:var(--bn-border-radius-large);color:var(--bn-colors-editor-text)}
|
|
135
|
-
.bn-react-node-view-renderer{
|
|
136
|
-
.bn-
|
|
137
|
-
.bn-
|
|
138
|
-
.bn-
|
|
224
|
+
.bn-react-node-view-renderer{flex-direction:column;width:100%;display:flex}
|
|
225
|
+
.bn-react-node-view-renderer.bn-frame-node-view{display:contents}
|
|
226
|
+
.bn-block-group .bn-block:not(:has(.bn-toggle-wrapper)) .bn-block-group .bn-block-outer:not([data-prev-depth-changed]):before{border-left:1px solid var(--bn-colors-side-menu)}
|
|
227
|
+
.bn-block-content:has(.ProseMirror-trailingBreak:only-child):after{color:var(--bn-colors-side-menu)}
|
|
228
|
+
.bn-root .bn-color-icon{border:var(--bn-border);border-radius:var(--bn-border-radius-small);justify-content:center;align-items:center;display:flex}
|
|
139
229
|
.bn-error-text{color:red;font-size:12px}
|
|
140
|
-
[data-text-color=gray]{color:var(--bn-colors-highlights-gray-text)}
|
|
141
|
-
[data-text-color=
|
|
142
|
-
[data-text-color=
|
|
143
|
-
[data-text-color=
|
|
144
|
-
[data-text-color=
|
|
145
|
-
[data-text-color=
|
|
146
|
-
[data-text-color=
|
|
147
|
-
[data-text-color=
|
|
148
|
-
[data-text-color=
|
|
149
|
-
[data-
|
|
150
|
-
[data-
|
|
151
|
-
[data-
|
|
152
|
-
[data-
|
|
153
|
-
[data-
|
|
154
|
-
[data-
|
|
155
|
-
[data-
|
|
156
|
-
[data-
|
|
157
|
-
[data-
|
|
230
|
+
[data-style-type=textColor][data-value=gray],[data-text-color=gray]{color:var(--bn-colors-highlights-gray-text)}
|
|
231
|
+
.bn-block:has(>.bn-block-content[data-text-color=gray]){color:var(--bn-colors-highlights-gray-text)}
|
|
232
|
+
[data-style-type=textColor][data-value=brown],[data-text-color=brown]{color:var(--bn-colors-highlights-brown-text)}
|
|
233
|
+
.bn-block:has(>.bn-block-content[data-text-color=brown]){color:var(--bn-colors-highlights-brown-text)}
|
|
234
|
+
[data-style-type=textColor][data-value=red],[data-text-color=red]{color:var(--bn-colors-highlights-red-text)}
|
|
235
|
+
.bn-block:has(>.bn-block-content[data-text-color=red]){color:var(--bn-colors-highlights-red-text)}
|
|
236
|
+
[data-style-type=textColor][data-value=orange],[data-text-color=orange]{color:var(--bn-colors-highlights-orange-text)}
|
|
237
|
+
.bn-block:has(>.bn-block-content[data-text-color=orange]){color:var(--bn-colors-highlights-orange-text)}
|
|
238
|
+
[data-style-type=textColor][data-value=yellow],[data-text-color=yellow]{color:var(--bn-colors-highlights-yellow-text)}
|
|
239
|
+
.bn-block:has(>.bn-block-content[data-text-color=yellow]){color:var(--bn-colors-highlights-yellow-text)}
|
|
240
|
+
[data-style-type=textColor][data-value=green],[data-text-color=green]{color:var(--bn-colors-highlights-green-text)}
|
|
241
|
+
.bn-block:has(>.bn-block-content[data-text-color=green]){color:var(--bn-colors-highlights-green-text)}
|
|
242
|
+
[data-style-type=textColor][data-value=blue],[data-text-color=blue]{color:var(--bn-colors-highlights-blue-text)}
|
|
243
|
+
.bn-block:has(>.bn-block-content[data-text-color=blue]){color:var(--bn-colors-highlights-blue-text)}
|
|
244
|
+
[data-style-type=textColor][data-value=purple],[data-text-color=purple]{color:var(--bn-colors-highlights-purple-text)}
|
|
245
|
+
.bn-block:has(>.bn-block-content[data-text-color=purple]){color:var(--bn-colors-highlights-purple-text)}
|
|
246
|
+
[data-style-type=textColor][data-value=pink],[data-text-color=pink]{color:var(--bn-colors-highlights-pink-text)}
|
|
247
|
+
.bn-block:has(>.bn-block-content[data-text-color=pink]){color:var(--bn-colors-highlights-pink-text)}
|
|
248
|
+
[data-style-type=backgroundColor][data-value=gray],[data-background-color=gray]{background-color:var(--bn-colors-highlights-gray-background)}
|
|
249
|
+
.bn-block:has(>.bn-block-content[data-background-color=gray]){background-color:var(--bn-colors-highlights-gray-background)}
|
|
250
|
+
[data-style-type=backgroundColor][data-value=brown],[data-background-color=brown]{background-color:var(--bn-colors-highlights-brown-background)}
|
|
251
|
+
.bn-block:has(>.bn-block-content[data-background-color=brown]){background-color:var(--bn-colors-highlights-brown-background)}
|
|
252
|
+
[data-style-type=backgroundColor][data-value=red],[data-background-color=red]{background-color:var(--bn-colors-highlights-red-background)}
|
|
253
|
+
.bn-block:has(>.bn-block-content[data-background-color=red]){background-color:var(--bn-colors-highlights-red-background)}
|
|
254
|
+
[data-style-type=backgroundColor][data-value=orange],[data-background-color=orange]{background-color:var(--bn-colors-highlights-orange-background)}
|
|
255
|
+
.bn-block:has(>.bn-block-content[data-background-color=orange]){background-color:var(--bn-colors-highlights-orange-background)}
|
|
256
|
+
[data-style-type=backgroundColor][data-value=yellow],[data-background-color=yellow]{background-color:var(--bn-colors-highlights-yellow-background)}
|
|
257
|
+
.bn-block:has(>.bn-block-content[data-background-color=yellow]){background-color:var(--bn-colors-highlights-yellow-background)}
|
|
258
|
+
[data-style-type=backgroundColor][data-value=green],[data-background-color=green]{background-color:var(--bn-colors-highlights-green-background)}
|
|
259
|
+
.bn-block:has(>.bn-block-content[data-background-color=green]){background-color:var(--bn-colors-highlights-green-background)}
|
|
260
|
+
[data-style-type=backgroundColor][data-value=blue],[data-background-color=blue]{background-color:var(--bn-colors-highlights-blue-background)}
|
|
261
|
+
.bn-block:has(>.bn-block-content[data-background-color=blue]){background-color:var(--bn-colors-highlights-blue-background)}
|
|
262
|
+
[data-style-type=backgroundColor][data-value=purple],[data-background-color=purple]{background-color:var(--bn-colors-highlights-purple-background)}
|
|
263
|
+
.bn-block:has(>.bn-block-content[data-background-color=purple]){background-color:var(--bn-colors-highlights-purple-background)}
|
|
264
|
+
[data-style-type=backgroundColor][data-value=pink],[data-background-color=pink]{background-color:var(--bn-colors-highlights-pink-background)}
|
|
265
|
+
.bn-block:has(>.bn-block-content[data-background-color=pink]){background-color:var(--bn-colors-highlights-pink-background)}
|
|
266
|
+
.bn-root{--bn-ui-base-z-index:0}
|
|
158
267
|
.bn-side-menu{height:30px}
|
|
159
|
-
.bn-
|
|
160
|
-
.bn-
|
|
161
|
-
.bn-side-menu[data-block-type=heading][data-level="3"]{height:37px}
|
|
162
|
-
.bn-side-menu[data-block-type=file]{height:38px}
|
|
163
|
-
.bn-side-menu[data-block-type=audio]{height:60px}
|
|
164
|
-
.bn-side-menu[data-url=false]{height:54px}
|
|
165
|
-
.bn-threads-sidebar{border-radius:var(--bn-border-radius-medium);display:flex;flex-direction:column;gap:10px;overflow:auto}
|
|
268
|
+
.bn-suggestion-menu,.bn-grid-suggestion-menu{flex-grow:1}
|
|
269
|
+
.bn-threads-sidebar{border-radius:var(--bn-border-radius-medium);flex-direction:column;gap:10px;display:flex;overflow:auto}
|
|
166
270
|
.bn-thread-expand-prompt .mantine-Text-root,.bn-thread .bn-header-text{color:var(--bn-colors-menu-text)}
|
|
167
|
-
.bn-threads-sidebar .bn-thread .bn-editor{background-color
|
|
168
|
-
.bn-threads-sidebar .bn-thread.selected{background-color:#f5f9fd;border:2px solid #
|
|
169
|
-
.dark .bn-threads-sidebar .bn-thread.selected{background-color:#20242a;border:2px solid #
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
@
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
.bn-
|
|
177
|
-
.bn-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
.bn-
|
|
181
|
-
.bn-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
.bn-mantine .mantine-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
.bn-mantine .mantine-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
.bn-mantine .mantine-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
.bn-mantine .mantine-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
.bn-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
.bn-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
.bn-
|
|
221
|
-
.bn-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
.bn-mantine .
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
.bn-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
.bn-mantine .
|
|
242
|
-
.bn-mantine .
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
.bn-
|
|
249
|
-
.bn-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
.bn-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
.bn-mantine .
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
.bn-mantine .
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
.bn-mantine .
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
.bn-mantine .
|
|
275
|
-
.bn-mantine .
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
.bn-mantine .
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
.bn-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
.bn-mantine .bn-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
271
|
+
.bn-threads-sidebar .bn-thread .bn-editor{background-color:#0000}
|
|
272
|
+
.bn-threads-sidebar .bn-thread.selected{background-color:#f5f9fd;border:2px solid #c2dcf8}
|
|
273
|
+
.dark .bn-threads-sidebar .bn-thread.selected{background-color:#20242a;border:2px solid #23405b}
|
|
274
|
+
.bn-visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}
|
|
275
|
+
.bn-mobile-formatting-toolbar{width:100vw;z-index:calc(var(--bn-ui-base-z-index) + 40);transform:translate(var(--bn-vv-left,0px), calc(var(--bn-vv-top,0px) + var(--bn-vv-height,0px))) translateY(-100%) scale(calc(1 / var(--bn-vv-scale,1)));transform-origin:0 100%;will-change:transform;padding-bottom:env(safe-area-inset-bottom,0);justify-content:center;transition:transform .2s cubic-bezier(.5,1,.89,1);display:flex;position:fixed;top:0;left:0}
|
|
276
|
+
.bn-mobile-formatting-toolbar .bn-toolbar{touch-action:pan-x}
|
|
277
|
+
@media (prefers-reduced-motion:reduce){.bn-mobile-formatting-toolbar{transition:none}}
|
|
278
|
+
.bn-scroll-container{top:var(--bn-vv-top,0px);left:var(--bn-vv-left,0px);width:var(--bn-vv-width,100vw);height:var(--bn-vv-height,100dvh);-webkit-overflow-scrolling:touch;overscroll-behavior:contain;position:fixed;overflow-y:auto}
|
|
279
|
+
.bn-scroll-container[data-bn-allow-pull-to-refresh]{overscroll-behavior-y:auto}
|
|
280
|
+
.bn-root em-emoji-picker{max-height:100%}
|
|
281
|
+
.bn-form{display:contents}
|
|
282
|
+
.bn-screen-reader-only-submit{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}
|
|
283
|
+
.bn-versioning-pagination{color:var(--bn-colors-menu-text);flex-shrink:0;justify-content:center;padding:12px;font-size:12px;display:flex}
|
|
284
|
+
.bn-versioning-pagination-loader{justify-content:center;align-items:center;width:16px;height:16px;display:inline-flex}
|
|
285
|
+
.bn-versioning-pagination-loader .bn-suggestion-menu-loader{width:16px;height:16px}
|
|
286
|
+
/*$vite$:1*/
|
|
287
|
+
|
|
288
|
+
/* Mantine base styles*/
|
|
289
|
+
|
|
290
|
+
/* Removes Mantine active styles */
|
|
291
|
+
.bn-mantine .mantine-active:active {
|
|
292
|
+
transform: none;
|
|
293
|
+
}
|
|
294
|
+
/* Mantine Badge component base styles */
|
|
295
|
+
.bn-mantine .mantine-Badge-root {
|
|
296
|
+
background-color: var(--bn-colors-tooltip-background);
|
|
297
|
+
color: var(--bn-colors-tooltip-text);
|
|
298
|
+
}
|
|
299
|
+
/* Mantine FileInput component base styles */
|
|
300
|
+
.bn-mantine .mantine-FileInput-input {
|
|
301
|
+
align-items: center;
|
|
302
|
+
background-color: var(--bn-colors-menu-background);
|
|
303
|
+
border: none;
|
|
304
|
+
border-radius: 4px;
|
|
305
|
+
color: var(--bn-colors-menu-text);
|
|
306
|
+
display: flex;
|
|
307
|
+
flex-direction: row;
|
|
308
|
+
font-family: var(--bn-font-family);
|
|
309
|
+
justify-content: center;
|
|
310
|
+
}
|
|
311
|
+
.bn-mantine .mantine-FileInput-input:hover {
|
|
312
|
+
background-color: var(--bn-colors-hovered-background);
|
|
313
|
+
}
|
|
314
|
+
.bn-mantine .mantine-FileInput-wrapper {
|
|
315
|
+
border: solid var(--bn-colors-border) 1px;
|
|
316
|
+
border-radius: 4px;
|
|
317
|
+
}
|
|
318
|
+
.bn-mantine .mantine-InputPlaceholder-placeholder {
|
|
319
|
+
color: var(--bn-colors-menu-text);
|
|
320
|
+
font-family: var(--bn-font-family);
|
|
321
|
+
font-weight: 600;
|
|
322
|
+
}
|
|
323
|
+
/* Mantine Menu component base styles */
|
|
324
|
+
.bn-mantine .mantine-Menu-dropdown,
|
|
325
|
+
.bn-mantine .bn-menu-dropdown {
|
|
326
|
+
background-color: var(--bn-colors-menu-background);
|
|
327
|
+
border: var(--bn-border);
|
|
328
|
+
border-radius: var(--bn-border-radius-medium);
|
|
329
|
+
box-shadow: var(--bn-shadow-medium);
|
|
330
|
+
box-sizing: border-box;
|
|
331
|
+
color: var(--bn-colors-menu-text);
|
|
332
|
+
padding: 2px;
|
|
333
|
+
overflow: auto;
|
|
334
|
+
}
|
|
335
|
+
.bn-mantine .mantine-Menu-label {
|
|
336
|
+
background-color: var(--bn-colors-menu-background);
|
|
337
|
+
color: var(--bn-colors-menu-text);
|
|
338
|
+
}
|
|
339
|
+
.bn-mantine .mantine-Menu-item {
|
|
340
|
+
background-color: var(--bn-colors-menu-background);
|
|
341
|
+
border: none;
|
|
342
|
+
border-radius: var(--bn-border-radius-small);
|
|
343
|
+
color: var(--bn-colors-menu-text);
|
|
344
|
+
}
|
|
345
|
+
.bn-mantine .mantine-Menu-item[aria-selected="true"],
|
|
346
|
+
.bn-mantine .mantine-Menu-item:hover {
|
|
347
|
+
background-color: var(--bn-colors-hovered-background);
|
|
348
|
+
border: none;
|
|
349
|
+
color: var(--bn-colors-hovered-text);
|
|
350
|
+
}
|
|
351
|
+
/* Mantine Popover component base styles */
|
|
352
|
+
.bn-mantine .bn-panel-popover,
|
|
353
|
+
.bn-mantine .bn-emoji-picker-popover {
|
|
354
|
+
background-color: transparent;
|
|
355
|
+
border: none;
|
|
356
|
+
border-radius: 0;
|
|
357
|
+
box-shadow: none;
|
|
358
|
+
display: flex;
|
|
359
|
+
padding: 0;
|
|
360
|
+
}
|
|
361
|
+
/* Mantine Tabs component base styles */
|
|
362
|
+
.bn-mantine .mantine-Tabs-root {
|
|
363
|
+
width: 100%;
|
|
364
|
+
background-color: var(--bn-colors-menu-background);
|
|
365
|
+
}
|
|
366
|
+
.bn-mantine .mantine-Tabs-list:before {
|
|
367
|
+
border-color: var(--bn-colors-hovered-background);
|
|
368
|
+
}
|
|
369
|
+
.bn-mantine .mantine-Tabs-tab {
|
|
370
|
+
color: var(--bn-colors-menu-text);
|
|
371
|
+
border-color: var(--bn-colors-hovered-background);
|
|
372
|
+
}
|
|
373
|
+
.bn-mantine .mantine-Tabs-tab:hover {
|
|
374
|
+
background-color: var(--bn-colors-hovered-background);
|
|
375
|
+
border-color: var(--bn-colors-hovered-background);
|
|
376
|
+
color: var(--bn-colors-hovered-text);
|
|
377
|
+
}
|
|
378
|
+
.bn-mantine .mantine-Tabs-tab[data-active],
|
|
379
|
+
.bn-mantine .mantine-Tabs-tab[data-active]:hover {
|
|
380
|
+
border-color: var(--bn-colors-menu-text);
|
|
381
|
+
color: var(--bn-colors-menu-text);
|
|
382
|
+
}
|
|
383
|
+
.bn-mantine .mantine-Tabs-panel {
|
|
384
|
+
padding: 8px;
|
|
385
|
+
}
|
|
386
|
+
/* Mantine TextInput component base styles */
|
|
387
|
+
.bn-mantine .mantine-TextInput-input {
|
|
388
|
+
background-color: var(--bn-colors-menu-background);
|
|
389
|
+
border: solid var(--bn-colors-border) 1px;
|
|
390
|
+
border-radius: 4px;
|
|
391
|
+
color: var(--bn-colors-menu-text);
|
|
392
|
+
font-family: var(--bn-font-family);
|
|
393
|
+
height: 32px;
|
|
394
|
+
}
|
|
395
|
+
.bn-mantine .bn-mt-input-large .mantine-TextInput-input {
|
|
396
|
+
border: none;
|
|
397
|
+
font-size: 14px;
|
|
398
|
+
height: 52px;
|
|
399
|
+
}
|
|
400
|
+
/* Mantine Tooltip component base styles */
|
|
401
|
+
.bn-mantine .mantine-Tooltip-tooltip {
|
|
402
|
+
background-color: transparent;
|
|
403
|
+
border: none;
|
|
404
|
+
border-radius: 0;
|
|
405
|
+
box-shadow: none;
|
|
406
|
+
padding: 0;
|
|
407
|
+
}
|
|
408
|
+
.bn-mantine .mantine-Tooltip-tooltip p:last-child {
|
|
409
|
+
white-space: pre-wrap;
|
|
410
|
+
}
|
|
411
|
+
.bn-mantine .mantine-Tooltip-tooltip p:first-child {
|
|
412
|
+
white-space: unset;
|
|
413
|
+
}
|
|
414
|
+
/* UI element styling */
|
|
415
|
+
|
|
416
|
+
/* Select styling */
|
|
417
|
+
.bn-mantine .bn-select {
|
|
418
|
+
overflow: auto;
|
|
419
|
+
}
|
|
420
|
+
/* Toolbar styling */
|
|
421
|
+
.bn-mantine .bn-toolbar {
|
|
422
|
+
background-color: var(--bn-colors-menu-background);
|
|
423
|
+
border: var(--bn-border);
|
|
424
|
+
border-radius: var(--bn-border-radius-medium);
|
|
425
|
+
box-shadow: var(--bn-shadow-medium);
|
|
426
|
+
flex-wrap: nowrap;
|
|
427
|
+
gap: 2px;
|
|
428
|
+
padding: 2px;
|
|
429
|
+
width: fit-content;
|
|
430
|
+
overflow-x: auto;
|
|
431
|
+
}
|
|
432
|
+
.bn-mantine .bn-toolbar:empty {
|
|
433
|
+
display: none;
|
|
434
|
+
}
|
|
435
|
+
.bn-toolbar .mantine-Button-root,
|
|
436
|
+
.bn-toolbar .mantine-ActionIcon-root {
|
|
437
|
+
background-color: var(--bn-colors-menu-background);
|
|
438
|
+
border: none;
|
|
439
|
+
border-radius: var(--bn-border-radius-small);
|
|
440
|
+
color: var(--bn-colors-menu-text);
|
|
441
|
+
flex-shrink: 0;
|
|
442
|
+
}
|
|
443
|
+
/* Hover styles are gated behind `hover: hover` so they don't stick after a tap
|
|
444
|
+
on touch devices (e.g. the mobile formatting toolbar). */
|
|
445
|
+
@media (hover: hover) {
|
|
446
|
+
.bn-toolbar .mantine-Button-root:hover,
|
|
447
|
+
.bn-toolbar .mantine-ActionIcon-root:hover {
|
|
448
|
+
background-color: var(--bn-colors-hovered-background);
|
|
449
|
+
border: none;
|
|
450
|
+
color: var(--bn-colors-hovered-text);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
.bn-toolbar .mantine-Button-root[data-selected],
|
|
454
|
+
.bn-toolbar .mantine-ActionIcon-root[data-selected] {
|
|
455
|
+
background-color: var(--bn-colors-selected-background);
|
|
456
|
+
border: none;
|
|
457
|
+
color: var(--bn-colors-selected-text);
|
|
458
|
+
}
|
|
459
|
+
.bn-toolbar .mantine-Button-root[data-disabled],
|
|
460
|
+
.bn-toolbar .mantine-ActionIcon-root[data-disabled] {
|
|
461
|
+
background-color: var(--bn-colors-disabled-background);
|
|
462
|
+
border: none;
|
|
463
|
+
color: var(--bn-colors-disabled-text);
|
|
464
|
+
}
|
|
465
|
+
.bn-mobile-formatting-toolbar .bn-toolbar .mantine-Button-root {
|
|
466
|
+
height: 40px;
|
|
467
|
+
padding-inline: 12px;
|
|
468
|
+
}
|
|
469
|
+
.bn-mobile-formatting-toolbar .bn-toolbar .mantine-ActionIcon-root {
|
|
470
|
+
width: 40px;
|
|
471
|
+
height: 40px;
|
|
472
|
+
}
|
|
473
|
+
/* Menus are portalled into the editor container, so they can't be styled
|
|
474
|
+
through the toolbar, side menu or table handle that opened them; scope on
|
|
475
|
+
the dropdowns themselves instead. */
|
|
476
|
+
.bn-mantine .bn-select .mantine-Menu-item,
|
|
477
|
+
.bn-mantine .bn-menu-dropdown .mantine-Menu-item,
|
|
478
|
+
.bn-mantine .bn-table-handle-menu .mantine-Menu-item {
|
|
479
|
+
font-size: 12px;
|
|
480
|
+
height: 30px;
|
|
481
|
+
}
|
|
482
|
+
.bn-mantine .bn-form-popover {
|
|
483
|
+
background-color: var(--bn-colors-menu-background);
|
|
484
|
+
border: var(--bn-border);
|
|
485
|
+
border-radius: var(--bn-border-radius-medium);
|
|
486
|
+
box-shadow: var(--bn-shadow-medium);
|
|
487
|
+
color: var(--bn-colors-menu-text);
|
|
488
|
+
gap: 4px;
|
|
489
|
+
min-width: 145px;
|
|
490
|
+
padding: 2px;
|
|
491
|
+
}
|
|
492
|
+
.bn-form-popover .mantine-TextInput-root,
|
|
493
|
+
.bn-form-popover .mantine-FileInput-root {
|
|
494
|
+
width: 300px;
|
|
495
|
+
}
|
|
496
|
+
.bn-form-popover .mantine-TextInput-wrapper,
|
|
497
|
+
.bn-form-popover .mantine-FileInput-wrapper {
|
|
498
|
+
padding: 0;
|
|
499
|
+
border-radius: 4px;
|
|
500
|
+
}
|
|
501
|
+
.bn-form-popover .mantine-TextInput-wrapper:hover {
|
|
502
|
+
background-color: var(--bn-colors-hovered-background);
|
|
503
|
+
}
|
|
504
|
+
.bn-form-popover .mantine-TextInput-input,
|
|
505
|
+
.bn-form-popover .mantine-FileInput-input {
|
|
506
|
+
border: none;
|
|
507
|
+
font-size: 12px;
|
|
508
|
+
}
|
|
509
|
+
/* On touch devices, enlarge the form-popover inputs (e.g. the link popover's
|
|
510
|
+
URL field). The 16px font-size is load-bearing: iOS Safari auto-zooms the
|
|
511
|
+
page when focusing an input with a smaller computed font-size, and that zoom
|
|
512
|
+
perturbs the visual viewport the mobile toolbar positions itself from. The
|
|
513
|
+
taller min-height also gives a comfortable tap target. (From #2982.) */
|
|
514
|
+
@media (pointer: coarse) {
|
|
515
|
+
.bn-form-popover .mantine-TextInput-input,
|
|
516
|
+
.bn-form-popover .mantine-FileInput-input {
|
|
517
|
+
font-size: 16px;
|
|
518
|
+
min-height: 40px;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
.bn-form-popover .mantine-FileInput-input:hover {
|
|
522
|
+
background-color: var(--bn-colors-hovered-background);
|
|
523
|
+
}
|
|
524
|
+
.bn-form-popover .mantine-FileInput-section[data-position="left"] {
|
|
525
|
+
color: var(--bn-colors-menu-text);
|
|
526
|
+
}
|
|
527
|
+
.bn-form-popover .mantine-FileInput-placeholder {
|
|
528
|
+
color: var(--bn-colors-menu-text);
|
|
529
|
+
}
|
|
530
|
+
/* Suggestion Menu styling*/
|
|
531
|
+
|
|
532
|
+
/* Base styles for Suggestion Menus, copied from the Mantine Menu component. */
|
|
533
|
+
/* Unfortunately necessary, as we can't use a Menu.Dropdown component on its
|
|
534
|
+
own. */
|
|
535
|
+
/* https://github.com/mantinedev/mantine/blob/e3e3bb834de1f2f75a27dbc757dc0a2fc6a6cba8/packages/%40mantine/core/src/components/Menu/Menu.module.css */
|
|
536
|
+
.bn-mantine .bn-suggestion-menu {
|
|
537
|
+
max-height: 100%;
|
|
538
|
+
position: relative;
|
|
539
|
+
box-shadow: var(--mantine-shadow-md);
|
|
540
|
+
border: calc(0.0625rem * var(--mantine-scale)) solid
|
|
541
|
+
var(--mantine-color-gray-2);
|
|
542
|
+
border-radius: var(--mantine-radius-default);
|
|
543
|
+
padding: 4px;
|
|
544
|
+
}
|
|
545
|
+
.bn-mantine .bn-suggestion-menu-label {
|
|
546
|
+
color: var(--mantine-color-dimmed);
|
|
547
|
+
font-weight: 500;
|
|
548
|
+
font-size: var(--mantine-font-size-xs);
|
|
549
|
+
padding: calc(var(--mantine-spacing-xs) / 2) var(--mantine-spacing-sm);
|
|
550
|
+
cursor: default;
|
|
551
|
+
}
|
|
552
|
+
.bn-mantine .bn-suggestion-menu-item {
|
|
553
|
+
font-size: var(--mantine-font-size-sm);
|
|
554
|
+
width: 100%;
|
|
555
|
+
padding: calc(var(--mantine-spacing-xs) / 1.5) var(--mantine-spacing-sm);
|
|
556
|
+
border-radius: var(--popover-radius, var(--mantine-radius-default));
|
|
557
|
+
color: var(--menu-item-color, var(--mantine-color-text));
|
|
558
|
+
display: flex;
|
|
559
|
+
align-items: center;
|
|
560
|
+
user-select: none;
|
|
561
|
+
|
|
562
|
+
&:where([data-disabled], :disabled) {
|
|
563
|
+
color: var(--mantine-color-dimmed);
|
|
564
|
+
opacity: 0.6;
|
|
565
|
+
pointer-events: none;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
/* Additional Suggestion Menu styling*/
|
|
569
|
+
.bn-mt-suggestion-menu-item-body {
|
|
570
|
+
flex: 1;
|
|
571
|
+
}
|
|
572
|
+
.bn-mt-suggestion-menu-item-section {
|
|
573
|
+
display: flex;
|
|
574
|
+
justify-content: center;
|
|
575
|
+
align-items: center;
|
|
576
|
+
|
|
577
|
+
&:where([data-position="left"]) {
|
|
578
|
+
margin-inline-end: var(--mantine-spacing-xs);
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
&:where([data-position="right"]) {
|
|
582
|
+
margin-inline-start: var(--mantine-spacing-xs);
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
.bn-mantine .bn-suggestion-menu {
|
|
586
|
+
background-color: var(--bn-colors-menu-background);
|
|
587
|
+
border: var(--bn-border);
|
|
588
|
+
border-radius: var(--bn-border-radius-medium);
|
|
589
|
+
box-shadow: var(--bn-shadow-medium);
|
|
590
|
+
box-sizing: border-box;
|
|
591
|
+
color: var(--bn-colors-menu-text);
|
|
592
|
+
height: fit-content;
|
|
593
|
+
max-height: inherit;
|
|
594
|
+
max-width: 350px;
|
|
595
|
+
overflow-y: auto;
|
|
596
|
+
padding: 2px;
|
|
597
|
+
}
|
|
598
|
+
.bn-mantine .bn-suggestion-menu-item {
|
|
599
|
+
cursor: pointer;
|
|
600
|
+
/* The menu scrolls rather than squashing its items. Load-bearing once an
|
|
601
|
+
explicit `min-height` is set below: that replaces the flex default
|
|
602
|
+
`min-height: auto`, whose automatic minimum size otherwise does this. */
|
|
603
|
+
flex-shrink: 0;
|
|
604
|
+
}
|
|
605
|
+
/* A uniform row height for full-size items - on their own they are 49px with a
|
|
606
|
+
subtext and 47px without one. Scoped away from small items, which are
|
|
607
|
+
content-sized: set on the rule above, the floor clamped those to the full row
|
|
608
|
+
height too, and no `height` can undo a `min-height`. */
|
|
609
|
+
.bn-mantine .bn-suggestion-menu-item:not(.bn-suggestion-menu-item-small) {
|
|
610
|
+
min-height: 52px;
|
|
611
|
+
}
|
|
612
|
+
.bn-mantine .bn-suggestion-menu-item-small {
|
|
613
|
+
/* Made to match with labels */
|
|
614
|
+
padding: calc(var(--mantine-spacing-xs) / 2) var(--mantine-spacing-sm);
|
|
615
|
+
}
|
|
616
|
+
.bn-mantine .bn-suggestion-menu-item[aria-selected="true"],
|
|
617
|
+
.bn-mantine .bn-suggestion-menu-item:hover {
|
|
618
|
+
background-color: var(--bn-colors-hovered-background);
|
|
619
|
+
}
|
|
620
|
+
.bn-mt-suggestion-menu-item-section {
|
|
621
|
+
color: var(--bn-colors-tooltip-text);
|
|
622
|
+
}
|
|
623
|
+
.bn-mt-suggestion-menu-item-section[data-position="left"] {
|
|
624
|
+
background-color: var(--bn-colors-tooltip-background);
|
|
625
|
+
border-radius: var(--bn-border-radius-small);
|
|
626
|
+
padding: 8px;
|
|
627
|
+
}
|
|
628
|
+
.bn-suggestion-menu-item-small
|
|
629
|
+
.bn-mt-suggestion-menu-item-section[data-position="left"] {
|
|
630
|
+
background-color: transparent;
|
|
631
|
+
padding: 0;
|
|
632
|
+
}
|
|
633
|
+
.bn-suggestion-menu-item-small
|
|
634
|
+
.bn-mt-suggestion-menu-item-section[data-position="left"]
|
|
635
|
+
svg {
|
|
636
|
+
height: 14px;
|
|
637
|
+
width: 14px;
|
|
638
|
+
}
|
|
639
|
+
.bn-mt-suggestion-menu-item-body {
|
|
640
|
+
align-items: stretch;
|
|
641
|
+
display: flex;
|
|
642
|
+
flex: 1;
|
|
643
|
+
min-width: 0;
|
|
644
|
+
flex-direction: column;
|
|
645
|
+
justify-content: flex-start;
|
|
646
|
+
padding-right: 16px;
|
|
647
|
+
}
|
|
648
|
+
.bn-mt-suggestion-menu-item-title {
|
|
649
|
+
color: var(--bn-colors-menu-text);
|
|
650
|
+
line-height: 20px;
|
|
651
|
+
font-weight: 500;
|
|
652
|
+
font-size: 14px;
|
|
653
|
+
margin: 0;
|
|
654
|
+
padding: 0;
|
|
655
|
+
overflow-wrap: anywhere;
|
|
656
|
+
}
|
|
657
|
+
.bn-suggestion-menu-item-small .bn-mt-suggestion-menu-item-title {
|
|
658
|
+
font-size: 12px;
|
|
659
|
+
}
|
|
660
|
+
.bn-mt-suggestion-menu-item-subtitle {
|
|
661
|
+
color: var(--bn-colors-menu-text);
|
|
662
|
+
line-height: 16px;
|
|
663
|
+
font-size: 10px;
|
|
664
|
+
margin: 0;
|
|
665
|
+
padding: 0;
|
|
666
|
+
overflow-wrap: anywhere;
|
|
667
|
+
}
|
|
668
|
+
.bn-suggestion-menu-item-small .bn-mt-suggestion-menu-item-subtitle {
|
|
669
|
+
display: none;
|
|
670
|
+
}
|
|
671
|
+
.bn-mantine .bn-suggestion-menu-label {
|
|
672
|
+
color: var(--bn-colors-hovered-text);
|
|
673
|
+
}
|
|
674
|
+
.bn-mantine .bn-suggestion-menu-loader {
|
|
675
|
+
height: 20px;
|
|
676
|
+
width: 100%;
|
|
677
|
+
}
|
|
678
|
+
.bn-mantine .bn-suggestion-menu-loader span {
|
|
679
|
+
background-color: var(--bn-colors-side-menu);
|
|
680
|
+
}
|
|
681
|
+
.bn-mantine .bn-grid-suggestion-menu {
|
|
682
|
+
background: var(--bn-colors-menu-background);
|
|
683
|
+
border-radius: var(--bn-border-radius-large);
|
|
684
|
+
box-shadow: var(--bn-shadow-medium);
|
|
685
|
+
display: grid;
|
|
686
|
+
gap: 7px;
|
|
687
|
+
height: fit-content;
|
|
688
|
+
justify-items: center;
|
|
689
|
+
max-height: inherit;
|
|
690
|
+
overflow-y: auto;
|
|
691
|
+
padding: 20px;
|
|
692
|
+
}
|
|
693
|
+
.bn-mantine .bn-grid-suggestion-menu-item {
|
|
694
|
+
align-items: center;
|
|
695
|
+
border-radius: var(--bn-border-radius-large);
|
|
696
|
+
cursor: pointer;
|
|
697
|
+
display: flex;
|
|
698
|
+
font-size: 20px;
|
|
699
|
+
height: 32px;
|
|
700
|
+
justify-content: center;
|
|
701
|
+
margin: 2px;
|
|
702
|
+
padding: 6px;
|
|
703
|
+
width: 32px;
|
|
704
|
+
}
|
|
705
|
+
.bn-mantine .bn-grid-suggestion-menu-item[aria-selected="true"],
|
|
706
|
+
.bn-mantine .bn-grid-suggestion-menu-item:hover {
|
|
707
|
+
background-color: var(--bn-colors-hovered-background);
|
|
708
|
+
}
|
|
709
|
+
.bn-mantine .bn-grid-suggestion-menu-empty-item,
|
|
710
|
+
.bn-mantine .bn-grid-suggestion-menu-loader {
|
|
711
|
+
align-items: center;
|
|
712
|
+
color: var(--bn-colors-menu-text);
|
|
713
|
+
display: flex;
|
|
714
|
+
font-size: 14px;
|
|
715
|
+
font-weight: 500;
|
|
716
|
+
height: 32px;
|
|
717
|
+
justify-content: center;
|
|
718
|
+
}
|
|
719
|
+
.bn-mantine .bn-grid-suggestion-menu-loader span {
|
|
720
|
+
background-color: var(--bn-colors-side-menu);
|
|
721
|
+
}
|
|
722
|
+
/* Side Menu styling */
|
|
723
|
+
.bn-mantine .bn-side-menu {
|
|
724
|
+
background-color: transparent;
|
|
725
|
+
overflow: visible;
|
|
726
|
+
}
|
|
727
|
+
.bn-side-menu .mantine-UnstyledButton-root:not(.mantine-Menu-item) {
|
|
728
|
+
background-color: transparent;
|
|
729
|
+
}
|
|
730
|
+
.bn-side-menu .mantine-UnstyledButton-root:hover {
|
|
731
|
+
background-color: var(--bn-colors-hovered-background);
|
|
732
|
+
}
|
|
733
|
+
.bn-side-menu .mantine-UnstyledButton-root:not(.mantine-Menu-item) svg {
|
|
734
|
+
background-color: transparent;
|
|
735
|
+
color: var(--bn-colors-side-menu);
|
|
736
|
+
height: 22px;
|
|
737
|
+
width: 22px;
|
|
738
|
+
}
|
|
739
|
+
.bn-mantine .bn-side-menu > [draggable="true"] {
|
|
740
|
+
display: flex;
|
|
741
|
+
}
|
|
742
|
+
.bn-mantine .bn-drag-handle-menu {
|
|
743
|
+
min-width: 100px;
|
|
744
|
+
}
|
|
745
|
+
/* Image Panel styling*/
|
|
746
|
+
.bn-mantine .bn-panel {
|
|
747
|
+
background-color: var(--bn-colors-menu-background);
|
|
748
|
+
border: var(--bn-border);
|
|
749
|
+
border-radius: var(--bn-border-radius-medium);
|
|
750
|
+
box-shadow: var(--bn-shadow-medium);
|
|
751
|
+
padding: 2px;
|
|
752
|
+
width: 500px;
|
|
753
|
+
max-width: 100vw;
|
|
754
|
+
}
|
|
755
|
+
.bn-mantine .bn-panel .bn-tab-panel {
|
|
756
|
+
align-items: center;
|
|
757
|
+
display: flex;
|
|
758
|
+
flex-direction: column;
|
|
759
|
+
gap: 8px;
|
|
760
|
+
width: 100%;
|
|
761
|
+
}
|
|
762
|
+
.bn-panel .mantine-TextInput-root,
|
|
763
|
+
.bn-panel .mantine-FileInput-root {
|
|
764
|
+
width: 100%;
|
|
765
|
+
}
|
|
766
|
+
.bn-panel .mantine-Button-root {
|
|
767
|
+
background-color: var(--bn-colors-menu-background);
|
|
768
|
+
border: solid var(--bn-colors-border) 1px;
|
|
769
|
+
border-radius: var(--bn-border-radius-small);
|
|
770
|
+
color: var(--bn-colors-menu-text);
|
|
771
|
+
height: 32px;
|
|
772
|
+
width: 60%;
|
|
773
|
+
}
|
|
774
|
+
.bn-panel .mantine-Button-root:hover {
|
|
775
|
+
background-color: var(--bn-colors-hovered-background);
|
|
776
|
+
}
|
|
777
|
+
.bn-panel .mantine-Text-root {
|
|
778
|
+
text-align: center;
|
|
779
|
+
}
|
|
780
|
+
/* Table Handle styling */
|
|
781
|
+
.bn-mantine .bn-table-handle,
|
|
782
|
+
.bn-mantine .bn-extend-button,
|
|
783
|
+
.bn-mantine .bn-table-cell-handle {
|
|
784
|
+
align-items: center;
|
|
785
|
+
background-color: var(--bn-colors-menu-background);
|
|
786
|
+
border: var(--bn-border);
|
|
787
|
+
border-radius: var(--bn-border-radius-small);
|
|
788
|
+
box-shadow: var(--bn-shadow-light);
|
|
789
|
+
color: var(--bn-colors-side-menu);
|
|
790
|
+
cursor: grab;
|
|
791
|
+
display: flex;
|
|
792
|
+
height: fit-content;
|
|
793
|
+
justify-content: center;
|
|
794
|
+
overflow: visible;
|
|
795
|
+
padding: 0;
|
|
796
|
+
}
|
|
797
|
+
.bn-mantine .bn-table-cell-handle {
|
|
798
|
+
padding: 0 4px;
|
|
799
|
+
}
|
|
800
|
+
.bn-mantine .bn-table-handle svg {
|
|
801
|
+
margin-inline: -4px;
|
|
802
|
+
}
|
|
803
|
+
.bn-mantine .bn-table-handle-not-draggable {
|
|
804
|
+
cursor: pointer;
|
|
805
|
+
}
|
|
806
|
+
.bn-mantine .bn-table-handle:hover,
|
|
807
|
+
.bn-mantine .bn-table-handle-dragging,
|
|
808
|
+
.bn-mantine .bn-extend-button:hover,
|
|
809
|
+
.bn-mantine .bn-extend-button-editing,
|
|
810
|
+
.bn-mantine .bn-table-cell-handle:hover {
|
|
811
|
+
background-color: var(--bn-colors-hovered-background);
|
|
812
|
+
}
|
|
813
|
+
.bn-mantine .bn-extend-button-add-remove-columns {
|
|
814
|
+
height: 100%;
|
|
815
|
+
width: 18px;
|
|
816
|
+
margin-left: 4px;
|
|
817
|
+
cursor: col-resize;
|
|
818
|
+
}
|
|
819
|
+
.bn-mantine .bn-extend-button-add-remove-rows {
|
|
820
|
+
height: 18px;
|
|
821
|
+
width: 100%;
|
|
822
|
+
margin-top: 4px;
|
|
823
|
+
cursor: row-resize;
|
|
824
|
+
}
|
|
825
|
+
/* Drag Handle & Table Handle Menu styling */
|
|
826
|
+
.bn-mantine .bn-drag-handle-menu,
|
|
827
|
+
.bn-mantine .bn-table-handle-menu {
|
|
828
|
+
overflow: visible;
|
|
829
|
+
}
|
|
830
|
+
/* Tooltip styling */
|
|
831
|
+
.bn-mantine .bn-tooltip {
|
|
832
|
+
background-color: var(--bn-colors-tooltip-background);
|
|
833
|
+
border: var(--bn-border);
|
|
834
|
+
border-radius: var(--bn-border-radius-medium);
|
|
835
|
+
box-shadow: var(--bn-shadow-medium);
|
|
836
|
+
color: var(--bn-colors-tooltip-text);
|
|
837
|
+
padding: 4px 10px;
|
|
838
|
+
text-align: center;
|
|
839
|
+
}
|
|
840
|
+
/* Additional menu styles */
|
|
841
|
+
.bn-mantine .bn-tick-space {
|
|
842
|
+
padding: 0;
|
|
843
|
+
width: 20px;
|
|
844
|
+
}
|
|
845
|
+
/* Comment styling */
|
|
846
|
+
.bn-mantine .bn-thread {
|
|
847
|
+
background-color: var(--bn-colors-menu-background);
|
|
848
|
+
border: var(--bn-border);
|
|
849
|
+
border-radius: var(--bn-border-radius-medium);
|
|
850
|
+
box-shadow: var(--bn-shadow-medium);
|
|
851
|
+
color: var(--bn-colors-menu-text);
|
|
852
|
+
display: flex;
|
|
853
|
+
flex-direction: column;
|
|
854
|
+
gap: 16px;
|
|
855
|
+
min-width: 350px;
|
|
856
|
+
overflow: visible;
|
|
857
|
+
}
|
|
858
|
+
.bn-mantine .bn-threads-sidebar .bn-thread {
|
|
859
|
+
box-shadow: none;
|
|
860
|
+
}
|
|
861
|
+
.bn-mantine .bn-thread-comments,
|
|
862
|
+
.bn-mantine .bn-thread-composer {
|
|
863
|
+
display: flex;
|
|
864
|
+
flex-direction: column;
|
|
865
|
+
margin: 0;
|
|
866
|
+
padding: 0;
|
|
867
|
+
}
|
|
868
|
+
.bn-mantine .bn-thread-comments {
|
|
869
|
+
gap: 1rem;
|
|
870
|
+
}
|
|
871
|
+
.bn-mantine .bn-thread-comment {
|
|
872
|
+
align-items: flex-start;
|
|
873
|
+
flex-direction: column;
|
|
874
|
+
gap: 0.25rem;
|
|
875
|
+
}
|
|
876
|
+
.bn-mantine .bn-thread-comment > .mantine-Group-root {
|
|
877
|
+
gap: 12px;
|
|
878
|
+
}
|
|
879
|
+
.bn-mantine .bn-thread-comment p {
|
|
880
|
+
color: var(--bn-colors-menu-text);
|
|
881
|
+
}
|
|
882
|
+
.bn-mantine .bn-thread .bn-header-text,
|
|
883
|
+
.bn-mantine .bn-thread-comment .bn-resolved-text {
|
|
884
|
+
font-size: 0.8rem;
|
|
885
|
+
font-style: italic;
|
|
886
|
+
}
|
|
887
|
+
.bn-mantine .bn-comment-actions-wrapper {
|
|
888
|
+
width: 100%;
|
|
889
|
+
display: flex;
|
|
890
|
+
justify-content: flex-end;
|
|
891
|
+
}
|
|
892
|
+
/* Comment action toolbar styling */
|
|
893
|
+
.bn-mantine .bn-action-toolbar {
|
|
894
|
+
align-self: flex-end;
|
|
895
|
+
background-color: var(--bn-colors-menu-background);
|
|
896
|
+
border: var(--bn-border);
|
|
897
|
+
border-radius: var(--bn-border-radius-medium);
|
|
898
|
+
gap: 0;
|
|
899
|
+
padding: 2px;
|
|
900
|
+
}
|
|
901
|
+
.bn-action-toolbar .mantine-Button-root,
|
|
902
|
+
.bn-action-toolbar .mantine-ActionIcon-root {
|
|
903
|
+
background-color: var(--bn-colors-menu-background);
|
|
904
|
+
border: none;
|
|
905
|
+
border-radius: var(--bn-border-radius-small);
|
|
906
|
+
color: var(--bn-colors-menu-text);
|
|
907
|
+
}
|
|
908
|
+
.bn-action-toolbar .mantine-Button-root:hover,
|
|
909
|
+
.bn-action-toolbar .mantine-ActionIcon-root:hover {
|
|
910
|
+
background-color: var(--bn-colors-hovered-background);
|
|
911
|
+
border: none;
|
|
912
|
+
color: var(--bn-colors-hovered-text);
|
|
913
|
+
}
|
|
914
|
+
.bn-action-toolbar .mantine-Button-root[data-selected],
|
|
915
|
+
.bn-action-toolbar .mantine-ActionIcon-root[data-selected] {
|
|
916
|
+
background-color: var(--bn-colors-selected-background);
|
|
917
|
+
border: none;
|
|
918
|
+
color: var(--bn-colors-selected-text);
|
|
919
|
+
}
|
|
920
|
+
.bn-action-toolbar .mantine-Button-root[data-disabled],
|
|
921
|
+
.bn-action-toolbar .mantine-ActionIcon-root[data-disabled] {
|
|
922
|
+
background-color: var(--bn-colors-disabled-background);
|
|
923
|
+
border: none;
|
|
924
|
+
color: var(--bn-colors-disabled-text);
|
|
925
|
+
}
|
|
926
|
+
/* Badge styling */
|
|
927
|
+
.bn-mantine .bn-badge-group {
|
|
928
|
+
display: flex;
|
|
929
|
+
gap: 4px;
|
|
930
|
+
justify-content: flex-start;
|
|
931
|
+
width: 100%;
|
|
932
|
+
}
|
|
933
|
+
.bn-mantine .bn-badge {
|
|
934
|
+
flex-grow: 0;
|
|
935
|
+
}
|
|
936
|
+
.bn-mantine .bn-badge .mantine-Chip-label {
|
|
937
|
+
padding: 0 8px;
|
|
938
|
+
}
|
|
939
|
+
.bn-mantine .bn-badge .mantine-Chip-label:not([data-checked="true"]) {
|
|
940
|
+
background-color: var(--bn-colors-menu-background);
|
|
941
|
+
border: var(--bn-border);
|
|
942
|
+
color: var(--bn-colors-menu-text);
|
|
943
|
+
}
|
|
944
|
+
.bn-mantine .bn-badge .mantine-Chip-label:hover {
|
|
945
|
+
border: 1px solid var(--mantine-primary-color-filled-hover);
|
|
946
|
+
color: var(--mantine-primary-color-filled-hover);
|
|
947
|
+
}
|
|
948
|
+
.bn-mantine
|
|
949
|
+
.bn-badge
|
|
950
|
+
.mantine-Chip-label
|
|
951
|
+
> span:not(.mantine-Chip-iconWrapper) {
|
|
952
|
+
display: inline-flex;
|
|
953
|
+
gap: 4px;
|
|
954
|
+
}
|
|
955
|
+
.bn-mantine
|
|
956
|
+
.bn-badge
|
|
957
|
+
.mantine-Chip-label
|
|
958
|
+
> span:not(.mantine-Chip-iconWrapper)
|
|
959
|
+
> span {
|
|
960
|
+
align-items: center;
|
|
961
|
+
display: inline-flex;
|
|
962
|
+
justify-content: center;
|
|
963
|
+
}
|
|
964
|
+
/* Combobox styling */
|
|
965
|
+
.bn-mantine .bn-combobox-input,
|
|
966
|
+
.bn-mantine .bn-combobox-items:not(:empty) {
|
|
967
|
+
background-color: var(--bn-colors-menu-background);
|
|
968
|
+
border: var(--bn-border);
|
|
969
|
+
border-radius: var(--bn-border-radius-medium);
|
|
970
|
+
box-shadow: var(--bn-shadow-medium);
|
|
971
|
+
color: var(--bn-colors-menu-text);
|
|
972
|
+
gap: 4px;
|
|
973
|
+
min-width: 145px;
|
|
974
|
+
padding: 2px;
|
|
975
|
+
}
|
|
976
|
+
.bn-mantine .bn-combobox-input .bn-combobox-icon,
|
|
977
|
+
.bn-mantine .bn-combobox-input .bn-combobox-right-section {
|
|
978
|
+
align-items: center;
|
|
979
|
+
display: flex;
|
|
980
|
+
justify-content: center;
|
|
981
|
+
}
|
|
982
|
+
.bn-mantine .bn-combobox-input .bn-combobox-error {
|
|
983
|
+
color: var(--bn-colors-highlights-red-background);
|
|
984
|
+
}
|
|
985
|
+
/* We need to get rid of the checked icon - you can set the icon prop to an
|
|
986
|
+
empty element (<></>), but even so Mantine leaves extra space for the icon, so
|
|
987
|
+
we just don't display it in CSS instead. */
|
|
988
|
+
.bn-mantine .bn-badge .mantine-Chip-iconWrapper {
|
|
989
|
+
display: none;
|
|
990
|
+
}
|
|
991
|
+
/* Version history */
|
|
992
|
+
.bn-mantine .bn-versioning-sidebar {
|
|
993
|
+
display: flex;
|
|
994
|
+
flex: 1;
|
|
995
|
+
flex-direction: column;
|
|
996
|
+
min-height: 0;
|
|
997
|
+
overflow: hidden;
|
|
998
|
+
padding-inline: 16px;
|
|
999
|
+
}
|
|
1000
|
+
.bn-mantine .bn-versioning-sidebar-header {
|
|
1001
|
+
flex-shrink: 0;
|
|
1002
|
+
padding-block: 16px 8px;
|
|
1003
|
+
}
|
|
1004
|
+
.bn-mantine .bn-versioning-sidebar-title {
|
|
1005
|
+
color: var(--mantine-color-text);
|
|
1006
|
+
font-size: 18px;
|
|
1007
|
+
line-height: 1.4;
|
|
1008
|
+
}
|
|
1009
|
+
.bn-mantine .bn-versioning-sidebar-header-actions {
|
|
1010
|
+
align-items: center;
|
|
1011
|
+
display: flex;
|
|
1012
|
+
gap: 4px;
|
|
1013
|
+
}
|
|
1014
|
+
.bn-mantine .bn-versioning-sidebar-list {
|
|
1015
|
+
display: flex;
|
|
1016
|
+
flex: 1;
|
|
1017
|
+
flex-direction: column;
|
|
1018
|
+
margin: -4px -4px 0;
|
|
1019
|
+
min-height: 0;
|
|
1020
|
+
overflow-y: auto;
|
|
1021
|
+
padding: 4px 4px 16px;
|
|
1022
|
+
}
|
|
1023
|
+
.bn-mantine .bn-versioning-sidebar-loading {
|
|
1024
|
+
align-items: center;
|
|
1025
|
+
display: flex;
|
|
1026
|
+
flex-shrink: 0;
|
|
1027
|
+
justify-content: center;
|
|
1028
|
+
padding-block: 24px;
|
|
1029
|
+
}
|
|
1030
|
+
.bn-mantine .bn-versioning-sidebar-empty,
|
|
1031
|
+
.bn-mantine .bn-versioning-sidebar-error {
|
|
1032
|
+
flex-shrink: 0;
|
|
1033
|
+
font-size: 13px;
|
|
1034
|
+
padding-block: 12px;
|
|
1035
|
+
text-align: center;
|
|
1036
|
+
}
|
|
1037
|
+
.bn-mantine .bn-versioning-sidebar-empty {
|
|
1038
|
+
color: var(--mantine-color-dimmed);
|
|
1039
|
+
}
|
|
1040
|
+
.bn-mantine .bn-versioning-sidebar-error {
|
|
1041
|
+
color: var(--mantine-color-red-7);
|
|
1042
|
+
padding-block: 8px;
|
|
1043
|
+
text-align: start;
|
|
1044
|
+
}
|
|
1045
|
+
.bn-mantine[data-mantine-color-scheme="dark"] .bn-versioning-sidebar-error {
|
|
1046
|
+
color: var(--mantine-color-red-4);
|
|
1047
|
+
}
|
|
1048
|
+
.bn-mantine .bn-snapshot {
|
|
1049
|
+
background-color: var(--mantine-color-body);
|
|
1050
|
+
border: 1px solid transparent;
|
|
1051
|
+
border-radius: var(--mantine-radius-md);
|
|
1052
|
+
color: var(--mantine-color-text);
|
|
1053
|
+
cursor: pointer;
|
|
1054
|
+
display: flex;
|
|
1055
|
+
flex-direction: column;
|
|
1056
|
+
gap: 6px;
|
|
1057
|
+
margin-bottom: 4px;
|
|
1058
|
+
overflow: visible;
|
|
1059
|
+
padding: 12px 14px;
|
|
1060
|
+
position: relative;
|
|
1061
|
+
transition:
|
|
1062
|
+
background-color 0.12s ease,
|
|
1063
|
+
border-color 0.12s ease;
|
|
1064
|
+
width: 100%;
|
|
1065
|
+
}
|
|
1066
|
+
.bn-mantine .bn-snapshot:hover {
|
|
1067
|
+
background-color: var(--mantine-color-default-hover);
|
|
1068
|
+
}
|
|
1069
|
+
.bn-mantine .bn-snapshot:focus-visible {
|
|
1070
|
+
outline: 2px solid var(--mantine-primary-color-filled);
|
|
1071
|
+
outline-offset: 2px;
|
|
1072
|
+
}
|
|
1073
|
+
.bn-mantine .bn-snapshot.selected:focus-visible {
|
|
1074
|
+
outline-color: var(--mantine-color-white);
|
|
1075
|
+
outline-offset: -4px;
|
|
1076
|
+
}
|
|
1077
|
+
.bn-mantine .bn-snapshot-title-row {
|
|
1078
|
+
min-height: 20px;
|
|
1079
|
+
min-width: 0;
|
|
1080
|
+
padding-right: 20px;
|
|
1081
|
+
}
|
|
1082
|
+
.bn-mantine .bn-snapshot-name {
|
|
1083
|
+
color: inherit;
|
|
1084
|
+
font-size: 14px;
|
|
1085
|
+
font-weight: 700;
|
|
1086
|
+
line-height: 20px;
|
|
1087
|
+
overflow: hidden;
|
|
1088
|
+
text-overflow: ellipsis;
|
|
1089
|
+
white-space: nowrap;
|
|
1090
|
+
}
|
|
1091
|
+
.bn-mantine .bn-snapshot-name-sizer {
|
|
1092
|
+
display: inline-grid;
|
|
1093
|
+
grid-template-columns: minmax(0, max-content);
|
|
1094
|
+
margin: -2px -5px;
|
|
1095
|
+
max-width: calc(100% + 10px);
|
|
1096
|
+
min-width: 0;
|
|
1097
|
+
}
|
|
1098
|
+
.bn-mantine .bn-snapshot-name-sizer::after {
|
|
1099
|
+
border: 1px solid transparent;
|
|
1100
|
+
content: attr(data-value) " ";
|
|
1101
|
+
font-size: 14px;
|
|
1102
|
+
font-weight: 700;
|
|
1103
|
+
grid-area: 1 / 1;
|
|
1104
|
+
line-height: 20px;
|
|
1105
|
+
/* Keep the hidden measurement text out of the version list's scroll area. */
|
|
1106
|
+
overflow: hidden;
|
|
1107
|
+
padding: 1px 4px;
|
|
1108
|
+
visibility: hidden;
|
|
1109
|
+
white-space: pre;
|
|
1110
|
+
}
|
|
1111
|
+
.bn-mantine .bn-snapshot-name-sizer > .bn-snapshot-name {
|
|
1112
|
+
background: transparent;
|
|
1113
|
+
border: 1px solid transparent;
|
|
1114
|
+
border-radius: var(--mantine-radius-sm);
|
|
1115
|
+
grid-area: 1 / 1;
|
|
1116
|
+
margin: 0;
|
|
1117
|
+
min-width: 0;
|
|
1118
|
+
padding: 1px 4px;
|
|
1119
|
+
width: 100%;
|
|
1120
|
+
}
|
|
1121
|
+
.bn-mantine
|
|
1122
|
+
.bn-snapshot-name-sizer
|
|
1123
|
+
> .bn-snapshot-name
|
|
1124
|
+
> input.bn-snapshot-name {
|
|
1125
|
+
appearance: none;
|
|
1126
|
+
background: transparent;
|
|
1127
|
+
border: 0;
|
|
1128
|
+
color: inherit;
|
|
1129
|
+
font: inherit;
|
|
1130
|
+
height: 20px;
|
|
1131
|
+
margin: 0;
|
|
1132
|
+
min-width: 0;
|
|
1133
|
+
outline: none;
|
|
1134
|
+
padding: 0;
|
|
1135
|
+
width: 100%;
|
|
1136
|
+
}
|
|
1137
|
+
.bn-mantine .bn-snapshot-name::placeholder {
|
|
1138
|
+
color: inherit;
|
|
1139
|
+
opacity: 1;
|
|
1140
|
+
}
|
|
1141
|
+
.bn-mantine .bn-snapshot-name-sizer > .bn-snapshot-name:hover {
|
|
1142
|
+
text-decoration: underline dotted;
|
|
1143
|
+
text-underline-offset: 3px;
|
|
1144
|
+
}
|
|
1145
|
+
.bn-mantine .bn-snapshot-name-sizer > .bn-snapshot-name:focus-within {
|
|
1146
|
+
border-color: var(--mantine-primary-color-filled);
|
|
1147
|
+
outline: none;
|
|
1148
|
+
text-decoration: none;
|
|
1149
|
+
}
|
|
1150
|
+
.bn-mantine
|
|
1151
|
+
.bn-snapshot.selected
|
|
1152
|
+
.bn-snapshot-name-sizer
|
|
1153
|
+
> .bn-snapshot-name:focus-within {
|
|
1154
|
+
background-color: rgba(255, 255, 255, 0.15);
|
|
1155
|
+
border-color: rgba(255, 255, 255, 0.6);
|
|
1156
|
+
}
|
|
1157
|
+
.bn-mantine .bn-snapshot-body,
|
|
1158
|
+
.bn-mantine .bn-snapshot-date,
|
|
1159
|
+
.bn-mantine .bn-snapshot-original-date,
|
|
1160
|
+
.bn-mantine .bn-snapshot-secondary-label {
|
|
1161
|
+
font-size: 13px;
|
|
1162
|
+
line-height: 1.3;
|
|
1163
|
+
}
|
|
1164
|
+
.bn-mantine .bn-snapshot-original-date,
|
|
1165
|
+
.bn-mantine .bn-snapshot-secondary-label {
|
|
1166
|
+
color: var(--mantine-color-dimmed);
|
|
1167
|
+
}
|
|
1168
|
+
.bn-mantine .bn-snapshot-menu {
|
|
1169
|
+
opacity: 0;
|
|
1170
|
+
position: absolute;
|
|
1171
|
+
right: 8px;
|
|
1172
|
+
top: 8px;
|
|
1173
|
+
transition: opacity 0.12s ease;
|
|
1174
|
+
}
|
|
1175
|
+
.bn-mantine .bn-snapshot:hover .bn-snapshot-menu,
|
|
1176
|
+
.bn-mantine .bn-snapshot:focus-visible .bn-snapshot-menu,
|
|
1177
|
+
.bn-mantine .bn-snapshot:focus-within .bn-snapshot-menu {
|
|
1178
|
+
opacity: 1;
|
|
1179
|
+
}
|
|
1180
|
+
.bn-mantine .bn-snapshot-menu .bn-action-toolbar {
|
|
1181
|
+
background-color: transparent;
|
|
1182
|
+
border: none;
|
|
1183
|
+
border-radius: 0;
|
|
1184
|
+
padding: 0;
|
|
1185
|
+
}
|
|
1186
|
+
.bn-mantine .bn-snapshot .bn-snapshot-menu-trigger,
|
|
1187
|
+
.bn-mantine .bn-snapshot .bn-snapshot-menu-trigger:hover,
|
|
1188
|
+
.bn-mantine .bn-snapshot .bn-snapshot-menu-trigger[data-selected] {
|
|
1189
|
+
background-color: transparent;
|
|
1190
|
+
border: none;
|
|
1191
|
+
height: auto;
|
|
1192
|
+
min-width: 0;
|
|
1193
|
+
padding: 2px;
|
|
1194
|
+
}
|
|
1195
|
+
.bn-mantine .bn-snapshot .bn-snapshot-menu-trigger:hover {
|
|
1196
|
+
opacity: 0.6;
|
|
1197
|
+
}
|
|
1198
|
+
.bn-mantine .bn-snapshot.selected {
|
|
1199
|
+
background-color: var(--mantine-primary-color-filled);
|
|
1200
|
+
color: var(--mantine-color-white);
|
|
1201
|
+
}
|
|
1202
|
+
.bn-mantine .bn-snapshot.selected .bn-snapshot-name,
|
|
1203
|
+
.bn-mantine .bn-snapshot.selected .bn-snapshot-name::placeholder {
|
|
1204
|
+
color: var(--mantine-color-white);
|
|
1205
|
+
}
|
|
1206
|
+
.bn-mantine .bn-snapshot.selected .bn-snapshot-date,
|
|
1207
|
+
.bn-mantine .bn-snapshot.selected .bn-snapshot-original-date,
|
|
1208
|
+
.bn-mantine .bn-snapshot.selected .bn-snapshot-secondary-label,
|
|
1209
|
+
.bn-mantine .bn-snapshot.selected .bn-snapshot-menu-trigger {
|
|
1210
|
+
color: rgba(255, 255, 255, 0.9);
|
|
1211
|
+
}
|
|
1212
|
+
.bn-mantine .bn-snapshot-comparison-source,
|
|
1213
|
+
.bn-mantine .bn-snapshot.comparing {
|
|
1214
|
+
border-color: var(--mantine-primary-color-filled);
|
|
1215
|
+
box-shadow: 0 0 0 1px var(--mantine-primary-color-filled);
|
|
1216
|
+
}
|
|
1217
|
+
.bn-mantine .bn-snapshot.comparing {
|
|
1218
|
+
background-color: color-mix(
|
|
1219
|
+
in srgb,
|
|
1220
|
+
var(--mantine-primary-color-filled) 8%,
|
|
1221
|
+
var(--mantine-color-body)
|
|
1222
|
+
);
|
|
1223
|
+
}
|
|
1224
|
+
.bn-mantine .bn-snapshot-comparing-to {
|
|
1225
|
+
color: var(--mantine-primary-color-filled);
|
|
1226
|
+
font-size: 13px;
|
|
1227
|
+
font-weight: 600;
|
|
1228
|
+
}
|
|
1229
|
+
.bn-mantine[data-mantine-color-scheme="dark"] .bn-snapshot-comparing-to {
|
|
1230
|
+
color: var(--mantine-primary-color-3);
|
|
1231
|
+
}
|
|
295
1232
|
|
|
296
1233
|
/* IXO Editor Custom Styles */
|
|
297
1234
|
|
|
@@ -377,6 +1314,20 @@
|
|
|
377
1314
|
min-height: 1.5em;
|
|
378
1315
|
}
|
|
379
1316
|
|
|
1317
|
+
/* Divider: one thin line in the text colour at low strength, like Notion */
|
|
1318
|
+
.ixo-editor .bn-block-content[data-content-type='divider'] {
|
|
1319
|
+
min-height: 0;
|
|
1320
|
+
padding-block: 9px;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
.ixo-editor [data-content-type='divider'] hr {
|
|
1324
|
+
flex: 1;
|
|
1325
|
+
height: 0;
|
|
1326
|
+
margin: 0;
|
|
1327
|
+
border: 0;
|
|
1328
|
+
border-top: 1px solid color-mix(in srgb, var(--bn-colors-editor-text) 16%, transparent);
|
|
1329
|
+
}
|
|
1330
|
+
|
|
380
1331
|
/* Disable text selection on custom (non-editable) blocks.
|
|
381
1332
|
Standard text blocks re-enable it via .bn-inline-content below. */
|
|
382
1333
|
.ixo-editor div.bn-block-content {
|
|
@@ -649,3 +1600,275 @@ body.external-artifact-drag-active .prosemirror-dropcursor-inline {
|
|
|
649
1600
|
.ixo-kyc-survey .sd-html [bgcolor] {
|
|
650
1601
|
background: color-mix(in srgb, var(--mantine-color-text) 6%, transparent) !important;
|
|
651
1602
|
}
|
|
1603
|
+
|
|
1604
|
+
/* `/` palette (CommandPalette) */
|
|
1605
|
+
/* BlockNote caps the popup to the room on screen (inline max-height on its
|
|
1606
|
+
parent); the palette takes that cap and its list shrinks to fit and scrolls. */
|
|
1607
|
+
.ixo-palette {
|
|
1608
|
+
display: flex;
|
|
1609
|
+
flex-direction: column;
|
|
1610
|
+
width: min(360px, calc(100vw - 32px));
|
|
1611
|
+
max-height: inherit;
|
|
1612
|
+
overflow: hidden;
|
|
1613
|
+
background-color: var(--mantine-color-neutralColor-3);
|
|
1614
|
+
border: 1px solid var(--mantine-color-neutralColor-5);
|
|
1615
|
+
border-radius: 10px;
|
|
1616
|
+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
|
|
1617
|
+
padding: 6px;
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
.ixo-palette--loading {
|
|
1621
|
+
padding: 12px;
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
.ixo-palette__scroll {
|
|
1625
|
+
flex: 0 1 auto;
|
|
1626
|
+
min-height: 0;
|
|
1627
|
+
max-height: 346px;
|
|
1628
|
+
overflow-y: auto;
|
|
1629
|
+
overflow-x: hidden;
|
|
1630
|
+
scrollbar-width: none;
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
.ixo-palette__scroll::-webkit-scrollbar {
|
|
1634
|
+
display: none;
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
.ixo-palette__group {
|
|
1638
|
+
padding: 10px 8px 4px;
|
|
1639
|
+
font-size: 12px;
|
|
1640
|
+
font-weight: 500;
|
|
1641
|
+
line-height: 16px;
|
|
1642
|
+
color: var(--mantine-color-neutralColor-7);
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
.ixo-palette__group:first-child {
|
|
1646
|
+
padding-top: 4px;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
.ixo-palette__hint {
|
|
1650
|
+
color: var(--mantine-color-neutralColor-7);
|
|
1651
|
+
font-size: 14px;
|
|
1652
|
+
text-align: center;
|
|
1653
|
+
padding: 12px;
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
.ixo-palette__item {
|
|
1657
|
+
display: flex;
|
|
1658
|
+
align-items: center;
|
|
1659
|
+
gap: 8px;
|
|
1660
|
+
min-height: 32px;
|
|
1661
|
+
padding: 4px 8px;
|
|
1662
|
+
border-radius: 6px;
|
|
1663
|
+
cursor: pointer;
|
|
1664
|
+
transition: background-color 0.1s ease;
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
.ixo-palette__item:hover,
|
|
1668
|
+
.ixo-palette__item[data-selected] {
|
|
1669
|
+
background-color: var(--mantine-color-neutralColor-4);
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
.ixo-palette__icon {
|
|
1673
|
+
display: flex;
|
|
1674
|
+
align-items: center;
|
|
1675
|
+
justify-content: center;
|
|
1676
|
+
flex: none;
|
|
1677
|
+
width: 18px;
|
|
1678
|
+
height: 18px;
|
|
1679
|
+
color: var(--mantine-color-neutralColor-8);
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
.ixo-palette__icon svg {
|
|
1683
|
+
width: 16px;
|
|
1684
|
+
height: 16px;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
.ixo-palette__label {
|
|
1688
|
+
flex: none;
|
|
1689
|
+
max-width: 60%;
|
|
1690
|
+
overflow: hidden;
|
|
1691
|
+
text-overflow: ellipsis;
|
|
1692
|
+
white-space: nowrap;
|
|
1693
|
+
font-size: 14px;
|
|
1694
|
+
font-weight: 500;
|
|
1695
|
+
color: var(--mantine-color-neutralColor-8);
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
.ixo-palette__description {
|
|
1699
|
+
flex: 1;
|
|
1700
|
+
min-width: 0;
|
|
1701
|
+
overflow: hidden;
|
|
1702
|
+
text-overflow: ellipsis;
|
|
1703
|
+
white-space: nowrap;
|
|
1704
|
+
font-size: 13px;
|
|
1705
|
+
color: var(--mantine-color-neutralColor-7);
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
/* Insert toolbar: floating pills above the page title */
|
|
1709
|
+
.ixo-insert-toolbar {
|
|
1710
|
+
position: sticky;
|
|
1711
|
+
top: 8px;
|
|
1712
|
+
z-index: 5;
|
|
1713
|
+
display: flex;
|
|
1714
|
+
align-items: center;
|
|
1715
|
+
gap: 8px;
|
|
1716
|
+
max-width: 964px;
|
|
1717
|
+
margin: 8px auto 0 auto;
|
|
1718
|
+
padding: 0 8px;
|
|
1719
|
+
box-sizing: border-box;
|
|
1720
|
+
pointer-events: none;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
.ixo-insert-toolbar__pill {
|
|
1724
|
+
display: inline-flex;
|
|
1725
|
+
align-items: center;
|
|
1726
|
+
gap: 2px;
|
|
1727
|
+
height: 44px;
|
|
1728
|
+
padding: 0 4px;
|
|
1729
|
+
box-sizing: border-box;
|
|
1730
|
+
border-radius: 999px;
|
|
1731
|
+
background-color: var(--mantine-color-neutralColor-2);
|
|
1732
|
+
border: 1px solid var(--mantine-color-neutralColor-3);
|
|
1733
|
+
pointer-events: auto;
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
.ixo-insert-toolbar--header {
|
|
1737
|
+
top: 0;
|
|
1738
|
+
max-width: none;
|
|
1739
|
+
margin: 0;
|
|
1740
|
+
padding: 0 0 8px 0;
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
.ixo-insert-toolbar__slot {
|
|
1744
|
+
display: inline-flex;
|
|
1745
|
+
align-items: center;
|
|
1746
|
+
gap: 8px;
|
|
1747
|
+
pointer-events: auto;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
.ixo-insert-toolbar__trailing {
|
|
1751
|
+
margin-left: auto;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
button.ixo-insert-toolbar__profile {
|
|
1755
|
+
font: inherit;
|
|
1756
|
+
font-size: 15px;
|
|
1757
|
+
font-weight: 500;
|
|
1758
|
+
color: var(--mantine-color-text);
|
|
1759
|
+
cursor: pointer;
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
button.ixo-insert-toolbar__profile:focus-visible {
|
|
1763
|
+
outline: 2px solid var(--mantine-color-accent-5);
|
|
1764
|
+
outline-offset: 2px;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
button.ixo-insert-toolbar__profile:hover {
|
|
1768
|
+
background-color: var(--mantine-color-neutralColor-3);
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
.ixo-insert-toolbar__title {
|
|
1772
|
+
max-width: 260px;
|
|
1773
|
+
overflow: hidden;
|
|
1774
|
+
text-overflow: ellipsis;
|
|
1775
|
+
white-space: nowrap;
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
.ixo-insert-toolbar__profile {
|
|
1779
|
+
gap: 8px;
|
|
1780
|
+
padding: 0 16px 0 14px;
|
|
1781
|
+
font-size: 15px;
|
|
1782
|
+
font-weight: 500;
|
|
1783
|
+
color: var(--mantine-color-text);
|
|
1784
|
+
white-space: nowrap;
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
.ixo-insert-toolbar__menu {
|
|
1788
|
+
border-radius: 16px !important;
|
|
1789
|
+
padding: 6px !important;
|
|
1790
|
+
max-height: min(70vh, 520px);
|
|
1791
|
+
overflow-y: auto;
|
|
1792
|
+
overscroll-behavior: contain;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
.ixo-insert-toolbar__menu-item {
|
|
1796
|
+
border-radius: 10px !important;
|
|
1797
|
+
padding: 8px 10px !important;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
.ixo-insert-toolbar__menu-label {
|
|
1801
|
+
min-width: 0;
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
.ixo-insert-toolbar__item {
|
|
1805
|
+
display: flex;
|
|
1806
|
+
align-items: baseline;
|
|
1807
|
+
gap: 8px;
|
|
1808
|
+
min-width: 0;
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
.ixo-insert-toolbar__label {
|
|
1812
|
+
font-size: 14px;
|
|
1813
|
+
white-space: nowrap;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
.ixo-insert-toolbar__description {
|
|
1817
|
+
min-width: 0;
|
|
1818
|
+
font-size: 13px;
|
|
1819
|
+
color: var(--mantine-color-neutralColor-7);
|
|
1820
|
+
white-space: nowrap;
|
|
1821
|
+
overflow: hidden;
|
|
1822
|
+
text-overflow: ellipsis;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
.ixo-insert-toolbar__shortcut {
|
|
1826
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
1827
|
+
font-size: 11px;
|
|
1828
|
+
padding: 1px 6px;
|
|
1829
|
+
border-radius: 6px;
|
|
1830
|
+
background-color: var(--mantine-color-neutralColor-3);
|
|
1831
|
+
color: var(--mantine-color-neutralColor-7);
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
.ixo-insert-toolbar__quick {
|
|
1835
|
+
display: none;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
.ixo-insert-toolbar__hint {
|
|
1839
|
+
color: var(--mantine-color-neutralColor-7) !important;
|
|
1840
|
+
padding: 6px 12px 4px 12px;
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
@media (max-width: 992px) {
|
|
1844
|
+
.ixo-insert-toolbar {
|
|
1845
|
+
padding: 0 16px;
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
.ixo-insert-toolbar--header {
|
|
1849
|
+
padding: 0 0 8px 0;
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
.ixo-insert-toolbar__title {
|
|
1853
|
+
max-width: 120px;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
.ixo-insert-toolbar .ixo-insert-toolbar__primary {
|
|
1857
|
+
display: none;
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
.ixo-insert-toolbar__quick {
|
|
1861
|
+
display: block;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
.ixo-insert-toolbar__menu {
|
|
1865
|
+
left: 16px !important;
|
|
1866
|
+
width: calc(100vw - 32px) !important;
|
|
1867
|
+
max-height: min(60vh, 480px);
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
.ixo-editor__end-space {
|
|
1872
|
+
min-height: 96px;
|
|
1873
|
+
cursor: text;
|
|
1874
|
+
}
|