@excalidraw/excalidraw 0.18.0-de715913e → 0.18.0-ec07091
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/dev/{chunk-QF5FRM6O.js → chunk-2DD3XXK2.js} +8 -3
- package/dist/dev/chunk-2DD3XXK2.js.map +7 -0
- package/dist/dev/{chunk-CRKRRBMD.js → chunk-N4PQJPAH.js} +49 -60
- package/dist/dev/chunk-N4PQJPAH.js.map +7 -0
- package/dist/dev/data/{image-IWGLHPIX.js → image-RT6RLBUE.js} +2 -2
- package/dist/dev/index.css +686 -501
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +2814 -1644
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/locales/{en-SMAPCEOQ.js → en-3RV5RSZR.js} +2 -2
- package/dist/prod/{chunk-I4UNSFV6.js → chunk-H6T42UNN.js} +1 -1
- package/dist/prod/chunk-SVEJI6WL.js +4 -0
- package/dist/prod/data/{image-4SM4COIL.js → image-HPGPBQV2.js} +1 -1
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +19 -19
- package/dist/prod/locales/{en-TYY6KWIJ.js → en-JEKVR2WV.js} +1 -1
- package/dist/types/common/src/constants.d.ts +20 -4
- package/dist/types/common/src/utils.d.ts +3 -0
- package/dist/types/element/src/bounds.d.ts +1 -1
- package/dist/types/element/src/delta.d.ts +2 -2
- package/dist/types/element/src/index.d.ts +1 -0
- package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/dist/types/element/src/renderElement.d.ts +4 -1
- package/dist/types/element/src/store.d.ts +3 -2
- package/dist/types/element/src/textElement.d.ts +1 -1
- package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionBoundText.d.ts +4 -2
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +29 -15
- package/dist/types/excalidraw/actions/actionClipboard.d.ts +12 -6
- package/dist/types/excalidraw/actions/actionCropEditor.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionElementLock.d.ts +4 -2
- package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionExport.d.ts +18 -9
- package/dist/types/excalidraw/actions/actionFinalize.d.ts +4 -2
- package/dist/types/excalidraw/actions/actionFrame.d.ts +8 -4
- package/dist/types/excalidraw/actions/actionGroup.d.ts +4 -2
- package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +3 -2
- package/dist/types/excalidraw/actions/actionLink.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionMenu.d.ts +6 -3
- package/dist/types/excalidraw/actions/actionNavigate.d.ts +4 -2
- package/dist/types/excalidraw/actions/actionProperties.d.ts +48 -24
- package/dist/types/excalidraw/actions/actionSelectAll.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionStyles.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleStats.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +2 -1
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +2 -1
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/appState.d.ts +1 -0
- package/dist/types/excalidraw/clipboard.d.ts +64 -1
- package/dist/types/excalidraw/components/Actions.d.ts +8 -1
- package/dist/types/excalidraw/components/App.d.ts +10 -8
- package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
- package/dist/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/dist/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/dist/types/excalidraw/components/TextField.d.ts +1 -0
- package/dist/types/excalidraw/components/icons.d.ts +6 -0
- package/dist/types/excalidraw/components/shapes.d.ts +129 -1
- package/dist/types/excalidraw/data/blob.d.ts +3 -7
- package/dist/types/excalidraw/data/types.d.ts +4 -1
- package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/dist/types/excalidraw/types.d.ts +5 -1
- package/dist/types/math/src/segment.d.ts +1 -0
- package/package.json +5 -5
- package/dist/dev/chunk-CRKRRBMD.js.map +0 -7
- package/dist/dev/chunk-QF5FRM6O.js.map +0 -7
- package/dist/prod/chunk-HHV2PJKY.js +0 -4
- /package/dist/dev/data/{image-IWGLHPIX.js.map → image-RT6RLBUE.js.map} +0 -0
- /package/dist/dev/locales/{en-SMAPCEOQ.js.map → en-3RV5RSZR.js.map} +0 -0
package/dist/dev/index.css
CHANGED
|
@@ -608,6 +608,11 @@
|
|
|
608
608
|
.excalidraw--mobile.excalidraw .color-picker-container {
|
|
609
609
|
max-width: 11rem;
|
|
610
610
|
}
|
|
611
|
+
.excalidraw .color-picker-container.color-picker-container--no-top-picks {
|
|
612
|
+
display: flex;
|
|
613
|
+
justify-content: center;
|
|
614
|
+
grid-template-columns: unset;
|
|
615
|
+
}
|
|
611
616
|
.excalidraw .color-picker__top-picks {
|
|
612
617
|
display: flex;
|
|
613
618
|
justify-content: space-between;
|
|
@@ -656,6 +661,15 @@
|
|
|
656
661
|
width: 1.25rem;
|
|
657
662
|
height: 1.25rem;
|
|
658
663
|
}
|
|
664
|
+
.excalidraw .color-picker__button .color-picker__button-background {
|
|
665
|
+
display: flex;
|
|
666
|
+
align-items: center;
|
|
667
|
+
justify-content: center;
|
|
668
|
+
}
|
|
669
|
+
.excalidraw .color-picker__button .color-picker__button-background svg {
|
|
670
|
+
width: 100%;
|
|
671
|
+
height: 100%;
|
|
672
|
+
}
|
|
659
673
|
.excalidraw .color-picker__button.active .color-picker__button-outline {
|
|
660
674
|
position: absolute;
|
|
661
675
|
--offset: -1px;
|
|
@@ -1078,6 +1092,10 @@
|
|
|
1078
1092
|
.excalidraw--mobile.excalidraw .FontPicker__container {
|
|
1079
1093
|
max-width: calc(2rem + 4 * var(--default-button-size));
|
|
1080
1094
|
}
|
|
1095
|
+
.excalidraw .FontPicker__container--compact {
|
|
1096
|
+
display: block;
|
|
1097
|
+
grid-template-columns: none;
|
|
1098
|
+
}
|
|
1081
1099
|
|
|
1082
1100
|
/* components/IconPicker.scss */
|
|
1083
1101
|
.excalidraw .picker {
|
|
@@ -1925,11 +1943,11 @@
|
|
|
1925
1943
|
pointer-events: none;
|
|
1926
1944
|
}
|
|
1927
1945
|
.excalidraw .library-unit--hover {
|
|
1928
|
-
|
|
1946
|
+
background-color: var(--color-surface-mid);
|
|
1929
1947
|
}
|
|
1948
|
+
.excalidraw .library-unit:active:not(:has(.library-unit__checkbox:hover)),
|
|
1930
1949
|
.excalidraw .library-unit--selected {
|
|
1931
|
-
|
|
1932
|
-
border-width: 1px;
|
|
1950
|
+
background-color: var(--color-surface-high);
|
|
1933
1951
|
}
|
|
1934
1952
|
.excalidraw .library-unit--skeleton {
|
|
1935
1953
|
opacity: 0.5;
|
|
@@ -2063,21 +2081,36 @@
|
|
|
2063
2081
|
|
|
2064
2082
|
/* components/LibraryMenuItems.scss */
|
|
2065
2083
|
.excalidraw {
|
|
2066
|
-
--container-padding-y:
|
|
2084
|
+
--container-padding-y: 1rem;
|
|
2067
2085
|
--container-padding-x: 0.75rem;
|
|
2068
2086
|
}
|
|
2087
|
+
.excalidraw .library-menu-items-header {
|
|
2088
|
+
display: flex;
|
|
2089
|
+
padding-top: 1rem;
|
|
2090
|
+
padding-bottom: 0.5rem;
|
|
2091
|
+
gap: 0.5rem;
|
|
2092
|
+
}
|
|
2069
2093
|
.excalidraw .library-menu-items__no-items {
|
|
2070
2094
|
text-align: center;
|
|
2071
2095
|
color: var(--color-gray-70);
|
|
2072
2096
|
line-height: 1.5;
|
|
2073
2097
|
font-size: 0.875rem;
|
|
2074
2098
|
width: 100%;
|
|
2099
|
+
min-height: 55px;
|
|
2100
|
+
display: flex;
|
|
2101
|
+
flex-direction: column;
|
|
2102
|
+
align-items: center;
|
|
2103
|
+
justify-content: center;
|
|
2075
2104
|
}
|
|
2076
2105
|
.excalidraw .library-menu-items__no-items__label {
|
|
2077
2106
|
color: var(--color-primary);
|
|
2078
2107
|
font-weight: 700;
|
|
2079
2108
|
font-size: 1.125rem;
|
|
2080
|
-
margin-bottom: 0.
|
|
2109
|
+
margin-bottom: 0.25rem;
|
|
2110
|
+
}
|
|
2111
|
+
.excalidraw .library-menu-items__no-items__hint {
|
|
2112
|
+
color: var(--color-border-outline);
|
|
2113
|
+
padding: 0.75rem 1rem;
|
|
2081
2114
|
}
|
|
2082
2115
|
.excalidraw.theme--dark .library-menu-items__no-items {
|
|
2083
2116
|
color: var(--color-gray-40);
|
|
@@ -2091,7 +2124,7 @@
|
|
|
2091
2124
|
overflow-y: auto;
|
|
2092
2125
|
flex-direction: column;
|
|
2093
2126
|
height: 100%;
|
|
2094
|
-
justify-content:
|
|
2127
|
+
justify-content: flex-start;
|
|
2095
2128
|
margin: 0;
|
|
2096
2129
|
position: relative;
|
|
2097
2130
|
}
|
|
@@ -2105,30 +2138,59 @@
|
|
|
2105
2138
|
gap: 1rem;
|
|
2106
2139
|
}
|
|
2107
2140
|
.excalidraw .library-menu-items-container__items {
|
|
2141
|
+
position: relative;
|
|
2108
2142
|
row-gap: 0.5rem;
|
|
2109
|
-
padding: var(--container-padding-y) 0;
|
|
2143
|
+
padding: 1rem 0 var(--container-padding-y) 0;
|
|
2110
2144
|
flex: 1;
|
|
2111
2145
|
overflow-y: auto;
|
|
2112
2146
|
overflow-x: hidden;
|
|
2113
|
-
margin-bottom: 1rem;
|
|
2114
2147
|
}
|
|
2115
2148
|
.excalidraw .library-menu-items-container__header {
|
|
2149
|
+
display: flex;
|
|
2150
|
+
align-items: center;
|
|
2151
|
+
flex: 1 1 auto;
|
|
2116
2152
|
color: var(--color-primary);
|
|
2117
2153
|
font-size: 1.125rem;
|
|
2118
2154
|
font-weight: 700;
|
|
2119
2155
|
margin-bottom: 0.75rem;
|
|
2120
2156
|
width: 100%;
|
|
2121
|
-
padding-right: 4rem;
|
|
2122
2157
|
box-sizing: border-box;
|
|
2123
2158
|
}
|
|
2124
2159
|
.excalidraw .library-menu-items-container__header--excal {
|
|
2125
2160
|
margin-top: 2rem;
|
|
2126
2161
|
}
|
|
2162
|
+
.excalidraw .library-menu-items-container__header__hint {
|
|
2163
|
+
margin-left: auto;
|
|
2164
|
+
font-size: 10px;
|
|
2165
|
+
color: var(--color-border-outline);
|
|
2166
|
+
font-weight: 400;
|
|
2167
|
+
}
|
|
2168
|
+
.excalidraw .library-menu-items-container__header__hint kbd {
|
|
2169
|
+
font-family: monospace;
|
|
2170
|
+
border: 1px solid var(--color-border-outline);
|
|
2171
|
+
border-radius: 4px;
|
|
2172
|
+
padding: 1px 3px;
|
|
2173
|
+
}
|
|
2127
2174
|
.excalidraw .library-menu-items-container__grid {
|
|
2128
2175
|
display: grid;
|
|
2129
2176
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
2130
2177
|
grid-gap: 1rem;
|
|
2131
2178
|
}
|
|
2179
|
+
.excalidraw .library-menu-items-container__search {
|
|
2180
|
+
flex: 1 1 auto;
|
|
2181
|
+
margin: 0;
|
|
2182
|
+
}
|
|
2183
|
+
.excalidraw .library-menu-items-container__search .ExcTextField__input {
|
|
2184
|
+
height: var(--lg-button-size);
|
|
2185
|
+
}
|
|
2186
|
+
.excalidraw .library-menu-items-container__search .ExcTextField__input input {
|
|
2187
|
+
font-size: 0.875rem;
|
|
2188
|
+
}
|
|
2189
|
+
.excalidraw .library-menu-items-container__search.hideCancelButton input::-webkit-search-cancel-button {
|
|
2190
|
+
-webkit-appearance: none;
|
|
2191
|
+
appearance: none;
|
|
2192
|
+
display: none;
|
|
2193
|
+
}
|
|
2132
2194
|
.excalidraw .library-menu-items-container .separator {
|
|
2133
2195
|
width: 100%;
|
|
2134
2196
|
display: flex;
|
|
@@ -2143,433 +2205,156 @@
|
|
|
2143
2205
|
width: 100%;
|
|
2144
2206
|
}
|
|
2145
2207
|
|
|
2146
|
-
/* components/
|
|
2147
|
-
.excalidraw
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
color:
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2208
|
+
/* components/Button.scss */
|
|
2209
|
+
.excalidraw {
|
|
2210
|
+
--theme-filter: none;
|
|
2211
|
+
--button-destructive-bg-color: #ffe3e3;
|
|
2212
|
+
--button-destructive-color: #c92a2a;
|
|
2213
|
+
--button-gray-1: #e9ecef;
|
|
2214
|
+
--button-gray-2: #ced4da;
|
|
2215
|
+
--button-gray-3: #adb5bd;
|
|
2216
|
+
--button-special-active-bg-color: #ebfbee;
|
|
2217
|
+
--dialog-border-color: var(--color-gray-20);
|
|
2218
|
+
--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>');
|
|
2219
|
+
--focus-highlight-color: #a5d8ff;
|
|
2220
|
+
--icon-fill-color: var(--color-on-surface);
|
|
2221
|
+
--icon-green-fill-color: #2b8a3e;
|
|
2222
|
+
--default-bg-color: #ffffff;
|
|
2223
|
+
--input-bg-color: #ffffff;
|
|
2224
|
+
--input-border-color: #ced4da;
|
|
2225
|
+
--input-hover-bg-color: #f1f3f5;
|
|
2226
|
+
--input-label-color: #495057;
|
|
2227
|
+
--island-bg-color: #ffffff;
|
|
2228
|
+
--keybinding-color: var(--color-gray-40);
|
|
2229
|
+
--link-color: #1c7ed6;
|
|
2230
|
+
--overlay-bg-color: rgba(255, 255, 255, 0.88);
|
|
2231
|
+
--popup-bg-color: var(--island-bg-color);
|
|
2232
|
+
--popup-secondary-bg-color: #f1f3f5;
|
|
2233
|
+
--popup-text-color: #000000;
|
|
2234
|
+
--popup-text-inverted-color: #ffffff;
|
|
2235
|
+
--select-highlight-color: #339af0;
|
|
2236
|
+
--shadow-island:
|
|
2237
|
+
0px 0px 0.9310142993927002px 0px rgba(0, 0, 0, 0.17),
|
|
2238
|
+
0px 0px 3.1270833015441895px 0px rgba(0, 0, 0, 0.08),
|
|
2239
|
+
0px 7px 14px 0px rgba(0, 0, 0, 0.05);
|
|
2240
|
+
--button-hover-bg: var(--color-surface-high);
|
|
2241
|
+
--button-active-bg: var(--color-surface-high);
|
|
2242
|
+
--button-active-border: var(--color-brand-active);
|
|
2243
|
+
--default-border-color: var(--color-surface-high);
|
|
2244
|
+
--default-button-size: 2rem;
|
|
2245
|
+
--default-icon-size: 1rem;
|
|
2246
|
+
--lg-button-size: 2.25rem;
|
|
2247
|
+
--lg-icon-size: 1rem;
|
|
2248
|
+
--editor-container-padding: 1rem;
|
|
2249
|
+
--scrollbar-thumb: var(--button-gray-2);
|
|
2250
|
+
--scrollbar-thumb-hover: var(--button-gray-3);
|
|
2251
|
+
--color-slider-track: hsl(240, 100%, 90%);
|
|
2252
|
+
--color-slider-thumb: var(--color-gray-80);
|
|
2253
|
+
--modal-shadow:
|
|
2254
|
+
0px 100px 80px rgba(0, 0, 0, 0.07),
|
|
2255
|
+
0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198),
|
|
2256
|
+
0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275),
|
|
2257
|
+
0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035),
|
|
2258
|
+
0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725),
|
|
2259
|
+
0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);
|
|
2260
|
+
--avatar-border-color: var(--color-gray-20);
|
|
2261
|
+
--sidebar-shadow:
|
|
2262
|
+
0px 100px 80px rgba(0, 0, 0, 0.07),
|
|
2263
|
+
0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198),
|
|
2264
|
+
0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275),
|
|
2265
|
+
0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035),
|
|
2266
|
+
0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725),
|
|
2267
|
+
0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);
|
|
2268
|
+
--sidebar-border-color: var(--color-surface-high);
|
|
2269
|
+
--sidebar-bg-color: var(--island-bg-color);
|
|
2270
|
+
--library-dropdown-shadow:
|
|
2271
|
+
0px 15px 6px rgba(0, 0, 0, 0.01),
|
|
2272
|
+
0px 8px 5px rgba(0, 0, 0, 0.05),
|
|
2273
|
+
0px 4px 4px rgba(0, 0, 0, 0.09),
|
|
2274
|
+
0px 1px 2px rgba(0, 0, 0, 0.1),
|
|
2275
|
+
0px 0px 0px rgba(0, 0, 0, 0.1);
|
|
2276
|
+
--space-factor: 0.25rem;
|
|
2277
|
+
--text-primary-color: var(--color-on-surface);
|
|
2278
|
+
--color-selection: #6965db;
|
|
2279
|
+
--color-icon-white: #ffffff;
|
|
2280
|
+
--color-primary: #6965db;
|
|
2281
|
+
--color-primary-darker: #5b57d1;
|
|
2282
|
+
--color-primary-darkest: #4a47b1;
|
|
2283
|
+
--color-primary-light: #e3e2fe;
|
|
2284
|
+
--color-primary-light-darker: #d7d5ff;
|
|
2285
|
+
--color-primary-hover: #5753d0;
|
|
2286
|
+
--color-gray-10: #f5f5f5;
|
|
2287
|
+
--color-gray-20: #ebebeb;
|
|
2288
|
+
--color-gray-30: #d6d6d6;
|
|
2289
|
+
--color-gray-40: #b8b8b8;
|
|
2290
|
+
--color-gray-50: #999999;
|
|
2291
|
+
--color-gray-60: #7a7a7a;
|
|
2292
|
+
--color-gray-70: #5c5c5c;
|
|
2293
|
+
--color-gray-80: #3d3d3d;
|
|
2294
|
+
--color-gray-85: #242424;
|
|
2295
|
+
--color-gray-90: #1e1e1e;
|
|
2296
|
+
--color-gray-100: #121212;
|
|
2297
|
+
--color-disabled: var(--color-gray-40);
|
|
2298
|
+
--color-warning: #fceeca;
|
|
2299
|
+
--color-warning-dark: #f5c354;
|
|
2300
|
+
--color-warning-darker: #f3ab2c;
|
|
2301
|
+
--color-warning-darkest: #ec8b14;
|
|
2302
|
+
--color-text-warning: var(--text-primary-color);
|
|
2303
|
+
--color-danger: #db6965;
|
|
2304
|
+
--color-danger-dark: #db6965;
|
|
2305
|
+
--color-danger-darker: #d65550;
|
|
2306
|
+
--color-danger-darkest: #d1413c;
|
|
2307
|
+
--color-danger-text: black;
|
|
2308
|
+
--color-danger-background: #fff0f0;
|
|
2309
|
+
--color-danger-icon-background: #ffdad6;
|
|
2310
|
+
--color-danger-color: #700000;
|
|
2311
|
+
--color-danger-icon-color: #700000;
|
|
2312
|
+
--color-warning-background: var(--color-warning);
|
|
2313
|
+
--color-warning-icon-background: var(--color-warning-dark);
|
|
2314
|
+
--color-warning-color: var(--text-primary-color);
|
|
2315
|
+
--color-warning-icon-color: var(--text-primary-color);
|
|
2316
|
+
--color-muted: var(--color-gray-30);
|
|
2317
|
+
--color-muted-darker: var(--color-gray-60);
|
|
2318
|
+
--color-muted-darkest: var(--color-gray-100);
|
|
2319
|
+
--color-muted-background: var(--color-gray-80);
|
|
2320
|
+
--color-muted-background-darker: var(--color-gray-100);
|
|
2321
|
+
--color-promo: var(--color-primary);
|
|
2322
|
+
--color-success: #cafccc;
|
|
2323
|
+
--color-success-darker: #bafabc;
|
|
2324
|
+
--color-success-darkest: #a5eba8;
|
|
2325
|
+
--color-success-text: #268029;
|
|
2326
|
+
--color-success-contrast: #65bb6a;
|
|
2327
|
+
--color-success-contrast-hover: #6bcf70;
|
|
2328
|
+
--color-success-contrast-active: #6edf74;
|
|
2329
|
+
--color-logo-icon: var(--color-primary);
|
|
2330
|
+
--color-logo-text: #190064;
|
|
2331
|
+
--border-radius-md: 0.375rem;
|
|
2332
|
+
--border-radius-lg: 0.5rem;
|
|
2333
|
+
--color-surface-high: #f1f0ff;
|
|
2334
|
+
--color-surface-mid: #f6f6f9;
|
|
2335
|
+
--color-surface-low: #ececf4;
|
|
2336
|
+
--color-surface-lowest: #ffffff;
|
|
2337
|
+
--color-on-surface: #1b1b1f;
|
|
2338
|
+
--color-brand-hover: #5753d0;
|
|
2339
|
+
--color-on-primary-container: #030064;
|
|
2340
|
+
--color-surface-primary-container: #e0dfff;
|
|
2341
|
+
--color-brand-active: #4440bf;
|
|
2342
|
+
--color-border-outline: #767680;
|
|
2343
|
+
--color-border-outline-variant: #c5c5d0;
|
|
2344
|
+
--color-surface-primary-container: #e0dfff;
|
|
2345
|
+
--color-badge: #0b6513;
|
|
2346
|
+
--background-color-badge: #d3ffd2;
|
|
2190
2347
|
}
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2348
|
+
@media screen and (min-device-width: 1921px) {
|
|
2349
|
+
.excalidraw {
|
|
2350
|
+
--lg-button-size: 2.5rem;
|
|
2351
|
+
--lg-icon-size: 1.25rem;
|
|
2352
|
+
--default-button-size: 2.25rem;
|
|
2353
|
+
--default-icon-size: 1.25rem;
|
|
2354
|
+
}
|
|
2196
2355
|
}
|
|
2197
|
-
.excalidraw
|
|
2198
|
-
|
|
2199
|
-
align-items: center;
|
|
2200
|
-
justify-content: center;
|
|
2201
|
-
gap: 0.625rem;
|
|
2202
|
-
position: relative;
|
|
2203
|
-
}
|
|
2204
|
-
.excalidraw .library-menu-control-buttons--at-bottom::before {
|
|
2205
|
-
content: "";
|
|
2206
|
-
width: calc(100% - 1.5rem);
|
|
2207
|
-
height: 1px;
|
|
2208
|
-
position: absolute;
|
|
2209
|
-
top: -1px;
|
|
2210
|
-
background: var(--sidebar-border-color);
|
|
2211
|
-
}
|
|
2212
|
-
.excalidraw .library-menu-browse-button {
|
|
2213
|
-
flex: 1;
|
|
2214
|
-
height: var(--lg-button-size);
|
|
2215
|
-
display: flex;
|
|
2216
|
-
align-items: center;
|
|
2217
|
-
justify-content: center;
|
|
2218
|
-
overflow: hidden;
|
|
2219
|
-
position: relative;
|
|
2220
|
-
border-radius: var(--border-radius-lg);
|
|
2221
|
-
background-color: var(--color-primary);
|
|
2222
|
-
color: #ffffff;
|
|
2223
|
-
text-align: center;
|
|
2224
|
-
white-space: nowrap;
|
|
2225
|
-
text-decoration: none !important;
|
|
2226
|
-
font-weight: 600;
|
|
2227
|
-
font-size: 0.75rem;
|
|
2228
|
-
}
|
|
2229
|
-
.excalidraw .library-menu-browse-button:hover {
|
|
2230
|
-
background-color: var(--color-brand-hover);
|
|
2231
|
-
}
|
|
2232
|
-
.excalidraw .library-menu-browse-button:active {
|
|
2233
|
-
background-color: var(--color-brand-active);
|
|
2234
|
-
}
|
|
2235
|
-
.excalidraw.theme--dark .library-menu-browse-button {
|
|
2236
|
-
color: var(--color-gray-100);
|
|
2237
|
-
}
|
|
2238
|
-
.excalidraw.excalidraw--mobile .library-menu-browse-button {
|
|
2239
|
-
height: var(--default-button-size);
|
|
2240
|
-
}
|
|
2241
|
-
.excalidraw .layer-ui__library .dropdown-menu {
|
|
2242
|
-
width: auto;
|
|
2243
|
-
top: initial;
|
|
2244
|
-
right: 0;
|
|
2245
|
-
left: initial;
|
|
2246
|
-
bottom: 100%;
|
|
2247
|
-
margin-bottom: 0.625rem;
|
|
2248
|
-
}
|
|
2249
|
-
.excalidraw .layer-ui__library .dropdown-menu .dropdown-menu-container {
|
|
2250
|
-
width: 196px;
|
|
2251
|
-
box-shadow: var(--library-dropdown-shadow);
|
|
2252
|
-
border-radius: var(--border-radius-lg);
|
|
2253
|
-
padding: 0.25rem 0.5rem;
|
|
2254
|
-
}
|
|
2255
|
-
.excalidraw .layer-ui__library .library-menu-dropdown-container {
|
|
2256
|
-
position: relative;
|
|
2257
|
-
}
|
|
2258
|
-
.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading {
|
|
2259
|
-
padding: 0;
|
|
2260
|
-
position: absolute;
|
|
2261
|
-
top: 1rem;
|
|
2262
|
-
right: 0.75rem;
|
|
2263
|
-
z-index: 1;
|
|
2264
|
-
}
|
|
2265
|
-
.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading .dropdown-menu {
|
|
2266
|
-
top: 100%;
|
|
2267
|
-
}
|
|
2268
|
-
|
|
2269
|
-
/* components/Modal.scss */
|
|
2270
|
-
.excalidraw.excalidraw-modal-container {
|
|
2271
|
-
position: absolute;
|
|
2272
|
-
z-index: var(--zIndex-modal);
|
|
2273
|
-
}
|
|
2274
|
-
.excalidraw .Modal {
|
|
2275
|
-
position: absolute;
|
|
2276
|
-
top: 0;
|
|
2277
|
-
left: 0;
|
|
2278
|
-
right: 0;
|
|
2279
|
-
bottom: 0;
|
|
2280
|
-
display: flex;
|
|
2281
|
-
align-items: center;
|
|
2282
|
-
justify-content: center;
|
|
2283
|
-
overflow: auto;
|
|
2284
|
-
padding: calc(var(--space-factor) * 10);
|
|
2285
|
-
display: flex;
|
|
2286
|
-
flex-direction: column;
|
|
2287
|
-
}
|
|
2288
|
-
.excalidraw .Modal .Island {
|
|
2289
|
-
padding: 2.5rem;
|
|
2290
|
-
border: 0;
|
|
2291
|
-
box-shadow: none;
|
|
2292
|
-
border-radius: 0;
|
|
2293
|
-
}
|
|
2294
|
-
.excalidraw .Modal.animations-disabled .Modal__background {
|
|
2295
|
-
animation: none;
|
|
2296
|
-
}
|
|
2297
|
-
.excalidraw .Modal.animations-disabled .Modal__content {
|
|
2298
|
-
animation: none;
|
|
2299
|
-
opacity: 1;
|
|
2300
|
-
}
|
|
2301
|
-
.excalidraw .Modal__background {
|
|
2302
|
-
position: fixed;
|
|
2303
|
-
top: 0;
|
|
2304
|
-
left: 0;
|
|
2305
|
-
right: 0;
|
|
2306
|
-
bottom: 0;
|
|
2307
|
-
z-index: 1;
|
|
2308
|
-
background-color: rgba(18, 18, 18, 0.2);
|
|
2309
|
-
animation: Modal__background__fade-in 0.1s linear forwards;
|
|
2310
|
-
}
|
|
2311
|
-
.excalidraw .Modal__content {
|
|
2312
|
-
position: relative;
|
|
2313
|
-
z-index: 2;
|
|
2314
|
-
width: 100%;
|
|
2315
|
-
max-width: var(--max-width);
|
|
2316
|
-
max-height: 100%;
|
|
2317
|
-
opacity: 0;
|
|
2318
|
-
transform: translateY(10px);
|
|
2319
|
-
animation: Modal__content_fade-in 0.025s ease-out 0s forwards;
|
|
2320
|
-
position: relative;
|
|
2321
|
-
overflow-y: auto;
|
|
2322
|
-
background: var(--island-bg-color);
|
|
2323
|
-
border: 1px solid var(--dialog-border-color);
|
|
2324
|
-
box-shadow: var(--modal-shadow);
|
|
2325
|
-
border-radius: 0.75rem;
|
|
2326
|
-
box-sizing: border-box;
|
|
2327
|
-
}
|
|
2328
|
-
.excalidraw .Modal__content:focus {
|
|
2329
|
-
outline: none;
|
|
2330
|
-
}
|
|
2331
|
-
@keyframes Modal__background__fade-in {
|
|
2332
|
-
from {
|
|
2333
|
-
opacity: 0;
|
|
2334
|
-
}
|
|
2335
|
-
to {
|
|
2336
|
-
opacity: 1;
|
|
2337
|
-
}
|
|
2338
|
-
}
|
|
2339
|
-
@keyframes Modal__content_fade-in {
|
|
2340
|
-
from {
|
|
2341
|
-
opacity: 0;
|
|
2342
|
-
transform: scale(0.9);
|
|
2343
|
-
}
|
|
2344
|
-
to {
|
|
2345
|
-
opacity: 1;
|
|
2346
|
-
transform: scale(1);
|
|
2347
|
-
}
|
|
2348
|
-
}
|
|
2349
|
-
.excalidraw .Modal__close {
|
|
2350
|
-
color: var(--icon-fill-color);
|
|
2351
|
-
margin: 0;
|
|
2352
|
-
padding: 0.375rem;
|
|
2353
|
-
position: absolute;
|
|
2354
|
-
top: 1rem;
|
|
2355
|
-
right: 1rem;
|
|
2356
|
-
border: 0;
|
|
2357
|
-
background-color: transparent;
|
|
2358
|
-
line-height: 0;
|
|
2359
|
-
cursor: pointer;
|
|
2360
|
-
}
|
|
2361
|
-
.excalidraw .Modal__close svg {
|
|
2362
|
-
width: 1.5rem;
|
|
2363
|
-
height: 1.5rem;
|
|
2364
|
-
}
|
|
2365
|
-
.excalidraw .Dialog--fullscreen .Modal {
|
|
2366
|
-
padding: 0;
|
|
2367
|
-
}
|
|
2368
|
-
.excalidraw .Dialog--fullscreen .Modal__content {
|
|
2369
|
-
position: absolute;
|
|
2370
|
-
top: 0;
|
|
2371
|
-
left: 0;
|
|
2372
|
-
right: 0;
|
|
2373
|
-
bottom: 0;
|
|
2374
|
-
max-width: 100%;
|
|
2375
|
-
border: 0;
|
|
2376
|
-
border-radius: 0;
|
|
2377
|
-
}
|
|
2378
|
-
|
|
2379
|
-
/* components/Dialog.scss */
|
|
2380
|
-
.excalidraw .Dialog {
|
|
2381
|
-
user-select: text;
|
|
2382
|
-
cursor: auto;
|
|
2383
|
-
}
|
|
2384
|
-
.excalidraw .Dialog__title {
|
|
2385
|
-
margin: 0;
|
|
2386
|
-
text-align: left;
|
|
2387
|
-
font-size: 1.25rem;
|
|
2388
|
-
border-bottom: 1px solid var(--dialog-border-color);
|
|
2389
|
-
padding: 0 0 0.75rem;
|
|
2390
|
-
margin-bottom: 1.5rem;
|
|
2391
|
-
}
|
|
2392
|
-
.excalidraw .Dialog__close {
|
|
2393
|
-
color: var(--color-gray-40);
|
|
2394
|
-
margin: 0;
|
|
2395
|
-
position: absolute;
|
|
2396
|
-
top: 0.75rem;
|
|
2397
|
-
right: 0.5rem;
|
|
2398
|
-
border: 0;
|
|
2399
|
-
background-color: transparent;
|
|
2400
|
-
line-height: 0;
|
|
2401
|
-
cursor: pointer;
|
|
2402
|
-
}
|
|
2403
|
-
.excalidraw .Dialog__close:hover {
|
|
2404
|
-
color: var(--color-gray-60);
|
|
2405
|
-
}
|
|
2406
|
-
.excalidraw .Dialog__close:active {
|
|
2407
|
-
color: var(--color-gray-40);
|
|
2408
|
-
}
|
|
2409
|
-
.excalidraw .Dialog__close svg {
|
|
2410
|
-
width: 1.5rem;
|
|
2411
|
-
height: 1.5rem;
|
|
2412
|
-
}
|
|
2413
|
-
.excalidraw .Dialog__close + .Dialog__content {
|
|
2414
|
-
--offset: 28px;
|
|
2415
|
-
height: calc(100% - var(--offset)) !important;
|
|
2416
|
-
margin-top: var(--offset) !important;
|
|
2417
|
-
}
|
|
2418
|
-
.excalidraw .Dialog--fullscreen .Dialog__close {
|
|
2419
|
-
top: 1.25rem;
|
|
2420
|
-
right: 1.25rem;
|
|
2421
|
-
}
|
|
2422
|
-
|
|
2423
|
-
/* components/Button.scss */
|
|
2424
|
-
.excalidraw {
|
|
2425
|
-
--theme-filter: none;
|
|
2426
|
-
--button-destructive-bg-color: #ffe3e3;
|
|
2427
|
-
--button-destructive-color: #c92a2a;
|
|
2428
|
-
--button-gray-1: #e9ecef;
|
|
2429
|
-
--button-gray-2: #ced4da;
|
|
2430
|
-
--button-gray-3: #adb5bd;
|
|
2431
|
-
--button-special-active-bg-color: #ebfbee;
|
|
2432
|
-
--dialog-border-color: var(--color-gray-20);
|
|
2433
|
-
--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>');
|
|
2434
|
-
--focus-highlight-color: #a5d8ff;
|
|
2435
|
-
--icon-fill-color: var(--color-on-surface);
|
|
2436
|
-
--icon-green-fill-color: #2b8a3e;
|
|
2437
|
-
--default-bg-color: #ffffff;
|
|
2438
|
-
--input-bg-color: #ffffff;
|
|
2439
|
-
--input-border-color: #ced4da;
|
|
2440
|
-
--input-hover-bg-color: #f1f3f5;
|
|
2441
|
-
--input-label-color: #495057;
|
|
2442
|
-
--island-bg-color: #ffffff;
|
|
2443
|
-
--keybinding-color: var(--color-gray-40);
|
|
2444
|
-
--link-color: #1c7ed6;
|
|
2445
|
-
--overlay-bg-color: rgba(255, 255, 255, 0.88);
|
|
2446
|
-
--popup-bg-color: var(--island-bg-color);
|
|
2447
|
-
--popup-secondary-bg-color: #f1f3f5;
|
|
2448
|
-
--popup-text-color: #000000;
|
|
2449
|
-
--popup-text-inverted-color: #ffffff;
|
|
2450
|
-
--select-highlight-color: #339af0;
|
|
2451
|
-
--shadow-island:
|
|
2452
|
-
0px 0px 0.9310142993927002px 0px rgba(0, 0, 0, 0.17),
|
|
2453
|
-
0px 0px 3.1270833015441895px 0px rgba(0, 0, 0, 0.08),
|
|
2454
|
-
0px 7px 14px 0px rgba(0, 0, 0, 0.05);
|
|
2455
|
-
--button-hover-bg: var(--color-surface-high);
|
|
2456
|
-
--button-active-bg: var(--color-surface-high);
|
|
2457
|
-
--button-active-border: var(--color-brand-active);
|
|
2458
|
-
--default-border-color: var(--color-surface-high);
|
|
2459
|
-
--default-button-size: 2rem;
|
|
2460
|
-
--default-icon-size: 1rem;
|
|
2461
|
-
--lg-button-size: 2.25rem;
|
|
2462
|
-
--lg-icon-size: 1rem;
|
|
2463
|
-
--editor-container-padding: 1rem;
|
|
2464
|
-
--scrollbar-thumb: var(--button-gray-2);
|
|
2465
|
-
--scrollbar-thumb-hover: var(--button-gray-3);
|
|
2466
|
-
--color-slider-track: hsl(240, 100%, 90%);
|
|
2467
|
-
--color-slider-thumb: var(--color-gray-80);
|
|
2468
|
-
--modal-shadow:
|
|
2469
|
-
0px 100px 80px rgba(0, 0, 0, 0.07),
|
|
2470
|
-
0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198),
|
|
2471
|
-
0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275),
|
|
2472
|
-
0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035),
|
|
2473
|
-
0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725),
|
|
2474
|
-
0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);
|
|
2475
|
-
--avatar-border-color: var(--color-gray-20);
|
|
2476
|
-
--sidebar-shadow:
|
|
2477
|
-
0px 100px 80px rgba(0, 0, 0, 0.07),
|
|
2478
|
-
0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198),
|
|
2479
|
-
0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275),
|
|
2480
|
-
0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035),
|
|
2481
|
-
0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725),
|
|
2482
|
-
0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);
|
|
2483
|
-
--sidebar-border-color: var(--color-surface-high);
|
|
2484
|
-
--sidebar-bg-color: var(--island-bg-color);
|
|
2485
|
-
--library-dropdown-shadow:
|
|
2486
|
-
0px 15px 6px rgba(0, 0, 0, 0.01),
|
|
2487
|
-
0px 8px 5px rgba(0, 0, 0, 0.05),
|
|
2488
|
-
0px 4px 4px rgba(0, 0, 0, 0.09),
|
|
2489
|
-
0px 1px 2px rgba(0, 0, 0, 0.1),
|
|
2490
|
-
0px 0px 0px rgba(0, 0, 0, 0.1);
|
|
2491
|
-
--space-factor: 0.25rem;
|
|
2492
|
-
--text-primary-color: var(--color-on-surface);
|
|
2493
|
-
--color-selection: #6965db;
|
|
2494
|
-
--color-icon-white: #ffffff;
|
|
2495
|
-
--color-primary: #6965db;
|
|
2496
|
-
--color-primary-darker: #5b57d1;
|
|
2497
|
-
--color-primary-darkest: #4a47b1;
|
|
2498
|
-
--color-primary-light: #e3e2fe;
|
|
2499
|
-
--color-primary-light-darker: #d7d5ff;
|
|
2500
|
-
--color-primary-hover: #5753d0;
|
|
2501
|
-
--color-gray-10: #f5f5f5;
|
|
2502
|
-
--color-gray-20: #ebebeb;
|
|
2503
|
-
--color-gray-30: #d6d6d6;
|
|
2504
|
-
--color-gray-40: #b8b8b8;
|
|
2505
|
-
--color-gray-50: #999999;
|
|
2506
|
-
--color-gray-60: #7a7a7a;
|
|
2507
|
-
--color-gray-70: #5c5c5c;
|
|
2508
|
-
--color-gray-80: #3d3d3d;
|
|
2509
|
-
--color-gray-85: #242424;
|
|
2510
|
-
--color-gray-90: #1e1e1e;
|
|
2511
|
-
--color-gray-100: #121212;
|
|
2512
|
-
--color-disabled: var(--color-gray-40);
|
|
2513
|
-
--color-warning: #fceeca;
|
|
2514
|
-
--color-warning-dark: #f5c354;
|
|
2515
|
-
--color-warning-darker: #f3ab2c;
|
|
2516
|
-
--color-warning-darkest: #ec8b14;
|
|
2517
|
-
--color-text-warning: var(--text-primary-color);
|
|
2518
|
-
--color-danger: #db6965;
|
|
2519
|
-
--color-danger-dark: #db6965;
|
|
2520
|
-
--color-danger-darker: #d65550;
|
|
2521
|
-
--color-danger-darkest: #d1413c;
|
|
2522
|
-
--color-danger-text: black;
|
|
2523
|
-
--color-danger-background: #fff0f0;
|
|
2524
|
-
--color-danger-icon-background: #ffdad6;
|
|
2525
|
-
--color-danger-color: #700000;
|
|
2526
|
-
--color-danger-icon-color: #700000;
|
|
2527
|
-
--color-warning-background: var(--color-warning);
|
|
2528
|
-
--color-warning-icon-background: var(--color-warning-dark);
|
|
2529
|
-
--color-warning-color: var(--text-primary-color);
|
|
2530
|
-
--color-warning-icon-color: var(--text-primary-color);
|
|
2531
|
-
--color-muted: var(--color-gray-30);
|
|
2532
|
-
--color-muted-darker: var(--color-gray-60);
|
|
2533
|
-
--color-muted-darkest: var(--color-gray-100);
|
|
2534
|
-
--color-muted-background: var(--color-gray-80);
|
|
2535
|
-
--color-muted-background-darker: var(--color-gray-100);
|
|
2536
|
-
--color-promo: var(--color-primary);
|
|
2537
|
-
--color-success: #cafccc;
|
|
2538
|
-
--color-success-darker: #bafabc;
|
|
2539
|
-
--color-success-darkest: #a5eba8;
|
|
2540
|
-
--color-success-text: #268029;
|
|
2541
|
-
--color-success-contrast: #65bb6a;
|
|
2542
|
-
--color-success-contrast-hover: #6bcf70;
|
|
2543
|
-
--color-success-contrast-active: #6edf74;
|
|
2544
|
-
--color-logo-icon: var(--color-primary);
|
|
2545
|
-
--color-logo-text: #190064;
|
|
2546
|
-
--border-radius-md: 0.375rem;
|
|
2547
|
-
--border-radius-lg: 0.5rem;
|
|
2548
|
-
--color-surface-high: #f1f0ff;
|
|
2549
|
-
--color-surface-mid: #f6f6f9;
|
|
2550
|
-
--color-surface-low: #ececf4;
|
|
2551
|
-
--color-surface-lowest: #ffffff;
|
|
2552
|
-
--color-on-surface: #1b1b1f;
|
|
2553
|
-
--color-brand-hover: #5753d0;
|
|
2554
|
-
--color-on-primary-container: #030064;
|
|
2555
|
-
--color-surface-primary-container: #e0dfff;
|
|
2556
|
-
--color-brand-active: #4440bf;
|
|
2557
|
-
--color-border-outline: #767680;
|
|
2558
|
-
--color-border-outline-variant: #c5c5d0;
|
|
2559
|
-
--color-surface-primary-container: #e0dfff;
|
|
2560
|
-
--color-badge: #0b6513;
|
|
2561
|
-
--background-color-badge: #d3ffd2;
|
|
2562
|
-
}
|
|
2563
|
-
@media screen and (min-device-width: 1921px) {
|
|
2564
|
-
.excalidraw {
|
|
2565
|
-
--lg-button-size: 2.5rem;
|
|
2566
|
-
--lg-icon-size: 1.25rem;
|
|
2567
|
-
--default-button-size: 2.25rem;
|
|
2568
|
-
--default-icon-size: 1.25rem;
|
|
2569
|
-
}
|
|
2570
|
-
}
|
|
2571
|
-
.excalidraw.theme--dark.theme--dark-background-none {
|
|
2572
|
-
background: none;
|
|
2356
|
+
.excalidraw.theme--dark.theme--dark-background-none {
|
|
2357
|
+
background: none;
|
|
2573
2358
|
}
|
|
2574
2359
|
.excalidraw.theme--dark {
|
|
2575
2360
|
--theme-filter: invert(93%) hue-rotate(180deg);
|
|
@@ -2707,85 +2492,361 @@
|
|
|
2707
2492
|
--ExcTextField--border-active: var(--color-brand-active);
|
|
2708
2493
|
--ExcTextField--placeholder: var(--color-border-outline-variant);
|
|
2709
2494
|
}
|
|
2710
|
-
.excalidraw
|
|
2711
|
-
|
|
2495
|
+
.excalidraw.theme--dark {
|
|
2496
|
+
--ExcTextField--border: var(--color-border-outline-variant);
|
|
2497
|
+
}
|
|
2498
|
+
.excalidraw .ExcTextField {
|
|
2499
|
+
position: relative;
|
|
2500
|
+
}
|
|
2501
|
+
.excalidraw .ExcTextField svg {
|
|
2502
|
+
position: absolute;
|
|
2503
|
+
top: 50%;
|
|
2504
|
+
transform: translateY(-50%);
|
|
2505
|
+
left: 0.75rem;
|
|
2506
|
+
width: 1.25rem;
|
|
2507
|
+
height: 1.25rem;
|
|
2508
|
+
color: var(--color-gray-40);
|
|
2509
|
+
z-index: 1;
|
|
2510
|
+
}
|
|
2511
|
+
.excalidraw .ExcTextField--fullWidth {
|
|
2512
|
+
width: 100%;
|
|
2513
|
+
flex-grow: 1;
|
|
2514
|
+
}
|
|
2515
|
+
.excalidraw .ExcTextField__label {
|
|
2516
|
+
font-family: "Assistant";
|
|
2517
|
+
font-style: normal;
|
|
2518
|
+
font-weight: 600;
|
|
2519
|
+
font-size: 0.875rem;
|
|
2520
|
+
line-height: 150%;
|
|
2521
|
+
color: var(--ExcTextField--label-color);
|
|
2522
|
+
margin-bottom: 0.25rem;
|
|
2523
|
+
user-select: none;
|
|
2524
|
+
}
|
|
2525
|
+
.excalidraw .ExcTextField__input {
|
|
2526
|
+
box-sizing: border-box;
|
|
2527
|
+
display: flex;
|
|
2528
|
+
flex-direction: row;
|
|
2529
|
+
align-items: center;
|
|
2530
|
+
height: 3rem;
|
|
2531
|
+
background: var(--ExcTextField--background);
|
|
2532
|
+
border: 1px solid var(--ExcTextField--border);
|
|
2533
|
+
border-radius: 0.5rem;
|
|
2534
|
+
padding: 0 0.75rem;
|
|
2535
|
+
}
|
|
2536
|
+
.excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):hover {
|
|
2537
|
+
border-color: var(--ExcTextField--border-hover);
|
|
2538
|
+
}
|
|
2539
|
+
.excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):active,
|
|
2540
|
+
.excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):focus-within {
|
|
2541
|
+
border-color: var(--ExcTextField--border-active);
|
|
2542
|
+
}
|
|
2543
|
+
.excalidraw .ExcTextField__input input {
|
|
2544
|
+
display: flex;
|
|
2545
|
+
align-items: center;
|
|
2546
|
+
border: none;
|
|
2547
|
+
outline: none;
|
|
2548
|
+
padding: 0;
|
|
2549
|
+
margin: 0;
|
|
2550
|
+
height: 1.5rem;
|
|
2551
|
+
color: var(--ExcTextField--color);
|
|
2552
|
+
font-family: "Assistant";
|
|
2553
|
+
font-style: normal;
|
|
2554
|
+
font-weight: 400;
|
|
2555
|
+
font-size: 1rem;
|
|
2556
|
+
line-height: 150%;
|
|
2557
|
+
text-overflow: ellipsis;
|
|
2558
|
+
background: transparent;
|
|
2559
|
+
width: 100%;
|
|
2560
|
+
}
|
|
2561
|
+
.excalidraw .ExcTextField__input input:not(:focus):hover {
|
|
2562
|
+
background-color: initial;
|
|
2563
|
+
}
|
|
2564
|
+
.excalidraw .ExcTextField__input input:focus {
|
|
2565
|
+
outline: initial;
|
|
2566
|
+
box-shadow: initial;
|
|
2567
|
+
}
|
|
2568
|
+
.excalidraw .ExcTextField__input--readonly {
|
|
2569
|
+
background: var(--ExcTextField--readonly--background);
|
|
2570
|
+
border-color: var(--ExcTextField--readonly--border);
|
|
2571
|
+
}
|
|
2572
|
+
.excalidraw .ExcTextField__input--readonly input {
|
|
2573
|
+
color: var(--ExcTextField--readonly--color);
|
|
2574
|
+
}
|
|
2575
|
+
.excalidraw .ExcTextField--hasIcon .ExcTextField__input {
|
|
2576
|
+
padding-left: 2.5rem;
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
/* components/LibraryMenu.scss */
|
|
2580
|
+
.excalidraw .layer-ui__library {
|
|
2581
|
+
display: flex;
|
|
2582
|
+
flex-direction: column;
|
|
2583
|
+
flex: 1 1 auto;
|
|
2584
|
+
}
|
|
2585
|
+
.excalidraw .library-actions-counter {
|
|
2586
|
+
background-color: var(--color-primary);
|
|
2587
|
+
color: var(--color-primary-light);
|
|
2588
|
+
font-weight: 700;
|
|
2589
|
+
display: flex;
|
|
2590
|
+
align-items: center;
|
|
2591
|
+
justify-content: center;
|
|
2592
|
+
border-radius: 50%;
|
|
2593
|
+
width: 1rem;
|
|
2594
|
+
height: 1rem;
|
|
2595
|
+
position: absolute;
|
|
2596
|
+
bottom: -0.25rem;
|
|
2597
|
+
right: -0.25rem;
|
|
2598
|
+
font-size: 0.625rem;
|
|
2599
|
+
pointer-events: none;
|
|
2600
|
+
}
|
|
2601
|
+
.excalidraw .layer-ui__library-message {
|
|
2602
|
+
padding: 2rem;
|
|
2603
|
+
min-width: 200px;
|
|
2604
|
+
display: flex;
|
|
2605
|
+
flex-direction: column;
|
|
2606
|
+
align-items: center;
|
|
2607
|
+
flex-grow: 1;
|
|
2608
|
+
justify-content: center;
|
|
2609
|
+
}
|
|
2610
|
+
.excalidraw .layer-ui__library-message span {
|
|
2611
|
+
font-size: 0.8em;
|
|
2612
|
+
}
|
|
2613
|
+
.excalidraw .publish-library-success .Dialog__content {
|
|
2614
|
+
display: flex;
|
|
2615
|
+
flex-direction: column;
|
|
2616
|
+
}
|
|
2617
|
+
.excalidraw .publish-library-success-close.ToolIcon_type_button {
|
|
2618
|
+
background-color: #228be6;
|
|
2619
|
+
align-self: flex-end;
|
|
2620
|
+
}
|
|
2621
|
+
.excalidraw .publish-library-success-close.ToolIcon_type_button:hover {
|
|
2622
|
+
background-color: #1971c2;
|
|
2623
|
+
}
|
|
2624
|
+
.excalidraw .publish-library-success-close.ToolIcon_type_button .ToolIcon__icon {
|
|
2625
|
+
width: auto;
|
|
2626
|
+
font-size: 1rem;
|
|
2627
|
+
color: #ffffff;
|
|
2628
|
+
padding: 0 0.5rem;
|
|
2629
|
+
}
|
|
2630
|
+
.excalidraw .library-menu-control-buttons {
|
|
2631
|
+
display: flex;
|
|
2632
|
+
align-items: center;
|
|
2633
|
+
justify-content: center;
|
|
2634
|
+
gap: 0.625rem;
|
|
2635
|
+
position: relative;
|
|
2636
|
+
}
|
|
2637
|
+
.excalidraw .library-menu-control-buttons--at-bottom::before {
|
|
2638
|
+
content: "";
|
|
2639
|
+
width: calc(100% - 1.5rem);
|
|
2640
|
+
height: 1px;
|
|
2641
|
+
position: absolute;
|
|
2642
|
+
top: -1px;
|
|
2643
|
+
background: var(--sidebar-border-color);
|
|
2644
|
+
}
|
|
2645
|
+
.excalidraw .library-menu-browse-button {
|
|
2646
|
+
flex: 1;
|
|
2647
|
+
height: var(--lg-button-size);
|
|
2648
|
+
display: flex;
|
|
2649
|
+
align-items: center;
|
|
2650
|
+
justify-content: center;
|
|
2651
|
+
overflow: hidden;
|
|
2652
|
+
position: relative;
|
|
2653
|
+
border-radius: var(--border-radius-lg);
|
|
2654
|
+
background-color: var(--color-primary);
|
|
2655
|
+
color: #ffffff;
|
|
2656
|
+
text-align: center;
|
|
2657
|
+
white-space: nowrap;
|
|
2658
|
+
text-decoration: none !important;
|
|
2659
|
+
font-weight: 600;
|
|
2660
|
+
font-size: 0.75rem;
|
|
2661
|
+
}
|
|
2662
|
+
.excalidraw .library-menu-browse-button:hover {
|
|
2663
|
+
background-color: var(--color-brand-hover);
|
|
2664
|
+
}
|
|
2665
|
+
.excalidraw .library-menu-browse-button:active {
|
|
2666
|
+
background-color: var(--color-brand-active);
|
|
2667
|
+
}
|
|
2668
|
+
.excalidraw.theme--dark .library-menu-browse-button {
|
|
2669
|
+
color: var(--color-gray-100);
|
|
2670
|
+
}
|
|
2671
|
+
.excalidraw.excalidraw--mobile .library-menu-browse-button {
|
|
2672
|
+
height: var(--default-button-size);
|
|
2673
|
+
}
|
|
2674
|
+
.excalidraw .layer-ui__library .dropdown-menu {
|
|
2675
|
+
width: auto;
|
|
2676
|
+
top: initial;
|
|
2677
|
+
right: 0;
|
|
2678
|
+
left: initial;
|
|
2679
|
+
bottom: 100%;
|
|
2680
|
+
margin-bottom: 0.625rem;
|
|
2681
|
+
}
|
|
2682
|
+
.excalidraw .layer-ui__library .dropdown-menu .dropdown-menu-container {
|
|
2683
|
+
width: 196px;
|
|
2684
|
+
box-shadow: var(--library-dropdown-shadow);
|
|
2685
|
+
border-radius: var(--border-radius-lg);
|
|
2686
|
+
padding: 0.25rem 0.5rem;
|
|
2687
|
+
}
|
|
2688
|
+
.excalidraw .layer-ui__library .library-menu-dropdown-container {
|
|
2689
|
+
position: relative;
|
|
2690
|
+
}
|
|
2691
|
+
.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading {
|
|
2692
|
+
margin-left: auto;
|
|
2693
|
+
}
|
|
2694
|
+
.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading .dropdown-menu {
|
|
2695
|
+
top: 100%;
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
/* components/Modal.scss */
|
|
2699
|
+
.excalidraw.excalidraw-modal-container {
|
|
2700
|
+
position: absolute;
|
|
2701
|
+
z-index: var(--zIndex-modal);
|
|
2702
|
+
}
|
|
2703
|
+
.excalidraw .Modal {
|
|
2704
|
+
position: absolute;
|
|
2705
|
+
top: 0;
|
|
2706
|
+
left: 0;
|
|
2707
|
+
right: 0;
|
|
2708
|
+
bottom: 0;
|
|
2709
|
+
display: flex;
|
|
2710
|
+
align-items: center;
|
|
2711
|
+
justify-content: center;
|
|
2712
|
+
overflow: auto;
|
|
2713
|
+
padding: calc(var(--space-factor) * 10);
|
|
2714
|
+
display: flex;
|
|
2715
|
+
flex-direction: column;
|
|
2716
|
+
}
|
|
2717
|
+
.excalidraw .Modal .Island {
|
|
2718
|
+
padding: 2.5rem;
|
|
2719
|
+
border: 0;
|
|
2720
|
+
box-shadow: none;
|
|
2721
|
+
border-radius: 0;
|
|
2722
|
+
}
|
|
2723
|
+
.excalidraw .Modal.animations-disabled .Modal__background {
|
|
2724
|
+
animation: none;
|
|
2725
|
+
}
|
|
2726
|
+
.excalidraw .Modal.animations-disabled .Modal__content {
|
|
2727
|
+
animation: none;
|
|
2728
|
+
opacity: 1;
|
|
2712
2729
|
}
|
|
2713
|
-
.excalidraw .
|
|
2714
|
-
position:
|
|
2715
|
-
top:
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
height: 1.25rem;
|
|
2720
|
-
color: var(--color-gray-40);
|
|
2730
|
+
.excalidraw .Modal__background {
|
|
2731
|
+
position: fixed;
|
|
2732
|
+
top: 0;
|
|
2733
|
+
left: 0;
|
|
2734
|
+
right: 0;
|
|
2735
|
+
bottom: 0;
|
|
2721
2736
|
z-index: 1;
|
|
2737
|
+
background-color: rgba(18, 18, 18, 0.2);
|
|
2738
|
+
animation: Modal__background__fade-in 0.1s linear forwards;
|
|
2722
2739
|
}
|
|
2723
|
-
.excalidraw .
|
|
2740
|
+
.excalidraw .Modal__content {
|
|
2741
|
+
position: relative;
|
|
2742
|
+
z-index: 2;
|
|
2724
2743
|
width: 100%;
|
|
2725
|
-
|
|
2744
|
+
max-width: var(--max-width);
|
|
2745
|
+
max-height: 100%;
|
|
2746
|
+
opacity: 0;
|
|
2747
|
+
transform: translateY(10px);
|
|
2748
|
+
animation: Modal__content_fade-in 0.025s ease-out 0s forwards;
|
|
2749
|
+
position: relative;
|
|
2750
|
+
overflow-y: auto;
|
|
2751
|
+
background: var(--island-bg-color);
|
|
2752
|
+
border: 1px solid var(--dialog-border-color);
|
|
2753
|
+
box-shadow: var(--modal-shadow);
|
|
2754
|
+
border-radius: 0.75rem;
|
|
2755
|
+
box-sizing: border-box;
|
|
2726
2756
|
}
|
|
2727
|
-
.excalidraw .
|
|
2728
|
-
|
|
2729
|
-
font-style: normal;
|
|
2730
|
-
font-weight: 600;
|
|
2731
|
-
font-size: 0.875rem;
|
|
2732
|
-
line-height: 150%;
|
|
2733
|
-
color: var(--ExcTextField--label-color);
|
|
2734
|
-
margin-bottom: 0.25rem;
|
|
2735
|
-
user-select: none;
|
|
2757
|
+
.excalidraw .Modal__content:focus {
|
|
2758
|
+
outline: none;
|
|
2736
2759
|
}
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
border: 1px solid var(--ExcTextField--border);
|
|
2745
|
-
border-radius: 0.5rem;
|
|
2746
|
-
padding: 0 0.75rem;
|
|
2760
|
+
@keyframes Modal__background__fade-in {
|
|
2761
|
+
from {
|
|
2762
|
+
opacity: 0;
|
|
2763
|
+
}
|
|
2764
|
+
to {
|
|
2765
|
+
opacity: 1;
|
|
2766
|
+
}
|
|
2747
2767
|
}
|
|
2748
|
-
|
|
2749
|
-
|
|
2768
|
+
@keyframes Modal__content_fade-in {
|
|
2769
|
+
from {
|
|
2770
|
+
opacity: 0;
|
|
2771
|
+
transform: scale(0.9);
|
|
2772
|
+
}
|
|
2773
|
+
to {
|
|
2774
|
+
opacity: 1;
|
|
2775
|
+
transform: scale(1);
|
|
2776
|
+
}
|
|
2750
2777
|
}
|
|
2751
|
-
.excalidraw .
|
|
2752
|
-
|
|
2753
|
-
|
|
2778
|
+
.excalidraw .Modal__close {
|
|
2779
|
+
color: var(--icon-fill-color);
|
|
2780
|
+
margin: 0;
|
|
2781
|
+
padding: 0.375rem;
|
|
2782
|
+
position: absolute;
|
|
2783
|
+
top: 1rem;
|
|
2784
|
+
right: 1rem;
|
|
2785
|
+
border: 0;
|
|
2786
|
+
background-color: transparent;
|
|
2787
|
+
line-height: 0;
|
|
2788
|
+
cursor: pointer;
|
|
2754
2789
|
}
|
|
2755
|
-
.excalidraw .
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2790
|
+
.excalidraw .Modal__close svg {
|
|
2791
|
+
width: 1.5rem;
|
|
2792
|
+
height: 1.5rem;
|
|
2793
|
+
}
|
|
2794
|
+
.excalidraw .Dialog--fullscreen .Modal {
|
|
2760
2795
|
padding: 0;
|
|
2796
|
+
}
|
|
2797
|
+
.excalidraw .Dialog--fullscreen .Modal__content {
|
|
2798
|
+
position: absolute;
|
|
2799
|
+
top: 0;
|
|
2800
|
+
left: 0;
|
|
2801
|
+
right: 0;
|
|
2802
|
+
bottom: 0;
|
|
2803
|
+
max-width: 100%;
|
|
2804
|
+
border: 0;
|
|
2805
|
+
border-radius: 0;
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
/* components/Dialog.scss */
|
|
2809
|
+
.excalidraw .Dialog {
|
|
2810
|
+
user-select: text;
|
|
2811
|
+
cursor: auto;
|
|
2812
|
+
}
|
|
2813
|
+
.excalidraw .Dialog__title {
|
|
2761
2814
|
margin: 0;
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
font-size: 1rem;
|
|
2768
|
-
line-height: 150%;
|
|
2769
|
-
text-overflow: ellipsis;
|
|
2770
|
-
background: transparent;
|
|
2771
|
-
width: 100%;
|
|
2815
|
+
text-align: left;
|
|
2816
|
+
font-size: 1.25rem;
|
|
2817
|
+
border-bottom: 1px solid var(--dialog-border-color);
|
|
2818
|
+
padding: 0 0 0.75rem;
|
|
2819
|
+
margin-bottom: 1.5rem;
|
|
2772
2820
|
}
|
|
2773
|
-
.excalidraw .
|
|
2774
|
-
|
|
2821
|
+
.excalidraw .Dialog__close {
|
|
2822
|
+
color: var(--color-gray-40);
|
|
2823
|
+
margin: 0;
|
|
2824
|
+
position: absolute;
|
|
2825
|
+
top: 0.75rem;
|
|
2826
|
+
right: 0.5rem;
|
|
2827
|
+
border: 0;
|
|
2828
|
+
background-color: transparent;
|
|
2829
|
+
line-height: 0;
|
|
2830
|
+
cursor: pointer;
|
|
2775
2831
|
}
|
|
2776
|
-
.excalidraw .
|
|
2777
|
-
|
|
2778
|
-
box-shadow: initial;
|
|
2832
|
+
.excalidraw .Dialog__close:hover {
|
|
2833
|
+
color: var(--color-gray-60);
|
|
2779
2834
|
}
|
|
2780
|
-
.excalidraw .
|
|
2781
|
-
|
|
2782
|
-
border-color: var(--ExcTextField--readonly--border);
|
|
2835
|
+
.excalidraw .Dialog__close:active {
|
|
2836
|
+
color: var(--color-gray-40);
|
|
2783
2837
|
}
|
|
2784
|
-
.excalidraw .
|
|
2785
|
-
|
|
2838
|
+
.excalidraw .Dialog__close svg {
|
|
2839
|
+
width: 1.5rem;
|
|
2840
|
+
height: 1.5rem;
|
|
2786
2841
|
}
|
|
2787
|
-
.excalidraw .
|
|
2788
|
-
|
|
2842
|
+
.excalidraw .Dialog__close + .Dialog__content {
|
|
2843
|
+
--offset: 28px;
|
|
2844
|
+
height: calc(100% - var(--offset)) !important;
|
|
2845
|
+
margin-top: var(--offset) !important;
|
|
2846
|
+
}
|
|
2847
|
+
.excalidraw .Dialog--fullscreen .Dialog__close {
|
|
2848
|
+
top: 1.25rem;
|
|
2849
|
+
right: 1.25rem;
|
|
2789
2850
|
}
|
|
2790
2851
|
|
|
2791
2852
|
/* components/Actions.scss */
|
|
@@ -2866,6 +2927,98 @@
|
|
|
2866
2927
|
border-top-left-radius: 0 !important;
|
|
2867
2928
|
border-bottom-left-radius: 0 !important;
|
|
2868
2929
|
}
|
|
2930
|
+
.compact-shape-actions {
|
|
2931
|
+
display: flex;
|
|
2932
|
+
flex-direction: column;
|
|
2933
|
+
gap: 0.5rem;
|
|
2934
|
+
max-height: calc(100vh - 200px);
|
|
2935
|
+
overflow-y: auto;
|
|
2936
|
+
padding: 0.5rem;
|
|
2937
|
+
}
|
|
2938
|
+
.compact-shape-actions .compact-action-item {
|
|
2939
|
+
position: relative;
|
|
2940
|
+
display: flex;
|
|
2941
|
+
justify-content: center;
|
|
2942
|
+
align-items: center;
|
|
2943
|
+
min-height: 2.5rem;
|
|
2944
|
+
--default-button-size: 2rem;
|
|
2945
|
+
}
|
|
2946
|
+
.compact-shape-actions .compact-action-item .compact-action-button {
|
|
2947
|
+
width: 2rem;
|
|
2948
|
+
height: 2rem;
|
|
2949
|
+
border: none;
|
|
2950
|
+
border-radius: var(--border-radius-lg);
|
|
2951
|
+
background: transparent;
|
|
2952
|
+
color: var(--color-on-surface);
|
|
2953
|
+
cursor: pointer;
|
|
2954
|
+
display: flex;
|
|
2955
|
+
align-items: center;
|
|
2956
|
+
justify-content: center;
|
|
2957
|
+
transition: all 0.2s ease;
|
|
2958
|
+
}
|
|
2959
|
+
.compact-shape-actions .compact-action-item .compact-action-button svg {
|
|
2960
|
+
width: 1rem;
|
|
2961
|
+
height: 1rem;
|
|
2962
|
+
flex: 0 0 auto;
|
|
2963
|
+
}
|
|
2964
|
+
.compact-shape-actions .compact-action-item .compact-action-button:hover {
|
|
2965
|
+
background: var(--button-hover-bg, var(--island-bg-color));
|
|
2966
|
+
border-color: var(--button-hover-border, var(--button-border, var(--default-border-color)));
|
|
2967
|
+
}
|
|
2968
|
+
.compact-shape-actions .compact-action-item .compact-action-button:active {
|
|
2969
|
+
background: var(--button-active-bg, var(--island-bg-color));
|
|
2970
|
+
border-color: var(--button-active-border, var(--color-primary-darkest));
|
|
2971
|
+
}
|
|
2972
|
+
.compact-shape-actions .compact-action-item .compact-popover-content .popover-section {
|
|
2973
|
+
margin-bottom: 1rem;
|
|
2974
|
+
}
|
|
2975
|
+
.compact-shape-actions .compact-action-item .compact-popover-content .popover-section:last-child {
|
|
2976
|
+
margin-bottom: 0;
|
|
2977
|
+
}
|
|
2978
|
+
.compact-shape-actions .compact-action-item .compact-popover-content .popover-section .popover-section-title {
|
|
2979
|
+
font-size: 0.75rem;
|
|
2980
|
+
font-weight: 600;
|
|
2981
|
+
color: var(--color-text-secondary);
|
|
2982
|
+
margin-bottom: 0.5rem;
|
|
2983
|
+
text-transform: uppercase;
|
|
2984
|
+
letter-spacing: 0.5px;
|
|
2985
|
+
}
|
|
2986
|
+
.compact-shape-actions .compact-action-item .compact-popover-content .popover-section .buttonList {
|
|
2987
|
+
display: flex;
|
|
2988
|
+
flex-wrap: wrap;
|
|
2989
|
+
gap: 0.25rem;
|
|
2990
|
+
}
|
|
2991
|
+
.compact-shape-actions-island {
|
|
2992
|
+
width: fit-content;
|
|
2993
|
+
overflow-x: hidden;
|
|
2994
|
+
}
|
|
2995
|
+
.compact-popover-content .popover-section {
|
|
2996
|
+
margin-bottom: 1rem;
|
|
2997
|
+
}
|
|
2998
|
+
.compact-popover-content .popover-section:last-child {
|
|
2999
|
+
margin-bottom: 0;
|
|
3000
|
+
}
|
|
3001
|
+
.compact-popover-content .popover-section .popover-section-title {
|
|
3002
|
+
font-size: 0.75rem;
|
|
3003
|
+
font-weight: 600;
|
|
3004
|
+
color: var(--color-text-secondary);
|
|
3005
|
+
margin-bottom: 0.5rem;
|
|
3006
|
+
text-transform: uppercase;
|
|
3007
|
+
letter-spacing: 0.5px;
|
|
3008
|
+
}
|
|
3009
|
+
.compact-popover-content .popover-section .buttonList {
|
|
3010
|
+
display: flex;
|
|
3011
|
+
flex-wrap: wrap;
|
|
3012
|
+
gap: 0.25rem;
|
|
3013
|
+
}
|
|
3014
|
+
.shape-actions-theme-scope {
|
|
3015
|
+
--button-border: transparent;
|
|
3016
|
+
--button-bg: var(--color-surface-mid);
|
|
3017
|
+
}
|
|
3018
|
+
:root.theme--dark .shape-actions-theme-scope {
|
|
3019
|
+
--button-hover-bg: #363541;
|
|
3020
|
+
--button-bg: var(--color-surface-high);
|
|
3021
|
+
}
|
|
2869
3022
|
|
|
2870
3023
|
/* components/CommandPalette/CommandPalette.scss */
|
|
2871
3024
|
.excalidraw .command-palette-dialog {
|
|
@@ -2954,6 +3107,16 @@
|
|
|
2954
3107
|
padding: 0 0.5rem;
|
|
2955
3108
|
border-radius: var(--border-radius-lg);
|
|
2956
3109
|
cursor: pointer;
|
|
3110
|
+
--icon-size: 1rem;
|
|
3111
|
+
}
|
|
3112
|
+
.excalidraw .command-palette-dialog .commands .command-item.command-item-large {
|
|
3113
|
+
height: 2.75rem;
|
|
3114
|
+
--icon-size: 1.5rem;
|
|
3115
|
+
}
|
|
3116
|
+
.excalidraw .command-palette-dialog .commands .command-item.command-item-large .icon {
|
|
3117
|
+
width: var(--icon-size);
|
|
3118
|
+
height: var(--icon-size);
|
|
3119
|
+
margin-right: 0.625rem;
|
|
2957
3120
|
}
|
|
2958
3121
|
.excalidraw .command-palette-dialog .commands .command-item:active {
|
|
2959
3122
|
background-color: var(--color-surface-low);
|
|
@@ -2978,9 +3141,16 @@
|
|
|
2978
3141
|
margin-top: 36px;
|
|
2979
3142
|
}
|
|
2980
3143
|
.excalidraw .command-palette-dialog .icon {
|
|
2981
|
-
width:
|
|
2982
|
-
height:
|
|
2983
|
-
margin-right:
|
|
3144
|
+
width: var(--icon-size, 1rem);
|
|
3145
|
+
height: var(--icon-size, 1rem);
|
|
3146
|
+
margin-right: 0.375rem;
|
|
3147
|
+
}
|
|
3148
|
+
.excalidraw .command-palette-dialog .icon .library-item-icon {
|
|
3149
|
+
display: flex;
|
|
3150
|
+
align-items: center;
|
|
3151
|
+
justify-content: center;
|
|
3152
|
+
height: 100%;
|
|
3153
|
+
width: 100%;
|
|
2984
3154
|
}
|
|
2985
3155
|
|
|
2986
3156
|
/* components/ElementCanvasButtons.scss */
|
|
@@ -5157,6 +5327,9 @@
|
|
|
5157
5327
|
gap: 0.75rem;
|
|
5158
5328
|
pointer-events: none !important;
|
|
5159
5329
|
}
|
|
5330
|
+
.excalidraw .layer-ui__wrapper__top-right--compact {
|
|
5331
|
+
gap: 0.5rem;
|
|
5332
|
+
}
|
|
5160
5333
|
.excalidraw .layer-ui__wrapper__top-right > * {
|
|
5161
5334
|
pointer-events: var(--ui-pointerEvents);
|
|
5162
5335
|
}
|
|
@@ -5235,6 +5408,12 @@
|
|
|
5235
5408
|
.excalidraw .App-toolbar.zen-mode .HintViewer {
|
|
5236
5409
|
display: none;
|
|
5237
5410
|
}
|
|
5411
|
+
.excalidraw .App-toolbar--compact .ToolIcon__keybinding {
|
|
5412
|
+
display: none;
|
|
5413
|
+
}
|
|
5414
|
+
.excalidraw .App-toolbar--compact .App-toolbar__divider {
|
|
5415
|
+
margin: 0;
|
|
5416
|
+
}
|
|
5238
5417
|
.excalidraw .App-toolbar__divider {
|
|
5239
5418
|
width: 1px;
|
|
5240
5419
|
height: 1.5rem;
|
|
@@ -6258,7 +6437,7 @@ body.excalidraw-cursor-resize * {
|
|
|
6258
6437
|
}
|
|
6259
6438
|
.excalidraw .App-menu_top {
|
|
6260
6439
|
grid-template-columns: 1fr 2fr 1fr;
|
|
6261
|
-
grid-gap:
|
|
6440
|
+
grid-gap: 1rem;
|
|
6262
6441
|
align-items: flex-start;
|
|
6263
6442
|
cursor: default;
|
|
6264
6443
|
pointer-events: none !important;
|
|
@@ -6275,6 +6454,12 @@ body.excalidraw-cursor-resize * {
|
|
|
6275
6454
|
.excalidraw .App-menu_top > *:first-child {
|
|
6276
6455
|
justify-self: flex-start;
|
|
6277
6456
|
}
|
|
6457
|
+
.excalidraw .selected-shape-actions-container {
|
|
6458
|
+
width: fit-content;
|
|
6459
|
+
}
|
|
6460
|
+
.excalidraw .selected-shape-actions-container--compact {
|
|
6461
|
+
min-width: 48px;
|
|
6462
|
+
}
|
|
6278
6463
|
.excalidraw .App-menu_top > *:last-child {
|
|
6279
6464
|
justify-self: flex-end;
|
|
6280
6465
|
}
|