wip
This commit is contained in:
parent
c255b58335
commit
1812873e33
10 changed files with 342 additions and 61 deletions
|
|
@ -11,7 +11,7 @@
|
|||
border-bottom: 1px solid #fff;
|
||||
font-size: 18pt;
|
||||
color: #fff;
|
||||
background-color: #494949;
|
||||
background-color: #fff;
|
||||
}
|
||||
#login input:focus {
|
||||
outline: none;
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
#login button {
|
||||
max-width: 300px;
|
||||
border: 1px solid #666;
|
||||
background: #494949;
|
||||
background: #fff;
|
||||
color: #fff;
|
||||
padding: 16px 32px;
|
||||
font-size: 0.8em;
|
||||
|
|
|
|||
|
|
@ -1,34 +1,68 @@
|
|||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
*,
|
||||
*:before,
|
||||
*:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
[onClick] {
|
||||
cursor: pointer;
|
||||
}
|
||||
html,
|
||||
body {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-family: 'Liberation Mono', monospace;
|
||||
font-size: 14pt;
|
||||
background-color: #494949;
|
||||
background-color: #fff;
|
||||
}
|
||||
h1 {
|
||||
color: #ecbf00;
|
||||
}
|
||||
#app {
|
||||
display: grid;
|
||||
color: #fff;
|
||||
}
|
||||
header {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr min-content;
|
||||
align-items: center;
|
||||
background: #ecbf00;
|
||||
padding: 0px;
|
||||
color: #3a2f00;
|
||||
}
|
||||
header.modified {
|
||||
background: #c84a37;
|
||||
color: #faedeb;
|
||||
}
|
||||
header .name {
|
||||
font-weight: bold;
|
||||
padding-left: 16px;
|
||||
}
|
||||
header .add {
|
||||
font-size: 2em;
|
||||
padding-right: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.crumbs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding: 8px 16px;
|
||||
background: #ecbf00;
|
||||
color: #000;
|
||||
box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.4);
|
||||
padding: 16px;
|
||||
background: #333;
|
||||
color: #fff;
|
||||
}
|
||||
.crumbs .crumb {
|
||||
margin-right: 8px;
|
||||
font-size: 0.8em;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.crumbs .crumb:after {
|
||||
content: ">";
|
||||
content: "•";
|
||||
margin-left: 8px;
|
||||
color: #a08100;
|
||||
color: #ecbf00;
|
||||
}
|
||||
.crumbs .crumb:last-child {
|
||||
margin-right: 0;
|
||||
|
|
@ -41,22 +75,41 @@ h1 {
|
|||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding: 16px 16px 0px 16px;
|
||||
background-color: #3c3c3c;
|
||||
box-shadow: 0px 0px 16px -4px rgba(0, 0, 0, 0.55) inset;
|
||||
background-color: #505050;
|
||||
}
|
||||
.child-nodes .child-node {
|
||||
padding: 8px;
|
||||
border-radius: 8px;
|
||||
background-color: #292929;
|
||||
margin-right: 16px;
|
||||
background-color: #2f2f2f;
|
||||
margin-right: 12px;
|
||||
margin-bottom: 16px;
|
||||
white-space: nowrap;
|
||||
font-size: 0.8em;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.node-name {
|
||||
padding: 16px;
|
||||
padding: 32px;
|
||||
background: #fff;
|
||||
color: #000;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
.node-content {
|
||||
padding: 32px;
|
||||
justify-self: center;
|
||||
padding: 0px 32px 32px 32px;
|
||||
white-space: pre-wrap;
|
||||
font-size: 0.85em;
|
||||
color: #333;
|
||||
width: 100ex;
|
||||
}
|
||||
.node-content[contenteditable] {
|
||||
outline: 0px solid transparent;
|
||||
}
|
||||
@media only screen and (max-width: 100ex) {
|
||||
.node-content {
|
||||
width: initial;
|
||||
justify-self: start;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue