@eventuras/scribo 0.4.2
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/LICENSE.md +31 -0
- package/README.md +31 -0
- package/eslint.config.js +4 -0
- package/index.html +13 -0
- package/package.json +41 -0
- package/src/App.css +35 -0
- package/src/App.tsx +42 -0
- package/src/MarkdownEditor.css +1127 -0
- package/src/MarkdownEditor.tsx +105 -0
- package/src/context/SharedHistoryContext.tsx +36 -0
- package/src/index.tsx +12 -0
- package/src/main.tsx +4 -0
- package/src/nodes/EditorNodes.ts +39 -0
- package/src/plugins/AutoLinkPlugin.tsx +34 -0
- package/src/plugins/FloatingLinkEditorPlugin.css +41 -0
- package/src/plugins/FloatingLinkEditorPlugin.tsx +469 -0
- package/src/plugins/HistoryPlugin.tsx +506 -0
- package/src/plugins/LinkPlugin.tsx +17 -0
- package/src/plugins/ToolbarPlugin.tsx +528 -0
- package/src/themes/EditorTheme.css +297 -0
- package/src/themes/EditorTheme.ts +118 -0
- package/src/ui/ContentEditable.css +23 -0
- package/src/ui/ContentEditable.tsx +19 -0
- package/src/ui/DropDown.tsx +262 -0
- package/src/ui/Placeholder.css +28 -0
- package/src/ui/Placeholder.tsx +21 -0
- package/src/utils/environment.ts +54 -0
- package/src/utils/getSelectedNode.ts +28 -0
- package/src/utils/setFloatingElemPosition.ts +51 -0
- package/src/utils/setFloatingElemPositionForLinkEditor.ts +46 -0
- package/src/utils/url.ts +39 -0
- package/src/vite-env.d.ts +8 -0
- package/tsconfig.node.json +11 -0
- package/vite.config.ts +32 -0
|
@@ -0,0 +1,1127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* Source: https://github.com/facebook/lexical/blob/main/packages/lexical-playground/src/index.css
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
.editor-shell {
|
|
11
|
+
margin: 10px auto;
|
|
12
|
+
border-radius: 2px;
|
|
13
|
+
/*max-width: 1100px;*/
|
|
14
|
+
color: #000;
|
|
15
|
+
position: relative;
|
|
16
|
+
line-height: 1.7;
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.editor-shell .editor-container {
|
|
21
|
+
background: #fff;
|
|
22
|
+
position: relative;
|
|
23
|
+
display: block;
|
|
24
|
+
border-bottom-left-radius: 10px;
|
|
25
|
+
border-bottom-right-radius: 10px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.editor-shell .editor-container.tree-view {
|
|
29
|
+
border-radius: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.editor-shell .editor-container.plain-text {
|
|
33
|
+
border-top-left-radius: 10px;
|
|
34
|
+
border-top-right-radius: 10px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.editor-scroller {
|
|
38
|
+
min-height: 150px;
|
|
39
|
+
border: 0;
|
|
40
|
+
display: flex;
|
|
41
|
+
position: relative;
|
|
42
|
+
outline: 0;
|
|
43
|
+
z-index: 0;
|
|
44
|
+
overflow: auto;
|
|
45
|
+
resize: vertical;
|
|
46
|
+
height: 80vh;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.editor {
|
|
50
|
+
flex: auto;
|
|
51
|
+
position: relative;
|
|
52
|
+
resize: vertical;
|
|
53
|
+
z-index: -1;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
ul {
|
|
57
|
+
list-style-type: disc;
|
|
58
|
+
padding: 10px 0 !important;
|
|
59
|
+
padding-left: 20px !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
pre {
|
|
63
|
+
line-height: 1.1;
|
|
64
|
+
background: #222;
|
|
65
|
+
color: #fff;
|
|
66
|
+
margin: 0;
|
|
67
|
+
padding: 10px;
|
|
68
|
+
font-size: 12px;
|
|
69
|
+
overflow: auto;
|
|
70
|
+
max-height: 400px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
pre::-webkit-scrollbar {
|
|
74
|
+
background: transparent;
|
|
75
|
+
width: 10px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
pre::-webkit-scrollbar-thumb {
|
|
79
|
+
background: #999;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
i.bold {
|
|
83
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-type-bold'%3E%3Cpath d='M8.21 13c2.106 0 3.412-1.087 3.412-2.823 0-1.306-.984-2.283-2.324-2.386v-.055a2.176 2.176 0 0 0 1.852-2.14c0-1.51-1.162-2.46-3.014-2.46H3.843V13H8.21zM5.908 4.674h1.696c.963 0 1.517.451 1.517 1.244 0 .834-.629 1.32-1.73 1.32H5.908V4.673zm0 6.788V8.598h1.73c1.217 0 1.88.492 1.88 1.415 0 .943-.643 1.449-1.832 1.449H5.907z'/%3E%3C/svg%3E");
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
i.italic {
|
|
87
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-type-italic'%3E%3Cpath d='M7.991 11.674 9.53 4.455c.123-.595.246-.71 1.347-.807l.11-.52H7.211l-.11.52c1.06.096 1.128.212 1.005.807L6.57 11.674c-.123.595-.246.71-1.346.806l-.11.52h3.774l.11-.52c-1.06-.095-1.129-.211-1.006-.806z'/%3E%3C/svg%3E");
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
i.code {
|
|
91
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-code'%3E%3Cpath d='M5.854 4.854a.5.5 0 1 0-.708-.708l-3.5 3.5a.5.5 0 0 0 0 .708l3.5 3.5a.5.5 0 0 0 .708-.708L2.707 8l3.147-3.146zm4.292 0a.5.5 0 0 1 .708-.708l3.5 3.5a.5.5 0 0 1 0 .708l-3.5 3.5a.5.5 0 0 1-.708-.708L13.293 8l-3.147-3.146z'/%3E%3C/svg%3E");
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
i.underline {
|
|
95
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-type-underline'%3E%3Cpath d='M5.313 3.136h-1.23V9.54c0 2.105 1.47 3.623 3.917 3.623s3.917-1.518 3.917-3.623V3.136h-1.23v6.323c0 1.49-.978 2.57-2.687 2.57-1.709 0-2.687-1.08-2.687-2.57V3.136zM12.5 15h-9v-1h9v1z'/%3E%3C/svg%3E");
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
i.strikethrough {
|
|
99
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-type-strikethrough'%3E%3Cpath d='M6.333 5.686c0 .31.083.581.27.814H5.166a2.776 2.776 0 0 1-.099-.76c0-1.627 1.436-2.768 3.48-2.768 1.969 0 3.39 1.175 3.445 2.85h-1.23c-.11-1.08-.964-1.743-2.25-1.743-1.23 0-2.18.602-2.18 1.607zm2.194 7.478c-2.153 0-3.589-1.107-3.705-2.81h1.23c.144 1.06 1.129 1.703 2.544 1.703 1.34 0 2.31-.705 2.31-1.675 0-.827-.547-1.374-1.914-1.675L8.046 8.5H1v-1h14v1h-3.504c.468.437.675.994.675 1.697 0 1.826-1.436 2.967-3.644 2.967z'/%3E%3C/svg%3E");
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
i.link {
|
|
103
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-link'%3E%3Cpath d='M6.354 5.5H4a3 3 0 0 0 0 6h3a3 3 0 0 0 2.83-4H9c-.086 0-.17.01-.25.031A2 2 0 0 1 7 10.5H4a2 2 0 1 1 0-4h1.535c.218-.376.495-.714.82-1z'/%3E%3Cpath d='M9 5.5a3 3 0 0 0-2.83 4h1.098A2 2 0 0 1 9 6.5h3a2 2 0 1 1 0 4h-1.535a4.02 4.02 0 0 1-.82 1H12a3 3 0 1 0 0-6H9z'/%3E%3C/svg%3E");
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.icon.plus {
|
|
107
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-plus'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.icon.caret-right {
|
|
111
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-caret-right-fill'%3E%3Cpath d='m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z'/%3E%3C/svg%3E");
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.icon.dropdown-more {
|
|
115
|
+
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.648 4.475 1.824 12.25H.67l3.252-8.531h.744l-.018.756Zm2.368 7.775-2.83-7.775-.018-.756h.744l3.264 8.531h-1.16Zm-.147-3.158v.926H2.076v-.926H6.87Zm6.024 2.074V7.902c0-.25-.051-.466-.153-.65a.997.997 0 0 0-.445-.434c-.2-.101-.445-.152-.738-.152-.274 0-.514.047-.721.14a1.255 1.255 0 0 0-.48.37.809.809 0 0 0-.17.492H9.101c0-.227.058-.451.175-.674.118-.223.286-.424.504-.603.223-.184.489-.329.797-.434.313-.11.66-.164 1.043-.164.461 0 .867.078 1.219.234.355.157.633.393.832.71.203.312.305.704.305 1.177v2.953c0 .211.017.436.052.674.04.238.096.443.17.615v.094h-1.13a2.022 2.022 0 0 1-.13-.498 4.011 4.011 0 0 1-.046-.586Zm.187-2.76.012.762h-1.096c-.309 0-.584.025-.826.076a1.89 1.89 0 0 0-.61.217.979.979 0 0 0-.504.879c0 .2.046.38.135.545a.98.98 0 0 0 .405.392c.183.094.408.141.674.141.332 0 .625-.07.878-.211a1.83 1.83 0 0 0 .604-.516c.152-.203.234-.4.246-.591l.463.521a1.572 1.572 0 0 1-.223.545 2.607 2.607 0 0 1-1.2 1.025 2.328 2.328 0 0 1-.927.176c-.43 0-.806-.084-1.13-.252a1.933 1.933 0 0 1-.75-.674 1.784 1.784 0 0 1-.264-.955c0-.34.066-.638.199-.896a1.73 1.73 0 0 1 .574-.65c.25-.176.551-.31.903-.399a4.76 4.76 0 0 1 1.177-.135h1.26Z' fill='%23000'/%3E%3C/svg%3E");
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
i.image {
|
|
119
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-file-image'%3E%3Cpath d='M8.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z'/%3E%3Cpath d='M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM3 2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8l-2.083-2.083a.5.5 0 0 0-.76.063L8 11 5.835 9.7a.5.5 0 0 0-.611.076L3 12V2z'/%3E%3C/svg%3E");
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
i.close {
|
|
123
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M0 256C0 114.6 114.6 0 256 0s256 114.6 256 256-114.6 256-256 256S0 397.4 0 256zm175-47.9 47.1 47L175 303c-9.3 9.4-9.3 24.6 0 33.1 9.4 10.2 24.6 10.2 33.1 0l47-46.2 47.9 46.2c9.4 10.2 24.6 10.2 33.1 0 10.2-8.5 10.2-23.7 0-33.1l-46.2-47.9 46.2-47c10.2-8.5 10.2-23.7 0-33.1-8.5-9.3-23.7-9.3-33.1 0l-47.9 47.1-47-47.1c-8.5-9.3-23.7-9.3-33.1 0-9.3 9.4-9.3 24.6 0 33.1z'/%3E%3C/svg%3E");
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
i.markdown {
|
|
127
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-markdown'%3E%3Cpath d='M14 3a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h12zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z'/%3E%3Cpath fill-rule='evenodd' d='M9.146 8.146a.5.5 0 0 1 .708 0L11.5 9.793l1.646-1.647a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 0-.708z'/%3E%3Cpath fill-rule='evenodd' d='M11.5 5a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 1 .5-.5z'/%3E%3Cpath d='M3.56 11V7.01h.056l1.428 3.239h.774l1.42-3.24h.056V11h1.073V5.001h-1.2l-1.71 3.894h-.039l-1.71-3.894H2.5V11h1.06z'/%3E%3C/svg%3E");
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
i.undo {
|
|
131
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-arrow-counterclockwise'%3E%3Cpath fill-rule='evenodd' d='M8 3a5 5 0 1 1-4.546 2.914.5.5 0 0 0-.908-.417A6 6 0 1 0 8 2v1z'/%3E%3Cpath d='M8 4.466V.534a.25.25 0 0 0-.41-.192L5.23 2.308a.25.25 0 0 0 0 .384l2.36 1.966A.25.25 0 0 0 8 4.466z'/%3E%3C/svg%3E");
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
i.redo {
|
|
135
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-arrow-clockwise'%3E%3Cpath fill-rule='evenodd' d='M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2v1z'/%3E%3Cpath d='M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466z'/%3E%3C/svg%3E");
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.link-editor .button.active,
|
|
139
|
+
.toolbar .button.active {
|
|
140
|
+
background-color: rgb(223, 232, 250);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.link-editor .link-input {
|
|
144
|
+
display: block;
|
|
145
|
+
width: calc(100% - 75px);
|
|
146
|
+
box-sizing: border-box;
|
|
147
|
+
margin: 12px 12px;
|
|
148
|
+
padding: 8px 12px;
|
|
149
|
+
border-radius: 15px;
|
|
150
|
+
background-color: #eee;
|
|
151
|
+
font-size: 15px;
|
|
152
|
+
color: rgb(5, 5, 5);
|
|
153
|
+
border: 0;
|
|
154
|
+
outline: 0;
|
|
155
|
+
position: relative;
|
|
156
|
+
font-family: inherit;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.link-editor .link-view {
|
|
160
|
+
display: block;
|
|
161
|
+
width: calc(100% - 24px);
|
|
162
|
+
margin: 8px 12px;
|
|
163
|
+
padding: 8px 12px;
|
|
164
|
+
border-radius: 15px;
|
|
165
|
+
font-size: 15px;
|
|
166
|
+
color: rgb(5, 5, 5);
|
|
167
|
+
border: 0;
|
|
168
|
+
outline: 0;
|
|
169
|
+
position: relative;
|
|
170
|
+
font-family: inherit;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.link-editor .link-view a {
|
|
174
|
+
display: block;
|
|
175
|
+
word-break: break-word;
|
|
176
|
+
width: calc(100% - 33px);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.link-editor div.link-edit {
|
|
180
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-pencil-fill'%3E%3Cpath d='M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z'/%3E%3C/svg%3E");
|
|
181
|
+
background-size: 16px;
|
|
182
|
+
background-position: center;
|
|
183
|
+
background-repeat: no-repeat;
|
|
184
|
+
width: 35px;
|
|
185
|
+
vertical-align: -0.25em;
|
|
186
|
+
position: absolute;
|
|
187
|
+
right: 30px;
|
|
188
|
+
top: 0;
|
|
189
|
+
bottom: 0;
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.link-editor div.link-trash {
|
|
194
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-trash'%3E%3Cpath d='M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z'/%3E%3Cpath fill-rule='evenodd' d='M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z'/%3E%3C/svg%3E");
|
|
195
|
+
background-size: 16px;
|
|
196
|
+
background-position: center;
|
|
197
|
+
background-repeat: no-repeat;
|
|
198
|
+
width: 35px;
|
|
199
|
+
vertical-align: -0.25em;
|
|
200
|
+
position: absolute;
|
|
201
|
+
right: 0;
|
|
202
|
+
top: 0;
|
|
203
|
+
bottom: 0;
|
|
204
|
+
cursor: pointer;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.link-editor div.link-cancel {
|
|
208
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M0 256C0 114.6 114.6 0 256 0s256 114.6 256 256-114.6 256-256 256S0 397.4 0 256zm175-47.9 47.1 47L175 303c-9.3 9.4-9.3 24.6 0 33.1 9.4 10.2 24.6 10.2 33.1 0l47-46.2 47.9 46.2c9.4 10.2 24.6 10.2 33.1 0 10.2-8.5 10.2-23.7 0-33.1l-46.2-47.9 46.2-47c10.2-8.5 10.2-23.7 0-33.1-8.5-9.3-23.7-9.3-33.1 0l-47.9 47.1-47-47.1c-8.5-9.3-23.7-9.3-33.1 0-9.3 9.4-9.3 24.6 0 33.1z'/%3E%3C/svg%3E");
|
|
209
|
+
background-size: 16px;
|
|
210
|
+
background-position: center;
|
|
211
|
+
background-repeat: no-repeat;
|
|
212
|
+
width: 35px;
|
|
213
|
+
vertical-align: -0.25em;
|
|
214
|
+
margin-right: 28px;
|
|
215
|
+
position: absolute;
|
|
216
|
+
right: 0;
|
|
217
|
+
top: 0;
|
|
218
|
+
bottom: 0;
|
|
219
|
+
cursor: pointer;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.link-editor div.link-confirm {
|
|
223
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='25' fill='%23000'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' d='M38 15 22 33l-10-8'/%3E%3C/svg%3E");
|
|
224
|
+
background-size: 16px;
|
|
225
|
+
background-position: center;
|
|
226
|
+
background-repeat: no-repeat;
|
|
227
|
+
width: 35px;
|
|
228
|
+
vertical-align: -0.25em;
|
|
229
|
+
margin-right: 2px;
|
|
230
|
+
position: absolute;
|
|
231
|
+
right: 0;
|
|
232
|
+
top: 0;
|
|
233
|
+
bottom: 0;
|
|
234
|
+
cursor: pointer;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.link-editor .link-input a {
|
|
238
|
+
color: rgb(33, 111, 219);
|
|
239
|
+
text-decoration: underline;
|
|
240
|
+
white-space: nowrap;
|
|
241
|
+
overflow: hidden;
|
|
242
|
+
margin-right: 30px;
|
|
243
|
+
text-overflow: ellipsis;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.link-editor .link-input a:hover {
|
|
247
|
+
text-decoration: underline;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.link-editor .font-size-wrapper,
|
|
251
|
+
.link-editor .font-family-wrapper {
|
|
252
|
+
display: flex;
|
|
253
|
+
margin: 0 4px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.link-editor select {
|
|
257
|
+
padding: 6px;
|
|
258
|
+
border: none;
|
|
259
|
+
background-color: rgba(0, 0, 0, 0.075);
|
|
260
|
+
border-radius: 4px;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.mention:focus {
|
|
264
|
+
box-shadow: rgb(180 213 255) 0px 0px 0px 2px;
|
|
265
|
+
outline: none;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.characters-limit {
|
|
269
|
+
color: #888;
|
|
270
|
+
font-size: 12px;
|
|
271
|
+
text-align: right;
|
|
272
|
+
display: block;
|
|
273
|
+
position: absolute;
|
|
274
|
+
left: 12px;
|
|
275
|
+
bottom: 5px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.characters-limit.characters-limit-exceeded {
|
|
279
|
+
color: red;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.dropdown {
|
|
283
|
+
z-index: 100;
|
|
284
|
+
display: block;
|
|
285
|
+
position: fixed;
|
|
286
|
+
box-shadow:
|
|
287
|
+
0 12px 28px 0 rgba(0, 0, 0, 0.2),
|
|
288
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.1),
|
|
289
|
+
inset 0 0 0 1px rgba(255, 255, 255, 0.5);
|
|
290
|
+
border-radius: 8px;
|
|
291
|
+
min-height: 40px;
|
|
292
|
+
background-color: #fff;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.dropdown .item {
|
|
296
|
+
margin: 0 8px 0 8px;
|
|
297
|
+
padding: 8px;
|
|
298
|
+
color: #050505;
|
|
299
|
+
cursor: pointer;
|
|
300
|
+
line-height: 16px;
|
|
301
|
+
font-size: 15px;
|
|
302
|
+
display: flex;
|
|
303
|
+
align-content: center;
|
|
304
|
+
flex-direction: row;
|
|
305
|
+
flex-shrink: 0;
|
|
306
|
+
justify-content: space-between;
|
|
307
|
+
background-color: #fff;
|
|
308
|
+
border-radius: 8px;
|
|
309
|
+
border: 0;
|
|
310
|
+
max-width: 250px;
|
|
311
|
+
min-width: 100px;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.dropdown .item.fontsize-item,
|
|
315
|
+
.dropdown .item.fontsize-item .text {
|
|
316
|
+
min-width: unset;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.dropdown .item .active {
|
|
320
|
+
display: flex;
|
|
321
|
+
width: 20px;
|
|
322
|
+
height: 20px;
|
|
323
|
+
background-size: contain;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.dropdown .item:first-child {
|
|
327
|
+
margin-top: 8px;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.dropdown .item:last-child {
|
|
331
|
+
margin-bottom: 8px;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.dropdown .item:hover {
|
|
335
|
+
background-color: #eee;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.dropdown .item .text {
|
|
339
|
+
display: flex;
|
|
340
|
+
line-height: 20px;
|
|
341
|
+
flex-grow: 1;
|
|
342
|
+
min-width: 150px;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.dropdown .item .icon {
|
|
346
|
+
display: flex;
|
|
347
|
+
width: 20px;
|
|
348
|
+
height: 20px;
|
|
349
|
+
user-select: none;
|
|
350
|
+
margin-right: 12px;
|
|
351
|
+
line-height: 16px;
|
|
352
|
+
background-size: contain;
|
|
353
|
+
background-position: center;
|
|
354
|
+
background-repeat: no-repeat;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.dropdown .divider {
|
|
358
|
+
width: auto;
|
|
359
|
+
background-color: #eee;
|
|
360
|
+
margin: 4px 8px;
|
|
361
|
+
height: 1px;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
@media screen and (max-width: 1100px) {
|
|
365
|
+
.dropdown-button-text {
|
|
366
|
+
display: none !important;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.font-size .dropdown-button-text {
|
|
370
|
+
display: flex !important;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.code-language .dropdown-button-text {
|
|
374
|
+
display: flex !important;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.icon.paragraph {
|
|
379
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-text-paragraph'%3E%3Cpath fill-rule='evenodd' d='M2 12.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm0-3a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5zm4-3a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.icon.h1 {
|
|
383
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-type-h1'%3E%3Cpath d='M8.637 13V3.669H7.379V7.62H2.758V3.67H1.5V13h1.258V8.728h4.62V13h1.259zm5.329 0V3.669h-1.244L10.5 5.316v1.265l2.16-1.565h.062V13h1.244z'/%3E%3C/svg%3E");
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.icon.h2 {
|
|
387
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-type-h2'%3E%3Cpath d='M7.638 13V3.669H6.38V7.62H1.759V3.67H.5V13h1.258V8.728h4.62V13h1.259zm3.022-6.733v-.048c0-.889.63-1.668 1.716-1.668.957 0 1.675.608 1.675 1.572 0 .855-.554 1.504-1.067 2.085l-3.513 3.999V13H15.5v-1.094h-4.245v-.075l2.481-2.844c.875-.998 1.586-1.784 1.586-2.953 0-1.463-1.155-2.556-2.919-2.556-1.941 0-2.966 1.326-2.966 2.74v.049h1.223z'/%3E%3C/svg%3E");
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.icon.h3 {
|
|
391
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-type-h3'%3E%3Cpath d='M7.637 13V3.669H6.379V7.62H1.758V3.67H.5V13h1.258V8.728h4.62V13h1.259zm3.625-4.272h1.018c1.142 0 1.935.67 1.949 1.674.013 1.005-.78 1.737-2.01 1.73-1.08-.007-1.853-.588-1.935-1.32H9.108c.069 1.327 1.224 2.386 3.083 2.386 1.935 0 3.343-1.155 3.309-2.789-.027-1.51-1.251-2.16-2.037-2.249v-.068c.704-.123 1.764-.91 1.723-2.229-.035-1.353-1.176-2.4-2.954-2.385-1.873.006-2.857 1.162-2.898 2.358h1.196c.062-.69.711-1.299 1.696-1.299.998 0 1.695.622 1.695 1.525.007.922-.718 1.592-1.695 1.592h-.964v1.074z'/%3E%3C/svg%3E");
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.icon.h4 {
|
|
395
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-type-h4' %3E%3Cpath d='M7.637 13V3.669H6.379V7.62H1.758V3.67H.5V13h1.258V8.728h4.62V13Zm5.337.2v-2.328H9.108V9.828l3.441-6.35h1.632v6.141H15.5v1.253h-1.319V13.2Zm-2.615-3.581h2.615V6.7L13 4.689l-.872 1.7z'/%3E%3C/svg%3E");
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.icon.bullet-list,
|
|
399
|
+
.icon.bullet {
|
|
400
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-list-ul'%3E%3Cpath fill-rule='evenodd' d='M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm-3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm0 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/%3E%3C/svg%3E");
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.icon.numbered-list,
|
|
404
|
+
.icon.number {
|
|
405
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-list-ol'%3E%3Cpath fill-rule='evenodd' d='M5 11.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5z'/%3E%3Cpath d='M1.713 11.865v-.474H2c.217 0 .363-.137.363-.317 0-.185-.158-.31-.361-.31-.223 0-.367.152-.373.31h-.59c.016-.467.373-.787.986-.787.588-.002.954.291.957.703a.595.595 0 0 1-.492.594v.033a.615.615 0 0 1 .569.631c.003.533-.502.8-1.051.8-.656 0-1-.37-1.008-.794h.582c.008.178.186.306.422.309.254 0 .424-.145.422-.35-.002-.195-.155-.348-.414-.348h-.3zm-.004-4.699h-.604v-.035c0-.408.295-.844.958-.844.583 0 .96.326.96.756 0 .389-.257.617-.476.848l-.537.572v.03h1.054V9H1.143v-.395l.957-.99c.138-.142.293-.304.293-.508 0-.18-.147-.32-.342-.32a.33.33 0 0 0-.342.338v.041zM2.564 5h-.635V2.924h-.031l-.598.42v-.567l.629-.443h.635V5z'/%3E%3C/svg%3E");
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.icon.quote {
|
|
409
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chat-square-quote'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-2.5a2 2 0 0 0-1.6.8L8 14.333 6.1 11.8a2 2 0 0 0-1.6-.8H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5a1 1 0 0 1 .8.4l1.9 2.533a1 1 0 0 0 1.6 0l1.9-2.533a1 1 0 0 1 .8-.4H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3Cpath d='M7.066 4.76A1.665 1.665 0 0 0 4 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112zm4 0A1.665 1.665 0 0 0 8 5.668a1.667 1.667 0 0 0 2.561 1.406c-.131.389-.375.804-.777 1.22a.417.417 0 1 0 .6.58c1.486-1.54 1.293-3.214.682-4.112z'/%3E%3C/svg%3E");
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.icon.code {
|
|
413
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-code'%3E%3Cpath d='M5.854 4.854a.5.5 0 1 0-.708-.708l-3.5 3.5a.5.5 0 0 0 0 .708l3.5 3.5a.5.5 0 0 0 .708-.708L2.707 8l3.147-3.146zm4.292 0a.5.5 0 0 1 .708-.708l3.5 3.5a.5.5 0 0 1 0 .708l-3.5 3.5a.5.5 0 0 1-.708-.708L13.293 8l-3.147-3.146z'/%3E%3C/svg%3E");
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.switches {
|
|
417
|
+
z-index: 6;
|
|
418
|
+
position: fixed;
|
|
419
|
+
left: 10px;
|
|
420
|
+
bottom: 70px;
|
|
421
|
+
animation: slide-in 0.4s ease;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
@keyframes slide-in {
|
|
425
|
+
0% {
|
|
426
|
+
opacity: 0;
|
|
427
|
+
transform: translateX(-200px);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
100% {
|
|
431
|
+
opacity: 1;
|
|
432
|
+
transform: translateX(0);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.switch {
|
|
437
|
+
display: block;
|
|
438
|
+
color: #444;
|
|
439
|
+
margin: 5px 0;
|
|
440
|
+
background-color: rgba(238, 238, 238, 0.7);
|
|
441
|
+
padding: 5px 10px;
|
|
442
|
+
border-radius: 10px;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
#rich-text-switch {
|
|
446
|
+
right: 0;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
#character-count-switch {
|
|
450
|
+
right: 130px;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.switch label {
|
|
454
|
+
margin-right: 5px;
|
|
455
|
+
line-height: 24px;
|
|
456
|
+
width: 100px;
|
|
457
|
+
font-size: 14px;
|
|
458
|
+
display: inline-block;
|
|
459
|
+
vertical-align: middle;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.switch button {
|
|
463
|
+
background-color: rgb(206, 208, 212);
|
|
464
|
+
height: 24px;
|
|
465
|
+
box-sizing: border-box;
|
|
466
|
+
border-radius: 12px;
|
|
467
|
+
width: 44px;
|
|
468
|
+
display: inline-block;
|
|
469
|
+
vertical-align: middle;
|
|
470
|
+
position: relative;
|
|
471
|
+
outline: none;
|
|
472
|
+
cursor: pointer;
|
|
473
|
+
transition: background-color 0.1s;
|
|
474
|
+
border: 2px solid transparent;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.switch button:focus-visible {
|
|
478
|
+
border-color: blue;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.switch button span {
|
|
482
|
+
top: 0px;
|
|
483
|
+
left: 0px;
|
|
484
|
+
display: block;
|
|
485
|
+
position: absolute;
|
|
486
|
+
width: 20px;
|
|
487
|
+
height: 20px;
|
|
488
|
+
border-radius: 12px;
|
|
489
|
+
background-color: white;
|
|
490
|
+
transition: transform 0.2s;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.switch button[aria-checked="true"] {
|
|
494
|
+
background-color: rgb(24, 119, 242);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.switch button[aria-checked="true"] span {
|
|
498
|
+
transform: translateX(20px);
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.editor-shell span.editor-image {
|
|
502
|
+
cursor: default;
|
|
503
|
+
display: inline-block;
|
|
504
|
+
position: relative;
|
|
505
|
+
user-select: none;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.editor-shell .editor-image img {
|
|
509
|
+
max-width: 100%;
|
|
510
|
+
cursor: default;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.editor-shell .editor-image img.focused {
|
|
514
|
+
outline: 2px solid rgb(60, 132, 244);
|
|
515
|
+
user-select: none;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.editor-shell .editor-image img.focused.draggable {
|
|
519
|
+
cursor: grab;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.editor-shell .editor-image img.focused.draggable:active {
|
|
523
|
+
cursor: grabbing;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.editor-shell .editor-image .image-caption-container .tree-view-output {
|
|
527
|
+
margin: 0;
|
|
528
|
+
border-radius: 0;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.editor-shell .editor-image .image-caption-container {
|
|
532
|
+
display: block;
|
|
533
|
+
position: absolute;
|
|
534
|
+
bottom: 4px;
|
|
535
|
+
left: 0;
|
|
536
|
+
right: 0;
|
|
537
|
+
padding: 0;
|
|
538
|
+
margin: 0;
|
|
539
|
+
border-top: 1px solid #fff;
|
|
540
|
+
background-color: rgba(255, 255, 255, 0.9);
|
|
541
|
+
min-width: 100px;
|
|
542
|
+
color: #000;
|
|
543
|
+
overflow: hidden;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.editor-shell .editor-image .image-caption-button {
|
|
547
|
+
display: block;
|
|
548
|
+
position: absolute;
|
|
549
|
+
bottom: 20px;
|
|
550
|
+
left: 0;
|
|
551
|
+
right: 0;
|
|
552
|
+
width: 30%;
|
|
553
|
+
padding: 10px;
|
|
554
|
+
margin: 0 auto;
|
|
555
|
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
556
|
+
border-radius: 5px;
|
|
557
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
558
|
+
min-width: 100px;
|
|
559
|
+
color: #fff;
|
|
560
|
+
cursor: pointer;
|
|
561
|
+
user-select: none;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.editor-shell .editor-image .image-caption-button:hover {
|
|
565
|
+
background-color: rgba(60, 132, 244, 0.5);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.editor-shell .editor-image .image-edit-button {
|
|
569
|
+
border: 1px solid rgba(0, 0, 0, 0.3);
|
|
570
|
+
border-radius: 5px;
|
|
571
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-pencil-fill'%3E%3Cpath d='M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z'/%3E%3C/svg%3E");
|
|
572
|
+
background-size: 16px;
|
|
573
|
+
background-position: center;
|
|
574
|
+
background-repeat: no-repeat;
|
|
575
|
+
width: 35px;
|
|
576
|
+
height: 35px;
|
|
577
|
+
vertical-align: -0.25em;
|
|
578
|
+
position: absolute;
|
|
579
|
+
right: 4px;
|
|
580
|
+
top: 4px;
|
|
581
|
+
cursor: pointer;
|
|
582
|
+
user-select: none;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.editor-shell .editor-image .image-edit-button:hover {
|
|
586
|
+
background-color: rgba(60, 132, 244, 0.1);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.editor-shell .editor-image .image-resizer {
|
|
590
|
+
display: block;
|
|
591
|
+
width: 7px;
|
|
592
|
+
height: 7px;
|
|
593
|
+
position: absolute;
|
|
594
|
+
background-color: rgb(60, 132, 244);
|
|
595
|
+
border: 1px solid #fff;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
.editor-shell .editor-image .image-resizer.image-resizer-n {
|
|
599
|
+
top: -6px;
|
|
600
|
+
left: 48%;
|
|
601
|
+
cursor: n-resize;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.editor-shell .editor-image .image-resizer.image-resizer-ne {
|
|
605
|
+
top: -6px;
|
|
606
|
+
right: -6px;
|
|
607
|
+
cursor: ne-resize;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.editor-shell .editor-image .image-resizer.image-resizer-e {
|
|
611
|
+
bottom: 48%;
|
|
612
|
+
right: -6px;
|
|
613
|
+
cursor: e-resize;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.editor-shell .editor-image .image-resizer.image-resizer-se {
|
|
617
|
+
bottom: -2px;
|
|
618
|
+
right: -6px;
|
|
619
|
+
cursor: nwse-resize;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.editor-shell .editor-image .image-resizer.image-resizer-s {
|
|
623
|
+
bottom: -2px;
|
|
624
|
+
left: 48%;
|
|
625
|
+
cursor: s-resize;
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.editor-shell .editor-image .image-resizer.image-resizer-sw {
|
|
629
|
+
bottom: -2px;
|
|
630
|
+
left: -6px;
|
|
631
|
+
cursor: sw-resize;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.editor-shell .editor-image .image-resizer.image-resizer-w {
|
|
635
|
+
bottom: 48%;
|
|
636
|
+
left: -6px;
|
|
637
|
+
cursor: w-resize;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
.editor-shell .editor-image .image-resizer.image-resizer-nw {
|
|
641
|
+
top: -6px;
|
|
642
|
+
left: -6px;
|
|
643
|
+
cursor: nw-resize;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.editor-shell span.inline-editor-image {
|
|
647
|
+
cursor: default;
|
|
648
|
+
display: inline-block;
|
|
649
|
+
position: relative;
|
|
650
|
+
z-index: 1;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.editor-shell .inline-editor-image img {
|
|
654
|
+
max-width: 100%;
|
|
655
|
+
cursor: default;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.editor-shell .inline-editor-image img.focused {
|
|
659
|
+
outline: 2px solid rgb(60, 132, 244);
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.editor-shell .inline-editor-image img.focused.draggable {
|
|
663
|
+
cursor: grab;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.editor-shell .inline-editor-image img.focused.draggable:active {
|
|
667
|
+
cursor: grabbing;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.editor-shell .inline-editor-image .image-caption-container .tree-view-output {
|
|
671
|
+
margin: 0;
|
|
672
|
+
border-radius: 0;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.editor-shell .inline-editor-image.position-full {
|
|
676
|
+
margin: 1em 0 1em 0;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
.editor-shell .inline-editor-image.position-left {
|
|
680
|
+
float: left;
|
|
681
|
+
width: 50%;
|
|
682
|
+
margin: 1em 1em 0 0;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.editor-shell .inline-editor-image.position-right {
|
|
686
|
+
float: right;
|
|
687
|
+
width: 50%;
|
|
688
|
+
margin: 1em 0 0 1em;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
.editor-shell .inline-editor-image .image-edit-button {
|
|
692
|
+
display: block;
|
|
693
|
+
position: absolute;
|
|
694
|
+
top: 12px;
|
|
695
|
+
right: 12px;
|
|
696
|
+
padding: 6px 8px;
|
|
697
|
+
margin: 0 auto;
|
|
698
|
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
699
|
+
border-radius: 5px;
|
|
700
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
701
|
+
min-width: 60px;
|
|
702
|
+
color: #fff;
|
|
703
|
+
cursor: pointer;
|
|
704
|
+
user-select: none;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.editor-shell .inline-editor-image .image-edit-button:hover {
|
|
708
|
+
background-color: rgba(60, 132, 244, 0.5);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.editor-shell .inline-editor-image .image-caption-container {
|
|
712
|
+
display: block;
|
|
713
|
+
background-color: #f4f4f4;
|
|
714
|
+
min-width: 100%;
|
|
715
|
+
color: #000;
|
|
716
|
+
overflow: hidden;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.keyword {
|
|
720
|
+
color: rgb(241, 118, 94);
|
|
721
|
+
font-weight: bold;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.actions {
|
|
725
|
+
position: absolute;
|
|
726
|
+
text-align: right;
|
|
727
|
+
margin: 10px;
|
|
728
|
+
bottom: 0;
|
|
729
|
+
right: 0;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.actions.tree-view {
|
|
733
|
+
border-bottom-left-radius: 0;
|
|
734
|
+
border-bottom-right-radius: 0;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.actions i {
|
|
738
|
+
background-size: contain;
|
|
739
|
+
display: inline-block;
|
|
740
|
+
height: 15px;
|
|
741
|
+
width: 15px;
|
|
742
|
+
vertical-align: -0.25em;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.actions i.image {
|
|
746
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-file-image'%3E%3Cpath d='M8.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z'/%3E%3Cpath d='M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM3 2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v8l-2.083-2.083a.5.5 0 0 0-.76.063L8 11 5.835 9.7a.5.5 0 0 0-.611.076L3 12V2z'/%3E%3C/svg%3E");
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.table-cell-action-button-container {
|
|
750
|
+
position: absolute;
|
|
751
|
+
top: 0;
|
|
752
|
+
left: 0;
|
|
753
|
+
will-change: transform;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.table-cell-action-button {
|
|
757
|
+
background-color: none;
|
|
758
|
+
display: flex;
|
|
759
|
+
justify-content: center;
|
|
760
|
+
align-items: center;
|
|
761
|
+
border: 0;
|
|
762
|
+
position: relative;
|
|
763
|
+
border-radius: 15px;
|
|
764
|
+
color: #222;
|
|
765
|
+
display: inline-block;
|
|
766
|
+
cursor: pointer;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
i.chevron-down {
|
|
770
|
+
background-color: transparent;
|
|
771
|
+
background-size: contain;
|
|
772
|
+
display: inline-block;
|
|
773
|
+
height: 8px;
|
|
774
|
+
width: 8px;
|
|
775
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.action-button {
|
|
779
|
+
background-color: #eee;
|
|
780
|
+
border: 0;
|
|
781
|
+
padding: 8px 12px;
|
|
782
|
+
position: relative;
|
|
783
|
+
margin-left: 5px;
|
|
784
|
+
border-radius: 15px;
|
|
785
|
+
color: #222;
|
|
786
|
+
display: inline-block;
|
|
787
|
+
cursor: pointer;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
.action-button:hover {
|
|
791
|
+
background-color: #ddd;
|
|
792
|
+
color: #000;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
button.action-button:disabled {
|
|
796
|
+
opacity: 0.6;
|
|
797
|
+
background: #eee;
|
|
798
|
+
cursor: not-allowed;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
.ltr {
|
|
802
|
+
text-align: left;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
.rtl {
|
|
806
|
+
text-align: right;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
.toolbar {
|
|
810
|
+
display: flex;
|
|
811
|
+
margin-bottom: 1px;
|
|
812
|
+
background: #fff;
|
|
813
|
+
padding: 4px;
|
|
814
|
+
border-top-left-radius: 10px;
|
|
815
|
+
border-top-right-radius: 10px;
|
|
816
|
+
vertical-align: middle;
|
|
817
|
+
overflow: auto;
|
|
818
|
+
height: 36px;
|
|
819
|
+
position: sticky;
|
|
820
|
+
top: 0;
|
|
821
|
+
z-index: 2;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
button.toolbar-item {
|
|
825
|
+
border: 0;
|
|
826
|
+
display: flex;
|
|
827
|
+
background: none;
|
|
828
|
+
border-radius: 10px;
|
|
829
|
+
padding: 8px;
|
|
830
|
+
cursor: pointer;
|
|
831
|
+
vertical-align: middle;
|
|
832
|
+
flex-shrink: 0;
|
|
833
|
+
align-items: center;
|
|
834
|
+
justify-content: space-between;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
button.toolbar-item:disabled {
|
|
838
|
+
cursor: not-allowed;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
button.toolbar-item.spaced {
|
|
842
|
+
margin-right: 2px;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
button.toolbar-item i.format {
|
|
846
|
+
background-size: contain;
|
|
847
|
+
display: inline-block;
|
|
848
|
+
height: 18px;
|
|
849
|
+
width: 18px;
|
|
850
|
+
vertical-align: -0.25em;
|
|
851
|
+
display: flex;
|
|
852
|
+
opacity: 0.6;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
button.toolbar-item:disabled .icon,
|
|
856
|
+
button.toolbar-item:disabled .text,
|
|
857
|
+
button.toolbar-item:disabled i.format,
|
|
858
|
+
button.toolbar-item:disabled .chevron-down {
|
|
859
|
+
opacity: 0.2;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
button.toolbar-item.active {
|
|
863
|
+
background-color: rgba(223, 232, 250, 0.3);
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
button.toolbar-item.active i {
|
|
867
|
+
opacity: 1;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
.toolbar-item:hover:not([disabled]) {
|
|
871
|
+
background-color: #eee;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
.toolbar-item.font-family .text {
|
|
875
|
+
display: block;
|
|
876
|
+
max-width: 40px;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
.toolbar .code-language {
|
|
880
|
+
width: 150px;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.toolbar .toolbar-item .text {
|
|
884
|
+
display: flex;
|
|
885
|
+
line-height: 20px;
|
|
886
|
+
vertical-align: middle;
|
|
887
|
+
font-size: 14px;
|
|
888
|
+
color: #777;
|
|
889
|
+
text-overflow: ellipsis;
|
|
890
|
+
overflow: hidden;
|
|
891
|
+
height: 20px;
|
|
892
|
+
text-align: left;
|
|
893
|
+
padding-right: 10px;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
.toolbar .toolbar-item .icon {
|
|
897
|
+
display: flex;
|
|
898
|
+
width: 20px;
|
|
899
|
+
height: 20px;
|
|
900
|
+
user-select: none;
|
|
901
|
+
margin-right: 8px;
|
|
902
|
+
line-height: 16px;
|
|
903
|
+
background-size: contain;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
.toolbar i.chevron-down,
|
|
907
|
+
.toolbar-item i.chevron-down {
|
|
908
|
+
margin-top: 3px;
|
|
909
|
+
width: 16px;
|
|
910
|
+
height: 16px;
|
|
911
|
+
display: flex;
|
|
912
|
+
user-select: none;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
.toolbar i.chevron-down.inside {
|
|
916
|
+
width: 16px;
|
|
917
|
+
height: 16px;
|
|
918
|
+
display: flex;
|
|
919
|
+
margin-left: -25px;
|
|
920
|
+
margin-top: 11px;
|
|
921
|
+
margin-right: 10px;
|
|
922
|
+
pointer-events: none;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.toolbar .divider {
|
|
926
|
+
width: 1px;
|
|
927
|
+
background-color: #eee;
|
|
928
|
+
margin: 0 4px;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.sticky-note-container {
|
|
932
|
+
position: absolute;
|
|
933
|
+
z-index: 9;
|
|
934
|
+
width: 120px;
|
|
935
|
+
display: inline-block;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.sticky-note {
|
|
939
|
+
line-height: 1;
|
|
940
|
+
text-align: left;
|
|
941
|
+
width: 120px;
|
|
942
|
+
margin: 25px;
|
|
943
|
+
padding: 20px 10px;
|
|
944
|
+
position: relative;
|
|
945
|
+
border: 1px solid #e8e8e8;
|
|
946
|
+
font-family: "Reenie Beanie";
|
|
947
|
+
font-size: 24px;
|
|
948
|
+
border-bottom-right-radius: 60px 5px;
|
|
949
|
+
display: block;
|
|
950
|
+
cursor: move;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.sticky-note:after {
|
|
954
|
+
content: "";
|
|
955
|
+
position: absolute;
|
|
956
|
+
z-index: -1;
|
|
957
|
+
right: -0px;
|
|
958
|
+
bottom: 20px;
|
|
959
|
+
width: 120px;
|
|
960
|
+
height: 25px;
|
|
961
|
+
background: rgba(0, 0, 0, 0.2);
|
|
962
|
+
box-shadow: 2px 15px 5px rgba(0, 0, 0, 0.4);
|
|
963
|
+
transform: matrix(-1, -0.1, 0, 1, 0, 0);
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
.sticky-note.yellow {
|
|
967
|
+
border-top: 1px solid #fdfd86;
|
|
968
|
+
background: linear-gradient(
|
|
969
|
+
135deg,
|
|
970
|
+
#ffff88 81%,
|
|
971
|
+
#ffff88 82%,
|
|
972
|
+
#ffff88 82%,
|
|
973
|
+
#ffffc6 100%
|
|
974
|
+
);
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.sticky-note.pink {
|
|
978
|
+
border-top: 1px solid #e7d1e4;
|
|
979
|
+
background: linear-gradient(
|
|
980
|
+
135deg,
|
|
981
|
+
#f7cbe8 81%,
|
|
982
|
+
#f7cbe8 82%,
|
|
983
|
+
#f7cbe8 82%,
|
|
984
|
+
#e7bfe1 100%
|
|
985
|
+
);
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
.sticky-note-container.dragging {
|
|
989
|
+
transition: none !important;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.sticky-note div {
|
|
993
|
+
cursor: text;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
.sticky-note .delete {
|
|
997
|
+
border: 0;
|
|
998
|
+
background: none;
|
|
999
|
+
position: absolute;
|
|
1000
|
+
top: 8px;
|
|
1001
|
+
right: 10px;
|
|
1002
|
+
font-size: 10px;
|
|
1003
|
+
cursor: pointer;
|
|
1004
|
+
opacity: 0.5;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
.sticky-note .delete:hover {
|
|
1008
|
+
font-weight: bold;
|
|
1009
|
+
opacity: 1;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.sticky-note .color {
|
|
1013
|
+
border: 0;
|
|
1014
|
+
background: none;
|
|
1015
|
+
position: absolute;
|
|
1016
|
+
top: 8px;
|
|
1017
|
+
right: 25px;
|
|
1018
|
+
cursor: pointer;
|
|
1019
|
+
opacity: 0.5;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
.sticky-note .color:hover {
|
|
1023
|
+
opacity: 1;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
.sticky-note .color i {
|
|
1027
|
+
display: block;
|
|
1028
|
+
width: 12px;
|
|
1029
|
+
height: 12px;
|
|
1030
|
+
background-size: contain;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
.excalidraw-button {
|
|
1034
|
+
border: 0;
|
|
1035
|
+
padding: 0;
|
|
1036
|
+
margin: 0;
|
|
1037
|
+
background-color: transparent;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
.excalidraw-button.selected {
|
|
1041
|
+
outline: 2px solid rgb(60, 132, 244);
|
|
1042
|
+
user-select: none;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
.github-corner:hover .octo-arm {
|
|
1046
|
+
animation: octocat-wave 560ms ease-in-out;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
.spacer {
|
|
1050
|
+
letter-spacing: -2px;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
button.item i {
|
|
1054
|
+
opacity: 0.6;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
button.item.dropdown-item-active {
|
|
1058
|
+
background-color: rgba(223, 232, 250, 0.3);
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
button.item.dropdown-item-active i {
|
|
1062
|
+
opacity: 1;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
hr {
|
|
1066
|
+
padding: 2px 2px;
|
|
1067
|
+
border: none;
|
|
1068
|
+
margin: 1em 0;
|
|
1069
|
+
cursor: pointer;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
hr:after {
|
|
1073
|
+
content: "";
|
|
1074
|
+
display: block;
|
|
1075
|
+
height: 2px;
|
|
1076
|
+
background-color: #ccc;
|
|
1077
|
+
line-height: 2px;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
hr.selected {
|
|
1081
|
+
outline: 2px solid rgb(60, 132, 244);
|
|
1082
|
+
user-select: none;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.TableNode__contentEditable {
|
|
1086
|
+
min-height: 20px;
|
|
1087
|
+
border: 0px;
|
|
1088
|
+
resize: none;
|
|
1089
|
+
cursor: text;
|
|
1090
|
+
display: block;
|
|
1091
|
+
position: relative;
|
|
1092
|
+
outline: 0px;
|
|
1093
|
+
padding: 0;
|
|
1094
|
+
user-select: text;
|
|
1095
|
+
font-size: 15px;
|
|
1096
|
+
white-space: pre-wrap;
|
|
1097
|
+
word-break: break-word;
|
|
1098
|
+
z-index: 3;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
.PlaygroundEditorTheme__blockCursor {
|
|
1102
|
+
display: block;
|
|
1103
|
+
pointer-events: none;
|
|
1104
|
+
position: absolute;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
.PlaygroundEditorTheme__blockCursor:after {
|
|
1108
|
+
content: "";
|
|
1109
|
+
display: block;
|
|
1110
|
+
position: absolute;
|
|
1111
|
+
top: -2px;
|
|
1112
|
+
width: 20px;
|
|
1113
|
+
border-top: 1px solid black;
|
|
1114
|
+
animation: CursorBlink 1.1s steps(2, start) infinite;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
@keyframes CursorBlink {
|
|
1118
|
+
to {
|
|
1119
|
+
visibility: hidden;
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
.dialog-dropdown {
|
|
1124
|
+
background-color: #eee !important;
|
|
1125
|
+
margin-bottom: 10px;
|
|
1126
|
+
width: 100%;
|
|
1127
|
+
}
|