Compare commits
3 commits
e71516fd76
...
86fcbbb68f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86fcbbb68f | ||
|
|
d1c3b9e963 | ||
|
|
dbd3872f0f |
3 changed files with 17 additions and 6 deletions
|
|
@ -13,6 +13,8 @@
|
||||||
|
|
||||||
--menu-color: #fff;
|
--menu-color: #fff;
|
||||||
--menu-item-hover-color: #f4f4f4;
|
--menu-item-hover-color: #f4f4f4;
|
||||||
|
|
||||||
|
--font-monospace: "Liberation Mono", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
|
@ -23,6 +25,10 @@ html {
|
||||||
filter: var(--colorize);
|
filter: var(--colorize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
font-family: var(--font-monospace);
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
|
|
@ -441,7 +447,6 @@ n2-nodeui {
|
||||||
grid-area: content;
|
grid-area: content;
|
||||||
justify-self: center;
|
justify-self: center;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
font-family: monospace;
|
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
color: #333;
|
color: #333;
|
||||||
|
|
||||||
|
|
@ -465,6 +470,10 @@ n2-nodeui {
|
||||||
grid-area: content;
|
grid-area: content;
|
||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
|
font-family: var(--font-monospace);
|
||||||
|
font-size: 1em;
|
||||||
|
font-weight: 400;
|
||||||
|
|
||||||
border-top: 1px solid #e0e0e0;
|
border-top: 1px solid #e0e0e0;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
|
|
|
||||||
|
|
@ -481,7 +481,9 @@ export class N2TreeNode extends CustomHTMLElement {
|
||||||
this.tmpl.innerHTML = `
|
this.tmpl.innerHTML = `
|
||||||
<style>
|
<style>
|
||||||
n2-sidebar:focus-within {
|
n2-sidebar:focus-within {
|
||||||
& > .el-name {
|
n2-specialnodedeleted > .el-name,
|
||||||
|
n2-specialnodeorphaned > .el-name,
|
||||||
|
n2-treenode > .el-name {
|
||||||
&.selected {
|
&.selected {
|
||||||
span {
|
span {
|
||||||
position:relative;
|
position:relative;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,12 @@
|
||||||
{{ define "page" }}
|
{{ define "page" }}
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/{{ .VERSION }}/notes2.css">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/{{ .VERSION }}/page_history.css">
|
||||||
|
|
||||||
|
|
||||||
<!-- Drag and drop elements -->
|
<!-- Drag and drop elements -->
|
||||||
|
|
||||||
<!-- page-node -->
|
<!-- page-node -->
|
||||||
<div id="notes2" class="page-history">
|
<div id="notes2" class="page-node">
|
||||||
<div id="tree-expander" onclick="window._mbus.dispatch('TREE_EXPANSION', { expand: true })">></div>
|
<div id="tree-expander" onclick="window._mbus.dispatch('TREE_EXPANSION', { expand: true })">></div>
|
||||||
<div id="tree" tabindex=0></div>
|
<div id="tree" tabindex=0></div>
|
||||||
|
|
||||||
|
|
@ -37,9 +40,6 @@
|
||||||
<n2-syncprogress></n2-syncprogress>
|
<n2-syncprogress></n2-syncprogress>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="/css/{{ .VERSION }}/notes2.css">
|
|
||||||
<link rel="stylesheet" type="text/css" href="/css/{{ .VERSION }}/page_history.css">
|
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import {NodeStore} from '/js/{{ .VERSION }}/node_store.mjs'
|
import {NodeStore} from '/js/{{ .VERSION }}/node_store.mjs'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue