@myoc/excalidraw 0.19.522 → 0.19.524
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/CHANGELOG.md +123 -1
- package/dist/dev/{chunk-BCNQXIBK.js → chunk-3SND5YQP.js} +50 -6
- package/dist/dev/chunk-3SND5YQP.js.map +7 -0
- package/dist/dev/{chunk-6T5HZJCI.js → chunk-W3K3P2GO.js} +2 -2
- package/dist/dev/data/{image-NFLICJEW.js → image-F4TDOTKO.js} +3 -3
- package/dist/dev/index.css +774 -622
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +11072 -10660
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-SZWH77NQ.js → chunk-GPFWSM2Y.js} +1 -1
- package/dist/prod/chunk-H5UC5NY3.js +4 -0
- package/dist/prod/data/image-FQV7KQIF.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +16 -16
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/excalidraw/actions/actionCanvas.d.ts +6 -6
- package/dist/types/excalidraw/actions/index.d.ts +1 -1
- package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/components/Actions.d.ts +1 -2
- package/dist/types/excalidraw/components/App.d.ts +9 -3
- package/dist/types/excalidraw/components/MobileToolbar.d.ts +3 -1
- package/dist/types/excalidraw/components/Toolbar.d.ts +3 -1
- package/dist/types/excalidraw/components/Tools.d.ts +9 -4
- package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +0 -2
- package/dist/types/excalidraw/types.d.ts +9 -1
- package/dist/types/excalidraw/viewport.d.ts +7 -1
- package/package.json +4 -4
- package/dist/dev/chunk-BCNQXIBK.js.map +0 -7
- package/dist/prod/chunk-66O5T5YX.js +0 -4
- package/dist/prod/data/image-AAJBLI3M.js +0 -1
- package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +0 -191
- /package/dist/dev/{chunk-6T5HZJCI.js.map → chunk-W3K3P2GO.js.map} +0 -0
- /package/dist/dev/data/{image-NFLICJEW.js.map → image-F4TDOTKO.js.map} +0 -0
package/dist/dev/index.css
CHANGED
|
@@ -2035,6 +2035,9 @@ body.excalidraw-color-dnd-active * {
|
|
|
2035
2035
|
width: 1rem;
|
|
2036
2036
|
height: 1rem;
|
|
2037
2037
|
}
|
|
2038
|
+
.excalidraw .mobile-toolbar .ToolIcon .ToolIcon__keybinding {
|
|
2039
|
+
display: none;
|
|
2040
|
+
}
|
|
2038
2041
|
.excalidraw .mobile-toolbar .App-toolbar__extra-tools-dropdown {
|
|
2039
2042
|
min-width: 160px;
|
|
2040
2043
|
z-index: var(--zIndex-layerUI);
|
|
@@ -3956,798 +3959,898 @@ body.excalidraw-color-dnd-active * {
|
|
|
3956
3959
|
justify-content: center;
|
|
3957
3960
|
}
|
|
3958
3961
|
|
|
3959
|
-
/* components/
|
|
3960
|
-
.excalidraw .
|
|
3962
|
+
/* components/SearchMenu.scss */
|
|
3963
|
+
.excalidraw .layer-ui__search {
|
|
3964
|
+
flex: 1 0 auto;
|
|
3961
3965
|
display: flex;
|
|
3962
3966
|
flex-direction: column;
|
|
3963
|
-
|
|
3964
|
-
max-width: 290px;
|
|
3965
|
-
margin: 1em;
|
|
3966
|
-
text-align: center;
|
|
3967
|
+
padding: 8px 0 0 0;
|
|
3967
3968
|
}
|
|
3968
|
-
.excalidraw .
|
|
3969
|
-
font-size: 2.6em;
|
|
3969
|
+
.excalidraw .layer-ui__search-header {
|
|
3970
3970
|
display: flex;
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
color: #fff;
|
|
3971
|
+
justify-content: space-between;
|
|
3972
|
+
align-items: center;
|
|
3973
|
+
gap: 0.75rem;
|
|
3974
|
+
padding: 0 0.75rem;
|
|
3976
3975
|
}
|
|
3977
|
-
.excalidraw .
|
|
3978
|
-
|
|
3979
|
-
|
|
3976
|
+
.excalidraw .layer-ui__search-header .ExcTextField {
|
|
3977
|
+
flex: 1 0 auto;
|
|
3978
|
+
--ExcTextField--background: var(--sidebar-bg-color);
|
|
3979
|
+
--ExcTextField--border: var(--sidebar-border-color);
|
|
3980
|
+
--ExcTextField--placeholder: var(--text-primary-color);
|
|
3980
3981
|
}
|
|
3981
|
-
.excalidraw
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
padding: 0 1em;
|
|
3985
|
-
margin-bottom: auto;
|
|
3982
|
+
.excalidraw.theme--dark .layer-ui__search-header .ExcTextField {
|
|
3983
|
+
--ExcTextField--background: var(--sidebar-bg-color);
|
|
3984
|
+
--ExcTextField--placeholder: var(--text-primary-color);
|
|
3986
3985
|
}
|
|
3987
|
-
.excalidraw .
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
margin-bottom: 0.3em;
|
|
3991
|
-
background-color: var(--card-color);
|
|
3986
|
+
.excalidraw .layer-ui__search-header .ExcTextField__input {
|
|
3987
|
+
border-radius: var(--border-radius-md);
|
|
3988
|
+
border: 0;
|
|
3992
3989
|
}
|
|
3993
|
-
.excalidraw .
|
|
3994
|
-
|
|
3990
|
+
.excalidraw .layer-ui__search-header .ExcTextField__input input::placeholder {
|
|
3991
|
+
color: var(--ExcTextField--placeholder);
|
|
3992
|
+
font-size: 0.9rem;
|
|
3993
|
+
opacity: 1;
|
|
3995
3994
|
}
|
|
3996
|
-
.excalidraw .
|
|
3997
|
-
|
|
3995
|
+
.excalidraw .default-sidebar--search-only .layer-ui__search {
|
|
3996
|
+
position: relative;
|
|
3997
|
+
z-index: 0;
|
|
3998
|
+
flex: none;
|
|
3999
|
+
min-height: 0;
|
|
4000
|
+
padding: 0;
|
|
4001
|
+
overflow: visible;
|
|
4002
|
+
background: var(--sidebar-bg-color);
|
|
4003
|
+
box-shadow: none;
|
|
3998
4004
|
}
|
|
3999
|
-
.excalidraw .
|
|
4000
|
-
|
|
4005
|
+
.excalidraw .default-sidebar--search-only .layer-ui__search-header {
|
|
4006
|
+
position: relative;
|
|
4007
|
+
z-index: 1;
|
|
4008
|
+
flex: 0 0 auto;
|
|
4009
|
+
padding: 0.75rem;
|
|
4010
|
+
background: var(--sidebar-bg-color);
|
|
4011
|
+
box-shadow: none;
|
|
4001
4012
|
}
|
|
4002
|
-
.excalidraw .
|
|
4003
|
-
|
|
4013
|
+
.excalidraw .default-sidebar--search-only .layer-ui__search-header .ExcTextField {
|
|
4014
|
+
min-width: 0;
|
|
4015
|
+
--ExcTextField--background: var(--sidebar-bg-color);
|
|
4016
|
+
--ExcTextField--border: var(--sidebar-border-color);
|
|
4017
|
+
--ExcTextField--placeholder: var(--text-primary-color);
|
|
4004
4018
|
}
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
--preview-padding: calc(var(--space-factor) * 4);
|
|
4009
|
-
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==) left center;
|
|
4010
|
-
text-align: center;
|
|
4011
|
-
padding: var(--preview-padding);
|
|
4012
|
-
margin-bottom: calc(var(--space-factor) * 3);
|
|
4013
|
-
display: flex;
|
|
4014
|
-
justify-content: center;
|
|
4015
|
-
align-items: center;
|
|
4019
|
+
.excalidraw .default-sidebar--search-only .layer-ui__search-header .ExcTextField__input {
|
|
4020
|
+
border: 1px solid var(--sidebar-border-color);
|
|
4021
|
+
background: var(--sidebar-bg-color);
|
|
4016
4022
|
}
|
|
4017
|
-
.excalidraw .
|
|
4018
|
-
|
|
4019
|
-
|
|
4023
|
+
.excalidraw .default-sidebar--search-only .layer-ui__search-count {
|
|
4024
|
+
flex: 0 0 auto;
|
|
4025
|
+
margin-top: 0;
|
|
4020
4026
|
}
|
|
4021
|
-
.excalidraw.
|
|
4022
|
-
|
|
4027
|
+
.excalidraw .default-sidebar--search-only .layer-ui__search-results {
|
|
4028
|
+
position: relative;
|
|
4029
|
+
z-index: 1;
|
|
4030
|
+
flex: none;
|
|
4031
|
+
min-height: 0;
|
|
4032
|
+
overflow-y: auto;
|
|
4033
|
+
max-height: 22rem;
|
|
4034
|
+
padding-bottom: 0.75rem;
|
|
4035
|
+
border-bottom-left-radius: var(--border-radius-lg);
|
|
4036
|
+
border-bottom-right-radius: var(--border-radius-lg);
|
|
4037
|
+
background: var(--sidebar-bg-color);
|
|
4038
|
+
box-shadow: none;
|
|
4023
4039
|
}
|
|
4024
|
-
.excalidraw .
|
|
4025
|
-
|
|
4040
|
+
.excalidraw .default-sidebar--search-only .layer-ui__search-result-container {
|
|
4041
|
+
overflow: visible;
|
|
4042
|
+
}
|
|
4043
|
+
.excalidraw .default-sidebar--search-only .layer-ui__search-close {
|
|
4044
|
+
flex: 0 0 auto;
|
|
4045
|
+
width: var(--lg-button-size);
|
|
4046
|
+
height: var(--lg-button-size);
|
|
4047
|
+
padding: 0;
|
|
4048
|
+
border: 0;
|
|
4049
|
+
background: transparent;
|
|
4050
|
+
}
|
|
4051
|
+
.excalidraw .default-sidebar--search-only .layer-ui__search-close svg {
|
|
4052
|
+
width: var(--lg-icon-size);
|
|
4053
|
+
height: var(--lg-icon-size);
|
|
4054
|
+
}
|
|
4055
|
+
.excalidraw .layer-ui__search-count {
|
|
4026
4056
|
display: flex;
|
|
4027
|
-
grid-gap: calc(var(--space-factor) * 2);
|
|
4028
|
-
align-items: top;
|
|
4029
4057
|
justify-content: space-between;
|
|
4058
|
+
align-items: center;
|
|
4059
|
+
padding: 8px 8px 0 8px;
|
|
4060
|
+
margin: 0 0.75rem 0.25rem 0.75rem;
|
|
4061
|
+
font-size: 0.8em;
|
|
4030
4062
|
}
|
|
4031
|
-
.excalidraw
|
|
4063
|
+
.excalidraw .layer-ui__search-count .result-nav {
|
|
4032
4064
|
display: flex;
|
|
4033
|
-
flex-direction: column;
|
|
4034
|
-
}
|
|
4035
|
-
.excalidraw--mobile.excalidraw .ExportDialog__actions {
|
|
4036
|
-
flex-direction: column;
|
|
4037
|
-
align-items: center;
|
|
4038
4065
|
}
|
|
4039
|
-
.excalidraw
|
|
4040
|
-
|
|
4066
|
+
.excalidraw .layer-ui__search-count .result-nav .result-nav-btn {
|
|
4067
|
+
width: 36px;
|
|
4068
|
+
height: 36px;
|
|
4069
|
+
--button-border: transparent;
|
|
4041
4070
|
}
|
|
4042
|
-
.excalidraw
|
|
4043
|
-
|
|
4071
|
+
.excalidraw .layer-ui__search-count .result-nav .result-nav-btn:active {
|
|
4072
|
+
background-color: var(--color-surface-high);
|
|
4044
4073
|
}
|
|
4045
|
-
.excalidraw
|
|
4046
|
-
|
|
4047
|
-
height: 100%;
|
|
4048
|
-
box-sizing: border-box;
|
|
4074
|
+
.excalidraw .layer-ui__search-count .result-nav .result-nav-btn:first-child {
|
|
4075
|
+
margin-right: 4px;
|
|
4049
4076
|
}
|
|
4050
|
-
.excalidraw
|
|
4077
|
+
.excalidraw .layer-ui__search-result-container {
|
|
4051
4078
|
overflow-y: auto;
|
|
4079
|
+
flex: 1 1 0;
|
|
4080
|
+
display: flex;
|
|
4081
|
+
flex-direction: column;
|
|
4082
|
+
padding: 0 0.75rem;
|
|
4083
|
+
gap: 0.125rem;
|
|
4052
4084
|
}
|
|
4053
|
-
.excalidraw .
|
|
4054
|
-
|
|
4055
|
-
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
4056
|
-
justify-items: center;
|
|
4057
|
-
row-gap: 2em;
|
|
4085
|
+
.excalidraw .layer-ui__search .collapsible-items {
|
|
4086
|
+
gap: 2px;
|
|
4058
4087
|
}
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4088
|
+
.excalidraw .layer-ui__search-result-title {
|
|
4089
|
+
font-size: 0.875rem;
|
|
4090
|
+
margin-bottom: 0.25rem;
|
|
4091
|
+
display: flex;
|
|
4092
|
+
align-items: center;
|
|
4093
|
+
gap: 0.25rem;
|
|
4094
|
+
font-weight: 700;
|
|
4066
4095
|
}
|
|
4067
|
-
.excalidraw .
|
|
4068
|
-
width:
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
flex-direction: column;
|
|
4096
|
+
.excalidraw .layer-ui__search-result-title .title-icon {
|
|
4097
|
+
width: 0.875rem;
|
|
4098
|
+
height: 0.875rem;
|
|
4099
|
+
margin-right: 0.25rem;
|
|
4072
4100
|
}
|
|
4073
|
-
.excalidraw .
|
|
4074
|
-
width:
|
|
4101
|
+
.excalidraw .layer-ui__search-result-title .title-icon svg g {
|
|
4102
|
+
stroke-width: 1.25;
|
|
4075
4103
|
}
|
|
4076
|
-
.excalidraw .
|
|
4077
|
-
|
|
4078
|
-
|
|
4104
|
+
.excalidraw .layer-ui__divider {
|
|
4105
|
+
width: 100%;
|
|
4106
|
+
margin-top: 0.25rem;
|
|
4107
|
+
margin-bottom: 1rem;
|
|
4108
|
+
position: relative;
|
|
4079
4109
|
}
|
|
4080
|
-
.excalidraw
|
|
4081
|
-
border: 0;
|
|
4082
|
-
width: 5rem;
|
|
4083
|
-
height: 5rem;
|
|
4084
|
-
margin: 0 0.2em;
|
|
4085
|
-
padding: 0;
|
|
4110
|
+
.excalidraw .layer-ui__result-item {
|
|
4086
4111
|
display: flex;
|
|
4087
4112
|
align-items: center;
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4113
|
+
min-height: 1.875rem;
|
|
4114
|
+
flex: 0 0 auto;
|
|
4115
|
+
padding: 0.25rem 0.75rem;
|
|
4116
|
+
cursor: pointer;
|
|
4117
|
+
border: 1px solid transparent;
|
|
4118
|
+
outline: none;
|
|
4119
|
+
font-size: 16px;
|
|
4120
|
+
border-radius: var(--border-radius-md);
|
|
4095
4121
|
}
|
|
4096
|
-
.excalidraw
|
|
4097
|
-
|
|
4122
|
+
.excalidraw .layer-ui__result-item .text-icon {
|
|
4123
|
+
width: 1rem;
|
|
4124
|
+
height: 1rem;
|
|
4125
|
+
margin-right: 0.75rem;
|
|
4098
4126
|
}
|
|
4099
|
-
.excalidraw
|
|
4100
|
-
|
|
4101
|
-
|
|
4127
|
+
.excalidraw .layer-ui__result-item .preview-text {
|
|
4128
|
+
flex: 1;
|
|
4129
|
+
max-height: 48px;
|
|
4130
|
+
line-height: 24px;
|
|
4131
|
+
overflow: hidden;
|
|
4132
|
+
text-overflow: ellipsis;
|
|
4133
|
+
word-break: break-all;
|
|
4102
4134
|
}
|
|
4103
|
-
.excalidraw
|
|
4104
|
-
|
|
4135
|
+
.excalidraw .layer-ui__result-item:hover {
|
|
4136
|
+
background-color: var(--color-surface-high);
|
|
4137
|
+
}
|
|
4138
|
+
.excalidraw .layer-ui__result-item:active {
|
|
4139
|
+
border-color: var(--color-primary);
|
|
4140
|
+
}
|
|
4141
|
+
.excalidraw .layer-ui__result-item.active {
|
|
4142
|
+
background-color: var(--color-surface-high);
|
|
4105
4143
|
}
|
|
4106
4144
|
|
|
4107
|
-
/* components/
|
|
4108
|
-
.excalidraw .
|
|
4109
|
-
pointer-events: none;
|
|
4110
|
-
box-sizing: border-box;
|
|
4111
|
-
position: absolute;
|
|
4145
|
+
/* components/Sidebar/SidebarTrigger.scss */
|
|
4146
|
+
.excalidraw .sidebar-trigger {
|
|
4112
4147
|
display: flex;
|
|
4113
|
-
flex-direction: column;
|
|
4114
4148
|
justify-content: center;
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
margin: 0 1px;
|
|
4134
|
-
font-family: monospace;
|
|
4135
|
-
border: 1px solid var(--color-gray-40);
|
|
4136
|
-
border-radius: 4px;
|
|
4137
|
-
padding: 1px 3px;
|
|
4138
|
-
font-size: 10px;
|
|
4139
|
-
}
|
|
4140
|
-
.excalidraw.theme--dark .HintViewer {
|
|
4141
|
-
color: var(--color-gray-60);
|
|
4142
|
-
}
|
|
4143
|
-
.excalidraw.theme--dark .HintViewer kbd {
|
|
4144
|
-
border-color: var(--color-gray-60);
|
|
4145
|
-
}
|
|
4146
|
-
|
|
4147
|
-
/* components/LayerUI.scss */
|
|
4148
|
-
.excalidraw .layer-ui__wrapper.animate {
|
|
4149
|
-
transition: width 0.1s ease-in-out;
|
|
4150
|
-
}
|
|
4151
|
-
.excalidraw .layer-ui__wrapper {
|
|
4152
|
-
position: absolute;
|
|
4153
|
-
width: 100%;
|
|
4154
|
-
height: 100%;
|
|
4155
|
-
pointer-events: none;
|
|
4156
|
-
z-index: var(--zIndex-layerUI);
|
|
4157
|
-
}
|
|
4158
|
-
.excalidraw .layer-ui__wrapper__top-right {
|
|
4149
|
+
align-items: center;
|
|
4150
|
+
padding: 0.625rem;
|
|
4151
|
+
width: var(--button-width, var(--default-button-size));
|
|
4152
|
+
height: var(--button-height, var(--default-button-size));
|
|
4153
|
+
box-sizing: border-box;
|
|
4154
|
+
border-width: 1px;
|
|
4155
|
+
border-style: solid;
|
|
4156
|
+
border-color: var(--button-border, var(--default-border-color));
|
|
4157
|
+
border-radius: var(--border-radius-lg);
|
|
4158
|
+
cursor: pointer;
|
|
4159
|
+
background-color: var(--button-bg, var(--island-bg-color));
|
|
4160
|
+
color: var(--button-color, var(--color-on-surface));
|
|
4161
|
+
font-family: var(--ui-font);
|
|
4162
|
+
border: none;
|
|
4163
|
+
box-shadow: 0 0 0 1px var(--color-surface-lowest);
|
|
4164
|
+
background-color: var(--color-surface-low);
|
|
4165
|
+
width: auto;
|
|
4166
|
+
height: var(--lg-button-size);
|
|
4159
4167
|
display: flex;
|
|
4160
|
-
|
|
4161
|
-
justify-content: flex-end;
|
|
4162
|
-
gap: 0.75rem;
|
|
4163
|
-
pointer-events: none !important;
|
|
4164
|
-
}
|
|
4165
|
-
.excalidraw .layer-ui__wrapper__top-right--compact {
|
|
4168
|
+
align-items: center;
|
|
4166
4169
|
gap: 0.5rem;
|
|
4170
|
+
line-height: 0;
|
|
4171
|
+
font-size: 0.75rem;
|
|
4172
|
+
letter-spacing: 0.4px;
|
|
4167
4173
|
}
|
|
4168
|
-
.excalidraw .
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
.excalidraw .layer-ui__wrapper__footer {
|
|
4172
|
-
width: 100%;
|
|
4174
|
+
.excalidraw .sidebar-trigger svg {
|
|
4175
|
+
width: var(--button-width, var(--lg-icon-size));
|
|
4176
|
+
height: var(--button-height, var(--lg-icon-size));
|
|
4173
4177
|
}
|
|
4174
|
-
.excalidraw .
|
|
4175
|
-
|
|
4176
|
-
|
|
4178
|
+
.excalidraw .sidebar-trigger:hover {
|
|
4179
|
+
background-color: var(--button-hover-bg, var(--island-bg-color));
|
|
4180
|
+
border-color: var(--button-hover-border, var(--button-border, var(--default-border-color)));
|
|
4181
|
+
color: var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)));
|
|
4177
4182
|
}
|
|
4178
|
-
.excalidraw .
|
|
4179
|
-
|
|
4183
|
+
.excalidraw .sidebar-trigger:active {
|
|
4184
|
+
background-color: var(--button-active-bg, var(--island-bg-color));
|
|
4185
|
+
border-color: var(--button-active-border, var(--color-primary-darkest));
|
|
4180
4186
|
}
|
|
4181
|
-
|
|
4182
|
-
|
|
4187
|
+
.excalidraw .sidebar-trigger.active,
|
|
4188
|
+
.excalidraw .sidebar-trigger.ToolIcon--checked {
|
|
4189
|
+
background-color: var(--button-selected-bg, var(--color-surface-primary-container));
|
|
4190
|
+
border-color: var(--button-selected-border, var(--color-surface-primary-container));
|
|
4183
4191
|
}
|
|
4184
|
-
|
|
4185
|
-
|
|
4192
|
+
.excalidraw .sidebar-trigger.active:hover,
|
|
4193
|
+
.excalidraw .sidebar-trigger.ToolIcon--checked:hover {
|
|
4194
|
+
background-color: var(--button-selected-hover-bg, var(--color-surface-primary-container));
|
|
4186
4195
|
}
|
|
4187
|
-
|
|
4188
|
-
|
|
4196
|
+
.excalidraw .sidebar-trigger.active svg,
|
|
4197
|
+
.excalidraw .sidebar-trigger.ToolIcon--checked svg {
|
|
4198
|
+
color: var(--button-color, var(--color-on-primary-container));
|
|
4189
4199
|
}
|
|
4190
|
-
|
|
4191
|
-
|
|
4200
|
+
.excalidraw--mobile.excalidraw .sidebar-trigger {
|
|
4201
|
+
width: var(--mobile-action-button-size, var(--default-button-size));
|
|
4202
|
+
height: var(--mobile-action-button-size, var(--default-button-size));
|
|
4192
4203
|
}
|
|
4193
|
-
.excalidraw .
|
|
4194
|
-
|
|
4204
|
+
.excalidraw .sidebar-trigger:active {
|
|
4205
|
+
box-shadow: 0 0 0 1px var(--color-brand-active);
|
|
4195
4206
|
}
|
|
4196
|
-
.excalidraw
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
bottom: 0;
|
|
4200
|
-
opacity: 0;
|
|
4201
|
-
visibility: hidden;
|
|
4202
|
-
transition: visibility 0s linear 0s, opacity 0.5s;
|
|
4203
|
-
font-family: var(--ui-font);
|
|
4204
|
-
font-size: 0.75rem;
|
|
4205
|
-
font-weight: 500;
|
|
4206
|
-
line-height: 1;
|
|
4207
|
-
border-radius: var(--border-radius-lg);
|
|
4208
|
-
border: 1px solid var(--default-border-color);
|
|
4209
|
-
background-color: var(--island-bg-color);
|
|
4210
|
-
color: var(--text-primary-color);
|
|
4207
|
+
.excalidraw--mobile.excalidraw .sidebar-trigger {
|
|
4208
|
+
width: var(--mobile-action-button-size, 2rem);
|
|
4209
|
+
height: var(--mobile-action-button-size, 2rem);
|
|
4211
4210
|
}
|
|
4212
|
-
|
|
4213
|
-
|
|
4211
|
+
.excalidraw .sidebar-trigger svg {
|
|
4212
|
+
width: var(--lg-icon-size);
|
|
4213
|
+
height: var(--lg-icon-size);
|
|
4214
4214
|
}
|
|
4215
|
-
|
|
4216
|
-
|
|
4215
|
+
.excalidraw .sidebar-trigger__label-element {
|
|
4216
|
+
align-self: flex-start;
|
|
4217
|
+
appearance: none;
|
|
4218
|
+
margin: 0;
|
|
4219
|
+
padding: 0;
|
|
4220
|
+
border: none;
|
|
4221
|
+
background-color: transparent;
|
|
4222
|
+
font: inherit;
|
|
4223
|
+
color: inherit;
|
|
4224
|
+
text-align: inherit;
|
|
4217
4225
|
}
|
|
4218
|
-
.excalidraw .
|
|
4219
|
-
|
|
4226
|
+
.excalidraw .default-sidebar-trigger .sidebar-trigger__label {
|
|
4227
|
+
display: block;
|
|
4228
|
+
white-space: nowrap;
|
|
4220
4229
|
}
|
|
4221
|
-
.excalidraw .
|
|
4222
|
-
|
|
4230
|
+
.excalidraw.excalidraw--mobile .default-sidebar-trigger .sidebar-trigger__label {
|
|
4231
|
+
display: none;
|
|
4223
4232
|
}
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4233
|
+
|
|
4234
|
+
/* components/Sidebar/Sidebar.scss */
|
|
4235
|
+
.excalidraw .sidebar {
|
|
4236
|
+
display: flex;
|
|
4237
|
+
flex-direction: column;
|
|
4238
|
+
position: absolute;
|
|
4239
|
+
top: 0;
|
|
4240
|
+
bottom: 0;
|
|
4241
|
+
right: 0;
|
|
4242
|
+
z-index: var(--zIndex-ui-sidebar);
|
|
4243
|
+
margin: 0;
|
|
4244
|
+
padding: 0;
|
|
4245
|
+
box-sizing: border-box;
|
|
4246
|
+
background-color: var(--sidebar-bg-color);
|
|
4247
|
+
box-shadow: var(--sidebar-shadow);
|
|
4229
4248
|
pointer-events: var(--ui-pointerEvents);
|
|
4249
|
+
overflow: hidden;
|
|
4250
|
+
border-radius: 0;
|
|
4251
|
+
width: calc(var(--right-sidebar-width) - var(--space-factor) * 2);
|
|
4252
|
+
border-left: 1px solid var(--sidebar-border-color);
|
|
4230
4253
|
}
|
|
4231
|
-
.excalidraw .
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
pointer-events: var(--ui-pointerEvents);
|
|
4254
|
+
:root[dir=rtl] .excalidraw .sidebar {
|
|
4255
|
+
left: 0;
|
|
4256
|
+
right: auto;
|
|
4235
4257
|
}
|
|
4236
|
-
.excalidraw .
|
|
4237
|
-
|
|
4238
|
-
margin-bottom: auto;
|
|
4258
|
+
.excalidraw .sidebar--docked {
|
|
4259
|
+
box-shadow: none;
|
|
4239
4260
|
}
|
|
4240
|
-
.excalidraw .
|
|
4241
|
-
|
|
4242
|
-
|
|
4261
|
+
:root[dir=rtl] .excalidraw .sidebar {
|
|
4262
|
+
border-right: 1px solid var(--sidebar-border-color);
|
|
4263
|
+
border-left: 0;
|
|
4243
4264
|
}
|
|
4244
|
-
.excalidraw .
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4265
|
+
.excalidraw .sidebar__header {
|
|
4266
|
+
box-sizing: border-box;
|
|
4267
|
+
display: flex;
|
|
4268
|
+
justify-content: space-between;
|
|
4269
|
+
align-items: center;
|
|
4270
|
+
width: 100%;
|
|
4271
|
+
padding: 1rem 0.75rem;
|
|
4272
|
+
position: relative;
|
|
4249
4273
|
}
|
|
4250
|
-
.excalidraw .
|
|
4251
|
-
|
|
4274
|
+
.excalidraw .sidebar__header::after {
|
|
4275
|
+
content: "";
|
|
4276
|
+
width: calc(100% - 1.5rem);
|
|
4277
|
+
height: 1px;
|
|
4278
|
+
background: var(--sidebar-border-color);
|
|
4279
|
+
position: absolute;
|
|
4280
|
+
bottom: -1px;
|
|
4252
4281
|
}
|
|
4253
|
-
.excalidraw .
|
|
4282
|
+
.excalidraw .sidebar__header__buttons {
|
|
4283
|
+
gap: 0;
|
|
4284
|
+
display: flex;
|
|
4285
|
+
align-items: center;
|
|
4286
|
+
margin-left: auto;
|
|
4287
|
+
}
|
|
4288
|
+
.excalidraw .sidebar__header__buttons button {
|
|
4254
4289
|
display: flex;
|
|
4255
4290
|
justify-content: center;
|
|
4256
|
-
cursor: pointer;
|
|
4257
4291
|
align-items: center;
|
|
4258
|
-
|
|
4259
|
-
|
|
4292
|
+
padding: 0.625rem;
|
|
4293
|
+
width: var(--button-width, var(--default-button-size));
|
|
4294
|
+
height: var(--button-height, var(--default-button-size));
|
|
4295
|
+
box-sizing: border-box;
|
|
4296
|
+
border-width: 1px;
|
|
4297
|
+
border-style: solid;
|
|
4298
|
+
border-color: var(--button-border, var(--default-border-color));
|
|
4260
4299
|
border-radius: var(--border-radius-lg);
|
|
4261
|
-
|
|
4262
|
-
|
|
4300
|
+
cursor: pointer;
|
|
4301
|
+
background-color: var(--button-bg, var(--island-bg-color));
|
|
4302
|
+
color: var(--button-color, var(--color-on-surface));
|
|
4263
4303
|
font-family: var(--ui-font);
|
|
4264
|
-
|
|
4265
|
-
|
|
4304
|
+
--button-bg: transparent;
|
|
4305
|
+
border: 0 !important;
|
|
4306
|
+
width: var(--lg-button-size);
|
|
4307
|
+
height: var(--lg-button-size);
|
|
4308
|
+
padding: 0;
|
|
4309
|
+
}
|
|
4310
|
+
.excalidraw .sidebar__header__buttons button svg {
|
|
4311
|
+
width: var(--button-width, var(--lg-icon-size));
|
|
4312
|
+
height: var(--button-height, var(--lg-icon-size));
|
|
4313
|
+
}
|
|
4314
|
+
.excalidraw .sidebar__header__buttons button:hover {
|
|
4315
|
+
background-color: var(--button-hover-bg, var(--island-bg-color));
|
|
4316
|
+
border-color: var(--button-hover-border, var(--button-border, var(--default-border-color)));
|
|
4317
|
+
color: var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)));
|
|
4318
|
+
}
|
|
4319
|
+
.excalidraw .sidebar__header__buttons button:active {
|
|
4320
|
+
background-color: var(--button-active-bg, var(--island-bg-color));
|
|
4321
|
+
border-color: var(--button-active-border, var(--color-primary-darkest));
|
|
4322
|
+
}
|
|
4323
|
+
.excalidraw .sidebar__header__buttons button.active,
|
|
4324
|
+
.excalidraw .sidebar__header__buttons button.ToolIcon--checked {
|
|
4325
|
+
background-color: var(--button-selected-bg, var(--color-surface-primary-container));
|
|
4326
|
+
border-color: var(--button-selected-border, var(--color-surface-primary-container));
|
|
4327
|
+
}
|
|
4328
|
+
.excalidraw .sidebar__header__buttons button.active:hover,
|
|
4329
|
+
.excalidraw .sidebar__header__buttons button.ToolIcon--checked:hover {
|
|
4330
|
+
background-color: var(--button-selected-hover-bg, var(--color-surface-primary-container));
|
|
4331
|
+
}
|
|
4332
|
+
.excalidraw .sidebar__header__buttons button.active svg,
|
|
4333
|
+
.excalidraw .sidebar__header__buttons button.ToolIcon--checked svg {
|
|
4334
|
+
color: var(--button-color, var(--color-on-primary-container));
|
|
4335
|
+
}
|
|
4336
|
+
.excalidraw--mobile.excalidraw .sidebar__header__buttons button {
|
|
4266
4337
|
width: var(--mobile-action-button-size, var(--default-button-size));
|
|
4267
4338
|
height: var(--mobile-action-button-size, var(--default-button-size));
|
|
4268
|
-
border: none;
|
|
4269
|
-
box-shadow: 0 0 0 1px var(--color-surface-lowest);
|
|
4270
|
-
background-color: var(--color-surface-low);
|
|
4271
|
-
color: var(--button-color, var(--color-on-surface)) !important;
|
|
4272
4339
|
}
|
|
4273
|
-
.excalidraw .
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
.excalidraw .disable-view-mode:hover {
|
|
4277
|
-
background-color: var(--color-primary);
|
|
4278
|
-
color: white !important;
|
|
4340
|
+
.excalidraw .sidebar__header__buttons button svg {
|
|
4341
|
+
width: var(--lg-icon-size);
|
|
4342
|
+
height: var(--lg-icon-size);
|
|
4279
4343
|
}
|
|
4280
|
-
.excalidraw .
|
|
4281
|
-
background
|
|
4344
|
+
.excalidraw .sidebar__header__buttons button:hover {
|
|
4345
|
+
background: var(--button-hover-bg, var(--island-bg-color));
|
|
4282
4346
|
}
|
|
4283
|
-
.excalidraw .
|
|
4284
|
-
|
|
4285
|
-
|
|
4347
|
+
.excalidraw .sidebar__header__buttons .sidebar__dock.selected svg {
|
|
4348
|
+
stroke: var(--color-primary);
|
|
4349
|
+
fill: var(--color-primary);
|
|
4286
4350
|
}
|
|
4287
|
-
.excalidraw .
|
|
4288
|
-
|
|
4351
|
+
.excalidraw .sidebar-tabs-root {
|
|
4352
|
+
display: flex;
|
|
4353
|
+
flex-direction: column;
|
|
4354
|
+
flex: 1 1 auto;
|
|
4355
|
+
padding: 1rem 0;
|
|
4289
4356
|
}
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
display:
|
|
4357
|
+
.excalidraw .sidebar-tabs-root [role=tabpanel] {
|
|
4358
|
+
flex: 1;
|
|
4359
|
+
outline: none;
|
|
4360
|
+
flex: 1 1 auto;
|
|
4361
|
+
display: flex;
|
|
4362
|
+
flex-direction: column;
|
|
4363
|
+
outline: none;
|
|
4295
4364
|
}
|
|
4296
|
-
.excalidraw .
|
|
4297
|
-
display: none;
|
|
4365
|
+
.excalidraw .sidebar-tabs-root [role=tabpanel][data-state=inactive] {
|
|
4366
|
+
display: none !important;
|
|
4298
4367
|
}
|
|
4299
|
-
.excalidraw .
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
background-color: var(--default-border-color);
|
|
4368
|
+
.excalidraw .sidebar-tabs-root [role=tablist] {
|
|
4369
|
+
display: grid;
|
|
4370
|
+
gap: 1rem;
|
|
4371
|
+
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
4304
4372
|
}
|
|
4305
|
-
.excalidraw .
|
|
4306
|
-
|
|
4373
|
+
.excalidraw .sidebar-tabs-root > .sidebar__header {
|
|
4374
|
+
padding-top: 0;
|
|
4375
|
+
padding-bottom: 1rem;
|
|
4307
4376
|
}
|
|
4308
|
-
.excalidraw .
|
|
4309
|
-
|
|
4310
|
-
--
|
|
4377
|
+
.excalidraw .sidebar-tab-trigger {
|
|
4378
|
+
--button-width: auto;
|
|
4379
|
+
--button-bg: transparent;
|
|
4380
|
+
--button-hover-bg: transparent;
|
|
4381
|
+
--button-active-bg: var(--color-primary);
|
|
4382
|
+
--button-hover-color: var(--color-primary);
|
|
4383
|
+
--button-hover-border: var(--color-primary);
|
|
4311
4384
|
}
|
|
4312
|
-
.excalidraw .
|
|
4313
|
-
|
|
4385
|
+
.excalidraw .sidebar-tab-trigger[data-state=active] {
|
|
4386
|
+
--button-bg: var(--color-primary);
|
|
4387
|
+
--button-hover-bg: var(--color-primary-darker);
|
|
4388
|
+
--button-hover-color: var(--color-icon-white);
|
|
4389
|
+
--button-border: var(--color-primary);
|
|
4390
|
+
color: var(--color-icon-white);
|
|
4314
4391
|
}
|
|
4315
|
-
.excalidraw .
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
background-color: transparent;
|
|
4392
|
+
.excalidraw .default-sidebar {
|
|
4393
|
+
display: flex;
|
|
4394
|
+
flex-direction: column;
|
|
4319
4395
|
}
|
|
4320
|
-
.excalidraw .
|
|
4321
|
-
|
|
4322
|
-
|
|
4396
|
+
.excalidraw .default-sidebar .sidebar-triggers {
|
|
4397
|
+
display: flex;
|
|
4398
|
+
gap: 0;
|
|
4399
|
+
padding: 2px;
|
|
4400
|
+
margin-top: -3px;
|
|
4401
|
+
margin-bottom: -3px;
|
|
4402
|
+
border: 1px solid var(--sidebar-border-color);
|
|
4403
|
+
background: var(--default-bg-color);
|
|
4404
|
+
border-radius: 0.625rem;
|
|
4323
4405
|
}
|
|
4324
|
-
.excalidraw .
|
|
4325
|
-
|
|
4406
|
+
.excalidraw .default-sidebar .sidebar-triggers .sidebar-tab-trigger {
|
|
4407
|
+
height: var(--lg-button-size);
|
|
4408
|
+
width: var(--lg-button-size);
|
|
4409
|
+
border: none;
|
|
4326
4410
|
}
|
|
4327
|
-
.excalidraw .
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
color: var(--color-
|
|
4411
|
+
.excalidraw .default-sidebar .sidebar-triggers .sidebar-tab-trigger[data-state=active] {
|
|
4412
|
+
--button-bg: var(--color-primary-light);
|
|
4413
|
+
--button-hover-bg: var(--color-primary-light-darker);
|
|
4414
|
+
--button-hover-color: var(--color-primary);
|
|
4415
|
+
--button-border: var(--color-primary-light);
|
|
4416
|
+
color: var(--color-primary);
|
|
4331
4417
|
}
|
|
4332
|
-
.excalidraw .
|
|
4333
|
-
|
|
4334
|
-
|
|
4418
|
+
.excalidraw .default-sidebar.default-sidebar--search-only {
|
|
4419
|
+
top: var(--editor-container-padding);
|
|
4420
|
+
right: var(--editor-container-padding);
|
|
4421
|
+
bottom: auto;
|
|
4422
|
+
width: min(var(--right-sidebar-width) - var(--space-factor) * 2, 100% - var(--editor-container-padding) * 2);
|
|
4423
|
+
max-height: calc(100% - var(--editor-container-padding) * 2);
|
|
4424
|
+
min-height: 0;
|
|
4425
|
+
border: 1px solid var(--sidebar-border-color);
|
|
4426
|
+
border-radius: var(--border-radius-lg);
|
|
4427
|
+
background: var(--sidebar-bg-color);
|
|
4428
|
+
box-shadow: none;
|
|
4429
|
+
isolation: isolate;
|
|
4430
|
+
overflow: visible;
|
|
4335
4431
|
}
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4432
|
+
.excalidraw .default-sidebar.default-sidebar--search-only::before {
|
|
4433
|
+
content: "";
|
|
4434
|
+
position: absolute;
|
|
4435
|
+
inset: 0;
|
|
4436
|
+
z-index: -1;
|
|
4437
|
+
border-radius: inherit;
|
|
4438
|
+
box-shadow: var(--sidebar-shadow);
|
|
4339
4439
|
pointer-events: none;
|
|
4340
|
-
width: 100vw;
|
|
4341
|
-
height: 100vh;
|
|
4342
|
-
position: fixed;
|
|
4343
|
-
top: 0;
|
|
4344
|
-
left: 0;
|
|
4345
|
-
z-index: var(--zIndex-svgLayer);
|
|
4346
4440
|
}
|
|
4347
|
-
.excalidraw .
|
|
4348
|
-
|
|
4441
|
+
:root[dir=rtl] .excalidraw .default-sidebar.default-sidebar--search-only {
|
|
4442
|
+
right: auto;
|
|
4443
|
+
left: var(--editor-container-padding);
|
|
4444
|
+
border: 1px solid var(--sidebar-border-color);
|
|
4445
|
+
}
|
|
4446
|
+
.excalidraw .default-sidebar.default-sidebar--search-only .sidebar-tabs-root {
|
|
4447
|
+
display: block;
|
|
4448
|
+
padding: 0;
|
|
4449
|
+
overflow: visible;
|
|
4450
|
+
border-radius: inherit;
|
|
4451
|
+
background: var(--sidebar-bg-color);
|
|
4452
|
+
}
|
|
4453
|
+
.excalidraw .default-sidebar.default-sidebar--search-only [role=tabpanel] {
|
|
4454
|
+
display: block;
|
|
4349
4455
|
overflow: visible;
|
|
4350
|
-
position: absolute;
|
|
4351
|
-
width: 100%;
|
|
4352
|
-
height: 100%;
|
|
4353
|
-
top: 0;
|
|
4354
|
-
left: 0;
|
|
4355
4456
|
}
|
|
4356
4457
|
|
|
4357
|
-
/* components/
|
|
4358
|
-
.excalidraw .
|
|
4359
|
-
flex: 1 0 auto;
|
|
4458
|
+
/* components/Card.scss */
|
|
4459
|
+
.excalidraw .Card {
|
|
4360
4460
|
display: flex;
|
|
4361
4461
|
flex-direction: column;
|
|
4362
|
-
|
|
4462
|
+
align-items: center;
|
|
4463
|
+
max-width: 290px;
|
|
4464
|
+
margin: 1em;
|
|
4465
|
+
text-align: center;
|
|
4363
4466
|
}
|
|
4364
|
-
.excalidraw .
|
|
4467
|
+
.excalidraw .Card .Card-icon {
|
|
4468
|
+
font-size: 2.6em;
|
|
4365
4469
|
display: flex;
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4470
|
+
flex: 0 0 auto;
|
|
4471
|
+
padding: 1.4rem;
|
|
4472
|
+
border-radius: 50%;
|
|
4473
|
+
background: var(--card-color);
|
|
4474
|
+
color: #fff;
|
|
4369
4475
|
}
|
|
4370
|
-
.excalidraw .
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
--ExcTextField--border: transparent;
|
|
4374
|
-
--ExcTextField--placeholder: var(--color-gray-50);
|
|
4476
|
+
.excalidraw .Card .Card-icon svg {
|
|
4477
|
+
width: 2.8rem;
|
|
4478
|
+
height: 2.8rem;
|
|
4375
4479
|
}
|
|
4376
|
-
.excalidraw.
|
|
4377
|
-
|
|
4378
|
-
|
|
4480
|
+
.excalidraw .Card .Card-details {
|
|
4481
|
+
font-size: 0.96em;
|
|
4482
|
+
min-height: 90px;
|
|
4483
|
+
padding: 0 1em;
|
|
4484
|
+
margin-bottom: auto;
|
|
4379
4485
|
}
|
|
4380
|
-
.excalidraw .
|
|
4381
|
-
|
|
4382
|
-
|
|
4486
|
+
.excalidraw .Card .Card-button.ToolIcon_type_button {
|
|
4487
|
+
height: 2.5rem;
|
|
4488
|
+
margin-top: 1em;
|
|
4489
|
+
margin-bottom: 0.3em;
|
|
4490
|
+
background-color: var(--card-color);
|
|
4383
4491
|
}
|
|
4384
|
-
.excalidraw .
|
|
4385
|
-
color: var(--
|
|
4386
|
-
font-size: 0.9rem;
|
|
4387
|
-
opacity: 1;
|
|
4492
|
+
.excalidraw .Card .Card-button.ToolIcon_type_button:hover {
|
|
4493
|
+
background-color: var(--card-color-darker);
|
|
4388
4494
|
}
|
|
4389
|
-
.excalidraw .
|
|
4495
|
+
.excalidraw .Card .Card-button.ToolIcon_type_button:active {
|
|
4496
|
+
background-color: var(--card-color-darkest);
|
|
4497
|
+
}
|
|
4498
|
+
.excalidraw .Card .Card-button.ToolIcon_type_button .ToolIcon__label {
|
|
4499
|
+
color: #fff;
|
|
4500
|
+
}
|
|
4501
|
+
.excalidraw .Card .Card-button.ToolIcon_type_button .Spinner {
|
|
4502
|
+
--spinner-color: #fff;
|
|
4503
|
+
}
|
|
4504
|
+
|
|
4505
|
+
/* components/ExportDialog.scss */
|
|
4506
|
+
.excalidraw .ExportDialog__preview {
|
|
4507
|
+
--preview-padding: calc(var(--space-factor) * 4);
|
|
4508
|
+
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==) left center;
|
|
4509
|
+
text-align: center;
|
|
4510
|
+
padding: var(--preview-padding);
|
|
4511
|
+
margin-bottom: calc(var(--space-factor) * 3);
|
|
4390
4512
|
display: flex;
|
|
4391
|
-
justify-content:
|
|
4513
|
+
justify-content: center;
|
|
4392
4514
|
align-items: center;
|
|
4393
|
-
padding: 8px 8px 0 8px;
|
|
4394
|
-
margin: 0 0.75rem 0.25rem 0.75rem;
|
|
4395
|
-
font-size: 0.8em;
|
|
4396
4515
|
}
|
|
4397
|
-
.excalidraw .
|
|
4516
|
+
.excalidraw .ExportDialog__preview canvas {
|
|
4517
|
+
max-width: calc(100% - var(--preview-padding) * 2);
|
|
4518
|
+
max-height: 25rem;
|
|
4519
|
+
}
|
|
4520
|
+
.excalidraw.theme--dark .ExportDialog__preview canvas {
|
|
4521
|
+
filter: none;
|
|
4522
|
+
}
|
|
4523
|
+
.excalidraw .ExportDialog__actions {
|
|
4524
|
+
width: 100%;
|
|
4398
4525
|
display: flex;
|
|
4526
|
+
grid-gap: calc(var(--space-factor) * 2);
|
|
4527
|
+
align-items: top;
|
|
4528
|
+
justify-content: space-between;
|
|
4399
4529
|
}
|
|
4400
|
-
.excalidraw
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
--button-border: transparent;
|
|
4530
|
+
.excalidraw--mobile.excalidraw .ExportDialog {
|
|
4531
|
+
display: flex;
|
|
4532
|
+
flex-direction: column;
|
|
4404
4533
|
}
|
|
4405
|
-
.excalidraw
|
|
4406
|
-
|
|
4534
|
+
.excalidraw--mobile.excalidraw .ExportDialog__actions {
|
|
4535
|
+
flex-direction: column;
|
|
4536
|
+
align-items: center;
|
|
4407
4537
|
}
|
|
4408
|
-
.excalidraw
|
|
4409
|
-
margin-
|
|
4538
|
+
.excalidraw--mobile.excalidraw .ExportDialog__actions > * {
|
|
4539
|
+
margin-bottom: calc(var(--space-factor) * 3);
|
|
4410
4540
|
}
|
|
4411
|
-
.excalidraw .
|
|
4541
|
+
.excalidraw--mobile.excalidraw .ExportDialog__preview canvas {
|
|
4542
|
+
max-height: 30vh;
|
|
4543
|
+
}
|
|
4544
|
+
.excalidraw--mobile.excalidraw .ExportDialog__dialog,
|
|
4545
|
+
.excalidraw--mobile.excalidraw .ExportDialog__dialog .Island {
|
|
4546
|
+
height: 100%;
|
|
4547
|
+
box-sizing: border-box;
|
|
4548
|
+
}
|
|
4549
|
+
.excalidraw--mobile.excalidraw .ExportDialog__dialog .Island {
|
|
4412
4550
|
overflow-y: auto;
|
|
4413
|
-
flex: 1 1 0;
|
|
4414
|
-
display: flex;
|
|
4415
|
-
flex-direction: column;
|
|
4416
|
-
padding: 0 0.75rem;
|
|
4417
|
-
gap: 0.125rem;
|
|
4418
4551
|
}
|
|
4419
|
-
.excalidraw .
|
|
4420
|
-
|
|
4552
|
+
.excalidraw .ExportDialog--json .ExportDialog-cards {
|
|
4553
|
+
display: grid;
|
|
4554
|
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
4555
|
+
justify-items: center;
|
|
4556
|
+
row-gap: 2em;
|
|
4421
4557
|
}
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4558
|
+
@media (max-width: 460px) {
|
|
4559
|
+
.excalidraw .ExportDialog--json .ExportDialog-cards {
|
|
4560
|
+
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
4561
|
+
}
|
|
4562
|
+
.excalidraw .ExportDialog--json .ExportDialog-cards .Card-details {
|
|
4563
|
+
min-height: 40px;
|
|
4564
|
+
}
|
|
4429
4565
|
}
|
|
4430
|
-
.excalidraw .
|
|
4431
|
-
width:
|
|
4432
|
-
|
|
4433
|
-
|
|
4566
|
+
.excalidraw .ExportDialog--json .ExportDialog-cards .ProjectName {
|
|
4567
|
+
width: fit-content;
|
|
4568
|
+
margin: 1em auto;
|
|
4569
|
+
align-items: flex-start;
|
|
4570
|
+
flex-direction: column;
|
|
4434
4571
|
}
|
|
4435
|
-
.excalidraw .
|
|
4436
|
-
|
|
4572
|
+
.excalidraw .ExportDialog--json .ExportDialog-cards .ProjectName .TextInput {
|
|
4573
|
+
width: auto;
|
|
4437
4574
|
}
|
|
4438
|
-
.excalidraw .
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
margin-bottom: 1rem;
|
|
4442
|
-
position: relative;
|
|
4575
|
+
.excalidraw .ExportDialog--json .ExportDialog-cards .ProjectName-label {
|
|
4576
|
+
margin: 0.625em 0;
|
|
4577
|
+
font-weight: bold;
|
|
4443
4578
|
}
|
|
4444
|
-
.excalidraw .
|
|
4579
|
+
.excalidraw button.ExportDialog-imageExportButton {
|
|
4580
|
+
border: 0;
|
|
4581
|
+
width: 5rem;
|
|
4582
|
+
height: 5rem;
|
|
4583
|
+
margin: 0 0.2em;
|
|
4584
|
+
padding: 0;
|
|
4445
4585
|
display: flex;
|
|
4446
4586
|
align-items: center;
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
border-radius: var(--border-radius-md);
|
|
4455
|
-
}
|
|
4456
|
-
.excalidraw .layer-ui__result-item .text-icon {
|
|
4457
|
-
width: 1rem;
|
|
4458
|
-
height: 1rem;
|
|
4459
|
-
margin-right: 0.75rem;
|
|
4460
|
-
}
|
|
4461
|
-
.excalidraw .layer-ui__result-item .preview-text {
|
|
4462
|
-
flex: 1;
|
|
4463
|
-
max-height: 48px;
|
|
4464
|
-
line-height: 24px;
|
|
4465
|
-
overflow: hidden;
|
|
4466
|
-
text-overflow: ellipsis;
|
|
4467
|
-
word-break: break-all;
|
|
4587
|
+
justify-content: center;
|
|
4588
|
+
border-radius: 1rem;
|
|
4589
|
+
background-color: var(--button-color);
|
|
4590
|
+
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.28), 0 6px 10px 0 rgba(0, 0, 0, 0.14);
|
|
4591
|
+
font-family: Cascadia;
|
|
4592
|
+
font-size: 1.8em;
|
|
4593
|
+
color: #fff;
|
|
4468
4594
|
}
|
|
4469
|
-
.excalidraw .
|
|
4470
|
-
background-color: var(--color-
|
|
4595
|
+
.excalidraw button.ExportDialog-imageExportButton:hover {
|
|
4596
|
+
background-color: var(--button-color-darker);
|
|
4471
4597
|
}
|
|
4472
|
-
.excalidraw .
|
|
4473
|
-
|
|
4598
|
+
.excalidraw button.ExportDialog-imageExportButton:active {
|
|
4599
|
+
background-color: var(--button-color-darkest);
|
|
4600
|
+
box-shadow: none;
|
|
4474
4601
|
}
|
|
4475
|
-
.excalidraw .
|
|
4476
|
-
|
|
4602
|
+
.excalidraw button.ExportDialog-imageExportButton svg {
|
|
4603
|
+
width: 0.9em;
|
|
4477
4604
|
}
|
|
4478
4605
|
|
|
4479
|
-
/* components/
|
|
4480
|
-
.excalidraw .
|
|
4481
|
-
|
|
4482
|
-
justify-content: center;
|
|
4483
|
-
align-items: center;
|
|
4484
|
-
padding: 0.625rem;
|
|
4485
|
-
width: var(--button-width, var(--default-button-size));
|
|
4486
|
-
height: var(--button-height, var(--default-button-size));
|
|
4606
|
+
/* components/HintViewer.scss */
|
|
4607
|
+
.excalidraw .HintViewer {
|
|
4608
|
+
pointer-events: none;
|
|
4487
4609
|
box-sizing: border-box;
|
|
4488
|
-
|
|
4489
|
-
border-style: solid;
|
|
4490
|
-
border-color: var(--button-border, var(--default-border-color));
|
|
4491
|
-
border-radius: var(--border-radius-lg);
|
|
4492
|
-
cursor: pointer;
|
|
4493
|
-
background-color: var(--button-bg, var(--island-bg-color));
|
|
4494
|
-
color: var(--button-color, var(--color-on-surface));
|
|
4495
|
-
font-family: var(--ui-font);
|
|
4496
|
-
border: none;
|
|
4497
|
-
box-shadow: 0 0 0 1px var(--color-surface-lowest);
|
|
4498
|
-
background-color: var(--color-surface-low);
|
|
4499
|
-
width: auto;
|
|
4500
|
-
height: var(--lg-button-size);
|
|
4610
|
+
position: absolute;
|
|
4501
4611
|
display: flex;
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4612
|
+
flex-direction: column;
|
|
4613
|
+
justify-content: center;
|
|
4614
|
+
left: 0;
|
|
4615
|
+
top: 100%;
|
|
4616
|
+
max-width: 100%;
|
|
4617
|
+
width: 100%;
|
|
4618
|
+
margin-top: 0.5rem;
|
|
4619
|
+
text-align: center;
|
|
4620
|
+
color: var(--color-gray-40);
|
|
4505
4621
|
font-size: 0.75rem;
|
|
4506
|
-
letter-spacing: 0.4px;
|
|
4507
4622
|
}
|
|
4508
|
-
.excalidraw .
|
|
4509
|
-
|
|
4510
|
-
|
|
4623
|
+
.excalidraw--mobile.excalidraw .HintViewer {
|
|
4624
|
+
position: static;
|
|
4625
|
+
padding-right: 2rem;
|
|
4511
4626
|
}
|
|
4512
|
-
.excalidraw .
|
|
4513
|
-
|
|
4514
|
-
border-color: var(--button-hover-border, var(--button-border, var(--default-border-color)));
|
|
4515
|
-
color: var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)));
|
|
4627
|
+
.excalidraw .HintViewer > span {
|
|
4628
|
+
padding: 0.25rem;
|
|
4516
4629
|
}
|
|
4517
|
-
.excalidraw .
|
|
4518
|
-
|
|
4519
|
-
|
|
4630
|
+
.excalidraw .HintViewer kbd {
|
|
4631
|
+
display: inline-block;
|
|
4632
|
+
margin: 0 1px;
|
|
4633
|
+
font-family: monospace;
|
|
4634
|
+
border: 1px solid var(--color-gray-40);
|
|
4635
|
+
border-radius: 4px;
|
|
4636
|
+
padding: 1px 3px;
|
|
4637
|
+
font-size: 10px;
|
|
4520
4638
|
}
|
|
4521
|
-
.excalidraw .
|
|
4522
|
-
|
|
4523
|
-
background-color: var(--button-selected-bg, var(--color-surface-primary-container));
|
|
4524
|
-
border-color: var(--button-selected-border, var(--color-surface-primary-container));
|
|
4639
|
+
.excalidraw.theme--dark .HintViewer {
|
|
4640
|
+
color: var(--color-gray-60);
|
|
4525
4641
|
}
|
|
4526
|
-
.excalidraw .
|
|
4527
|
-
|
|
4528
|
-
background-color: var(--button-selected-hover-bg, var(--color-surface-primary-container));
|
|
4642
|
+
.excalidraw.theme--dark .HintViewer kbd {
|
|
4643
|
+
border-color: var(--color-gray-60);
|
|
4529
4644
|
}
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4645
|
+
|
|
4646
|
+
/* components/LayerUI.scss */
|
|
4647
|
+
.excalidraw .layer-ui__wrapper.animate {
|
|
4648
|
+
transition: width 0.1s ease-in-out;
|
|
4533
4649
|
}
|
|
4534
|
-
.excalidraw
|
|
4535
|
-
|
|
4536
|
-
|
|
4650
|
+
.excalidraw .layer-ui__wrapper {
|
|
4651
|
+
position: absolute;
|
|
4652
|
+
width: 100%;
|
|
4653
|
+
height: 100%;
|
|
4654
|
+
pointer-events: none;
|
|
4655
|
+
z-index: var(--zIndex-layerUI);
|
|
4537
4656
|
}
|
|
4538
|
-
.excalidraw .
|
|
4539
|
-
|
|
4657
|
+
.excalidraw .layer-ui__wrapper__top-right {
|
|
4658
|
+
display: flex;
|
|
4659
|
+
width: 100%;
|
|
4660
|
+
justify-content: flex-end;
|
|
4661
|
+
gap: 0.75rem;
|
|
4662
|
+
pointer-events: none !important;
|
|
4540
4663
|
}
|
|
4541
|
-
.excalidraw
|
|
4542
|
-
|
|
4543
|
-
height: var(--mobile-action-button-size, 2rem);
|
|
4664
|
+
.excalidraw .layer-ui__wrapper__top-right--compact {
|
|
4665
|
+
gap: 0.5rem;
|
|
4544
4666
|
}
|
|
4545
|
-
.excalidraw .
|
|
4546
|
-
|
|
4547
|
-
height: var(--lg-icon-size);
|
|
4667
|
+
.excalidraw .layer-ui__wrapper__top-right > * {
|
|
4668
|
+
pointer-events: var(--ui-pointerEvents);
|
|
4548
4669
|
}
|
|
4549
|
-
.excalidraw .
|
|
4550
|
-
|
|
4551
|
-
appearance: none;
|
|
4552
|
-
margin: 0;
|
|
4553
|
-
padding: 0;
|
|
4554
|
-
border: none;
|
|
4555
|
-
background-color: transparent;
|
|
4556
|
-
font: inherit;
|
|
4557
|
-
color: inherit;
|
|
4558
|
-
text-align: inherit;
|
|
4670
|
+
.excalidraw .layer-ui__wrapper__footer {
|
|
4671
|
+
width: 100%;
|
|
4559
4672
|
}
|
|
4560
|
-
.excalidraw .
|
|
4561
|
-
|
|
4562
|
-
|
|
4673
|
+
.excalidraw .layer-ui__wrapper__footer-right {
|
|
4674
|
+
z-index: 100;
|
|
4675
|
+
display: flex;
|
|
4563
4676
|
}
|
|
4564
|
-
.excalidraw
|
|
4565
|
-
|
|
4677
|
+
.excalidraw .layer-ui__wrapper .zen-mode-transition {
|
|
4678
|
+
transition: transform 0.5s ease-in-out;
|
|
4566
4679
|
}
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4680
|
+
:root[dir=ltr] .excalidraw .layer-ui__wrapper .zen-mode-transition.transition-left {
|
|
4681
|
+
transform: translate(-999px, 0);
|
|
4682
|
+
}
|
|
4683
|
+
:root[dir=ltr] .excalidraw .layer-ui__wrapper .zen-mode-transition.transition-right {
|
|
4684
|
+
transform: translate(999px, 0);
|
|
4685
|
+
}
|
|
4686
|
+
:root[dir=rtl] .excalidraw .layer-ui__wrapper .zen-mode-transition.transition-left {
|
|
4687
|
+
transform: translate(999px, 0);
|
|
4688
|
+
}
|
|
4689
|
+
:root[dir=rtl] .excalidraw .layer-ui__wrapper .zen-mode-transition.transition-right {
|
|
4690
|
+
transform: translate(-999px, 0);
|
|
4691
|
+
}
|
|
4692
|
+
.excalidraw .layer-ui__wrapper .zen-mode-transition.layer-ui__wrapper__footer-left--transition-bottom {
|
|
4693
|
+
transform: translate(0, 92px);
|
|
4694
|
+
}
|
|
4695
|
+
.excalidraw .layer-ui__wrapper .disable-zen-mode {
|
|
4696
|
+
padding: 10px;
|
|
4572
4697
|
position: absolute;
|
|
4573
|
-
top: 0;
|
|
4574
4698
|
bottom: 0;
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
border-left: 1px solid var(--sidebar-border-color);
|
|
4699
|
+
opacity: 0;
|
|
4700
|
+
visibility: hidden;
|
|
4701
|
+
transition: visibility 0s linear 0s, opacity 0.5s;
|
|
4702
|
+
font-family: var(--ui-font);
|
|
4703
|
+
font-size: 0.75rem;
|
|
4704
|
+
font-weight: 500;
|
|
4705
|
+
line-height: 1;
|
|
4706
|
+
border-radius: var(--border-radius-lg);
|
|
4707
|
+
border: 1px solid var(--default-border-color);
|
|
4708
|
+
background-color: var(--island-bg-color);
|
|
4709
|
+
color: var(--text-primary-color);
|
|
4587
4710
|
}
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
right: auto;
|
|
4711
|
+
[dir=ltr] .excalidraw .layer-ui__wrapper .disable-zen-mode {
|
|
4712
|
+
right: 1rem;
|
|
4591
4713
|
}
|
|
4592
|
-
.excalidraw .
|
|
4593
|
-
|
|
4714
|
+
[dir=rtl] .excalidraw .layer-ui__wrapper .disable-zen-mode {
|
|
4715
|
+
left: 1rem;
|
|
4716
|
+
}
|
|
4717
|
+
.excalidraw .layer-ui__wrapper .disable-zen-mode:hover {
|
|
4718
|
+
background-color: var(--button-hover-bg);
|
|
4719
|
+
}
|
|
4720
|
+
.excalidraw .layer-ui__wrapper .disable-zen-mode:active {
|
|
4721
|
+
border-color: var(--color-primary);
|
|
4722
|
+
}
|
|
4723
|
+
.excalidraw .layer-ui__wrapper .disable-zen-mode--visible {
|
|
4724
|
+
opacity: 1;
|
|
4725
|
+
visibility: visible;
|
|
4726
|
+
transition: visibility 0s linear 300ms, opacity 0.5s;
|
|
4727
|
+
transition-delay: 0.8s;
|
|
4728
|
+
pointer-events: var(--ui-pointerEvents);
|
|
4594
4729
|
}
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4730
|
+
.excalidraw .layer-ui__wrapper .layer-ui__wrapper__footer-left > *,
|
|
4731
|
+
.excalidraw .layer-ui__wrapper .footer-center > *,
|
|
4732
|
+
.excalidraw .layer-ui__wrapper .layer-ui__wrapper__footer-right > * {
|
|
4733
|
+
pointer-events: var(--ui-pointerEvents);
|
|
4598
4734
|
}
|
|
4599
|
-
.excalidraw .
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
justify-content: space-between;
|
|
4603
|
-
align-items: center;
|
|
4604
|
-
width: 100%;
|
|
4605
|
-
padding: 1rem 0.75rem;
|
|
4606
|
-
position: relative;
|
|
4735
|
+
.excalidraw .layer-ui__wrapper .layer-ui__wrapper__footer-right {
|
|
4736
|
+
margin-top: auto;
|
|
4737
|
+
margin-bottom: auto;
|
|
4607
4738
|
}
|
|
4608
|
-
.excalidraw .
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
height: 1px;
|
|
4612
|
-
background: var(--sidebar-border-color);
|
|
4613
|
-
position: absolute;
|
|
4614
|
-
bottom: -1px;
|
|
4739
|
+
.excalidraw .App-menu_top__left > .ToolIcon__penMode {
|
|
4740
|
+
justify-self: start;
|
|
4741
|
+
margin-left: calc((48px - var(--lg-button-size)) / 2);
|
|
4615
4742
|
}
|
|
4616
|
-
.excalidraw .
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4743
|
+
.excalidraw .App-menu_top__left > .ToolIcon__penMode .ToolIcon__icon {
|
|
4744
|
+
width: var(--lg-button-size);
|
|
4745
|
+
height: var(--lg-button-size);
|
|
4746
|
+
background-color: var(--island-bg-color);
|
|
4747
|
+
box-shadow: var(--shadow-island);
|
|
4621
4748
|
}
|
|
4622
|
-
.excalidraw .
|
|
4749
|
+
.excalidraw .App-menu_top__left > .ToolIcon__penMode.ToolIcon--checked .ToolIcon__icon {
|
|
4750
|
+
box-shadow: none;
|
|
4751
|
+
}
|
|
4752
|
+
.excalidraw .disable-view-mode {
|
|
4623
4753
|
display: flex;
|
|
4624
4754
|
justify-content: center;
|
|
4755
|
+
cursor: pointer;
|
|
4625
4756
|
align-items: center;
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
height: var(--button-height, var(--default-button-size));
|
|
4629
|
-
box-sizing: border-box;
|
|
4630
|
-
border-width: 1px;
|
|
4631
|
-
border-style: solid;
|
|
4632
|
-
border-color: var(--button-border, var(--default-border-color));
|
|
4757
|
+
border: 1px solid var(--color-primary);
|
|
4758
|
+
padding: 0.5rem;
|
|
4633
4759
|
border-radius: var(--border-radius-lg);
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
color: var(--button-color, var(--color-on-surface));
|
|
4760
|
+
background-color: var(--island-bg-color);
|
|
4761
|
+
text-decoration: none !important;
|
|
4637
4762
|
font-family: var(--ui-font);
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
width: var(--
|
|
4641
|
-
height: var(--
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
height: var(--button-height, var(--lg-icon-size));
|
|
4647
|
-
}
|
|
4648
|
-
.excalidraw .sidebar__header__buttons button:hover {
|
|
4649
|
-
background-color: var(--button-hover-bg, var(--island-bg-color));
|
|
4650
|
-
border-color: var(--button-hover-border, var(--button-border, var(--default-border-color)));
|
|
4651
|
-
color: var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)));
|
|
4652
|
-
}
|
|
4653
|
-
.excalidraw .sidebar__header__buttons button:active {
|
|
4654
|
-
background-color: var(--button-active-bg, var(--island-bg-color));
|
|
4655
|
-
border-color: var(--button-active-border, var(--color-primary-darkest));
|
|
4763
|
+
font-size: 0.8333rem;
|
|
4764
|
+
box-sizing: border-box;
|
|
4765
|
+
width: var(--mobile-action-button-size, var(--default-button-size));
|
|
4766
|
+
height: var(--mobile-action-button-size, var(--default-button-size));
|
|
4767
|
+
border: none;
|
|
4768
|
+
box-shadow: 0 0 0 1px var(--color-surface-lowest);
|
|
4769
|
+
background-color: var(--color-surface-low);
|
|
4770
|
+
color: var(--button-color, var(--color-on-surface)) !important;
|
|
4656
4771
|
}
|
|
4657
|
-
.excalidraw .
|
|
4658
|
-
|
|
4659
|
-
background-color: var(--button-selected-bg, var(--color-surface-primary-container));
|
|
4660
|
-
border-color: var(--button-selected-border, var(--color-surface-primary-container));
|
|
4772
|
+
.excalidraw .disable-view-mode:active {
|
|
4773
|
+
box-shadow: 0 0 0 1px var(--color-brand-active);
|
|
4661
4774
|
}
|
|
4662
|
-
.excalidraw .
|
|
4663
|
-
|
|
4664
|
-
|
|
4775
|
+
.excalidraw .disable-view-mode:hover {
|
|
4776
|
+
background-color: var(--color-primary);
|
|
4777
|
+
color: white !important;
|
|
4665
4778
|
}
|
|
4666
|
-
.excalidraw .
|
|
4667
|
-
|
|
4668
|
-
color: var(--button-color, var(--color-on-primary-container));
|
|
4779
|
+
.excalidraw .disable-view-mode:active {
|
|
4780
|
+
background-color: var(--color-primary-darker);
|
|
4669
4781
|
}
|
|
4670
|
-
.excalidraw
|
|
4671
|
-
width:
|
|
4672
|
-
height:
|
|
4782
|
+
.excalidraw .disable-view-mode svg {
|
|
4783
|
+
width: 20px;
|
|
4784
|
+
height: 20px;
|
|
4673
4785
|
}
|
|
4674
|
-
.excalidraw .
|
|
4675
|
-
|
|
4676
|
-
height: var(--lg-icon-size);
|
|
4786
|
+
.excalidraw .theme--dark .plus-banner:hover {
|
|
4787
|
+
color: black !important;
|
|
4677
4788
|
}
|
|
4678
|
-
|
|
4679
|
-
|
|
4789
|
+
|
|
4790
|
+
/* components/Toolbar.scss */
|
|
4791
|
+
.excalidraw .App-toolbar.zen-mode .ToolIcon__keybinding,
|
|
4792
|
+
.excalidraw .App-toolbar.zen-mode .HintViewer {
|
|
4793
|
+
display: none;
|
|
4680
4794
|
}
|
|
4681
|
-
.excalidraw .
|
|
4682
|
-
|
|
4683
|
-
fill: var(--color-primary);
|
|
4795
|
+
.excalidraw .App-toolbar--compact .ToolIcon__keybinding {
|
|
4796
|
+
display: none;
|
|
4684
4797
|
}
|
|
4685
|
-
.excalidraw .
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4798
|
+
.excalidraw .App-toolbar__divider {
|
|
4799
|
+
width: 1px;
|
|
4800
|
+
height: 1.5rem;
|
|
4801
|
+
align-self: center;
|
|
4802
|
+
background-color: var(--default-border-color);
|
|
4690
4803
|
}
|
|
4691
|
-
.excalidraw .
|
|
4692
|
-
|
|
4693
|
-
outline: none;
|
|
4694
|
-
flex: 1 1 auto;
|
|
4695
|
-
display: flex;
|
|
4696
|
-
flex-direction: column;
|
|
4697
|
-
outline: none;
|
|
4804
|
+
.excalidraw .App-toolbar__snap-mode-button.active {
|
|
4805
|
+
background-color: transparent;
|
|
4698
4806
|
}
|
|
4699
|
-
.excalidraw .
|
|
4700
|
-
|
|
4807
|
+
.excalidraw .App-toolbar__snap-mode-button.active .ToolIcon__icon {
|
|
4808
|
+
background: var(--color-surface-primary-container);
|
|
4809
|
+
--keybinding-color: var(--color-on-primary-container);
|
|
4701
4810
|
}
|
|
4702
|
-
.excalidraw .
|
|
4703
|
-
|
|
4704
|
-
gap: 1rem;
|
|
4705
|
-
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
4811
|
+
.excalidraw .App-toolbar__snap-mode-button.active .ToolIcon__icon svg {
|
|
4812
|
+
color: var(--color-on-primary-container);
|
|
4706
4813
|
}
|
|
4707
|
-
.excalidraw .
|
|
4708
|
-
|
|
4709
|
-
|
|
4814
|
+
.excalidraw .App-toolbar__extra-tools-trigger {
|
|
4815
|
+
box-shadow: none;
|
|
4816
|
+
border: 0;
|
|
4817
|
+
background-color: transparent;
|
|
4710
4818
|
}
|
|
4711
|
-
.excalidraw .
|
|
4712
|
-
--button-
|
|
4713
|
-
--button-
|
|
4714
|
-
--button-hover-bg: transparent;
|
|
4715
|
-
--button-active-bg: var(--color-primary);
|
|
4716
|
-
--button-hover-color: var(--color-primary);
|
|
4717
|
-
--button-hover-border: var(--color-primary);
|
|
4819
|
+
.excalidraw .App-toolbar__extra-tools-trigger:active {
|
|
4820
|
+
background-color: var(--button-hover-bg);
|
|
4821
|
+
box-shadow: 0 0 0 1px var(--button-active-border, var(--color-primary-darkest)) inset;
|
|
4718
4822
|
}
|
|
4719
|
-
.excalidraw .
|
|
4720
|
-
|
|
4721
|
-
--button-hover-bg: var(--color-primary-darker);
|
|
4722
|
-
--button-hover-color: var(--color-icon-white);
|
|
4723
|
-
--button-border: var(--color-primary);
|
|
4724
|
-
color: var(--color-icon-white);
|
|
4823
|
+
.excalidraw .App-toolbar__extra-tools-trigger:hover {
|
|
4824
|
+
background-color: transparent;
|
|
4725
4825
|
}
|
|
4726
|
-
.excalidraw .
|
|
4727
|
-
|
|
4728
|
-
|
|
4826
|
+
.excalidraw .App-toolbar__extra-tools-trigger--selected,
|
|
4827
|
+
.excalidraw .App-toolbar__extra-tools-trigger--selected:hover {
|
|
4828
|
+
background: var(--color-surface-primary-container);
|
|
4829
|
+
color: var(--color-on-primary-container);
|
|
4729
4830
|
}
|
|
4730
|
-
.excalidraw .
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
padding: 2px;
|
|
4734
|
-
margin-top: -3px;
|
|
4735
|
-
margin-bottom: -3px;
|
|
4736
|
-
border: 1px solid var(--sidebar-border-color);
|
|
4737
|
-
background: var(--default-bg-color);
|
|
4738
|
-
border-radius: 0.625rem;
|
|
4831
|
+
.excalidraw .App-toolbar__dropdown-divider {
|
|
4832
|
+
height: 0.75px;
|
|
4833
|
+
background-color: var(--color-gray-30);
|
|
4739
4834
|
}
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4835
|
+
|
|
4836
|
+
/* components/SVGLayer.scss */
|
|
4837
|
+
.excalidraw .SVGLayer {
|
|
4838
|
+
pointer-events: none;
|
|
4839
|
+
width: 100vw;
|
|
4840
|
+
height: 100vh;
|
|
4841
|
+
position: fixed;
|
|
4842
|
+
top: 0;
|
|
4843
|
+
left: 0;
|
|
4844
|
+
z-index: var(--zIndex-svgLayer);
|
|
4744
4845
|
}
|
|
4745
|
-
.excalidraw .
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4846
|
+
.excalidraw .SVGLayer svg {
|
|
4847
|
+
image-rendering: auto;
|
|
4848
|
+
overflow: visible;
|
|
4849
|
+
position: absolute;
|
|
4850
|
+
width: 100%;
|
|
4851
|
+
height: 100%;
|
|
4852
|
+
top: 0;
|
|
4853
|
+
left: 0;
|
|
4751
4854
|
}
|
|
4752
4855
|
|
|
4753
4856
|
/* components/CursorHint.scss */
|
|
@@ -5798,6 +5901,55 @@ body.excalidraw-cursor-resize * {
|
|
|
5798
5901
|
flex-direction: column;
|
|
5799
5902
|
pointer-events: var(--ui-pointerEvents);
|
|
5800
5903
|
}
|
|
5904
|
+
.excalidraw .App-bottom-bar__actions-row {
|
|
5905
|
+
display: flex;
|
|
5906
|
+
align-items: center;
|
|
5907
|
+
gap: 6px;
|
|
5908
|
+
width: 100%;
|
|
5909
|
+
}
|
|
5910
|
+
.excalidraw .mobile-canvas-actions {
|
|
5911
|
+
display: flex;
|
|
5912
|
+
flex-direction: row;
|
|
5913
|
+
gap: 6px;
|
|
5914
|
+
flex: 0 0 auto;
|
|
5915
|
+
padding: 4px;
|
|
5916
|
+
margin-bottom: 4px;
|
|
5917
|
+
pointer-events: var(--ui-pointerEvents);
|
|
5918
|
+
}
|
|
5919
|
+
.excalidraw .mobile-canvas-actions .view-mode-button button,
|
|
5920
|
+
.excalidraw .mobile-canvas-actions .smart-zoom-button button {
|
|
5921
|
+
width: var(--mobile-action-button-size);
|
|
5922
|
+
height: var(--mobile-action-button-size);
|
|
5923
|
+
min-width: var(--mobile-action-button-size);
|
|
5924
|
+
min-height: var(--mobile-action-button-size);
|
|
5925
|
+
margin-inline-start: 0;
|
|
5926
|
+
border-radius: var(--border-radius-lg);
|
|
5927
|
+
background-color: transparent;
|
|
5928
|
+
box-shadow: none;
|
|
5929
|
+
}
|
|
5930
|
+
.excalidraw .mobile-canvas-actions .view-mode-button button.enabled,
|
|
5931
|
+
.excalidraw .mobile-canvas-actions .smart-zoom-button button.enabled {
|
|
5932
|
+
background-color: transparent;
|
|
5933
|
+
}
|
|
5934
|
+
.excalidraw .mobile-canvas-actions .view-mode-button button.enabled .ToolIcon__icon:hover,
|
|
5935
|
+
.excalidraw .mobile-canvas-actions .smart-zoom-button button.enabled .ToolIcon__icon:hover {
|
|
5936
|
+
background-color: transparent;
|
|
5937
|
+
}
|
|
5938
|
+
.excalidraw .mobile-canvas-actions .view-mode-button button .ToolIcon__icon,
|
|
5939
|
+
.excalidraw .mobile-canvas-actions .smart-zoom-button button .ToolIcon__icon {
|
|
5940
|
+
width: 100%;
|
|
5941
|
+
height: 100%;
|
|
5942
|
+
background-color: transparent;
|
|
5943
|
+
}
|
|
5944
|
+
.excalidraw .mobile-canvas-actions .view-mode-button button .ToolIcon__keybinding,
|
|
5945
|
+
.excalidraw .mobile-canvas-actions .smart-zoom-button button .ToolIcon__keybinding {
|
|
5946
|
+
display: none;
|
|
5947
|
+
}
|
|
5948
|
+
.excalidraw .mobile-canvas-actions .view-mode-button button svg,
|
|
5949
|
+
.excalidraw .mobile-canvas-actions .smart-zoom-button button svg {
|
|
5950
|
+
width: 1rem;
|
|
5951
|
+
height: 1rem;
|
|
5952
|
+
}
|
|
5801
5953
|
.excalidraw .App-toolbar {
|
|
5802
5954
|
display: flex;
|
|
5803
5955
|
justify-content: center;
|