Files
obsidian-excalidraw-plugin/styles.css

339 lines
5.8 KiB
CSS
Raw Normal View History

2021-04-17 22:27:26 +02:00
.App {
font-family: sans-serif;
text-align: center;
}
2021-04-18 22:19:16 +02:00
2021-04-17 22:27:26 +02:00
.excalidraw-wrapper {
2021-04-18 22:19:16 +02:00
height: 100%;
margin: 0px;
2021-04-20 20:41:07 +02:00
background-color: white;
2021-04-17 22:27:26 +02:00
}
2021-04-18 22:19:16 +02:00
.context-menu-option__shortcut {
background-color: transparent !important;
2021-04-20 20:41:07 +02:00
}
.block-language-excalidraw {
text-align:center;
2021-04-26 23:02:22 +02:00
}
.excalidraw .github-corner {
display: none;
}
2021-05-20 10:43:38 +02:00
img.excalidraw-svg-right-wrap {
2021-04-29 07:26:58 +02:00
float: right;
margin: 0px 0px 20px 20px;
}
2021-05-20 10:43:38 +02:00
img.excalidraw-svg-left-wrap {
2021-04-27 23:10:29 +02:00
float: left;
2021-04-29 07:26:58 +02:00
margin: 0px 35px 20px 0px;
2021-04-26 23:02:22 +02:00
}
2021-04-27 23:10:29 +02:00
2021-05-20 10:43:38 +02:00
img.excalidraw-svg-right {
float: right;
}
2022-01-07 19:34:24 +01:00
.excalidraw-svg-center {
text-align: center;
}
2021-05-20 10:43:38 +02:00
img.excalidraw-svg-left {
float: left;
2021-04-29 07:26:58 +02:00
}
2021-05-20 10:43:38 +02:00
div.excalidraw-svg-right,
2021-04-29 07:26:58 +02:00
div.excalidraw-svg-left {
2021-05-20 10:43:38 +02:00
display: table;
width: 100%;
}
button.ToolIcon_type_button[title="Export"] {
display:none;
2021-05-18 23:39:50 +02:00
}
2021-06-20 19:53:15 +02:00
.excalidraw-prompt-div {
display: flex;
2021-11-01 10:27:58 +01:00
max-width: 800px;
2021-06-20 19:53:15 +02:00
}
.excalidraw-prompt-form {
display: flex;
flex-grow: 1;
}
.excalidraw-prompt-input {
flex-grow: 1;
}
2023-01-15 16:49:28 +01:00
.excalidraw-prompt-button {
width: 9em;
}
.excalidraw-prompt-buttons-div {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-evenly;
}
2021-07-14 21:26:47 +02:00
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;
}
2021-08-05 21:47:44 +02:00
.disable-zen-mode--visible {
color: var(--text-primary-color);
}
.disable-zen-mode {
width: 9em !important;
}
2021-09-01 22:20:07 +02:00
.ex-coffee-div {
text-align: center;
2022-11-01 11:42:39 +01:00
margin-bottom: 10px;
2021-09-01 22:20:07 +02:00
}
2022-01-02 15:59:14 +01:00
2022-01-02 18:31:57 +01:00
.excalidraw-scriptengine-install td>img {
2022-01-02 15:59:14 +01:00
width: 100%;
max-width:800px;
}
2022-01-02 18:31:57 +01:00
.excalidraw-scriptengine-install img.coffee {
width: 130px;
}
2022-01-02 15:59:14 +01:00
.excalidraw-scriptengine-install tr {
vertical-align: top;
}
2022-01-02 18:20:53 +01:00
.excalidraw-scriptengine-install table {
max-width: 130ch;
}
.excalidraw-scriptengine-install td.label {
min-width: 11ch;
2022-01-02 16:09:12 +01:00
font-weight: bold;
2022-01-02 18:31:57 +01:00
padding-right: 5px;
2022-01-02 16:09:12 +01:00
}
2022-01-02 18:20:53 +01:00
.excalidraw-scriptengine-install td.data {
2022-01-02 16:09:12 +01:00
width: 100%;
2022-01-02 18:31:57 +01:00
}
2022-08-14 21:17:45 +02:00
.excalidraw-scriptengine-install .modal-content {
2022-01-02 18:31:57 +01:00
max-width: 130ch;
2022-01-22 18:48:04 +01:00
user-select: text;
2022-01-02 18:31:57 +01:00
}
2022-01-02 19:00:50 +01:00
.excalidraw-scriptengine-install .modal {
max-height:90%;
2022-08-14 21:17:45 +02:00
width: auto;
2022-02-01 21:56:19 +01:00
}
.excalidraw-prompt-center {
2022-08-19 21:01:11 +02:00
text-align: center !important;
}
.excalidraw-prompt-center button {
margin: 0 10px;
2022-02-01 21:56:19 +01:00
}
.excalidraw-prompt-center.filepath {
text-align: center;
font-weight: bold;
margin-bottom: 2em;
2022-02-19 00:00:52 +01:00
}
.excalidraw-dirty {
color: red;
2022-02-19 18:16:00 +01:00
}
.workspace-leaf-content .excalidraw-view {
padding: 0px 1px; /*1px so on ipad swipe in from left and right still works*/
2023-02-12 15:41:18 +01:00
overflow: hidden;
2022-02-21 21:39:26 +01:00
}
.excalidraw-videoWrapper {
max-width:600px
}
.excalidraw-videoWrapper div {
2022-02-21 21:39:26 +01:00
position: relative;
padding-bottom: 56.25%;
height: 0;
margin: 0 auto;
2022-02-21 21:39:26 +01:00
}
.excalidraw-videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
2022-02-21 21:39:26 +01:00
}
2022-08-14 21:17:45 +02:00
.excalidraw-release .modal-content{
2022-02-21 21:39:26 +01:00
padding-right: 5px;
margin-right: -5px;
user-select: text;
}
.excalidraw-release .modal {
2022-11-01 11:42:39 +01:00
max-height: 80%;
2023-01-15 16:49:28 +01:00
max-width: 42em;
2022-02-26 22:28:03 +01:00
}
.excalidraw .Island .scrollbar {
--scrollbar-thumb-bg: silver;
}
.excalidraw .ToolIcon__icon img{
height: 1em;
}
.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;
}
2022-02-27 20:56:13 +01:00
.excalidraw-release p>a>img {
width: 100%
2022-08-20 20:48:28 +02:00
}
.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;
2022-10-16 20:22:20 +02:00
}
2022-11-13 20:31:57 +01:00
.is-tablet .excalidraw button,
.is-mobile .excalidraw button {
2022-10-16 20:22:20 +02:00
padding: initial;
2022-11-13 20:31:57 +01:00
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 {
2022-11-18 18:23:32 +01:00
font-size: 0.45rem !important;
2022-11-13 20:31:57 +01:00
}
.Island > .Stack > .Stack {
padding:0.2rem;
}
label.color-input-container > input {
2023-01-28 23:23:04 +01:00
max-width: 5rem;
2022-11-13 20:31:57 +01:00
}
.excalidraw .FixedSideContainer_side_top {
left: 10px !important;
top: 10px !important;
right: 10px !important;
bottom: 10px !important;
2022-11-19 18:51:37 +01:00
}
.excalidraw-hidden {
display: none !important;
2023-01-15 16:49:28 +01:00
}
.excalidraw .panelColumn .buttonList {
max-width: 13rem;
}
.excalidraw button {
width: initial;
2023-01-29 13:29:41 +01:00
}
.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;
2023-02-12 15:41:18 +01:00
}
.excalidraw-settings input {
min-width: 10em;
2023-02-19 20:58:04 +01:00
}
div.excalidraw-draginfo {
position: absolute;
z-index: 1000;
color: var(--text-normal);
padding: 3px;
background: var(--color-base-40);
display: block;
border-radius: 5px;
2022-02-27 20:56:13 +01:00
}