2023-07-18 07:09:03 +02:00
|
|
|
/*
|
|
|
|
@theme_gradient: linear-gradient(to right, #009fff, #ec2f4b);
|
|
|
|
@theme_gradient: linear-gradient(to right, #f5af19, #f12711);
|
|
|
|
@theme_gradient: linear-gradient(to right, #fdc830, #f37335);
|
|
|
|
@theme_gradient: linear-gradient(to right, #8a2387, #e94057, #f27121);
|
|
|
|
@theme_gradient: linear-gradient(to right, #659999, #f4791f);
|
|
|
|
*/
|
2023-06-18 20:13:35 +02:00
|
|
|
html {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
*,
|
|
|
|
*:before,
|
|
|
|
*:after {
|
|
|
|
box-sizing: inherit;
|
|
|
|
}
|
2024-04-18 07:47:35 +02:00
|
|
|
*,
|
|
|
|
*:focus,
|
|
|
|
*:hover {
|
|
|
|
outline: none;
|
|
|
|
}
|
2023-06-18 20:13:35 +02:00
|
|
|
[onClick] {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2024-01-13 10:46:52 +01:00
|
|
|
label {
|
|
|
|
user-select: none;
|
|
|
|
}
|
2023-06-15 07:24:23 +02:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
font-family: 'Liberation Mono', monospace;
|
2023-07-04 09:01:52 +02:00
|
|
|
font-size: 11pt;
|
2023-06-18 20:13:35 +02:00
|
|
|
background-color: #fff;
|
2023-06-27 14:44:36 +02:00
|
|
|
height: 100%;
|
2023-06-15 07:24:23 +02:00
|
|
|
}
|
|
|
|
h1 {
|
2024-03-30 22:24:20 +01:00
|
|
|
font-size: 1.25em;
|
2024-01-10 23:19:40 +01:00
|
|
|
color: #518048;
|
2024-03-30 22:24:20 +01:00
|
|
|
border-bottom: 1px solid #ccc;
|
2023-06-27 14:44:36 +02:00
|
|
|
}
|
2023-07-04 09:01:52 +02:00
|
|
|
h2 {
|
2024-03-30 22:24:20 +01:00
|
|
|
font-size: 1em;
|
2024-01-10 23:19:40 +01:00
|
|
|
color: #518048;
|
2023-07-04 09:01:52 +02:00
|
|
|
}
|
2024-03-30 22:24:20 +01:00
|
|
|
h3 {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2023-07-04 09:01:52 +02:00
|
|
|
button {
|
|
|
|
font-size: 1em;
|
2023-07-12 22:35:38 +02:00
|
|
|
padding: 6px;
|
2023-07-04 09:01:52 +02:00
|
|
|
}
|
2023-06-21 23:52:21 +02:00
|
|
|
#blackout {
|
2023-06-18 22:05:10 +02:00
|
|
|
position: absolute;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
z-index: 1024;
|
|
|
|
background: rgba(0, 0, 0, 0.35);
|
|
|
|
}
|
|
|
|
#menu {
|
|
|
|
position: absolute;
|
|
|
|
top: 24px;
|
|
|
|
right: 24px;
|
|
|
|
background: #fff;
|
|
|
|
color: #000;
|
|
|
|
border: 2px solid #000;
|
|
|
|
box-shadow: 5px 5px 8px 0px rgba(0, 0, 0, 0.5);
|
|
|
|
z-index: 1025;
|
2023-07-20 10:07:47 +02:00
|
|
|
width: min-content;
|
|
|
|
}
|
|
|
|
#menu .section {
|
|
|
|
padding: 16px 16px 0px 16px;
|
|
|
|
font-weight: bold;
|
|
|
|
white-space: nowrap;
|
|
|
|
color: #c84a37;
|
2023-06-18 22:05:10 +02:00
|
|
|
}
|
|
|
|
#menu .item {
|
|
|
|
padding: 16px;
|
|
|
|
border-bottom: 1px solid #aaa;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
}
|
2023-06-20 08:13:32 +02:00
|
|
|
#menu .item.separator {
|
2023-06-21 23:52:21 +02:00
|
|
|
border-bottom: 2px solid #000;
|
2023-06-20 08:13:32 +02:00
|
|
|
}
|
2023-06-18 22:05:10 +02:00
|
|
|
#menu .item:hover {
|
|
|
|
background: #ddd;
|
|
|
|
}
|
|
|
|
#menu .item:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2023-06-21 23:52:21 +02:00
|
|
|
#upload {
|
|
|
|
position: fixed;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
color: #333;
|
|
|
|
background: #fff;
|
|
|
|
border: 2px solid #000;
|
|
|
|
padding: 16px;
|
|
|
|
z-index: 1025;
|
|
|
|
}
|
|
|
|
#upload input {
|
|
|
|
border: 1px solid #000;
|
|
|
|
}
|
|
|
|
#upload .files {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr min-content;
|
|
|
|
padding-top: 12px;
|
|
|
|
}
|
|
|
|
#upload .files .file {
|
|
|
|
margin-top: 8px;
|
|
|
|
padding-top: 8px;
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
#upload .files .file:nth-child(1) {
|
|
|
|
padding-top: 0px;
|
|
|
|
margin-top: 0px;
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
#upload .files .file.done {
|
|
|
|
color: #0a0;
|
|
|
|
}
|
|
|
|
#upload .files .progress {
|
|
|
|
justify-self: end;
|
|
|
|
margin-top: 8px;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-left: 8px;
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
#upload .files .progress:nth-child(2) {
|
|
|
|
padding-top: 0px;
|
|
|
|
margin-top: 0px;
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
#upload .files .progress.done {
|
|
|
|
color: #0a0;
|
|
|
|
}
|
2023-07-01 20:33:26 +02:00
|
|
|
#properties {
|
|
|
|
color: #333;
|
|
|
|
padding: 16px;
|
2023-07-04 09:01:52 +02:00
|
|
|
}
|
|
|
|
#properties .key {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
#properties .key.locked {
|
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
#properties .key.locked:after {
|
|
|
|
content: " (locked)";
|
|
|
|
}
|
|
|
|
#properties .key label {
|
|
|
|
margin-left: 8px;
|
2023-07-01 20:33:26 +02:00
|
|
|
}
|
2024-01-13 10:46:52 +01:00
|
|
|
#properties .checks {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: min-content 1fr;
|
|
|
|
grid-gap: 4px 8px;
|
|
|
|
}
|
2023-06-18 20:13:35 +02:00
|
|
|
header {
|
|
|
|
display: grid;
|
2023-06-27 14:44:36 +02:00
|
|
|
grid-area: header;
|
2024-01-13 10:46:52 +01:00
|
|
|
grid-template-columns: min-content 1fr repeat(6, min-content);
|
2023-06-18 20:13:35 +02:00
|
|
|
align-items: center;
|
2023-07-04 09:01:52 +02:00
|
|
|
padding: 8px 0px;
|
2023-06-20 07:59:54 +02:00
|
|
|
color: #333c11;
|
2023-06-27 14:44:36 +02:00
|
|
|
background: linear-gradient(to right, #3e5151, #decba4);
|
|
|
|
color: #fff;
|
2023-06-18 20:13:35 +02:00
|
|
|
}
|
|
|
|
header.modified {
|
|
|
|
background: #c84a37;
|
|
|
|
color: #faedeb;
|
|
|
|
}
|
2023-06-27 14:44:36 +02:00
|
|
|
header .tree {
|
|
|
|
padding-left: 16px;
|
|
|
|
}
|
|
|
|
header .tree img {
|
|
|
|
display: block;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
2023-06-18 20:13:35 +02:00
|
|
|
header .name {
|
|
|
|
font-weight: bold;
|
|
|
|
padding-left: 16px;
|
2023-07-04 09:01:52 +02:00
|
|
|
font-size: 1.25em;
|
2023-06-18 20:13:35 +02:00
|
|
|
}
|
2024-01-09 16:28:40 +01:00
|
|
|
header .markdown,
|
2024-01-13 10:46:52 +01:00
|
|
|
header .checklist,
|
2023-07-20 10:07:47 +02:00
|
|
|
header .search,
|
|
|
|
header .add,
|
2023-07-01 20:33:26 +02:00
|
|
|
header .keys {
|
|
|
|
padding-right: 16px;
|
|
|
|
}
|
2024-01-09 16:28:40 +01:00
|
|
|
header .markdown img,
|
2024-01-13 10:46:52 +01:00
|
|
|
header .checklist img,
|
2023-07-20 10:07:47 +02:00
|
|
|
header .search img,
|
|
|
|
header .add img,
|
2023-07-01 20:33:26 +02:00
|
|
|
header .keys img {
|
|
|
|
cursor: pointer;
|
|
|
|
height: 24px;
|
|
|
|
}
|
2023-06-18 22:05:10 +02:00
|
|
|
header .menu {
|
2023-07-04 09:01:52 +02:00
|
|
|
font-size: 1.75em;
|
2023-06-18 22:05:10 +02:00
|
|
|
padding-right: 16px;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
}
|
2023-06-27 14:44:36 +02:00
|
|
|
#tree {
|
|
|
|
grid-area: tree;
|
|
|
|
padding: 16px;
|
|
|
|
background-color: #333;
|
|
|
|
color: #ddd;
|
2024-04-05 09:31:41 +02:00
|
|
|
z-index: 100;
|
2023-06-27 14:44:36 +02:00
|
|
|
}
|
|
|
|
#tree .node {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 24px min-content;
|
|
|
|
grid-template-rows: min-content 1fr;
|
|
|
|
margin-top: 12px;
|
|
|
|
}
|
|
|
|
#tree .node .expand-toggle img {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
#tree .node .name {
|
|
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
2023-07-22 10:50:24 +02:00
|
|
|
user-select: none;
|
2023-06-27 14:44:36 +02:00
|
|
|
}
|
|
|
|
#tree .node .name:hover {
|
|
|
|
color: #ecbf00;
|
|
|
|
}
|
|
|
|
#tree .node .name.selected {
|
|
|
|
color: #ecbf00;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
#tree .node .children {
|
|
|
|
padding-left: 24px;
|
|
|
|
margin-left: 8px;
|
|
|
|
border-left: 1px solid #555;
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
}
|
|
|
|
#tree .node .children.collapsed {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#crumbs {
|
|
|
|
grid-area: crumbs;
|
|
|
|
background: linear-gradient(to right, #fdc830, #f37335);
|
|
|
|
}
|
2023-06-17 09:11:14 +02:00
|
|
|
.crumbs {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2023-06-27 14:44:36 +02:00
|
|
|
padding: 8px 16px;
|
|
|
|
background: #505050;
|
2023-06-18 20:13:35 +02:00
|
|
|
color: #fff;
|
2023-06-27 14:44:36 +02:00
|
|
|
box-shadow: 0px 5px 8px 0px rgba(128, 128, 128, 0.5);
|
2023-06-17 09:11:14 +02:00
|
|
|
}
|
|
|
|
.crumbs .crumb {
|
|
|
|
margin-right: 8px;
|
|
|
|
cursor: pointer;
|
2023-06-18 20:13:35 +02:00
|
|
|
user-select: none;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
2023-06-17 09:11:14 +02:00
|
|
|
}
|
|
|
|
.crumbs .crumb:after {
|
2023-06-18 20:13:35 +02:00
|
|
|
content: "•";
|
2023-06-17 09:11:14 +02:00
|
|
|
margin-left: 8px;
|
2023-06-20 07:59:54 +02:00
|
|
|
color: #abc837;
|
2023-06-17 09:11:14 +02:00
|
|
|
}
|
|
|
|
.crumbs .crumb:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
.crumbs .crumb:last-child:after {
|
|
|
|
content: '';
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
.child-nodes {
|
2023-06-27 14:44:36 +02:00
|
|
|
grid-area: child-nodes;
|
2023-06-17 09:11:14 +02:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
padding: 16px 16px 0px 16px;
|
|
|
|
}
|
|
|
|
.child-nodes .child-node {
|
|
|
|
padding: 8px;
|
|
|
|
border-radius: 8px;
|
2023-06-27 14:44:36 +02:00
|
|
|
background-color: #333;
|
2023-06-18 20:13:35 +02:00
|
|
|
margin-right: 12px;
|
2023-06-17 09:11:14 +02:00
|
|
|
margin-bottom: 16px;
|
|
|
|
white-space: nowrap;
|
|
|
|
cursor: pointer;
|
2023-06-18 20:13:35 +02:00
|
|
|
user-select: none;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
2023-06-17 09:11:14 +02:00
|
|
|
}
|
|
|
|
.node-name {
|
2023-06-27 14:44:36 +02:00
|
|
|
grid-area: name;
|
2023-06-18 20:13:35 +02:00
|
|
|
background: #fff;
|
|
|
|
color: #000;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: bold;
|
2023-06-27 14:44:36 +02:00
|
|
|
margin-top: 32px;
|
|
|
|
margin-bottom: 32px;
|
2023-07-04 09:01:52 +02:00
|
|
|
font-size: 1.5em;
|
2023-06-17 09:11:14 +02:00
|
|
|
}
|
2023-07-20 10:52:15 +02:00
|
|
|
#notes-version {
|
|
|
|
margin-top: 64px;
|
|
|
|
color: #888;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-07-12 22:35:38 +02:00
|
|
|
#node-content.encrypted {
|
|
|
|
color: #a00;
|
|
|
|
}
|
2023-06-17 09:11:14 +02:00
|
|
|
.node-content {
|
2023-06-27 14:44:36 +02:00
|
|
|
grid-area: content;
|
2023-06-18 20:13:35 +02:00
|
|
|
justify-self: center;
|
2023-06-20 07:35:34 +02:00
|
|
|
word-wrap: break-word;
|
|
|
|
font-family: monospace;
|
2023-06-18 20:13:35 +02:00
|
|
|
color: #333;
|
2023-06-27 14:44:36 +02:00
|
|
|
width: calc(100% - 32px);
|
|
|
|
max-width: 900px;
|
2023-06-20 07:35:34 +02:00
|
|
|
resize: none;
|
|
|
|
border: none;
|
|
|
|
outline: none;
|
2023-06-18 20:13:35 +02:00
|
|
|
}
|
2023-06-20 07:35:34 +02:00
|
|
|
.node-content:invalid {
|
2023-06-22 08:28:51 +02:00
|
|
|
background: #f5f5f5;
|
2023-06-27 14:44:36 +02:00
|
|
|
padding-top: 16px;
|
|
|
|
}
|
2024-01-09 16:28:40 +01:00
|
|
|
#markdown {
|
|
|
|
color: #333;
|
|
|
|
grid-area: content;
|
2024-01-10 23:19:40 +01:00
|
|
|
justify-self: center;
|
|
|
|
width: calc(100% - 32px);
|
2024-01-09 16:28:40 +01:00
|
|
|
max-width: 900px;
|
2024-01-10 23:19:40 +01:00
|
|
|
padding: 0.5rem;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-bottom: 0px;
|
2024-01-09 16:28:40 +01:00
|
|
|
}
|
|
|
|
#markdown table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
#markdown table th,
|
|
|
|
#markdown table td {
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
padding: 4px 8px;
|
|
|
|
}
|
2024-01-09 17:58:41 +01:00
|
|
|
#markdown code {
|
|
|
|
background: #e6eeee;
|
|
|
|
padding: 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2024-01-12 21:31:32 +01:00
|
|
|
#markdown pre {
|
|
|
|
background: #f5f5f5;
|
|
|
|
padding: 8px;
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
2024-01-09 17:58:41 +01:00
|
|
|
#markdown pre > code {
|
|
|
|
background: unset;
|
|
|
|
padding: 0px;
|
|
|
|
border-radius: 0px;
|
|
|
|
}
|
2024-01-10 23:19:40 +01:00
|
|
|
#checklist {
|
|
|
|
grid-area: checklist;
|
|
|
|
color: #333;
|
|
|
|
justify-self: center;
|
|
|
|
width: calc(100% - 32px);
|
|
|
|
max-width: 900px;
|
|
|
|
padding: 0.5rem;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
}
|
2024-01-12 21:31:32 +01:00
|
|
|
#checklist .header {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(3, min-content);
|
|
|
|
align-items: center;
|
|
|
|
grid-gap: 0 16px;
|
|
|
|
}
|
|
|
|
#checklist .header img {
|
|
|
|
height: 20px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
#checklist .header + .checklist-group.edit {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
2024-01-10 23:19:40 +01:00
|
|
|
#checklist .checklist-group {
|
2024-01-12 21:31:32 +01:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(4, min-content);
|
|
|
|
align-items: center;
|
|
|
|
grid-gap: 0 8px;
|
2024-01-10 23:19:40 +01:00
|
|
|
margin-top: 1em;
|
2024-01-12 21:31:32 +01:00
|
|
|
margin-bottom: 8px;
|
2024-01-10 23:19:40 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2024-01-12 21:31:32 +01:00
|
|
|
#checklist .checklist-group .label {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
#checklist .checklist-group .label.ok {
|
|
|
|
color: #54b356;
|
|
|
|
}
|
|
|
|
#checklist .checklist-group .label.error {
|
|
|
|
color: #d13636;
|
|
|
|
}
|
|
|
|
#checklist .checklist-group.edit {
|
|
|
|
margin-top: 32px;
|
|
|
|
border-bottom: 1px solid #aaa;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
|
|
|
#checklist .checklist-group:not(.edit) .reorder {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#checklist .checklist-group:not(.edit) img {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#checklist .checklist-group img {
|
|
|
|
height: 14px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2024-01-10 23:19:40 +01:00
|
|
|
#checklist .checklist-item {
|
2024-04-18 07:47:35 +02:00
|
|
|
transform: translate(0, 0);
|
2024-01-10 23:19:40 +01:00
|
|
|
display: grid;
|
2024-01-12 21:31:32 +01:00
|
|
|
grid-template-columns: repeat(3, min-content);
|
|
|
|
grid-gap: 0 8px;
|
2024-01-10 23:19:40 +01:00
|
|
|
align-items: center;
|
2024-01-12 21:31:32 +01:00
|
|
|
padding: 4px 0;
|
|
|
|
border-bottom: 2px solid #fff;
|
2024-01-10 23:19:40 +01:00
|
|
|
}
|
|
|
|
#checklist .checklist-item.checked {
|
|
|
|
text-decoration: line-through;
|
2024-01-12 21:31:32 +01:00
|
|
|
color: #aaa;
|
|
|
|
}
|
|
|
|
#checklist .checklist-item.drag-target {
|
|
|
|
border-bottom: 2px solid #71c837;
|
2024-01-10 23:19:40 +01:00
|
|
|
}
|
|
|
|
#checklist .checklist-item input[type="checkbox"] {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
appearance: none;
|
|
|
|
background-color: #fff;
|
2024-01-12 21:31:32 +01:00
|
|
|
margin: 0 2px 0 0;
|
2024-01-10 23:19:40 +01:00
|
|
|
font: inherit;
|
|
|
|
color: currentColor;
|
|
|
|
width: 1.25em;
|
|
|
|
height: 1.25em;
|
|
|
|
border: 0.15em solid currentColor;
|
|
|
|
border-radius: 0.15em;
|
|
|
|
transform: translateY(-0.075em);
|
|
|
|
display: grid;
|
|
|
|
place-content: center;
|
|
|
|
}
|
2024-01-12 21:31:32 +01:00
|
|
|
#checklist .checklist-item label.ok {
|
|
|
|
color: #54b356;
|
|
|
|
}
|
|
|
|
#checklist .checklist-item label.error {
|
|
|
|
color: #d13636;
|
|
|
|
}
|
2024-01-10 23:19:40 +01:00
|
|
|
#checklist .checklist-item input[type="checkbox"].ok {
|
|
|
|
border: 0.15em solid #54b356;
|
|
|
|
}
|
|
|
|
#checklist .checklist-item input[type="checkbox"].ok::before {
|
|
|
|
box-shadow: inset 1em 1em #54b356;
|
|
|
|
}
|
2024-01-10 23:28:00 +01:00
|
|
|
#checklist .checklist-item input[type="checkbox"].error {
|
|
|
|
border: 0.15em solid #d13636;
|
|
|
|
}
|
|
|
|
#checklist .checklist-item input[type="checkbox"].error::before {
|
|
|
|
box-shadow: inset 1em 1em #d13636;
|
|
|
|
}
|
2024-01-10 23:19:40 +01:00
|
|
|
#checklist .checklist-item input[type="checkbox"]::before {
|
|
|
|
content: "";
|
|
|
|
width: 0.7em;
|
|
|
|
height: 0.7em;
|
|
|
|
transform: scale(0);
|
|
|
|
transition: 120ms transform ease-in-out;
|
|
|
|
box-shadow: inset 1em 1em #666;
|
|
|
|
}
|
|
|
|
#checklist .checklist-item input[type="checkbox"]:checked::before {
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
2024-01-12 21:31:32 +01:00
|
|
|
#checklist .checklist-item.edit input[type="checkbox"] {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
#checklist .checklist-item:not(.edit) .reorder {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#checklist .checklist-item:not(.edit) img {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#checklist .checklist-item img {
|
|
|
|
height: 14px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2024-01-10 23:19:40 +01:00
|
|
|
#checklist .checklist-item label {
|
|
|
|
user-select: none;
|
2024-01-12 21:31:32 +01:00
|
|
|
white-space: nowrap;
|
2024-01-10 23:19:40 +01:00
|
|
|
}
|
2023-06-27 14:44:36 +02:00
|
|
|
/* ============================================================= *
|
|
|
|
* Textarea replicates the height of an element expanding height *
|
|
|
|
* ============================================================= */
|
|
|
|
.grow-wrap {
|
|
|
|
/* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
|
|
|
|
display: grid;
|
|
|
|
grid-area: content;
|
2023-07-04 09:01:52 +02:00
|
|
|
font-size: 1em;
|
2023-06-27 14:44:36 +02:00
|
|
|
}
|
|
|
|
.grow-wrap::after {
|
|
|
|
/* Note the weird space! Needed to preventy jumpy behavior */
|
|
|
|
content: attr(data-replicated-value) " ";
|
|
|
|
/* This is how textarea text behaves */
|
|
|
|
width: calc(100% - 32px);
|
|
|
|
max-width: 900px;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
word-wrap: break-word;
|
|
|
|
color: #f0f;
|
|
|
|
background: rgba(0, 255, 255, 0.5);
|
|
|
|
justify-self: center;
|
|
|
|
/* Hidden from view, clicks, and screen readers */
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.grow-wrap > textarea {
|
|
|
|
/* You could leave this, but after a user resizes, then it ruins the auto sizing */
|
|
|
|
resize: none;
|
|
|
|
/* Firefox shows scrollbar on growth, you can hide like this. */
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.grow-wrap > textarea,
|
|
|
|
.grow-wrap::after {
|
|
|
|
/* Identical styling required!! */
|
|
|
|
padding: 0.5rem;
|
|
|
|
font: inherit;
|
|
|
|
/* Place on top of each other */
|
|
|
|
grid-area: 1 / 1 / 2 / 2;
|
2023-06-22 08:28:51 +02:00
|
|
|
}
|
2023-06-27 14:44:36 +02:00
|
|
|
/* ============================================================= */
|
2024-04-17 18:43:24 +02:00
|
|
|
#schedule-section {
|
2023-06-27 14:44:36 +02:00
|
|
|
grid-area: files;
|
2023-06-22 08:28:51 +02:00
|
|
|
justify-self: center;
|
2023-06-27 14:44:36 +02:00
|
|
|
width: calc(100% - 32px);
|
|
|
|
max-width: 900px;
|
2023-06-22 08:28:51 +02:00
|
|
|
padding: 32px;
|
|
|
|
background: #f5f5f5;
|
2023-06-27 14:44:36 +02:00
|
|
|
border-radius: 8px;
|
|
|
|
margin-top: 32px;
|
|
|
|
margin-bottom: 32px;
|
2024-04-17 18:43:24 +02:00
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
#schedule-section .header {
|
|
|
|
font-weight: bold;
|
|
|
|
color: #000;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
#file-section {
|
|
|
|
grid-area: schedule;
|
|
|
|
justify-self: center;
|
|
|
|
width: calc(100% - 32px);
|
|
|
|
max-width: 900px;
|
|
|
|
padding: 32px;
|
|
|
|
background: #f5f5f5;
|
|
|
|
border-radius: 8px;
|
|
|
|
margin-top: 32px;
|
|
|
|
margin-bottom: 16px;
|
2023-06-22 08:28:51 +02:00
|
|
|
}
|
|
|
|
#file-section .header {
|
|
|
|
font-weight: bold;
|
|
|
|
color: #000;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
#file-section .files {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr min-content;
|
|
|
|
grid-gap: 8px 16px;
|
|
|
|
color: #444;
|
|
|
|
}
|
|
|
|
#file-section .files .filename {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2023-06-22 16:48:31 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
#file-section .files .filename:hover {
|
|
|
|
text-decoration: underline;
|
2023-06-22 08:28:51 +02:00
|
|
|
}
|
|
|
|
#file-section .files .size {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-align: right;
|
2023-06-18 22:05:10 +02:00
|
|
|
}
|
2023-07-01 20:33:26 +02:00
|
|
|
#keys {
|
|
|
|
padding: 32px;
|
|
|
|
color: #333;
|
|
|
|
}
|
2023-07-04 09:01:52 +02:00
|
|
|
#keys p {
|
|
|
|
max-width: 80ex;
|
|
|
|
}
|
2023-07-01 20:33:26 +02:00
|
|
|
#keys .key-list {
|
|
|
|
display: grid;
|
2023-07-12 22:35:38 +02:00
|
|
|
grid-template-columns: min-content min-content min-content;
|
2023-07-01 20:33:26 +02:00
|
|
|
grid-gap: 12px 12px;
|
|
|
|
align-items: end;
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
#keys .key-list .status {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
#keys .key-list .status img {
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
#keys .key-list .status .locked {
|
|
|
|
color: #a00;
|
|
|
|
}
|
|
|
|
#keys .key-list .status .unlocked {
|
|
|
|
color: #0a0;
|
|
|
|
}
|
|
|
|
#keys .key-list .description {
|
|
|
|
cursor: pointer;
|
|
|
|
padding-bottom: 4px;
|
2023-07-04 09:01:52 +02:00
|
|
|
user-select: none;
|
|
|
|
text-decoration: underline;
|
2023-07-12 22:35:38 +02:00
|
|
|
white-space: nowrap;
|
2023-07-04 09:01:52 +02:00
|
|
|
}
|
|
|
|
#keys .key-list .view {
|
|
|
|
cursor: pointer;
|
2023-07-12 22:35:38 +02:00
|
|
|
padding-bottom: 4px;
|
|
|
|
margin-left: 16px;
|
2023-07-04 09:01:52 +02:00
|
|
|
user-select: none;
|
|
|
|
text-decoration: underline;
|
2023-07-12 22:35:38 +02:00
|
|
|
white-space: nowrap;
|
2023-07-04 09:01:52 +02:00
|
|
|
}
|
|
|
|
#keys .key-list .hex-key {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
border: 1px solid #aaa;
|
|
|
|
padding: 16px;
|
|
|
|
margin-bottom: 16px;
|
2023-07-01 20:33:26 +02:00
|
|
|
}
|
2023-07-12 22:35:38 +02:00
|
|
|
#key-create .fields {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
grid-gap: 16px;
|
|
|
|
max-width: 48ex;
|
|
|
|
}
|
|
|
|
#key-create .fields #key-description {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
font-size: 1em;
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
#key-create .fields #key-key {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
height: 4em;
|
|
|
|
resize: none;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
#key-create .fields #key-pass1,
|
|
|
|
#key-create .fields #key-pass2 {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
#key-create .fields button.generate {
|
|
|
|
margin-right: 16px;
|
|
|
|
}
|
2023-06-27 15:08:48 +02:00
|
|
|
.layout-tree {
|
|
|
|
display: grid;
|
2024-04-17 18:43:24 +02:00
|
|
|
grid-template-areas: "header header" "tree crumbs" "tree child-nodes" "tree name" "tree content" "tree checklist" "tree schedule" "tree files" "tree blank";
|
2023-06-27 15:08:48 +02:00
|
|
|
grid-template-columns: min-content 1fr;
|
2024-04-17 18:43:24 +02:00
|
|
|
grid-template-rows: min-content /* header */ min-content /* crumbs */ min-content /* child-nodes */ min-content /* name */ min-content /* content */ min-content /* checklist */ min-content /* schedule */ min-content /* files */ 1fr;
|
2023-06-27 15:08:48 +02:00
|
|
|
/* blank */
|
|
|
|
color: #fff;
|
2023-07-20 07:45:01 +02:00
|
|
|
min-height: 100%;
|
2023-06-27 15:08:48 +02:00
|
|
|
}
|
|
|
|
.layout-tree-only {
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas: "header" "tree";
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-template-rows: min-content /* header */ 1fr;
|
|
|
|
/* blank */
|
|
|
|
color: #fff;
|
2023-07-20 07:45:01 +02:00
|
|
|
min-height: 100%;
|
2023-06-27 15:08:48 +02:00
|
|
|
}
|
|
|
|
.layout-tree-only #crumbs {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.layout-tree-only .child-nodes {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.layout-tree-only .node-name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.layout-tree-only .grow-wrap {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.layout-tree-only #file-section {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.layout-tree-only #tree {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.layout-crumbs {
|
2024-04-17 18:43:24 +02:00
|
|
|
grid-template-areas: "header" "crumbs" "child-nodes" "name" "content" "checklist" "schedule" "files" "blank";
|
2023-06-27 15:08:48 +02:00
|
|
|
grid-template-columns: 1fr;
|
2024-04-17 18:43:24 +02:00
|
|
|
grid-template-rows: min-content /* header */ min-content /* crumbs */ min-content /* child-nodes */ min-content /* name */ min-content /* content */ min-content /* checklist */ min-content /* schedule */ min-content /* files */ 1fr;
|
2023-06-27 15:08:48 +02:00
|
|
|
/* blank */
|
|
|
|
}
|
|
|
|
.layout-crumbs #tree {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-01-10 23:19:40 +01:00
|
|
|
.layout-crumbs #checklist {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
2023-07-01 20:33:26 +02:00
|
|
|
.layout-keys {
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas: "header" "keys";
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-template-rows: min-content /* header */ 1fr;
|
|
|
|
/* blank */
|
|
|
|
color: #fff;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.layout-keys #crumbs {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.layout-keys .child-nodes {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.layout-keys .node-name {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.layout-keys .grow-wrap {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.layout-keys #file-section {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.layout-keys #tree {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.layout-keys #keys {
|
|
|
|
display: block;
|
|
|
|
}
|
2023-07-18 07:09:03 +02:00
|
|
|
#app.login {
|
|
|
|
padding-top: 64px;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: minmax(min-content, 300px);
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
#app.node {
|
2023-06-27 15:08:48 +02:00
|
|
|
display: grid;
|
2024-04-17 18:43:24 +02:00
|
|
|
grid-template-areas: "header header" "tree crumbs" "tree child-nodes" "tree name" "tree content" "tree checklist" "tree schedule" "tree files" "tree blank";
|
2023-06-27 15:08:48 +02:00
|
|
|
grid-template-columns: min-content 1fr;
|
2024-04-17 18:43:24 +02:00
|
|
|
grid-template-rows: min-content /* header */ min-content /* crumbs */ min-content /* child-nodes */ min-content /* name */ min-content /* content */ min-content /* checklist */ min-content /* schedule */ min-content /* files */ 1fr;
|
2023-06-27 15:08:48 +02:00
|
|
|
/* blank */
|
|
|
|
color: #fff;
|
2023-07-20 07:45:01 +02:00
|
|
|
min-height: 100%;
|
2023-06-27 15:08:48 +02:00
|
|
|
}
|
2023-07-18 07:09:03 +02:00
|
|
|
#app.node.toggle-tree {
|
2024-04-17 18:43:24 +02:00
|
|
|
grid-template-areas: "header" "crumbs" "child-nodes" "name" "content" "checklist" "schedule" "files" "blank";
|
2023-06-27 15:08:48 +02:00
|
|
|
grid-template-columns: 1fr;
|
2024-04-17 18:43:24 +02:00
|
|
|
grid-template-rows: min-content /* header */ min-content /* crumbs */ min-content /* child-nodes */ min-content /* name */ min-content /* content */ min-content /* checklist */ min-content /* schedule */ min-content /* files */ 1fr;
|
2023-06-27 15:08:48 +02:00
|
|
|
/* blank */
|
|
|
|
}
|
2023-07-18 07:09:03 +02:00
|
|
|
#app.node.toggle-tree #tree {
|
2023-06-27 15:08:48 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2024-01-10 23:19:40 +01:00
|
|
|
#app.node.toggle-tree #checklist {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
2023-07-20 10:47:49 +02:00
|
|
|
#profile-settings {
|
|
|
|
color: #333;
|
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
#profile-settings .passwords {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: min-content 200px;
|
|
|
|
grid-gap: 8px 16px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
#profile-settings .passwords div {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2024-04-17 18:43:24 +02:00
|
|
|
#schedule-events {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(5, min-content);
|
|
|
|
grid-gap: 4px 12px;
|
|
|
|
margin: 32px;
|
|
|
|
color: #000;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
#schedule-events .header {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2024-04-18 07:47:35 +02:00
|
|
|
#input-text {
|
|
|
|
border: 1px solid #000 !important;
|
|
|
|
padding: 16px;
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
#input-text .label {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
#input-text input[type=text] {
|
|
|
|
width: 100%;
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
#input-text .buttons {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 64px 64px;
|
|
|
|
grid-gap: 8px;
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
2023-06-22 16:48:31 +02:00
|
|
|
@media only screen and (max-width: 932px) {
|
2023-07-18 07:09:03 +02:00
|
|
|
#app.node {
|
2024-04-17 18:43:24 +02:00
|
|
|
grid-template-areas: "header" "crumbs" "child-nodes" "name" "content" "checklist" "schedule" "files" "blank";
|
2023-06-27 14:44:36 +02:00
|
|
|
grid-template-columns: 1fr;
|
2024-04-17 18:43:24 +02:00
|
|
|
grid-template-rows: min-content /* header */ min-content /* crumbs */ min-content /* child-nodes */ min-content /* name */ min-content /* content */ min-content /* checklist */ min-content /* schedule */ min-content /* files */ 1fr;
|
2023-06-27 14:44:36 +02:00
|
|
|
/* blank */
|
|
|
|
}
|
2023-07-18 07:09:03 +02:00
|
|
|
#app.node #tree {
|
2023-06-27 14:44:36 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2024-01-10 23:19:40 +01:00
|
|
|
#app.node #checklist {
|
|
|
|
padding: 16px;
|
|
|
|
}
|
2023-07-18 07:09:03 +02:00
|
|
|
#app.node.toggle-tree {
|
2023-06-27 15:08:48 +02:00
|
|
|
display: grid;
|
|
|
|
grid-template-areas: "header" "tree";
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
grid-template-rows: min-content /* header */ 1fr;
|
|
|
|
/* blank */
|
|
|
|
color: #fff;
|
2023-07-20 07:45:01 +02:00
|
|
|
min-height: 100%;
|
2023-06-27 15:08:48 +02:00
|
|
|
}
|
2023-07-18 07:09:03 +02:00
|
|
|
#app.node.toggle-tree #crumbs {
|
2023-06-27 15:08:48 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2023-07-18 07:09:03 +02:00
|
|
|
#app.node.toggle-tree .child-nodes {
|
2023-06-27 15:08:48 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2023-07-18 07:09:03 +02:00
|
|
|
#app.node.toggle-tree .node-name {
|
2023-06-27 15:08:48 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2023-07-18 07:09:03 +02:00
|
|
|
#app.node.toggle-tree .grow-wrap {
|
2023-06-27 15:08:48 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2023-07-18 07:09:03 +02:00
|
|
|
#app.node.toggle-tree #file-section {
|
2023-06-27 15:08:48 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2023-07-18 07:09:03 +02:00
|
|
|
#app.node.toggle-tree #tree {
|
2023-06-27 15:08:48 +02:00
|
|
|
display: block;
|
|
|
|
}
|
2023-06-18 20:13:35 +02:00
|
|
|
.node-content {
|
2023-06-22 16:48:31 +02:00
|
|
|
margin-left: 16px;
|
|
|
|
padding: 16px;
|
2023-06-18 20:13:35 +02:00
|
|
|
justify-self: start;
|
|
|
|
}
|
2024-01-10 23:19:40 +01:00
|
|
|
#file-section,
|
|
|
|
#checklist,
|
|
|
|
#markdown {
|
2023-06-22 16:48:31 +02:00
|
|
|
width: calc(100% - 32px);
|
|
|
|
padding: 16px;
|
|
|
|
margin-left: 16px;
|
2023-06-22 08:28:51 +02:00
|
|
|
justify-self: start;
|
|
|
|
}
|
2023-06-17 09:11:14 +02:00
|
|
|
}
|