@zsviczian/excalidraw 0.18.0-37 → 0.18.0-38
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 +171 -149
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/styles.development.css +690 -499
- package/dist/styles.production.css +12 -12
- package/package.json +2 -2
- package/types/common/src/constants.d.ts +20 -4
- package/types/common/src/utils.d.ts +3 -0
- package/types/element/src/bounds.d.ts +1 -1
- package/types/element/src/delta.d.ts +0 -1
- package/types/element/src/index.d.ts +1 -0
- package/types/element/src/positionElementsOnGrid.d.ts +2 -0
- package/types/element/src/renderElement.d.ts +4 -1
- package/types/element/src/textElement.d.ts +1 -1
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +6 -3
- package/types/excalidraw/actions/actionBoundText.d.ts +4 -2
- package/types/excalidraw/actions/actionCanvas.d.ts +63 -32
- package/types/excalidraw/actions/actionClipboard.d.ts +12 -6
- package/types/excalidraw/actions/actionCropEditor.d.ts +2 -1
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +6 -3
- package/types/excalidraw/actions/actionElementLink.d.ts +2 -1
- package/types/excalidraw/actions/actionElementLock.d.ts +4 -2
- package/types/excalidraw/actions/actionEmbeddable.d.ts +2 -1
- package/types/excalidraw/actions/actionExport.d.ts +18 -9
- package/types/excalidraw/actions/actionFinalize.d.ts +6 -3
- package/types/excalidraw/actions/actionFrame.d.ts +8 -4
- package/types/excalidraw/actions/actionGroup.d.ts +4 -2
- package/types/excalidraw/actions/actionLinearEditor.d.ts +3 -2
- package/types/excalidraw/actions/actionLink.d.ts +2 -1
- package/types/excalidraw/actions/actionMenu.d.ts +6 -3
- package/types/excalidraw/actions/actionNavigate.d.ts +4 -2
- package/types/excalidraw/actions/actionProperties.d.ts +50 -25
- package/types/excalidraw/actions/actionSelectAll.d.ts +2 -1
- package/types/excalidraw/actions/actionStyles.d.ts +2 -1
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +2 -1
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +2 -1
- package/types/excalidraw/actions/actionToggleSearchMenu.d.ts +2 -1
- package/types/excalidraw/actions/actionToggleStats.d.ts +2 -1
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +2 -1
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +2 -1
- package/types/excalidraw/actions/index.d.ts +1 -1
- package/types/excalidraw/actions/types.d.ts +1 -1
- package/types/excalidraw/appState.d.ts +1 -0
- package/types/excalidraw/clipboard.d.ts +64 -1
- package/types/excalidraw/components/Actions.d.ts +8 -1
- package/types/excalidraw/components/App.d.ts +8 -6
- package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +2 -1
- package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -0
- package/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -1
- package/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
- package/types/excalidraw/components/InlineIcon.d.ts +3 -1
- package/types/excalidraw/components/LibraryMenuSection.d.ts +1 -1
- package/types/excalidraw/components/PropertiesPopover.d.ts +1 -0
- package/types/excalidraw/components/TextField.d.ts +1 -0
- package/types/excalidraw/components/icons.d.ts +6 -0
- package/types/excalidraw/components/shapes.d.ts +117 -1
- package/types/excalidraw/data/blob.d.ts +3 -7
- package/types/excalidraw/data/types.d.ts +4 -1
- package/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
- package/types/excalidraw/types.d.ts +5 -1
- package/types/math/src/segment.d.ts +1 -0
|
@@ -641,6 +641,11 @@
|
|
|
641
641
|
max-width: 11rem;
|
|
642
642
|
}
|
|
643
643
|
|
|
644
|
+
.excalidraw .color-picker-container.color-picker-container--no-top-picks {
|
|
645
|
+
display: flex;
|
|
646
|
+
justify-content: center;
|
|
647
|
+
grid-template-columns: unset;
|
|
648
|
+
}
|
|
644
649
|
.excalidraw .color-picker__top-picks {
|
|
645
650
|
display: flex;
|
|
646
651
|
justify-content: space-between;
|
|
@@ -689,6 +694,15 @@
|
|
|
689
694
|
width: 1.25rem;
|
|
690
695
|
height: 1.25rem;
|
|
691
696
|
}
|
|
697
|
+
.excalidraw .color-picker__button .color-picker__button-background {
|
|
698
|
+
display: flex;
|
|
699
|
+
align-items: center;
|
|
700
|
+
justify-content: center;
|
|
701
|
+
}
|
|
702
|
+
.excalidraw .color-picker__button .color-picker__button-background svg {
|
|
703
|
+
width: 100%;
|
|
704
|
+
height: 100%;
|
|
705
|
+
}
|
|
692
706
|
.excalidraw .color-picker__button.active .color-picker__button-outline {
|
|
693
707
|
position: absolute;
|
|
694
708
|
--offset: -1px;
|
|
@@ -1116,6 +1130,11 @@
|
|
|
1116
1130
|
.excalidraw--mobile.excalidraw .FontPicker__container {
|
|
1117
1131
|
max-width: calc(2rem + 4 * var(--default-button-size));
|
|
1118
1132
|
}
|
|
1133
|
+
|
|
1134
|
+
.excalidraw .FontPicker__container--compact {
|
|
1135
|
+
display: block;
|
|
1136
|
+
grid-template-columns: none;
|
|
1137
|
+
}
|
|
1119
1138
|
/*!*******************************************************************************************************************************************************************************************************!*\
|
|
1120
1139
|
!*** 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 ***!
|
|
1121
1140
|
\*******************************************************************************************************************************************************************************************************/
|
|
@@ -1976,11 +1995,10 @@
|
|
|
1976
1995
|
pointer-events: none;
|
|
1977
1996
|
}
|
|
1978
1997
|
.excalidraw .library-unit--hover {
|
|
1979
|
-
|
|
1998
|
+
background-color: var(--color-surface-mid);
|
|
1980
1999
|
}
|
|
1981
|
-
.excalidraw .library-unit--selected {
|
|
1982
|
-
|
|
1983
|
-
border-width: 1px;
|
|
2000
|
+
.excalidraw .library-unit:active:not(:has(.library-unit__checkbox:hover)), .excalidraw .library-unit--selected {
|
|
2001
|
+
background-color: var(--color-surface-high);
|
|
1984
2002
|
}
|
|
1985
2003
|
.excalidraw .library-unit--skeleton {
|
|
1986
2004
|
opacity: 0.5;
|
|
@@ -2105,21 +2123,36 @@
|
|
|
2105
2123
|
!*** 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 ***!
|
|
2106
2124
|
\*************************************************************************************************************************************************************************************************************/
|
|
2107
2125
|
.excalidraw {
|
|
2108
|
-
--container-padding-y:
|
|
2126
|
+
--container-padding-y: 1rem;
|
|
2109
2127
|
--container-padding-x: 0.75rem;
|
|
2110
2128
|
}
|
|
2129
|
+
.excalidraw .library-menu-items-header {
|
|
2130
|
+
display: flex;
|
|
2131
|
+
padding-top: 1rem;
|
|
2132
|
+
padding-bottom: 0.5rem;
|
|
2133
|
+
gap: 0.5rem;
|
|
2134
|
+
}
|
|
2111
2135
|
.excalidraw .library-menu-items__no-items {
|
|
2112
2136
|
text-align: center;
|
|
2113
2137
|
color: var(--color-gray-70);
|
|
2114
2138
|
line-height: 1.5;
|
|
2115
2139
|
font-size: 0.875rem;
|
|
2116
2140
|
width: 100%;
|
|
2141
|
+
min-height: 55px;
|
|
2142
|
+
display: flex;
|
|
2143
|
+
flex-direction: column;
|
|
2144
|
+
align-items: center;
|
|
2145
|
+
justify-content: center;
|
|
2117
2146
|
}
|
|
2118
2147
|
.excalidraw .library-menu-items__no-items__label {
|
|
2119
2148
|
color: var(--color-primary);
|
|
2120
2149
|
font-weight: 700;
|
|
2121
2150
|
font-size: 1.125rem;
|
|
2122
|
-
margin-bottom: 0.
|
|
2151
|
+
margin-bottom: 0.25rem;
|
|
2152
|
+
}
|
|
2153
|
+
.excalidraw .library-menu-items__no-items__hint {
|
|
2154
|
+
color: var(--color-border-outline);
|
|
2155
|
+
padding: 0.75rem 1rem;
|
|
2123
2156
|
}
|
|
2124
2157
|
.excalidraw.theme--dark .library-menu-items__no-items {
|
|
2125
2158
|
color: var(--color-gray-40);
|
|
@@ -2133,7 +2166,7 @@
|
|
|
2133
2166
|
overflow-y: auto;
|
|
2134
2167
|
flex-direction: column;
|
|
2135
2168
|
height: 100%;
|
|
2136
|
-
justify-content:
|
|
2169
|
+
justify-content: flex-start;
|
|
2137
2170
|
margin: 0;
|
|
2138
2171
|
position: relative;
|
|
2139
2172
|
}
|
|
@@ -2147,30 +2180,58 @@
|
|
|
2147
2180
|
gap: 1rem;
|
|
2148
2181
|
}
|
|
2149
2182
|
.excalidraw .library-menu-items-container__items {
|
|
2183
|
+
position: relative;
|
|
2150
2184
|
row-gap: 0.5rem;
|
|
2151
|
-
padding: var(--container-padding-y) 0;
|
|
2185
|
+
padding: 1rem 0 var(--container-padding-y) 0;
|
|
2152
2186
|
flex: 1;
|
|
2153
2187
|
overflow-y: auto;
|
|
2154
2188
|
overflow-x: hidden;
|
|
2155
|
-
margin-bottom: 1rem;
|
|
2156
2189
|
}
|
|
2157
2190
|
.excalidraw .library-menu-items-container__header {
|
|
2191
|
+
display: flex;
|
|
2192
|
+
align-items: center;
|
|
2193
|
+
flex: 1 1 auto;
|
|
2158
2194
|
color: var(--color-primary);
|
|
2159
2195
|
font-size: 1.125rem;
|
|
2160
2196
|
font-weight: 700;
|
|
2161
2197
|
margin-bottom: 0.75rem;
|
|
2162
2198
|
width: 100%;
|
|
2163
|
-
padding-right: 4rem;
|
|
2164
2199
|
box-sizing: border-box;
|
|
2165
2200
|
}
|
|
2166
2201
|
.excalidraw .library-menu-items-container__header--excal {
|
|
2167
2202
|
margin-top: 2rem;
|
|
2168
2203
|
}
|
|
2204
|
+
.excalidraw .library-menu-items-container__header__hint {
|
|
2205
|
+
margin-left: auto;
|
|
2206
|
+
font-size: 10px;
|
|
2207
|
+
color: var(--color-border-outline);
|
|
2208
|
+
font-weight: 400;
|
|
2209
|
+
}
|
|
2210
|
+
.excalidraw .library-menu-items-container__header__hint kbd {
|
|
2211
|
+
font-family: monospace;
|
|
2212
|
+
border: 1px solid var(--color-border-outline);
|
|
2213
|
+
border-radius: 4px;
|
|
2214
|
+
padding: 1px 3px;
|
|
2215
|
+
}
|
|
2169
2216
|
.excalidraw .library-menu-items-container__grid {
|
|
2170
2217
|
display: grid;
|
|
2171
2218
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
2172
2219
|
grid-gap: 16px;
|
|
2173
2220
|
}
|
|
2221
|
+
.excalidraw .library-menu-items-container__search {
|
|
2222
|
+
flex: 1 1 auto;
|
|
2223
|
+
margin: 0;
|
|
2224
|
+
}
|
|
2225
|
+
.excalidraw .library-menu-items-container__search .ExcTextField__input {
|
|
2226
|
+
height: var(--lg-button-size);
|
|
2227
|
+
}
|
|
2228
|
+
.excalidraw .library-menu-items-container__search .ExcTextField__input input {
|
|
2229
|
+
font-size: 0.875rem;
|
|
2230
|
+
}
|
|
2231
|
+
.excalidraw .library-menu-items-container__search.hideCancelButton input::-webkit-search-cancel-button {
|
|
2232
|
+
appearance: none;
|
|
2233
|
+
display: none;
|
|
2234
|
+
}
|
|
2174
2235
|
.excalidraw .library-menu-items-container .separator {
|
|
2175
2236
|
width: 100%;
|
|
2176
2237
|
display: flex;
|
|
@@ -2184,433 +2245,152 @@
|
|
|
2184
2245
|
min-height: 3.75rem;
|
|
2185
2246
|
width: 100%;
|
|
2186
2247
|
}
|
|
2187
|
-
|
|
2188
|
-
!*** 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/
|
|
2189
|
-
|
|
2190
|
-
.excalidraw
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
color:
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2248
|
+
/*!***************************************************************************************************************************************************************************************************!*\
|
|
2249
|
+
!*** 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 ***!
|
|
2250
|
+
\***************************************************************************************************************************************************************************************************/
|
|
2251
|
+
.excalidraw {
|
|
2252
|
+
--theme-filter: none;
|
|
2253
|
+
--button-destructive-bg-color: #ffe3e3;
|
|
2254
|
+
--button-destructive-color: #c92a2a;
|
|
2255
|
+
--button-gray-1: #e9ecef;
|
|
2256
|
+
--button-gray-2: #ced4da;
|
|
2257
|
+
--button-gray-3: #adb5bd;
|
|
2258
|
+
--button-special-active-bg-color: #ebfbee;
|
|
2259
|
+
--dialog-border-color: var(--color-gray-20);
|
|
2260
|
+
--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>");
|
|
2261
|
+
--focus-highlight-color: #a5d8ff;
|
|
2262
|
+
--icon-fill-color: var(--color-on-surface);
|
|
2263
|
+
--icon-green-fill-color: #2b8a3e;
|
|
2264
|
+
--default-bg-color: #ffffff;
|
|
2265
|
+
--input-bg-color: #ffffff;
|
|
2266
|
+
--input-border-color: #ced4da;
|
|
2267
|
+
--input-hover-bg-color: #f1f3f5;
|
|
2268
|
+
--input-label-color: #495057;
|
|
2269
|
+
--island-bg-color: #ffffff;
|
|
2270
|
+
--keybinding-color: var(--color-gray-40);
|
|
2271
|
+
--link-color: #1c7ed6;
|
|
2272
|
+
--overlay-bg-color: rgba(255, 255, 255, 0.88);
|
|
2273
|
+
--popup-bg-color: var(--island-bg-color);
|
|
2274
|
+
--popup-secondary-bg-color: #f1f3f5;
|
|
2275
|
+
--popup-text-color: #000000;
|
|
2276
|
+
--popup-text-inverted-color: #ffffff;
|
|
2277
|
+
--select-highlight-color: #339af0;
|
|
2278
|
+
--shadow-island: 0px 0px 0.9310142993927002px 0px rgba(0, 0, 0, 0.17),
|
|
2279
|
+
0px 0px 3.1270833015441895px 0px rgba(0, 0, 0, 0.08),
|
|
2280
|
+
0px 7px 14px 0px rgba(0, 0, 0, 0.05);
|
|
2281
|
+
--button-hover-bg: var(--color-surface-high);
|
|
2282
|
+
--button-active-bg: var(--color-surface-high);
|
|
2283
|
+
--button-active-border: var(--color-brand-active);
|
|
2284
|
+
--default-border-color: var(--color-surface-high);
|
|
2285
|
+
--default-button-size: 2rem;
|
|
2286
|
+
--default-icon-size: 1rem;
|
|
2287
|
+
--lg-button-size: 2.25rem;
|
|
2288
|
+
--lg-icon-size: 1rem;
|
|
2289
|
+
--editor-container-padding: 1rem;
|
|
2290
|
+
--scrollbar-thumb: var(--button-gray-2);
|
|
2291
|
+
--scrollbar-thumb-hover: var(--button-gray-3);
|
|
2292
|
+
--color-slider-track: hsl(240, 100%, 90%);
|
|
2293
|
+
--color-slider-thumb: var(--color-gray-80);
|
|
2294
|
+
--modal-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07),
|
|
2295
|
+
0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198),
|
|
2296
|
+
0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275),
|
|
2297
|
+
0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035),
|
|
2298
|
+
0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725),
|
|
2299
|
+
0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);
|
|
2300
|
+
--avatar-border-color: var(--color-gray-20);
|
|
2301
|
+
--sidebar-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07),
|
|
2302
|
+
0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198),
|
|
2303
|
+
0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275),
|
|
2304
|
+
0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035),
|
|
2305
|
+
0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725),
|
|
2306
|
+
0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);
|
|
2307
|
+
--sidebar-border-color: var(--color-surface-high);
|
|
2308
|
+
--sidebar-bg-color: var(--island-bg-color);
|
|
2309
|
+
--library-dropdown-shadow: 0px 15px 6px rgba(0, 0, 0, 0.01),
|
|
2310
|
+
0px 8px 5px rgba(0, 0, 0, 0.05), 0px 4px 4px rgba(0, 0, 0, 0.09),
|
|
2311
|
+
0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 0px rgba(0, 0, 0, 0.1);
|
|
2312
|
+
--space-factor: 0.25rem;
|
|
2313
|
+
--text-primary-color: var(--color-on-surface);
|
|
2314
|
+
--color-selection: #6965db;
|
|
2315
|
+
--color-icon-white: #ffffff;
|
|
2316
|
+
--color-primary: #6965db;
|
|
2317
|
+
--color-primary-darker: #5b57d1;
|
|
2318
|
+
--color-primary-darkest: #4a47b1;
|
|
2319
|
+
--color-primary-light: #e3e2fe;
|
|
2320
|
+
--color-primary-light-darker: #d7d5ff;
|
|
2321
|
+
--color-primary-hover: #5753d0;
|
|
2322
|
+
--color-gray-10: #f5f5f5;
|
|
2323
|
+
--color-gray-20: #ebebeb;
|
|
2324
|
+
--color-gray-30: #d6d6d6;
|
|
2325
|
+
--color-gray-40: #b8b8b8;
|
|
2326
|
+
--color-gray-50: #999999;
|
|
2327
|
+
--color-gray-60: #7a7a7a;
|
|
2328
|
+
--color-gray-70: #5c5c5c;
|
|
2329
|
+
--color-gray-80: #3d3d3d;
|
|
2330
|
+
--color-gray-85: #242424;
|
|
2331
|
+
--color-gray-90: #1e1e1e;
|
|
2332
|
+
--color-gray-100: #121212;
|
|
2333
|
+
--color-disabled: var(--color-gray-40);
|
|
2334
|
+
--color-warning: #fceeca;
|
|
2335
|
+
--color-warning-dark: #f5c354;
|
|
2336
|
+
--color-warning-darker: #f3ab2c;
|
|
2337
|
+
--color-warning-darkest: #ec8b14;
|
|
2338
|
+
--color-text-warning: var(--text-primary-color);
|
|
2339
|
+
--color-danger: #db6965;
|
|
2340
|
+
--color-danger-dark: #db6965;
|
|
2341
|
+
--color-danger-darker: #d65550;
|
|
2342
|
+
--color-danger-darkest: #d1413c;
|
|
2343
|
+
--color-danger-text: black;
|
|
2344
|
+
--color-danger-background: #fff0f0;
|
|
2345
|
+
--color-danger-icon-background: #ffdad6;
|
|
2346
|
+
--color-danger-color: #700000;
|
|
2347
|
+
--color-danger-icon-color: #700000;
|
|
2348
|
+
--color-warning-background: var(--color-warning);
|
|
2349
|
+
--color-warning-icon-background: var(--color-warning-dark);
|
|
2350
|
+
--color-warning-color: var(--text-primary-color);
|
|
2351
|
+
--color-warning-icon-color: var(--text-primary-color);
|
|
2352
|
+
--color-muted: var(--color-gray-30);
|
|
2353
|
+
--color-muted-darker: var(--color-gray-60);
|
|
2354
|
+
--color-muted-darkest: var(--color-gray-100);
|
|
2355
|
+
--color-muted-background: var(--color-gray-80);
|
|
2356
|
+
--color-muted-background-darker: var(--color-gray-100);
|
|
2357
|
+
--color-promo: var(--color-primary);
|
|
2358
|
+
--color-success: #cafccc;
|
|
2359
|
+
--color-success-darker: #bafabc;
|
|
2360
|
+
--color-success-darkest: #a5eba8;
|
|
2361
|
+
--color-success-text: #268029;
|
|
2362
|
+
--color-success-contrast: #65bb6a;
|
|
2363
|
+
--color-success-contrast-hover: #6bcf70;
|
|
2364
|
+
--color-success-contrast-active: #6edf74;
|
|
2365
|
+
--color-logo-icon: var(--color-primary);
|
|
2366
|
+
--color-logo-text: #190064;
|
|
2367
|
+
--border-radius-md: 0.375rem;
|
|
2368
|
+
--border-radius-lg: 0.5rem;
|
|
2369
|
+
--color-surface-high: #f1f0ff;
|
|
2370
|
+
--color-surface-mid: #f6f6f9;
|
|
2371
|
+
--color-surface-low: #ececf4;
|
|
2372
|
+
--color-surface-lowest: #ffffff;
|
|
2373
|
+
--color-on-surface: #1b1b1f;
|
|
2374
|
+
--color-brand-hover: #5753d0;
|
|
2375
|
+
--color-on-primary-container: #030064;
|
|
2376
|
+
--color-surface-primary-container: #e0dfff;
|
|
2377
|
+
--color-brand-active: #4440bf;
|
|
2378
|
+
--color-border-outline: #767680;
|
|
2379
|
+
--color-border-outline-variant: #c5c5d0;
|
|
2380
|
+
--color-surface-primary-container: #e0dfff;
|
|
2381
|
+
--color-badge: #0b6513;
|
|
2382
|
+
--background-color-badge: #d3ffd2;
|
|
2233
2383
|
}
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2384
|
+
@media screen and (min-device-width: 1921px) {
|
|
2385
|
+
.excalidraw {
|
|
2386
|
+
--lg-button-size: 2.5rem;
|
|
2387
|
+
--lg-icon-size: 1.25rem;
|
|
2388
|
+
--default-button-size: 2.25rem;
|
|
2389
|
+
--default-icon-size: 1.25rem;
|
|
2390
|
+
}
|
|
2239
2391
|
}
|
|
2240
|
-
.excalidraw
|
|
2241
|
-
|
|
2242
|
-
align-items: center;
|
|
2243
|
-
justify-content: center;
|
|
2244
|
-
gap: 0.625rem;
|
|
2245
|
-
position: relative;
|
|
2246
|
-
}
|
|
2247
|
-
.excalidraw .library-menu-control-buttons--at-bottom::before {
|
|
2248
|
-
content: "";
|
|
2249
|
-
width: calc(100% - 1.5rem);
|
|
2250
|
-
height: 1px;
|
|
2251
|
-
position: absolute;
|
|
2252
|
-
top: -1px;
|
|
2253
|
-
background: var(--sidebar-border-color);
|
|
2254
|
-
}
|
|
2255
|
-
.excalidraw .library-menu-browse-button {
|
|
2256
|
-
flex: 1;
|
|
2257
|
-
height: var(--lg-button-size);
|
|
2258
|
-
display: flex;
|
|
2259
|
-
align-items: center;
|
|
2260
|
-
justify-content: center;
|
|
2261
|
-
overflow: hidden;
|
|
2262
|
-
position: relative;
|
|
2263
|
-
border-radius: var(--border-radius-lg);
|
|
2264
|
-
background-color: var(--color-primary);
|
|
2265
|
-
color: #ffffff;
|
|
2266
|
-
text-align: center;
|
|
2267
|
-
white-space: nowrap;
|
|
2268
|
-
text-decoration: none !important;
|
|
2269
|
-
font-weight: 600;
|
|
2270
|
-
font-size: 0.75rem;
|
|
2271
|
-
}
|
|
2272
|
-
.excalidraw .library-menu-browse-button:hover {
|
|
2273
|
-
background-color: var(--color-brand-hover);
|
|
2274
|
-
}
|
|
2275
|
-
.excalidraw .library-menu-browse-button:active {
|
|
2276
|
-
background-color: var(--color-brand-active);
|
|
2277
|
-
}
|
|
2278
|
-
.excalidraw.theme--dark .library-menu-browse-button {
|
|
2279
|
-
color: var(--color-gray-100);
|
|
2280
|
-
}
|
|
2281
|
-
.excalidraw.excalidraw--mobile .library-menu-browse-button {
|
|
2282
|
-
height: var(--default-button-size);
|
|
2283
|
-
}
|
|
2284
|
-
.excalidraw .layer-ui__library .dropdown-menu {
|
|
2285
|
-
width: auto;
|
|
2286
|
-
top: initial;
|
|
2287
|
-
right: 0;
|
|
2288
|
-
left: initial;
|
|
2289
|
-
bottom: 100%;
|
|
2290
|
-
margin-bottom: 0.625rem;
|
|
2291
|
-
}
|
|
2292
|
-
.excalidraw .layer-ui__library .dropdown-menu .dropdown-menu-container {
|
|
2293
|
-
width: 196px;
|
|
2294
|
-
box-shadow: var(--library-dropdown-shadow);
|
|
2295
|
-
border-radius: var(--border-radius-lg);
|
|
2296
|
-
padding: 0.25rem 0.5rem;
|
|
2297
|
-
}
|
|
2298
|
-
.excalidraw .layer-ui__library .library-menu-dropdown-container {
|
|
2299
|
-
position: relative;
|
|
2300
|
-
}
|
|
2301
|
-
.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading {
|
|
2302
|
-
padding: 0;
|
|
2303
|
-
position: absolute;
|
|
2304
|
-
top: 1rem;
|
|
2305
|
-
right: 0.75rem;
|
|
2306
|
-
z-index: 1;
|
|
2307
|
-
}
|
|
2308
|
-
.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading .dropdown-menu {
|
|
2309
|
-
top: 100%;
|
|
2310
|
-
}
|
|
2311
|
-
/*!**************************************************************************************************************************************************************************************************!*\
|
|
2312
|
-
!*** 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 ***!
|
|
2313
|
-
\**************************************************************************************************************************************************************************************************/
|
|
2314
|
-
.excalidraw.excalidraw-modal-container {
|
|
2315
|
-
position: absolute;
|
|
2316
|
-
z-index: var(--zIndex-modal);
|
|
2317
|
-
}
|
|
2318
|
-
.excalidraw .Modal {
|
|
2319
|
-
position: absolute;
|
|
2320
|
-
top: 0;
|
|
2321
|
-
left: 0;
|
|
2322
|
-
right: 0;
|
|
2323
|
-
bottom: 0;
|
|
2324
|
-
display: flex;
|
|
2325
|
-
align-items: center;
|
|
2326
|
-
justify-content: center;
|
|
2327
|
-
overflow: auto;
|
|
2328
|
-
padding: calc(var(--space-factor) * 10);
|
|
2329
|
-
display: flex;
|
|
2330
|
-
flex-direction: column;
|
|
2331
|
-
}
|
|
2332
|
-
.excalidraw .Modal .Island {
|
|
2333
|
-
padding: 2.5rem;
|
|
2334
|
-
border: 0;
|
|
2335
|
-
box-shadow: none;
|
|
2336
|
-
border-radius: 0;
|
|
2337
|
-
}
|
|
2338
|
-
.excalidraw .Modal.animations-disabled .Modal__background {
|
|
2339
|
-
animation: none;
|
|
2340
|
-
}
|
|
2341
|
-
.excalidraw .Modal.animations-disabled .Modal__content {
|
|
2342
|
-
animation: none;
|
|
2343
|
-
opacity: 1;
|
|
2344
|
-
}
|
|
2345
|
-
.excalidraw .Modal__background {
|
|
2346
|
-
position: absolute;
|
|
2347
|
-
top: 0;
|
|
2348
|
-
left: 0;
|
|
2349
|
-
right: 0;
|
|
2350
|
-
bottom: 0;
|
|
2351
|
-
z-index: 1;
|
|
2352
|
-
background-color: rgba(18, 18, 18, 0.2);
|
|
2353
|
-
animation: Modal__background__fade-in 0.1s linear forwards;
|
|
2354
|
-
}
|
|
2355
|
-
.excalidraw .Modal__content {
|
|
2356
|
-
position: relative;
|
|
2357
|
-
z-index: 2;
|
|
2358
|
-
width: 100%;
|
|
2359
|
-
max-width: var(--max-width);
|
|
2360
|
-
max-height: 100%;
|
|
2361
|
-
opacity: 0;
|
|
2362
|
-
transform: translateY(10px);
|
|
2363
|
-
animation: Modal__content_fade-in 0.025s ease-out 0s forwards;
|
|
2364
|
-
position: relative;
|
|
2365
|
-
overflow-y: auto;
|
|
2366
|
-
background: var(--island-bg-color);
|
|
2367
|
-
border: 1px solid var(--dialog-border-color);
|
|
2368
|
-
box-shadow: var(--modal-shadow);
|
|
2369
|
-
border-radius: 0.75rem;
|
|
2370
|
-
box-sizing: border-box;
|
|
2371
|
-
}
|
|
2372
|
-
.excalidraw .Modal__content:focus {
|
|
2373
|
-
outline: none;
|
|
2374
|
-
}
|
|
2375
|
-
@keyframes Modal__background__fade-in {
|
|
2376
|
-
from {
|
|
2377
|
-
opacity: 0;
|
|
2378
|
-
}
|
|
2379
|
-
to {
|
|
2380
|
-
opacity: 1;
|
|
2381
|
-
}
|
|
2382
|
-
}
|
|
2383
|
-
@keyframes Modal__content_fade-in {
|
|
2384
|
-
from {
|
|
2385
|
-
opacity: 0;
|
|
2386
|
-
transform: scale(0.9);
|
|
2387
|
-
}
|
|
2388
|
-
to {
|
|
2389
|
-
opacity: 1;
|
|
2390
|
-
transform: scale(1);
|
|
2391
|
-
}
|
|
2392
|
-
}
|
|
2393
|
-
.excalidraw .Modal__close {
|
|
2394
|
-
color: var(--icon-fill-color);
|
|
2395
|
-
margin: 0;
|
|
2396
|
-
padding: 0.375rem;
|
|
2397
|
-
position: absolute;
|
|
2398
|
-
top: 1rem;
|
|
2399
|
-
right: 1rem;
|
|
2400
|
-
border: 0;
|
|
2401
|
-
background-color: transparent;
|
|
2402
|
-
line-height: 0;
|
|
2403
|
-
cursor: pointer;
|
|
2404
|
-
}
|
|
2405
|
-
.excalidraw .Modal__close svg {
|
|
2406
|
-
width: 1.5rem;
|
|
2407
|
-
height: 1.5rem;
|
|
2408
|
-
}
|
|
2409
|
-
.excalidraw .Dialog--fullscreen .Modal {
|
|
2410
|
-
padding: 0;
|
|
2411
|
-
}
|
|
2412
|
-
.excalidraw .Dialog--fullscreen .Modal__content {
|
|
2413
|
-
position: absolute;
|
|
2414
|
-
top: 0;
|
|
2415
|
-
left: 0;
|
|
2416
|
-
right: 0;
|
|
2417
|
-
bottom: 0;
|
|
2418
|
-
max-width: 100%;
|
|
2419
|
-
border: 0;
|
|
2420
|
-
border-radius: 0;
|
|
2421
|
-
}
|
|
2422
|
-
/*!***************************************************************************************************************************************************************************************************!*\
|
|
2423
|
-
!*** 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 ***!
|
|
2424
|
-
\***************************************************************************************************************************************************************************************************/
|
|
2425
|
-
.excalidraw .Dialog {
|
|
2426
|
-
-webkit-user-select: text;
|
|
2427
|
-
user-select: text;
|
|
2428
|
-
cursor: auto;
|
|
2429
|
-
}
|
|
2430
|
-
.excalidraw .Dialog__title {
|
|
2431
|
-
margin: 0;
|
|
2432
|
-
text-align: left;
|
|
2433
|
-
font-size: 1.25rem;
|
|
2434
|
-
border-bottom: 1px solid var(--dialog-border-color);
|
|
2435
|
-
padding: 0 0 0.75rem;
|
|
2436
|
-
margin-bottom: 1.5rem;
|
|
2437
|
-
}
|
|
2438
|
-
.excalidraw .Dialog__close {
|
|
2439
|
-
color: var(--color-gray-40);
|
|
2440
|
-
margin: 0;
|
|
2441
|
-
position: absolute;
|
|
2442
|
-
top: 0.75rem;
|
|
2443
|
-
right: 0.5rem;
|
|
2444
|
-
border: 0;
|
|
2445
|
-
background-color: transparent;
|
|
2446
|
-
line-height: 0;
|
|
2447
|
-
cursor: pointer;
|
|
2448
|
-
}
|
|
2449
|
-
.excalidraw .Dialog__close:hover {
|
|
2450
|
-
color: var(--color-gray-60);
|
|
2451
|
-
}
|
|
2452
|
-
.excalidraw .Dialog__close:active {
|
|
2453
|
-
color: var(--color-gray-40);
|
|
2454
|
-
}
|
|
2455
|
-
.excalidraw .Dialog__close svg {
|
|
2456
|
-
width: 1.5rem;
|
|
2457
|
-
height: 1.5rem;
|
|
2458
|
-
}
|
|
2459
|
-
.excalidraw .Dialog__close + .Dialog__content {
|
|
2460
|
-
--offset: 28px;
|
|
2461
|
-
height: calc(100% - var(--offset)) !important;
|
|
2462
|
-
margin-top: var(--offset) !important;
|
|
2463
|
-
}
|
|
2464
|
-
.excalidraw .Dialog--fullscreen .Dialog__close {
|
|
2465
|
-
top: 1.25rem;
|
|
2466
|
-
right: 1.25rem;
|
|
2467
|
-
}
|
|
2468
|
-
/*!***************************************************************************************************************************************************************************************************!*\
|
|
2469
|
-
!*** 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 ***!
|
|
2470
|
-
\***************************************************************************************************************************************************************************************************/
|
|
2471
|
-
.excalidraw {
|
|
2472
|
-
--theme-filter: none;
|
|
2473
|
-
--button-destructive-bg-color: #ffe3e3;
|
|
2474
|
-
--button-destructive-color: #c92a2a;
|
|
2475
|
-
--button-gray-1: #e9ecef;
|
|
2476
|
-
--button-gray-2: #ced4da;
|
|
2477
|
-
--button-gray-3: #adb5bd;
|
|
2478
|
-
--button-special-active-bg-color: #ebfbee;
|
|
2479
|
-
--dialog-border-color: var(--color-gray-20);
|
|
2480
|
-
--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>");
|
|
2481
|
-
--focus-highlight-color: #a5d8ff;
|
|
2482
|
-
--icon-fill-color: var(--color-on-surface);
|
|
2483
|
-
--icon-green-fill-color: #2b8a3e;
|
|
2484
|
-
--default-bg-color: #ffffff;
|
|
2485
|
-
--input-bg-color: #ffffff;
|
|
2486
|
-
--input-border-color: #ced4da;
|
|
2487
|
-
--input-hover-bg-color: #f1f3f5;
|
|
2488
|
-
--input-label-color: #495057;
|
|
2489
|
-
--island-bg-color: #ffffff;
|
|
2490
|
-
--keybinding-color: var(--color-gray-40);
|
|
2491
|
-
--link-color: #1c7ed6;
|
|
2492
|
-
--overlay-bg-color: rgba(255, 255, 255, 0.88);
|
|
2493
|
-
--popup-bg-color: var(--island-bg-color);
|
|
2494
|
-
--popup-secondary-bg-color: #f1f3f5;
|
|
2495
|
-
--popup-text-color: #000000;
|
|
2496
|
-
--popup-text-inverted-color: #ffffff;
|
|
2497
|
-
--select-highlight-color: #339af0;
|
|
2498
|
-
--shadow-island: 0px 0px 0.9310142993927002px 0px rgba(0, 0, 0, 0.17),
|
|
2499
|
-
0px 0px 3.1270833015441895px 0px rgba(0, 0, 0, 0.08),
|
|
2500
|
-
0px 7px 14px 0px rgba(0, 0, 0, 0.05);
|
|
2501
|
-
--button-hover-bg: var(--color-surface-high);
|
|
2502
|
-
--button-active-bg: var(--color-surface-high);
|
|
2503
|
-
--button-active-border: var(--color-brand-active);
|
|
2504
|
-
--default-border-color: var(--color-surface-high);
|
|
2505
|
-
--default-button-size: 2rem;
|
|
2506
|
-
--default-icon-size: 1rem;
|
|
2507
|
-
--lg-button-size: 2.25rem;
|
|
2508
|
-
--lg-icon-size: 1rem;
|
|
2509
|
-
--editor-container-padding: 1rem;
|
|
2510
|
-
--scrollbar-thumb: var(--button-gray-2);
|
|
2511
|
-
--scrollbar-thumb-hover: var(--button-gray-3);
|
|
2512
|
-
--color-slider-track: hsl(240, 100%, 90%);
|
|
2513
|
-
--color-slider-thumb: var(--color-gray-80);
|
|
2514
|
-
--modal-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07),
|
|
2515
|
-
0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198),
|
|
2516
|
-
0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275),
|
|
2517
|
-
0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035),
|
|
2518
|
-
0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725),
|
|
2519
|
-
0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);
|
|
2520
|
-
--avatar-border-color: var(--color-gray-20);
|
|
2521
|
-
--sidebar-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07),
|
|
2522
|
-
0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198),
|
|
2523
|
-
0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275),
|
|
2524
|
-
0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035),
|
|
2525
|
-
0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725),
|
|
2526
|
-
0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);
|
|
2527
|
-
--sidebar-border-color: var(--color-surface-high);
|
|
2528
|
-
--sidebar-bg-color: var(--island-bg-color);
|
|
2529
|
-
--library-dropdown-shadow: 0px 15px 6px rgba(0, 0, 0, 0.01),
|
|
2530
|
-
0px 8px 5px rgba(0, 0, 0, 0.05), 0px 4px 4px rgba(0, 0, 0, 0.09),
|
|
2531
|
-
0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 0px rgba(0, 0, 0, 0.1);
|
|
2532
|
-
--space-factor: 0.25rem;
|
|
2533
|
-
--text-primary-color: var(--color-on-surface);
|
|
2534
|
-
--color-selection: #6965db;
|
|
2535
|
-
--color-icon-white: #ffffff;
|
|
2536
|
-
--color-primary: #6965db;
|
|
2537
|
-
--color-primary-darker: #5b57d1;
|
|
2538
|
-
--color-primary-darkest: #4a47b1;
|
|
2539
|
-
--color-primary-light: #e3e2fe;
|
|
2540
|
-
--color-primary-light-darker: #d7d5ff;
|
|
2541
|
-
--color-primary-hover: #5753d0;
|
|
2542
|
-
--color-gray-10: #f5f5f5;
|
|
2543
|
-
--color-gray-20: #ebebeb;
|
|
2544
|
-
--color-gray-30: #d6d6d6;
|
|
2545
|
-
--color-gray-40: #b8b8b8;
|
|
2546
|
-
--color-gray-50: #999999;
|
|
2547
|
-
--color-gray-60: #7a7a7a;
|
|
2548
|
-
--color-gray-70: #5c5c5c;
|
|
2549
|
-
--color-gray-80: #3d3d3d;
|
|
2550
|
-
--color-gray-85: #242424;
|
|
2551
|
-
--color-gray-90: #1e1e1e;
|
|
2552
|
-
--color-gray-100: #121212;
|
|
2553
|
-
--color-disabled: var(--color-gray-40);
|
|
2554
|
-
--color-warning: #fceeca;
|
|
2555
|
-
--color-warning-dark: #f5c354;
|
|
2556
|
-
--color-warning-darker: #f3ab2c;
|
|
2557
|
-
--color-warning-darkest: #ec8b14;
|
|
2558
|
-
--color-text-warning: var(--text-primary-color);
|
|
2559
|
-
--color-danger: #db6965;
|
|
2560
|
-
--color-danger-dark: #db6965;
|
|
2561
|
-
--color-danger-darker: #d65550;
|
|
2562
|
-
--color-danger-darkest: #d1413c;
|
|
2563
|
-
--color-danger-text: black;
|
|
2564
|
-
--color-danger-background: #fff0f0;
|
|
2565
|
-
--color-danger-icon-background: #ffdad6;
|
|
2566
|
-
--color-danger-color: #700000;
|
|
2567
|
-
--color-danger-icon-color: #700000;
|
|
2568
|
-
--color-warning-background: var(--color-warning);
|
|
2569
|
-
--color-warning-icon-background: var(--color-warning-dark);
|
|
2570
|
-
--color-warning-color: var(--text-primary-color);
|
|
2571
|
-
--color-warning-icon-color: var(--text-primary-color);
|
|
2572
|
-
--color-muted: var(--color-gray-30);
|
|
2573
|
-
--color-muted-darker: var(--color-gray-60);
|
|
2574
|
-
--color-muted-darkest: var(--color-gray-100);
|
|
2575
|
-
--color-muted-background: var(--color-gray-80);
|
|
2576
|
-
--color-muted-background-darker: var(--color-gray-100);
|
|
2577
|
-
--color-promo: var(--color-primary);
|
|
2578
|
-
--color-success: #cafccc;
|
|
2579
|
-
--color-success-darker: #bafabc;
|
|
2580
|
-
--color-success-darkest: #a5eba8;
|
|
2581
|
-
--color-success-text: #268029;
|
|
2582
|
-
--color-success-contrast: #65bb6a;
|
|
2583
|
-
--color-success-contrast-hover: #6bcf70;
|
|
2584
|
-
--color-success-contrast-active: #6edf74;
|
|
2585
|
-
--color-logo-icon: var(--color-primary);
|
|
2586
|
-
--color-logo-text: #190064;
|
|
2587
|
-
--border-radius-md: 0.375rem;
|
|
2588
|
-
--border-radius-lg: 0.5rem;
|
|
2589
|
-
--color-surface-high: #f1f0ff;
|
|
2590
|
-
--color-surface-mid: #f6f6f9;
|
|
2591
|
-
--color-surface-low: #ececf4;
|
|
2592
|
-
--color-surface-lowest: #ffffff;
|
|
2593
|
-
--color-on-surface: #1b1b1f;
|
|
2594
|
-
--color-brand-hover: #5753d0;
|
|
2595
|
-
--color-on-primary-container: #030064;
|
|
2596
|
-
--color-surface-primary-container: #e0dfff;
|
|
2597
|
-
--color-brand-active: #4440bf;
|
|
2598
|
-
--color-border-outline: #767680;
|
|
2599
|
-
--color-border-outline-variant: #c5c5d0;
|
|
2600
|
-
--color-surface-primary-container: #e0dfff;
|
|
2601
|
-
--color-badge: #0b6513;
|
|
2602
|
-
--background-color-badge: #d3ffd2;
|
|
2603
|
-
}
|
|
2604
|
-
@media screen and (min-device-width: 1921px) {
|
|
2605
|
-
.excalidraw {
|
|
2606
|
-
--lg-button-size: 2.5rem;
|
|
2607
|
-
--lg-icon-size: 1.25rem;
|
|
2608
|
-
--default-button-size: 2.25rem;
|
|
2609
|
-
--default-icon-size: 1.25rem;
|
|
2610
|
-
}
|
|
2611
|
-
}
|
|
2612
|
-
.excalidraw.theme--dark.theme--dark-background-none {
|
|
2613
|
-
background: none;
|
|
2392
|
+
.excalidraw.theme--dark.theme--dark-background-none {
|
|
2393
|
+
background: none;
|
|
2614
2394
|
}
|
|
2615
2395
|
.excalidraw.theme--dark {
|
|
2616
2396
|
--theme-filter: invert(93%) hue-rotate(180deg);
|
|
@@ -2748,85 +2528,365 @@
|
|
|
2748
2528
|
--ExcTextField--border-active: var(--color-brand-active);
|
|
2749
2529
|
--ExcTextField--placeholder: var(--color-border-outline-variant);
|
|
2750
2530
|
}
|
|
2531
|
+
.excalidraw.theme--dark {
|
|
2532
|
+
--ExcTextField--border: var(--color-border-outline-variant);
|
|
2533
|
+
}
|
|
2751
2534
|
.excalidraw .ExcTextField {
|
|
2752
2535
|
position: relative;
|
|
2753
2536
|
}
|
|
2754
|
-
.excalidraw .ExcTextField svg {
|
|
2537
|
+
.excalidraw .ExcTextField svg {
|
|
2538
|
+
position: absolute;
|
|
2539
|
+
top: 50%;
|
|
2540
|
+
transform: translateY(-50%);
|
|
2541
|
+
left: 0.75rem;
|
|
2542
|
+
width: 1.25rem;
|
|
2543
|
+
height: 1.25rem;
|
|
2544
|
+
color: var(--color-gray-40);
|
|
2545
|
+
z-index: 1;
|
|
2546
|
+
}
|
|
2547
|
+
.excalidraw .ExcTextField--fullWidth {
|
|
2548
|
+
width: 100%;
|
|
2549
|
+
flex-grow: 1;
|
|
2550
|
+
}
|
|
2551
|
+
.excalidraw .ExcTextField__label {
|
|
2552
|
+
font-family: "Assistant";
|
|
2553
|
+
font-style: normal;
|
|
2554
|
+
font-weight: 600;
|
|
2555
|
+
font-size: 0.875rem;
|
|
2556
|
+
line-height: 150%;
|
|
2557
|
+
color: var(--ExcTextField--label-color);
|
|
2558
|
+
margin-bottom: 0.25rem;
|
|
2559
|
+
-webkit-user-select: none;
|
|
2560
|
+
user-select: none;
|
|
2561
|
+
}
|
|
2562
|
+
.excalidraw .ExcTextField__input {
|
|
2563
|
+
box-sizing: border-box;
|
|
2564
|
+
display: flex;
|
|
2565
|
+
flex-direction: row;
|
|
2566
|
+
align-items: center;
|
|
2567
|
+
height: 3rem;
|
|
2568
|
+
background: var(--ExcTextField--background);
|
|
2569
|
+
border: 1px solid var(--ExcTextField--border);
|
|
2570
|
+
border-radius: 0.5rem;
|
|
2571
|
+
padding: 0 0.75rem;
|
|
2572
|
+
}
|
|
2573
|
+
.excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):hover {
|
|
2574
|
+
border-color: var(--ExcTextField--border-hover);
|
|
2575
|
+
}
|
|
2576
|
+
.excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):active, .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):focus-within {
|
|
2577
|
+
border-color: var(--ExcTextField--border-active);
|
|
2578
|
+
}
|
|
2579
|
+
.excalidraw .ExcTextField__input input {
|
|
2580
|
+
display: flex;
|
|
2581
|
+
align-items: center;
|
|
2582
|
+
border: none;
|
|
2583
|
+
outline: none;
|
|
2584
|
+
padding: 0;
|
|
2585
|
+
margin: 0;
|
|
2586
|
+
height: 1.5rem;
|
|
2587
|
+
color: var(--ExcTextField--color);
|
|
2588
|
+
font-family: "Assistant";
|
|
2589
|
+
font-style: normal;
|
|
2590
|
+
font-weight: 400;
|
|
2591
|
+
font-size: 1rem;
|
|
2592
|
+
line-height: 150%;
|
|
2593
|
+
text-overflow: ellipsis;
|
|
2594
|
+
background: transparent;
|
|
2595
|
+
width: 100%;
|
|
2596
|
+
}
|
|
2597
|
+
.excalidraw .ExcTextField__input input:not(:focus):hover {
|
|
2598
|
+
background-color: initial;
|
|
2599
|
+
}
|
|
2600
|
+
.excalidraw .ExcTextField__input input:focus {
|
|
2601
|
+
outline: initial;
|
|
2602
|
+
box-shadow: initial;
|
|
2603
|
+
}
|
|
2604
|
+
.excalidraw .ExcTextField__input--readonly {
|
|
2605
|
+
background: var(--ExcTextField--readonly--background);
|
|
2606
|
+
border-color: var(--ExcTextField--readonly--border);
|
|
2607
|
+
}
|
|
2608
|
+
.excalidraw .ExcTextField__input--readonly input {
|
|
2609
|
+
color: var(--ExcTextField--readonly--color);
|
|
2610
|
+
}
|
|
2611
|
+
.excalidraw .ExcTextField--hasIcon .ExcTextField__input {
|
|
2612
|
+
padding-left: 2.5rem;
|
|
2613
|
+
}
|
|
2614
|
+
/*!********************************************************************************************************************************************************************************************************!*\
|
|
2615
|
+
!*** 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 ***!
|
|
2616
|
+
\********************************************************************************************************************************************************************************************************/
|
|
2617
|
+
.excalidraw .layer-ui__library {
|
|
2618
|
+
display: flex;
|
|
2619
|
+
flex-direction: column;
|
|
2620
|
+
flex: 1 1 auto;
|
|
2621
|
+
}
|
|
2622
|
+
.excalidraw .library-actions-counter {
|
|
2623
|
+
background-color: var(--color-primary);
|
|
2624
|
+
color: var(--color-primary-light);
|
|
2625
|
+
font-weight: 700;
|
|
2626
|
+
display: flex;
|
|
2627
|
+
align-items: center;
|
|
2628
|
+
justify-content: center;
|
|
2629
|
+
border-radius: 50%;
|
|
2630
|
+
width: 1rem;
|
|
2631
|
+
height: 1rem;
|
|
2632
|
+
position: absolute;
|
|
2633
|
+
bottom: -0.25rem;
|
|
2634
|
+
right: -0.25rem;
|
|
2635
|
+
font-size: 0.625rem;
|
|
2636
|
+
pointer-events: none;
|
|
2637
|
+
}
|
|
2638
|
+
.excalidraw .layer-ui__library-message {
|
|
2639
|
+
padding: 2rem;
|
|
2640
|
+
min-width: 200px;
|
|
2641
|
+
display: flex;
|
|
2642
|
+
flex-direction: column;
|
|
2643
|
+
align-items: center;
|
|
2644
|
+
flex-grow: 1;
|
|
2645
|
+
justify-content: center;
|
|
2646
|
+
}
|
|
2647
|
+
.excalidraw .layer-ui__library-message span {
|
|
2648
|
+
font-size: 0.8em;
|
|
2649
|
+
}
|
|
2650
|
+
.excalidraw .publish-library-success .Dialog__content {
|
|
2651
|
+
display: flex;
|
|
2652
|
+
flex-direction: column;
|
|
2653
|
+
}
|
|
2654
|
+
.excalidraw .publish-library-success-close.ToolIcon_type_button {
|
|
2655
|
+
background-color: #228be6;
|
|
2656
|
+
align-self: flex-end;
|
|
2657
|
+
}
|
|
2658
|
+
.excalidraw .publish-library-success-close.ToolIcon_type_button:hover {
|
|
2659
|
+
background-color: #1971c2;
|
|
2660
|
+
}
|
|
2661
|
+
.excalidraw .publish-library-success-close.ToolIcon_type_button .ToolIcon__icon {
|
|
2662
|
+
width: auto;
|
|
2663
|
+
font-size: 1rem;
|
|
2664
|
+
color: #ffffff;
|
|
2665
|
+
padding: 0 0.5rem;
|
|
2666
|
+
}
|
|
2667
|
+
.excalidraw .library-menu-control-buttons {
|
|
2668
|
+
display: flex;
|
|
2669
|
+
align-items: center;
|
|
2670
|
+
justify-content: center;
|
|
2671
|
+
gap: 0.625rem;
|
|
2672
|
+
position: relative;
|
|
2673
|
+
}
|
|
2674
|
+
.excalidraw .library-menu-control-buttons--at-bottom::before {
|
|
2675
|
+
content: "";
|
|
2676
|
+
width: calc(100% - 1.5rem);
|
|
2677
|
+
height: 1px;
|
|
2678
|
+
position: absolute;
|
|
2679
|
+
top: -1px;
|
|
2680
|
+
background: var(--sidebar-border-color);
|
|
2681
|
+
}
|
|
2682
|
+
.excalidraw .library-menu-browse-button {
|
|
2683
|
+
flex: 1;
|
|
2684
|
+
height: var(--lg-button-size);
|
|
2685
|
+
display: flex;
|
|
2686
|
+
align-items: center;
|
|
2687
|
+
justify-content: center;
|
|
2688
|
+
overflow: hidden;
|
|
2689
|
+
position: relative;
|
|
2690
|
+
border-radius: var(--border-radius-lg);
|
|
2691
|
+
background-color: var(--color-primary);
|
|
2692
|
+
color: #ffffff;
|
|
2693
|
+
text-align: center;
|
|
2694
|
+
white-space: nowrap;
|
|
2695
|
+
text-decoration: none !important;
|
|
2696
|
+
font-weight: 600;
|
|
2697
|
+
font-size: 0.75rem;
|
|
2698
|
+
}
|
|
2699
|
+
.excalidraw .library-menu-browse-button:hover {
|
|
2700
|
+
background-color: var(--color-brand-hover);
|
|
2701
|
+
}
|
|
2702
|
+
.excalidraw .library-menu-browse-button:active {
|
|
2703
|
+
background-color: var(--color-brand-active);
|
|
2704
|
+
}
|
|
2705
|
+
.excalidraw.theme--dark .library-menu-browse-button {
|
|
2706
|
+
color: var(--color-gray-100);
|
|
2707
|
+
}
|
|
2708
|
+
.excalidraw.excalidraw--mobile .library-menu-browse-button {
|
|
2709
|
+
height: var(--default-button-size);
|
|
2710
|
+
}
|
|
2711
|
+
.excalidraw .layer-ui__library .dropdown-menu {
|
|
2712
|
+
width: auto;
|
|
2713
|
+
top: initial;
|
|
2714
|
+
right: 0;
|
|
2715
|
+
left: initial;
|
|
2716
|
+
bottom: 100%;
|
|
2717
|
+
margin-bottom: 0.625rem;
|
|
2718
|
+
}
|
|
2719
|
+
.excalidraw .layer-ui__library .dropdown-menu .dropdown-menu-container {
|
|
2720
|
+
width: 196px;
|
|
2721
|
+
box-shadow: var(--library-dropdown-shadow);
|
|
2722
|
+
border-radius: var(--border-radius-lg);
|
|
2723
|
+
padding: 0.25rem 0.5rem;
|
|
2724
|
+
}
|
|
2725
|
+
.excalidraw .layer-ui__library .library-menu-dropdown-container {
|
|
2726
|
+
position: relative;
|
|
2727
|
+
}
|
|
2728
|
+
.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading {
|
|
2729
|
+
margin-left: auto;
|
|
2730
|
+
}
|
|
2731
|
+
.excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading .dropdown-menu {
|
|
2732
|
+
top: 100%;
|
|
2733
|
+
}
|
|
2734
|
+
/*!**************************************************************************************************************************************************************************************************!*\
|
|
2735
|
+
!*** 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 ***!
|
|
2736
|
+
\**************************************************************************************************************************************************************************************************/
|
|
2737
|
+
.excalidraw.excalidraw-modal-container {
|
|
2738
|
+
position: absolute;
|
|
2739
|
+
z-index: var(--zIndex-modal);
|
|
2740
|
+
}
|
|
2741
|
+
.excalidraw .Modal {
|
|
2742
|
+
position: absolute;
|
|
2743
|
+
top: 0;
|
|
2744
|
+
left: 0;
|
|
2745
|
+
right: 0;
|
|
2746
|
+
bottom: 0;
|
|
2747
|
+
display: flex;
|
|
2748
|
+
align-items: center;
|
|
2749
|
+
justify-content: center;
|
|
2750
|
+
overflow: auto;
|
|
2751
|
+
padding: calc(var(--space-factor) * 10);
|
|
2752
|
+
display: flex;
|
|
2753
|
+
flex-direction: column;
|
|
2754
|
+
}
|
|
2755
|
+
.excalidraw .Modal .Island {
|
|
2756
|
+
padding: 2.5rem;
|
|
2757
|
+
border: 0;
|
|
2758
|
+
box-shadow: none;
|
|
2759
|
+
border-radius: 0;
|
|
2760
|
+
}
|
|
2761
|
+
.excalidraw .Modal.animations-disabled .Modal__background {
|
|
2762
|
+
animation: none;
|
|
2763
|
+
}
|
|
2764
|
+
.excalidraw .Modal.animations-disabled .Modal__content {
|
|
2765
|
+
animation: none;
|
|
2766
|
+
opacity: 1;
|
|
2767
|
+
}
|
|
2768
|
+
.excalidraw .Modal__background {
|
|
2755
2769
|
position: absolute;
|
|
2756
|
-
top:
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
height: 1.25rem;
|
|
2761
|
-
color: var(--color-gray-40);
|
|
2770
|
+
top: 0;
|
|
2771
|
+
left: 0;
|
|
2772
|
+
right: 0;
|
|
2773
|
+
bottom: 0;
|
|
2762
2774
|
z-index: 1;
|
|
2775
|
+
background-color: rgba(18, 18, 18, 0.2);
|
|
2776
|
+
animation: Modal__background__fade-in 0.1s linear forwards;
|
|
2763
2777
|
}
|
|
2764
|
-
.excalidraw .
|
|
2778
|
+
.excalidraw .Modal__content {
|
|
2779
|
+
position: relative;
|
|
2780
|
+
z-index: 2;
|
|
2765
2781
|
width: 100%;
|
|
2766
|
-
|
|
2782
|
+
max-width: var(--max-width);
|
|
2783
|
+
max-height: 100%;
|
|
2784
|
+
opacity: 0;
|
|
2785
|
+
transform: translateY(10px);
|
|
2786
|
+
animation: Modal__content_fade-in 0.025s ease-out 0s forwards;
|
|
2787
|
+
position: relative;
|
|
2788
|
+
overflow-y: auto;
|
|
2789
|
+
background: var(--island-bg-color);
|
|
2790
|
+
border: 1px solid var(--dialog-border-color);
|
|
2791
|
+
box-shadow: var(--modal-shadow);
|
|
2792
|
+
border-radius: 0.75rem;
|
|
2793
|
+
box-sizing: border-box;
|
|
2767
2794
|
}
|
|
2768
|
-
.excalidraw .
|
|
2769
|
-
|
|
2770
|
-
font-style: normal;
|
|
2771
|
-
font-weight: 600;
|
|
2772
|
-
font-size: 0.875rem;
|
|
2773
|
-
line-height: 150%;
|
|
2774
|
-
color: var(--ExcTextField--label-color);
|
|
2775
|
-
margin-bottom: 0.25rem;
|
|
2776
|
-
-webkit-user-select: none;
|
|
2777
|
-
user-select: none;
|
|
2795
|
+
.excalidraw .Modal__content:focus {
|
|
2796
|
+
outline: none;
|
|
2778
2797
|
}
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
border: 1px solid var(--ExcTextField--border);
|
|
2787
|
-
border-radius: 0.5rem;
|
|
2788
|
-
padding: 0 0.75rem;
|
|
2798
|
+
@keyframes Modal__background__fade-in {
|
|
2799
|
+
from {
|
|
2800
|
+
opacity: 0;
|
|
2801
|
+
}
|
|
2802
|
+
to {
|
|
2803
|
+
opacity: 1;
|
|
2804
|
+
}
|
|
2789
2805
|
}
|
|
2790
|
-
|
|
2791
|
-
|
|
2806
|
+
@keyframes Modal__content_fade-in {
|
|
2807
|
+
from {
|
|
2808
|
+
opacity: 0;
|
|
2809
|
+
transform: scale(0.9);
|
|
2810
|
+
}
|
|
2811
|
+
to {
|
|
2812
|
+
opacity: 1;
|
|
2813
|
+
transform: scale(1);
|
|
2814
|
+
}
|
|
2792
2815
|
}
|
|
2793
|
-
.excalidraw .
|
|
2794
|
-
|
|
2816
|
+
.excalidraw .Modal__close {
|
|
2817
|
+
color: var(--icon-fill-color);
|
|
2818
|
+
margin: 0;
|
|
2819
|
+
padding: 0.375rem;
|
|
2820
|
+
position: absolute;
|
|
2821
|
+
top: 1rem;
|
|
2822
|
+
right: 1rem;
|
|
2823
|
+
border: 0;
|
|
2824
|
+
background-color: transparent;
|
|
2825
|
+
line-height: 0;
|
|
2826
|
+
cursor: pointer;
|
|
2795
2827
|
}
|
|
2796
|
-
.excalidraw .
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2828
|
+
.excalidraw .Modal__close svg {
|
|
2829
|
+
width: 1.5rem;
|
|
2830
|
+
height: 1.5rem;
|
|
2831
|
+
}
|
|
2832
|
+
.excalidraw .Dialog--fullscreen .Modal {
|
|
2801
2833
|
padding: 0;
|
|
2834
|
+
}
|
|
2835
|
+
.excalidraw .Dialog--fullscreen .Modal__content {
|
|
2836
|
+
position: absolute;
|
|
2837
|
+
top: 0;
|
|
2838
|
+
left: 0;
|
|
2839
|
+
right: 0;
|
|
2840
|
+
bottom: 0;
|
|
2841
|
+
max-width: 100%;
|
|
2842
|
+
border: 0;
|
|
2843
|
+
border-radius: 0;
|
|
2844
|
+
}
|
|
2845
|
+
/*!***************************************************************************************************************************************************************************************************!*\
|
|
2846
|
+
!*** 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 ***!
|
|
2847
|
+
\***************************************************************************************************************************************************************************************************/
|
|
2848
|
+
.excalidraw .Dialog {
|
|
2849
|
+
-webkit-user-select: text;
|
|
2850
|
+
user-select: text;
|
|
2851
|
+
cursor: auto;
|
|
2852
|
+
}
|
|
2853
|
+
.excalidraw .Dialog__title {
|
|
2802
2854
|
margin: 0;
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
font-size: 1rem;
|
|
2809
|
-
line-height: 150%;
|
|
2810
|
-
text-overflow: ellipsis;
|
|
2811
|
-
background: transparent;
|
|
2812
|
-
width: 100%;
|
|
2855
|
+
text-align: left;
|
|
2856
|
+
font-size: 1.25rem;
|
|
2857
|
+
border-bottom: 1px solid var(--dialog-border-color);
|
|
2858
|
+
padding: 0 0 0.75rem;
|
|
2859
|
+
margin-bottom: 1.5rem;
|
|
2813
2860
|
}
|
|
2814
|
-
.excalidraw .
|
|
2815
|
-
|
|
2861
|
+
.excalidraw .Dialog__close {
|
|
2862
|
+
color: var(--color-gray-40);
|
|
2863
|
+
margin: 0;
|
|
2864
|
+
position: absolute;
|
|
2865
|
+
top: 0.75rem;
|
|
2866
|
+
right: 0.5rem;
|
|
2867
|
+
border: 0;
|
|
2868
|
+
background-color: transparent;
|
|
2869
|
+
line-height: 0;
|
|
2870
|
+
cursor: pointer;
|
|
2816
2871
|
}
|
|
2817
|
-
.excalidraw .
|
|
2818
|
-
|
|
2819
|
-
box-shadow: initial;
|
|
2872
|
+
.excalidraw .Dialog__close:hover {
|
|
2873
|
+
color: var(--color-gray-60);
|
|
2820
2874
|
}
|
|
2821
|
-
.excalidraw .
|
|
2822
|
-
|
|
2823
|
-
border-color: var(--ExcTextField--readonly--border);
|
|
2875
|
+
.excalidraw .Dialog__close:active {
|
|
2876
|
+
color: var(--color-gray-40);
|
|
2824
2877
|
}
|
|
2825
|
-
.excalidraw .
|
|
2826
|
-
|
|
2878
|
+
.excalidraw .Dialog__close svg {
|
|
2879
|
+
width: 1.5rem;
|
|
2880
|
+
height: 1.5rem;
|
|
2827
2881
|
}
|
|
2828
|
-
.excalidraw .
|
|
2829
|
-
|
|
2882
|
+
.excalidraw .Dialog__close + .Dialog__content {
|
|
2883
|
+
--offset: 28px;
|
|
2884
|
+
height: calc(100% - var(--offset)) !important;
|
|
2885
|
+
margin-top: var(--offset) !important;
|
|
2886
|
+
}
|
|
2887
|
+
.excalidraw .Dialog--fullscreen .Dialog__close {
|
|
2888
|
+
top: 1.25rem;
|
|
2889
|
+
right: 1.25rem;
|
|
2830
2890
|
}
|
|
2831
2891
|
/*!****************************************************************************************************************************************************************************************************!*\
|
|
2832
2892
|
!*** 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 ***!
|
|
@@ -2913,6 +2973,104 @@
|
|
|
2913
2973
|
border-top-left-radius: 0 !important;
|
|
2914
2974
|
border-bottom-left-radius: 0 !important;
|
|
2915
2975
|
}
|
|
2976
|
+
|
|
2977
|
+
.compact-shape-actions {
|
|
2978
|
+
display: flex;
|
|
2979
|
+
flex-direction: column;
|
|
2980
|
+
gap: 0.5rem;
|
|
2981
|
+
max-height: calc(100vh - 200px);
|
|
2982
|
+
overflow-y: auto;
|
|
2983
|
+
padding: 0.5rem;
|
|
2984
|
+
}
|
|
2985
|
+
.compact-shape-actions .compact-action-item {
|
|
2986
|
+
position: relative;
|
|
2987
|
+
display: flex;
|
|
2988
|
+
justify-content: center;
|
|
2989
|
+
align-items: center;
|
|
2990
|
+
min-height: 2.5rem;
|
|
2991
|
+
--default-button-size: 2rem;
|
|
2992
|
+
}
|
|
2993
|
+
.compact-shape-actions .compact-action-item .compact-action-button {
|
|
2994
|
+
width: 2rem;
|
|
2995
|
+
height: 2rem;
|
|
2996
|
+
border: none;
|
|
2997
|
+
border-radius: var(--border-radius-lg);
|
|
2998
|
+
background: transparent;
|
|
2999
|
+
color: var(--color-on-surface);
|
|
3000
|
+
cursor: pointer;
|
|
3001
|
+
display: flex;
|
|
3002
|
+
align-items: center;
|
|
3003
|
+
justify-content: center;
|
|
3004
|
+
transition: all 0.2s ease;
|
|
3005
|
+
}
|
|
3006
|
+
.compact-shape-actions .compact-action-item .compact-action-button svg {
|
|
3007
|
+
width: 1rem;
|
|
3008
|
+
height: 1rem;
|
|
3009
|
+
flex: 0 0 auto;
|
|
3010
|
+
}
|
|
3011
|
+
.compact-shape-actions .compact-action-item .compact-action-button:hover {
|
|
3012
|
+
background: var(--button-hover-bg, var(--island-bg-color));
|
|
3013
|
+
border-color: var(--button-hover-border, var(--button-border, var(--default-border-color)));
|
|
3014
|
+
}
|
|
3015
|
+
.compact-shape-actions .compact-action-item .compact-action-button:active {
|
|
3016
|
+
background: var(--button-active-bg, var(--island-bg-color));
|
|
3017
|
+
border-color: var(--button-active-border, var(--color-primary-darkest));
|
|
3018
|
+
}
|
|
3019
|
+
.compact-shape-actions .compact-action-item .compact-popover-content .popover-section {
|
|
3020
|
+
margin-bottom: 1rem;
|
|
3021
|
+
}
|
|
3022
|
+
.compact-shape-actions .compact-action-item .compact-popover-content .popover-section:last-child {
|
|
3023
|
+
margin-bottom: 0;
|
|
3024
|
+
}
|
|
3025
|
+
.compact-shape-actions .compact-action-item .compact-popover-content .popover-section .popover-section-title {
|
|
3026
|
+
font-size: 0.75rem;
|
|
3027
|
+
font-weight: 600;
|
|
3028
|
+
color: var(--color-text-secondary);
|
|
3029
|
+
margin-bottom: 0.5rem;
|
|
3030
|
+
text-transform: uppercase;
|
|
3031
|
+
letter-spacing: 0.5px;
|
|
3032
|
+
}
|
|
3033
|
+
.compact-shape-actions .compact-action-item .compact-popover-content .popover-section .buttonList {
|
|
3034
|
+
display: flex;
|
|
3035
|
+
flex-wrap: wrap;
|
|
3036
|
+
gap: 0.25rem;
|
|
3037
|
+
}
|
|
3038
|
+
|
|
3039
|
+
.compact-shape-actions-island {
|
|
3040
|
+
width: -moz-fit-content;
|
|
3041
|
+
width: fit-content;
|
|
3042
|
+
overflow-x: hidden;
|
|
3043
|
+
}
|
|
3044
|
+
|
|
3045
|
+
.compact-popover-content .popover-section {
|
|
3046
|
+
margin-bottom: 1rem;
|
|
3047
|
+
}
|
|
3048
|
+
.compact-popover-content .popover-section:last-child {
|
|
3049
|
+
margin-bottom: 0;
|
|
3050
|
+
}
|
|
3051
|
+
.compact-popover-content .popover-section .popover-section-title {
|
|
3052
|
+
font-size: 0.75rem;
|
|
3053
|
+
font-weight: 600;
|
|
3054
|
+
color: var(--color-text-secondary);
|
|
3055
|
+
margin-bottom: 0.5rem;
|
|
3056
|
+
text-transform: uppercase;
|
|
3057
|
+
letter-spacing: 0.5px;
|
|
3058
|
+
}
|
|
3059
|
+
.compact-popover-content .popover-section .buttonList {
|
|
3060
|
+
display: flex;
|
|
3061
|
+
flex-wrap: wrap;
|
|
3062
|
+
gap: 0.25rem;
|
|
3063
|
+
}
|
|
3064
|
+
|
|
3065
|
+
.shape-actions-theme-scope {
|
|
3066
|
+
--button-border: transparent;
|
|
3067
|
+
--button-bg: var(--color-surface-mid);
|
|
3068
|
+
}
|
|
3069
|
+
|
|
3070
|
+
:root.theme--dark .shape-actions-theme-scope {
|
|
3071
|
+
--button-hover-bg: #363541;
|
|
3072
|
+
--button-bg: var(--color-surface-high);
|
|
3073
|
+
}
|
|
2916
3074
|
/*!**************************************************************************************************************************************************************************************************************************!*\
|
|
2917
3075
|
!*** 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 ***!
|
|
2918
3076
|
\**************************************************************************************************************************************************************************************************************************/
|
|
@@ -3004,6 +3162,16 @@
|
|
|
3004
3162
|
padding: 0 0.5rem;
|
|
3005
3163
|
border-radius: var(--border-radius-lg);
|
|
3006
3164
|
cursor: pointer;
|
|
3165
|
+
--icon-size: 1rem;
|
|
3166
|
+
}
|
|
3167
|
+
.excalidraw .command-palette-dialog .commands .command-item.command-item-large {
|
|
3168
|
+
height: 2.75rem;
|
|
3169
|
+
--icon-size: 1.5rem;
|
|
3170
|
+
}
|
|
3171
|
+
.excalidraw .command-palette-dialog .commands .command-item.command-item-large .icon {
|
|
3172
|
+
width: var(--icon-size);
|
|
3173
|
+
height: var(--icon-size);
|
|
3174
|
+
margin-right: 0.625rem;
|
|
3007
3175
|
}
|
|
3008
3176
|
.excalidraw .command-palette-dialog .commands .command-item:active {
|
|
3009
3177
|
background-color: var(--color-surface-low);
|
|
@@ -3028,9 +3196,16 @@
|
|
|
3028
3196
|
margin-top: 36px;
|
|
3029
3197
|
}
|
|
3030
3198
|
.excalidraw .command-palette-dialog .icon {
|
|
3031
|
-
width:
|
|
3032
|
-
height:
|
|
3033
|
-
margin-right:
|
|
3199
|
+
width: var(--icon-size, 1rem);
|
|
3200
|
+
height: var(--icon-size, 1rem);
|
|
3201
|
+
margin-right: 0.375rem;
|
|
3202
|
+
}
|
|
3203
|
+
.excalidraw .command-palette-dialog .icon .library-item-icon {
|
|
3204
|
+
display: flex;
|
|
3205
|
+
align-items: center;
|
|
3206
|
+
justify-content: center;
|
|
3207
|
+
height: 100%;
|
|
3208
|
+
width: 100%;
|
|
3034
3209
|
}
|
|
3035
3210
|
/*!*****************************************************************************************************************************************************************************************************************!*\
|
|
3036
3211
|
!*** 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 ***!
|
|
@@ -5254,6 +5429,9 @@
|
|
|
5254
5429
|
justify-content: flex-end;
|
|
5255
5430
|
pointer-events: none !important;
|
|
5256
5431
|
}
|
|
5432
|
+
.excalidraw .layer-ui__wrapper__top-right--compact {
|
|
5433
|
+
gap: 0.5rem;
|
|
5434
|
+
}
|
|
5257
5435
|
.excalidraw .layer-ui__wrapper__top-right > * {
|
|
5258
5436
|
pointer-events: var(--ui-pointerEvents);
|
|
5259
5437
|
}
|
|
@@ -5333,6 +5511,12 @@
|
|
|
5333
5511
|
.excalidraw .App-toolbar.zen-mode .HintViewer {
|
|
5334
5512
|
display: none;
|
|
5335
5513
|
}
|
|
5514
|
+
.excalidraw .App-toolbar--compact .ToolIcon__keybinding {
|
|
5515
|
+
display: none;
|
|
5516
|
+
}
|
|
5517
|
+
.excalidraw .App-toolbar--compact .App-toolbar__divider {
|
|
5518
|
+
margin: 0;
|
|
5519
|
+
}
|
|
5336
5520
|
.excalidraw .App-toolbar__divider {
|
|
5337
5521
|
width: 1px;
|
|
5338
5522
|
height: 1.5rem;
|
|
@@ -6358,7 +6542,7 @@ body.excalidraw-cursor-resize * {
|
|
|
6358
6542
|
}
|
|
6359
6543
|
.excalidraw .App-menu_top {
|
|
6360
6544
|
grid-template-columns: 1fr 2fr 1fr;
|
|
6361
|
-
grid-gap:
|
|
6545
|
+
grid-gap: 1rem;
|
|
6362
6546
|
align-items: flex-start;
|
|
6363
6547
|
cursor: default;
|
|
6364
6548
|
pointer-events: none !important;
|
|
@@ -6375,6 +6559,13 @@ body.excalidraw-cursor-resize * {
|
|
|
6375
6559
|
.excalidraw .App-menu_top > *:first-child {
|
|
6376
6560
|
justify-self: flex-start;
|
|
6377
6561
|
}
|
|
6562
|
+
.excalidraw .selected-shape-actions-container {
|
|
6563
|
+
width: -moz-fit-content;
|
|
6564
|
+
width: fit-content;
|
|
6565
|
+
}
|
|
6566
|
+
.excalidraw .selected-shape-actions-container--compact {
|
|
6567
|
+
min-width: 48px;
|
|
6568
|
+
}
|
|
6378
6569
|
.excalidraw .App-menu_top > *:last-child {
|
|
6379
6570
|
justify-self: flex-end;
|
|
6380
6571
|
}
|