2017-09-25 08:22:07 +08:00
|
|
|
#container {
|
|
|
|
margin: 0 auto; /* center */
|
2017-09-24 23:52:16 +08:00
|
|
|
height: 100vh;
|
2017-09-25 08:22:07 +08:00
|
|
|
|
|
|
|
display: grid;
|
2017-10-07 10:46:30 +08:00
|
|
|
grid-template-areas: "header header"
|
2018-04-14 07:58:33 +08:00
|
|
|
"left-pane title"
|
|
|
|
"left-pane note-detail";
|
2018-04-18 08:04:27 +08:00
|
|
|
grid-template-columns: 29% 70%;
|
2017-09-24 23:52:16 +08:00
|
|
|
grid-template-rows: auto
|
2017-10-07 10:46:30 +08:00
|
|
|
auto
|
2018-04-14 07:58:33 +08:00
|
|
|
1fr;
|
2018-02-06 09:53:04 +08:00
|
|
|
|
2017-09-25 08:22:07 +08:00
|
|
|
justify-content: center;
|
2017-09-24 23:52:16 +08:00
|
|
|
grid-gap: 10px;
|
|
|
|
}
|
|
|
|
|
2017-10-11 08:37:45 +08:00
|
|
|
#header {
|
|
|
|
grid-area: header;
|
|
|
|
background-color: #f1f1f1;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2018-04-12 10:44:33 +08: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-22 04:08:34 +08:00
|
|
|
flex-grow: 100;
|
2018-04-12 10:44:33 +08:00
|
|
|
position: relative;
|
|
|
|
overflow: auto;
|
|
|
|
flex-basis: content;
|
|
|
|
}
|
|
|
|
|
2018-03-27 12:22:02 +08:00
|
|
|
.note-detail-component {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-03-27 11:48:45 +08:00
|
|
|
#note-detail-text {
|
2017-12-02 23:37:12 +08:00
|
|
|
border: 0 !important;
|
|
|
|
box-shadow: none !important;
|
2017-06-12 09:04:04 +08:00
|
|
|
/* This is because with empty content height of editor is 0 and it's impossible to click into it */
|
2018-04-11 11:15:41 +08:00
|
|
|
min-height: 200px;
|
2017-09-24 11:54:38 +08:00
|
|
|
overflow: auto;
|
2017-06-12 09:04:04 +08:00
|
|
|
}
|
|
|
|
|
2018-01-27 11:32:44 +08:00
|
|
|
#note-detail-wrapper.protected, #note-detail-wrapper.protected .CodeMirror {
|
2017-09-05 09:37:55 +08:00
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
2018-03-27 11:48:45 +08:00
|
|
|
#note-detail-text p {
|
2017-08-22 09:05:23 +08:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2017-08-24 11:36:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.fancytree-container {
|
2017-08-27 23:36:20 +08:00
|
|
|
outline: none !important;
|
2017-08-24 11:36:16 +08:00
|
|
|
}
|
2017-08-27 23:36:20 +08:00
|
|
|
|
2017-08-28 02:39:26 +08:00
|
|
|
/* icons from https://feathericons.com */
|
2017-08-27 23:36:20 +08:00
|
|
|
span.fancytree-node > span.fancytree-icon {
|
2018-03-25 00:52:58 +08:00
|
|
|
background: url("../images/icons/file.png") 0 0;
|
2017-08-27 23:36:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
span.fancytree-node.fancytree-folder > span.fancytree-icon {
|
2018-03-25 00:52:58 +08:00
|
|
|
background: url("../images/icons/folder.png") 0 0;
|
2017-08-27 23:36:20 +08:00
|
|
|
}
|
|
|
|
|
2018-01-27 11:32:44 +08:00
|
|
|
span.fancytree-node.code > span.fancytree-icon {
|
2018-03-25 00:52:58 +08:00
|
|
|
background: url("../images/icons/code.png") 0 0;
|
2017-09-09 11:14:42 +08:00
|
|
|
}
|
|
|
|
|
2018-01-27 11:32:44 +08:00
|
|
|
span.fancytree-node.fancytree-folder.code > span.fancytree-icon {
|
2018-03-25 00:52:58 +08:00
|
|
|
background: url("../images/icons/code-folder.png") 0 0;
|
2018-01-27 11:32:44 +08:00
|
|
|
}
|
|
|
|
|
2018-03-11 22:49:22 +08:00
|
|
|
span.fancytree-node.file > span.fancytree-icon {
|
2018-03-25 00:52:58 +08:00
|
|
|
background: url("../images/icons/paperclip.png") 0 0;
|
2018-02-22 08:53:46 +08:00
|
|
|
}
|
|
|
|
|
2018-03-08 09:52:34 +08:00
|
|
|
span.fancytree-node.render > span.fancytree-icon {
|
2018-03-25 00:52:58 +08:00
|
|
|
background: url("../images/icons/play.png") 0 0;
|
2018-03-08 09:52:34 +08:00
|
|
|
}
|
|
|
|
|
2018-03-11 22:53:10 +08:00
|
|
|
span.fancytree-node.search > span.fancytree-icon {
|
2018-03-25 00:52:58 +08:00
|
|
|
background: url("../images/icons/search-small.png") 0 0;
|
2018-03-11 22:53:10 +08:00
|
|
|
}
|
|
|
|
|
2018-01-27 11:32:44 +08:00
|
|
|
span.fancytree-node.protected > span.fancytree-icon {
|
|
|
|
filter: drop-shadow(2px 2px 2px black);
|
2017-09-09 11:14:42 +08:00
|
|
|
}
|
|
|
|
|
2017-11-22 07:39:56 +08:00
|
|
|
span.fancytree-node.multiple-parents .fancytree-title {
|
2017-11-28 07:16:42 +08:00
|
|
|
text-decoration: underline dotted;
|
2017-11-22 07:39:56 +08:00
|
|
|
}
|
|
|
|
|
2017-11-23 08:40:06 +08:00
|
|
|
span.fancytree-node.fancytree-active-clone:not(.fancytree-active) .fancytree-title {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2017-12-29 09:53:31 +08: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-04 06:53:28 +08:00
|
|
|
.ui-autocomplete {
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-y: auto;
|
|
|
|
/* prevent horizontal scrollbar */
|
|
|
|
overflow-x: hidden;
|
2017-09-06 10:01:22 +08:00
|
|
|
}
|
|
|
|
|
2017-09-11 09:33:39 +08:00
|
|
|
.icon-action:hover {
|
|
|
|
text-decoration: none;
|
2017-09-06 10:01:22 +08:00
|
|
|
}
|
|
|
|
|
2017-12-05 07:21:57 +08:00
|
|
|
.icon-action {
|
|
|
|
cursor: pointer;
|
2018-03-08 12:58:34 +08:00
|
|
|
display: block;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
2017-12-05 07:21:57 +08:00
|
|
|
}
|
|
|
|
|
2017-11-15 11:21:56 +08:00
|
|
|
#protect-button, #unprotect-button {
|
2017-09-11 09:33:39 +08:00
|
|
|
display: none;
|
2017-10-06 08:15:45 +08:00
|
|
|
}
|
|
|
|
|
2017-12-16 11:35:42 +08:00
|
|
|
.ui-widget-content a:not(.ui-tabs-anchor) {
|
2017-10-06 08:15:45 +08:00
|
|
|
color: #337ab7 !important;
|
2017-10-07 10:46:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#header-title {
|
2018-02-04 01:44:22 +08:00
|
|
|
padding: 5px 20px 5px 10px;
|
2017-10-07 10:46:30 +08:00
|
|
|
font-size: large;
|
|
|
|
font-weight: bold;
|
2017-10-09 23:28:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#header .btn-xs {
|
|
|
|
margin-bottom: 2px;
|
|
|
|
margin-right: 8px;
|
2017-10-12 08:37:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
div.ui-tooltip {
|
|
|
|
max-width: 600px;
|
|
|
|
max-height: 600px;
|
|
|
|
overflow: auto;
|
2017-11-07 09:13:36 +08:00
|
|
|
}
|
|
|
|
|
2017-11-27 01:56:07 +08:00
|
|
|
.alert {
|
|
|
|
padding: 5px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2018-04-18 08:04:27 +08:00
|
|
|
#tree {
|
|
|
|
overflow: auto;
|
|
|
|
flex-grow: 100;
|
|
|
|
flex-shrink: 100;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
2017-12-07 09:19:41 +08:00
|
|
|
#parent-list {
|
|
|
|
display: none;
|
|
|
|
margin-left: 20px;
|
|
|
|
border-top: 2px solid #eee;
|
|
|
|
padding-top: 10px;
|
2018-02-06 09:53:04 +08:00
|
|
|
grid-area: parent-list;
|
2018-04-18 08:04:27 +08:00
|
|
|
max-height: 300px;
|
|
|
|
overflow: auto;
|
2017-12-07 09:19:41 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#parent-list ul {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
2017-12-13 10:40:55 +08: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-24 03:35:20 +08:00
|
|
|
/* Allow to use <kbd> elements inside the title to define shortcut hints. */
|
2017-12-27 08:54:43 +08:00
|
|
|
.ui-menu kbd, button kbd {
|
2017-12-24 03:35:20 +08:00
|
|
|
color: black;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2017-12-27 08:54:43 +08:00
|
|
|
.ui-menu kbd {
|
|
|
|
margin-left: 30px;
|
2018-01-02 07:53:52 +08:00
|
|
|
float: right;
|
2017-12-27 08:54:43 +08:00
|
|
|
}
|
|
|
|
|
2017-12-27 09:54:41 +08:00
|
|
|
#note-source {
|
|
|
|
height: 98%;
|
|
|
|
width: 100%;
|
|
|
|
overflow: scroll;
|
|
|
|
}
|
|
|
|
|
2018-01-03 09:52:36 +08:00
|
|
|
.suppressed {
|
|
|
|
filter: opacity(7%);
|
2018-01-20 08:36:41 +08:00
|
|
|
}
|
|
|
|
|
2018-01-22 12:06:25 +08:00
|
|
|
.dropdown-menu li:not(.divider) {
|
2018-01-20 08:36:41 +08:00
|
|
|
padding: 5px;
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
2018-01-22 12:06:25 +08:00
|
|
|
.dropdown-menu li:not(.divider):hover, .dropdown-menu li:not(.divider) a:hover {
|
2018-01-20 08:36:41 +08:00
|
|
|
background-color: #eee !important;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-01-22 12:06:25 +08:00
|
|
|
.dropdown-menu li:not(.selected) .check {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2018-01-20 08:36:41 +08:00
|
|
|
.dropdown-menu kbd
|
|
|
|
{
|
|
|
|
color: black;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu kbd {
|
|
|
|
float: right;
|
|
|
|
}
|
2018-01-21 23:33:32 +08:00
|
|
|
|
|
|
|
#note-detail-code {
|
2018-04-11 12:10:11 +08:00
|
|
|
min-height: 200px;
|
2018-01-21 23:33:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror {
|
2018-01-31 11:44:46 +08:00
|
|
|
font-family: "Liberation Mono", "Lucida Console", monospace;
|
2018-01-22 09:15:42 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#note-id-display {
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
2018-02-05 09:23:30 +08:00
|
|
|
bottom: 8px;
|
2018-01-22 09:15:42 +08:00
|
|
|
z-index: 1000;
|
2018-02-03 23:37:57 +08:00
|
|
|
color: lightgrey;
|
2018-01-22 12:06:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#note-type-dropdown {
|
|
|
|
max-height: 500px;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
2018-01-29 00:19:31 +08:00
|
|
|
}
|
|
|
|
|
2018-02-05 09:23:30 +08:00
|
|
|
.cm-matchhighlight {background-color: #eeeeee}
|
|
|
|
|
2018-03-25 10:02:26 +08:00
|
|
|
#label-list {
|
2018-02-05 09:23:30 +08:00
|
|
|
color: #777777;
|
|
|
|
border-top: 1px solid #eee;
|
|
|
|
padding: 5px; display: none;
|
|
|
|
}
|
|
|
|
|
2018-03-25 10:02:26 +08:00
|
|
|
#label-list button {
|
2018-02-05 09:23:30 +08:00
|
|
|
padding: 2px;
|
2018-02-05 11:44:15 +08:00
|
|
|
margin-right: 5px;
|
2018-02-19 10:28:24 +08:00
|
|
|
}
|
|
|
|
|
2018-03-28 10:11:06 +08:00
|
|
|
#file-table th, #file-table td {
|
2018-02-19 10:28:24 +08:00
|
|
|
padding: 10px;
|
|
|
|
font-size: large;
|
2018-04-09 10:38:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#children-overview {
|
2018-04-11 12:10:11 +08: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-09 10:38:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.child-overview {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: large;
|
|
|
|
padding: 10px;
|
2018-04-11 09:08:00 +08:00
|
|
|
background: #f4f4f4;
|
2018-04-09 10:38:52 +08:00
|
|
|
width: 150px;
|
2018-04-11 12:10:11 +08:00
|
|
|
height: 90px;
|
|
|
|
line-height: 2em;
|
2018-04-09 10:38:52 +08:00
|
|
|
margin-right: 20px;
|
|
|
|
border-radius: 15px;
|
|
|
|
overflow: hidden;
|
2018-04-11 09:08:00 +08:00
|
|
|
text-align: center;
|
2018-04-11 11:15:41 +08:00
|
|
|
margin-top: 15px;
|
2018-04-11 12:10:11 +08:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
word-wrap: break-word;
|
2018-04-11 09:08:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.child-overview a {
|
|
|
|
color: #444;
|
2018-02-05 09:23:30 +08:00
|
|
|
}
|