@zsviczian/excalidraw 0.18.0-5 → 0.18.0-50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/excalidraw.development.js +745 -503
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +0 -2
- package/dist/styles.development.css +1062 -429
- package/dist/styles.production.css +26 -22
- package/package.json +14 -3
- package/types/common/src/commonObsidianUtils.d.ts +13 -0
- package/types/common/src/constants.d.ts +42 -18
- package/types/common/src/editorInterface.d.ts +35 -0
- package/types/{excalidraw → common/src}/emitter.d.ts +1 -1
- package/types/common/src/font-metadata.d.ts +4 -2
- package/types/common/src/index.d.ts +2 -0
- package/types/common/src/utility-types.d.ts +5 -0
- package/types/common/src/utils.d.ts +20 -5
- package/types/{excalidraw/scene → element/src}/Scene.d.ts +16 -15
- package/types/element/src/align.d.ts +4 -3
- package/types/element/src/binding.d.ts +27 -17
- package/types/element/src/bounds.d.ts +14 -6
- package/types/element/src/collision.d.ts +18 -12
- package/types/element/src/cropElement.d.ts +1 -1
- package/types/{excalidraw/change.d.ts → element/src/delta.d.ts} +77 -40
- package/types/element/src/distance.d.ts +2 -2
- package/types/element/src/distribute.d.ts +2 -1
- package/types/element/src/dragElements.d.ts +3 -2
- package/types/element/src/duplicate.d.ts +10 -13
- package/types/element/src/elbowArrow.d.ts +1 -1
- package/types/element/src/flowchart.d.ts +3 -2
- package/types/element/src/fractionalIndex.d.ts +9 -3
- package/types/element/src/frame.d.ts +5 -4
- package/types/element/src/groups.d.ts +1 -0
- package/types/element/src/index.d.ts +44 -2
- package/types/element/src/linearElementEditor.d.ts +23 -36
- package/types/element/src/mutateElement.d.ts +11 -3
- package/types/element/src/newElement.d.ts +6 -4
- package/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/types/element/src/renderElement.d.ts +4 -1
- package/types/element/src/resizeElements.d.ts +6 -5
- package/types/element/src/resizeTest.d.ts +5 -4
- package/types/element/src/selection.d.ts +11 -5
- package/types/element/src/shape.d.ts +42 -0
- package/types/element/src/sizeHelpers.d.ts +2 -2
- package/types/element/src/store.d.ts +237 -0
- package/types/element/src/textElement.d.ts +5 -3
- package/types/element/src/transformHandles.d.ts +5 -4
- package/types/element/src/typeChecks.d.ts +19 -1
- package/types/element/src/types.d.ts +25 -2
- package/types/element/src/utils.d.ts +16 -6
- package/types/element/src/zindex.d.ts +1 -1
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +75 -54
- package/types/excalidraw/actions/actionBoundText.d.ts +50 -36
- package/types/excalidraw/actions/actionCanvas.d.ts +388 -282
- package/types/excalidraw/actions/actionClipboard.d.ts +151 -107
- package/types/excalidraw/actions/actionCropEditor.d.ts +25 -18
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +77 -55
- package/types/excalidraw/actions/actionDuplicateSelection.d.ts +1 -1
- package/types/excalidraw/actions/actionElementLink.d.ts +25 -18
- package/types/excalidraw/actions/actionElementLock.d.ts +65 -52
- package/types/excalidraw/actions/actionEmbeddable.d.ts +25 -18
- package/types/excalidraw/actions/actionExport.d.ts +237 -174
- package/types/excalidraw/actions/actionFinalize.d.ts +307 -43
- package/types/excalidraw/actions/actionFrame.d.ts +157 -120
- package/types/excalidraw/actions/actionGroup.d.ts +50 -36
- package/types/excalidraw/actions/actionHistory.d.ts +1 -2
- package/types/excalidraw/actions/actionLinearEditor.d.ts +563 -20
- package/types/excalidraw/actions/actionLink.d.ts +23 -16
- package/types/excalidraw/actions/actionMenu.d.ts +25 -456
- package/types/excalidraw/actions/actionNavigate.d.ts +49 -35
- package/types/excalidraw/actions/actionProperties.d.ts +629 -273
- package/types/excalidraw/actions/actionSelectAll.d.ts +25 -18
- package/types/excalidraw/actions/actionStyles.d.ts +25 -18
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +25 -18
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +25 -18
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +25 -223
- package/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
- package/types/excalidraw/actions/actionToggleStats.d.ts +25 -18
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +25 -18
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +26 -19
- package/types/excalidraw/actions/actionTrayMenu.d.ts +226 -0
- package/types/excalidraw/actions/index.d.ts +4 -2
- package/types/excalidraw/actions/types.d.ts +4 -3
- package/types/excalidraw/appState.d.ts +24 -10
- package/types/excalidraw/clipboard.d.ts +68 -5
- package/types/excalidraw/components/Actions.d.ts +20 -7
- package/types/excalidraw/components/App.d.ts +63 -38
- package/types/excalidraw/components/ButtonIcon.d.ts +1 -0
- package/types/excalidraw/components/ColorPicker/ColorInput.d.ts +2 -1
- package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +5 -1
- package/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/Picker.d.ts +4 -3
- package/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +3 -3
- package/types/excalidraw/components/ColorPicker/ShadeList.d.ts +3 -2
- package/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
- package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
- package/types/excalidraw/components/ElementLinkDialog.d.ts +4 -3
- package/types/excalidraw/components/Ellipsify.d.ts +3 -0
- package/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
- package/types/excalidraw/components/FixedSideContainer.d.ts +2 -1
- package/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +3 -1
- package/types/excalidraw/components/HintViewer.d.ts +4 -3
- package/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/types/excalidraw/components/LayerUI.d.ts +2 -1
- package/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/types/excalidraw/components/MobileMenu.d.ts +4 -5
- package/types/excalidraw/components/MobileToolBar.d.ts +10 -0
- package/types/excalidraw/components/Popover.d.ts +2 -1
- package/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/types/excalidraw/components/{ButtonIconSelect.d.ts → RadioSelection.d.ts} +1 -1
- package/types/excalidraw/components/Range.d.ts +3 -3
- package/types/excalidraw/components/Section.d.ts +1 -0
- package/types/excalidraw/components/Stats/Angle.d.ts +1 -1
- package/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
- package/types/excalidraw/components/Stats/CanvasGridSize.d.ts +1 -1
- package/types/excalidraw/components/Stats/Collapsible.d.ts +2 -1
- package/types/excalidraw/components/Stats/Dimension.d.ts +1 -1
- package/types/excalidraw/components/Stats/DragInput.d.ts +12 -2
- package/types/excalidraw/components/Stats/FontSize.d.ts +1 -1
- package/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -1
- package/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -1
- package/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -1
- package/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -1
- package/types/excalidraw/components/Stats/Position.d.ts +1 -1
- package/types/excalidraw/components/Stats/utils.d.ts +4 -11
- package/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
- package/types/excalidraw/components/TextField.d.ts +1 -0
- package/types/excalidraw/components/ToolPopover.d.ts +25 -0
- package/types/excalidraw/components/TrayMenu.d.ts +26 -0
- package/types/excalidraw/components/UnlockPopup.d.ts +8 -0
- package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +4 -2
- package/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
- package/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
- package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +3 -2
- package/types/excalidraw/components/hyperlink/helpers.d.ts +2 -1
- package/types/excalidraw/components/icons.d.ts +13 -0
- package/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +14 -1
- package/types/excalidraw/components/main-menu/MainMenu.d.ts +0 -3
- package/types/excalidraw/components/shapes.d.ts +115 -5
- package/types/excalidraw/data/blob.d.ts +3 -7
- package/types/excalidraw/data/reconcile.d.ts +1 -0
- package/types/excalidraw/data/restore.d.ts +6 -1
- package/types/excalidraw/data/transform.d.ts +1 -1
- package/types/excalidraw/data/types.d.ts +4 -1
- package/types/excalidraw/editor-jotai.d.ts +6 -6
- package/types/excalidraw/eraser/index.d.ts +12 -0
- package/types/excalidraw/fonts/Fonts.d.ts +1 -1
- package/types/excalidraw/history.d.ts +30 -22
- package/types/excalidraw/hooks/useEmitter.d.ts +1 -1
- package/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/types/excalidraw/index.d.ts +15 -14
- package/types/excalidraw/lasso/index.d.ts +1 -0
- package/types/excalidraw/lasso/utils.d.ts +3 -3
- package/types/excalidraw/obsidianUtils.d.ts +22 -4
- package/types/excalidraw/renderer/helpers.d.ts +7 -2
- package/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
- package/types/excalidraw/renderer/staticScene.d.ts +4 -1
- package/types/excalidraw/scene/Renderer.d.ts +1 -2
- package/types/excalidraw/scene/index.d.ts +2 -2
- package/types/excalidraw/scene/scrollbars.d.ts +2 -3
- package/types/excalidraw/scene/types.d.ts +5 -3
- package/types/excalidraw/shortcut.d.ts +1 -0
- package/types/excalidraw/snapping.d.ts +2 -2
- package/types/excalidraw/types.d.ts +68 -30
- package/types/excalidraw/webpack.dev.config.d.ts +2 -0
- package/types/excalidraw/webpack.prod.config.d.ts +2 -0
- package/types/excalidraw/wysiwyg/textWysiwyg.d.ts +3 -1
- package/types/math/src/angle.d.ts +2 -0
- package/types/math/src/constants.d.ts +3 -0
- package/types/math/src/curve.d.ts +34 -0
- package/types/math/src/index.d.ts +1 -0
- package/types/math/src/point.d.ts +1 -1
- package/types/math/src/rectangle.d.ts +2 -0
- package/types/math/src/segment.d.ts +1 -0
- package/types/math/src/types.d.ts +1 -0
- package/types/math/src/vector.d.ts +8 -2
- package/types/utils/src/bbox.d.ts +1 -1
- package/types/utils/src/index.d.ts +1 -1
- package/types/utils/src/withinBounds.d.ts +1 -1
- package/types/element/src/Shape.d.ts +0 -17
- package/types/element/src/ShapeCache.d.ts +0 -25
- package/types/element/src/shapes.d.ts +0 -23
- package/types/excalidraw/components/ButtonSelect.d.ts +0 -9
- package/types/excalidraw/store.d.ts +0 -129
- package/types/excalidraw/visualdebug.d.ts +0 -41
- 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:
|
|
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:
|
|
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
|
-
|
|
2076
|
+
background-color: var(--color-surface-mid);
|
|
1951
2077
|
}
|
|
1952
|
-
.excalidraw .library-unit--selected {
|
|
1953
|
-
|
|
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:
|
|
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.
|
|
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:
|
|
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
|
}
|
|
@@ -2761,43 +2664,321 @@
|
|
|
2761
2664
|
.excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):hover {
|
|
2762
2665
|
border-color: var(--ExcTextField--border-hover);
|
|
2763
2666
|
}
|
|
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);
|
|
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
|
+
}
|
|
2765
|
+
.excalidraw .library-menu-control-buttons--at-bottom::before {
|
|
2766
|
+
content: "";
|
|
2767
|
+
width: calc(100% - 1.5rem);
|
|
2768
|
+
height: 1px;
|
|
2769
|
+
position: absolute;
|
|
2770
|
+
top: -1px;
|
|
2771
|
+
background: var(--sidebar-border-color);
|
|
2772
|
+
}
|
|
2773
|
+
.excalidraw .library-menu-browse-button {
|
|
2774
|
+
flex: 1;
|
|
2775
|
+
height: var(--lg-button-size);
|
|
2776
|
+
display: flex;
|
|
2777
|
+
align-items: center;
|
|
2778
|
+
justify-content: center;
|
|
2779
|
+
overflow: hidden;
|
|
2780
|
+
position: relative;
|
|
2781
|
+
border-radius: var(--border-radius-lg);
|
|
2782
|
+
background-color: var(--color-primary);
|
|
2783
|
+
color: #ffffff;
|
|
2784
|
+
text-align: center;
|
|
2785
|
+
white-space: nowrap;
|
|
2786
|
+
text-decoration: none !important;
|
|
2787
|
+
font-weight: 600;
|
|
2788
|
+
font-size: 0.75rem;
|
|
2789
|
+
}
|
|
2790
|
+
.excalidraw .library-menu-browse-button:hover {
|
|
2791
|
+
background-color: var(--color-brand-hover);
|
|
2792
|
+
}
|
|
2793
|
+
.excalidraw .library-menu-browse-button:active {
|
|
2794
|
+
background-color: var(--color-brand-active);
|
|
2795
|
+
}
|
|
2796
|
+
.excalidraw.theme--dark .library-menu-browse-button {
|
|
2797
|
+
color: var(--color-gray-100);
|
|
2798
|
+
}
|
|
2799
|
+
.excalidraw.excalidraw--mobile .library-menu-browse-button {
|
|
2800
|
+
height: var(--default-button-size);
|
|
2801
|
+
}
|
|
2802
|
+
.excalidraw .layer-ui__library .dropdown-menu {
|
|
2803
|
+
width: auto;
|
|
2804
|
+
top: initial;
|
|
2805
|
+
right: 0;
|
|
2806
|
+
left: initial;
|
|
2807
|
+
bottom: 100%;
|
|
2808
|
+
margin-bottom: 0.625rem;
|
|
2809
|
+
}
|
|
2810
|
+
.excalidraw .layer-ui__library .dropdown-menu .dropdown-menu-container {
|
|
2811
|
+
width: 196px;
|
|
2812
|
+
box-shadow: var(--library-dropdown-shadow);
|
|
2813
|
+
border-radius: var(--border-radius-lg);
|
|
2814
|
+
padding: 0.25rem 0.5rem;
|
|
2815
|
+
}
|
|
2816
|
+
.excalidraw .layer-ui__library .library-menu-dropdown-container {
|
|
2817
|
+
z-index: 1;
|
|
2818
|
+
position: relative;
|
|
2819
|
+
}
|
|
2820
|
+
.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading {
|
|
2821
|
+
margin-left: auto;
|
|
2822
|
+
}
|
|
2823
|
+
.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading .dropdown-menu {
|
|
2824
|
+
top: 100%;
|
|
2825
|
+
}
|
|
2826
|
+
/*!**************************************************************************************************************************************************************************************************!*\
|
|
2827
|
+
!*** 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 ***!
|
|
2828
|
+
\**************************************************************************************************************************************************************************************************/
|
|
2829
|
+
.excalidraw.excalidraw-modal-container {
|
|
2830
|
+
position: absolute;
|
|
2831
|
+
z-index: var(--zIndex-modal);
|
|
2832
|
+
}
|
|
2833
|
+
.excalidraw .Modal {
|
|
2834
|
+
position: absolute;
|
|
2835
|
+
top: 0;
|
|
2836
|
+
left: 0;
|
|
2837
|
+
right: 0;
|
|
2838
|
+
bottom: 0;
|
|
2839
|
+
display: flex;
|
|
2840
|
+
align-items: center;
|
|
2841
|
+
justify-content: center;
|
|
2842
|
+
overflow: auto;
|
|
2843
|
+
padding: calc(var(--space-factor) * 10);
|
|
2844
|
+
display: flex;
|
|
2845
|
+
flex-direction: column;
|
|
2846
|
+
}
|
|
2847
|
+
.excalidraw .Modal .Island {
|
|
2848
|
+
padding: 2.5rem;
|
|
2849
|
+
border: 0;
|
|
2850
|
+
box-shadow: none;
|
|
2851
|
+
border-radius: 0;
|
|
2852
|
+
}
|
|
2853
|
+
.excalidraw .Modal.animations-disabled .Modal__background {
|
|
2854
|
+
animation: none;
|
|
2855
|
+
}
|
|
2856
|
+
.excalidraw .Modal.animations-disabled .Modal__content {
|
|
2857
|
+
animation: none;
|
|
2858
|
+
opacity: 1;
|
|
2859
|
+
}
|
|
2860
|
+
.excalidraw .Modal__background {
|
|
2861
|
+
position: absolute;
|
|
2862
|
+
top: 0;
|
|
2863
|
+
left: 0;
|
|
2864
|
+
right: 0;
|
|
2865
|
+
bottom: 0;
|
|
2866
|
+
z-index: 1;
|
|
2867
|
+
background-color: rgba(18, 18, 18, 0.2);
|
|
2868
|
+
animation: Modal__background__fade-in 0.1s linear forwards;
|
|
2869
|
+
}
|
|
2870
|
+
.excalidraw .Modal__content {
|
|
2871
|
+
position: relative;
|
|
2872
|
+
z-index: 2;
|
|
2873
|
+
width: 100%;
|
|
2874
|
+
max-width: var(--max-width);
|
|
2875
|
+
max-height: 100%;
|
|
2876
|
+
opacity: 0;
|
|
2877
|
+
transform: translateY(10px);
|
|
2878
|
+
animation: Modal__content_fade-in 0.025s ease-out 0s forwards;
|
|
2879
|
+
position: relative;
|
|
2880
|
+
overflow-y: auto;
|
|
2881
|
+
background: var(--island-bg-color);
|
|
2882
|
+
border: 1px solid var(--dialog-border-color);
|
|
2883
|
+
box-shadow: var(--modal-shadow);
|
|
2884
|
+
border-radius: 0.75rem;
|
|
2885
|
+
box-sizing: border-box;
|
|
2886
|
+
}
|
|
2887
|
+
.excalidraw .Modal__content:focus {
|
|
2888
|
+
outline: none;
|
|
2889
|
+
}
|
|
2890
|
+
@keyframes Modal__background__fade-in {
|
|
2891
|
+
from {
|
|
2892
|
+
opacity: 0;
|
|
2893
|
+
}
|
|
2894
|
+
to {
|
|
2895
|
+
opacity: 1;
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2898
|
+
@keyframes Modal__content_fade-in {
|
|
2899
|
+
from {
|
|
2900
|
+
opacity: 0;
|
|
2901
|
+
transform: scale(0.9);
|
|
2902
|
+
}
|
|
2903
|
+
to {
|
|
2904
|
+
opacity: 1;
|
|
2905
|
+
transform: scale(1);
|
|
2906
|
+
}
|
|
2907
|
+
}
|
|
2908
|
+
.excalidraw .Modal__close {
|
|
2909
|
+
color: var(--icon-fill-color);
|
|
2910
|
+
margin: 0;
|
|
2911
|
+
padding: 0.375rem;
|
|
2912
|
+
position: absolute;
|
|
2913
|
+
top: 1rem;
|
|
2914
|
+
right: 1rem;
|
|
2915
|
+
border: 0;
|
|
2916
|
+
background-color: transparent;
|
|
2917
|
+
line-height: 0;
|
|
2918
|
+
cursor: pointer;
|
|
2919
|
+
}
|
|
2920
|
+
.excalidraw .Modal__close svg {
|
|
2921
|
+
width: 1.5rem;
|
|
2922
|
+
height: 1.5rem;
|
|
2766
2923
|
}
|
|
2767
|
-
.excalidraw .
|
|
2768
|
-
display: flex;
|
|
2769
|
-
align-items: center;
|
|
2770
|
-
border: none;
|
|
2771
|
-
outline: none;
|
|
2924
|
+
.excalidraw .Dialog--fullscreen .Modal {
|
|
2772
2925
|
padding: 0;
|
|
2926
|
+
}
|
|
2927
|
+
.excalidraw .Dialog--fullscreen .Modal__content {
|
|
2928
|
+
position: absolute;
|
|
2929
|
+
top: 0;
|
|
2930
|
+
left: 0;
|
|
2931
|
+
right: 0;
|
|
2932
|
+
bottom: 0;
|
|
2933
|
+
max-width: 100%;
|
|
2934
|
+
border: 0;
|
|
2935
|
+
border-radius: 0;
|
|
2936
|
+
}
|
|
2937
|
+
/*!***************************************************************************************************************************************************************************************************!*\
|
|
2938
|
+
!*** 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 ***!
|
|
2939
|
+
\***************************************************************************************************************************************************************************************************/
|
|
2940
|
+
.excalidraw .Dialog {
|
|
2941
|
+
-webkit-user-select: text;
|
|
2942
|
+
user-select: text;
|
|
2943
|
+
cursor: auto;
|
|
2944
|
+
}
|
|
2945
|
+
.excalidraw .Dialog__title {
|
|
2773
2946
|
margin: 0;
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
font-size: 1rem;
|
|
2780
|
-
line-height: 150%;
|
|
2781
|
-
text-overflow: ellipsis;
|
|
2782
|
-
background: transparent;
|
|
2783
|
-
width: 100%;
|
|
2947
|
+
text-align: left;
|
|
2948
|
+
font-size: 1.25rem;
|
|
2949
|
+
border-bottom: 1px solid var(--dialog-border-color);
|
|
2950
|
+
padding: 0 0 0.75rem;
|
|
2951
|
+
margin-bottom: 1.5rem;
|
|
2784
2952
|
}
|
|
2785
|
-
.excalidraw .
|
|
2786
|
-
|
|
2953
|
+
.excalidraw .Dialog__close {
|
|
2954
|
+
color: var(--color-gray-40);
|
|
2955
|
+
margin: 0;
|
|
2956
|
+
position: absolute;
|
|
2957
|
+
top: 0.75rem;
|
|
2958
|
+
right: 0.5rem;
|
|
2959
|
+
border: 0;
|
|
2960
|
+
background-color: transparent;
|
|
2961
|
+
line-height: 0;
|
|
2962
|
+
cursor: pointer;
|
|
2787
2963
|
}
|
|
2788
|
-
.excalidraw .
|
|
2789
|
-
|
|
2790
|
-
box-shadow: initial;
|
|
2964
|
+
.excalidraw .Dialog__close:hover {
|
|
2965
|
+
color: var(--color-gray-60);
|
|
2791
2966
|
}
|
|
2792
|
-
.excalidraw .
|
|
2793
|
-
|
|
2794
|
-
border-color: var(--ExcTextField--readonly--border);
|
|
2967
|
+
.excalidraw .Dialog__close:active {
|
|
2968
|
+
color: var(--color-gray-40);
|
|
2795
2969
|
}
|
|
2796
|
-
.excalidraw .
|
|
2797
|
-
|
|
2970
|
+
.excalidraw .Dialog__close svg {
|
|
2971
|
+
width: 1.5rem;
|
|
2972
|
+
height: 1.5rem;
|
|
2798
2973
|
}
|
|
2799
|
-
.excalidraw .
|
|
2800
|
-
|
|
2974
|
+
.excalidraw .Dialog__close + .Dialog__content {
|
|
2975
|
+
--offset: 28px;
|
|
2976
|
+
height: calc(100% - var(--offset)) !important;
|
|
2977
|
+
margin-top: var(--offset) !important;
|
|
2978
|
+
}
|
|
2979
|
+
.excalidraw .Dialog--fullscreen .Dialog__close {
|
|
2980
|
+
top: 1.25rem;
|
|
2981
|
+
right: 1.25rem;
|
|
2801
2982
|
}
|
|
2802
2983
|
/*!****************************************************************************************************************************************************************************************************!*\
|
|
2803
2984
|
!*** 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 +3065,118 @@
|
|
|
2884
3065
|
border-top-left-radius: 0 !important;
|
|
2885
3066
|
border-bottom-left-radius: 0 !important;
|
|
2886
3067
|
}
|
|
3068
|
+
|
|
3069
|
+
.compact-shape-actions {
|
|
3070
|
+
display: flex;
|
|
3071
|
+
flex-direction: column;
|
|
3072
|
+
gap: 0.5rem;
|
|
3073
|
+
max-height: calc(100vh - 200px);
|
|
3074
|
+
overflow-y: auto;
|
|
3075
|
+
padding: 0.5rem;
|
|
3076
|
+
}
|
|
3077
|
+
.compact-shape-actions .compact-action-item {
|
|
3078
|
+
position: relative;
|
|
3079
|
+
display: flex;
|
|
3080
|
+
justify-content: center;
|
|
3081
|
+
align-items: center;
|
|
3082
|
+
min-height: 2.5rem;
|
|
3083
|
+
pointer-events: auto;
|
|
3084
|
+
--default-button-size: 2rem;
|
|
3085
|
+
}
|
|
3086
|
+
.compact-shape-actions .compact-action-item .compact-action-button {
|
|
3087
|
+
width: var(--mobile-action-button-size);
|
|
3088
|
+
height: var(--mobile-action-button-size);
|
|
3089
|
+
border: none;
|
|
3090
|
+
border-radius: var(--border-radius-lg);
|
|
3091
|
+
color: var(--color-on-surface);
|
|
3092
|
+
cursor: pointer;
|
|
3093
|
+
display: flex;
|
|
3094
|
+
align-items: center;
|
|
3095
|
+
justify-content: center;
|
|
3096
|
+
transition: all 0.2s ease;
|
|
3097
|
+
background: var(--mobile-action-button-bg);
|
|
3098
|
+
}
|
|
3099
|
+
.compact-shape-actions .compact-action-item .compact-action-button svg {
|
|
3100
|
+
width: 1rem;
|
|
3101
|
+
height: 1rem;
|
|
3102
|
+
flex: 0 0 auto;
|
|
3103
|
+
}
|
|
3104
|
+
.compact-shape-actions .compact-action-item .compact-action-button.active {
|
|
3105
|
+
background: var(--color-surface-primary-container, var(--mobile-action-button-bg));
|
|
3106
|
+
}
|
|
3107
|
+
.compact-shape-actions .compact-action-item .compact-popover-content .popover-section {
|
|
3108
|
+
margin-bottom: 1rem;
|
|
3109
|
+
}
|
|
3110
|
+
.compact-shape-actions .compact-action-item .compact-popover-content .popover-section:last-child {
|
|
3111
|
+
margin-bottom: 0;
|
|
3112
|
+
}
|
|
3113
|
+
.compact-shape-actions .compact-action-item .compact-popover-content .popover-section .popover-section-title {
|
|
3114
|
+
font-size: 0.75rem;
|
|
3115
|
+
font-weight: 600;
|
|
3116
|
+
color: var(--color-text-secondary);
|
|
3117
|
+
margin-bottom: 0.5rem;
|
|
3118
|
+
text-transform: uppercase;
|
|
3119
|
+
letter-spacing: 0.5px;
|
|
3120
|
+
}
|
|
3121
|
+
.compact-shape-actions .compact-action-item .compact-popover-content .popover-section .buttonList {
|
|
3122
|
+
display: flex;
|
|
3123
|
+
flex-wrap: wrap;
|
|
3124
|
+
gap: 0.25rem;
|
|
3125
|
+
}
|
|
3126
|
+
.compact-shape-actions .ToolIcon .ToolIcon__icon {
|
|
3127
|
+
width: var(--mobile-action-button-size);
|
|
3128
|
+
height: var(--mobile-action-button-size);
|
|
3129
|
+
background: var(--mobile-action-button-bg);
|
|
3130
|
+
}
|
|
3131
|
+
.compact-shape-actions .ToolIcon .ToolIcon__icon:hover {
|
|
3132
|
+
background-color: transparent;
|
|
3133
|
+
}
|
|
3134
|
+
|
|
3135
|
+
.compact-shape-actions-island {
|
|
3136
|
+
width: -moz-fit-content;
|
|
3137
|
+
width: fit-content;
|
|
3138
|
+
overflow-x: hidden;
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
.mobile-shape-actions {
|
|
3142
|
+
z-index: 999;
|
|
3143
|
+
display: flex;
|
|
3144
|
+
flex-direction: row;
|
|
3145
|
+
justify-content: space-between;
|
|
3146
|
+
width: 100%;
|
|
3147
|
+
background: transparent;
|
|
3148
|
+
border-radius: var(--border-radius-lg);
|
|
3149
|
+
box-shadow: none;
|
|
3150
|
+
overflow: none;
|
|
3151
|
+
scrollbar-width: none;
|
|
3152
|
+
-ms-overflow-style: none;
|
|
3153
|
+
}
|
|
3154
|
+
|
|
3155
|
+
.shape-actions-theme-scope {
|
|
3156
|
+
--button-border: transparent;
|
|
3157
|
+
--button-bg: var(--color-surface-mid);
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3160
|
+
:root.theme--dark .shape-actions-theme-scope {
|
|
3161
|
+
--button-hover-bg: #363541;
|
|
3162
|
+
--button-bg: var(--color-surface-high);
|
|
3163
|
+
}
|
|
3164
|
+
/*!********************************************************************************************************************************************************************************************************!*\
|
|
3165
|
+
!*** 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 ***!
|
|
3166
|
+
\********************************************************************************************************************************************************************************************************/
|
|
3167
|
+
.excalidraw .tool-popover-content {
|
|
3168
|
+
display: flex;
|
|
3169
|
+
flex-direction: row;
|
|
3170
|
+
gap: 0.25rem;
|
|
3171
|
+
border-radius: 0.5rem;
|
|
3172
|
+
background: var(--island-bg-color);
|
|
3173
|
+
box-shadow: var(--shadow-island);
|
|
3174
|
+
padding: 0.5rem;
|
|
3175
|
+
z-index: var(--zIndex-layerUI);
|
|
3176
|
+
}
|
|
3177
|
+
.excalidraw:focus {
|
|
3178
|
+
outline: none;
|
|
3179
|
+
}
|
|
2887
3180
|
/*!**************************************************************************************************************************************************************************************************************************!*\
|
|
2888
3181
|
!*** 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
3182
|
\**************************************************************************************************************************************************************************************************************************/
|
|
@@ -2975,6 +3268,16 @@
|
|
|
2975
3268
|
padding: 0 0.5rem;
|
|
2976
3269
|
border-radius: var(--border-radius-lg);
|
|
2977
3270
|
cursor: pointer;
|
|
3271
|
+
--icon-size: 1rem;
|
|
3272
|
+
}
|
|
3273
|
+
.excalidraw .command-palette-dialog .commands .command-item.command-item-large {
|
|
3274
|
+
height: 2.75rem;
|
|
3275
|
+
--icon-size: 1.5rem;
|
|
3276
|
+
}
|
|
3277
|
+
.excalidraw .command-palette-dialog .commands .command-item.command-item-large .icon {
|
|
3278
|
+
width: var(--icon-size);
|
|
3279
|
+
height: var(--icon-size);
|
|
3280
|
+
margin-right: 0.625rem;
|
|
2978
3281
|
}
|
|
2979
3282
|
.excalidraw .command-palette-dialog .commands .command-item:active {
|
|
2980
3283
|
background-color: var(--color-surface-low);
|
|
@@ -2983,6 +3286,7 @@
|
|
|
2983
3286
|
display: flex;
|
|
2984
3287
|
align-items: center;
|
|
2985
3288
|
gap: 0.25rem;
|
|
3289
|
+
overflow: hidden;
|
|
2986
3290
|
}
|
|
2987
3291
|
.excalidraw .command-palette-dialog .commands .item-selected {
|
|
2988
3292
|
background-color: var(--color-surface-mid);
|
|
@@ -2998,9 +3302,16 @@
|
|
|
2998
3302
|
margin-top: 36px;
|
|
2999
3303
|
}
|
|
3000
3304
|
.excalidraw .command-palette-dialog .icon {
|
|
3001
|
-
width:
|
|
3002
|
-
height:
|
|
3003
|
-
margin-right:
|
|
3305
|
+
width: var(--icon-size, 1rem);
|
|
3306
|
+
height: var(--icon-size, 1rem);
|
|
3307
|
+
margin-right: 0.375rem;
|
|
3308
|
+
}
|
|
3309
|
+
.excalidraw .command-palette-dialog .icon .library-item-icon {
|
|
3310
|
+
display: flex;
|
|
3311
|
+
align-items: center;
|
|
3312
|
+
justify-content: center;
|
|
3313
|
+
height: 100%;
|
|
3314
|
+
width: 100%;
|
|
3004
3315
|
}
|
|
3005
3316
|
/*!*****************************************************************************************************************************************************************************************************************!*\
|
|
3006
3317
|
!*** 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 +3339,9 @@
|
|
|
3028
3339
|
!*** 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
3340
|
\********************************************************************************************************************************************************************************************************/
|
|
3030
3341
|
@charset "UTF-8";
|
|
3342
|
+
.excalidraw .context-menu-popover {
|
|
3343
|
+
z-index: var(--zIndex-ui-context-menu);
|
|
3344
|
+
}
|
|
3031
3345
|
.excalidraw .context-menu {
|
|
3032
3346
|
position: relative;
|
|
3033
3347
|
border-radius: 4px;
|
|
@@ -3160,6 +3474,69 @@
|
|
|
3160
3474
|
width: 1rem;
|
|
3161
3475
|
height: 1rem;
|
|
3162
3476
|
}
|
|
3477
|
+
/*!**********************************************************************************************************************************************************************************************************!*\
|
|
3478
|
+
!*** 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 ***!
|
|
3479
|
+
\**********************************************************************************************************************************************************************************************************/
|
|
3480
|
+
.excalidraw .excalidraw-mobile-toolbar {
|
|
3481
|
+
display: flex;
|
|
3482
|
+
flex: 1;
|
|
3483
|
+
align-items: center;
|
|
3484
|
+
padding: 0px;
|
|
3485
|
+
gap: 4px;
|
|
3486
|
+
border-radius: var(--space-factor);
|
|
3487
|
+
overflow-x: auto;
|
|
3488
|
+
scrollbar-width: none;
|
|
3489
|
+
-ms-overflow-style: none;
|
|
3490
|
+
justify-content: space-between;
|
|
3491
|
+
}
|
|
3492
|
+
.excalidraw .excalidraw-mobile-toolbar::-webkit-scrollbar {
|
|
3493
|
+
display: none;
|
|
3494
|
+
}
|
|
3495
|
+
.excalidraw .excalidraw-mobile-toolbar .ToolIcon {
|
|
3496
|
+
min-width: 2rem;
|
|
3497
|
+
min-height: 2rem;
|
|
3498
|
+
border-radius: 4px;
|
|
3499
|
+
display: flex;
|
|
3500
|
+
align-items: center;
|
|
3501
|
+
justify-content: center;
|
|
3502
|
+
flex-shrink: 0;
|
|
3503
|
+
}
|
|
3504
|
+
.excalidraw .excalidraw-mobile-toolbar .ToolIcon .ToolIcon__icon {
|
|
3505
|
+
width: 2.25rem;
|
|
3506
|
+
height: 2.25rem;
|
|
3507
|
+
}
|
|
3508
|
+
.excalidraw .excalidraw-mobile-toolbar .ToolIcon .ToolIcon__icon:hover {
|
|
3509
|
+
background-color: transparent;
|
|
3510
|
+
}
|
|
3511
|
+
.excalidraw .excalidraw-mobile-toolbar .ToolIcon.active {
|
|
3512
|
+
background: var(--color-surface-primary-container, var(--island-bg-color));
|
|
3513
|
+
border-color: var(--button-active-border, var(--color-primary-darkest));
|
|
3514
|
+
}
|
|
3515
|
+
.excalidraw .excalidraw-mobile-toolbar .ToolIcon svg {
|
|
3516
|
+
width: 1rem;
|
|
3517
|
+
height: 1rem;
|
|
3518
|
+
}
|
|
3519
|
+
.excalidraw .excalidraw-mobile-toolbar .App-toolbar__extra-tools-dropdown {
|
|
3520
|
+
min-width: 160px;
|
|
3521
|
+
z-index: var(--zIndex-layerUI);
|
|
3522
|
+
}
|
|
3523
|
+
.excalidraw .excalidraw-mobile-toolbar-separator {
|
|
3524
|
+
width: 1px;
|
|
3525
|
+
height: 24px;
|
|
3526
|
+
background: var(--default-border-color);
|
|
3527
|
+
margin: 0 2px;
|
|
3528
|
+
flex-shrink: 0;
|
|
3529
|
+
}
|
|
3530
|
+
.excalidraw .excalidraw-mobile-toolbar-undo {
|
|
3531
|
+
display: flex;
|
|
3532
|
+
align-items: center;
|
|
3533
|
+
}
|
|
3534
|
+
.excalidraw .excalidraw-mobile-toolbar-undo .ToolIcon {
|
|
3535
|
+
min-width: 32px;
|
|
3536
|
+
min-height: 32px;
|
|
3537
|
+
width: 32px;
|
|
3538
|
+
height: 32px;
|
|
3539
|
+
}
|
|
3163
3540
|
/*!***************************************************************************************************************************************************************************************************************!*\
|
|
3164
3541
|
!*** 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
3542
|
\***************************************************************************************************************************************************************************************************************/
|
|
@@ -3168,63 +3545,33 @@
|
|
|
3168
3545
|
pointer-events: none;
|
|
3169
3546
|
}
|
|
3170
3547
|
.excalidraw .FixedSideContainer > * {
|
|
3171
|
-
pointer-events: var(--ui-pointerEvents);
|
|
3172
|
-
}
|
|
3173
|
-
.excalidraw .FixedSideContainer_side_top {
|
|
3174
|
-
left: var(--editor-container-padding);
|
|
3175
|
-
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;
|
|
3548
|
+
pointer-events: var(--ui-pointerEvents);
|
|
3216
3549
|
}
|
|
3217
|
-
.excalidraw
|
|
3218
|
-
|
|
3219
|
-
|
|
3550
|
+
.excalidraw .FixedSideContainer_side_top {
|
|
3551
|
+
left: var(--editor-container-padding);
|
|
3552
|
+
top: var(--editor-container-padding);
|
|
3553
|
+
right: var(--editor-container-padding);
|
|
3554
|
+
bottom: var(--editor-container-padding);
|
|
3555
|
+
}
|
|
3556
|
+
.excalidraw .FixedSideContainer_side_top.zen-mode {
|
|
3557
|
+
right: 42px;
|
|
3220
3558
|
}
|
|
3221
3559
|
|
|
3222
|
-
|
|
3223
|
-
|
|
3560
|
+
/* TODO: if these are used, make sure to implement RTL support
|
|
3561
|
+
.FixedSideContainer_side_left {
|
|
3562
|
+
left: var(--space-factor);
|
|
3563
|
+
top: var(--space-factor);
|
|
3564
|
+
bottom: var(--space-factor);
|
|
3565
|
+
z-index: 1;
|
|
3224
3566
|
}
|
|
3225
|
-
|
|
3226
|
-
|
|
3567
|
+
|
|
3568
|
+
.FixedSideContainer_side_right {
|
|
3569
|
+
right: var(--space-factor);
|
|
3570
|
+
top: var(--space-factor);
|
|
3571
|
+
bottom: var(--space-factor);
|
|
3572
|
+
z-index: 3;
|
|
3227
3573
|
}
|
|
3574
|
+
*/
|
|
3228
3575
|
/*!************************************************************************************************************************************************************************************************************!*\
|
|
3229
3576
|
!*** 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
3577
|
\************************************************************************************************************************************************************************************************************/
|
|
@@ -3280,14 +3627,15 @@
|
|
|
3280
3627
|
\********************************************************************************************************************************************************************************************************/
|
|
3281
3628
|
.exc-stats {
|
|
3282
3629
|
width: 204px;
|
|
3283
|
-
position:
|
|
3630
|
+
position: fixed;
|
|
3284
3631
|
top: 60px;
|
|
3285
3632
|
font-size: 12px;
|
|
3286
3633
|
z-index: var(--zIndex-layerUI);
|
|
3287
3634
|
pointer-events: var(--ui-pointerEvents);
|
|
3635
|
+
right: 3em;
|
|
3288
3636
|
}
|
|
3289
3637
|
:root[dir=rtl] .exc-stats {
|
|
3290
|
-
left:
|
|
3638
|
+
left: 3em;
|
|
3291
3639
|
right: initial;
|
|
3292
3640
|
}
|
|
3293
3641
|
.exc-stats h2 {
|
|
@@ -3578,7 +3926,6 @@
|
|
|
3578
3926
|
border: none;
|
|
3579
3927
|
box-shadow: 0 0 0 1px var(--color-surface-lowest);
|
|
3580
3928
|
background-color: var(--color-surface-low);
|
|
3581
|
-
width: auto;
|
|
3582
3929
|
height: var(--lg-button-size);
|
|
3583
3930
|
display: flex;
|
|
3584
3931
|
align-items: center;
|
|
@@ -3610,9 +3957,19 @@
|
|
|
3610
3957
|
.excalidraw .sidebar-trigger.active svg {
|
|
3611
3958
|
color: var(--button-color, var(--color-on-primary-container));
|
|
3612
3959
|
}
|
|
3960
|
+
.excalidraw--mobile.excalidraw .sidebar-trigger {
|
|
3961
|
+
width: var(--mobile-action-button-size, var(--default-button-size));
|
|
3962
|
+
height: var(--mobile-action-button-size, var(--default-button-size));
|
|
3963
|
+
}
|
|
3964
|
+
|
|
3613
3965
|
.excalidraw .sidebar-trigger:active {
|
|
3614
3966
|
box-shadow: 0 0 0 1px var(--color-brand-active);
|
|
3615
3967
|
}
|
|
3968
|
+
.excalidraw--mobile.excalidraw .sidebar-trigger {
|
|
3969
|
+
width: var(--mobile-action-button-size, 2rem);
|
|
3970
|
+
height: var(--mobile-action-button-size, 2rem);
|
|
3971
|
+
}
|
|
3972
|
+
|
|
3616
3973
|
.excalidraw .sidebar-trigger svg {
|
|
3617
3974
|
width: var(--lg-icon-size);
|
|
3618
3975
|
height: var(--lg-icon-size);
|
|
@@ -3637,7 +3994,7 @@
|
|
|
3637
3994
|
top: 0;
|
|
3638
3995
|
bottom: 0;
|
|
3639
3996
|
right: 0;
|
|
3640
|
-
z-index:
|
|
3997
|
+
z-index: var(--zIndex-ui-library);
|
|
3641
3998
|
margin: 0;
|
|
3642
3999
|
padding: 0;
|
|
3643
4000
|
box-sizing: border-box;
|
|
@@ -3728,6 +4085,11 @@
|
|
|
3728
4085
|
.excalidraw .sidebar__header__buttons button.active svg {
|
|
3729
4086
|
color: var(--button-color, var(--color-on-primary-container));
|
|
3730
4087
|
}
|
|
4088
|
+
.excalidraw--mobile.excalidraw .sidebar__header__buttons button {
|
|
4089
|
+
width: var(--mobile-action-button-size, var(--default-button-size));
|
|
4090
|
+
height: var(--mobile-action-button-size, var(--default-button-size));
|
|
4091
|
+
}
|
|
4092
|
+
|
|
3731
4093
|
.excalidraw .sidebar__header__buttons button svg {
|
|
3732
4094
|
width: var(--lg-icon-size);
|
|
3733
4095
|
height: var(--lg-icon-size);
|
|
@@ -4283,18 +4645,44 @@
|
|
|
4283
4645
|
flex: 1 1 0;
|
|
4284
4646
|
display: flex;
|
|
4285
4647
|
flex-direction: column;
|
|
4648
|
+
padding: 0 0.75rem;
|
|
4286
4649
|
gap: 0.125rem;
|
|
4287
4650
|
}
|
|
4651
|
+
.excalidraw .layer-ui__search .collapsible-items {
|
|
4652
|
+
gap: 2px;
|
|
4653
|
+
}
|
|
4654
|
+
.excalidraw .layer-ui__search-result-title {
|
|
4655
|
+
font-size: 0.875rem;
|
|
4656
|
+
margin-bottom: 0.25rem;
|
|
4657
|
+
display: flex;
|
|
4658
|
+
align-items: center;
|
|
4659
|
+
gap: 0.25rem;
|
|
4660
|
+
font-weight: 700;
|
|
4661
|
+
}
|
|
4662
|
+
.excalidraw .layer-ui__search-result-title .title-icon {
|
|
4663
|
+
width: 0.875rem;
|
|
4664
|
+
height: 0.875rem;
|
|
4665
|
+
margin-right: 0.25rem;
|
|
4666
|
+
}
|
|
4667
|
+
.excalidraw .layer-ui__search-result-title .title-icon svg g {
|
|
4668
|
+
stroke-width: 1.25;
|
|
4669
|
+
}
|
|
4670
|
+
.excalidraw .layer-ui__divider {
|
|
4671
|
+
width: 100%;
|
|
4672
|
+
margin-top: 0.25rem;
|
|
4673
|
+
margin-bottom: 1rem;
|
|
4674
|
+
position: relative;
|
|
4675
|
+
}
|
|
4288
4676
|
.excalidraw .layer-ui__result-item {
|
|
4289
4677
|
display: flex;
|
|
4290
4678
|
align-items: center;
|
|
4291
|
-
min-height:
|
|
4679
|
+
min-height: 1.875rem;
|
|
4292
4680
|
flex: 0 0 auto;
|
|
4293
4681
|
padding: 0.25rem 0.75rem;
|
|
4294
4682
|
cursor: pointer;
|
|
4295
4683
|
border: 1px solid transparent;
|
|
4296
4684
|
outline: none;
|
|
4297
|
-
|
|
4685
|
+
font-size: 16px;
|
|
4298
4686
|
border-radius: var(--border-radius-md);
|
|
4299
4687
|
}
|
|
4300
4688
|
.excalidraw .layer-ui__result-item .text-icon {
|
|
@@ -4786,6 +5174,48 @@
|
|
|
4786
5174
|
font-family: inherit;
|
|
4787
5175
|
line-height: 1;
|
|
4788
5176
|
}
|
|
5177
|
+
/*!*******************************************************************************************************************************************************************************************************!*\
|
|
5178
|
+
!*** 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 ***!
|
|
5179
|
+
\*******************************************************************************************************************************************************************************************************/
|
|
5180
|
+
.excalidraw .HintViewer {
|
|
5181
|
+
pointer-events: none;
|
|
5182
|
+
box-sizing: border-box;
|
|
5183
|
+
position: absolute;
|
|
5184
|
+
display: flex;
|
|
5185
|
+
flex-direction: column;
|
|
5186
|
+
justify-content: center;
|
|
5187
|
+
left: 0;
|
|
5188
|
+
top: 100%;
|
|
5189
|
+
max-width: 100%;
|
|
5190
|
+
width: 100%;
|
|
5191
|
+
margin-top: 0.5rem;
|
|
5192
|
+
text-align: center;
|
|
5193
|
+
color: var(--text-primary-color);
|
|
5194
|
+
font-size: 0.75rem;
|
|
5195
|
+
}
|
|
5196
|
+
.excalidraw--mobile.excalidraw .HintViewer {
|
|
5197
|
+
position: static;
|
|
5198
|
+
padding-right: 2rem;
|
|
5199
|
+
}
|
|
5200
|
+
|
|
5201
|
+
.excalidraw .HintViewer > span {
|
|
5202
|
+
padding: 0.25rem;
|
|
5203
|
+
}
|
|
5204
|
+
.excalidraw .HintViewer kbd {
|
|
5205
|
+
display: inline-block;
|
|
5206
|
+
margin: 0 1px;
|
|
5207
|
+
font-family: monospace;
|
|
5208
|
+
border: 1px solid var(--color-gray-40);
|
|
5209
|
+
border-radius: 4px;
|
|
5210
|
+
padding: 1px 3px;
|
|
5211
|
+
font-size: 10px;
|
|
5212
|
+
}
|
|
5213
|
+
.excalidraw.theme--dark .HintViewer {
|
|
5214
|
+
color: var(--color-gray-60);
|
|
5215
|
+
}
|
|
5216
|
+
.excalidraw.theme--dark .HintViewer kbd {
|
|
5217
|
+
border-color: var(--color-gray-60);
|
|
5218
|
+
}
|
|
4789
5219
|
/*!***************************************************************************************************************************************************************************************************!*\
|
|
4790
5220
|
!*** 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
5221
|
\***************************************************************************************************************************************************************************************************/
|
|
@@ -5198,6 +5628,9 @@
|
|
|
5198
5628
|
justify-content: flex-end;
|
|
5199
5629
|
pointer-events: none !important;
|
|
5200
5630
|
}
|
|
5631
|
+
.excalidraw .layer-ui__wrapper__top-right--compact {
|
|
5632
|
+
gap: 0.5rem;
|
|
5633
|
+
}
|
|
5201
5634
|
.excalidraw .layer-ui__wrapper__top-right > * {
|
|
5202
5635
|
pointer-events: var(--ui-pointerEvents);
|
|
5203
5636
|
}
|
|
@@ -5270,6 +5703,43 @@
|
|
|
5270
5703
|
margin-top: auto;
|
|
5271
5704
|
margin-bottom: auto;
|
|
5272
5705
|
}
|
|
5706
|
+
.excalidraw .disable-view-mode {
|
|
5707
|
+
display: flex;
|
|
5708
|
+
justify-content: center;
|
|
5709
|
+
cursor: pointer;
|
|
5710
|
+
align-items: center;
|
|
5711
|
+
border: 1px solid var(--color-primary);
|
|
5712
|
+
padding: 0.5rem;
|
|
5713
|
+
border-radius: var(--border-radius-lg);
|
|
5714
|
+
background-color: var(--island-bg-color);
|
|
5715
|
+
text-decoration: none !important;
|
|
5716
|
+
font-family: var(--ui-font);
|
|
5717
|
+
font-size: 0.8333rem;
|
|
5718
|
+
box-sizing: border-box;
|
|
5719
|
+
width: var(--mobile-action-button-size, var(--default-button-size));
|
|
5720
|
+
height: var(--mobile-action-button-size, var(--default-button-size));
|
|
5721
|
+
border: none;
|
|
5722
|
+
box-shadow: 0 0 0 1px var(--color-surface-lowest);
|
|
5723
|
+
background-color: var(--color-surface-low);
|
|
5724
|
+
color: var(--button-color, var(--color-on-surface)) !important;
|
|
5725
|
+
}
|
|
5726
|
+
.excalidraw .disable-view-mode:active {
|
|
5727
|
+
box-shadow: 0 0 0 1px var(--color-brand-active);
|
|
5728
|
+
}
|
|
5729
|
+
.excalidraw .disable-view-mode:hover {
|
|
5730
|
+
background-color: var(--color-primary);
|
|
5731
|
+
color: white !important;
|
|
5732
|
+
}
|
|
5733
|
+
.excalidraw .disable-view-mode:active {
|
|
5734
|
+
background-color: var(--color-primary-darker);
|
|
5735
|
+
}
|
|
5736
|
+
.excalidraw .disable-view-mode svg {
|
|
5737
|
+
width: 20px;
|
|
5738
|
+
height: 20px;
|
|
5739
|
+
}
|
|
5740
|
+
.excalidraw .theme--dark .plus-banner:hover {
|
|
5741
|
+
color: black !important;
|
|
5742
|
+
}
|
|
5273
5743
|
/*!****************************************************************************************************************************************************************************************************!*\
|
|
5274
5744
|
!*** 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
5745
|
\****************************************************************************************************************************************************************************************************/
|
|
@@ -5277,6 +5747,12 @@
|
|
|
5277
5747
|
.excalidraw .App-toolbar.zen-mode .HintViewer {
|
|
5278
5748
|
display: none;
|
|
5279
5749
|
}
|
|
5750
|
+
.excalidraw .App-toolbar--compact .ToolIcon__keybinding {
|
|
5751
|
+
display: none;
|
|
5752
|
+
}
|
|
5753
|
+
.excalidraw .App-toolbar--compact .App-toolbar__divider {
|
|
5754
|
+
margin: 0;
|
|
5755
|
+
}
|
|
5280
5756
|
.excalidraw .App-toolbar__divider {
|
|
5281
5757
|
width: 1px;
|
|
5282
5758
|
height: 1.5rem;
|
|
@@ -5297,6 +5773,9 @@
|
|
|
5297
5773
|
background-color: var(--button-hover-bg);
|
|
5298
5774
|
box-shadow: 0 0 0 1px var(--button-active-border, var(--color-primary-darkest)) inset;
|
|
5299
5775
|
}
|
|
5776
|
+
.excalidraw .App-toolbar__extra-tools-trigger:hover {
|
|
5777
|
+
background-color: transparent;
|
|
5778
|
+
}
|
|
5300
5779
|
.excalidraw .App-toolbar__extra-tools-trigger--selected, .excalidraw .App-toolbar__extra-tools-trigger--selected:hover {
|
|
5301
5780
|
background: var(--color-primary-light);
|
|
5302
5781
|
color: var(--color-primary);
|
|
@@ -5369,6 +5848,38 @@
|
|
|
5369
5848
|
opacity: 1;
|
|
5370
5849
|
}
|
|
5371
5850
|
}
|
|
5851
|
+
/*!********************************************************************************************************************************************************************************************************!*\
|
|
5852
|
+
!*** 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 ***!
|
|
5853
|
+
\********************************************************************************************************************************************************************************************************/
|
|
5854
|
+
.excalidraw .UnlockPopup {
|
|
5855
|
+
position: absolute;
|
|
5856
|
+
z-index: var(--zIndex-interactiveCanvas);
|
|
5857
|
+
display: flex;
|
|
5858
|
+
justify-content: center;
|
|
5859
|
+
align-items: center;
|
|
5860
|
+
gap: 0.5rem;
|
|
5861
|
+
border-radius: 0.5rem;
|
|
5862
|
+
background: var(--island-bg-color);
|
|
5863
|
+
box-shadow: var(--shadow-island);
|
|
5864
|
+
padding: 0.8rem;
|
|
5865
|
+
cursor: pointer;
|
|
5866
|
+
color: var(--color-gray-60);
|
|
5867
|
+
}
|
|
5868
|
+
.excalidraw .UnlockPopup:focus {
|
|
5869
|
+
outline: none;
|
|
5870
|
+
}
|
|
5871
|
+
.excalidraw .UnlockPopup svg {
|
|
5872
|
+
display: block;
|
|
5873
|
+
width: 1.25rem;
|
|
5874
|
+
height: 1.25rem;
|
|
5875
|
+
color: var(--color-gray-60);
|
|
5876
|
+
}
|
|
5877
|
+
.excalidraw .UnlockPopup:hover svg {
|
|
5878
|
+
color: var(--color-primary);
|
|
5879
|
+
}
|
|
5880
|
+
.excalidraw .UnlockPopup:active svg {
|
|
5881
|
+
transform: scale(0.95);
|
|
5882
|
+
}
|
|
5372
5883
|
/*!****************************************************************************************************************************************************************************************************************!*\
|
|
5373
5884
|
!*** 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
5885
|
\****************************************************************************************************************************************************************************************************************/
|
|
@@ -5438,6 +5949,8 @@
|
|
|
5438
5949
|
!*** 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
5950
|
\***********************************************************************************************************************************************************************************************************/
|
|
5440
5951
|
.excalidraw .ExcalidrawLogo {
|
|
5952
|
+
--logo-icon--mobile: 1rem;
|
|
5953
|
+
--logo-text--mobile: 0.75rem;
|
|
5441
5954
|
--logo-icon--xs: 2rem;
|
|
5442
5955
|
--logo-text--xs: 1.5rem;
|
|
5443
5956
|
--logo-icon--small: 2.5rem;
|
|
@@ -5461,6 +5974,13 @@
|
|
|
5461
5974
|
width: auto;
|
|
5462
5975
|
color: var(--color-logo-text);
|
|
5463
5976
|
}
|
|
5977
|
+
.excalidraw .ExcalidrawLogo.is-mobile .ExcalidrawLogo-icon {
|
|
5978
|
+
height: var(--logo-icon--mobile);
|
|
5979
|
+
}
|
|
5980
|
+
.excalidraw .ExcalidrawLogo.is-mobile .ExcalidrawLogo-text {
|
|
5981
|
+
height: var(--logo-text--mobile);
|
|
5982
|
+
margin-left: 0.5rem;
|
|
5983
|
+
}
|
|
5464
5984
|
.excalidraw .ExcalidrawLogo.is-xs .ExcalidrawLogo-icon {
|
|
5465
5985
|
height: var(--logo-icon--xs);
|
|
5466
5986
|
}
|
|
@@ -5678,15 +6198,8 @@
|
|
|
5678
6198
|
.excalidraw.theme--dark .welcome-screen-menu-item:active .welcome-screen-menu-item__text {
|
|
5679
6199
|
color: var(--color-gray-10);
|
|
5680
6200
|
}
|
|
5681
|
-
|
|
5682
|
-
|
|
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
|
-
}
|
|
6201
|
+
.excalidraw.excalidraw--mobile .welcome-screen-center {
|
|
6202
|
+
margin-bottom: 2rem;
|
|
5690
6203
|
}
|
|
5691
6204
|
@media (max-height: 500px), (max-width: 320px) {
|
|
5692
6205
|
.excalidraw .welcome-screen-center {
|
|
@@ -5743,6 +6256,8 @@
|
|
|
5743
6256
|
--button-gray-1: #e9ecef;
|
|
5744
6257
|
--button-gray-2: #ced4da;
|
|
5745
6258
|
--button-gray-3: #adb5bd;
|
|
6259
|
+
--mobile-action-button-bg: rgba(255, 255, 255, 0.35);
|
|
6260
|
+
--mobile-color-border: var(--default-border-color);
|
|
5746
6261
|
--button-special-active-bg-color: #ebfbee;
|
|
5747
6262
|
--dialog-border-color: var(--color-gray-20);
|
|
5748
6263
|
--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 +6290,7 @@
|
|
|
5775
6290
|
--lg-button-size: 2.25rem;
|
|
5776
6291
|
--lg-icon-size: 1rem;
|
|
5777
6292
|
--editor-container-padding: 1rem;
|
|
6293
|
+
--mobile-action-button-size: 2rem;
|
|
5778
6294
|
--scrollbar-thumb: var(--button-gray-2);
|
|
5779
6295
|
--scrollbar-thumb-hover: var(--button-gray-3);
|
|
5780
6296
|
--color-slider-track: hsl(240, 100%, 90%);
|
|
@@ -5869,6 +6385,10 @@
|
|
|
5869
6385
|
--color-badge: #0b6513;
|
|
5870
6386
|
--background-color-badge: #d3ffd2;
|
|
5871
6387
|
}
|
|
6388
|
+
.excalidraw--mobile.excalidraw {
|
|
6389
|
+
--editor-container-padding: 0.75rem;
|
|
6390
|
+
}
|
|
6391
|
+
|
|
5872
6392
|
@media screen and (min-device-width: 1921px) {
|
|
5873
6393
|
.excalidraw {
|
|
5874
6394
|
--lg-button-size: 2.5rem;
|
|
@@ -5887,6 +6407,8 @@
|
|
|
5887
6407
|
--button-gray-1: #363636;
|
|
5888
6408
|
--button-gray-2: #272727;
|
|
5889
6409
|
--button-gray-3: #222;
|
|
6410
|
+
--mobile-action-button-bg: var(--island-bg-color);
|
|
6411
|
+
--mobile-color-border: rgba(255, 255, 255, 0.85);
|
|
5890
6412
|
--button-special-active-bg-color: #204624;
|
|
5891
6413
|
--dialog-border-color: var(--color-gray-80);
|
|
5892
6414
|
--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 +6493,11 @@
|
|
|
5971
6493
|
--zIndex-eyeDropperBackdrop: 5;
|
|
5972
6494
|
--zIndex-eyeDropperPreview: 6;
|
|
5973
6495
|
--zIndex-hyperlinkContainer: 7;
|
|
6496
|
+
--zIndex-ui-bottom: 60;
|
|
6497
|
+
--zIndex-ui-library: 80;
|
|
6498
|
+
--zIndex-ui-context-menu: 90;
|
|
6499
|
+
--zIndex-ui-styles-popup: 100;
|
|
6500
|
+
--zIndex-ui-top: 100;
|
|
5974
6501
|
--zIndex-modal: 1000;
|
|
5975
6502
|
--zIndex-popup: 1001;
|
|
5976
6503
|
--zIndex-toast: 999999;
|
|
@@ -6004,6 +6531,13 @@ body.excalidraw-cursor-resize * {
|
|
|
6004
6531
|
user-select: none;
|
|
6005
6532
|
/*zsviczian*/
|
|
6006
6533
|
}
|
|
6534
|
+
.excalidraw button,
|
|
6535
|
+
.excalidraw label {
|
|
6536
|
+
-webkit-tap-highlight-color: transparent;
|
|
6537
|
+
-webkit-touch-callout: none;
|
|
6538
|
+
-webkit-user-select: none;
|
|
6539
|
+
user-select: none;
|
|
6540
|
+
}
|
|
6007
6541
|
.excalidraw button {
|
|
6008
6542
|
cursor: pointer;
|
|
6009
6543
|
-webkit-user-select: none;
|
|
@@ -6068,14 +6602,14 @@ body.excalidraw-cursor-resize * {
|
|
|
6068
6602
|
display: flex;
|
|
6069
6603
|
justify-content: space-between;
|
|
6070
6604
|
}
|
|
6071
|
-
.excalidraw .
|
|
6605
|
+
.excalidraw .selected-shape-actions {
|
|
6072
6606
|
display: flex;
|
|
6073
6607
|
flex-direction: column;
|
|
6074
6608
|
row-gap: 0.75rem;
|
|
6075
6609
|
}
|
|
6076
|
-
.excalidraw .
|
|
6077
|
-
.excalidraw .
|
|
6078
|
-
.excalidraw .
|
|
6610
|
+
.excalidraw .selected-shape-actions h3,
|
|
6611
|
+
.excalidraw .selected-shape-actions legend,
|
|
6612
|
+
.excalidraw .selected-shape-actions .control-label {
|
|
6079
6613
|
margin: 0;
|
|
6080
6614
|
margin-bottom: 0.25rem;
|
|
6081
6615
|
font-size: 0.75rem;
|
|
@@ -6083,36 +6617,36 @@ body.excalidraw-cursor-resize * {
|
|
|
6083
6617
|
font-weight: 400;
|
|
6084
6618
|
display: block;
|
|
6085
6619
|
}
|
|
6086
|
-
.excalidraw .
|
|
6620
|
+
.excalidraw .selected-shape-actions .control-label input {
|
|
6087
6621
|
display: block;
|
|
6088
6622
|
width: 100%;
|
|
6089
6623
|
}
|
|
6090
|
-
.excalidraw .
|
|
6624
|
+
.excalidraw .selected-shape-actions legend {
|
|
6091
6625
|
padding: 0;
|
|
6092
6626
|
}
|
|
6093
|
-
.excalidraw .
|
|
6627
|
+
.excalidraw .selected-shape-actions .iconSelectList {
|
|
6094
6628
|
flex-wrap: wrap;
|
|
6095
6629
|
position: relative;
|
|
6096
6630
|
}
|
|
6097
|
-
.excalidraw .
|
|
6631
|
+
.excalidraw .selected-shape-actions .buttonList {
|
|
6098
6632
|
flex-wrap: wrap;
|
|
6099
6633
|
display: flex;
|
|
6100
6634
|
column-gap: 0.5rem;
|
|
6101
6635
|
row-gap: 0.5rem;
|
|
6102
6636
|
}
|
|
6103
|
-
.excalidraw .
|
|
6637
|
+
.excalidraw .selected-shape-actions .buttonList label {
|
|
6104
6638
|
font-size: 0.75rem;
|
|
6105
6639
|
}
|
|
6106
|
-
.excalidraw .
|
|
6107
|
-
.excalidraw .
|
|
6640
|
+
.excalidraw .selected-shape-actions .buttonList input[type=radio],
|
|
6641
|
+
.excalidraw .selected-shape-actions .buttonList input[type=button] {
|
|
6108
6642
|
opacity: 0;
|
|
6109
6643
|
position: absolute;
|
|
6110
6644
|
pointer-events: none;
|
|
6111
6645
|
}
|
|
6112
|
-
.excalidraw .
|
|
6646
|
+
.excalidraw .selected-shape-actions .buttonList .iconRow {
|
|
6113
6647
|
margin-top: 8px;
|
|
6114
6648
|
}
|
|
6115
|
-
.excalidraw .
|
|
6649
|
+
.excalidraw .selected-shape-actions fieldset {
|
|
6116
6650
|
margin: 0;
|
|
6117
6651
|
padding: 0;
|
|
6118
6652
|
border: none;
|
|
@@ -6192,6 +6726,11 @@ body.excalidraw-cursor-resize * {
|
|
|
6192
6726
|
.excalidraw .buttonList .zIndexButton.active svg {
|
|
6193
6727
|
color: var(--button-color, var(--color-on-primary-container));
|
|
6194
6728
|
}
|
|
6729
|
+
.excalidraw--mobile.excalidraw .buttonList label, .excalidraw .buttonList button, .excalidraw .buttonList .zIndexButton {
|
|
6730
|
+
width: var(--mobile-action-button-size, var(--default-button-size));
|
|
6731
|
+
height: var(--mobile-action-button-size, var(--default-button-size));
|
|
6732
|
+
}
|
|
6733
|
+
|
|
6195
6734
|
.excalidraw .buttonList label svg,
|
|
6196
6735
|
.excalidraw .buttonList button svg,
|
|
6197
6736
|
.excalidraw .buttonList .zIndexButton svg {
|
|
@@ -6202,39 +6741,44 @@ body.excalidraw-cursor-resize * {
|
|
|
6202
6741
|
z-index: var(--zIndex-layerUI);
|
|
6203
6742
|
display: flex;
|
|
6204
6743
|
flex-direction: column;
|
|
6205
|
-
|
|
6744
|
+
}
|
|
6745
|
+
.excalidraw .App-welcome-screen {
|
|
6746
|
+
z-index: var(--zIndex-layerUI);
|
|
6206
6747
|
}
|
|
6207
6748
|
.excalidraw .App-bottom-bar {
|
|
6208
6749
|
position: absolute;
|
|
6209
|
-
|
|
6750
|
+
width: calc(100% - 28px);
|
|
6751
|
+
max-width: 450px;
|
|
6210
6752
|
bottom: 0;
|
|
6211
|
-
left:
|
|
6212
|
-
|
|
6753
|
+
left: 50%;
|
|
6754
|
+
transform: translateX(-50%);
|
|
6213
6755
|
--bar-padding: calc(4 * var(--space-factor));
|
|
6214
|
-
|
|
6215
|
-
padding-right: var(--sar, 0);
|
|
6216
|
-
padding-bottom: var(--sab, 0);
|
|
6217
|
-
padding-left: var(--sal, 0);
|
|
6218
|
-
z-index: 4;
|
|
6756
|
+
z-index: var(--zIndex-ui-bottom);
|
|
6219
6757
|
display: flex;
|
|
6220
|
-
|
|
6758
|
+
flex-direction: column;
|
|
6221
6759
|
pointer-events: none;
|
|
6760
|
+
justify-content: center;
|
|
6761
|
+
}
|
|
6762
|
+
.excalidraw--tray.excalidraw .App-bottom-bar {
|
|
6763
|
+
flex-direction: row;
|
|
6764
|
+
left: 0;
|
|
6765
|
+
transform: none;
|
|
6766
|
+
justify-content: flex-start;
|
|
6767
|
+
align-items: flex-end;
|
|
6768
|
+
max-width: 19rem;
|
|
6222
6769
|
}
|
|
6770
|
+
|
|
6223
6771
|
.excalidraw .App-bottom-bar > .Island {
|
|
6224
|
-
/*width: 100%; //zsviczian*/
|
|
6225
|
-
max-width: 100%;
|
|
6226
|
-
/*min-width: 100%; //zsviczian*/
|
|
6227
6772
|
box-sizing: border-box;
|
|
6228
6773
|
max-height: 100%;
|
|
6774
|
+
padding: 4px;
|
|
6229
6775
|
display: flex;
|
|
6230
6776
|
flex-direction: column;
|
|
6231
6777
|
pointer-events: var(--ui-pointerEvents);
|
|
6232
6778
|
}
|
|
6233
|
-
.excalidraw .App-bottom-bar > .Island .panelColumn {
|
|
6234
|
-
padding: 8px 8px 0 8px;
|
|
6235
|
-
}
|
|
6236
6779
|
.excalidraw .App-toolbar {
|
|
6237
|
-
|
|
6780
|
+
display: flex;
|
|
6781
|
+
justify-content: center;
|
|
6238
6782
|
}
|
|
6239
6783
|
.excalidraw .App-toolbar .eraser.ToolIcon:hover {
|
|
6240
6784
|
--icon-fill-color: #fff;
|
|
@@ -6243,16 +6787,30 @@ body.excalidraw-cursor-resize * {
|
|
|
6243
6787
|
.excalidraw .App-toolbar .eraser.active {
|
|
6244
6788
|
background-color: var(--color-primary);
|
|
6245
6789
|
}
|
|
6790
|
+
.excalidraw .excalidraw-ui-top-left,
|
|
6791
|
+
.excalidraw .excalidraw-ui-top-right {
|
|
6792
|
+
display: flex;
|
|
6793
|
+
gap: 0.5rem;
|
|
6794
|
+
}
|
|
6246
6795
|
.excalidraw .App-toolbar-content {
|
|
6247
6796
|
display: flex;
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6797
|
+
flex-direction: column;
|
|
6798
|
+
pointer-events: none;
|
|
6799
|
+
}
|
|
6800
|
+
.excalidraw .App-toolbar-content > * {
|
|
6801
|
+
pointer-events: var(--ui-pointerEvents);
|
|
6251
6802
|
}
|
|
6252
|
-
.excalidraw .App-toolbar-content .dropdown-menu--
|
|
6803
|
+
.excalidraw .App-toolbar-content .dropdown-menu--tray {
|
|
6253
6804
|
bottom: 55px;
|
|
6254
6805
|
top: auto;
|
|
6255
6806
|
}
|
|
6807
|
+
.excalidraw--tray.excalidraw .App-toolbar-content {
|
|
6808
|
+
flex-direction: row;
|
|
6809
|
+
}
|
|
6810
|
+
|
|
6811
|
+
.excalidraw .App-toolbar-content label.ToolIcon.is-mobile {
|
|
6812
|
+
background-color: var(--color-surface-low);
|
|
6813
|
+
}
|
|
6256
6814
|
.excalidraw .App-mobile-menu {
|
|
6257
6815
|
width: 100%;
|
|
6258
6816
|
overflow-x: visible;
|
|
@@ -6260,6 +6818,19 @@ body.excalidraw-cursor-resize * {
|
|
|
6260
6818
|
box-sizing: border-box;
|
|
6261
6819
|
margin-bottom: var(--bar-padding);
|
|
6262
6820
|
}
|
|
6821
|
+
.excalidraw .App-mobile-menu .selected-shape-actions {
|
|
6822
|
+
padding: 8px 8px 0 8px;
|
|
6823
|
+
}
|
|
6824
|
+
.excalidraw .App-tray-menu {
|
|
6825
|
+
width: 100%;
|
|
6826
|
+
overflow-x: hidden;
|
|
6827
|
+
overflow-y: auto;
|
|
6828
|
+
box-sizing: border-box;
|
|
6829
|
+
margin-bottom: var(--bar-padding);
|
|
6830
|
+
}
|
|
6831
|
+
.excalidraw .App-tray-menu .selected-shape-actions {
|
|
6832
|
+
padding: 8px 8px 0 8px;
|
|
6833
|
+
}
|
|
6263
6834
|
.excalidraw .App-menu {
|
|
6264
6835
|
display: grid;
|
|
6265
6836
|
color: var(--icon-fill-color);
|
|
@@ -6274,7 +6845,7 @@ body.excalidraw-cursor-resize * {
|
|
|
6274
6845
|
}
|
|
6275
6846
|
.excalidraw .App-menu_top {
|
|
6276
6847
|
grid-template-columns: 1fr 2fr 1fr;
|
|
6277
|
-
grid-gap:
|
|
6848
|
+
grid-gap: 1rem;
|
|
6278
6849
|
align-items: flex-start;
|
|
6279
6850
|
cursor: default;
|
|
6280
6851
|
pointer-events: none !important;
|
|
@@ -6291,6 +6862,13 @@ body.excalidraw-cursor-resize * {
|
|
|
6291
6862
|
.excalidraw .App-menu_top > *:first-child {
|
|
6292
6863
|
justify-self: flex-start;
|
|
6293
6864
|
}
|
|
6865
|
+
.excalidraw .selected-shape-actions-container {
|
|
6866
|
+
width: -moz-fit-content;
|
|
6867
|
+
width: fit-content;
|
|
6868
|
+
}
|
|
6869
|
+
.excalidraw .selected-shape-actions-container--compact {
|
|
6870
|
+
min-width: 48px;
|
|
6871
|
+
}
|
|
6294
6872
|
.excalidraw .App-menu_top > *:last-child {
|
|
6295
6873
|
justify-self: flex-end;
|
|
6296
6874
|
}
|
|
@@ -6435,9 +7013,19 @@ body.excalidraw-cursor-resize * {
|
|
|
6435
7013
|
.excalidraw .help-icon.active svg {
|
|
6436
7014
|
color: var(--button-color, var(--color-on-primary-container));
|
|
6437
7015
|
}
|
|
7016
|
+
.excalidraw--mobile.excalidraw .help-icon {
|
|
7017
|
+
width: var(--mobile-action-button-size, var(--default-button-size));
|
|
7018
|
+
height: var(--mobile-action-button-size, var(--default-button-size));
|
|
7019
|
+
}
|
|
7020
|
+
|
|
6438
7021
|
.excalidraw .help-icon:active {
|
|
6439
7022
|
box-shadow: 0 0 0 1px var(--color-brand-active);
|
|
6440
7023
|
}
|
|
7024
|
+
.excalidraw--mobile.excalidraw .help-icon {
|
|
7025
|
+
width: var(--mobile-action-button-size, 2rem);
|
|
7026
|
+
height: var(--mobile-action-button-size, 2rem);
|
|
7027
|
+
}
|
|
7028
|
+
|
|
6441
7029
|
.excalidraw .help-icon svg {
|
|
6442
7030
|
width: var(--lg-icon-size);
|
|
6443
7031
|
height: var(--lg-icon-size);
|
|
@@ -6465,6 +7053,14 @@ body.excalidraw-cursor-resize * {
|
|
|
6465
7053
|
display: none;
|
|
6466
7054
|
}
|
|
6467
7055
|
.excalidraw--mobile.excalidraw .scroll-back-to-content {
|
|
7056
|
+
bottom: calc(100px + var(--sab, 0));
|
|
7057
|
+
z-index: -1;
|
|
7058
|
+
}
|
|
7059
|
+
|
|
7060
|
+
.excalidraw--tray.excalidraw aside {
|
|
7061
|
+
display: none;
|
|
7062
|
+
}
|
|
7063
|
+
.excalidraw--tray.excalidraw .scroll-back-to-content {
|
|
6468
7064
|
bottom: calc(80px + var(--sab, 0));
|
|
6469
7065
|
z-index: -1;
|
|
6470
7066
|
}
|
|
@@ -6555,6 +7151,7 @@ body.excalidraw-cursor-resize * {
|
|
|
6555
7151
|
border-bottom-left-radius: var(--border-radius-lg);
|
|
6556
7152
|
border-right: 0;
|
|
6557
7153
|
overflow: hidden;
|
|
7154
|
+
margin-right: 3px;
|
|
6558
7155
|
background-color: var(--island-bg-color);
|
|
6559
7156
|
}
|
|
6560
7157
|
.excalidraw .mobile-misc-tools-container .ToolIcon__icon {
|
|
@@ -6565,6 +7162,28 @@ body.excalidraw-cursor-resize * {
|
|
|
6565
7162
|
.excalidraw .mobile-misc-tools-container .default-sidebar-trigger {
|
|
6566
7163
|
border: 0;
|
|
6567
7164
|
}
|
|
7165
|
+
.excalidraw .tray-misc-tools-container {
|
|
7166
|
+
position: absolute;
|
|
7167
|
+
top: calc(5rem - var(--editor-container-padding));
|
|
7168
|
+
right: calc(var(--editor-container-padding) * -1);
|
|
7169
|
+
display: flex;
|
|
7170
|
+
flex-direction: column;
|
|
7171
|
+
border: 1px solid var(--sidebar-border-color);
|
|
7172
|
+
border-top-left-radius: var(--border-radius-lg);
|
|
7173
|
+
border-bottom-left-radius: var(--border-radius-lg);
|
|
7174
|
+
border-right: 0;
|
|
7175
|
+
overflow: hidden;
|
|
7176
|
+
margin-right: 3px;
|
|
7177
|
+
background-color: var(--island-bg-color);
|
|
7178
|
+
}
|
|
7179
|
+
.excalidraw .tray-misc-tools-container .ToolIcon__icon {
|
|
7180
|
+
width: 2rem;
|
|
7181
|
+
height: 2rem;
|
|
7182
|
+
border-radius: 0;
|
|
7183
|
+
}
|
|
7184
|
+
.excalidraw .tray-misc-tools-container .default-sidebar-trigger {
|
|
7185
|
+
border: 0;
|
|
7186
|
+
}
|
|
6568
7187
|
.excalidraw .App-toolbar--mobile {
|
|
6569
7188
|
overflow: visible;
|
|
6570
7189
|
max-width: 98vw;
|
|
@@ -6572,6 +7191,13 @@ body.excalidraw-cursor-resize * {
|
|
|
6572
7191
|
.excalidraw .App-toolbar--mobile .ToolIcon__keybinding {
|
|
6573
7192
|
display: block;
|
|
6574
7193
|
}
|
|
7194
|
+
.excalidraw .App-toolbar--tray {
|
|
7195
|
+
overflow: visible;
|
|
7196
|
+
max-width: 98vw;
|
|
7197
|
+
}
|
|
7198
|
+
.excalidraw .App-toolbar--tray .ToolIcon__keybinding {
|
|
7199
|
+
display: block;
|
|
7200
|
+
}
|
|
6575
7201
|
.excalidraw .UserList-Wrapper {
|
|
6576
7202
|
margin: 0;
|
|
6577
7203
|
padding: 0;
|
|
@@ -6593,11 +7219,18 @@ body.excalidraw-cursor-resize * {
|
|
|
6593
7219
|
.excalidraw .main-menu-trigger:active {
|
|
6594
7220
|
box-shadow: 0 0 0 1px var(--color-brand-active);
|
|
6595
7221
|
}
|
|
7222
|
+
.excalidraw--mobile.excalidraw .main-menu-trigger {
|
|
7223
|
+
width: var(--mobile-action-button-size, 2rem);
|
|
7224
|
+
height: var(--mobile-action-button-size, 2rem);
|
|
7225
|
+
}
|
|
7226
|
+
|
|
7227
|
+
.excalidraw .App-tray-menu,
|
|
6596
7228
|
.excalidraw .App-mobile-menu,
|
|
6597
7229
|
.excalidraw .App-menu__left {
|
|
6598
7230
|
--button-border: transparent;
|
|
6599
7231
|
--button-bg: var(--color-surface-mid);
|
|
6600
7232
|
}
|
|
7233
|
+
.excalidraw.theme--dark.excalidraw .App-tray-menu,
|
|
6601
7234
|
.excalidraw.theme--dark.excalidraw .App-mobile-menu,
|
|
6602
7235
|
.excalidraw.theme--dark.excalidraw .App-menu__left {
|
|
6603
7236
|
--button-hover-bg: #363541;
|