Design change.
This commit is contained in:
parent
068e21c962
commit
21d93f0188
5 changed files with 124 additions and 160 deletions
|
|
@ -52,18 +52,22 @@ html {
|
|||
#tree {
|
||||
grid-area: tree;
|
||||
display: grid;
|
||||
padding: 16px 0px 16px 16px;
|
||||
color: #ddd;
|
||||
background-color: #fafafa;
|
||||
color: #444;
|
||||
z-index: 100;
|
||||
border-left: 2px solid #333;
|
||||
|
||||
border-right: 1px solid #ddd;
|
||||
|
||||
n2-tree {
|
||||
border: 2px solid #333;
|
||||
/*border: 2px solid #f8f8f8;*/
|
||||
padding: 16px 48px 16px 24px;
|
||||
}
|
||||
|
||||
&:focus-within {
|
||||
n2-tree {
|
||||
/*
|
||||
border: 2px solid #fe5f55;
|
||||
*/
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -95,18 +99,20 @@ html {
|
|||
|
||||
.node {
|
||||
display: grid;
|
||||
grid-template-columns: 24px min-content;
|
||||
grid-template-columns: 40px min-content;
|
||||
grid-template-rows:
|
||||
min-content 1fr;
|
||||
margin-top: 12px;
|
||||
|
||||
align-items: center;
|
||||
|
||||
.expand-toggle {
|
||||
user-select: none;
|
||||
cursor: pointer;
|
||||
justify-self: center;
|
||||
|
||||
img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
width: auto;
|
||||
height: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -128,8 +134,8 @@ html {
|
|||
|
||||
.children {
|
||||
padding-left: 24px;
|
||||
margin-left: 8px;
|
||||
border-left: 1px solid #444;
|
||||
margin-left: 18px;
|
||||
border-left: 1px solid #ddd;
|
||||
grid-column: 1 / -1;
|
||||
|
||||
&.collapsed {
|
||||
|
|
@ -141,9 +147,12 @@ html {
|
|||
|
||||
#tree-nodes {
|
||||
padding: 16px 32px;
|
||||
background-color: #333;
|
||||
/*
|
||||
border-radius: 8px;
|
||||
*/
|
||||
/*
|
||||
box-shadow: 5px 5px 10px -5px rgba(0, 0, 0, 0.75);
|
||||
*/
|
||||
}
|
||||
|
||||
#crumbs {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue