mirror of
https://github.com/zsviczian/obsidian-excalidraw-plugin.git
synced 2025-08-06 05:46:28 +00:00
860 lines
17 KiB
CSS
860 lines
17 KiB
CSS
.App {
|
||
font-family: sans-serif;
|
||
text-align: center;
|
||
}
|
||
|
||
.excalidraw-wrapper {
|
||
height: 100%;
|
||
margin: 0px;
|
||
background-color: var(--background-primary);
|
||
position:relative;
|
||
}
|
||
|
||
.context-menu-option__shortcut {
|
||
background-color: transparent !important;
|
||
}
|
||
|
||
.block-language-excalidraw {
|
||
text-align:center;
|
||
}
|
||
|
||
.excalidraw .github-corner {
|
||
display: none;
|
||
}
|
||
|
||
.excalidraw-embedded-img {
|
||
width: 100%;
|
||
}
|
||
|
||
.excalidraw-svg-right-wrap {
|
||
float: right;
|
||
margin: 0px 0px 20px 20px;
|
||
width: 100%;
|
||
}
|
||
|
||
.excalidraw-svg-left-wrap {
|
||
float: left;
|
||
margin: 0px 35px 20px 0px;
|
||
width: 100%;
|
||
}
|
||
|
||
.excalidraw-svg-right {
|
||
float: right;
|
||
}
|
||
|
||
.excalidraw-svg-center {
|
||
text-align: center;
|
||
margin: auto;
|
||
width: 100%;
|
||
}
|
||
|
||
.excalidraw-svg-left {
|
||
float: left;
|
||
}
|
||
|
||
div.excalidraw-svg-right,
|
||
div.excalidraw-svg-left {
|
||
display: table;
|
||
width: 100%;
|
||
}
|
||
|
||
button.ToolIcon_type_button[title="Export"] {
|
||
display:none;
|
||
}
|
||
|
||
.excalidraw-prompt-div {
|
||
display: flex;
|
||
max-width: 800px;
|
||
}
|
||
|
||
.excalidraw-prompt-form {
|
||
display: flex;
|
||
flex-grow: 1;
|
||
}
|
||
|
||
.excalidraw-prompt-input {
|
||
flex-grow: 1;
|
||
}
|
||
|
||
.excalidraw-prompt-button {
|
||
width: 9em;
|
||
}
|
||
|
||
.excalidraw-export-button {
|
||
width: 9em;
|
||
margin-left: 10px;
|
||
}
|
||
|
||
.excalidraw-prompt-buttons-div {
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: nowrap;
|
||
justify-content: space-evenly;
|
||
}
|
||
|
||
.excalidraw-export-buttons-div {
|
||
display: flex;
|
||
flex-direction: row;
|
||
flex-wrap: nowrap;
|
||
justify-content: right;
|
||
}
|
||
|
||
li[data-testid] {
|
||
border: 0 !important;
|
||
margin: 0 !important;
|
||
padding: 0 !important;
|
||
width: 100% !important;
|
||
}
|
||
|
||
.excalidraw .context-menu-option-separator {
|
||
margin: 4px !important;
|
||
}
|
||
|
||
.excalidraw .popover {
|
||
padding: 0 !important;
|
||
border-color: transparent !important;
|
||
border: 0 !important;
|
||
box-shadow: 0 !important;
|
||
background-color: transparent !important;
|
||
overflow-y: auto !important;
|
||
}
|
||
|
||
.excalidraw .popover {
|
||
position: fixed !important;
|
||
}
|
||
|
||
.disable-zen-mode--visible {
|
||
color: var(--text-primary-color);
|
||
}
|
||
|
||
.disable-zen-mode {
|
||
width: 9em !important;
|
||
}
|
||
|
||
.ex-coffee-div {
|
||
text-align: center;
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.excalidraw-scriptengine-install td>img {
|
||
width: 100%;
|
||
max-width:800px;
|
||
}
|
||
|
||
.excalidraw-scriptengine-install img.coffee {
|
||
width: 130px;
|
||
}
|
||
|
||
.excalidraw-scriptengine-install tr {
|
||
vertical-align: top;
|
||
}
|
||
|
||
.excalidraw-scriptengine-install table {
|
||
max-width: 130ch;
|
||
}
|
||
|
||
.excalidraw-scriptengine-install td.label {
|
||
min-width: 11ch;
|
||
font-weight: bold;
|
||
padding-right: 5px;
|
||
}
|
||
|
||
.excalidraw-scriptengine-install td.data {
|
||
width: 100%;
|
||
}
|
||
|
||
.excalidraw-scriptengine-install .modal-content {
|
||
max-width: 130ch;
|
||
user-select: text;
|
||
}
|
||
|
||
.excalidraw-scriptengine-install .modal {
|
||
max-height:90%;
|
||
width: auto;
|
||
}
|
||
|
||
.excalidraw-prompt-center {
|
||
text-align: center !important;
|
||
}
|
||
|
||
.excalidraw-prompt-center button {
|
||
margin: 0 10px;
|
||
}
|
||
|
||
.excalidraw-prompt-center.filepath {
|
||
text-align: center;
|
||
font-weight: bold;
|
||
margin-bottom: 2em;
|
||
}
|
||
|
||
.excalidraw-dirty {
|
||
color: red;
|
||
}
|
||
|
||
.workspace-leaf-content .excalidraw-view {
|
||
padding: 0px 1px; /*1px so on ipad swipe in from left and right still works*/
|
||
overflow: hidden;
|
||
}
|
||
|
||
.excalidraw-videoWrapper {
|
||
max-width:600px;
|
||
}
|
||
.excalidraw-videoWrapper.settings {
|
||
max-width:340px;
|
||
}
|
||
|
||
.excalidraw-videoWrapper div{
|
||
position: relative;
|
||
padding-bottom: 56.25%;
|
||
height: 0;
|
||
margin: 0 auto;
|
||
}
|
||
|
||
.excalidraw-videoWrapper.settings iframe {
|
||
position: relative;
|
||
margin-bottom: 1rem;
|
||
}
|
||
|
||
.excalidraw-videoWrapper iframe {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
|
||
.excalidraw-release .modal-content{
|
||
padding-right: 5px;
|
||
margin-right: -5px;
|
||
user-select: text;
|
||
}
|
||
|
||
.excalidraw-release .modal {
|
||
max-height: 80%;
|
||
max-width: 42em;
|
||
}
|
||
|
||
.excalidraw .Island .scrollbar {
|
||
--scrollbar-thumb-bg: silver;
|
||
}
|
||
|
||
.excalidraw .ToolIcon__icon img{
|
||
height: 1rem;
|
||
}
|
||
|
||
.excalidraw-scriptengine-install tbody>tr>td>div>img {
|
||
height:20px;
|
||
background-color: silver;
|
||
padding: 2px;
|
||
}
|
||
|
||
.excalidraw-scriptengine-install tbody>tr>td>div {
|
||
width: 50px;
|
||
display: inline-block;
|
||
}
|
||
|
||
.excalidraw-release p>a>img {
|
||
width: 100%
|
||
}
|
||
|
||
.excalidraw .context-menu-option {
|
||
box-shadow: none;
|
||
}
|
||
|
||
textarea.excalidraw-wysiwyg {
|
||
border: none;
|
||
outline: none;
|
||
-webkit-box-shadow: none;
|
||
-moz-box-shadow: none;
|
||
box-shadow: none;
|
||
border-radius: 0;
|
||
}
|
||
|
||
.is-tablet .excalidraw button,
|
||
.is-mobile .excalidraw button {
|
||
padding: initial;
|
||
height: 1.8rem;
|
||
}
|
||
|
||
.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;
|
||
}
|
||
|
||
.excalidraw .tray-zoom {
|
||
pointer-events: initial;
|
||
padding-bottom: 0.05rem;
|
||
padding-top: 0.05rem;
|
||
}
|
||
|
||
.excalidraw-container.theme--dark {
|
||
background-color: #121212;
|
||
color: #fff;
|
||
}
|
||
|
||
/* https://discordapp.com/channels/686053708261228577/989603365606531104/1041266507256184863 */
|
||
/*.workspace-leaf {
|
||
contain: none !important;
|
||
}*/
|
||
|
||
.color-picker-content {
|
||
overflow-y: auto;
|
||
max-height: 10rem;
|
||
}
|
||
|
||
.excalidraw .FixedSideContainer_side_top {
|
||
top: 0.3rem;
|
||
}
|
||
|
||
.excalidraw .ToolIcon__keybinding {
|
||
font-size: 0.45rem !important;
|
||
}
|
||
|
||
.Island > .Stack > .Stack {
|
||
padding:0.2rem;
|
||
}
|
||
|
||
label.color-input-container > input {
|
||
max-width: 5rem;
|
||
}
|
||
|
||
.excalidraw .FixedSideContainer_side_top {
|
||
left: 10px !important;
|
||
top: 10px !important;
|
||
right: 10px !important;
|
||
bottom: 10px !important;
|
||
}
|
||
|
||
.excalidraw-hidden {
|
||
display: none !important;
|
||
}
|
||
|
||
.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 button {
|
||
width: initial;
|
||
}
|
||
|
||
.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;
|
||
}
|
||
|
||
.excalidraw-settings input[type="text"] {
|
||
min-width: 10em;
|
||
}
|
||
|
||
div.excalidraw-draginfo {
|
||
position: absolute;
|
||
z-index: 1000;
|
||
color: var(--text-normal);
|
||
padding: 3px;
|
||
background: var(--color-base-40);
|
||
display: block;
|
||
border-radius: 5px;
|
||
}
|
||
|
||
.excalidraw [data-radix-popper-content-wrapper] {
|
||
/*Overrides position:fixed in popover*/
|
||
position: absolute !important;
|
||
}
|
||
|
||
/*Arrow Picker Popover Overflow*/
|
||
/*
|
||
.excalidraw .selected-shape-actions .Island.App-menu__left,
|
||
.excalidraw .selected-shape-actions .Island.App-menu__left .panelColumn,
|
||
.excalidraw .Island .App-mobile-menu,
|
||
.excalidraw .Island .App-mobile-menu .panelColumn {
|
||
overflow: visible;
|
||
}*/
|
||
|
||
.excalidraw__embeddable-container .view-header {
|
||
display: none !important;
|
||
}
|
||
|
||
.excalidraw__embeddable-container input {
|
||
background: initial;
|
||
}
|
||
|
||
.excalidraw .embeddable-menu {
|
||
width: fit-content;
|
||
height: fit-content;
|
||
position: absolute;
|
||
display: block;
|
||
z-index: var(--zIndex-layerUI);
|
||
}
|
||
|
||
.excalidraw .welcome-screen-center__logo svg {
|
||
width: 5rem !important;
|
||
}
|
||
|
||
.excalidraw-image-wrapper {
|
||
text-align: center;
|
||
}
|
||
|
||
.excalidraw-image-wrapper img {
|
||
margin: auto;
|
||
}
|
||
|
||
|
||
.modal-content.excalidraw-scriptengine-install .hit-count {
|
||
margin-left: 0.5em;
|
||
white-space: nowrap;
|
||
font-size: smaller;
|
||
}
|
||
|
||
.modal-content.excalidraw-scriptengine-install .active-highlight {
|
||
border: 2px solid var(--color-accent-2);
|
||
background-color: var(--color-accent);
|
||
}
|
||
|
||
.excalidraw-svg svg a {
|
||
text-decoration: none;
|
||
}
|
||
|
||
.excalidraw .Modal {
|
||
background-color: initial;
|
||
border: initial;
|
||
max-width: initial;
|
||
max-height: initial;
|
||
width: initial;
|
||
height: initial;
|
||
}
|
||
|
||
summary.excalidraw-setting-h1 {
|
||
font-variant: var(--h1-variant);
|
||
letter-spacing: -0.015em;
|
||
line-height: var(--h1-line-height);
|
||
font-size: var(--h1-size);
|
||
color: var(--h1-color);
|
||
font-weight: var(--h1-weight);
|
||
font-style: var(--h1-style);
|
||
font-family: var(--h1-font);
|
||
/*margin-block-start: var(--p-spacing);*/
|
||
margin-block-end: var(--p-spacing);
|
||
}
|
||
|
||
summary.excalidraw-setting-h3 {
|
||
font-variant: var(--h3-variant);
|
||
letter-spacing: -0.015em;
|
||
line-height: var(--h3-line-height);
|
||
font-size: var(--h3-size);
|
||
color: var(--h3-color);
|
||
font-weight: var(--h3-weight);
|
||
font-style: var(--h3-style);
|
||
font-family: var(--h3-font);
|
||
margin-block-start: var(--p-spacing);
|
||
margin-block-end: var(--p-spacing);
|
||
}
|
||
|
||
summary.excalidraw-setting-h4 {
|
||
font-variant: var(--h4-variant);
|
||
letter-spacing: -0.015em;
|
||
line-height: var(--h4-line-height);
|
||
font-size: var(--h4-size);
|
||
color: var(--h4-color);
|
||
font-weight: var(--h4-weight);
|
||
font-style: var(--h4-style);
|
||
font-family: var(--h4-font);
|
||
margin-block-start: var(--p-spacing);
|
||
margin-block-end: var(--p-spacing);
|
||
}
|
||
|
||
hr.excalidraw-setting-hr {
|
||
margin: 1rem 0rem 0rem 0rem;
|
||
}
|
||
|
||
.excalidraw-mdEmbed-hideFilename .mod-header {
|
||
display: none;
|
||
}
|
||
|
||
.excalidraw__embeddable-container .canvas-node:not(.is-editing).transparent {
|
||
::-webkit-scrollbar,
|
||
::-webkit-scrollbar-horizontal {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
/*
|
||
//https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/1456
|
||
.canvas-node:not(.is-editing):has(.excalidraw-canvas-immersive) {
|
||
::-webkit-scrollbar,
|
||
::-webkit-scrollbar-horizontal {
|
||
display: none;
|
||
}
|
||
background-color: transparent !important;
|
||
}
|
||
|
||
.canvas-node:not(.is-editing) .canvas-node-container:has(.excalidraw-canvas-immersive) {
|
||
border: unset;
|
||
box-shadow: unset;
|
||
}
|
||
*/
|
||
|
||
.excalidraw .canvas-node .ex-md-font-hand-drawn {
|
||
--font-text: "Virgil";
|
||
}
|
||
|
||
.excalidraw .canvas-node .ex-md-font-code {
|
||
--font-text: "Cascadia";
|
||
}
|
||
|
||
.excalidraw__embeddable-container .workspace-leaf,
|
||
.excalidraw__embeddable-container .workspace-leaf .view-content {
|
||
::-webkit-scrollbar,
|
||
::-webkit-scrollbar-horizontal {
|
||
display: none;
|
||
}
|
||
background-color: transparent !important;
|
||
}
|
||
|
||
.excalidraw__embeddable-container .workspace-leaf-content .view-content {
|
||
padding-left: 2px;
|
||
padding-right: 2px;
|
||
padding-top: 0px;
|
||
padding-bottom: 0px;
|
||
}
|
||
|
||
.excalidraw__embeddable-container .workspace-leaf .view-content {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.excalidraw__embeddable-container .workspace-leaf-content .image-container,
|
||
.excalidraw__embeddable-container .workspace-leaf-content .audio-container,
|
||
.excalidraw__embeddable-container .workspace-leaf-content .video-container {
|
||
display: flex;
|
||
}
|
||
|
||
.excalidraw__embeddable-container .canvas-node-container {
|
||
border: 2px solid var(--canvas-color);
|
||
}
|
||
|
||
.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__embeddable-container .canvas-node.is-selected.is-themed .canvas-node-container,
|
||
.excalidraw__embeddable-container .canvas-node.is-focused.is-themed .canvas-node-container {
|
||
border-color: var(--canvas-color);
|
||
}
|
||
|
||
img.excalidraw-cropped-pdfpage,
|
||
.excalidraw-cropped-pdfpage svg {
|
||
background-color: white;
|
||
}
|
||
|
||
.excalidraw .pdf-toolbar,
|
||
.excalidraw .pdf-container {
|
||
width: 100%;
|
||
}
|
||
|
||
.ex-opacity-30 {
|
||
opacity: 0.3;
|
||
}
|
||
|
||
.ex-opacity-15 {
|
||
opacity: 0.15;
|
||
}
|
||
|
||
.ex-opacity-8 {
|
||
opacity: 0.08;
|
||
}
|
||
|
||
.ex-opacity-5 {
|
||
opacity: 0.05;
|
||
}
|
||
|
||
.ex-opacity-0 {
|
||
opacity: 0;
|
||
}
|
||
|
||
.popover .excalidraw-svg {
|
||
width: 100%;
|
||
max-width: inherit;
|
||
height: 100%;
|
||
max-height: inherit;
|
||
}
|
||
|
||
root {
|
||
--excalidraw-caret-color: initial;
|
||
}
|
||
|
||
textarea.excalidraw-wysiwyg, .excalidraw input {
|
||
caret-color: var(--excalidraw-caret-color);
|
||
}
|
||
|
||
.excalidraw-settings-links-container {
|
||
align-items: center;
|
||
color: inherit;
|
||
display: flex;
|
||
gap: .3em;
|
||
text-align: center;
|
||
text-decoration: none;
|
||
flex-wrap: wrap;
|
||
justify-content: center;
|
||
flex-direction: row;
|
||
}
|
||
|
||
.excalidraw-settings-links-container a {
|
||
display: flex; /* Align children horizontally */
|
||
align-items: center; /* Center items vertically */
|
||
text-align: left;
|
||
margin-right: 4px;
|
||
margin-left: 4px;
|
||
}
|
||
|
||
.excalidraw-settings-links-container svg,
|
||
.ex-setting-actions-container svg {
|
||
margin-right: 8px;
|
||
height: 30px;
|
||
width: 30px;
|
||
}
|
||
|
||
.excalidraw-rank {
|
||
text-align: center;
|
||
margin-top: 0.5rem;
|
||
margin-bottom: 0.5rem;
|
||
}
|
||
|
||
.excalidraw-rank svg {
|
||
height: 8rem;
|
||
width: 8rem;
|
||
}
|
||
|
||
.excalidraw .color-picker-content input[type="color"] {
|
||
filter: var(--theme-filter);
|
||
}
|
||
|
||
.ExcTextField__input input::placeholder {
|
||
color: var(--select-highlight-color);
|
||
}
|
||
|
||
.excalidraw textarea::placeholder {
|
||
color: var(--color-gray-50);
|
||
}
|
||
|
||
.excalidraw textarea.ttd-dialog-input {
|
||
caret-color: var(--excalidraw-caret-color);
|
||
}
|
||
|
||
.excalidraw .ToolIcon_type_button {
|
||
color: var(--text-primary-color);
|
||
}
|
||
|
||
.excalidraw-setting-desc {
|
||
padding: 10px;
|
||
cursor: pointer;
|
||
background-color: var(--background-secondary);
|
||
border: 1px solid var(--background-modifier-border);
|
||
border-radius: 5px;
|
||
transition: background-color 0.3s ease, color 0.3s ease;
|
||
}
|
||
|
||
.excalidraw-setting-desc:hover {
|
||
background-color: var(--background-modifier-hover);
|
||
color: var(--text-accent);
|
||
}
|
||
|
||
.excalidraw-release .nav-buttons-container {
|
||
display: flex;
|
||
margin-bottom: 20px;
|
||
border-bottom: 2px solid var(--background-modifier-border);
|
||
}
|
||
|
||
.excalidraw-release .nav-button {
|
||
padding: 8px 16px;
|
||
border: none;
|
||
background: transparent;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.excalidraw-release .nav-button.is-active {
|
||
border-bottom: 2px solid var(--interactive-accent);
|
||
margin-bottom: -2px;
|
||
}
|
||
|
||
.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: fit-content;
|
||
}
|
||
|
||
.excalidraw-prompt-buttonbar-top,
|
||
.excalidraw-prompt-buttonbar-bottom {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: flex-start; /* keep both rows top‐aligned */
|
||
row-gap: 0.5em; /* vertical space when wrapped */
|
||
}
|
||
|
||
/* top bar specifics */
|
||
.excalidraw-prompt-buttonbar-top {
|
||
padding: 0.5em 0;
|
||
border-top: 1px solid var(--background-modifier-border);
|
||
}
|
||
|
||
/* bottom bar specifics */
|
||
.excalidraw-prompt-buttonbar-bottom {
|
||
margin-top: 1rem;
|
||
}
|
||
|
||
/* make each child a flex row */
|
||
.excalidraw-prompt-buttonbar-top > div,
|
||
.excalidraw-prompt-buttonbar-bottom > div {
|
||
display: flex;
|
||
}
|
||
|
||
/* push the first group to the left */
|
||
.excalidraw-prompt-buttonbar-top > div:first-child,
|
||
.excalidraw-prompt-buttonbar-bottom > div:first-child {
|
||
margin-right: auto;
|
||
}
|
||
|
||
/* push the second group to the right */
|
||
.excalidraw-prompt-buttonbar-top > div:last-child,
|
||
.excalidraw-prompt-buttonbar-bottom > div:last-child {
|
||
margin-left: auto;
|
||
}
|
||
|
||
.excalidraw-search.document-search-container {
|
||
display: flex;
|
||
flex-direction: column;
|
||
background: var(--background-secondary);
|
||
border-radius: 8px;
|
||
box-shadow: 0 1px 4px 0 rgba(0,0,0,0.10);
|
||
padding: 0.5em 0.8em;
|
||
margin-bottom: 2em;
|
||
min-width: 18rem;
|
||
position: sticky;
|
||
top: 1rem;
|
||
margin-right: 1rem;
|
||
margin-left: 1rem;
|
||
}
|
||
|
||
.excalidraw-search .document-search {
|
||
align-items: center;
|
||
max-width: none;
|
||
}
|
||
|
||
.excalidraw-search .search-input-container.document-search-input {
|
||
display: flex;
|
||
align-items: center;
|
||
flex: 1 1 auto;
|
||
background: var(--background-primary);
|
||
border-radius: 6px;
|
||
border: 1px solid var(--background-modifier-border);
|
||
min-width: 0;
|
||
}
|
||
|
||
.excalidraw-search .search-input-container .clickable-icon {
|
||
display: flex;
|
||
align-items: center;
|
||
color: var(--text-faint);
|
||
}
|
||
|
||
.excalidraw-search .search-input-container input[type="text"] {
|
||
background: transparent;
|
||
border: none;
|
||
outline: none;
|
||
color: var(--text-normal);
|
||
font-size: 1em;
|
||
flex: 1 1 auto;
|
||
padding: 0.1em 2em;
|
||
margin: 0;
|
||
}
|
||
|
||
.excalidraw-search .document-search-count {
|
||
margin-left: 0.5em;
|
||
color: var(--text-faint);
|
||
font-size: 0.95em;
|
||
white-space: nowrap;
|
||
min-width: 3.5em;
|
||
text-align: right;
|
||
}
|
||
|
||
.excalidraw-search .document-search-buttons {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 2px;
|
||
}
|
||
|
||
.excalidraw-search .document-search-button {
|
||
background: none;
|
||
border: none;
|
||
outline: none;
|
||
box-shadow: none;
|
||
padding: 0.1em 0.2em;
|
||
margin: 0 1px;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
color: var(--text-faint);
|
||
transition: background 0.15s;
|
||
height: 2em;
|
||
width: 2em;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.excalidraw-search .document-search-button:hover, .excalidraw-search .document-search-button:focus {
|
||
background: var(--background-modifier-hover);
|
||
color: var(--text-accent);
|
||
}
|
||
|
||
.excalidraw-search .document-search-button svg {
|
||
width: 1.3em;
|
||
height: 1.3em;
|
||
stroke: currentColor;
|
||
fill: none;
|
||
pointer-events: none;
|
||
}
|