Small design changes, introducing CSS colorization, doubleclick to edit markdown

This commit is contained in:
Magnus Åhall 2026-05-30 09:28:36 +02:00
parent 43212a4487
commit 5bd5ef1f02
9 changed files with 455 additions and 100 deletions

View file

@ -52,51 +52,51 @@ html {
#tree {
grid-area: tree;
display: grid;
background-color: #fafafa;
background-color: #ffffff;
color: #444;
z-index: 100;
border-right: 1px solid #ddd;
n2-tree {
/*border: 2px solid #f8f8f8;*/
padding: 16px 48px 16px 24px;
}
&:focus-within {
n2-tree {
/*
border: 2px solid #fe5f55;
*/
}
}
border-right: 2px solid #ddd;
#logo {
display: grid;
position: relative;
justify-items: center;
margin-top: 8px;
margin-bottom: 8px;
margin-left: 24px;
margin-right: 24px;
grid-template-columns: min-content 1fr min-content;
align-items: center;
justify-items: start;
cursor: pointer;
padding: 16px;
border-bottom: 1px solid #ccc;
img {
width: 128px;
left: -20px;
.el-search {
justify-self: end;
}
img:first-child {
height: 24px;
margin-right: 8px;
}
}
.icons {
display: flex;
justify-content: center;
margin-bottom: 32px;
margin: 16px 0px 32px 0px;
gap: 8px;
}
n2-tree {
.el-treenodes {
margin: 32px;
}
}
&:focus-within {
n2-tree {
}
}
.node {
display: grid;
grid-template-columns: 40px min-content;
@ -145,16 +145,6 @@ html {
}
}
#tree-nodes {
padding: 16px 32px;
/*
border-radius: 8px;
*/
/*
box-shadow: 5px 5px 10px -5px rgba(0, 0, 0, 0.75);
*/
}
#crumbs {
grid-area: crumbs;
display: grid;