@zsviczian/excalidraw 0.18.0-6 → 0.18.0-60

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 (199) hide show
  1. package/dist/excalidraw.development.js +757 -504
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/excalidraw.production.min.js.LICENSE.txt +0 -2
  4. package/dist/styles.development.css +1080 -437
  5. package/dist/styles.production.css +26 -22
  6. package/package.json +15 -4
  7. package/types/common/src/commonObsidianUtils.d.ts +20 -0
  8. package/types/common/src/constants.d.ts +42 -18
  9. package/types/common/src/editorInterface.d.ts +35 -0
  10. package/types/{excalidraw → common/src}/emitter.d.ts +1 -1
  11. package/types/common/src/font-metadata.d.ts +4 -2
  12. package/types/common/src/index.d.ts +4 -0
  13. package/types/common/src/utility-types.d.ts +5 -0
  14. package/types/common/src/utils.d.ts +25 -6
  15. package/types/{excalidraw → common/src}/visualdebug.d.ts +2 -2
  16. package/types/{excalidraw/scene → element/src}/Scene.d.ts +16 -15
  17. package/types/element/src/align.d.ts +4 -3
  18. package/types/element/src/binding.d.ts +62 -41
  19. package/types/element/src/bounds.d.ts +14 -6
  20. package/types/element/src/collision.d.ts +23 -13
  21. package/types/element/src/cropElement.d.ts +1 -1
  22. package/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +77 -40
  23. package/types/element/src/distance.d.ts +2 -2
  24. package/types/element/src/distribute.d.ts +2 -1
  25. package/types/element/src/dragElements.d.ts +3 -2
  26. package/types/element/src/duplicate.d.ts +10 -13
  27. package/types/element/src/elbowArrow.d.ts +1 -1
  28. package/types/element/src/flowchart.d.ts +3 -2
  29. package/types/element/src/fractionalIndex.d.ts +9 -3
  30. package/types/element/src/frame.d.ts +5 -4
  31. package/types/element/src/groups.d.ts +1 -0
  32. package/types/element/src/index.d.ts +44 -5
  33. package/types/element/src/linearElementEditor.d.ts +34 -50
  34. package/types/element/src/mutateElement.d.ts +11 -3
  35. package/types/element/src/newElement.d.ts +6 -4
  36. package/types/element/src/positionElementsOnGrid.d.ts +2 -0
  37. package/types/element/src/renderElement.d.ts +5 -2
  38. package/types/element/src/resizeElements.d.ts +6 -5
  39. package/types/element/src/resizeTest.d.ts +5 -4
  40. package/types/element/src/selection.d.ts +11 -5
  41. package/types/element/src/shape.d.ts +42 -0
  42. package/types/element/src/sizeHelpers.d.ts +2 -2
  43. package/types/element/src/store.d.ts +237 -0
  44. package/types/element/src/textElement.d.ts +4 -3
  45. package/types/element/src/transformHandles.d.ts +5 -4
  46. package/types/element/src/typeChecks.d.ts +20 -3
  47. package/types/element/src/types.d.ts +31 -12
  48. package/types/element/src/utils.d.ts +17 -6
  49. package/types/element/src/zindex.d.ts +8 -2
  50. package/types/excalidraw/actions/actionAddToLibrary.d.ts +88 -58
  51. package/types/excalidraw/actions/actionAlign.d.ts +6 -6
  52. package/types/excalidraw/actions/actionBoundText.d.ts +61 -41
  53. package/types/excalidraw/actions/actionCanvas.d.ts +430 -519
  54. package/types/excalidraw/actions/actionClipboard.d.ts +81 -944
  55. package/types/excalidraw/actions/actionCropEditor.d.ts +30 -20
  56. package/types/excalidraw/actions/actionDeleteSelected.d.ts +97 -68
  57. package/types/excalidraw/actions/actionDistribute.d.ts +2 -2
  58. package/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  59. package/types/excalidraw/actions/actionElementLink.d.ts +28 -20
  60. package/types/excalidraw/actions/actionElementLock.d.ts +73 -54
  61. package/types/excalidraw/actions/actionEmbeddable.d.ts +30 -20
  62. package/types/excalidraw/actions/actionExport.d.ts +142 -1185
  63. package/types/excalidraw/actions/actionFinalize.d.ts +10 -424
  64. package/types/excalidraw/actions/actionFlip.d.ts +2 -2
  65. package/types/excalidraw/actions/actionFrame.d.ts +176 -129
  66. package/types/excalidraw/actions/actionGroup.d.ts +60 -40
  67. package/types/excalidraw/actions/actionHistory.d.ts +1 -2
  68. package/types/excalidraw/actions/actionLinearEditor.d.ts +564 -22
  69. package/types/excalidraw/actions/actionLink.d.ts +27 -17
  70. package/types/excalidraw/actions/actionMenu.d.ts +27 -457
  71. package/types/excalidraw/actions/actionNavigate.d.ts +21 -431
  72. package/types/excalidraw/actions/actionProperties.d.ts +169 -2702
  73. package/types/excalidraw/actions/actionSelectAll.d.ts +30 -20
  74. package/types/excalidraw/actions/actionStyles.d.ts +31 -21
  75. package/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
  76. package/types/excalidraw/actions/actionToggleGridMode.d.ts +29 -19
  77. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +29 -19
  78. package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +27 -224
  79. package/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  80. package/types/excalidraw/actions/actionToggleStats.d.ts +29 -19
  81. package/types/excalidraw/actions/actionToggleViewMode.d.ts +30 -20
  82. package/types/excalidraw/actions/actionToggleZenMode.d.ts +30 -20
  83. package/types/excalidraw/actions/actionTrayMenu.d.ts +229 -0
  84. package/types/excalidraw/actions/actionZindex.d.ts +2 -2
  85. package/types/excalidraw/actions/index.d.ts +4 -2
  86. package/types/excalidraw/actions/manager.d.ts +1 -1
  87. package/types/excalidraw/actions/register.d.ts +1 -1
  88. package/types/excalidraw/actions/types.d.ts +7 -6
  89. package/types/excalidraw/appState.d.ts +22 -7
  90. package/types/excalidraw/clipboard.d.ts +68 -5
  91. package/types/excalidraw/components/Actions.d.ts +20 -7
  92. package/types/excalidraw/components/App.d.ts +68 -46
  93. package/types/excalidraw/components/ButtonIcon.d.ts +1 -0
  94. package/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
  95. package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
  96. package/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
  97. package/types/excalidraw/components/ColorPicker/Picker.d.ts +4 -3
  98. package/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +3 -3
  99. package/types/excalidraw/components/ColorPicker/ShadeList.d.ts +3 -2
  100. package/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
  101. package/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  102. package/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  103. package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
  104. package/types/excalidraw/components/CommandPalette/types.d.ts +1 -2
  105. package/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  106. package/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
  107. package/types/excalidraw/components/Ellipsify.d.ts +3 -0
  108. package/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
  109. package/types/excalidraw/components/FilledButton.d.ts +1 -1
  110. package/types/excalidraw/components/FixedSideContainer.d.ts +2 -1
  111. package/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
  112. package/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
  113. package/types/excalidraw/components/HintViewer.d.ts +4 -3
  114. package/types/excalidraw/components/InlineIcon.d.ts +3 -1
  115. package/types/excalidraw/components/LayerUI.d.ts +2 -1
  116. package/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
  117. package/types/excalidraw/components/LinkButton.d.ts +4 -0
  118. package/types/excalidraw/components/MobileMenu.d.ts +4 -5
  119. package/types/excalidraw/components/MobileToolBar.d.ts +10 -0
  120. package/types/excalidraw/components/Popover.d.ts +2 -1
  121. package/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
  122. package/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
  123. package/types/excalidraw/components/Range.d.ts +3 -3
  124. package/types/excalidraw/components/Section.d.ts +1 -0
  125. package/types/excalidraw/components/Stats/Angle.d.ts +1 -1
  126. package/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  127. package/types/excalidraw/components/Stats/CanvasGridSize.d.ts +1 -1
  128. package/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
  129. package/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
  130. package/types/excalidraw/components/Stats/DragInput.d.ts +12 -2
  131. package/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
  132. package/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
  133. package/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
  134. package/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
  135. package/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
  136. package/types/excalidraw/components/Stats/Position.d.ts +1 -1
  137. package/types/excalidraw/components/Stats/utils.d.ts +4 -11
  138. package/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
  139. package/types/excalidraw/components/TextField.d.ts +1 -0
  140. package/types/excalidraw/components/ToolPopover.d.ts +25 -0
  141. package/types/excalidraw/components/TrayMenu.d.ts +26 -0
  142. package/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  143. package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +7 -3
  144. package/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
  145. package/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
  146. package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
  147. package/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
  148. package/types/excalidraw/components/icons.d.ts +17 -0
  149. package/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +14 -1
  150. package/types/excalidraw/components/main-menu/MainMenu.d.ts +0 -3
  151. package/types/excalidraw/components/shapes.d.ts +115 -5
  152. package/types/excalidraw/data/blob.d.ts +3 -7
  153. package/types/excalidraw/data/reconcile.d.ts +1 -0
  154. package/types/excalidraw/data/restore.d.ts +7 -2
  155. package/types/excalidraw/data/transform.d.ts +1 -1
  156. package/types/excalidraw/data/types.d.ts +4 -1
  157. package/types/excalidraw/editor-jotai.d.ts +6 -6
  158. package/types/excalidraw/eraser/index.d.ts +0 -2
  159. package/types/excalidraw/fonts/Fonts.d.ts +1 -1
  160. package/types/excalidraw/history.d.ts +30 -22
  161. package/types/excalidraw/hooks/useEmitter.d.ts +1 -1
  162. package/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  163. package/types/excalidraw/hooks/useOutsideClick.d.ts +3 -1
  164. package/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  165. package/types/excalidraw/index.d.ts +16 -15
  166. package/types/excalidraw/lasso/index.d.ts +1 -0
  167. package/types/excalidraw/lasso/utils.d.ts +2 -1
  168. package/types/excalidraw/obsidianUtils.d.ts +22 -9
  169. package/types/excalidraw/renderer/animation.d.ts +12 -0
  170. package/types/excalidraw/renderer/helpers.d.ts +3 -2
  171. package/types/excalidraw/renderer/interactiveScene.d.ts +5 -13
  172. package/types/excalidraw/renderer/staticScene.d.ts +4 -1
  173. package/types/excalidraw/scene/Renderer.d.ts +1 -2
  174. package/types/excalidraw/scene/index.d.ts +2 -2
  175. package/types/excalidraw/scene/scrollbars.d.ts +2 -3
  176. package/types/excalidraw/scene/types.d.ts +17 -3
  177. package/types/excalidraw/shortcut.d.ts +1 -0
  178. package/types/excalidraw/snapping.d.ts +2 -2
  179. package/types/excalidraw/types.d.ts +83 -33
  180. package/types/excalidraw/webpack.dev.config.d.ts +2 -0
  181. package/types/excalidraw/webpack.prod.config.d.ts +2 -0
  182. package/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
  183. package/types/math/src/angle.d.ts +2 -0
  184. package/types/math/src/constants.d.ts +3 -0
  185. package/types/math/src/curve.d.ts +34 -0
  186. package/types/math/src/index.d.ts +1 -0
  187. package/types/math/src/point.d.ts +1 -1
  188. package/types/math/src/rectangle.d.ts +2 -0
  189. package/types/math/src/segment.d.ts +1 -0
  190. package/types/math/src/vector.d.ts +8 -2
  191. package/types/utils/src/bbox.d.ts +1 -1
  192. package/types/utils/src/index.d.ts +1 -1
  193. package/types/utils/src/withinBounds.d.ts +1 -1
  194. package/types/element/src/Shape.d.ts +0 -17
  195. package/types/element/src/ShapeCache.d.ts +0 -25
  196. package/types/element/src/shapes.d.ts +0 -23
  197. package/types/excalidraw/components/ButtonSelect.d.ts +0 -9
  198. package/types/excalidraw/store.d.ts +0 -129
  199. package/types/utils/src/collision.d.ts +0 -8
@@ -295,6 +295,8 @@
295
295
  --button-gray-1: #e9ecef;
296
296
  --button-gray-2: #ced4da;
297
297
  --button-gray-3: #adb5bd;
298
+ --mobile-action-button-bg: rgba(255, 255, 255, 0.35);
299
+ --mobile-color-border: var(--default-border-color);
298
300
  --button-special-active-bg-color: #ebfbee;
299
301
  --dialog-border-color: var(--color-gray-20);
300
302
  --dropdown-icon: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"292.4\" height=\"292.4\" viewBox=\"0 0 292 292\"><path d=\"M287 197L159 69c-4-3-8-5-13-5s-9 2-13 5L5 197c-3 4-5 8-5 13s2 9 5 13c4 4 8 5 13 5h256c5 0 9-1 13-5s5-8 5-13-1-9-5-13z\"/></svg>");
@@ -327,6 +329,7 @@
327
329
  --lg-button-size: 2.25rem;
328
330
  --lg-icon-size: 1rem;
329
331
  --editor-container-padding: 1rem;
332
+ --mobile-action-button-size: 2rem;
330
333
  --scrollbar-thumb: var(--button-gray-2);
331
334
  --scrollbar-thumb-hover: var(--button-gray-3);
332
335
  --color-slider-track: hsl(240, 100%, 90%);
@@ -421,6 +424,10 @@
421
424
  --color-badge: #0b6513;
422
425
  --background-color-badge: #d3ffd2;
423
426
  }
427
+ .excalidraw--mobile.excalidraw {
428
+ --editor-container-padding: 0.75rem;
429
+ }
430
+
424
431
  @media screen and (min-device-width: 1921px) {
425
432
  .excalidraw {
426
433
  --lg-button-size: 2.5rem;
@@ -439,6 +446,8 @@
439
446
  --button-gray-1: #363636;
440
447
  --button-gray-2: #272727;
441
448
  --button-gray-3: #222;
449
+ --mobile-action-button-bg: var(--island-bg-color);
450
+ --mobile-color-border: rgba(255, 255, 255, 0.85);
442
451
  --button-special-active-bg-color: #204624;
443
452
  --dialog-border-color: var(--color-gray-80);
444
453
  --dropdown-icon: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"292.4\" height=\"292.4\" viewBox=\"0 0 292 292\"><path fill=\"%23ced4da\" d=\"M287 197L159 69c-4-3-8-5-13-5s-9 2-13 5L5 197c-3 4-5 8-5 13s2 9 5 13c4 4 8 5 13 5h256c5 0 9-1 13-5s5-8 5-13-1-9-5-13z\"/></svg>");
@@ -554,6 +563,11 @@
554
563
  .excalidraw button.standalone.active svg {
555
564
  color: var(--button-color, var(--color-on-primary-container));
556
565
  }
566
+ .excalidraw--mobile.excalidraw button.standalone {
567
+ width: var(--mobile-action-button-size, var(--default-button-size));
568
+ height: var(--mobile-action-button-size, var(--default-button-size));
569
+ }
570
+
557
571
  .excalidraw button.standalone svg {
558
572
  width: var(--default-icon-size);
559
573
  height: var(--default-icon-size);
@@ -626,6 +640,11 @@
626
640
  .excalidraw .focus-visible-none:focus-visible {
627
641
  outline: none !important;
628
642
  }
643
+ .excalidraw .color-picker__title {
644
+ padding: 0 0.5rem;
645
+ font-size: 0.875rem;
646
+ text-align: left;
647
+ }
629
648
  .excalidraw .color-picker__heading {
630
649
  padding: 0 0.5rem;
631
650
  font-size: 0.75rem;
@@ -641,6 +660,11 @@
641
660
  max-width: 11rem;
642
661
  }
643
662
 
663
+ .excalidraw .color-picker-container.color-picker-container--no-top-picks {
664
+ display: flex;
665
+ justify-content: center;
666
+ grid-template-columns: unset;
667
+ }
644
668
  .excalidraw .color-picker__top-picks {
645
669
  display: flex;
646
670
  justify-content: space-between;
@@ -679,6 +703,25 @@
679
703
  border-radius: var(--radius);
680
704
  filter: var(--theme-filter);
681
705
  }
706
+ .excalidraw .color-picker__button .color-picker__button-outline {
707
+ display: flex;
708
+ align-items: center;
709
+ justify-content: center;
710
+ }
711
+ .excalidraw .color-picker__button .color-picker__button-outline svg {
712
+ color: var(--color-gray-60);
713
+ width: 1.25rem;
714
+ height: 1.25rem;
715
+ }
716
+ .excalidraw .color-picker__button .color-picker__button-background {
717
+ display: flex;
718
+ align-items: center;
719
+ justify-content: center;
720
+ }
721
+ .excalidraw .color-picker__button .color-picker__button-background svg {
722
+ width: 100%;
723
+ height: 100%;
724
+ }
682
725
  .excalidraw .color-picker__button.active .color-picker__button-outline {
683
726
  position: absolute;
684
727
  --offset: -1px;
@@ -729,6 +772,13 @@
729
772
  width: 1.625rem;
730
773
  height: 1.625rem;
731
774
  }
775
+ .excalidraw .color-picker__button.compact-sizing {
776
+ width: var(--mobile-action-button-size);
777
+ height: var(--mobile-action-button-size);
778
+ }
779
+ .excalidraw .color-picker__button.mobile-border {
780
+ border: 1px solid var(--mobile-color-border);
781
+ }
732
782
  .excalidraw .color-picker__button__hotkey-label {
733
783
  position: absolute;
734
784
  right: 5px;
@@ -989,6 +1039,11 @@
989
1039
  .excalidraw .color-picker-label-swatch.active svg {
990
1040
  color: var(--button-color, var(--color-on-primary-container));
991
1041
  }
1042
+ .excalidraw--mobile.excalidraw .color-picker-label-swatch {
1043
+ width: var(--mobile-action-button-size, var(--default-button-size));
1044
+ height: var(--mobile-action-button-size, var(--default-button-size));
1045
+ }
1046
+
992
1047
  .excalidraw .color-picker-label-swatch:after {
993
1048
  content: "";
994
1049
  position: absolute;
@@ -1010,7 +1065,7 @@
1010
1065
  left: 2px;
1011
1066
  }
1012
1067
  .excalidraw--mobile.excalidraw .color-picker-keybinding {
1013
- display: block;
1068
+ display: none;
1014
1069
  }
1015
1070
 
1016
1071
  .excalidraw .color-picker-type-canvasBackground .color-picker-keybinding {
@@ -1106,6 +1161,11 @@
1106
1161
  .excalidraw--mobile.excalidraw .FontPicker__container {
1107
1162
  max-width: calc(2rem + 4 * var(--default-button-size));
1108
1163
  }
1164
+
1165
+ .excalidraw .FontPicker__container--compact {
1166
+ display: block;
1167
+ grid-template-columns: none;
1168
+ }
1109
1169
  /*!*******************************************************************************************************************************************************************************************************!*\
1110
1170
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/IconPicker.scss ***!
1111
1171
  \*******************************************************************************************************************************************************************************************************/
@@ -1493,6 +1553,22 @@
1493
1553
  .excalidraw-hyperlinkContainer__buttons {
1494
1554
  flex: 0 0 auto;
1495
1555
  }
1556
+ /*!********************************************************************************************************************************************************************************************************************!*\
1557
+ !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/ConvertElementTypePopup.scss ***!
1558
+ \********************************************************************************************************************************************************************************************************************/
1559
+ .excalidraw .ConvertElementTypePopup {
1560
+ display: flex;
1561
+ flex-wrap: wrap;
1562
+ justify-content: center;
1563
+ gap: 0.2rem;
1564
+ border-radius: 0.5rem;
1565
+ background: var(--island-bg-color);
1566
+ box-shadow: var(--shadow-island);
1567
+ padding: 0.5rem;
1568
+ }
1569
+ .excalidraw .ConvertElementTypePopup:focus {
1570
+ outline: none;
1571
+ }
1496
1572
  /*!***************************************************************************************************************************************************************************************************************!*\
1497
1573
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/DialogActionButton.scss ***!
1498
1574
  \***************************************************************************************************************************************************************************************************************/
@@ -1716,28 +1792,65 @@
1716
1792
  \**********************************************************************************************************************************************************************************************************************/
1717
1793
  .excalidraw .dropdown-menu {
1718
1794
  position: absolute;
1719
- top: 100%;
1795
+ top: 2.5rem;
1720
1796
  margin-top: 0.5rem;
1797
+ max-width: 16rem;
1798
+ }
1799
+ .excalidraw .dropdown-menu--placement-top {
1800
+ top: auto;
1801
+ bottom: 100%;
1802
+ margin-top: 0;
1803
+ margin-bottom: 0.5rem;
1721
1804
  }
1722
1805
  .excalidraw .dropdown-menu--mobile {
1723
- left: 0;
1724
1806
  width: 100%;
1725
1807
  row-gap: 0.75rem;
1726
1808
  }
1809
+ .excalidraw .dropdown-menu--mobile.main-menu-dropdown {
1810
+ min-width: 232px;
1811
+ margin-top: 0;
1812
+ margin-bottom: 0;
1813
+ }
1814
+ @media screen and (orientation: landscape) {
1815
+ .excalidraw .dropdown-menu--mobile.main-menu-dropdown {
1816
+ max-width: 232px;
1817
+ }
1818
+ }
1727
1819
  .excalidraw .dropdown-menu--mobile .dropdown-menu-container {
1728
1820
  padding: 8px 8px;
1729
1821
  box-sizing: border-box;
1822
+ max-height: calc(100svh - var(--editor-container-padding) * 2 - 2.25rem);
1730
1823
  box-shadow: var(--shadow-island);
1731
1824
  border-radius: var(--border-radius-lg);
1732
1825
  position: relative;
1733
1826
  transition: box-shadow 0.5s ease-in-out;
1827
+ display: flex;
1828
+ flex-direction: column;
1829
+ overflow-y: auto;
1734
1830
  }
1735
1831
  .excalidraw .dropdown-menu--mobile .dropdown-menu-container.zen-mode {
1736
1832
  box-shadow: none;
1737
1833
  }
1834
+ .excalidraw .dropdown-menu--tray {
1835
+ left: 0;
1836
+ width: 100%;
1837
+ row-gap: 0.75rem;
1838
+ }
1839
+ .excalidraw .dropdown-menu--tray .dropdown-menu-container {
1840
+ padding: 8px 8px;
1841
+ box-sizing: border-box;
1842
+ box-shadow: var(--shadow-island);
1843
+ border-radius: var(--border-radius-lg);
1844
+ position: relative;
1845
+ transition: box-shadow 0.5s ease-in-out;
1846
+ display: flex;
1847
+ flex-direction: column;
1848
+ }
1849
+ .excalidraw .dropdown-menu--tray .dropdown-menu-container.zen-mode {
1850
+ box-shadow: none;
1851
+ }
1738
1852
  .excalidraw .dropdown-menu .dropdown-menu-container {
1739
1853
  background-color: var(--island-bg-color);
1740
- max-height: calc(100vh - 150px);
1741
1854
  overflow-y: auto;
1742
1855
  --gap: 2;
1743
1856
  }
@@ -1792,6 +1905,7 @@
1792
1905
  align-items: center;
1793
1906
  cursor: pointer;
1794
1907
  border-radius: var(--border-radius-md);
1908
+ flex: 1 0 auto;
1795
1909
  }
1796
1910
  @media screen and (min-width: 1921px) {
1797
1911
  .excalidraw .dropdown-menu .dropdown-menu-item {
@@ -1903,6 +2017,11 @@
1903
2017
  .excalidraw .dropdown-menu-button.active svg {
1904
2018
  color: var(--button-color, var(--color-on-primary-container));
1905
2019
  }
2020
+ .excalidraw--mobile.excalidraw .dropdown-menu-button {
2021
+ width: var(--mobile-action-button-size, var(--default-button-size));
2022
+ height: var(--mobile-action-button-size, var(--default-button-size));
2023
+ }
2024
+
1906
2025
  .excalidraw.theme--dark.excalidraw .dropdown-menu-button {
1907
2026
  --background: var(--color-surface-high);
1908
2027
  }
@@ -1929,6 +2048,13 @@
1929
2048
  width: var(--default-button-size);
1930
2049
  height: var(--default-button-size);
1931
2050
  }
2051
+ .excalidraw .dropdown-menu-button--tray {
2052
+ border: none;
2053
+ margin: 0;
2054
+ padding: 0;
2055
+ width: var(--default-button-size);
2056
+ height: var(--default-button-size);
2057
+ }
1932
2058
  /*!********************************************************************************************************************************************************************************************************!*\
1933
2059
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/LibraryUnit.scss ***!
1934
2060
  \********************************************************************************************************************************************************************************************************/
@@ -1947,11 +2073,10 @@
1947
2073
  pointer-events: none;
1948
2074
  }
1949
2075
  .excalidraw .library-unit--hover {
1950
- border-color: var(--color-primary);
2076
+ background-color: var(--color-surface-mid);
1951
2077
  }
1952
- .excalidraw .library-unit--selected {
1953
- border-color: var(--color-primary);
1954
- border-width: 1px;
2078
+ .excalidraw .library-unit:active:not(:has(.library-unit__checkbox:hover)), .excalidraw .library-unit--selected {
2079
+ background-color: var(--color-surface-high);
1955
2080
  }
1956
2081
  .excalidraw .library-unit--skeleton {
1957
2082
  opacity: 0.5;
@@ -2076,21 +2201,36 @@
2076
2201
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/LibraryMenuItems.scss ***!
2077
2202
  \*************************************************************************************************************************************************************************************************************/
2078
2203
  .excalidraw {
2079
- --container-padding-y: 1.5rem;
2204
+ --container-padding-y: 1rem;
2080
2205
  --container-padding-x: 0.75rem;
2081
2206
  }
2207
+ .excalidraw .library-menu-items-header {
2208
+ display: flex;
2209
+ padding-top: 1rem;
2210
+ padding-bottom: 0.5rem;
2211
+ gap: 0.5rem;
2212
+ }
2082
2213
  .excalidraw .library-menu-items__no-items {
2083
2214
  text-align: center;
2084
2215
  color: var(--color-gray-70);
2085
2216
  line-height: 1.5;
2086
2217
  font-size: 0.875rem;
2087
2218
  width: 100%;
2219
+ min-height: 55px;
2220
+ display: flex;
2221
+ flex-direction: column;
2222
+ align-items: center;
2223
+ justify-content: center;
2088
2224
  }
2089
2225
  .excalidraw .library-menu-items__no-items__label {
2090
2226
  color: var(--color-primary);
2091
2227
  font-weight: 700;
2092
2228
  font-size: 1.125rem;
2093
- margin-bottom: 0.75rem;
2229
+ margin-bottom: 0.25rem;
2230
+ }
2231
+ .excalidraw .library-menu-items__no-items__hint {
2232
+ color: var(--color-border-outline);
2233
+ padding: 0.75rem 1rem;
2094
2234
  }
2095
2235
  .excalidraw.theme--dark .library-menu-items__no-items {
2096
2236
  color: var(--color-gray-40);
@@ -2104,7 +2244,7 @@
2104
2244
  overflow-y: auto;
2105
2245
  flex-direction: column;
2106
2246
  height: 100%;
2107
- justify-content: center;
2247
+ justify-content: flex-start;
2108
2248
  margin: 0;
2109
2249
  position: relative;
2110
2250
  }
@@ -2118,30 +2258,58 @@
2118
2258
  gap: 1rem;
2119
2259
  }
2120
2260
  .excalidraw .library-menu-items-container__items {
2261
+ position: relative;
2121
2262
  row-gap: 0.5rem;
2122
- padding: var(--container-padding-y) 0;
2263
+ padding: 1rem 0 var(--container-padding-y) 0;
2123
2264
  flex: 1;
2124
2265
  overflow-y: auto;
2125
2266
  overflow-x: hidden;
2126
- margin-bottom: 1rem;
2127
2267
  }
2128
2268
  .excalidraw .library-menu-items-container__header {
2269
+ display: flex;
2270
+ align-items: center;
2271
+ flex: 1 1 auto;
2129
2272
  color: var(--color-primary);
2130
2273
  font-size: 1.125rem;
2131
2274
  font-weight: 700;
2132
2275
  margin-bottom: 0.75rem;
2133
2276
  width: 100%;
2134
- padding-right: 4rem;
2135
2277
  box-sizing: border-box;
2136
2278
  }
2137
2279
  .excalidraw .library-menu-items-container__header--excal {
2138
2280
  margin-top: 2rem;
2139
2281
  }
2282
+ .excalidraw .library-menu-items-container__header__hint {
2283
+ margin-left: auto;
2284
+ font-size: 10px;
2285
+ color: var(--color-border-outline);
2286
+ font-weight: 400;
2287
+ }
2288
+ .excalidraw .library-menu-items-container__header__hint kbd {
2289
+ font-family: monospace;
2290
+ border: 1px solid var(--color-border-outline);
2291
+ border-radius: 4px;
2292
+ padding: 1px 3px;
2293
+ }
2140
2294
  .excalidraw .library-menu-items-container__grid {
2141
2295
  display: grid;
2142
2296
  grid-template-columns: 1fr 1fr 1fr 1fr;
2143
2297
  grid-gap: 16px;
2144
2298
  }
2299
+ .excalidraw .library-menu-items-container__search {
2300
+ flex: 1 1 auto;
2301
+ margin: 0;
2302
+ }
2303
+ .excalidraw .library-menu-items-container__search .ExcTextField__input {
2304
+ height: var(--lg-button-size);
2305
+ }
2306
+ .excalidraw .library-menu-items-container__search .ExcTextField__input input {
2307
+ font-size: 0.875rem;
2308
+ }
2309
+ .excalidraw .library-menu-items-container__search.hideCancelButton input::-webkit-search-cancel-button {
2310
+ appearance: none;
2311
+ display: none;
2312
+ }
2145
2313
  .excalidraw .library-menu-items-container .separator {
2146
2314
  width: 100%;
2147
2315
  display: flex;
@@ -2155,287 +2323,6 @@
2155
2323
  min-height: 3.75rem;
2156
2324
  width: 100%;
2157
2325
  }
2158
- /*!********************************************************************************************************************************************************************************************************!*\
2159
- !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/LibraryMenu.scss ***!
2160
- \********************************************************************************************************************************************************************************************************/
2161
- .excalidraw .layer-ui__library {
2162
- display: flex;
2163
- flex-direction: column;
2164
- flex: 1 1 auto;
2165
- }
2166
- .excalidraw .library-actions-counter {
2167
- background-color: var(--color-primary);
2168
- color: var(--color-primary-light);
2169
- font-weight: 700;
2170
- display: flex;
2171
- align-items: center;
2172
- justify-content: center;
2173
- border-radius: 50%;
2174
- width: 1rem;
2175
- height: 1rem;
2176
- position: absolute;
2177
- bottom: -0.25rem;
2178
- right: -0.25rem;
2179
- font-size: 0.625rem;
2180
- pointer-events: none;
2181
- }
2182
- .excalidraw .layer-ui__library-message {
2183
- padding: 2rem;
2184
- min-width: 200px;
2185
- display: flex;
2186
- flex-direction: column;
2187
- align-items: center;
2188
- flex-grow: 1;
2189
- justify-content: center;
2190
- }
2191
- .excalidraw .layer-ui__library-message span {
2192
- font-size: 0.8em;
2193
- }
2194
- .excalidraw .publish-library-success .Dialog__content {
2195
- display: flex;
2196
- flex-direction: column;
2197
- }
2198
- .excalidraw .publish-library-success-close.ToolIcon_type_button {
2199
- background-color: #228be6;
2200
- align-self: flex-end;
2201
- }
2202
- .excalidraw .publish-library-success-close.ToolIcon_type_button:hover {
2203
- background-color: #1971c2;
2204
- }
2205
- .excalidraw .publish-library-success-close.ToolIcon_type_button .ToolIcon__icon {
2206
- width: auto;
2207
- font-size: 1rem;
2208
- color: #ffffff;
2209
- padding: 0 0.5rem;
2210
- }
2211
- .excalidraw .library-menu-control-buttons {
2212
- display: flex;
2213
- align-items: center;
2214
- justify-content: center;
2215
- gap: 0.625rem;
2216
- position: relative;
2217
- }
2218
- .excalidraw .library-menu-control-buttons--at-bottom::before {
2219
- content: "";
2220
- width: calc(100% - 1.5rem);
2221
- height: 1px;
2222
- position: absolute;
2223
- top: -1px;
2224
- background: var(--sidebar-border-color);
2225
- }
2226
- .excalidraw .library-menu-browse-button {
2227
- flex: 1;
2228
- height: var(--lg-button-size);
2229
- display: flex;
2230
- align-items: center;
2231
- justify-content: center;
2232
- overflow: hidden;
2233
- position: relative;
2234
- border-radius: var(--border-radius-lg);
2235
- background-color: var(--color-primary);
2236
- color: #ffffff;
2237
- text-align: center;
2238
- white-space: nowrap;
2239
- text-decoration: none !important;
2240
- font-weight: 600;
2241
- font-size: 0.75rem;
2242
- }
2243
- .excalidraw .library-menu-browse-button:hover {
2244
- background-color: var(--color-brand-hover);
2245
- }
2246
- .excalidraw .library-menu-browse-button:active {
2247
- background-color: var(--color-brand-active);
2248
- }
2249
- .excalidraw.theme--dark .library-menu-browse-button {
2250
- color: var(--color-gray-100);
2251
- }
2252
- .excalidraw.excalidraw--mobile .library-menu-browse-button {
2253
- height: var(--default-button-size);
2254
- }
2255
- .excalidraw .layer-ui__library .dropdown-menu {
2256
- width: auto;
2257
- top: initial;
2258
- right: 0;
2259
- left: initial;
2260
- bottom: 100%;
2261
- margin-bottom: 0.625rem;
2262
- }
2263
- .excalidraw .layer-ui__library .dropdown-menu .dropdown-menu-container {
2264
- width: 196px;
2265
- box-shadow: var(--library-dropdown-shadow);
2266
- border-radius: var(--border-radius-lg);
2267
- padding: 0.25rem 0.5rem;
2268
- }
2269
- .excalidraw .layer-ui__library .library-menu-dropdown-container {
2270
- position: relative;
2271
- }
2272
- .excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading {
2273
- padding: 0;
2274
- position: absolute;
2275
- top: 1rem;
2276
- right: 0.75rem;
2277
- z-index: 1;
2278
- }
2279
- .excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading .dropdown-menu {
2280
- top: 100%;
2281
- }
2282
- /*!**************************************************************************************************************************************************************************************************!*\
2283
- !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/Modal.scss ***!
2284
- \**************************************************************************************************************************************************************************************************/
2285
- .excalidraw.excalidraw-modal-container {
2286
- position: absolute;
2287
- z-index: var(--zIndex-modal);
2288
- }
2289
- .excalidraw .Modal {
2290
- position: absolute;
2291
- top: 0;
2292
- left: 0;
2293
- right: 0;
2294
- bottom: 0;
2295
- display: flex;
2296
- align-items: center;
2297
- justify-content: center;
2298
- overflow: auto;
2299
- padding: calc(var(--space-factor) * 10);
2300
- display: flex;
2301
- flex-direction: column;
2302
- }
2303
- .excalidraw .Modal .Island {
2304
- padding: 2.5rem;
2305
- border: 0;
2306
- box-shadow: none;
2307
- border-radius: 0;
2308
- }
2309
- .excalidraw .Modal.animations-disabled .Modal__background {
2310
- animation: none;
2311
- }
2312
- .excalidraw .Modal.animations-disabled .Modal__content {
2313
- animation: none;
2314
- opacity: 1;
2315
- }
2316
- .excalidraw .Modal__background {
2317
- position: absolute;
2318
- top: 0;
2319
- left: 0;
2320
- right: 0;
2321
- bottom: 0;
2322
- z-index: 1;
2323
- background-color: rgba(18, 18, 18, 0.2);
2324
- animation: Modal__background__fade-in 0.1s linear forwards;
2325
- }
2326
- .excalidraw .Modal__content {
2327
- position: relative;
2328
- z-index: 2;
2329
- width: 100%;
2330
- max-width: var(--max-width);
2331
- max-height: 100%;
2332
- opacity: 0;
2333
- transform: translateY(10px);
2334
- animation: Modal__content_fade-in 0.025s ease-out 0s forwards;
2335
- position: relative;
2336
- overflow-y: auto;
2337
- background: var(--island-bg-color);
2338
- border: 1px solid var(--dialog-border-color);
2339
- box-shadow: var(--modal-shadow);
2340
- border-radius: 0.75rem;
2341
- box-sizing: border-box;
2342
- }
2343
- .excalidraw .Modal__content:focus {
2344
- outline: none;
2345
- }
2346
- @keyframes Modal__background__fade-in {
2347
- from {
2348
- opacity: 0;
2349
- }
2350
- to {
2351
- opacity: 1;
2352
- }
2353
- }
2354
- @keyframes Modal__content_fade-in {
2355
- from {
2356
- opacity: 0;
2357
- transform: scale(0.9);
2358
- }
2359
- to {
2360
- opacity: 1;
2361
- transform: scale(1);
2362
- }
2363
- }
2364
- .excalidraw .Modal__close {
2365
- color: var(--icon-fill-color);
2366
- margin: 0;
2367
- padding: 0.375rem;
2368
- position: absolute;
2369
- top: 1rem;
2370
- right: 1rem;
2371
- border: 0;
2372
- background-color: transparent;
2373
- line-height: 0;
2374
- cursor: pointer;
2375
- }
2376
- .excalidraw .Modal__close svg {
2377
- width: 1.5rem;
2378
- height: 1.5rem;
2379
- }
2380
- .excalidraw .Dialog--fullscreen .Modal {
2381
- padding: 0;
2382
- }
2383
- .excalidraw .Dialog--fullscreen .Modal__content {
2384
- position: absolute;
2385
- top: 0;
2386
- left: 0;
2387
- right: 0;
2388
- bottom: 0;
2389
- max-width: 100%;
2390
- border: 0;
2391
- border-radius: 0;
2392
- }
2393
- /*!***************************************************************************************************************************************************************************************************!*\
2394
- !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/Dialog.scss ***!
2395
- \***************************************************************************************************************************************************************************************************/
2396
- .excalidraw .Dialog {
2397
- -webkit-user-select: text;
2398
- user-select: text;
2399
- cursor: auto;
2400
- }
2401
- .excalidraw .Dialog__title {
2402
- margin: 0;
2403
- text-align: left;
2404
- font-size: 1.25rem;
2405
- border-bottom: 1px solid var(--dialog-border-color);
2406
- padding: 0 0 0.75rem;
2407
- margin-bottom: 1.5rem;
2408
- }
2409
- .excalidraw .Dialog__close {
2410
- color: var(--color-gray-40);
2411
- margin: 0;
2412
- position: absolute;
2413
- top: 0.75rem;
2414
- right: 0.5rem;
2415
- border: 0;
2416
- background-color: transparent;
2417
- line-height: 0;
2418
- cursor: pointer;
2419
- }
2420
- .excalidraw .Dialog__close:hover {
2421
- color: var(--color-gray-60);
2422
- }
2423
- .excalidraw .Dialog__close:active {
2424
- color: var(--color-gray-40);
2425
- }
2426
- .excalidraw .Dialog__close svg {
2427
- width: 1.5rem;
2428
- height: 1.5rem;
2429
- }
2430
- .excalidraw .Dialog__close + .Dialog__content {
2431
- --offset: 28px;
2432
- height: calc(100% - var(--offset)) !important;
2433
- margin-top: var(--offset) !important;
2434
- }
2435
- .excalidraw .Dialog--fullscreen .Dialog__close {
2436
- top: 1.25rem;
2437
- right: 1.25rem;
2438
- }
2439
2326
  /*!***************************************************************************************************************************************************************************************************!*\
2440
2327
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/Button.scss ***!
2441
2328
  \***************************************************************************************************************************************************************************************************/
@@ -2446,6 +2333,8 @@
2446
2333
  --button-gray-1: #e9ecef;
2447
2334
  --button-gray-2: #ced4da;
2448
2335
  --button-gray-3: #adb5bd;
2336
+ --mobile-action-button-bg: rgba(255, 255, 255, 0.35);
2337
+ --mobile-color-border: var(--default-border-color);
2449
2338
  --button-special-active-bg-color: #ebfbee;
2450
2339
  --dialog-border-color: var(--color-gray-20);
2451
2340
  --dropdown-icon: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"292.4\" height=\"292.4\" viewBox=\"0 0 292 292\"><path d=\"M287 197L159 69c-4-3-8-5-13-5s-9 2-13 5L5 197c-3 4-5 8-5 13s2 9 5 13c4 4 8 5 13 5h256c5 0 9-1 13-5s5-8 5-13-1-9-5-13z\"/></svg>");
@@ -2478,6 +2367,7 @@
2478
2367
  --lg-button-size: 2.25rem;
2479
2368
  --lg-icon-size: 1rem;
2480
2369
  --editor-container-padding: 1rem;
2370
+ --mobile-action-button-size: 2rem;
2481
2371
  --scrollbar-thumb: var(--button-gray-2);
2482
2372
  --scrollbar-thumb-hover: var(--button-gray-3);
2483
2373
  --color-slider-track: hsl(240, 100%, 90%);
@@ -2572,6 +2462,10 @@
2572
2462
  --color-badge: #0b6513;
2573
2463
  --background-color-badge: #d3ffd2;
2574
2464
  }
2465
+ .excalidraw--mobile.excalidraw {
2466
+ --editor-container-padding: 0.75rem;
2467
+ }
2468
+
2575
2469
  @media screen and (min-device-width: 1921px) {
2576
2470
  .excalidraw {
2577
2471
  --lg-button-size: 2.5rem;
@@ -2590,6 +2484,8 @@
2590
2484
  --button-gray-1: #363636;
2591
2485
  --button-gray-2: #272727;
2592
2486
  --button-gray-3: #222;
2487
+ --mobile-action-button-bg: var(--island-bg-color);
2488
+ --mobile-color-border: rgba(255, 255, 255, 0.85);
2593
2489
  --button-special-active-bg-color: #204624;
2594
2490
  --dialog-border-color: var(--color-gray-80);
2595
2491
  --dropdown-icon: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"292.4\" height=\"292.4\" viewBox=\"0 0 292 292\"><path fill=\"%23ced4da\" d=\"M287 197L159 69c-4-3-8-5-13-5s-9 2-13 5L5 197c-3 4-5 8-5 13s2 9 5 13c4 4 8 5 13 5h256c5 0 9-1 13-5s5-8 5-13-1-9-5-13z\"/></svg>");
@@ -2704,6 +2600,10 @@
2704
2600
  .excalidraw .excalidraw-button.active svg {
2705
2601
  color: var(--button-color, var(--color-on-primary-container));
2706
2602
  }
2603
+ .excalidraw--mobile.excalidraw .excalidraw-button {
2604
+ width: var(--mobile-action-button-size, var(--default-button-size));
2605
+ height: var(--mobile-action-button-size, var(--default-button-size));
2606
+ }
2707
2607
  /*!******************************************************************************************************************************************************************************************************!*\
2708
2608
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/TextField.scss ***!
2709
2609
  \******************************************************************************************************************************************************************************************************/
@@ -2719,6 +2619,9 @@
2719
2619
  --ExcTextField--border-active: var(--color-brand-active);
2720
2620
  --ExcTextField--placeholder: var(--color-border-outline-variant);
2721
2621
  }
2622
+ .excalidraw.theme--dark {
2623
+ --ExcTextField--border: var(--color-border-outline-variant);
2624
+ }
2722
2625
  .excalidraw .ExcTextField {
2723
2626
  position: relative;
2724
2627
  }
@@ -2747,57 +2650,338 @@
2747
2650
  -webkit-user-select: none;
2748
2651
  user-select: none;
2749
2652
  }
2750
- .excalidraw .ExcTextField__input {
2751
- box-sizing: border-box;
2752
- display: flex;
2753
- flex-direction: row;
2754
- align-items: center;
2755
- height: 3rem;
2756
- background: var(--ExcTextField--background);
2757
- border: 1px solid var(--ExcTextField--border);
2758
- border-radius: 0.5rem;
2759
- padding: 0 0.75rem;
2653
+ .excalidraw .ExcTextField__input {
2654
+ box-sizing: border-box;
2655
+ display: flex;
2656
+ flex-direction: row;
2657
+ align-items: center;
2658
+ height: 3rem;
2659
+ background: var(--ExcTextField--background);
2660
+ border: 1px solid var(--ExcTextField--border);
2661
+ border-radius: 0.5rem;
2662
+ padding: 0 0.75rem;
2663
+ }
2664
+ .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):hover {
2665
+ border-color: var(--ExcTextField--border-hover);
2666
+ }
2667
+ .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):active, .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):focus-within {
2668
+ border-color: var(--ExcTextField--border-active);
2669
+ }
2670
+ .excalidraw .ExcTextField__input input {
2671
+ display: flex;
2672
+ align-items: center;
2673
+ border: none;
2674
+ outline: none;
2675
+ padding: 0;
2676
+ margin: 0;
2677
+ height: 1.5rem;
2678
+ color: var(--ExcTextField--color);
2679
+ font-family: "Assistant";
2680
+ font-style: normal;
2681
+ font-weight: 400;
2682
+ font-size: 1rem;
2683
+ line-height: 150%;
2684
+ text-overflow: ellipsis;
2685
+ background: transparent;
2686
+ width: 100%;
2687
+ }
2688
+ .excalidraw .ExcTextField__input input:not(:focus):hover {
2689
+ background-color: initial;
2690
+ }
2691
+ .excalidraw .ExcTextField__input input:focus {
2692
+ outline: initial;
2693
+ box-shadow: initial;
2694
+ }
2695
+ .excalidraw .ExcTextField__input--readonly {
2696
+ background: var(--ExcTextField--readonly--background);
2697
+ border-color: var(--ExcTextField--readonly--border);
2698
+ }
2699
+ .excalidraw .ExcTextField__input--readonly input {
2700
+ color: var(--ExcTextField--readonly--color);
2701
+ }
2702
+ .excalidraw .ExcTextField--hasIcon .ExcTextField__input {
2703
+ padding-left: 2.5rem;
2704
+ }
2705
+ /*!********************************************************************************************************************************************************************************************************!*\
2706
+ !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/LibraryMenu.scss ***!
2707
+ \********************************************************************************************************************************************************************************************************/
2708
+ .excalidraw .layer-ui__library {
2709
+ display: flex;
2710
+ flex-direction: column;
2711
+ flex: 1 1 auto;
2712
+ }
2713
+ .excalidraw .library-actions-counter {
2714
+ background-color: var(--color-primary);
2715
+ color: var(--color-primary-light);
2716
+ font-weight: 700;
2717
+ display: flex;
2718
+ align-items: center;
2719
+ justify-content: center;
2720
+ border-radius: 50%;
2721
+ width: 1rem;
2722
+ height: 1rem;
2723
+ position: absolute;
2724
+ bottom: -0.25rem;
2725
+ right: -0.25rem;
2726
+ font-size: 0.625rem;
2727
+ pointer-events: none;
2728
+ }
2729
+ .excalidraw .layer-ui__library-message {
2730
+ padding: 2rem;
2731
+ min-width: 200px;
2732
+ display: flex;
2733
+ flex-direction: column;
2734
+ align-items: center;
2735
+ flex-grow: 1;
2736
+ justify-content: center;
2737
+ }
2738
+ .excalidraw .layer-ui__library-message span {
2739
+ font-size: 0.8em;
2740
+ }
2741
+ .excalidraw .publish-library-success .Dialog__content {
2742
+ display: flex;
2743
+ flex-direction: column;
2744
+ }
2745
+ .excalidraw .publish-library-success-close.ToolIcon_type_button {
2746
+ background-color: #228be6;
2747
+ align-self: flex-end;
2748
+ }
2749
+ .excalidraw .publish-library-success-close.ToolIcon_type_button:hover {
2750
+ background-color: #1971c2;
2751
+ }
2752
+ .excalidraw .publish-library-success-close.ToolIcon_type_button .ToolIcon__icon {
2753
+ width: auto;
2754
+ font-size: 1rem;
2755
+ color: #ffffff;
2756
+ padding: 0 0.5rem;
2757
+ }
2758
+ .excalidraw .library-menu-control-buttons {
2759
+ display: flex;
2760
+ align-items: center;
2761
+ justify-content: center;
2762
+ gap: 0.625rem;
2763
+ position: relative;
2764
+ height: 5.5em;
2765
+ flex-direction: column;
2766
+ }
2767
+ .excalidraw .library-menu-control-buttons--at-bottom::before {
2768
+ content: "";
2769
+ width: calc(100% - 1.5rem);
2770
+ height: 1px;
2771
+ position: absolute;
2772
+ top: -1px;
2773
+ background: var(--sidebar-border-color);
2774
+ }
2775
+ .excalidraw .library-menu-browse-button {
2776
+ flex: 1;
2777
+ width: 100%;
2778
+ height: var(--lg-button-size);
2779
+ display: flex;
2780
+ align-items: center;
2781
+ justify-content: center;
2782
+ overflow: hidden;
2783
+ position: relative;
2784
+ border-radius: var(--border-radius-lg);
2785
+ background-color: var(--color-primary);
2786
+ color: #ffffff;
2787
+ text-align: center;
2788
+ white-space: nowrap;
2789
+ text-decoration: none !important;
2790
+ font-weight: 600;
2791
+ font-size: 0.75rem;
2792
+ }
2793
+ .excalidraw .library-menu-browse-button:hover {
2794
+ background-color: var(--color-brand-hover);
2795
+ }
2796
+ .excalidraw .library-menu-browse-button:active {
2797
+ background-color: var(--color-brand-active);
2798
+ }
2799
+ .excalidraw.theme--dark .library-menu-browse-button {
2800
+ color: var(--color-gray-100);
2801
+ }
2802
+ .excalidraw.excalidraw--mobile .library-menu-browse-button {
2803
+ height: var(--default-button-size);
2804
+ }
2805
+ .excalidraw .layer-ui__library .dropdown-menu {
2806
+ width: auto;
2807
+ top: initial;
2808
+ right: 0;
2809
+ left: initial;
2810
+ bottom: 100%;
2811
+ margin-bottom: 0.625rem;
2812
+ }
2813
+ .excalidraw .layer-ui__library .dropdown-menu .dropdown-menu-container {
2814
+ width: 196px;
2815
+ box-shadow: var(--library-dropdown-shadow);
2816
+ border-radius: var(--border-radius-lg);
2817
+ padding: 0.25rem 0.5rem;
2818
+ }
2819
+ .excalidraw .layer-ui__library .library-menu-dropdown-container {
2820
+ z-index: 1;
2821
+ position: relative;
2822
+ }
2823
+ .excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading {
2824
+ margin-left: auto;
2825
+ }
2826
+ .excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading .dropdown-menu {
2827
+ top: 100%;
2828
+ }
2829
+ /*!**************************************************************************************************************************************************************************************************!*\
2830
+ !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/Modal.scss ***!
2831
+ \**************************************************************************************************************************************************************************************************/
2832
+ .excalidraw.excalidraw-modal-container {
2833
+ position: absolute;
2834
+ z-index: var(--zIndex-modal);
2835
+ }
2836
+ .excalidraw .Modal {
2837
+ position: absolute;
2838
+ top: 0;
2839
+ left: 0;
2840
+ right: 0;
2841
+ bottom: 0;
2842
+ display: flex;
2843
+ align-items: center;
2844
+ justify-content: center;
2845
+ overflow: auto;
2846
+ padding: calc(var(--space-factor) * 10);
2847
+ display: flex;
2848
+ flex-direction: column;
2849
+ }
2850
+ .excalidraw .Modal .Island {
2851
+ padding: 2.5rem;
2852
+ border: 0;
2853
+ box-shadow: none;
2854
+ border-radius: 0;
2855
+ }
2856
+ .excalidraw .Modal.animations-disabled .Modal__background {
2857
+ animation: none;
2858
+ }
2859
+ .excalidraw .Modal.animations-disabled .Modal__content {
2860
+ animation: none;
2861
+ opacity: 1;
2862
+ }
2863
+ .excalidraw .Modal__background {
2864
+ position: absolute;
2865
+ top: 0;
2866
+ left: 0;
2867
+ right: 0;
2868
+ bottom: 0;
2869
+ z-index: 1;
2870
+ background-color: rgba(18, 18, 18, 0.2);
2871
+ animation: Modal__background__fade-in 0.1s linear forwards;
2872
+ }
2873
+ .excalidraw .Modal__content {
2874
+ position: relative;
2875
+ z-index: 2;
2876
+ width: 100%;
2877
+ max-width: var(--max-width);
2878
+ max-height: 100%;
2879
+ opacity: 0;
2880
+ transform: translateY(10px);
2881
+ animation: Modal__content_fade-in 0.025s ease-out 0s forwards;
2882
+ position: relative;
2883
+ overflow-y: auto;
2884
+ background: var(--island-bg-color);
2885
+ border: 1px solid var(--dialog-border-color);
2886
+ box-shadow: var(--modal-shadow);
2887
+ border-radius: 0.75rem;
2888
+ box-sizing: border-box;
2889
+ }
2890
+ .excalidraw .Modal__content:focus {
2891
+ outline: none;
2892
+ }
2893
+ @keyframes Modal__background__fade-in {
2894
+ from {
2895
+ opacity: 0;
2896
+ }
2897
+ to {
2898
+ opacity: 1;
2899
+ }
2900
+ }
2901
+ @keyframes Modal__content_fade-in {
2902
+ from {
2903
+ opacity: 0;
2904
+ transform: scale(0.9);
2905
+ }
2906
+ to {
2907
+ opacity: 1;
2908
+ transform: scale(1);
2909
+ }
2910
+ }
2911
+ .excalidraw .Modal__close {
2912
+ color: var(--icon-fill-color);
2913
+ margin: 0;
2914
+ padding: 0.375rem;
2915
+ position: absolute;
2916
+ top: 1rem;
2917
+ right: 1rem;
2918
+ border: 0;
2919
+ background-color: transparent;
2920
+ line-height: 0;
2921
+ cursor: pointer;
2922
+ }
2923
+ .excalidraw .Modal__close svg {
2924
+ width: 1.5rem;
2925
+ height: 1.5rem;
2926
+ }
2927
+ .excalidraw .Dialog--fullscreen .Modal {
2928
+ padding: 0;
2929
+ }
2930
+ .excalidraw .Dialog--fullscreen .Modal__content {
2931
+ position: absolute;
2932
+ top: 0;
2933
+ left: 0;
2934
+ right: 0;
2935
+ bottom: 0;
2936
+ max-width: 100%;
2937
+ border: 0;
2938
+ border-radius: 0;
2760
2939
  }
2761
- .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):hover {
2762
- border-color: var(--ExcTextField--border-hover);
2940
+ /*!***************************************************************************************************************************************************************************************************!*\
2941
+ !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/Dialog.scss ***!
2942
+ \***************************************************************************************************************************************************************************************************/
2943
+ .excalidraw .Dialog {
2944
+ -webkit-user-select: text;
2945
+ user-select: text;
2946
+ cursor: auto;
2763
2947
  }
2764
- .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):active, .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):focus-within {
2765
- border-color: var(--ExcTextField--border-active);
2948
+ .excalidraw .Dialog__title {
2949
+ margin: 0;
2950
+ text-align: left;
2951
+ font-size: 1.25rem;
2952
+ border-bottom: 1px solid var(--dialog-border-color);
2953
+ padding: 0 0 0.75rem;
2954
+ margin-bottom: 1.5rem;
2766
2955
  }
2767
- .excalidraw .ExcTextField__input input {
2768
- display: flex;
2769
- align-items: center;
2770
- border: none;
2771
- outline: none;
2772
- padding: 0;
2956
+ .excalidraw .Dialog__close {
2957
+ color: var(--color-gray-40);
2773
2958
  margin: 0;
2774
- height: 1.5rem;
2775
- color: var(--ExcTextField--color);
2776
- font-family: "Assistant";
2777
- font-style: normal;
2778
- font-weight: 400;
2779
- font-size: 1rem;
2780
- line-height: 150%;
2781
- text-overflow: ellipsis;
2782
- background: transparent;
2783
- width: 100%;
2959
+ position: absolute;
2960
+ top: 0.75rem;
2961
+ right: 0.5rem;
2962
+ border: 0;
2963
+ background-color: transparent;
2964
+ line-height: 0;
2965
+ cursor: pointer;
2784
2966
  }
2785
- .excalidraw .ExcTextField__input input:not(:focus):hover {
2786
- background-color: initial;
2967
+ .excalidraw .Dialog__close:hover {
2968
+ color: var(--color-gray-60);
2787
2969
  }
2788
- .excalidraw .ExcTextField__input input:focus {
2789
- outline: initial;
2790
- box-shadow: initial;
2970
+ .excalidraw .Dialog__close:active {
2971
+ color: var(--color-gray-40);
2791
2972
  }
2792
- .excalidraw .ExcTextField__input--readonly {
2793
- background: var(--ExcTextField--readonly--background);
2794
- border-color: var(--ExcTextField--readonly--border);
2973
+ .excalidraw .Dialog__close svg {
2974
+ width: 1.5rem;
2975
+ height: 1.5rem;
2795
2976
  }
2796
- .excalidraw .ExcTextField__input--readonly input {
2797
- color: var(--ExcTextField--readonly--color);
2977
+ .excalidraw .Dialog__close + .Dialog__content {
2978
+ --offset: 28px;
2979
+ height: calc(100% - var(--offset)) !important;
2980
+ margin-top: var(--offset) !important;
2798
2981
  }
2799
- .excalidraw .ExcTextField--hasIcon .ExcTextField__input {
2800
- padding-left: 2.5rem;
2982
+ .excalidraw .Dialog--fullscreen .Dialog__close {
2983
+ top: 1.25rem;
2984
+ right: 1.25rem;
2801
2985
  }
2802
2986
  /*!****************************************************************************************************************************************************************************************************!*\
2803
2987
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/Actions.scss ***!
@@ -2884,6 +3068,118 @@
2884
3068
  border-top-left-radius: 0 !important;
2885
3069
  border-bottom-left-radius: 0 !important;
2886
3070
  }
3071
+
3072
+ .compact-shape-actions {
3073
+ display: flex;
3074
+ flex-direction: column;
3075
+ gap: 0.5rem;
3076
+ max-height: calc(100vh - 200px);
3077
+ overflow-y: auto;
3078
+ padding: 0.5rem;
3079
+ }
3080
+ .compact-shape-actions .compact-action-item {
3081
+ position: relative;
3082
+ display: flex;
3083
+ justify-content: center;
3084
+ align-items: center;
3085
+ min-height: 2.5rem;
3086
+ pointer-events: auto;
3087
+ --default-button-size: 2rem;
3088
+ }
3089
+ .compact-shape-actions .compact-action-item .compact-action-button {
3090
+ width: var(--mobile-action-button-size);
3091
+ height: var(--mobile-action-button-size);
3092
+ border: none;
3093
+ border-radius: var(--border-radius-lg);
3094
+ color: var(--color-on-surface);
3095
+ cursor: pointer;
3096
+ display: flex;
3097
+ align-items: center;
3098
+ justify-content: center;
3099
+ transition: all 0.2s ease;
3100
+ background: var(--mobile-action-button-bg);
3101
+ }
3102
+ .compact-shape-actions .compact-action-item .compact-action-button svg {
3103
+ width: 1rem;
3104
+ height: 1rem;
3105
+ flex: 0 0 auto;
3106
+ }
3107
+ .compact-shape-actions .compact-action-item .compact-action-button.active {
3108
+ background: var(--color-surface-primary-container, var(--mobile-action-button-bg));
3109
+ }
3110
+ .compact-shape-actions .compact-action-item .compact-popover-content .popover-section {
3111
+ margin-bottom: 1rem;
3112
+ }
3113
+ .compact-shape-actions .compact-action-item .compact-popover-content .popover-section:last-child {
3114
+ margin-bottom: 0;
3115
+ }
3116
+ .compact-shape-actions .compact-action-item .compact-popover-content .popover-section .popover-section-title {
3117
+ font-size: 0.75rem;
3118
+ font-weight: 600;
3119
+ color: var(--color-text-secondary);
3120
+ margin-bottom: 0.5rem;
3121
+ text-transform: uppercase;
3122
+ letter-spacing: 0.5px;
3123
+ }
3124
+ .compact-shape-actions .compact-action-item .compact-popover-content .popover-section .buttonList {
3125
+ display: flex;
3126
+ flex-wrap: wrap;
3127
+ gap: 0.25rem;
3128
+ }
3129
+ .compact-shape-actions .ToolIcon .ToolIcon__icon {
3130
+ width: var(--mobile-action-button-size);
3131
+ height: var(--mobile-action-button-size);
3132
+ background: var(--mobile-action-button-bg);
3133
+ }
3134
+ .compact-shape-actions .ToolIcon .ToolIcon__icon:hover {
3135
+ background-color: transparent;
3136
+ }
3137
+
3138
+ .compact-shape-actions-island {
3139
+ width: -moz-fit-content;
3140
+ width: fit-content;
3141
+ overflow-x: hidden;
3142
+ }
3143
+
3144
+ .mobile-shape-actions {
3145
+ z-index: 999;
3146
+ display: flex;
3147
+ flex-direction: row;
3148
+ justify-content: space-between;
3149
+ width: 100%;
3150
+ background: transparent;
3151
+ border-radius: var(--border-radius-lg);
3152
+ box-shadow: none;
3153
+ overflow: none;
3154
+ scrollbar-width: none;
3155
+ -ms-overflow-style: none;
3156
+ }
3157
+
3158
+ .shape-actions-theme-scope {
3159
+ --button-border: transparent;
3160
+ --button-bg: var(--color-surface-mid);
3161
+ }
3162
+
3163
+ :root.theme--dark .shape-actions-theme-scope {
3164
+ --button-hover-bg: #363541;
3165
+ --button-bg: var(--color-surface-high);
3166
+ }
3167
+ /*!********************************************************************************************************************************************************************************************************!*\
3168
+ !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/ToolPopover.scss ***!
3169
+ \********************************************************************************************************************************************************************************************************/
3170
+ .excalidraw .tool-popover-content {
3171
+ display: flex;
3172
+ flex-direction: row;
3173
+ gap: 0.25rem;
3174
+ border-radius: 0.5rem;
3175
+ background: var(--island-bg-color);
3176
+ box-shadow: var(--shadow-island);
3177
+ padding: 0.5rem;
3178
+ z-index: var(--zIndex-layerUI);
3179
+ }
3180
+ .excalidraw:focus {
3181
+ outline: none;
3182
+ }
2887
3183
  /*!**************************************************************************************************************************************************************************************************************************!*\
2888
3184
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/CommandPalette/CommandPalette.scss ***!
2889
3185
  \**************************************************************************************************************************************************************************************************************************/
@@ -2975,6 +3271,16 @@
2975
3271
  padding: 0 0.5rem;
2976
3272
  border-radius: var(--border-radius-lg);
2977
3273
  cursor: pointer;
3274
+ --icon-size: 1rem;
3275
+ }
3276
+ .excalidraw .command-palette-dialog .commands .command-item.command-item-large {
3277
+ height: 2.75rem;
3278
+ --icon-size: 1.5rem;
3279
+ }
3280
+ .excalidraw .command-palette-dialog .commands .command-item.command-item-large .icon {
3281
+ width: var(--icon-size);
3282
+ height: var(--icon-size);
3283
+ margin-right: 0.625rem;
2978
3284
  }
2979
3285
  .excalidraw .command-palette-dialog .commands .command-item:active {
2980
3286
  background-color: var(--color-surface-low);
@@ -2983,6 +3289,7 @@
2983
3289
  display: flex;
2984
3290
  align-items: center;
2985
3291
  gap: 0.25rem;
3292
+ overflow: hidden;
2986
3293
  }
2987
3294
  .excalidraw .command-palette-dialog .commands .item-selected {
2988
3295
  background-color: var(--color-surface-mid);
@@ -2998,9 +3305,16 @@
2998
3305
  margin-top: 36px;
2999
3306
  }
3000
3307
  .excalidraw .command-palette-dialog .icon {
3001
- width: 16px;
3002
- height: 16px;
3003
- margin-right: 6px;
3308
+ width: var(--icon-size, 1rem);
3309
+ height: var(--icon-size, 1rem);
3310
+ margin-right: 0.375rem;
3311
+ }
3312
+ .excalidraw .command-palette-dialog .icon .library-item-icon {
3313
+ display: flex;
3314
+ align-items: center;
3315
+ justify-content: center;
3316
+ height: 100%;
3317
+ width: 100%;
3004
3318
  }
3005
3319
  /*!*****************************************************************************************************************************************************************************************************************!*\
3006
3320
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/ElementCanvasButtons.scss ***!
@@ -3028,6 +3342,9 @@
3028
3342
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/ContextMenu.scss ***!
3029
3343
  \********************************************************************************************************************************************************************************************************/
3030
3344
  @charset "UTF-8";
3345
+ .excalidraw .context-menu-popover {
3346
+ z-index: var(--zIndex-ui-context-menu);
3347
+ }
3031
3348
  .excalidraw .context-menu {
3032
3349
  position: relative;
3033
3350
  border-radius: 4px;
@@ -3160,6 +3477,69 @@
3160
3477
  width: 1rem;
3161
3478
  height: 1rem;
3162
3479
  }
3480
+ /*!**********************************************************************************************************************************************************************************************************!*\
3481
+ !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/MobileToolBar.scss ***!
3482
+ \**********************************************************************************************************************************************************************************************************/
3483
+ .excalidraw .excalidraw-mobile-toolbar {
3484
+ display: flex;
3485
+ flex: 1;
3486
+ align-items: center;
3487
+ padding: 0px;
3488
+ gap: 4px;
3489
+ border-radius: var(--space-factor);
3490
+ overflow-x: auto;
3491
+ scrollbar-width: none;
3492
+ -ms-overflow-style: none;
3493
+ justify-content: space-between;
3494
+ }
3495
+ .excalidraw .excalidraw-mobile-toolbar::-webkit-scrollbar {
3496
+ display: none;
3497
+ }
3498
+ .excalidraw .excalidraw-mobile-toolbar .ToolIcon {
3499
+ min-width: 2rem;
3500
+ min-height: 2rem;
3501
+ border-radius: 4px;
3502
+ display: flex;
3503
+ align-items: center;
3504
+ justify-content: center;
3505
+ flex-shrink: 0;
3506
+ }
3507
+ .excalidraw .excalidraw-mobile-toolbar .ToolIcon .ToolIcon__icon {
3508
+ width: 2.25rem;
3509
+ height: 2.25rem;
3510
+ }
3511
+ .excalidraw .excalidraw-mobile-toolbar .ToolIcon .ToolIcon__icon:hover {
3512
+ background-color: transparent;
3513
+ }
3514
+ .excalidraw .excalidraw-mobile-toolbar .ToolIcon.active {
3515
+ background: var(--color-surface-primary-container, var(--island-bg-color));
3516
+ border-color: var(--button-active-border, var(--color-primary-darkest));
3517
+ }
3518
+ .excalidraw .excalidraw-mobile-toolbar .ToolIcon svg {
3519
+ width: 1rem;
3520
+ height: 1rem;
3521
+ }
3522
+ .excalidraw .excalidraw-mobile-toolbar .App-toolbar__extra-tools-dropdown {
3523
+ min-width: 160px;
3524
+ z-index: var(--zIndex-layerUI);
3525
+ }
3526
+ .excalidraw .excalidraw-mobile-toolbar-separator {
3527
+ width: 1px;
3528
+ height: 24px;
3529
+ background: var(--default-border-color);
3530
+ margin: 0 2px;
3531
+ flex-shrink: 0;
3532
+ }
3533
+ .excalidraw .excalidraw-mobile-toolbar-undo {
3534
+ display: flex;
3535
+ align-items: center;
3536
+ }
3537
+ .excalidraw .excalidraw-mobile-toolbar-undo .ToolIcon {
3538
+ min-width: 32px;
3539
+ min-height: 32px;
3540
+ width: 32px;
3541
+ height: 32px;
3542
+ }
3163
3543
  /*!***************************************************************************************************************************************************************************************************************!*\
3164
3544
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/FixedSideContainer.scss ***!
3165
3545
  \***************************************************************************************************************************************************************************************************************/
@@ -3173,58 +3553,28 @@
3173
3553
  .excalidraw .FixedSideContainer_side_top {
3174
3554
  left: var(--editor-container-padding);
3175
3555
  top: var(--editor-container-padding);
3176
- right: var(--editor-container-padding);
3177
- bottom: var(--editor-container-padding);
3178
- }
3179
- .excalidraw .FixedSideContainer_side_top.zen-mode {
3180
- right: 42px;
3181
- }
3182
-
3183
- /* TODO: if these are used, make sure to implement RTL support
3184
- .FixedSideContainer_side_left {
3185
- left: var(--space-factor);
3186
- top: var(--space-factor);
3187
- bottom: var(--space-factor);
3188
- z-index: 1;
3189
- }
3190
-
3191
- .FixedSideContainer_side_right {
3192
- right: var(--space-factor);
3193
- top: var(--space-factor);
3194
- bottom: var(--space-factor);
3195
- z-index: 3;
3196
- }
3197
- */
3198
- /*!*******************************************************************************************************************************************************************************************************!*\
3199
- !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/HintViewer.scss ***!
3200
- \*******************************************************************************************************************************************************************************************************/
3201
- .excalidraw .HintViewer {
3202
- pointer-events: none;
3203
- box-sizing: border-box;
3204
- position: absolute;
3205
- display: flex;
3206
- flex-direction: column;
3207
- justify-content: center;
3208
- left: 0;
3209
- top: 100%;
3210
- max-width: 100%;
3211
- width: 100%;
3212
- margin-top: 0.5rem;
3213
- text-align: center;
3214
- color: var(--text-primary-color);
3215
- font-size: 0.75rem;
3556
+ right: var(--editor-container-padding);
3557
+ bottom: var(--editor-container-padding);
3216
3558
  }
3217
- .excalidraw--mobile.excalidraw .HintViewer {
3218
- position: static;
3219
- padding-right: 2rem;
3559
+ .excalidraw .FixedSideContainer_side_top.zen-mode {
3560
+ right: 42px;
3220
3561
  }
3221
3562
 
3222
- .excalidraw .HintViewer > span {
3223
- padding: 0.25rem;
3563
+ /* TODO: if these are used, make sure to implement RTL support
3564
+ .FixedSideContainer_side_left {
3565
+ left: var(--space-factor);
3566
+ top: var(--space-factor);
3567
+ bottom: var(--space-factor);
3568
+ z-index: 1;
3224
3569
  }
3225
- .excalidraw.theme--dark .HintViewer {
3226
- color: var(--color-gray-60);
3570
+
3571
+ .FixedSideContainer_side_right {
3572
+ right: var(--space-factor);
3573
+ top: var(--space-factor);
3574
+ bottom: var(--space-factor);
3575
+ z-index: 3;
3227
3576
  }
3577
+ */
3228
3578
  /*!************************************************************************************************************************************************************************************************************!*\
3229
3579
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/Stats/DragInput.scss ***!
3230
3580
  \************************************************************************************************************************************************************************************************************/
@@ -3280,14 +3630,15 @@
3280
3630
  \********************************************************************************************************************************************************************************************************/
3281
3631
  .exc-stats {
3282
3632
  width: 204px;
3283
- position: absolute;
3633
+ position: fixed;
3284
3634
  top: 60px;
3285
3635
  font-size: 12px;
3286
3636
  z-index: var(--zIndex-layerUI);
3287
3637
  pointer-events: var(--ui-pointerEvents);
3638
+ right: 3em;
3288
3639
  }
3289
3640
  :root[dir=rtl] .exc-stats {
3290
- left: 12px;
3641
+ left: 3em;
3291
3642
  right: initial;
3292
3643
  }
3293
3644
  .exc-stats h2 {
@@ -3578,7 +3929,6 @@
3578
3929
  border: none;
3579
3930
  box-shadow: 0 0 0 1px var(--color-surface-lowest);
3580
3931
  background-color: var(--color-surface-low);
3581
- width: auto;
3582
3932
  height: var(--lg-button-size);
3583
3933
  display: flex;
3584
3934
  align-items: center;
@@ -3610,9 +3960,19 @@
3610
3960
  .excalidraw .sidebar-trigger.active svg {
3611
3961
  color: var(--button-color, var(--color-on-primary-container));
3612
3962
  }
3963
+ .excalidraw--mobile.excalidraw .sidebar-trigger {
3964
+ width: var(--mobile-action-button-size, var(--default-button-size));
3965
+ height: var(--mobile-action-button-size, var(--default-button-size));
3966
+ }
3967
+
3613
3968
  .excalidraw .sidebar-trigger:active {
3614
3969
  box-shadow: 0 0 0 1px var(--color-brand-active);
3615
3970
  }
3971
+ .excalidraw--mobile.excalidraw .sidebar-trigger {
3972
+ width: var(--mobile-action-button-size, 2rem);
3973
+ height: var(--mobile-action-button-size, 2rem);
3974
+ }
3975
+
3616
3976
  .excalidraw .sidebar-trigger svg {
3617
3977
  width: var(--lg-icon-size);
3618
3978
  height: var(--lg-icon-size);
@@ -3637,7 +3997,7 @@
3637
3997
  top: 0;
3638
3998
  bottom: 0;
3639
3999
  right: 0;
3640
- z-index: 5;
4000
+ z-index: var(--zIndex-ui-library);
3641
4001
  margin: 0;
3642
4002
  padding: 0;
3643
4003
  box-sizing: border-box;
@@ -3728,6 +4088,11 @@
3728
4088
  .excalidraw .sidebar__header__buttons button.active svg {
3729
4089
  color: var(--button-color, var(--color-on-primary-container));
3730
4090
  }
4091
+ .excalidraw--mobile.excalidraw .sidebar__header__buttons button {
4092
+ width: var(--mobile-action-button-size, var(--default-button-size));
4093
+ height: var(--mobile-action-button-size, var(--default-button-size));
4094
+ }
4095
+
3731
4096
  .excalidraw .sidebar__header__buttons button svg {
3732
4097
  width: var(--lg-icon-size);
3733
4098
  height: var(--lg-icon-size);
@@ -4283,18 +4648,44 @@
4283
4648
  flex: 1 1 0;
4284
4649
  display: flex;
4285
4650
  flex-direction: column;
4651
+ padding: 0 0.75rem;
4286
4652
  gap: 0.125rem;
4287
4653
  }
4654
+ .excalidraw .layer-ui__search .collapsible-items {
4655
+ gap: 2px;
4656
+ }
4657
+ .excalidraw .layer-ui__search-result-title {
4658
+ font-size: 0.875rem;
4659
+ margin-bottom: 0.25rem;
4660
+ display: flex;
4661
+ align-items: center;
4662
+ gap: 0.25rem;
4663
+ font-weight: 700;
4664
+ }
4665
+ .excalidraw .layer-ui__search-result-title .title-icon {
4666
+ width: 0.875rem;
4667
+ height: 0.875rem;
4668
+ margin-right: 0.25rem;
4669
+ }
4670
+ .excalidraw .layer-ui__search-result-title .title-icon svg g {
4671
+ stroke-width: 1.25;
4672
+ }
4673
+ .excalidraw .layer-ui__divider {
4674
+ width: 100%;
4675
+ margin-top: 0.25rem;
4676
+ margin-bottom: 1rem;
4677
+ position: relative;
4678
+ }
4288
4679
  .excalidraw .layer-ui__result-item {
4289
4680
  display: flex;
4290
4681
  align-items: center;
4291
- min-height: 2rem;
4682
+ min-height: 1.875rem;
4292
4683
  flex: 0 0 auto;
4293
4684
  padding: 0.25rem 0.75rem;
4294
4685
  cursor: pointer;
4295
4686
  border: 1px solid transparent;
4296
4687
  outline: none;
4297
- margin: 0 0.75rem;
4688
+ font-size: 16px;
4298
4689
  border-radius: var(--border-radius-md);
4299
4690
  }
4300
4691
  .excalidraw .layer-ui__result-item .text-icon {
@@ -4786,6 +5177,48 @@
4786
5177
  font-family: inherit;
4787
5178
  line-height: 1;
4788
5179
  }
5180
+ /*!*******************************************************************************************************************************************************************************************************!*\
5181
+ !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/HintViewer.scss ***!
5182
+ \*******************************************************************************************************************************************************************************************************/
5183
+ .excalidraw .HintViewer {
5184
+ pointer-events: none;
5185
+ box-sizing: border-box;
5186
+ position: absolute;
5187
+ display: flex;
5188
+ flex-direction: column;
5189
+ justify-content: center;
5190
+ left: 0;
5191
+ top: 100%;
5192
+ max-width: 100%;
5193
+ width: 100%;
5194
+ margin-top: 0.5rem;
5195
+ text-align: center;
5196
+ color: var(--text-primary-color);
5197
+ font-size: 0.75rem;
5198
+ }
5199
+ .excalidraw--mobile.excalidraw .HintViewer {
5200
+ position: static;
5201
+ padding-right: 2rem;
5202
+ }
5203
+
5204
+ .excalidraw .HintViewer > span {
5205
+ padding: 0.25rem;
5206
+ }
5207
+ .excalidraw .HintViewer kbd {
5208
+ display: inline-block;
5209
+ margin: 0 1px;
5210
+ font-family: monospace;
5211
+ border: 1px solid var(--color-gray-40);
5212
+ border-radius: 4px;
5213
+ padding: 1px 3px;
5214
+ font-size: 10px;
5215
+ }
5216
+ .excalidraw.theme--dark .HintViewer {
5217
+ color: var(--color-gray-60);
5218
+ }
5219
+ .excalidraw.theme--dark .HintViewer kbd {
5220
+ border-color: var(--color-gray-60);
5221
+ }
4789
5222
  /*!***************************************************************************************************************************************************************************************************!*\
4790
5223
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/Switch.scss ***!
4791
5224
  \***************************************************************************************************************************************************************************************************/
@@ -5198,6 +5631,9 @@
5198
5631
  justify-content: flex-end;
5199
5632
  pointer-events: none !important;
5200
5633
  }
5634
+ .excalidraw .layer-ui__wrapper__top-right--compact {
5635
+ gap: 0.5rem;
5636
+ }
5201
5637
  .excalidraw .layer-ui__wrapper__top-right > * {
5202
5638
  pointer-events: var(--ui-pointerEvents);
5203
5639
  }
@@ -5270,6 +5706,43 @@
5270
5706
  margin-top: auto;
5271
5707
  margin-bottom: auto;
5272
5708
  }
5709
+ .excalidraw .disable-view-mode {
5710
+ display: flex;
5711
+ justify-content: center;
5712
+ cursor: pointer;
5713
+ align-items: center;
5714
+ border: 1px solid var(--color-primary);
5715
+ padding: 0.5rem;
5716
+ border-radius: var(--border-radius-lg);
5717
+ background-color: var(--island-bg-color);
5718
+ text-decoration: none !important;
5719
+ font-family: var(--ui-font);
5720
+ font-size: 0.8333rem;
5721
+ box-sizing: border-box;
5722
+ width: var(--mobile-action-button-size, var(--default-button-size));
5723
+ height: var(--mobile-action-button-size, var(--default-button-size));
5724
+ border: none;
5725
+ box-shadow: 0 0 0 1px var(--color-surface-lowest);
5726
+ background-color: var(--color-surface-low);
5727
+ color: var(--button-color, var(--color-on-surface)) !important;
5728
+ }
5729
+ .excalidraw .disable-view-mode:active {
5730
+ box-shadow: 0 0 0 1px var(--color-brand-active);
5731
+ }
5732
+ .excalidraw .disable-view-mode:hover {
5733
+ background-color: var(--color-primary);
5734
+ color: white !important;
5735
+ }
5736
+ .excalidraw .disable-view-mode:active {
5737
+ background-color: var(--color-primary-darker);
5738
+ }
5739
+ .excalidraw .disable-view-mode svg {
5740
+ width: 20px;
5741
+ height: 20px;
5742
+ }
5743
+ .excalidraw .theme--dark .plus-banner:hover {
5744
+ color: black !important;
5745
+ }
5273
5746
  /*!****************************************************************************************************************************************************************************************************!*\
5274
5747
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/Toolbar.scss ***!
5275
5748
  \****************************************************************************************************************************************************************************************************/
@@ -5277,6 +5750,12 @@
5277
5750
  .excalidraw .App-toolbar.zen-mode .HintViewer {
5278
5751
  display: none;
5279
5752
  }
5753
+ .excalidraw .App-toolbar--compact .ToolIcon__keybinding {
5754
+ display: none;
5755
+ }
5756
+ .excalidraw .App-toolbar--compact .App-toolbar__divider {
5757
+ margin: 0;
5758
+ }
5280
5759
  .excalidraw .App-toolbar__divider {
5281
5760
  width: 1px;
5282
5761
  height: 1.5rem;
@@ -5297,6 +5776,9 @@
5297
5776
  background-color: var(--button-hover-bg);
5298
5777
  box-shadow: 0 0 0 1px var(--button-active-border, var(--color-primary-darkest)) inset;
5299
5778
  }
5779
+ .excalidraw .App-toolbar__extra-tools-trigger:hover {
5780
+ background-color: transparent;
5781
+ }
5300
5782
  .excalidraw .App-toolbar__extra-tools-trigger--selected, .excalidraw .App-toolbar__extra-tools-trigger--selected:hover {
5301
5783
  background: var(--color-primary-light);
5302
5784
  color: var(--color-primary);
@@ -5369,6 +5851,38 @@
5369
5851
  opacity: 1;
5370
5852
  }
5371
5853
  }
5854
+ /*!********************************************************************************************************************************************************************************************************!*\
5855
+ !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/UnlockPopup.scss ***!
5856
+ \********************************************************************************************************************************************************************************************************/
5857
+ .excalidraw .UnlockPopup {
5858
+ position: absolute;
5859
+ z-index: var(--zIndex-interactiveCanvas);
5860
+ display: flex;
5861
+ justify-content: center;
5862
+ align-items: center;
5863
+ gap: 0.5rem;
5864
+ border-radius: 0.5rem;
5865
+ background: var(--island-bg-color);
5866
+ box-shadow: var(--shadow-island);
5867
+ padding: 0.8rem;
5868
+ cursor: pointer;
5869
+ color: var(--color-gray-60);
5870
+ }
5871
+ .excalidraw .UnlockPopup:focus {
5872
+ outline: none;
5873
+ }
5874
+ .excalidraw .UnlockPopup svg {
5875
+ display: block;
5876
+ width: 1.25rem;
5877
+ height: 1.25rem;
5878
+ color: var(--color-gray-60);
5879
+ }
5880
+ .excalidraw .UnlockPopup:hover svg {
5881
+ color: var(--color-primary);
5882
+ }
5883
+ .excalidraw .UnlockPopup:active svg {
5884
+ transform: scale(0.95);
5885
+ }
5372
5886
  /*!****************************************************************************************************************************************************************************************************************!*\
5373
5887
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/footer/FooterCenter.scss ***!
5374
5888
  \****************************************************************************************************************************************************************************************************************/
@@ -5438,6 +5952,8 @@
5438
5952
  !*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/ExcalidrawLogo.scss ***!
5439
5953
  \***********************************************************************************************************************************************************************************************************/
5440
5954
  .excalidraw .ExcalidrawLogo {
5955
+ --logo-icon--mobile: 1rem;
5956
+ --logo-text--mobile: 0.75rem;
5441
5957
  --logo-icon--xs: 2rem;
5442
5958
  --logo-text--xs: 1.5rem;
5443
5959
  --logo-icon--small: 2.5rem;
@@ -5461,6 +5977,13 @@
5461
5977
  width: auto;
5462
5978
  color: var(--color-logo-text);
5463
5979
  }
5980
+ .excalidraw .ExcalidrawLogo.is-mobile .ExcalidrawLogo-icon {
5981
+ height: var(--logo-icon--mobile);
5982
+ }
5983
+ .excalidraw .ExcalidrawLogo.is-mobile .ExcalidrawLogo-text {
5984
+ height: var(--logo-text--mobile);
5985
+ margin-left: 0.5rem;
5986
+ }
5464
5987
  .excalidraw .ExcalidrawLogo.is-xs .ExcalidrawLogo-icon {
5465
5988
  height: var(--logo-icon--xs);
5466
5989
  }
@@ -5678,15 +6201,8 @@
5678
6201
  .excalidraw.theme--dark .welcome-screen-menu-item:active .welcome-screen-menu-item__text {
5679
6202
  color: var(--color-gray-10);
5680
6203
  }
5681
- @media (max-height: 599px) {
5682
- .excalidraw .welcome-screen-center {
5683
- margin-top: 4rem;
5684
- }
5685
- }
5686
- @media (min-height: 600px) and (max-height: 900px) {
5687
- .excalidraw .welcome-screen-center {
5688
- margin-top: 4rem;
5689
- }
6204
+ .excalidraw.excalidraw--mobile .welcome-screen-center {
6205
+ margin-bottom: 2rem;
5690
6206
  }
5691
6207
  @media (max-height: 500px), (max-width: 320px) {
5692
6208
  .excalidraw .welcome-screen-center {
@@ -5743,6 +6259,8 @@
5743
6259
  --button-gray-1: #e9ecef;
5744
6260
  --button-gray-2: #ced4da;
5745
6261
  --button-gray-3: #adb5bd;
6262
+ --mobile-action-button-bg: rgba(255, 255, 255, 0.35);
6263
+ --mobile-color-border: var(--default-border-color);
5746
6264
  --button-special-active-bg-color: #ebfbee;
5747
6265
  --dialog-border-color: var(--color-gray-20);
5748
6266
  --dropdown-icon: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"292.4\" height=\"292.4\" viewBox=\"0 0 292 292\"><path d=\"M287 197L159 69c-4-3-8-5-13-5s-9 2-13 5L5 197c-3 4-5 8-5 13s2 9 5 13c4 4 8 5 13 5h256c5 0 9-1 13-5s5-8 5-13-1-9-5-13z\"/></svg>");
@@ -5775,6 +6293,7 @@
5775
6293
  --lg-button-size: 2.25rem;
5776
6294
  --lg-icon-size: 1rem;
5777
6295
  --editor-container-padding: 1rem;
6296
+ --mobile-action-button-size: 2rem;
5778
6297
  --scrollbar-thumb: var(--button-gray-2);
5779
6298
  --scrollbar-thumb-hover: var(--button-gray-3);
5780
6299
  --color-slider-track: hsl(240, 100%, 90%);
@@ -5869,6 +6388,10 @@
5869
6388
  --color-badge: #0b6513;
5870
6389
  --background-color-badge: #d3ffd2;
5871
6390
  }
6391
+ .excalidraw--mobile.excalidraw {
6392
+ --editor-container-padding: 0.75rem;
6393
+ }
6394
+
5872
6395
  @media screen and (min-device-width: 1921px) {
5873
6396
  .excalidraw {
5874
6397
  --lg-button-size: 2.5rem;
@@ -5887,6 +6410,8 @@
5887
6410
  --button-gray-1: #363636;
5888
6411
  --button-gray-2: #272727;
5889
6412
  --button-gray-3: #222;
6413
+ --mobile-action-button-bg: var(--island-bg-color);
6414
+ --mobile-color-border: rgba(255, 255, 255, 0.85);
5890
6415
  --button-special-active-bg-color: #204624;
5891
6416
  --dialog-border-color: var(--color-gray-80);
5892
6417
  --dropdown-icon: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"292.4\" height=\"292.4\" viewBox=\"0 0 292 292\"><path fill=\"%23ced4da\" d=\"M287 197L159 69c-4-3-8-5-13-5s-9 2-13 5L5 197c-3 4-5 8-5 13s2 9 5 13c4 4 8 5 13 5h256c5 0 9-1 13-5s5-8 5-13-1-9-5-13z\"/></svg>");
@@ -5971,6 +6496,11 @@
5971
6496
  --zIndex-eyeDropperBackdrop: 5;
5972
6497
  --zIndex-eyeDropperPreview: 6;
5973
6498
  --zIndex-hyperlinkContainer: 7;
6499
+ --zIndex-ui-bottom: 60;
6500
+ --zIndex-ui-context-menu: 90;
6501
+ --zIndex-ui-styles-popup: 100;
6502
+ --zIndex-ui-top: 100;
6503
+ --zIndex-ui-library: 120;
5974
6504
  --zIndex-modal: 1000;
5975
6505
  --zIndex-popup: 1001;
5976
6506
  --zIndex-toast: 999999;
@@ -6004,6 +6534,16 @@ body.excalidraw-cursor-resize * {
6004
6534
  user-select: none;
6005
6535
  /*zsviczian*/
6006
6536
  }
6537
+ .excalidraw button {
6538
+ font-size: 0.8333rem;
6539
+ }
6540
+ .excalidraw button,
6541
+ .excalidraw label {
6542
+ -webkit-tap-highlight-color: transparent;
6543
+ -webkit-touch-callout: none;
6544
+ -webkit-user-select: none;
6545
+ user-select: none;
6546
+ }
6007
6547
  .excalidraw button {
6008
6548
  cursor: pointer;
6009
6549
  -webkit-user-select: none;
@@ -6068,14 +6608,14 @@ body.excalidraw-cursor-resize * {
6068
6608
  display: flex;
6069
6609
  justify-content: space-between;
6070
6610
  }
6071
- .excalidraw .panelColumn {
6611
+ .excalidraw .selected-shape-actions {
6072
6612
  display: flex;
6073
6613
  flex-direction: column;
6074
6614
  row-gap: 0.75rem;
6075
6615
  }
6076
- .excalidraw .panelColumn h3,
6077
- .excalidraw .panelColumn legend,
6078
- .excalidraw .panelColumn .control-label {
6616
+ .excalidraw .selected-shape-actions h3,
6617
+ .excalidraw .selected-shape-actions legend,
6618
+ .excalidraw .selected-shape-actions .control-label {
6079
6619
  margin: 0;
6080
6620
  margin-bottom: 0.25rem;
6081
6621
  font-size: 0.75rem;
@@ -6083,36 +6623,36 @@ body.excalidraw-cursor-resize * {
6083
6623
  font-weight: 400;
6084
6624
  display: block;
6085
6625
  }
6086
- .excalidraw .panelColumn .control-label input {
6626
+ .excalidraw .selected-shape-actions .control-label input {
6087
6627
  display: block;
6088
6628
  width: 100%;
6089
6629
  }
6090
- .excalidraw .panelColumn legend {
6630
+ .excalidraw .selected-shape-actions legend {
6091
6631
  padding: 0;
6092
6632
  }
6093
- .excalidraw .panelColumn .iconSelectList {
6633
+ .excalidraw .selected-shape-actions .iconSelectList {
6094
6634
  flex-wrap: wrap;
6095
6635
  position: relative;
6096
6636
  }
6097
- .excalidraw .panelColumn .buttonList {
6637
+ .excalidraw .selected-shape-actions .buttonList {
6098
6638
  flex-wrap: wrap;
6099
6639
  display: flex;
6100
6640
  column-gap: 0.5rem;
6101
6641
  row-gap: 0.5rem;
6102
6642
  }
6103
- .excalidraw .panelColumn .buttonList label {
6643
+ .excalidraw .selected-shape-actions .buttonList label {
6104
6644
  font-size: 0.75rem;
6105
6645
  }
6106
- .excalidraw .panelColumn .buttonList input[type=radio],
6107
- .excalidraw .panelColumn .buttonList input[type=button] {
6646
+ .excalidraw .selected-shape-actions .buttonList input[type=radio],
6647
+ .excalidraw .selected-shape-actions .buttonList input[type=button] {
6108
6648
  opacity: 0;
6109
6649
  position: absolute;
6110
6650
  pointer-events: none;
6111
6651
  }
6112
- .excalidraw .panelColumn .buttonList .iconRow {
6652
+ .excalidraw .selected-shape-actions .buttonList .iconRow {
6113
6653
  margin-top: 8px;
6114
6654
  }
6115
- .excalidraw .panelColumn fieldset {
6655
+ .excalidraw .selected-shape-actions fieldset {
6116
6656
  margin: 0;
6117
6657
  padding: 0;
6118
6658
  border: none;
@@ -6192,6 +6732,11 @@ body.excalidraw-cursor-resize * {
6192
6732
  .excalidraw .buttonList .zIndexButton.active svg {
6193
6733
  color: var(--button-color, var(--color-on-primary-container));
6194
6734
  }
6735
+ .excalidraw--mobile.excalidraw .buttonList label, .excalidraw .buttonList button, .excalidraw .buttonList .zIndexButton {
6736
+ width: var(--mobile-action-button-size, var(--default-button-size));
6737
+ height: var(--mobile-action-button-size, var(--default-button-size));
6738
+ }
6739
+
6195
6740
  .excalidraw .buttonList label svg,
6196
6741
  .excalidraw .buttonList button svg,
6197
6742
  .excalidraw .buttonList .zIndexButton svg {
@@ -6202,39 +6747,44 @@ body.excalidraw-cursor-resize * {
6202
6747
  z-index: var(--zIndex-layerUI);
6203
6748
  display: flex;
6204
6749
  flex-direction: column;
6205
- align-items: center;
6750
+ }
6751
+ .excalidraw .App-welcome-screen {
6752
+ z-index: var(--zIndex-layerUI);
6206
6753
  }
6207
6754
  .excalidraw .App-bottom-bar {
6208
6755
  position: absolute;
6209
- top: 0;
6756
+ width: calc(100% - 28px);
6757
+ max-width: 450px;
6210
6758
  bottom: 0;
6211
- left: 0;
6212
- right: 0;
6759
+ left: 50%;
6760
+ transform: translateX(-50%);
6213
6761
  --bar-padding: calc(4 * var(--space-factor));
6214
- padding-top: max(var(--bar-padding), var(--sat,0));
6215
- padding-right: var(--sar, 0);
6216
- padding-bottom: var(--sab, 0);
6217
- padding-left: var(--sal, 0);
6218
- z-index: 4;
6762
+ z-index: var(--zIndex-ui-bottom);
6219
6763
  display: flex;
6220
- align-items: flex-end;
6764
+ flex-direction: column;
6221
6765
  pointer-events: none;
6766
+ justify-content: center;
6767
+ }
6768
+ .excalidraw--tray.excalidraw .App-bottom-bar {
6769
+ flex-direction: row;
6770
+ left: 0;
6771
+ transform: none;
6772
+ justify-content: flex-start;
6773
+ align-items: flex-end;
6774
+ max-width: 19rem;
6222
6775
  }
6776
+
6223
6777
  .excalidraw .App-bottom-bar > .Island {
6224
- /*width: 100%; //zsviczian*/
6225
- max-width: 100%;
6226
- /*min-width: 100%; //zsviczian*/
6227
6778
  box-sizing: border-box;
6228
6779
  max-height: 100%;
6780
+ padding: 4px;
6229
6781
  display: flex;
6230
6782
  flex-direction: column;
6231
6783
  pointer-events: var(--ui-pointerEvents);
6232
6784
  }
6233
- .excalidraw .App-bottom-bar > .Island .panelColumn {
6234
- padding: 8px 8px 0 8px;
6235
- }
6236
6785
  .excalidraw .App-toolbar {
6237
- width: 100%;
6786
+ display: flex;
6787
+ justify-content: center;
6238
6788
  }
6239
6789
  .excalidraw .App-toolbar .eraser.ToolIcon:hover {
6240
6790
  --icon-fill-color: #fff;
@@ -6243,16 +6793,30 @@ body.excalidraw-cursor-resize * {
6243
6793
  .excalidraw .App-toolbar .eraser.active {
6244
6794
  background-color: var(--color-primary);
6245
6795
  }
6796
+ .excalidraw .excalidraw-ui-top-left,
6797
+ .excalidraw .excalidraw-ui-top-right {
6798
+ display: flex;
6799
+ gap: 0.5rem;
6800
+ }
6246
6801
  .excalidraw .App-toolbar-content {
6247
6802
  display: flex;
6248
- align-items: center;
6249
- justify-content: space-between;
6250
- padding: 6px;
6803
+ flex-direction: column;
6804
+ pointer-events: none;
6805
+ }
6806
+ .excalidraw .App-toolbar-content > * {
6807
+ pointer-events: var(--ui-pointerEvents);
6251
6808
  }
6252
- .excalidraw .App-toolbar-content .dropdown-menu--mobile {
6809
+ .excalidraw .App-toolbar-content .dropdown-menu--tray {
6253
6810
  bottom: 55px;
6254
6811
  top: auto;
6255
6812
  }
6813
+ .excalidraw--tray.excalidraw .App-toolbar-content {
6814
+ flex-direction: row;
6815
+ }
6816
+
6817
+ .excalidraw .App-toolbar-content label.ToolIcon.is-mobile {
6818
+ background-color: var(--color-surface-low);
6819
+ }
6256
6820
  .excalidraw .App-mobile-menu {
6257
6821
  width: 100%;
6258
6822
  overflow-x: visible;
@@ -6260,6 +6824,19 @@ body.excalidraw-cursor-resize * {
6260
6824
  box-sizing: border-box;
6261
6825
  margin-bottom: var(--bar-padding);
6262
6826
  }
6827
+ .excalidraw .App-mobile-menu .selected-shape-actions {
6828
+ padding: 8px 8px 0 8px;
6829
+ }
6830
+ .excalidraw .App-tray-menu {
6831
+ width: 100%;
6832
+ overflow-x: hidden;
6833
+ overflow-y: auto;
6834
+ box-sizing: border-box;
6835
+ margin-bottom: var(--bar-padding);
6836
+ }
6837
+ .excalidraw .App-tray-menu .selected-shape-actions {
6838
+ padding: 8px 8px 0 8px;
6839
+ }
6263
6840
  .excalidraw .App-menu {
6264
6841
  display: grid;
6265
6842
  color: var(--icon-fill-color);
@@ -6274,7 +6851,7 @@ body.excalidraw-cursor-resize * {
6274
6851
  }
6275
6852
  .excalidraw .App-menu_top {
6276
6853
  grid-template-columns: 1fr 2fr 1fr;
6277
- grid-gap: 2rem;
6854
+ grid-gap: 1rem;
6278
6855
  align-items: flex-start;
6279
6856
  cursor: default;
6280
6857
  pointer-events: none !important;
@@ -6291,6 +6868,13 @@ body.excalidraw-cursor-resize * {
6291
6868
  .excalidraw .App-menu_top > *:first-child {
6292
6869
  justify-self: flex-start;
6293
6870
  }
6871
+ .excalidraw .selected-shape-actions-container {
6872
+ width: -moz-fit-content;
6873
+ width: fit-content;
6874
+ }
6875
+ .excalidraw .selected-shape-actions-container--compact {
6876
+ min-width: 48px;
6877
+ }
6294
6878
  .excalidraw .App-menu_top > *:last-child {
6295
6879
  justify-self: flex-end;
6296
6880
  }
@@ -6435,9 +7019,19 @@ body.excalidraw-cursor-resize * {
6435
7019
  .excalidraw .help-icon.active svg {
6436
7020
  color: var(--button-color, var(--color-on-primary-container));
6437
7021
  }
7022
+ .excalidraw--mobile.excalidraw .help-icon {
7023
+ width: var(--mobile-action-button-size, var(--default-button-size));
7024
+ height: var(--mobile-action-button-size, var(--default-button-size));
7025
+ }
7026
+
6438
7027
  .excalidraw .help-icon:active {
6439
7028
  box-shadow: 0 0 0 1px var(--color-brand-active);
6440
7029
  }
7030
+ .excalidraw--mobile.excalidraw .help-icon {
7031
+ width: var(--mobile-action-button-size, 2rem);
7032
+ height: var(--mobile-action-button-size, 2rem);
7033
+ }
7034
+
6441
7035
  .excalidraw .help-icon svg {
6442
7036
  width: var(--lg-icon-size);
6443
7037
  height: var(--lg-icon-size);
@@ -6465,6 +7059,14 @@ body.excalidraw-cursor-resize * {
6465
7059
  display: none;
6466
7060
  }
6467
7061
  .excalidraw--mobile.excalidraw .scroll-back-to-content {
7062
+ bottom: calc(100px + var(--sab, 0));
7063
+ z-index: -1;
7064
+ }
7065
+
7066
+ .excalidraw--tray.excalidraw aside {
7067
+ display: none;
7068
+ }
7069
+ .excalidraw--tray.excalidraw .scroll-back-to-content {
6468
7070
  bottom: calc(80px + var(--sab, 0));
6469
7071
  z-index: -1;
6470
7072
  }
@@ -6555,6 +7157,7 @@ body.excalidraw-cursor-resize * {
6555
7157
  border-bottom-left-radius: var(--border-radius-lg);
6556
7158
  border-right: 0;
6557
7159
  overflow: hidden;
7160
+ margin-right: 3px;
6558
7161
  background-color: var(--island-bg-color);
6559
7162
  }
6560
7163
  .excalidraw .mobile-misc-tools-container .ToolIcon__icon {
@@ -6565,6 +7168,28 @@ body.excalidraw-cursor-resize * {
6565
7168
  .excalidraw .mobile-misc-tools-container .default-sidebar-trigger {
6566
7169
  border: 0;
6567
7170
  }
7171
+ .excalidraw .tray-misc-tools-container {
7172
+ position: absolute;
7173
+ top: calc(5rem - var(--editor-container-padding));
7174
+ right: calc(var(--editor-container-padding) * -1);
7175
+ display: flex;
7176
+ flex-direction: column;
7177
+ border: 1px solid var(--sidebar-border-color);
7178
+ border-top-left-radius: var(--border-radius-lg);
7179
+ border-bottom-left-radius: var(--border-radius-lg);
7180
+ border-right: 0;
7181
+ overflow: hidden;
7182
+ margin-right: 3px;
7183
+ background-color: var(--island-bg-color);
7184
+ }
7185
+ .excalidraw .tray-misc-tools-container .ToolIcon__icon {
7186
+ width: 2rem;
7187
+ height: 2rem;
7188
+ border-radius: 0;
7189
+ }
7190
+ .excalidraw .tray-misc-tools-container .default-sidebar-trigger {
7191
+ border: 0;
7192
+ }
6568
7193
  .excalidraw .App-toolbar--mobile {
6569
7194
  overflow: visible;
6570
7195
  max-width: 98vw;
@@ -6572,6 +7197,13 @@ body.excalidraw-cursor-resize * {
6572
7197
  .excalidraw .App-toolbar--mobile .ToolIcon__keybinding {
6573
7198
  display: block;
6574
7199
  }
7200
+ .excalidraw .App-toolbar--tray {
7201
+ overflow: visible;
7202
+ max-width: 98vw;
7203
+ }
7204
+ .excalidraw .App-toolbar--tray .ToolIcon__keybinding {
7205
+ display: block;
7206
+ }
6575
7207
  .excalidraw .UserList-Wrapper {
6576
7208
  margin: 0;
6577
7209
  padding: 0;
@@ -6593,11 +7225,18 @@ body.excalidraw-cursor-resize * {
6593
7225
  .excalidraw .main-menu-trigger:active {
6594
7226
  box-shadow: 0 0 0 1px var(--color-brand-active);
6595
7227
  }
7228
+ .excalidraw--mobile.excalidraw .main-menu-trigger {
7229
+ width: var(--mobile-action-button-size, 2rem);
7230
+ height: var(--mobile-action-button-size, 2rem);
7231
+ }
7232
+
7233
+ .excalidraw .App-tray-menu,
6596
7234
  .excalidraw .App-mobile-menu,
6597
7235
  .excalidraw .App-menu__left {
6598
7236
  --button-border: transparent;
6599
7237
  --button-bg: var(--color-surface-mid);
6600
7238
  }
7239
+ .excalidraw.theme--dark.excalidraw .App-tray-menu,
6601
7240
  .excalidraw.theme--dark.excalidraw .App-mobile-menu,
6602
7241
  .excalidraw.theme--dark.excalidraw .App-menu__left {
6603
7242
  --button-hover-bg: #363541;
@@ -6616,6 +7255,10 @@ body.excalidraw-cursor-resize * {
6616
7255
  .excalidraw .Modal__content .excalidraw__paragraph + .excalidraw__paragraph {
6617
7256
  margin-top: 0rem;
6618
7257
  }
7258
+ .excalidraw .link-button {
7259
+ display: flex;
7260
+ text-decoration: none !important;
7261
+ }
6619
7262
 
6620
7263
  .ErrorSplash.excalidraw {
6621
7264
  min-height: 100vh;