lakelib 0.2.3 → 0.2.5

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.
Files changed (162) hide show
  1. package/dist/lake.css +164 -166
  2. package/dist/lake.min.js +36 -36
  3. package/dist/lake.min.js.map +1 -1
  4. package/lib/{types/css → css}/index.d.ts +1 -0
  5. package/lib/{types/i18n/ja → i18n/en-US}/index.d.ts +9 -0
  6. package/lib/{types/i18n/en-US → i18n/ja}/index.d.ts +9 -0
  7. package/lib/{types/i18n → i18n}/ko/index.d.ts +9 -0
  8. package/lib/{types/i18n → i18n}/types.d.ts +82 -9
  9. package/lib/{types/i18n → i18n}/zh-CN/index.d.ts +9 -0
  10. package/lib/lake.css +164 -166
  11. package/lib/lake.js +4660 -4510
  12. package/lib/lake.js.map +1 -1
  13. package/lib/{types/models → models}/box.d.ts +5 -3
  14. package/lib/types/{types/object.d.ts → object.d.ts} +3 -3
  15. package/lib/ui/floating-toolbar.d.ts +16 -0
  16. package/lib/{types/ui → ui}/link-popup.d.ts +2 -2
  17. package/lib/{types/ui/box-resizer.d.ts → ui/resizer.d.ts} +6 -6
  18. package/lib/{types/ui → ui}/toolbar.d.ts +2 -2
  19. package/lib/{types/utils → utils}/index.d.ts +1 -1
  20. package/lib/utils/is-visible.d.ts +8 -0
  21. package/package.json +19 -19
  22. package/lib/types/types/box-toolbar.d.ts +0 -22
  23. package/lib/types/ui/box-toolbar.d.ts +0 -30
  24. package/lib/types/utils/node-position.d.ts +0 -9
  25. /package/lib/{types/boxes → boxes}/code-block.d.ts +0 -0
  26. /package/lib/{types/boxes → boxes}/emoji.d.ts +0 -0
  27. /package/lib/{types/boxes → boxes}/equation.d.ts +0 -0
  28. /package/lib/{types/boxes → boxes}/file.d.ts +0 -0
  29. /package/lib/{types/boxes → boxes}/hr.d.ts +0 -0
  30. /package/lib/{types/boxes → boxes}/image.d.ts +0 -0
  31. /package/lib/{types/boxes → boxes}/mention.d.ts +0 -0
  32. /package/lib/{types/boxes → boxes}/video.d.ts +0 -0
  33. /package/lib/{types/config → config}/element-rules.d.ts +0 -0
  34. /package/lib/{types/config → config}/menu-items.d.ts +0 -0
  35. /package/lib/{types/config → config}/slash-items.d.ts +0 -0
  36. /package/lib/{types/config → config}/tag-names.d.ts +0 -0
  37. /package/lib/{types/config → config}/toolbar-items.d.ts +0 -0
  38. /package/lib/{types/editor.d.ts → editor.d.ts} +0 -0
  39. /package/lib/{types/elements → elements}/bookmark.d.ts +0 -0
  40. /package/lib/{types/elements → elements}/box.d.ts +0 -0
  41. /package/lib/{types/i18n → i18n}/index.d.ts +0 -0
  42. /package/lib/{types/icons → icons}/index.d.ts +0 -0
  43. /package/lib/{types/index.d.ts → index.d.ts} +0 -0
  44. /package/lib/{types/managers → managers}/box-manager.d.ts +0 -0
  45. /package/lib/{types/managers → managers}/command.d.ts +0 -0
  46. /package/lib/{types/managers → managers}/history.d.ts +0 -0
  47. /package/lib/{types/managers → managers}/keystroke.d.ts +0 -0
  48. /package/lib/{types/managers → managers}/plugin.d.ts +0 -0
  49. /package/lib/{types/managers → managers}/selection.d.ts +0 -0
  50. /package/lib/{types/models → models}/fragment.d.ts +0 -0
  51. /package/lib/{types/models → models}/nodes.d.ts +0 -0
  52. /package/lib/{types/models → models}/range.d.ts +0 -0
  53. /package/lib/{types/operations → operations}/add-mark.d.ts +0 -0
  54. /package/lib/{types/operations → operations}/delete-contents.d.ts +0 -0
  55. /package/lib/{types/operations → operations}/fix-list.d.ts +0 -0
  56. /package/lib/{types/operations → operations}/insert-bookmark.d.ts +0 -0
  57. /package/lib/{types/operations → operations}/insert-box.d.ts +0 -0
  58. /package/lib/{types/operations → operations}/insert-fragment.d.ts +0 -0
  59. /package/lib/{types/operations → operations}/insert-link.d.ts +0 -0
  60. /package/lib/{types/operations → operations}/insert-node.d.ts +0 -0
  61. /package/lib/{types/operations → operations}/remove-box.d.ts +0 -0
  62. /package/lib/{types/operations → operations}/remove-mark.d.ts +0 -0
  63. /package/lib/{types/operations → operations}/set-blocks.d.ts +0 -0
  64. /package/lib/{types/operations → operations}/split-block.d.ts +0 -0
  65. /package/lib/{types/operations → operations}/split-marks.d.ts +0 -0
  66. /package/lib/{types/operations → operations}/to-bookmark.d.ts +0 -0
  67. /package/lib/{types/parsers → parsers}/html-parser.d.ts +0 -0
  68. /package/lib/{types/parsers → parsers}/text-parser.d.ts +0 -0
  69. /package/lib/{types/plugins → plugins}/align.d.ts +0 -0
  70. /package/lib/{types/plugins → plugins}/arrow-keys.d.ts +0 -0
  71. /package/lib/{types/plugins → plugins}/backspace-key.d.ts +0 -0
  72. /package/lib/{types/plugins → plugins}/block-quote.d.ts +0 -0
  73. /package/lib/{types/plugins → plugins}/bold.d.ts +0 -0
  74. /package/lib/{types/plugins → plugins}/code-block.d.ts +0 -0
  75. /package/lib/{types/plugins → plugins}/code.d.ts +0 -0
  76. /package/lib/{types/plugins → plugins}/copy.d.ts +0 -0
  77. /package/lib/{types/plugins → plugins}/cut.d.ts +0 -0
  78. /package/lib/{types/plugins → plugins}/delete-key.d.ts +0 -0
  79. /package/lib/{types/plugins → plugins}/drop.d.ts +0 -0
  80. /package/lib/{types/plugins → plugins}/emoji.d.ts +0 -0
  81. /package/lib/{types/plugins → plugins}/enter-key.d.ts +0 -0
  82. /package/lib/{types/plugins → plugins}/equation.d.ts +0 -0
  83. /package/lib/{types/plugins → plugins}/escape-key.d.ts +0 -0
  84. /package/lib/{types/plugins → plugins}/file.d.ts +0 -0
  85. /package/lib/{types/plugins → plugins}/font-color.d.ts +0 -0
  86. /package/lib/{types/plugins → plugins}/font-family.d.ts +0 -0
  87. /package/lib/{types/plugins → plugins}/font-size.d.ts +0 -0
  88. /package/lib/{types/plugins → plugins}/format-painter.d.ts +0 -0
  89. /package/lib/{types/plugins → plugins}/heading.d.ts +0 -0
  90. /package/lib/{types/plugins → plugins}/highlight.d.ts +0 -0
  91. /package/lib/{types/plugins → plugins}/hr.d.ts +0 -0
  92. /package/lib/{types/plugins → plugins}/image.d.ts +0 -0
  93. /package/lib/{types/plugins → plugins}/indent.d.ts +0 -0
  94. /package/lib/{types/plugins → plugins}/italic.d.ts +0 -0
  95. /package/lib/{types/plugins → plugins}/link.d.ts +0 -0
  96. /package/lib/{types/plugins → plugins}/list.d.ts +0 -0
  97. /package/lib/{types/plugins → plugins}/markdown.d.ts +0 -0
  98. /package/lib/{types/plugins → plugins}/mention.d.ts +0 -0
  99. /package/lib/{types/plugins → plugins}/paste.d.ts +0 -0
  100. /package/lib/{types/plugins → plugins}/redo.d.ts +0 -0
  101. /package/lib/{types/plugins → plugins}/remove-format.d.ts +0 -0
  102. /package/lib/{types/plugins → plugins}/select-all.d.ts +0 -0
  103. /package/lib/{types/plugins → plugins}/shift-enter-key.d.ts +0 -0
  104. /package/lib/{types/plugins → plugins}/slash.d.ts +0 -0
  105. /package/lib/{types/plugins → plugins}/special-character.d.ts +0 -0
  106. /package/lib/{types/plugins → plugins}/strikethrough.d.ts +0 -0
  107. /package/lib/{types/plugins → plugins}/subscript.d.ts +0 -0
  108. /package/lib/{types/plugins → plugins}/superscript.d.ts +0 -0
  109. /package/lib/{types/plugins → plugins}/tab-key.d.ts +0 -0
  110. /package/lib/{types/plugins → plugins}/underline.d.ts +0 -0
  111. /package/lib/{types/plugins → plugins}/undo.d.ts +0 -0
  112. /package/lib/{types/plugins → plugins}/unlink.d.ts +0 -0
  113. /package/lib/{types/plugins → plugins}/video.d.ts +0 -0
  114. /package/lib/{types/storage → storage}/box-instances.d.ts +0 -0
  115. /package/lib/{types/storage → storage}/boxes.d.ts +0 -0
  116. /package/lib/{types/storage → storage}/editors.d.ts +0 -0
  117. /package/lib/types/{types/box.d.ts → box.d.ts} +0 -0
  118. /package/lib/types/{types/dropdown.d.ts → dropdown.d.ts} +0 -0
  119. /package/lib/types/{types/mention.d.ts → mention.d.ts} +0 -0
  120. /package/lib/types/{types/native.d.ts → native.d.ts} +0 -0
  121. /package/lib/types/{types/node.d.ts → node.d.ts} +0 -0
  122. /package/lib/types/{types/plugin.d.ts → plugin.d.ts} +0 -0
  123. /package/lib/types/{types/request.d.ts → request.d.ts} +0 -0
  124. /package/lib/types/{types/slash.d.ts → slash.d.ts} +0 -0
  125. /package/lib/types/{types/toolbar.d.ts → toolbar.d.ts} +0 -0
  126. /package/lib/{types/ui → ui}/button.d.ts +0 -0
  127. /package/lib/{types/ui → ui}/dropdown.d.ts +0 -0
  128. /package/lib/{types/ui → ui}/mention-menu.d.ts +0 -0
  129. /package/lib/{types/ui → ui}/menu.d.ts +0 -0
  130. /package/lib/{types/ui → ui}/slash-menu.d.ts +0 -0
  131. /package/lib/{types/utils → utils}/append-break.d.ts +0 -0
  132. /package/lib/{types/utils → utils}/camel-case.d.ts +0 -0
  133. /package/lib/{types/utils → utils}/change-tag-name.d.ts +0 -0
  134. /package/lib/{types/utils → utils}/debug.d.ts +0 -0
  135. /package/lib/{types/utils → utils}/denormalize-value.d.ts +0 -0
  136. /package/lib/{types/utils → utils}/encode.d.ts +0 -0
  137. /package/lib/{types/utils → utils}/file-size.d.ts +0 -0
  138. /package/lib/{types/utils → utils}/fix-numbered-list.d.ts +0 -0
  139. /package/lib/{types/utils → utils}/from-base64.d.ts +0 -0
  140. /package/lib/{types/utils → utils}/get-box.d.ts +0 -0
  141. /package/lib/{types/utils → utils}/get-css.d.ts +0 -0
  142. /package/lib/{types/utils → utils}/get-deep-element.d.ts +0 -0
  143. /package/lib/{types/utils → utils}/in-string.d.ts +0 -0
  144. /package/lib/{types/utils → utils}/merge-nodes.d.ts +0 -0
  145. /package/lib/{types/utils → utils}/modifier-text.d.ts +0 -0
  146. /package/lib/{types/utils → utils}/morph.d.ts +0 -0
  147. /package/lib/{types/utils → utils}/normalize-value.d.ts +0 -0
  148. /package/lib/{types/utils → utils}/parse-style.d.ts +0 -0
  149. /package/lib/{types/utils → utils}/query.d.ts +0 -0
  150. /package/lib/{types/utils → utils}/remove-break.d.ts +0 -0
  151. /package/lib/{types/utils → utils}/remove-zws.d.ts +0 -0
  152. /package/lib/{types/utils → utils}/request.d.ts +0 -0
  153. /package/lib/{types/utils → utils}/safe-template.d.ts +0 -0
  154. /package/lib/{types/utils → utils}/scroll-to-node.d.ts +0 -0
  155. /package/lib/{types/utils → utils}/set-block-indent.d.ts +0 -0
  156. /package/lib/{types/utils → utils}/split-nodes.d.ts +0 -0
  157. /package/lib/{types/utils → utils}/template.d.ts +0 -0
  158. /package/lib/{types/utils → utils}/to-base64.d.ts +0 -0
  159. /package/lib/{types/utils → utils}/to-hex.d.ts +0 -0
  160. /package/lib/{types/utils → utils}/to-node-list.d.ts +0 -0
  161. /package/lib/{types/utils → utils}/upload-file.d.ts +0 -0
  162. /package/lib/{types/utils → utils}/wrap-node-list.d.ts +0 -0
