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"
|
2018-04-13 19:58:33 -04:00
|
|
|
"left-pane title"
|
|
|
|
|
"left-pane note-detail";
|
2018-04-17 20:04:27 -04:00
|
|
|
grid-template-columns: 29% 70%;
|
2017-09-24 11:52:16 -04:00
|
|
|
grid-template-rows: auto
|
2017-10-06 22:46:30 -04:00
|
|
|
auto
|
2018-04-13 19:58:33 -04:00
|
|
|
1fr;
|
2018-02-05 20:53:04 -05:00
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
2018-04-11 22:44:33 -04:00
|
|
|
#note-detail-wrapper {
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
grid-area: note-detail;
|
|
|
|
|
padding-left: 10px;
|
|
|
|
|
padding-top: 10px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#note-detail-component-wrapper {
|
2018-05-21 16:08:34 -04:00
|
|
|
flex-grow: 100;
|
2018-04-11 22:44:33 -04:00
|
|
|
position: relative;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
flex-basis: content;
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-27 00:22:02 -04:00
|
|
|
.note-detail-component {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-26 23:48:45 -04:00
|
|
|
#note-detail-text {
|
2017-12-02 10:37:12 -05:00
|
|
|
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 */
|
2018-04-10 23:15:41 -04:00
|
|
|
min-height: 200px;
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-26 23:48:45 -04:00
|
|
|
#note-detail-text 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
|
|
|
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 {
|
2018-03-24 12:52:58 -04:00
|
|
|
background: url("../images/icons/file.png") 0 0;
|
2017-08-27 11:36:20 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
span.fancytree-node.fancytree-folder > span.fancytree-icon {
|
2018-03-24 12:52:58 -04:00
|
|
|
background: url("../images/icons/folder.png") 0 0;
|
2017-08-27 11:36:20 -04:00
|
|
|
}
|
|
|
|
|
|
2018-01-26 22:32:44 -05:00
|
|
|
span.fancytree-node.code > span.fancytree-icon {
|
2018-03-24 12:52:58 -04:00
|
|
|
background: url("../images/icons/code.png") 0 0;
|
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 {
|
2018-03-24 12:52:58 -04:00
|
|
|
background: url("../images/icons/code-folder.png") 0 0;
|
2018-01-26 22:32:44 -05:00
|
|
|
}
|
|
|
|
|
|
2018-03-11 10:49:22 -04:00
|
|
|
span.fancytree-node.file > span.fancytree-icon {
|
2018-03-24 12:52:58 -04:00
|
|
|
background: url("../images/icons/paperclip.png") 0 0;
|
2018-02-21 19:53:46 -05:00
|
|
|
}
|
|
|
|
|
|
2018-03-07 20:52:34 -05:00
|
|
|
span.fancytree-node.render > span.fancytree-icon {
|
2018-03-24 12:52:58 -04:00
|
|
|
background: url("../images/icons/play.png") 0 0;
|
2018-03-07 20:52:34 -05:00
|
|
|
}
|
|
|
|
|
|
2018-03-11 10:53:10 -04:00
|
|
|
span.fancytree-node.search > span.fancytree-icon {
|
2018-03-24 12:52:58 -04:00
|
|
|
background: url("../images/icons/search-small.png") 0 0;
|
2018-03-11 10:53:10 -04:00
|
|
|
}
|
|
|
|
|
|
2018-01-26 22:32:44 -05:00
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-26 16:16:34 -04:00
|
|
|
span.fancytree-node.tree-root > span.fancytree-icon {
|
|
|
|
|
background: url("../images/icons/tree-root.png") 0 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* first nesting level has lower left padding to avoid extra left padding. Other levels are not affected */
|
|
|
|
|
.ui-fancytree > li > ul {
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
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;
|
2018-03-07 23:58:34 -05:00
|
|
|
display: block;
|
|
|
|
|
height: 24px;
|
|
|
|
|
width: 24px;
|
2017-12-04 18:21:57 -05:00
|
|
|
}
|
|
|
|
|
|
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 {
|
2018-02-03 12:44:22 -05:00
|
|
|
padding: 5px 20px 5px 10px;
|
2017-10-06 22:46:30 -04:00
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
2018-04-17 20:04:27 -04:00
|
|
|
#tree {
|
|
|
|
|
overflow: auto;
|
|
|
|
|
flex-grow: 100;
|
|
|
|
|
flex-shrink: 100;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
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-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-05-31 23:21:47 -04:00
|
|
|
#note-type .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 {
|
2018-04-11 00:10:11 -04:00
|
|
|
min-height: 200px;
|
2018-05-26 19:58:08 -04:00
|
|
|
overflow: auto;
|
2018-01-21 10:33:32 -05:00
|
|
|
}
|
|
|
|
|
|
2018-05-26 19:27:47 -04:00
|
|
|
#note-detail-render {
|
|
|
|
|
min-height: 200px;
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-21 10:33:32 -05:00
|
|
|
.CodeMirror {
|
2018-01-30 22:44:46 -05:00
|
|
|
font-family: "Liberation Mono", "Lucida Console", monospace;
|
2018-05-26 15:28:36 -04:00
|
|
|
height: auto;
|
2018-01-21 20:15:42 -05:00
|
|
|
}
|
|
|
|
|
|
2018-05-26 19:58:08 -04:00
|
|
|
.CodeMirror-scroll {
|
|
|
|
|
min-height: 200px;
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-21 20:15:42 -05:00
|
|
|
#note-id-display {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 10px;
|
2018-02-04 20:23:30 -05:00
|
|
|
bottom: 8px;
|
2018-01-21 20:15:42 -05:00
|
|
|
z-index: 1000;
|
2018-02-03 10:37:57 -05:00
|
|
|
color: lightgrey;
|
2018-01-21 23:06:25 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#note-type-dropdown {
|
|
|
|
|
max-height: 500px;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
overflow-x: hidden;
|
2018-01-28 11:19:31 -05:00
|
|
|
}
|
|
|
|
|
|
2018-02-04 20:23:30 -05:00
|
|
|
.cm-matchhighlight {background-color: #eeeeee}
|
|
|
|
|
|
2018-03-24 22:02:26 -04:00
|
|
|
#label-list {
|
2018-02-04 20:23:30 -05:00
|
|
|
color: #777777;
|
|
|
|
|
border-top: 1px solid #eee;
|
|
|
|
|
padding: 5px; display: none;
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-24 22:02:26 -04:00
|
|
|
#label-list button {
|
2018-02-04 20:23:30 -05:00
|
|
|
padding: 2px;
|
2018-02-04 22:44:15 -05:00
|
|
|
margin-right: 5px;
|
2018-02-18 21:28:24 -05:00
|
|
|
}
|
|
|
|
|
|
2018-03-27 22:11:06 -04:00
|
|
|
#file-table th, #file-table td {
|
2018-02-18 21:28:24 -05:00
|
|
|
padding: 10px;
|
|
|
|
|
font-size: large;
|
2018-04-08 22:38:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#children-overview {
|
2018-04-11 00:10:11 -04:00
|
|
|
flex-grow: 1000;
|
|
|
|
|
flex-shrink: 1000;
|
|
|
|
|
flex-basis: 0px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
align-content: flex-start;
|
|
|
|
|
height: 100px;
|
|
|
|
|
overflow: auto;
|
2018-04-08 22:38:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.child-overview {
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: large;
|
|
|
|
|
padding: 10px;
|
2018-04-10 21:08:00 -04:00
|
|
|
background: #f4f4f4;
|
2018-04-08 22:38:52 -04:00
|
|
|
width: 150px;
|
2018-04-11 00:10:11 -04:00
|
|
|
height: 90px;
|
|
|
|
|
line-height: 2em;
|
2018-04-08 22:38:52 -04:00
|
|
|
margin-right: 20px;
|
|
|
|
|
border-radius: 15px;
|
|
|
|
|
overflow: hidden;
|
2018-04-10 21:08:00 -04:00
|
|
|
text-align: center;
|
2018-04-10 23:15:41 -04:00
|
|
|
margin-top: 15px;
|
2018-04-11 00:10:11 -04:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
word-wrap: break-word;
|
2018-04-10 21:08:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.child-overview a {
|
|
|
|
|
color: #444;
|
2018-05-21 20:12:46 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sql-console-query {
|
|
|
|
|
height: 150px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sql-console-query .CodeMirror {
|
|
|
|
|
height: 150px;
|
2018-05-26 22:54:06 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#history-navigation {
|
|
|
|
|
margin: 0 20px 0 5px;
|
|
|
|
|
display: flex;
|
2018-05-31 20:00:39 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
|
border-color: #ddd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn.active {
|
|
|
|
|
background-color: #ddd;
|
2018-05-31 23:21:47 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#note-path-list .current a {
|
|
|
|
|
font-weight: bold;
|
2018-02-04 20:23:30 -05:00
|
|
|
}
|