@zsviczian/excalidraw
Version:
Excalidraw as a React component
1,486 lines (1,418 loc) • 280 kB
CSS
/*!********************************************************************************************************************************************************************************************!*\
!*** 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!./fonts/fonts.css ***!
\********************************************************************************************************************************************************************************************/
/* Only UI fonts here, which are needed before the editor initializes. */
/* These cannot be dynamically prepended with `EXCALIDRAW_ASSET_PATH`. */
/* WARN: The following content is replaced during excalidraw-app build */
@font-face {
font-family: "Assistant";
src: url(https://unpkg.com/@zsviczian/excalidraw@0.17.6-2/dist/excalidraw-assets/Assistant-Regular.woff2) format("woff2");
font-weight: 400;
style: normal;
display: swap;
}
@font-face {
font-family: "Assistant";
src: url(https://unpkg.com/@zsviczian/excalidraw@0.17.6-2/dist/excalidraw-assets/Assistant-Medium.woff2) format("woff2");
font-weight: 500;
style: normal;
display: swap;
}
@font-face {
font-family: "Assistant";
src: url(https://unpkg.com/@zsviczian/excalidraw@0.17.6-2/dist/excalidraw-assets/Assistant-SemiBold.woff2) format("woff2");
font-weight: 600;
style: normal;
display: swap;
}
@font-face {
font-family: "Assistant";
src: url(https://unpkg.com/@zsviczian/excalidraw@0.17.6-2/dist/excalidraw-assets/Assistant-Bold.woff2) format("woff2");
font-weight: 700;
style: normal;
display: swap;
}
/*!*************************************************************************************************************************************************************************************************************!*\
!*** 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!./css/obsidianStylingOverrides.css ***!
\*************************************************************************************************************************************************************************************************************/
.excalidraw .github-corner {
display: none;
}
.excalidraw .context-menu-option-separator {
margin: 4px !important;
}
.excalidraw .context-menu-option {
box-shadow: none;
}
.excalidraw .popover {
padding: 0 !important;
border-color: transparent !important;
border: 0 !important;
background-color: transparent !important;
overflow-y: auto !important;
position: fixed !important;
}
.excalidraw .disable-zen-mode--visible {
color: var(--text-primary-color);
}
.excalidraw .Island .scrollbar {
--scrollbar-thumb-bg: silver;
}
.excalidraw .ToolIcon__icon img {
height: 1rem;
}
.excalidraw button,
.ToolIcon button {
box-shadow: none;
justify-content: initial;
}
.excalidraw {
--default-button-size: 2rem !important;
--default-icon-size: 1rem !important;
--lg-button-size: 1.8rem !important;
--lg-icon-size: 1rem !important;
--editor-container-padding: var(--size-4-2);
}
.excalidraw .tray-zoom {
height: var(--default-button-size);
pointer-events: initial;
padding-bottom: 0.05rem;
padding-top: 0.05rem;
}
.excalidraw.excalidraw-container.theme--dark {
/* unused */
background-color: #121212;
color: #ffffff;
}
.excalidraw .color-picker-content {
overflow-y: auto;
max-height: 10rem;
}
.excalidraw .ToolIcon__keybinding {
font-size: 0.45rem !important;
}
.excalidraw label.color-input-container > input {
max-width: 5rem;
}
.excalidraw .App-toolbar-content .dropdown-menu {
max-height: 70vh;
overflow-y: auto;
}
.excalidraw .selected-shape-actions .panelColumn,
.excalidraw .App-mobile-menu .panelColumn {
max-height: 70vh;
overflow-y: auto;
}
.excalidraw .App-mobile-menu {
width: 12.5rem !important;
}
.excalidraw .panelColumn .buttonList {
max-width: 13rem;
}
.excalidraw input[type=color] {
width: 1.65rem;
height: 1.65rem;
}
.excalidraw input[type=color]::-webkit-color-swatch {
height: 1.65rem;
}
.excalidraw input[type=color]::-webkit-color-swatch-wrapper {
padding: 0;
}
/* In Obsidian-Excalidraw, the Sidebar-Trigger is sometimes in a Container/
Island, so it shall be styled like any other of its .ToolIcon siblings */
.excalidraw :where(.mobile-misc-tools-container, .tray-misc-tools-container) .sidebar-trigger {
background-color: unset;
border-radius: 0;
box-shadow: none;
/* this appears to me as the least impactful way of undoing the upstream mess */
--lg-button-size: var(--button-height, var(--default-button-size));
}
.excalidraw :where(.mobile-misc-tools-container, .tray-misc-tools-container) .sidebar-trigger:hover {
background-color: var(--button-hover-bg);
}
.excalidraw :where(.mobile-misc-tools-container, .tray-misc-tools-container) .sidebar-trigger:active {
background-color: var(--button-hover-bg);
box-shadow: none;
border: 1px solid var(--button-active-border);
}
.excalidraw .welcome-screen-center__logo svg {
width: 5rem !important;
}
.excalidraw .Modal {
background-color: initial;
border: initial;
max-width: initial;
max-height: initial;
width: initial;
height: initial;
}
.excalidraw input,
.excalidraw .ttd-dialog-content textarea {
caret-color: var(--excalidraw-caret-color) !important;
}
.excalidraw textarea.ttd-dialog-input {
caret-color: var(--excalidraw-caret-color) !important;
}
.excalidraw .color-picker-content input[type=color] {
filter: var(--theme-filter);
}
.excalidraw .ExcTextField__input input::placeholder {
color: var(--select-highlight-color);
}
.excalidraw textarea::placeholder {
color: var(--color-gray-50);
}
.excalidraw .ToolIcon_type_button {
color: var(--text-primary-color);
}
.excalidraw .picker-content {
grid-gap: 0.2rem !important;
}
.excalidraw .picker-content button.picker-option {
width: 1.85rem !important;
height: 1.85rem !important;
}
.excalidraw .picker {
padding: 0.2rem !important;
}
.excalidraw .context-menu {
height: -moz-fit-content;
height: fit-content;
}
.excalidraw .App-bottom-bar .App-toolbar {
justify-content: start;
}
.excalidraw-left-handed .excalidraw .App-bottom-bar {
justify-content: flex-end !important;
left: auto !important;
right: 0 !important;
transform: none !important;
}
.excalidraw-left-handed .excalidraw .App-bottom-bar .App-toolbar {
justify-content: end;
}
.excalidraw .excalidraw-ui-top-right.library-and-pen,
.excalidraw.excalidraw--mobile .excalidraw-ui-top-right {
flex-direction: row;
flex-wrap: wrap;
gap: var(--size-4-1);
justify-content: center;
align-items: center;
}
.excalidraw .excalidraw-ui-top-right.library-and-pen .ToolIcon__penMode {
margin: auto;
}
.excalidraw :is(.mobile-misc-tools-container, .tray-misc-tools-container) {
margin-right: unset;
}
.excalidraw :is(.mobile-misc-tools-container, .tray-misc-tools-container).layer-ui__wrapper__top-right--compact {
gap: 0;
/* there shouldn't be a larger gap in a "compact" mode */
}
.excalidraw .FixedSideContainer_side_top {
padding-top: 0 !important;
}
.excalidraw .ToolIcon.ToolIcon__penMode {
height: -moz-fit-content;
height: fit-content;
}
.excalidraw svg.svg-icon {
color: var(--icon-fill-color);
}
/*Revert greedy Obsidian style settings*/
.excalidraw input[type=radio]:active,
.excalidraw input[type=radio]:focus,
.excalidraw input[type=radio]:focus-visible,
.excalidraw input[type=radio]:checked {
background-color: revert;
border-color: revert;
box-shadow: none;
outline: revert;
}
.excalidraw input[type=radio]::after,
.excalidraw input[type=radio]:checked::after {
content: none !important;
display: none !important;
background-color: transparent !important;
-webkit-mask-image: none !important;
-webkit-mask-size: initial !important;
-webkit-mask-position: initial !important;
}
.excalidraw .excalidraw__embeddable-container .view-header {
display: none !important;
}
.excalidraw .excalidraw__embeddable-container input {
background: initial;
}
.excalidraw .excalidraw-mdEmbed-hideFilename .mod-header {
display: none;
}
.excalidraw .excalidraw__embeddable-container .canvas-node:not(.is-editing).transparent ::-webkit-scrollbar,
.excalidraw .excalidraw__embeddable-container .canvas-node:not(.is-editing).transparent ::-webkit-scrollbar-horizontal {
display: none;
}
.excalidraw .canvas-node .ex-md-font-hand-drawn {
--font-text: "Virgil";
}
.excalidraw .canvas-node .ex-md-font-code {
--font-text: "Cascadia";
}
.excalidraw .excalidraw__embeddable-container .workspace-leaf,
.excalidraw .excalidraw__embeddable-container .workspace-leaf .view-content {
background-color: transparent !important;
}
.excalidraw .excalidraw__embeddable-container .workspace-leaf ::-webkit-scrollbar,
.excalidraw .excalidraw__embeddable-container .workspace-leaf ::-webkit-scrollbar-horizontal,
.excalidraw .excalidraw__embeddable-container .workspace-leaf .view-content ::-webkit-scrollbar,
.excalidraw .excalidraw__embeddable-container .workspace-leaf .view-content ::-webkit-scrollbar-horizontal {
display: none;
}
.excalidraw .excalidraw__embeddable-container .workspace-leaf-content .view-content {
padding-left: 2px;
padding-right: 2px;
padding-top: 0px;
padding-bottom: 0px;
}
.excalidraw .excalidraw__embeddable-container .workspace-leaf .view-content {
display: flex;
align-items: center;
justify-content: center;
}
.excalidraw .excalidraw__embeddable-container .workspace-leaf-content .image-container,
.excalidraw .excalidraw__embeddable-container .workspace-leaf-content .audio-container,
.excalidraw .excalidraw__embeddable-container .workspace-leaf-content .video-container {
display: flex;
}
.excalidraw.excalidraw__embeddable-container .canvas-node-container {
border: 2px solid var(--canvas-color);
}
.excalidraw .excalidraw__embeddable-container .canvas-node {
--shadow-border-themed-inset: inset 0 0 0 1px rgb(var(--canvas-color));
--shadow-border-themed: 0 0 0 2px rgb(var(--canvas-color));
}
.excalidraw .excalidraw__embeddable-container .canvas-node.is-selected.is-themed .canvas-node-container,
.excalidraw .excalidraw__embeddable-container .canvas-node.is-focused.is-themed .canvas-node-container {
border-color: var(--canvas-color);
}
/*remove blur from PDF embed*/
.excalidraw .excalidraw__embeddable-container canvas {
image-rendering: auto;
}
.excalidraw .excalidraw__embeddable-container .mod-nofilter canvas {
filter: none !important;
}
.excalidraw .excalidraw__embeddable-container .canvas-node.is-selected .canvas-node-container,
.excalidraw .excalidraw__embeddable-container .canvas-node.is-focused .canvas-node-container {
border-color: inherit;
box-shadow: inherit;
}
.excalidraw .excalidraw__embeddable-container .pdf-toolbar-right {
display: none;
}
.excalidraw-scriptengine-install .modal-close-button {
z-index: 9999;
}
.excalidraw-wrapper .excalidraw--tray .App-bottom-bar > .Island > .App-toolbar > .App-toolbar-content {
/* Flatten layout boundaries without breaking the box model tree */
}
.excalidraw-wrapper .excalidraw--tray .App-bottom-bar > .Island > .App-toolbar > .App-toolbar-content > :not([class]) {
display: flex;
align-items: center;
justify-content: center;
/* Allows items to behave like part of the parent row */
flex: 1 1 auto;
}
.excalidraw-wrapper .excalidraw--tray .App-bottom-bar > .Island > .App-toolbar > .App-toolbar-content > .ToolIcon__icon:empty {
display: none;
}
/*!*****************************************************************************************************************************************************************************************************!*\
!*** 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/ToolIcon.scss ***!
\*****************************************************************************************************************************************************************************************************/
.excalidraw .ToolIcon {
border-radius: var(--border-radius-lg);
display: inline-flex;
align-items: center;
position: relative;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
user-select: none;
}
.excalidraw .ToolIcon__hidden {
display: none !important;
}
.excalidraw .ToolIcon.fillable .ToolIcon_type_radio:checked + .ToolIcon__icon,
.excalidraw .ToolIcon.fillable .ToolIcon_type_checkbox:checked + .ToolIcon__icon {
--icon-fill-color: var(--color-on-primary-container);
}
.excalidraw .ToolIcon.fillable .ToolIcon_type_radio:checked + .ToolIcon__icon svg,
.excalidraw .ToolIcon.fillable .ToolIcon_type_checkbox:checked + .ToolIcon__icon svg {
fill: var(--icon-fill-color);
}
.excalidraw .ToolIcon .ToolIcon_type_radio:checked + .ToolIcon__icon,
.excalidraw .ToolIcon .ToolIcon_type_checkbox:checked + .ToolIcon__icon {
background: var(--color-surface-primary-container);
--keybinding-color: var(--color-on-primary-container);
--icon-fill-color: var(--color-on-primary-container);
}
.excalidraw .ToolIcon .ToolIcon_type_radio:checked + .ToolIcon__icon svg,
.excalidraw .ToolIcon .ToolIcon_type_checkbox:checked + .ToolIcon__icon svg {
color: var(--color-on-primary-container);
}
.excalidraw .ToolIcon .ToolIcon__keybinding {
bottom: 4px;
right: 4px;
}
.excalidraw .ToolIcon .ToolIcon__icon:hover {
background: var(--button-hover-bg);
}
.excalidraw .ToolIcon .ToolIcon__icon:active {
background: var(--button-hover-bg);
border: 1px solid var(--button-active-border);
}
.excalidraw .ToolIcon .ToolIcon__icon:active svg {
color: var(--color-on-primary-container);
}
.excalidraw .ToolIcon .ToolIcon__icon[aria-disabled=true] {
background: initial;
border: none;
}
.excalidraw .ToolIcon .ToolIcon__icon[aria-disabled=true] svg {
color: var(--color-disabled);
}
.excalidraw .ToolIcon--plain {
background-color: transparent;
}
.excalidraw .ToolIcon--plain .ToolIcon__icon {
width: 2rem;
height: 2rem;
}
.excalidraw .ToolIcon_type_radio,
.excalidraw .ToolIcon_type_checkbox {
position: absolute;
opacity: 0;
pointer-events: none;
}
.excalidraw .ToolIcon__icon {
box-sizing: border-box;
width: var(--default-button-size);
height: var(--default-button-size);
color: var(--icon-fill-color);
display: flex;
justify-content: center;
align-items: center;
border-radius: var(--border-radius-lg);
}
.excalidraw .ToolIcon__icon + .ToolIcon__label {
margin-inline-start: 0;
}
.excalidraw .ToolIcon__icon svg {
position: relative;
width: var(--default-icon-size);
height: var(--default-icon-size);
color: var(--icon-fill-color);
}
.excalidraw .ToolIcon__label {
display: flex;
align-items: center;
color: var(--icon-fill-color);
font-family: var(--ui-font);
margin: 0 0.8em;
text-overflow: ellipsis;
}
.excalidraw .ToolIcon__label .Spinner {
margin-left: 0.6em;
}
.excalidraw .ToolIcon_size_small .ToolIcon__icon {
width: 2rem;
height: 2rem;
font-size: 0.8em;
}
.excalidraw .ToolIcon_type_button,
.excalidraw .Modal .ToolIcon_type_button {
padding: 0;
border: none;
margin: 0;
font-size: inherit;
background-color: initial;
}
.excalidraw .ToolIcon_type_button:focus-visible,
.excalidraw .Modal .ToolIcon_type_button:focus-visible {
box-shadow: 0 0 0 2px var(--focus-highlight-color);
}
.excalidraw .ToolIcon_type_button.ToolIcon--selected,
.excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected {
background-color: var(--button-gray-2);
}
.excalidraw .ToolIcon_type_button.ToolIcon--selected:active,
.excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected:active {
background-color: var(--button-gray-3);
}
.excalidraw .ToolIcon_type_button:active,
.excalidraw .Modal .ToolIcon_type_button:active {
background-color: var(--button-gray-3);
}
.excalidraw .ToolIcon_type_button:disabled,
.excalidraw .Modal .ToolIcon_type_button:disabled {
cursor: default;
}
.excalidraw .ToolIcon_type_button:disabled:active, .excalidraw .ToolIcon_type_button:disabled:focus-visible, .excalidraw .ToolIcon_type_button:disabled:hover,
.excalidraw .Modal .ToolIcon_type_button:disabled:active,
.excalidraw .Modal .ToolIcon_type_button:disabled:focus-visible,
.excalidraw .Modal .ToolIcon_type_button:disabled:hover {
background-color: initial;
border: none;
box-shadow: none;
}
.excalidraw .ToolIcon_type_button:disabled svg,
.excalidraw .Modal .ToolIcon_type_button:disabled svg {
color: var(--color-disabled);
}
.excalidraw .ToolIcon_type_button--show,
.excalidraw .Modal .ToolIcon_type_button--show {
visibility: visible;
}
.excalidraw .ToolIcon_type_button--hide,
.excalidraw .Modal .ToolIcon_type_button--hide {
display: none !important;
}
.excalidraw .ToolIcon_type_floating {
background-color: transparent;
}
.excalidraw .ToolIcon_type_floating:hover {
background-color: transparent;
}
.excalidraw .ToolIcon_type_floating:active {
background-color: transparent;
}
.excalidraw .ToolIcon_type_floating .ToolIcon__icon {
background-color: var(--button-gray-1);
width: 2rem;
height: 2rem;
}
.excalidraw .ToolIcon_type_floating .ToolIcon__icon:hover {
background-color: var(--button-gray-2);
}
.excalidraw .ToolIcon_type_floating .ToolIcon__icon:active {
background-color: var(--button-gray-3);
}
.excalidraw .ToolIcon__keybinding {
position: absolute;
bottom: 2px;
right: 3px;
font-size: 0.625rem;
color: var(--keybinding-color);
font-family: var(--ui-font);
-webkit-user-select: none;
user-select: none;
}
:root[dir=ltr] .excalidraw .unlocked-icon {
left: 2px;
}
:root[dir=rtl] .excalidraw .unlocked-icon {
right: 2px;
}
.excalidraw .App-toolbar-container .ToolIcon__icon {
width: var(--lg-button-size);
height: var(--lg-button-size);
}
@media screen and (max-width: 450px) {
.excalidraw .App-toolbar-container .ToolIcon__icon {
width: 1.8rem;
height: 1.8rem;
}
}
@media screen and (max-width: 379px) {
.excalidraw .App-toolbar-container .ToolIcon__icon {
width: 1.5rem;
height: 1.5rem;
}
}
.excalidraw .App-toolbar-container .ToolIcon__icon svg {
width: var(--lg-icon-size);
height: var(--lg-icon-size);
}
.excalidraw .App-toolbar-container .ToolIcon__LaserPointer .ToolIcon__icon,
.excalidraw .App-toolbar-container .ToolIcon__MagicButton .ToolIcon__icon {
width: var(--default-button-size);
height: var(--default-button-size);
}
/*!****************************************************************************************************************************************************************************************************!*\
!*** 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/Spinner.scss ***!
\****************************************************************************************************************************************************************************************************/
.excalidraw .Spinner {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
margin-left: auto;
margin-right: auto;
--spinner-color: var(--icon-fill-color);
}
.excalidraw .Spinner svg {
animation: rotate 1.6s linear infinite;
animation-delay: var(--spinner-delay);
transform-origin: center center;
}
.excalidraw .Spinner circle {
stroke: var(--spinner-color);
animation: dash 1.6s linear 0s infinite;
stroke-linecap: round;
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
@keyframes dash {
0% {
stroke-dasharray: 1, 300;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 150, 300;
stroke-dashoffset: -200;
}
100% {
stroke-dasharray: 1, 300;
stroke-dashoffset: -280;
}
}
/*!*******************************************************************************************************************************************************************************************************!*\
!*** 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/ButtonIcon.scss ***!
\*******************************************************************************************************************************************************************************************************/
.excalidraw {
--theme-filter: none;
--button-destructive-bg-color: #ffe3e3;
--button-destructive-color: #c92a2a;
--button-gray-1: #e9ecef;
--button-gray-2: #ced4da;
--button-gray-3: #adb5bd;
--mobile-action-button-bg: rgba(255, 255, 255, 0.35);
--mobile-color-border: var(--default-border-color);
--button-special-active-bg-color: #ebfbee;
--dialog-border-color: var(--color-gray-20);
--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>");
--focus-highlight-color: #a5d8ff;
--icon-fill-color: var(--color-on-surface);
--icon-green-fill-color: #2b8a3e;
--default-bg-color: #fff;
--input-bg-color: #fff;
--input-border-color: #ced4da;
--input-hover-bg-color: #f1f3f5;
--input-label-color: #495057;
--island-bg-color: #ffffff;
--island-bg-color-alt: #fff;
--keybinding-color: var(--color-gray-40);
--link-color: #1c7ed6;
--link-color-hover: #1971c2;
--link-color-active: #a5d8ff;
--overlay-bg-color: rgba(255, 255, 255, 0.88);
--popup-bg-color: var(--island-bg-color);
--popup-secondary-bg-color: #f1f3f5;
--popup-text-color: #000;
--popup-text-inverted-color: #fff;
--select-highlight-color: #339af0;
--shadow-island: 0px 0px 1px 0px rgba(0, 0, 0, 0.17),
0px 0px 3px 0px rgba(0, 0, 0, 0.08), 0px 7px 14px 0px rgba(0, 0, 0, 0.05);
--shadow-island-stronger: 0px 0px 1px 0px rgba(0, 0, 0, 0.17),
0px 0px 3px 0px rgba(0, 0, 0, 0.08), 0px 7px 14px 0px rgb(0 0 0 / 18%);
--button-hover-bg: var(--color-surface-high);
--button-active-bg: var(--color-surface-high);
--button-active-border: var(--color-brand-active);
--default-border-color: var(--color-surface-high);
--default-button-size: 2rem;
--default-icon-size: 1rem;
--lg-button-size: 2.25rem;
--lg-icon-size: 1rem;
--editor-container-padding: 1rem;
--mobile-action-button-size: 2rem;
--scrollbar-thumb: var(--button-gray-2);
--scrollbar-thumb-hover: var(--button-gray-3);
--color-slider-track: hsl(240, 100%, 90%);
--color-slider-thumb: var(--color-gray-80);
--modal-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07),
0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198),
0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275),
0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035),
0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725),
0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);
--avatar-border-color: var(--color-gray-20);
--sidebar-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07),
0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198),
0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275),
0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035),
0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725),
0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);
--sidebar-border-color: var(--color-surface-high);
--sidebar-bg-color: var(--island-bg-color);
--library-dropdown-shadow: 0px 15px 6px rgba(0, 0, 0, 0.01),
0px 8px 5px rgba(0, 0, 0, 0.05), 0px 4px 4px rgba(0, 0, 0, 0.09),
0px 1px 2px rgba(0, 0, 0, 0.1), 0px 0px 0px rgba(0, 0, 0, 0.1);
--chat-msg-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
--space-factor: 0.25rem;
--text-primary-color: var(--color-on-surface);
--color-selection: #6965db;
--color-icon-white: #fff;
--color-primary: #6965db;
--color-primary-darker: #5b57d1;
--color-primary-darkest: #4a47b1;
--color-primary-light: #e3e2fe;
--color-primary-light-darker: #d7d5ff;
--color-primary-hover: #5753d0;
--color-gray-10: #f5f5f5;
--color-gray-20: #ebebeb;
--color-gray-30: #d6d6d6;
--color-gray-40: #b8b8b8;
--color-gray-50: #999999;
--color-gray-60: #7a7a7a;
--color-gray-70: #5c5c5c;
--color-gray-80: #3d3d3d;
--color-gray-85: #242424;
--color-gray-90: #1e1e1e;
--color-gray-100: #121212;
--color-disabled: var(--color-gray-40);
--color-warning: #fceeca;
--color-warning-dark: #f5c354;
--color-warning-darker: #f3ab2c;
--color-warning-darkest: #ec8b14;
--color-text-warning: var(--text-primary-color);
--color-danger: #db6965;
--color-danger-dark: #db6965;
--color-danger-darker: #d65550;
--color-danger-darkest: #d1413c;
--color-danger-text: black;
--color-danger-background: #fff0f0;
--color-danger-icon-background: #ffdad6;
--color-danger-color: #700000;
--color-danger-icon-color: #700000;
--color-warning-background: var(--color-warning);
--color-warning-icon-background: var(--color-warning-dark);
--color-warning-color: var(--text-primary-color);
--color-warning-icon-color: var(--text-primary-color);
--color-muted: var(--color-gray-30);
--color-muted-darker: var(--color-gray-60);
--color-muted-darkest: var(--color-gray-100);
--color-muted-background: var(--color-gray-80);
--color-muted-background-darker: var(--color-gray-100);
--color-promo: var(--color-primary);
--color-success: #cafccc;
--color-success-darker: #bafabc;
--color-success-darkest: #a5eba8;
--color-success-text: #268029;
--color-success-contrast: #65bb6a;
--color-success-contrast-hover: #6bcf70;
--color-success-contrast-active: #6edf74;
--color-logo-icon: var(--color-primary);
--color-logo-text: #190064;
--border-radius-md: 0.375rem;
--border-radius-lg: 0.5rem;
--color-surface-high: #f1f0ff;
--color-surface-mid: #f6f6f9;
--color-surface-low: #ececf4;
--color-surface-lowest: #ffffff;
--color-on-surface: #1b1b1f;
--color-brand-hover: #5753d0;
--color-on-primary-container: #030064;
--color-surface-primary-container: #e0dfff;
--color-brand-active: #4440bf;
--color-border-outline: #767680;
--color-border-outline-variant: #c5c5d0;
--color-surface-primary-container: #e0dfff;
--color-badge: #0b6513;
--background-color-badge: #d3ffd2;
}
.excalidraw--mobile.excalidraw {
--editor-container-padding: 0.75rem;
}
@media screen and (min-device-width: 1921px) {
.excalidraw {
--lg-button-size: 2.5rem;
--lg-icon-size: 1.25rem;
--default-button-size: 2.25rem;
--default-icon-size: 1.25rem;
}
}
.excalidraw.theme--dark.theme--dark-background-none {
background: none;
}
.excalidraw.theme--dark {
--theme-filter: invert(93%) hue-rotate(180deg);
--button-destructive-bg-color: #5a0000;
--button-destructive-color: #ffa8a8;
--button-gray-1: #363636;
--button-gray-2: #272727;
--button-gray-3: #222;
--mobile-action-button-bg: var(--island-bg-color);
--mobile-color-border: rgba(255, 255, 255, 0.85);
--button-special-active-bg-color: #204624;
--dialog-border-color: var(--color-gray-80);
--dropdown-icon: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"292.4\" height=\"292.4\" viewBox=\"0 0 292 292\"><path fill=\"%23ced4da\" d=\"M287 197L159 69c-4-3-8-5-13-5s-9 2-13 5L5 197c-3 4-5 8-5 13s2 9 5 13c4 4 8 5 13 5h256c5 0 9-1 13-5s5-8 5-13-1-9-5-13z\"/></svg>");
--focus-highlight-color: #228be6;
--icon-green-fill-color: #69db7c;
--default-bg-color: #121212;
--input-bg-color: #121212;
--input-border-color: #2e2e2e;
--input-hover-bg-color: #181818;
--input-label-color: #e9ecef;
--island-bg-color: #232329;
--island-bg-color-alt: hsl(240, 12%, 12%);
--keybinding-color: var(--color-gray-60);
--link-color: #4dabf7;
--overlay-bg-color: rgba(52, 58, 64, 0.12);
--popup-secondary-bg-color: #222;
--popup-text-color: #ced4da;
--popup-text-inverted-color: #2c2c2c;
--select-highlight-color: #4dabf7;
--modal-shadow: 0px 100px 80px rgba(0, 0, 0, 0.07),
0px 41.7776px 33.4221px rgba(0, 0, 0, 0.0503198),
0px 22.3363px 17.869px rgba(0, 0, 0, 0.0417275),
0px 12.5216px 10.0172px rgba(0, 0, 0, 0.035),
0px 6.6501px 5.32008px rgba(0, 0, 0, 0.0282725),
0px 2.76726px 2.21381px rgba(0, 0, 0, 0.0196802);
--avatar-border-color: var(--color-gray-85);
--scrollbar-thumb: #343a40;
--scrollbar-thumb-hover: #495057;
--color-slider-track: hsl(244, 23%, 39%);
--color-selection: #3530c4;
--color-icon-white: var(--color-gray-90);
--color-primary: #a8a5ff;
--color-primary-darker: #b2aeff;
--color-primary-darkest: #beb9ff;
--color-primary-light: #4f4d6f;
--color-primary-light-darker: #43415e;
--color-primary-hover: #bbb8ff;
--color-disabled: var(--color-gray-70);
--color-text-warning: var(--color-gray-80);
--color-danger: #ffa8a5;
--color-danger-dark: #672120;
--color-danger-darker: #8f2625;
--color-danger-darkest: #ac2b29;
--color-danger-text: #fbcbcc;
--color-danger-background: #fbcbcc;
--color-danger-icon-background: #672120;
--color-danger-color: #261919;
--color-danger-icon-color: #fbcbcc;
--color-warning-background: var(--color-warning);
--color-warning-icon-background: var(--color-warning-dark);
--color-warning-color: var(--color-gray-80);
--color-warning-icon-color: var(--color-gray-80);
--color-muted: var(--color-gray-80);
--color-muted-darker: var(--color-gray-60);
--color-muted-darkest: var(--color-gray-20);
--color-muted-background: var(--color-gray-40);
--color-muted-background-darker: var(--color-gray-20);
--color-logo-text: #e2dfff;
--color-surface-high: #2e2d39;
--color-surface-low: hsl(240, 8%, 15%);
--color-surface-mid: hsl(240 6% 10%);
--color-surface-lowest: hsl(0, 0%, 7%);
--color-on-surface: #e3e3e8;
--color-brand-hover: #bbb8ff;
--color-on-primary-container: #e0dfff;
--color-surface-primary-container: #403e6a;
--color-brand-active: #d0ccff;
--color-border-outline: #8e8d9c;
--color-border-outline-variant: #46464f;
--color-surface-primary-container: #403e6a;
}
.excalidraw button.standalone {
display: flex;
justify-content: center;
align-items: center;
padding: 0.625rem;
width: var(--button-width, var(--default-button-size));
height: var(--button-height, var(--default-button-size));
box-sizing: border-box;
border-width: 1px;
border-style: solid;
border-color: var(--button-border, var(--default-border-color));
border-radius: var(--border-radius-lg);
cursor: pointer;
background-color: var(--button-bg, var(--island-bg-color));
color: var(--button-color, var(--color-on-surface));
font-family: var(--ui-font);
}
.excalidraw button.standalone svg {
width: var(--button-width, var(--lg-icon-size));
height: var(--button-height, var(--lg-icon-size));
}
.excalidraw button.standalone:hover {
background-color: var(--button-hover-bg, var(--island-bg-color));
border-color: var(--button-hover-border, var(--button-border, var(--default-border-color)));
color: var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)));
}
.excalidraw button.standalone:active {
background-color: var(--button-active-bg, var(--island-bg-color));
border-color: var(--button-active-border, var(--color-primary-darkest));
}
.excalidraw button.standalone.active {
background-color: var(--button-selected-bg, var(--color-surface-primary-container));
border-color: var(--button-selected-border, var(--color-surface-primary-container));
}
.excalidraw button.standalone.active:hover {
background-color: var(--button-selected-hover-bg, var(--color-surface-primary-container));
}
.excalidraw button.standalone.active svg {
color: var(--button-color, var(--color-on-primary-container));
}
.excalidraw--mobile.excalidraw button.standalone {
width: var(--mobile-action-button-size, var(--default-button-size));
height: var(--mobile-action-button-size, var(--default-button-size));
}
.excalidraw button.standalone {
padding: 0;
}
.excalidraw button.standalone svg {
width: var(--default-icon-size);
height: var(--default-icon-size);
}
.excalidraw button.standalone > * {
pointer-events: none;
}
/*!*******************************************************************************************************************************************************************************************************!*\
!*** 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/EyeDropper.scss ***!
\*******************************************************************************************************************************************************************************************************/
.excalidraw .excalidraw-eye-dropper-container,
.excalidraw .excalidraw-eye-dropper-backdrop {
position: absolute;
width: 100%;
height: 100%;
z-index: var(--zIndex-eyeDropperBackdrop);
touch-action: none;
}
.excalidraw .excalidraw-eye-dropper-container {
pointer-events: none;
}
.excalidraw .excalidraw-eye-dropper-backdrop {
pointer-events: all;
}
.excalidraw .excalidraw-eye-dropper-preview {
pointer-events: none;
width: 3rem;
height: 3rem;
position: absolute;
z-index: var(--zIndex-eyeDropperPreview);
border-radius: 1rem;
border: 1px solid var(--default-border-color);
filter: var(--theme-filter);
}
.excalidraw .excalidraw-eye-dropper-trigger {
width: 1.25rem;
height: 1.25rem;
cursor: pointer;
margin-right: -4px;
margin-left: -2px;
border-radius: 0.5rem;
color: var(--icon-fill-color);
}
.excalidraw .excalidraw-eye-dropper-trigger:hover {
background: var(--button-hover-bg);
}
.excalidraw .excalidraw-eye-dropper-trigger.selected {
color: var(--color-primary);
background: var(--color-primary-light);
}
/*!***************************************************************************************************************************************************************************************************!*\
!*** 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/Island.scss ***!
\***************************************************************************************************************************************************************************************************/
.excalidraw .Island {
--padding: 0;
box-sizing: border-box;
background-color: var(--island-bg-color);
box-shadow: var(--shadow-island);
border-radius: var(--border-radius-lg);
padding: calc(var(--padding) * var(--space-factor));
position: relative;
transition: box-shadow 0.5s ease-in-out;
}
.excalidraw .Island.zen-mode {
box-shadow: none;
}
/*!********************************************************************************************************************************************************************************************************************!*\
!*** 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/ColorPicker/ColorPicker.scss ***!
\********************************************************************************************************************************************************************************************************************/
.excalidraw .focus-visible-none:focus-visible {
outline: none !important;
}
.excalidraw .color-picker__title {
padding: 0 0.5rem;
font-size: 0.875rem;
text-align: left;
}
.excalidraw .color-picker__heading {
padding: 0 0.5rem;
font-size: 0.75rem;
text-align: left;
}
.excalidraw .color-picker-container {
display: grid;
grid-template-columns: 1fr 20px 1.625rem;
padding: 0.25rem 0px;
align-items: center;
}
.excalidraw--mobile.excalidraw .color-picker-container {
max-width: 11rem;
}
.excalidraw .color-picker-container.color-picker-container--no-top-picks {
display: flex;
justify-content: center;
grid-template-columns: unset;
}
.excalidraw .color-picker__top-picks {
display: flex;
justify-content: space-between;
align-items: center;
}
.excalidraw .color-picker__button {
--radius: 4px;
--size: 1.375rem;
padding: 0;
margin: 0;
width: var(--size);
height: var(--size);
border: 0;
border-radius: var(--radius);
filter: var(--theme-filter);
background-color: var(--swatch-color);
background-position: left center;
position: relative;
font-family: inherit;
box-sizing: border-box;
}
.excalidraw .color-picker__button.has-outline {
box-shadow: inset 0 0 0 1px #d9d9d9;
}
.excalidraw .color-picker__button:hover:not(.active):not(.color-picker__button--large) {
transform: scale(1.075);
}
.excalidraw .color-picker__button:hover:not(.active).color-picker__button--large::after {
content: "";
position: absolute;
top: -1px;
left: -1px;
right: -1px;
bottom: -1px;
box-shadow: 0 0 0 1px var(--color-gray-30);
border-radius: var(--radius);
filter: var(--theme-filter);
}
.excalidraw .color-picker__button .color-picker__button-outline {
display: flex;
align-items: center;
justify-content: center;
}
.excalidraw .color-picker__button .color-picker__button-outline svg {
color: var(--color-gray-60);
width: 1.25rem;
height: 1.25rem;
}
.excalidraw .color-picker__button .color-picker__button-background {
display: flex;
align-items: center;
justify-content: center;
}
.excalidraw .color-picker__button .color-picker__button-background svg {
width: 100%;
height: 100%;
}
.excalidraw .color-picker__button.active .color-picker__button-outline {
position: absolute;
--offset: -1px;
top: var(--offset);
left: var(--offset);
right: var(--offset);
bottom: var(--offset);
box-shadow: 0 0 0 1px var(--color-primary-darkest);
z-index: 1;
border-radius: var(--radius);
filter: var(--theme-filter);
}
.excalidraw .color-picker__button:focus-visible {
outline: none;
}
.excalidraw .color-picker__button:focus-visible::after {
content: "";
position: absolute;
top: -4px;
right: -4px;
bottom: -4px;
left: -4px;
border: 3px solid var(--focus-highlight-color);
border-radius: calc(var(--radius) + 1px);
}
.excalidraw .color-picker__button:focus-visible.active .color-picker__button-outline {
display: none;
}
.excalidraw .color-picker__button--large {
--radius: 0.5rem;
width: 1.875rem;
height: 1.875rem;
}
.excalidraw .color-picker__button.is-transparent {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==);
}
.excalidraw .color-picker__button--no-focus-visible {
border: 0;
}
.excalidraw .color-picker__button--no-focus-visible::after {
display: none;
}
.excalidraw .color-picker__button--no-focus-visible:focus-visible {
outline: none !important;
}
.excalidraw .color-picker__button.active-color {
border-radius: calc(var(--radius) + 1px);
width: 1.625rem;
height: 1.625rem;
}
.excalidraw .color-picker__button.compact-sizing {
width: var(--mobile-action-button-size);
height: var(--mobile-action-button-size);
}
.excalidraw .color-picker__button.mobile-border {
border: 1px solid var(--mobile-color-border);
}
.excalidraw .color-picker__button__hotkey-label {
position: absolute;
right: 5px;
bottom: 3px;
filter: none;
font-size: 11px;
font-weight: 500;
}
.excalidraw .color-picker {
background: var(--popup-bg-color);
border: 0 solid rgba(255, 255, 255, 0.25);
box-shadow: rgba(0, 0, 0, 0.25) 0 1px 4px;
border-radius: 4px;
position: absolute;
}
:root[dir=ltr] .excalidraw .color-picker {
left: -5.5px;
}
:root[dir=rtl] .excalidraw .color-picker {
right: -5.5px;
}
.excalidraw .color-picker-control-container {
display: grid;
grid-template-columns: auto 1fr;
align-items: center;
column-gap: 0.5rem;
}
.excalidraw .color-picker-control-container + .popover {
position: static;
}
.excalidraw .color-picker-popover-container {
margin-top: -0.25rem;
}
:root[dir=ltr] .excalidraw .color-picker-popover-container {
margin-left: 0.5rem;
}
:root[dir=rtl] .excalidraw .color-picker-popover-container {
margin-left: -3rem;
}
.excalidraw .color-picker-triangle {
width: 0;
height: 0;
border-style: solid;
border-width: 0 9px 10px;
border-color: transparent transparent var(--popup-bg-color);
position: absolute;
top: 10px;
}
:root[dir=ltr] .excalidraw .color-picker-triangle {
transform: rotate(270deg);
left: -14px;
}
:root[dir=rtl] .excalidraw .color-picker-triangle {
transform: rotate(90deg);
right: -14px;
}
.excalidraw .color-picker-triangle-shadow {
border-color: transparent transparent rgba(0, 0, 0, 0.1);
}
:root[dir=ltr] .excalidraw .color-picker-triangle-shadow {
left: -14px;
}
:root[dir=rtl] .excalidraw .color-picker-triangle-shadow {
right: -16px;
}
.excalidraw .color-picker-content {
display: flex;
flex-direction: column;
gap: 0.75rem;
max-height: none;
outline: none;
}
.excalidraw .color-picker-content--default {
padding: 0.5rem;
display: grid;
grid-template-columns: repeat(5, 1.875rem);
grid-gap: 0.25rem;
border-radius: 4px;
}
.excalidraw .color-picker-content--default:focus {
outline: none;
box-shadow: 0 0 0 2px var(--focus-highlight-color);
}
.excalidraw .color-picker-content--canvas {
display: flex;
flex-direction: column;
padding: 0.25rem;
}
.excalidraw .color-picker-content--canvas-title {
color: #868e96;
font-size: 12px;
padding: 0 0.25rem;
}
.excalidraw .color-picker-content--canvas-colors {
padding: 0.5rem 0;
}
.excalidraw .color-picker-content--canvas-colors .color-picker-swatch {
margin: 0 0.25rem;
}
.excalidraw .color-picker-content .color-input-container {
grid-column: 1/span 5;
}
.excalidraw .color-picker-swatch {
position: relative;
height: 1.875rem;
width: 1.875rem;
cursor: pointer;
border-radius: 4px;
margin: 0;
box-sizing: border-box;
border: 1px solid #ddd;
background-color: currentColor !important;
filter: var(--theme-filter);
}
.excalidraw .color-picker-swatch:focus {
/* TODO: only show the border when the color is too light to see as a shadow */
box-shadow: 0 0 4px 1px currentColor;
border-color: var(--select-highlight-color);
}
.excalidraw .color-picker-transparent {
border-radius: 4px;
box-shadow: rgba(0, 0, 0, 0.1) 0 0 0 1px inset;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.excalidraw .color-picker-transparent,
.excalidraw .color-picker-label-swatch {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==) left center;
}
.excalidraw .color-picker-hash {
height: var(--default-button-size);
flex-shrink: 0;
padding: 0.5rem 0.5rem 0.5rem 0.75rem;
border: 1px solid var(--default-border-color);
border-right: 0;
box-sizing: border-box;
color: var(--input-label-color);
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
:root[dir=ltr] .excalidraw .color-picker-hash {
border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}
:root[dir=rtl] .excalidraw .color-picker-hash {
border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
border-right: 1px solid var(--default-border-color);
border-left: 0;
}
.excalidraw .color-input-container {
display: flex;
}
.excalidraw .color-input-container:focus-within {
box-shadow: 0 0 0 1px var(--color-primary-darkest);
border-radius: var(--border-radius-lg);
}
.excalidraw .color-picker__input-label {
display: grid;
grid-template-columns: auto 1fr auto auto auto;
gap: 8px;
align-items: center;
border: 1px solid var(--default-border-color);
border-radius: 8px;
padding: 0 12px;
margin: 8px;
box-sizing: border-box;
}
.excalidraw .color-picker__input-label:focus-within {
box-shadow: 0 0 0 1px var(--color-primary-darkest);
border-radius: var(--border-radius-lg);
}
.excalidraw .color-picker__input-hash {
padding: 0 0.25rem;
}
.excalidraw .color-picker-input {
box-sizing: border-box;
width: 100%;
margin: 0;
font-size: 0.875rem;
font-family: inherit;
background-color: transparent;
color: var(--text-primary-color);
border: 0;
outline: none;
height: var(--default-button-size);
border: 1px solid var(--default-border-color);
border-left: 0;
letter-spacing: 0.4px;
padding: 0.5rem;
padding-left: 0.25rem;
appearance: none;
}
:root[dir=ltr] .excalidraw .color-picker-input {
border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
}
:root[dir=rtl] .excalidraw .color-picker-input {
border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
border-left: 1px solid var(--default-border-color);
border-right: 0;
}
.excalidraw .color-picker-input:focus-visible {
box-shadow: none;
}
.excalidraw .color-picker-label-swatch-container {
border: 1px solid var(--default-border-color);
border-radius: var(--border-radius-lg);
width: var(--default-button-size);
height: var(--default-button-size);
box-sizing: border-box;
overflow: hidden;
}
.excalidraw .color-picker-label-swatch {
display: flex;
justify-content: center;
align-items: center;
padding: 0.625rem;
width: var(--button-width, var(--default-button-size));
height: var(--button-height, var(--default-button-size));
box-sizing: border-box;
border-width: 1px;
border-style: solid;
border-color: var(--button-border, var(--default-border-color));
border-radius: var(--border-radius-lg);
cursor: pointer;
background-color: var(--button-bg, var(--island-bg-color));
color: var(--button-color, var(--color-on-surface));
font-family: var(--ui-font);
background-color: var(--swatch-color) !important;
overflow: hidden;
position: relative;
filter: var(--theme-filter);
border: 0 !important;
}
.excalidraw .color-picker-label-swatch svg {
width: var(--button-width, var(--lg-icon-size));
height: var(--button-height, var(--lg-icon-size));
}
.excalidraw .color-picker-label-swatch:hover {
background-color: var(--button-hover-bg, var(--island-bg-color));
border-color: var(--button-hover-border, var(--button-border, var(--default-border-color)));
color: var(--button-hover-color, var(--button-color, var(--text-primary-color, inherit)));
}
.excalidraw .color-picker-label-swatch:active {
background-color: var(--button-active-bg, var(--island-bg-color));
border-color: var(--button-active-border, var(--color-primary-darkest));
}
.excalidraw .color-picker-label-swatch.active {
background-color: var(--button-selected-bg, var(--color-surface-primary-container));
border-color: var(--button-selected-border, var(--color-surface-primary-container));
}
.excalidraw .color-picker-label-swatch.active:hover {
background-color: var(--button-selected-hover-bg, var(--color-surface-primary-container));
}
.excalidraw .color-picker-label-swatch.active svg {
color: var(--button-color, var(--color-on-primary-container));
}
.excalidraw--mobile.excalidraw .color-picker-label-swatch {
width: var(--mobile-action-button-size, var(--default-button-size));
height: var(--mobile-action-button-size, var(--default-button-size));
}
.excalidraw .color-picker-label-swatch:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--swatch-color);
}
.excalidraw .color-picker-keybinding {
position: absolute;
bottom: 2px;
font-size: 0.7em;
}
:root[dir=ltr] .excalidraw .color-picker-keybinding {
right: 2px;
}
:root[dir=rtl] .excalidraw .color-picker-keybinding {
left: 2px;
}
.excalidraw--mobile.excalidraw .color-picker-keybinding {
display: none;
}
.excalidraw .color-picker-type-canvasBackground .color-picker-keybinding {
color: #aaa;
}
.excalidraw .color-picker-type-elementBackground .color-picker-keybinding {
color: #fff;
}
.excalidraw .color-picker-swatch[aria-label=transparent] .color-picker-keybinding {
color: #aaa;
}
.excalidraw .color-picker-type-elementStroke .color-picker-keybinding {
color: #d4d4d4;
}
.excalidraw.theme--dark .color-picker-type-elementBackground .color-picker-keybinding {
color: #000;
}
.excalidraw.theme--dark .color-picker-swatch[aria-label=transparent] .color-picker-keybinding {
color: #000;
}
/*!********************************************************************************************************************************************************************************************************!*\
!*** 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/QuickSearch.scss ***!
\********************************************************************************************************************************************************************************************************/
.excalidraw {
--list-border-color: var(--color-gray-20);
}
.excalidraw .QuickSearch__wrapper {
position: relative;
height: 2.6rem;
border-bottom: 1px solid var(--list-border-color);
}
.excalidraw .QuickSearch__wrapper svg {
position: absolute;
top: 47.5%;
transform: translateY(-50%);
left: 0.75rem;
width: 1.25rem;
height: 1.25rem;
color: var(--color-gray-40);
z-index: 1;
}
.excalidraw.theme--dark {
--list-border-color: var(--color-gray-80);
}
.excalidraw.theme--dark .QuickSearch__wrapper {
border-bottom: none;
}
.excalidraw .QuickSearch__input {
position: absolute;
top: 0;
left: 0;
width: 100%;
box-sizing: border-box;
border: 0 !important;
font-size: 0.875rem;
padding-left: 2.5rem !important;
padding-right: 0.75rem !important