style(mindmap): improve theme of node menu

This commit is contained in:
Elian Doran 2024-12-08 17:29:35 +02:00
parent d880771df6
commit 7f813f7c66
No known key found for this signature in database

View File

@ -23,7 +23,8 @@ const TPL = `
right: 20px; right: 20px;
bottom: 80px; bottom: 80px;
overflow: auto; overflow: auto;
background: #fff; background: var(--panel-bgcolor);
color: var(--main-color);
border-radius: 5px; border-radius: 5px;
box-shadow: 0 1px 2px #0003; box-shadow: 0 1px 2px #0003;
width: 240px; width: 240px;
@ -33,7 +34,7 @@ const TPL = `
} }
.mind-elixir .node-menu.close { .mind-elixir .node-menu.close {
height: 30px; height: 29px;
width: 46px; width: 46px;
overflow: hidden overflow: hidden
} }
@ -71,13 +72,14 @@ const TPL = `
.mind-elixir .node-menu input, .mind-elixir .node-menu input,
.mind-elixir .node-menu textarea { .mind-elixir .node-menu textarea {
background: #f7f9fa; background: var(--input-background-color);
border: 1px solid #dce2e6; border: 1px solid var(--panel-border-color);
border-radius: 3px; border-radius: var(--bs-border-radius);
color: var(--main-color);
padding: 5px; padding: 5px;
margin: 10px 0; margin: 10px 0;
width: 100%; width: 100%;
box-sizing: border-box box-sizing: border-box;
} }
.mind-elixir .node-menu textarea { .mind-elixir .node-menu textarea {