package/dist/lake.css CHANGED
@@ -1,35 +1,37 @@
1
- .lake-custom-properties {
1
+ :root {
2
2
  /* common */
3
- --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
4
- --text-color: #000000e0;
5
- --secondary-text-color: #000000a6;
6
- --disabled-text-color: #00000040;
7
- --border-color: #d9d9d9;
8
- --background-color: #0000000a;
9
- --background-hover-color: #0000000a;
10
- --background-active-color: #0000000d;
11
- --success-color: #52c41a;
12
- --warning-color: #faad14;
13
- --error-color: #ff4d4f;
3
+ --lake-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
4
+ --lake-font-size: 16px;
5
+ --lake-text-color: #000000e0;
6
+ --lake-secondary-text-color: #000000a6;
7
+ --lake-border-color: #d9d9d9;
8
+ --lake-background-hover-color: #0000000a;
9
+ --lake-background-active-color: #0000000d;
10
+ --lake-success-color: #52c41a;
11
+ --lake-warning-color: #faad14;
12
+ --lake-error-color: #ff4d4f;
14
13
  /* selection */
15
- --selection-background-color: #1ba2e333;
14
+ --lake-selection-background-color: #1ba2e333;
16
15
  /* link */
17
- --link-color: #1677ff;
18
- --link-hover-color: #69b1ff;
16
+ --lake-link-color: #1677ff;
17
+ --lake-link-hover-color: #69b1ff;
19
18
  /* box */
20
- --box-border-color: #d9d9d9;
21
- --box-border-focus-color: #1677ff;
22
- --box-border-active-color: #faad14;
23
- --box-background-color: #f6f8fa;
24
- /* button */
25
- --button-shadow: 0 2px 0 #00000005;
26
- --button-outline: 2px solid #69b1ff;
19
+ --lake-box-border-color: #d9d9d9;
20
+ --lake-box-border-focus-color: #1677ff;
21
+ --lake-box-background-color: #f6f8fa;
27
22
  /* popup */
28
- --popup-shadow: 0 6px 16px 0 #00000014, 0 3px 6px -4px #0000001f, 0 9px 28px 8px #0000000d;
29
- /* input form */
30
- --input-border-color: #d9d9d9;
31
- --input-border-hover-color: #69b1ff;
32
- --input-outline: 2px solid #69b1ff;
23
+ --lake-popup-z-index: 822;
24
+ --lake-popup-font-size: 14px;
25
+ --lake-popup-border-color: #d9d9d9;
26
+ --lake-popup-shadow: 0 6px 16px 0 #00000014, 0 3px 6px -4px #0000001f, 0 9px 28px 8px #0000000d;
27
+ /* button */
28
+ --lake-button-font-size: 14px;
29
+ --lake-button-shadow: 0 2px 0 #00000005;
30
+ --lake-button-outline: 2px solid #69b1ff;
31
+ /* input element, text field */
32
+ --lake-input-border-color: #d9d9d9;
33
+ --lake-input-border-hover-color: #69b1ff;
34
+ --lake-input-outline: 2px solid #69b1ff;
33
35
  }
34
36
 
35
37
  @keyframes lakerotate {
@@ -46,8 +48,8 @@
46
48
  }
47
49
  .lake-container {
48
50
  box-sizing: border-box;
49
- font-family: var(--font-family);
50
- font-size: 16px;
51
+ font-family: var(--lake-font-family);
52
+ font-size: var(--lake-font-size);
51
53
  font-weight: normal;
52
54
  line-height: 1.45;
53
55
  padding: 16px 24px;
@@ -58,7 +60,7 @@
58
60
  .lake-container::selection,
59
61
  .lake-container ::selection {
60
62
  color: inherit;
61
- background: var(--selection-background-color);
63
+ background: var(--lake-selection-background-color);
62
64
  }
63
65
  .lake-container *,
64
66
  .lake-container ::before,
@@ -69,7 +71,7 @@
69
71
  position: absolute;
70
72
  top: 8px;
71
73
  left: 12px;
72
- color: var(--secondary-text-color);
74
+ color: var(--lake-secondary-text-color);
73
75
  content: attr(placeholder);
74
76
  pointer-events: none;
75
77
  }
@@ -181,7 +183,7 @@ lake-box .lake-button-group {
181
183
  lake-box .lake-button-group button {
182
184
  border-radius: 5px;
183
185
  border: 0;
184
- color: var(--text-color);
186
+ color: var(--lake-text-color);
185
187
  background-color: transparent;
186
188
  padding: 0;
187
189
  margin: 0;
@@ -195,35 +197,13 @@ lake-box .lake-button-group button svg {
195
197
  height: 16px;
196
198
  margin: 6px;
197
199
  }
198
- /* box toolbar */
199
- .lake-box-toolbar {
200
- position: absolute;
201
- top: 0;
202
- left: 0;
203
- z-index: 1;
204
- border: 1px solid var(--border-color);
205
- border-radius: 5px;
206
- background-color: #fff;
207
- box-shadow: 0 2px 0 #00000005;
208
- padding: 4px;
209
- display: flex;
210
- flex-wrap: wrap;
211
- align-items: center;
212
- }
213
- .lake-box-toolbar .lake-toolbar-divider {
214
- width: 1px;
215
- height: 20px;
216
- margin: 0 4px;
217
- border-left: 1px solid var(--border-color);
218
- user-select: none;
219
- }
220
200
 
221
201
  button.lake-button {
222
202
  border-radius: 5px;
223
203
  border: 0;
224
204
  font-family: Arial;
225
- font-size: 14px;
226
- color: var(--text-color);
205
+ font-size: var(--lake-button-font-size);
206
+ color: var(--lake-text-color);
227
207
  background-color: #fff;
228
208
  padding: 0;
229
209
  margin: 0 1px;
@@ -233,7 +213,7 @@ button.lake-button {
233
213
  user-select: none;
234
214
  }
235
215
  button.lake-button:focus-visible {
236
- outline: var(--button-outline);
216
+ outline: var(--lake-button-outline);
237
217
  }
238
218
  button.lake-button[disabled] {
239
219
  opacity: 0.25;
@@ -247,22 +227,22 @@ button.lake-button img {
247
227
  margin: 6px;
248
228
  }
249
229
  button.lake-icon-button.lake-button-hovered {
250
- background-color: var(--background-hover-color);
230
+ background-color: var(--lake-background-hover-color);
251
231
  }
252
232
  button.lake-icon-button.lake-button-selected {
253
- background-color: var(--background-active-color);
233
+ background-color: var(--lake-background-active-color);
254
234
  }
255
235
  button.lake-text-button {
256
236
  background-color: transparent;
257
- border: 1px solid var(--border-color);
237
+ border: 1px solid var(--lake-border-color);
258
238
  padding: 8px 16px;
259
239
  line-height: normal;
260
240
  }
261
241
  button.lake-text-button.lake-button-hovered {
262
- background-color: var(--background-hover-color);
242
+ background-color: var(--lake-background-hover-color);
263
243
  }
264
244
  button.lake-text-button.lake-button-selected {
265
- background-color: var(--background-active-color);
245
+ background-color: var(--lake-background-active-color);
266
246
  }
267
247
  button.lake-text-button svg {
268
248
  background-color: transparent;
@@ -285,17 +265,17 @@ button.lake-primary-button.lake-button-hovered {
285
265
 
286
266
  .lake-dropdown {
287
267
  position: relative;
288
- font-family: var(--font-family);
289
- color: var(--text-color);
290
- font-size: 14px;
268
+ font-family: var(--lake-font-family);
269
+ color: var(--lake-text-color);
270
+ font-size: var(--lake-button-font-size);
291
271
  user-select: none;
292
272
  }
293
273
  .lake-dropdown button.lake-dropdown-title {
294
274
  border-radius: 5px;
295
275
  border: 0;
296
276
  font-family: Arial;
297
- font-size: 14px;
298
- color: var(--text-color);
277
+ font-size: var(--lake-button-font-size);
278
+ color: var(--lake-text-color);
299
279
  background-color: #fff;
300
280
  padding: 0;
301
281
  display: flex;
@@ -311,7 +291,7 @@ button.lake-primary-button.lake-button-hovered {
311
291
  .lake-dropdown.lake-list-dropdown button.lake-dropdown-title-hovered,
312
292
  .lake-dropdown.lake-icon-dropdown button.lake-dropdown-title-hovered,
313
293
  .lake-dropdown.lake-character-dropdown button.lake-dropdown-title-hovered {
314
- background-color: var(--background-hover-color);
294
+ background-color: var(--lake-background-hover-color);
315
295
  }
316
296
  .lake-dropdown button.lake-dropdown-title.lake-dropdown-title-no-down {
317
297
  margin-right: 0;
@@ -322,7 +302,7 @@ button.lake-primary-button.lake-button-hovered {
322
302
  margin: 6px;
323
303
  overflow: hidden;
324
304
  white-space: nowrap;
325
- color: var(--text-color);
305
+ color: var(--lake-text-color);
326
306
  }
327
307
  .lake-dropdown .lake-dropdown-icon {
328
308
  position: relative;
@@ -330,7 +310,7 @@ button.lake-primary-button.lake-button-hovered {
330
310
  border-radius: 5px 0 0 5px;
331
311
  }
332
312
  .lake-dropdown .lake-dropdown-icon-hovered {
333
- background-color: var(--background-hover-color);
313
+ background-color: var(--lake-background-hover-color);
334
314
  }
335
315
  .lake-dropdown .lake-dropdown-icon svg,
336
316
  .lake-dropdown .lake-dropdown-icon img {
@@ -352,35 +332,29 @@ button.lake-primary-button.lake-button-hovered {
352
332
  border-radius: 0 5px 5px 0;
353
333
  }
354
334
  .lake-dropdown .lake-dropdown-down-icon-hovered {
355
- background-color: var(--background-hover-color);
335
+ background-color: var(--lake-background-hover-color);
356
336
  }
357
337
  .lake-dropdown .lake-dropdown-down-icon svg {
358
338
  width: 12px;
359
339
  height: 12px;
360
340
  margin: 8px 2px;
361
- fill: var(--secondary-text-color);
341
+ fill: var(--lake-secondary-text-color);
362
342
  }
363
343
  /* menu */
364
344
  .lake-dropdown .lake-dropdown-menu,
365
345
  .lake-dropdown-menu {
366
- font-family: var(--font-family);
367
- font-size: 14px;
368
- font-weight: normal;
369
- line-height: normal;
370
- color: var(--text-color);
371
- user-select: none;
372
- box-sizing: content-box;
373
346
  position: absolute;
374
347
  top: 30px;
375
348
  left: 0;
376
- z-index: 1;
349
+ z-index: var(--lake-popup-z-index);
377
350
  list-style: none;
378
351
  margin: 0;
379
352
  padding: 6px 0;
380
- border: 1px solid var(--border-color);
353
+ border: 1px solid var(--lake-popup-border-color);
381
354
  border-radius: 5px;
382
355
  background-color: #fff;
383
- box-shadow: var(--popup-shadow);
356
+ box-shadow: var(--lake-popup-shadow);
357
+ user-select: none;
384
358
  display: none;
385
359
  }
386
360
  .lake-dropdown-menu.lake-dropdown-menu-with-scroll {
@@ -399,10 +373,10 @@ button.lake-primary-button.lake-button-hovered {
399
373
  padding: 6px 24px 6px 10px;
400
374
  }
401
375
  .lake-list-dropdown-menu li.lake-dropdown-item-hovered {
402
- background-color: var(--background-hover-color);
376
+ background-color: var(--lake-background-hover-color);
403
377
  }
404
378
  .lake-list-dropdown-menu li.lake-dropdown-item-selected {
405
- background-color: var(--background-active-color);
379
+ background-color: var(--lake-background-active-color);
406
380
  }
407
381
  .lake-list-dropdown-menu li .lake-dropdown-menu-check {
408
382
  line-height: 0;
@@ -434,10 +408,10 @@ button.lake-primary-button.lake-button-hovered {
434
408
  border-radius: 2px;
435
409
  }
436
410
  .lake-icon-dropdown-menu li.lake-dropdown-item-hovered {
437
- background-color: var(--background-hover-color);
411
+ background-color: var(--lake-background-hover-color);
438
412
  }
439
413
  .lake-icon-dropdown-menu li.lake-dropdown-item-selected {
440
- background-color: var(--background-active-color);
414
+ background-color: var(--lake-background-active-color);
441
415
  }
442
416
  .lake-icon-dropdown-menu li .lake-dropdown-menu-check {
443
417
  display: none;
@@ -464,10 +438,10 @@ button.lake-primary-button.lake-button-hovered {
464
438
  border-radius: 2px;
465
439
  }
466
440
  .lake-character-dropdown-menu li.lake-dropdown-item-hovered {
467
- background-color: var(--background-hover-color);
441
+ background-color: var(--lake-background-hover-color);
468
442
  }
469
443
  .lake-character-dropdown-menu li.lake-dropdown-item-selected {
470
- background-color: var(--background-active-color);
444
+ background-color: var(--lake-background-active-color);
471
445
  }
472
446
  .lake-character-dropdown-menu li .lake-dropdown-menu-check {
473
447
  display: none;
@@ -492,10 +466,10 @@ button.lake-primary-button.lake-button-hovered {
492
466
  padding: 0;
493
467
  }
494
468
  .lake-color-dropdown-menu li.lake-dropdown-item-hovered {
495
- background-color: var(--background-hover-color);
469
+ background-color: var(--lake-background-hover-color);
496
470
  }
497
471
  .lake-color-dropdown-menu li.lake-dropdown-item-selected {
498
- background-color: var(--background-active-color);
472
+ background-color: var(--lake-background-active-color);
499
473
  }
500
474
  .lake-color-dropdown-menu li .lake-dropdown-menu-check {
501
475
  position: absolute;
@@ -525,7 +499,7 @@ button.lake-primary-button.lake-button-hovered {
525
499
  .lake-color-dropdown-menu li .lake-dropdown-menu-text {
526
500
  font-size: 0;
527
501
  box-sizing: content-box;
528
- border: 1px solid var(--background-hover-color);
502
+ border: 1px solid var(--lake-background-hover-color);
529
503
  border-radius: 2px;
530
504
  width: 16px;
531
505
  height: 16px;
@@ -542,39 +516,40 @@ button.lake-primary-button.lake-button-hovered {
542
516
  }
543
517
  .lake-color-dropdown-menu li:first-child .lake-dropdown-menu-text {
544
518
  width: 100%;
545
- font-size: 14px;
519
+ font-size: var(--lake-button-font-size);
546
520
  border: 1px solid transparent;
547
521
  height: auto;
548
522
  }
549
523
 
550
524
  .lake-popup {
551
- font-family: var(--font-family);
552
- font-size: 14px;
525
+ box-sizing: border-box;
526
+ font-family: var(--lake-font-family);
527
+ font-size: var(--lake-popup-font-size);
553
528
  font-weight: normal;
554
529
  line-height: normal;
555
- color: var(--text-color);
530
+ color: var(--lake-text-color);
556
531
  }
557
532
  .lake-popup *,
558
533
  .lake-popup ::before,
559
534
  .lake-popup ::after {
560
535
  box-sizing: border-box;
561
536
  }
562
- .lake-popup button {
563
- box-shadow: var(--button-shadow);
537
+ .lake-popup .lake-text-button {
538
+ box-shadow: var(--lake-button-shadow);
564
539
  }
565
540
  .lake-popup input[type="text"] {
566
- font-family: var(--font-family);
567
- font-size: 14px;
568
- color: var(--text-color);
541
+ font-family: var(--lake-font-family);
542
+ font-size: var(--lake-popup-font-size);
543
+ color: var(--lake-text-color);
569
544
  border-radius: 5px;
570
- border: 1px solid var(--input-border-color);
545
+ border: 1px solid var(--lake-input-border-color);
571
546
  padding: 4px 10px;
572
547
  }
573
548
  .lake-popup input[type="text"]:hover {
574
- border: 1px solid var(--input-border-hover-color);
549
+ border: 1px solid var(--lake-input-border-hover-color);
575
550
  }
576
551
  .lake-popup input[type="text"]:focus-visible {
577
- outline: var(--input-outline);
552
+ outline: var(--lake-input-outline);
578
553
  outline-offset: -2px;
579
554
  }
580
555
  .lake-popup .lake-row {
@@ -585,15 +560,15 @@ button.lake-primary-button.lake-button-hovered {
585
560
  position: absolute;
586
561
  top: 0;
587
562
  left: 0;
588
- z-index: 1;
563
+ z-index: var(--lake-popup-z-index);
589
564
  list-style: none;
590
- border: 1px solid var(--border-color);
565
+ border: 1px solid var(--lake-popup-border-color);
591
566
  border-radius: 5px;
592
567
  margin: 0;
593
568
  padding: 4px 8px;
594
569
  width: fit-content;
595
570
  background-color: #fff;
596
- box-shadow: var(--popup-shadow);
571
+ box-shadow: var(--lake-popup-shadow);
597
572
  display: none;
598
573
  max-height: 180px;
599
574
  overflow-y: scroll;
@@ -610,7 +585,7 @@ button.lake-primary-button.lake-button-hovered {
610
585
  scroll-margin: 4px 0;
611
586
  }
612
587
  .lake-menu .lake-menu-item-selected {
613
- background-color: var(--background-active-color);
588
+ background-color: var(--lake-background-active-color);
614
589
  }
615
590
 
616
591
  .lake-resizer {
@@ -628,7 +603,7 @@ button.lake-primary-button.lake-button-hovered {
628
603
  z-index: 1;
629
604
  border: 1px solid #fff;
630
605
  border-radius: 6px;
631
- background-color: var(--box-border-focus-color);
606
+ background-color: var(--lake-box-border-focus-color);
632
607
  }
633
608
  .lake-resizer-top-left {
634
609
  top: -5px;
@@ -708,24 +683,24 @@ button.lake-primary-button.lake-button-hovered {
708
683
  }
709
684
 
710
685
  .lake-container a {
711
- color: var(--link-color);
686
+ color: var(--lake-link-color);
712
687
  text-decoration: none;
713
688
  }
714
689
  .lake-container a:hover {
715
- color: var(--link-hover-color);
690
+ color: var(--lake-link-hover-color);
716
691
  text-decoration: underline;
717
692
  }
718
693
  .lake-link-popup {
719
694
  position: absolute;
720
695
  top: 0;
721
696
  left: 0;
722
- z-index: 1;
723
- border: 1px solid var(--border-color);
697
+ z-index: var(--lake-popup-z-index);
698
+ border: 1px solid var(--lake-popup-border-color);
724
699
  border-radius: 5px;
725
700
  padding: 16px;
726
701
  width: fit-content;
727
702
  background-color: #fff;
728
- box-shadow: var(--popup-shadow);
703
+ box-shadow: var(--lake-popup-shadow);
729
704
  display: none;
730
705
  }
731
706
  .lake-link-popup .lake-url-row {
@@ -747,11 +722,11 @@ button.lake-primary-button.lake-button-hovered {
747
722
  }
748
723
  .lake-link-popup button[name="copy"] svg:nth-child(2) {
749
724
  display: none;
750
- fill: var(--success-color);
725
+ fill: var(--lake-success-color);
751
726
  }
752
727
  .lake-link-popup button[name="copy"] svg:last-child {
753
728
  display: none;
754
- fill: var(--error-color);
729
+ fill: var(--lake-error-color);
755
730
  }
756
731
 
757
732
  .lake-container ol,
@@ -859,7 +834,7 @@ button.lake-primary-button.lake-button-hovered {
859
834
  background-color: #1890ff;
860
835
  }
861
836
  .lake-container ul[type="checklist"] li[value="false"]::before {
862
- border: 1px solid var(--border-color);
837
+ border: 1px solid var(--lake-border-color);
863
838
  background-color: #fff;
864
839
  }
865
840
  .lake-container ul[type="checklist"] li::after {
@@ -888,13 +863,13 @@ button.lake-primary-button.lake-button-hovered {
888
863
  margin: 0;
889
864
  margin-bottom: 8px;
890
865
  padding: 8px 12px;
891
- color: var(--secondary-text-color);
866
+ color: var(--lake-secondary-text-color);
892
867
  border-left: 4px solid #0505050f;
893
868
  }
894
869
  .lake-container blockquote[type] {
895
870
  margin: 16px 0;
896
871
  padding: 16px 20px;
897
- color: var(--text-color);
872
+ color: var(--lake-text-color);
898
873
  border: 1px solid transparent;
899
874
  border-radius: 8px;
900
875
  }
@@ -920,7 +895,7 @@ button.lake-primary-button.lake-button-hovered {
920
895
  }
921
896
  .lake-container table td {
922
897
  padding: 8px 16px;
923
- border: 1px solid var(--border-color);
898
+ border: 1px solid var(--lake-border-color);
924
899
  }
925
900
 
926
901
  lake-box[name="hr"] {
@@ -938,25 +913,25 @@ lake-box[name="hr"] {
938
913
  cursor: default;
939
914
  }
940
915
  .lake-container[contenteditable="true"] lake-box[name="hr"] .lake-box-hovered .lake-hr {
941
- background-color: var(--box-background-color);
916
+ background-color: var(--lake-box-background-color);
942
917
  }
943
918
  lake-box[name="hr"] .lake-box-selected .lake-hr,
944
919
  lake-box[name="hr"] .lake-box-focused .lake-hr {
945
- background-color: var(--selection-background-color);
920
+ background-color: var(--lake-selection-background-color);
946
921
  }
947
922
  .lake-hr hr {
948
923
  width: 100%;
949
924
  margin: 0;
950
925
  padding: 0;
951
926
  border: 0;
952
- border-top: 1px solid var(--border-color);
927
+ border-top: 1px solid var(--lake-border-color);
953
928
  }
954
929
 
955
930
  /* CodeMirror */
956
931
  .cm-editor {
957
932
  font-size: 14px;
958
933
  border-radius: 5px;
959
- background-color: var(--box-background-color);
934
+ background-color: var(--lake-box-background-color);
960
935
  }
961
936
  .cm-editor.cm-focused {
962
937
  outline: none;
@@ -972,7 +947,7 @@ lake-box[name="codeBlock"] {
972
947
  }
973
948
  lake-box[name="codeBlock"] .lake-box-focused .lake-code-block,
974
949
  lake-box[name="codeBlock"] .lake-box-activated .lake-code-block {
975
- border-color: var(--box-border-color);
950
+ border-color: var(--lake-box-border-color);
976
951
  }
977
952
  .lake-code-block {
978
953
  position: relative;
@@ -992,10 +967,10 @@ lake-box[name="codeBlock"] .lake-box-activated .lake-code-block .lake-dropdown {
992
967
  .lake-code-block .lake-dropdown .lake-dropdown-title {
993
968
  margin: 0;
994
969
  padding-right: 4px;
995
- background-color: var(--box-background-color);
970
+ background-color: var(--lake-box-background-color);
996
971
  }
997
972
  .lake-code-block .lake-dropdown.lake-list-dropdown .lake-dropdown-title-hovered {
998
- background-color: var(--background-active-color);
973
+ background-color: var(--lake-background-active-color);
999
974
  }
1000
975
  .lake-code-block .lake-dropdown .lake-dropdown-text {
1001
976
  margin: 3px 6px;
@@ -1010,9 +985,9 @@ lake-box[name="codeBlock"] .lake-box-activated .lake-code-block .lake-dropdown {
1010
985
  }
1011
986
  .lake-code-block-error {
1012
987
  font-size: 14px;
1013
- color: var(--error-color);
988
+ color: var(--lake-error-color);
1014
989
  border-radius: 5px;
1015
- background-color: var(--box-background-color);
990
+ background-color: var(--lake-box-background-color);
1016
991
  padding: 16px 20px;
1017
992
  }
1018
993
 
@@ -1046,7 +1021,7 @@ lake-box[name="codeBlock"] .lake-box-activated .lake-code-block .lake-dropdown {
1046
1021
  height: 100%;
1047
1022
  }
1048
1023
  lake-box[name="image"] .lake-box-focused .lake-image {
1049
- border-color: var(--box-border-focus-color);
1024
+ border-color: var(--lake-box-border-focus-color);
1050
1025
  }
1051
1026
  /* uploading status */
1052
1027
  .lake-image-uploading .lake-image-img {
@@ -1082,13 +1057,13 @@ lake-box[name="image"] .lake-box-focused .lake-image {
1082
1057
  padding: 16px;
1083
1058
  }
1084
1059
  .lake-image.lake-image-error {
1085
- border: 1px solid var(--box-border-color);
1060
+ border: 1px solid var(--lake-box-border-color);
1086
1061
  }
1087
1062
  .lake-image.lake-image-error ::selection {
1088
1063
  background-color: transparent;
1089
1064
  }
1090
1065
  lake-box[name="image"] .lake-box-selected .lake-image-error {
1091
- background-color: var(--selection-background-color);
1066
+ background-color: var(--lake-selection-background-color);
1092
1067
  }
1093
1068
  .lake-image .lake-error-icon {
1094
1069
  line-height: 0;
@@ -1096,12 +1071,12 @@ lake-box[name="image"] .lake-box-selected .lake-image-error {
1096
1071
  margin-bottom: 8px;
1097
1072
  }
1098
1073
  .lake-image .lake-error-icon svg {
1099
- fill: var(--error-color);
1074
+ fill: var(--lake-error-color);
1100
1075
  width: 64px;
1101
1076
  height: 64px;
1102
1077
  }
1103
1078
  .lake-image .lake-error-name {
1104
- color: var(--error-color);
1079
+ color: var(--lake-error-color);
1105
1080
  line-height: normal;
1106
1081
  }
1107
1082
  /* full screen */
@@ -1129,23 +1104,23 @@ lake-box[name="video"] .lake-box-hovered .lake-resizer {
1129
1104
  .lake-video .lake-video-form {
1130
1105
  padding: 16px;
1131
1106
  line-height: normal;
1132
- border: 1px solid var(--box-border-color);
1107
+ border: 1px solid var(--lake-box-border-color);
1133
1108
  border-radius: 4px;
1134
1109
  }
1135
1110
  .lake-video input[type="text"] {
1136
- font-family: var(--font-family);
1111
+ font-family: var(--lake-font-family);
1137
1112
  font-size: 14px;
1138
- color: var(--text-color);
1113
+ color: var(--lake-text-color);
1139
1114
  border-radius: 5px;
1140
- border: 1px solid var(--input-border-color);
1115
+ border: 1px solid var(--lake-input-border-color);
1141
1116
  padding: 4px 10px;
1142
1117
  width: 100%;
1143
1118
  }
1144
1119
  .lake-video input[type="text"]:hover {
1145
- border: 1px solid var(--input-border-hover-color);
1120
+ border: 1px solid var(--lake-input-border-hover-color);
1146
1121
  }
1147
1122
  .lake-video input[type="text"]:focus-visible {
1148
- outline: var(--input-outline);
1123
+ outline: var(--lake-input-outline);
1149
1124
  outline-offset: -2px;
1150
1125
  }
1151
1126
  .lake-video .lake-row {
@@ -1154,7 +1129,7 @@ lake-box[name="video"] .lake-box-hovered .lake-resizer {
1154
1129
  .lake-video .lake-desc-row {
1155
1130
  padding-top: 8px;
1156
1131
  padding-bottom: 16px;
1157
- color: var(--secondary-text-color);
1132
+ color: var(--lake-secondary-text-color);
1158
1133
  }
1159
1134
  .lake-video .lake-button-row {
1160
1135
  padding-top: 16px;
@@ -1165,7 +1140,7 @@ lake-box[name="video"] .lake-box-hovered .lake-resizer {
1165
1140
 
1166
1141
  .lake-file {
1167
1142
  position: relative;
1168
- font-size: 16px;
1143
+ font-size: var(--lake-font-size);
1169
1144
  font-weight: normal;
1170
1145
  line-height: 0;
1171
1146
  border: 1px solid transparent;
@@ -1194,16 +1169,16 @@ lake-box[name="file"] .lake-box-strip {
1194
1169
  .lake-file .lake-file-name {
1195
1170
  line-height: 24px;
1196
1171
  margin-right: 6px;
1197
- color: var(--link-color);
1172
+ color: var(--lake-link-color);
1198
1173
  }
1199
1174
  lake-box[name="file"] .lake-box-hovered .lake-file {
1200
- background-color: var(--box-background-color);
1175
+ background-color: var(--lake-box-background-color);
1201
1176
  }
1202
1177
  lake-box[name="file"] .lake-box-selected .lake-file {
1203
- background-color: var(--selection-background-color);
1178
+ background-color: var(--lake-selection-background-color);
1204
1179
  }
1205
1180
  lake-box[name="file"] .lake-box-focused .lake-file {
1206
- background-color: var(--selection-background-color);
1181
+ background-color: var(--lake-selection-background-color);
1207
1182
  }
1208
1183
  /* uploading status */
1209
1184
  .lake-file-uploading .lake-progress {
@@ -1224,10 +1199,10 @@ lake-box[name="file"] .lake-box-focused .lake-file {
1224
1199
  }
1225
1200
  /* error status */
1226
1201
  .lake-file-error .lake-file-type svg {
1227
- fill: var(--error-color);
1202
+ fill: var(--lake-error-color);
1228
1203
  }
1229
1204
  .lake-file-error .lake-file-name {
1230
- color: var(--error-color);
1205
+ color: var(--lake-error-color);
1231
1206
  }
1232
1207
 
1233
1208
  .lake-emoji {
@@ -1242,8 +1217,8 @@ lake-box[name="file"] .lake-box-focused .lake-file {
1242
1217
  height: 32px;
1243
1218
  }
1244
1219
  lake-box[name="emoji"] .lake-box-focused .lake-emoji {
1245
- border-color: var(--selection-background-color);
1246
- background-color: var(--selection-background-color);
1220
+ border-color: var(--lake-selection-background-color);
1221
+ background-color: var(--lake-selection-background-color);
1247
1222
  }
1248
1223
 
1249
1224
  .lake-equation {
@@ -1259,10 +1234,10 @@ lake-box[name="equation"] .lake-box-strip {
1259
1234
  align-self: center;
1260
1235
  }
1261
1236
  lake-box[name="equation"] .lake-box-selected .lake-equation {
1262
- background-color: var(--selection-background-color);
1237
+ background-color: var(--lake-selection-background-color);
1263
1238
  }
1264
1239
  lake-box[name="equation"] .lake-box-focused .lake-equation {
1265
- background-color: var(--selection-background-color);
1240
+ background-color: var(--lake-selection-background-color);
1266
1241
  }
1267
1242
  .lake-equation .lake-equation-view {
1268
1243
  padding: 0 6px;
@@ -1272,12 +1247,12 @@ lake-box[name="equation"] .lake-box-focused .lake-equation {
1272
1247
  top: 28px;
1273
1248
  left: 0;
1274
1249
  z-index: 1;
1275
- border: 1px solid var(--border-color);
1250
+ border: 1px solid var(--lake-border-color);
1276
1251
  border-radius: 5px;
1277
1252
  padding: 16px;
1278
1253
  width: fit-content;
1279
1254
  background-color: #fff;
1280
- box-shadow: var(--popup-shadow);
1255
+ box-shadow: var(--lake-popup-shadow);
1281
1256
  display: none;
1282
1257
  }
1283
1258
  lake-box[name="equation"] .lake-box-focused .lake-equation-form,
@@ -1288,7 +1263,7 @@ lake-box[name="equation"] .lake-box-activated .lake-equation-form {
1288
1263
  border: 0;
1289
1264
  font-family: Consolas, Courier, monospace;
1290
1265
  font-size: 14px;
1291
- color: var(--text-color);
1266
+ color: var(--lake-text-color);
1292
1267
  padding: 0;
1293
1268
  margin-right: 8px;
1294
1269
  width: 300px;
@@ -1309,8 +1284,8 @@ lake-box[name="equation"] .lake-box-activated .lake-equation-form {
1309
1284
  .lake-equation-error {
1310
1285
  padding: 0 6px;
1311
1286
  font-size: 14px;
1312
- color: var(--error-color);
1313
- background-color: var(--box-background-color);
1287
+ color: var(--lake-error-color);
1288
+ background-color: var(--lake-box-background-color);
1314
1289
  }
1315
1290
 
1316
1291
  .lake-mention {
@@ -1318,15 +1293,15 @@ lake-box[name="equation"] .lake-box-activated .lake-equation-form {
1318
1293
  border-radius: 2px;
1319
1294
  }
1320
1295
  .lake-container[data-readonly="false"] .lake-mention a:hover {
1321
- color: var(--link-color);
1296
+ color: var(--lake-link-color);
1322
1297
  text-decoration: none;
1323
1298
  }
1324
1299
  lake-box[name="mention"] .lake-box-focused .lake-mention {
1325
- border-color: var(--selection-background-color);
1326
- background-color: var(--selection-background-color);
1300
+ border-color: var(--lake-selection-background-color);
1301
+ background-color: var(--lake-selection-background-color);
1327
1302
  }
1328
1303
  .lake-mention-menu {
1329
- max-height: 180px;
1304
+ max-height: 208px;
1330
1305
  }
1331
1306
  .lake-mention-menu .lake-mention-avatar {
1332
1307
  margin-inline-end: 8px;
@@ -1340,7 +1315,7 @@ lake-box[name="mention"] .lake-box-focused .lake-mention {
1340
1315
  .lake-mention-menu .lake-mention-nickname {
1341
1316
  margin-inline-end: 4px;
1342
1317
  font-weight: 500;
1343
- color: var(--text-color);
1318
+ color: var(--lake-text-color);
1344
1319
  white-space: nowrap;
1345
1320
  }
1346
1321
  .lake-mention-menu .lake-mention-name {
@@ -1348,7 +1323,7 @@ lake-box[name="mention"] .lake-box-focused .lake-mention {
1348
1323
  }
1349
1324
 
1350
1325
  .lake-slash-menu {
1351
- max-height: 380px;
1326
+ max-height: 330px;
1352
1327
  }
1353
1328
  .lake-slash-menu .lake-menu-item input[type="file"] {
1354
1329
  display: none;
@@ -1356,8 +1331,9 @@ lake-box[name="mention"] .lake-box-focused .lake-mention {
1356
1331
  .lake-slash-menu .lake-slash-icon {
1357
1332
  margin-inline-end: 8px;
1358
1333
  border-radius: 5px;
1359
- border: 1px solid var(--border-color);
1334
+ border: 1px solid var(--lake-border-color);
1360
1335
  background-color: #fff;
1336
+ line-height: 0;
1361
1337
  }
1362
1338
  .lake-slash-menu .lake-slash-icon svg,
1363
1339
  .lake-slash-menu .lake-slash-icon img {
@@ -1372,7 +1348,7 @@ lake-box[name="mention"] .lake-box-focused .lake-mention {
1372
1348
  }
1373
1349
  .lake-slash-menu .lake-slash-title {
1374
1350
  font-weight: 500;
1375
- color: var(--text-color);
1351
+ color: var(--lake-text-color);
1376
1352
  }
1377
1353
  .lake-slash-menu .lake-slash-description {
1378
1354
  color: #8c8c8c;
@@ -1380,7 +1356,7 @@ lake-box[name="mention"] .lake-box-focused .lake-mention {
1380
1356
 
1381
1357
  .lake-toolbar {
1382
1358
  box-sizing: border-box;
1383
- font-family: var(--font-family);
1359
+ font-family: var(--lake-font-family);
1384
1360
  font-size: 14px;
1385
1361
  font-weight: normal;
1386
1362
  line-height: normal;
@@ -1398,7 +1374,7 @@ lake-box[name="mention"] .lake-box-focused .lake-mention {
1398
1374
  width: 1px;
1399
1375
  height: 20px;
1400
1376
  margin: 0 4px;
1401
- border-left: 1px solid var(--border-color);
1377
+ border-left: 1px solid var(--lake-border-color);
1402
1378
  user-select: none;
1403
1379
  }
1404
1380
  .lake-toolbar .lake-upload {
@@ -1408,6 +1384,28 @@ lake-box[name="mention"] .lake-box-focused .lake-mention {
1408
1384
  display: none;
1409
1385
  }
1410
1386
 
1387
+ .lake-floating-toolbar {
1388
+ position: absolute;
1389
+ top: 0;
1390
+ left: 0;
1391
+ z-index: var(--lake-popup-z-index);
1392
+ border: 1px solid var(--lake-border-color);
1393
+ border-radius: 5px;
1394
+ background-color: #fff;
1395
+ box-shadow: 0 2px 0 #00000005;
1396
+ padding: 4px;
1397
+ display: flex;
1398
+ flex-wrap: wrap;
1399
+ align-items: center;
1400
+ }
1401
+ .lake-floating-toolbar .lake-toolbar-divider {
1402
+ width: 1px;
1403
+ height: 20px;
1404
+ margin: 0 4px;
1405
+ border-left: 1px solid var(--lake-border-color);
1406
+ user-select: none;
1407
+ }
1408
+
1411
1409
  /*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */
1412
1410
 
1413
1411
  .pswp {