2017-09-24 20:22:07 -04:00
|
|
|
#container {
|
|
|
|
max-width: 1100px;
|
|
|
|
margin: 0 auto; /* center */
|
2017-09-24 11:52:16 -04:00
|
|
|
height: 100vh;
|
2017-09-24 20:22:07 -04:00
|
|
|
|
|
|
|
display: grid;
|
2017-10-05 19:28:56 -04:00
|
|
|
grid-template-areas: "tree-actions title"
|
2017-09-24 11:52:16 -04:00
|
|
|
"tree note-content";
|
2017-09-24 20:22:07 -04:00
|
|
|
grid-template-columns: 2fr 5fr;
|
2017-09-24 11:52:16 -04:00
|
|
|
grid-template-rows: auto
|
|
|
|
1fr;
|
2017-09-24 20:22:07 -04:00
|
|
|
justify-content: center;
|
2017-09-24 11:52:16 -04:00
|
|
|
grid-gap: 10px;
|
|
|
|
}
|
|
|
|
|
2017-06-11 21:04:04 -04:00
|
|
|
.note-editable {
|
|
|
|
/* This is because with empty content height of editor is 0 and it's impossible to click into it */
|
|
|
|
min-height: 400px;
|
2017-09-23 23:54:38 -04:00
|
|
|
overflow: auto;
|
2017-06-11 21:04:04 -04:00
|
|
|
}
|
|
|
|
|
2017-09-04 21:37:55 -04:00
|
|
|
.note-editable.encrypted {
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
2017-06-11 21:04:04 -04:00
|
|
|
#top-message {
|
|
|
|
display: none; /* initial state is hidden */
|
2017-08-16 20:41:41 -04:00
|
|
|
background-color: #e0e0e0;
|
|
|
|
color: #333;
|
2017-06-11 21:04:04 -04:00
|
|
|
padding: 5px;
|
|
|
|
border-radius: 10px;
|
2017-08-13 21:42:10 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#error-message {
|
2017-09-24 11:34:16 -04:00
|
|
|
margin-top: 2px;
|
2017-08-13 21:42:10 -04:00
|
|
|
display: none; /* initial state is hidden */
|
|
|
|
background-color: red;
|
|
|
|
color: white;
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 10px;
|
2017-08-21 21:05:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-editable p {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2017-08-23 23:36:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.fancytree-container {
|
2017-08-27 11:36:20 -04:00
|
|
|
overflow: auto;
|
|
|
|
position: relative;
|
|
|
|
outline: none !important;
|
2017-08-23 23:36:16 -04:00
|
|
|
}
|
2017-08-27 11:36:20 -04:00
|
|
|
|
2017-08-27 14:39:26 -04:00
|
|
|
/* icons from https://feathericons.com */
|
2017-08-27 11:36:20 -04:00
|
|
|
span.fancytree-node > span.fancytree-icon {
|
|
|
|
background-position: 0 0;
|
|
|
|
background-image: url("icons/file.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
span.fancytree-node.fancytree-folder > span.fancytree-icon {
|
|
|
|
background-position: 0 0;
|
|
|
|
background-image: url("icons/folder.png");
|
|
|
|
}
|
|
|
|
|
2017-09-08 23:14:42 -04:00
|
|
|
span.fancytree-node.encrypted > span.fancytree-icon {
|
|
|
|
background-position: 0 0;
|
|
|
|
background-image: url("icons/file-shaded.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
span.fancytree-node.encrypted.fancytree-folder > span.fancytree-icon {
|
|
|
|
background-position: 0 0;
|
|
|
|
background-image: url("icons/folder-shaded.png");
|
|
|
|
}
|
|
|
|
|
2017-09-03 18:53:28 -04:00
|
|
|
.ui-autocomplete {
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-y: auto;
|
|
|
|
/* prevent horizontal scrollbar */
|
|
|
|
overflow-x: hidden;
|
2017-09-05 22:01:22 -04:00
|
|
|
}
|
|
|
|
|
2017-09-10 21:33:39 -04:00
|
|
|
.icon-action:hover {
|
|
|
|
text-decoration: none;
|
2017-09-05 22:01:22 -04:00
|
|
|
}
|
|
|
|
|
2017-09-10 21:33:39 -04:00
|
|
|
#encryptButton, #decryptButton {
|
|
|
|
display: none;
|
2017-09-03 18:53:28 -04:00
|
|
|
}
|