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"
|
|
|
|
"tree-actions title"
|
2017-11-22 09:04:06 +08:00
|
|
|
"tree note-content"
|
|
|
|
"parent-list note-content";
|
2017-09-25 08:22:07 +08:00
|
|
|
grid-template-columns: 2fr 5fr;
|
2017-09-24 23:52:16 +08:00
|
|
|
grid-template-rows: auto
|
2017-10-07 10:46:30 +08:00
|
|
|
auto
|
2017-09-24 23:52:16 +08:00
|
|
|
1fr;
|
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;
|
|
|
|
}
|
|
|
|
|
2017-12-02 23:37:12 +08:00
|
|
|
#note-detail {
|
|
|
|
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 */
|
|
|
|
min-height: 400px;
|
2017-09-24 11:54:38 +08:00
|
|
|
overflow: auto;
|
2017-06-12 09:04:04 +08:00
|
|
|
}
|
|
|
|
|
2017-12-17 10:27:42 +08:00
|
|
|
#note-detail-wrapper.protected {
|
2017-09-05 09:37:55 +08:00
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
2017-12-02 23:37:12 +08:00
|
|
|
#note-detail 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
|
|
|
overflow: auto;
|
|
|
|
position: relative;
|
|
|
|
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 {
|
|
|
|
background-position: 0 0;
|
2017-10-16 07:47:05 +08:00
|
|
|
background-image: url("../images/icons/file.png");
|
2017-08-27 23:36:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
span.fancytree-node.fancytree-folder > span.fancytree-icon {
|
|
|
|
background-position: 0 0;
|
2017-10-16 07:47:05 +08:00
|
|
|
background-image: url("../images/icons/folder.png");
|
2017-08-27 23:36:20 +08:00
|
|
|
}
|
|
|
|
|
2017-11-15 11:21:56 +08:00
|
|
|
span.fancytree-node.protected > span.fancytree-icon {
|
2017-09-09 11:14:42 +08:00
|
|
|
background-position: 0 0;
|
2017-10-16 07:47:05 +08:00
|
|
|
background-image: url("../images/icons/file-shaded.png");
|
2017-09-09 11:14:42 +08:00
|
|
|
}
|
|
|
|
|
2017-11-15 11:21:56 +08:00
|
|
|
span.fancytree-node.protected.fancytree-folder > span.fancytree-icon {
|
2017-09-09 11:14:42 +08:00
|
|
|
background-position: 0 0;
|
2017-10-16 07:47:05 +08:00
|
|
|
background-image: url("../images/icons/folder-shaded.png");
|
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-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;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
padding: 5px 50px 5px 10px;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2017-12-07 09:19:41 +08:00
|
|
|
#parent-list {
|
|
|
|
display: none;
|
|
|
|
margin-left: 20px;
|
|
|
|
border-top: 2px solid #eee;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#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
|
|
|
float: right;
|
|
|
|
color: black;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2017-12-27 08:54:43 +08:00
|
|
|
.ui-menu kbd {
|
|
|
|
margin-left: 30px;
|
|
|
|
}
|
|
|
|
|
2017-12-25 22:46:11 +08:00
|
|
|
#note-id-display {
|
|
|
|
color: lightgrey;
|
2017-12-27 01:55:40 +08:00
|
|
|
margin-left: 10px;
|
2017-12-25 22:46:11 +08:00
|
|
|
}
|
|
|
|
|
2017-12-27 09:54:41 +08:00
|
|
|
#note-source {
|
|
|
|
height: 98%;
|
|
|
|
width: 100%;
|
|
|
|
overflow: scroll;
|
|
|
|
}
|
|
|
|
|
2017-12-01 12:53:15 +08:00
|
|
|
#loader-wrapper{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1000;background-color:#fff;opacity:1;transition:opacity 2s ease}
|
2017-12-01 12:56:11 +08:00
|
|
|
#loader{display:block;position:relative;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;border:3px solid transparent;border-top-color:#777;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}
|
|
|
|
#loader:before{content:"";position:absolute;top:5px;left:5px;right:5px;bottom:5px;border-radius:50%;border:3px solid transparent;border-top-color:#aaa;-webkit-animation:spin 3s linear infinite;animation:spin 3s linear infinite}
|
|
|
|
#loader:after{content:"";position:absolute;top:15px;left:15px;right:15px;bottom:15px;border-radius:50%;border:3px solid transparent;border-top-color:#ddd;-webkit-animation:spin 1.5s linear infinite;animation:spin 1.5s linear infinite}
|
2017-12-01 12:53:15 +08:00
|
|
|
@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}
|
|
|
|
@keyframes spin{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}
|