2019-07-01 20:27:51 +00:00
|
|
|
.dark {
|
2019-06-21 19:11:37 +00:00
|
|
|
--focus: #ff0000;
|
2019-07-01 20:27:51 +00:00
|
|
|
--nonfocus: #000000;
|
|
|
|
|
--node: #091d2a;
|
|
|
|
|
--group: #092a17;
|
|
|
|
|
--link: #331400;
|
2019-06-21 19:11:37 +00:00
|
|
|
--text: #ffffff;
|
2019-07-01 20:27:51 +00:00
|
|
|
--placeholder: rgba(255,255,255,0.2);
|
|
|
|
|
--outline: #323434;
|
|
|
|
|
--background: #000000;
|
|
|
|
|
--input: rgba(255,255,255,0.2);
|
2019-06-21 19:11:37 +00:00
|
|
|
}
|
|
|
|
|
|
2019-06-26 18:18:21 +00:00
|
|
|
:root {
|
2019-07-01 20:27:51 +00:00
|
|
|
--editor-width: 305px;
|
2019-06-26 18:18:21 +00:00
|
|
|
}
|
|
|
|
|
|
2019-05-25 00:03:19 +00:00
|
|
|
body {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
margin: 0;
|
2019-06-21 20:26:41 +00:00
|
|
|
}
|
2019-05-25 00:03:19 +00:00
|
|
|
|
2019-06-21 20:26:41 +00:00
|
|
|
.architype {
|
2019-07-01 20:27:51 +00:00
|
|
|
box-sizing: border-box;
|
2019-06-21 20:26:41 +00:00
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2019-07-01 20:27:51 +00:00
|
|
|
background: var(--background);
|
|
|
|
|
color: var(--text);
|
2019-05-25 00:03:19 +00:00
|
|
|
font-family: 'Courier', monospace;
|
2019-07-01 20:53:20 +00:00
|
|
|
font-size: 16px;
|
2019-06-26 18:18:21 +00:00
|
|
|
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template:
|
|
|
|
|
[row1-start] "editor grid" 100% [row1-end]
|
|
|
|
|
/ var(--editor-width) auto;
|
2019-05-25 00:03:19 +00:00
|
|
|
}
|
|
|
|
|
|
2019-06-21 18:15:44 +00:00
|
|
|
.editor {
|
2019-05-25 00:03:19 +00:00
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
2019-07-01 20:27:51 +00:00
|
|
|
outline: 1px solid var(--outline);
|
2019-06-26 04:25:49 +00:00
|
|
|
|
2019-05-25 00:03:19 +00:00
|
|
|
height: 100%;
|
2019-06-26 18:18:21 +00:00
|
|
|
width: 100%;
|
2019-05-25 00:03:19 +00:00
|
|
|
|
|
|
|
|
overflow-y: scroll;
|
2019-07-04 07:02:05 +00:00
|
|
|
|
|
|
|
|
user-select: none;
|
2019-05-25 00:03:19 +00:00
|
|
|
}
|
|
|
|
|
|
2019-06-21 18:15:44 +00:00
|
|
|
.editor:focus {
|
|
|
|
|
outline: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.editor li {
|
2019-05-25 00:03:19 +00:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
2019-06-20 21:26:31 +00:00
|
|
|
justify-content: flex-start;
|
|
|
|
|
flex-wrap: wrap;
|
2019-05-25 00:03:19 +00:00
|
|
|
white-space: pre;
|
|
|
|
|
|
2019-06-26 04:25:49 +00:00
|
|
|
padding: 1px;
|
2019-07-01 20:27:51 +00:00
|
|
|
padding-left: 4px;
|
|
|
|
|
border-left: 10px solid var(--nonfocus);
|
|
|
|
|
outline: 1px solid var(--outline);
|
2019-06-20 23:35:13 +00:00
|
|
|
|
|
|
|
|
cursor: default;
|
2019-05-25 00:03:19 +00:00
|
|
|
}
|
|
|
|
|
|
2019-06-21 18:15:44 +00:00
|
|
|
.editor li.node {
|
2019-06-21 19:11:37 +00:00
|
|
|
background-color: var(--node);
|
2019-05-25 00:03:19 +00:00
|
|
|
}
|
|
|
|
|
|
2019-06-21 18:15:44 +00:00
|
|
|
.editor li.group {
|
2019-06-21 19:11:37 +00:00
|
|
|
background-color: var(--group);
|
2019-05-26 02:53:55 +00:00
|
|
|
}
|
|
|
|
|
|
2019-06-21 19:11:37 +00:00
|
|
|
.editor li.link {
|
|
|
|
|
background-color: var(--link);
|
|
|
|
|
}
|
2019-06-21 18:15:44 +00:00
|
|
|
.editor li:focus {
|
2019-07-01 20:27:51 +00:00
|
|
|
border-left: 10px solid var(--focus) !important;
|
2019-05-25 00:03:19 +00:00
|
|
|
}
|
|
|
|
|
|
2019-06-21 18:15:44 +00:00
|
|
|
.editor li input {
|
2019-07-01 20:27:51 +00:00
|
|
|
background-color: var(--input);
|
|
|
|
|
border: none;
|
|
|
|
|
padding: 2px;
|
|
|
|
|
padding-top: 3px;
|
|
|
|
|
padding-left: 3px;
|
|
|
|
|
margin: 2px;
|
|
|
|
|
margin-left: 5px;
|
2019-05-25 04:44:11 +00:00
|
|
|
font-family: 'Courier', monospace;
|
2019-06-21 19:11:37 +00:00
|
|
|
color: var(--text);
|
2019-07-01 20:27:51 +00:00
|
|
|
width: 209px;
|
2019-06-21 19:11:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.editor li input::-webkit-input-placeholder {
|
2019-06-21 20:15:18 +00:00
|
|
|
color: var(--placeholder);
|
2019-05-25 00:03:19 +00:00
|
|
|
}
|
2019-05-27 03:13:11 +00:00
|
|
|
|
2019-06-21 18:15:44 +00:00
|
|
|
.editor li input:focus {
|
2019-07-01 20:27:51 +00:00
|
|
|
border: var(--focus);
|
2019-05-27 03:13:11 +00:00
|
|
|
outline: none;
|
|
|
|
|
}
|
2019-06-20 21:26:31 +00:00
|
|
|
|
2019-06-21 18:15:44 +00:00
|
|
|
.editor .editor {
|
2019-07-01 20:27:51 +00:00
|
|
|
margin: 3px;
|
2019-06-20 23:35:13 +00:00
|
|
|
}
|
2019-06-26 18:18:21 +00:00
|
|
|
|
|
|
|
|
.grid {
|
2019-07-01 20:53:20 +00:00
|
|
|
width: calc(100% - 20px);
|
|
|
|
|
height: calc(100% - 20px);
|
2019-06-26 18:18:21 +00:00
|
|
|
display: grid;
|
2019-07-01 20:53:20 +00:00
|
|
|
align-items: center;
|
|
|
|
|
justify-items: center;
|
2019-07-01 21:25:38 +00:00
|
|
|
align-content: center;
|
|
|
|
|
justify-content: center;
|
2019-07-01 20:53:20 +00:00
|
|
|
margin: 10px;
|
2019-06-26 18:18:21 +00:00
|
|
|
}
|
2019-06-26 18:27:52 +00:00
|
|
|
|
2019-07-05 04:09:24 +00:00
|
|
|
.gridNode, .gridGroup, .gridGroupLabel {
|
2019-06-26 18:27:52 +00:00
|
|
|
display: flex;
|
2019-07-05 04:09:24 +00:00
|
|
|
flex-direction: column;
|
2019-06-26 18:27:52 +00:00
|
|
|
align-items: center;
|
2019-07-01 20:57:22 +00:00
|
|
|
text-align: center;
|
2019-07-01 20:53:20 +00:00
|
|
|
|
2019-07-05 04:09:24 +00:00
|
|
|
font-size: 20px;
|
2019-07-01 20:53:20 +00:00
|
|
|
border-radius: 10px;
|
2019-07-05 04:09:24 +00:00
|
|
|
overflow-wrap: anywhere;
|
2019-07-01 20:53:20 +00:00
|
|
|
overflow: hidden;
|
2019-07-05 04:09:24 +00:00
|
|
|
cursor: default;
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
2019-07-02 07:05:22 +00:00
|
|
|
|
2019-07-05 04:09:24 +00:00
|
|
|
.gridNode {
|
|
|
|
|
width: calc(100% - 24px);
|
|
|
|
|
height: calc(100% - 24px);
|
2019-07-04 06:15:39 +00:00
|
|
|
background: var(--background);
|
2019-07-05 04:09:24 +00:00
|
|
|
justify-content: center;
|
|
|
|
|
padding: 3px;
|
|
|
|
|
border: 1px solid white;
|
2019-07-04 06:15:39 +00:00
|
|
|
z-index: 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.gridGroup {
|
2019-07-04 06:48:43 +00:00
|
|
|
width: calc(100% - 10px);
|
|
|
|
|
height: calc(100% - 30px);
|
2019-07-05 04:09:24 +00:00
|
|
|
background: var(--background);
|
2019-07-04 06:15:39 +00:00
|
|
|
justify-content: flex-start;
|
|
|
|
|
margin-top: 20px;
|
2019-07-04 06:42:05 +00:00
|
|
|
padding: 5px;
|
2019-07-04 06:15:39 +00:00
|
|
|
border: 1px dashed white;
|
2019-07-02 07:05:22 +00:00
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-04 06:15:39 +00:00
|
|
|
.gridGroup:empty {
|
2019-07-04 06:48:43 +00:00
|
|
|
height: calc(100% - 10px);
|
2019-07-04 06:15:39 +00:00
|
|
|
margin-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-05 04:09:24 +00:00
|
|
|
.gridGroupLabel {
|
|
|
|
|
width: calc(100% - 10px);
|
|
|
|
|
height: 100%;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
padding-top: 3px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
}
|
|
|
|
|
|
2019-07-02 07:05:22 +00:00
|
|
|
.gridLines {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
2019-07-04 05:46:00 +00:00
|
|
|
--line-color: white;
|
2019-07-04 04:40:46 +00:00
|
|
|
}
|