2017-09-24 20:22:07 -04:00
|
|
|
#container {
|
|
|
|
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-06 22:46:30 -04:00
|
|
|
grid-template-areas: "header header"
|
|
|
|
"tree-actions title"
|
2017-11-21 20:04:06 -05:00
|
|
|
"tree note-content"
|
|
|
|
"parent-list 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
|
2017-10-06 22:46:30 -04:00
|
|
|
auto
|
2017-09-24 11:52:16 -04:00
|
|
|
1fr;
|
2017-09-24 20:22:07 -04:00
|
|
|
justify-content: center;
|
2017-09-24 11:52:16 -04:00
|
|
|
grid-gap: 10px;
|
|
|
|
}
|
|
|
|
|
2017-10-10 20:37:45 -04:00
|
|
|
#header {
|
|
|
|
grid-area: header;
|
|
|
|
background-color: #f1f1f1;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2017-12-02 10:37:12 -05:00
|
|
|
#note-detail {
|
|
|
|
border: 0 !important;
|
|
|
|
box-shadow: none !important;
|
2017-06-11 21:04:04 -04:00
|
|
|
/* 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
|
|
|
}
|
|
|
|
|
2018-01-26 22:32:44 -05:00
|
|
|
#note-detail-wrapper.protected, #note-detail-wrapper.protected .CodeMirror {
|
2017-09-04 21:37:55 -04:00
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
2017-12-02 10:37:12 -05:00
|
|
|
#note-detail p {
|
2017-08-21 21:05:23 -04:00
|
|
|
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;
|
2017-10-15 19:47:05 -04:00
|
|
|
background-image: url("../images/icons/file.png");
|
2017-08-27 11:36:20 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
span.fancytree-node.fancytree-folder > span.fancytree-icon {
|
|
|
|
background-position: 0 0;
|
2017-10-15 19:47:05 -04:00
|
|
|
background-image: url("../images/icons/folder.png");
|
2017-08-27 11:36:20 -04:00
|
|
|
}
|
|
|
|
|
2018-01-26 22:32:44 -05:00
|
|
|
span.fancytree-node.code > span.fancytree-icon {
|
2017-09-08 23:14:42 -04:00
|
|
|
background-position: 0 0;
|
2018-01-26 22:32:44 -05:00
|
|
|
background-image: url("../images/icons/code.png");
|
2017-09-08 23:14:42 -04:00
|
|
|
}
|
|
|
|
|
2018-01-26 22:32:44 -05:00
|
|
|
span.fancytree-node.fancytree-folder.code > span.fancytree-icon {
|
2017-09-08 23:14:42 -04:00
|
|
|
background-position: 0 0;
|
2018-01-26 22:32:44 -05:00
|
|
|
background-image: url("../images/icons/code-folder.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
span.fancytree-node.protected > span.fancytree-icon {
|
|
|
|
filter: drop-shadow(2px 2px 2px black);
|
2017-09-08 23:14:42 -04:00
|
|
|
}
|
|
|
|
|
2017-11-21 18:39:56 -05:00
|
|
|
span.fancytree-node.multiple-parents .fancytree-title {
|
2017-11-27 18:16:42 -05:00
|
|
|
text-decoration: underline dotted;
|
2017-11-21 18:39:56 -05:00
|
|
|
}
|
|
|
|
|
2017-11-22 19:40:06 -05:00
|
|
|
span.fancytree-node.fancytree-active-clone:not(.fancytree-active) .fancytree-title {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2017-12-28 20:53:31 -05:00
|
|
|
/* By default not focused active tree item is not easily visible, this makes it more visible */
|
|
|
|
span.fancytree-active:not(.fancytree-focused) .fancytree-title {
|
|
|
|
background-color: #ddd !important;
|
|
|
|
border-color: #555 !important;
|
|
|
|
}
|
|
|
|
|
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-12-04 18:21:57 -05:00
|
|
|
.icon-action {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2017-11-14 22:21:56 -05:00
|
|
|
#protect-button, #unprotect-button {
|
2017-09-10 21:33:39 -04:00
|
|
|
display: none;
|
2017-10-05 20:15:45 -04:00
|
|
|
}
|
|
|
|
|
2017-12-15 22:35:42 -05:00
|
|
|
.ui-widget-content a:not(.ui-tabs-anchor) {
|
2017-10-05 20:15:45 -04:00
|
|
|
color: #337ab7 !important;
|
2017-10-06 22:46:30 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#header-title {
|
|
|
|
padding: 5px 50px 5px 10px;
|
|
|
|
font-size: large;
|
|
|
|
font-weight: bold;
|
2017-10-09 11:28:56 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#header .btn-xs {
|
|
|
|
margin-bottom: 2px;
|
|
|
|
margin-right: 8px;
|
2017-10-11 20:37:27 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
div.ui-tooltip {
|
|
|
|
max-width: 600px;
|
|
|
|
max-height: 600px;
|
|
|
|
overflow: auto;
|
2017-11-06 20:13:36 -05:00
|
|
|
}
|
|
|
|
|
2017-11-26 12:56:07 -05:00
|
|
|
.alert {
|
|
|
|
padding: 5px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2017-12-06 20:19:41 -05:00
|
|
|
#parent-list {
|
|
|
|
display: none;
|
|
|
|
margin-left: 20px;
|
|
|
|
border-top: 2px solid #eee;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#parent-list ul {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
2017-12-12 21:40:55 -05:00
|
|
|
/*
|
|
|
|
* .electron-in-page-search-window is a class specified to default
|
|
|
|
* <webview> element for search window.
|
|
|
|
*/
|
|
|
|
.electron-in-page-search-window {
|
|
|
|
position: fixed;
|
|
|
|
top: 50px;
|
|
|
|
right: 0;
|
|
|
|
border: solid grey 1px;
|
|
|
|
background-color: white;
|
|
|
|
width: 300px;
|
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* .search-inactive is added to search window <webview> when the window
|
|
|
|
* is inactive.
|
|
|
|
*/
|
|
|
|
.search-inactive {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* .search-inactive is added to search window <webview> when the window
|
|
|
|
* is active.
|
|
|
|
*/
|
|
|
|
.search-active {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.electronSearchText-box {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.electronSearchText-visible {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2017-12-23 14:35:20 -05:00
|
|
|
/* Allow to use <kbd> elements inside the title to define shortcut hints. */
|
2017-12-26 19:54:43 -05:00
|
|
|
.ui-menu kbd, button kbd {
|
2017-12-23 14:35:20 -05:00
|
|
|
color: black;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2017-12-26 19:54:43 -05:00
|
|
|
.ui-menu kbd {
|
|
|
|
margin-left: 30px;
|
2018-01-01 18:53:52 -05:00
|
|
|
float: right;
|
2017-12-26 19:54:43 -05:00
|
|
|
}
|
|
|
|
|
2017-12-25 09:46:11 -05:00
|
|
|
#note-id-display {
|
|
|
|
color: lightgrey;
|
2017-12-26 12:55:40 -05:00
|
|
|
margin-left: 10px;
|
2017-12-25 09:46:11 -05:00
|
|
|
}
|
|
|
|
|
2017-12-26 20:54:41 -05:00
|
|
|
#note-source {
|
|
|
|
height: 98%;
|
|
|
|
width: 100%;
|
|
|
|
overflow: scroll;
|
|
|
|
}
|
|
|
|
|
2018-01-02 20:52:36 -05:00
|
|
|
.suppressed {
|
|
|
|
filter: opacity(7%);
|
2018-01-19 19:36:41 -05:00
|
|
|
}
|
|
|
|
|
2018-01-21 23:06:25 -05:00
|
|
|
.dropdown-menu li:not(.divider) {
|
2018-01-19 19:36:41 -05:00
|
|
|
padding: 5px;
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
2018-01-21 23:06:25 -05:00
|
|
|
.dropdown-menu li:not(.divider):hover, .dropdown-menu li:not(.divider) a:hover {
|
2018-01-19 19:36:41 -05:00
|
|
|
background-color: #eee !important;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-01-21 23:06:25 -05:00
|
|
|
.dropdown-menu li:not(.selected) .check {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2018-01-19 19:36:41 -05:00
|
|
|
.dropdown-menu kbd
|
|
|
|
{
|
|
|
|
color: black;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu kbd {
|
|
|
|
float: right;
|
|
|
|
}
|
2018-01-21 10:33:32 -05:00
|
|
|
|
|
|
|
#note-detail-code {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror {
|
|
|
|
height: 100%;
|
2018-01-21 20:15:42 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#note-id-display {
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
bottom: 5px;
|
|
|
|
z-index: 1000;
|
2018-01-21 23:06:25 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#note-type-dropdown {
|
|
|
|
max-height: 500px;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
2018-01-21 10:33:32 -05:00
|
|
|
}
|