2019-01-14 01:57:46 +08:00
|
|
|
html {
|
|
|
|
/* this fixes FF filter vs. position fixed bug: https://github.com/zadam/trilium/issues/233 */
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2018-10-12 19:40:06 +08:00
|
|
|
body {
|
|
|
|
/* Fix for CKEditor block gutter icon "stretching" body and causing scrollbar to appear after pressing enter
|
|
|
|
on the last line of the editor. */
|
|
|
|
position: fixed;
|
2019-01-08 06:17:12 +08:00
|
|
|
width: 100%;
|
2019-01-14 01:57:46 +08:00
|
|
|
}
|
|
|
|
|
2019-04-30 03:31:19 +08:00
|
|
|
button.btn, button.btn-sm {
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
2019-01-14 01:57:46 +08:00
|
|
|
.input-group-text {
|
2019-01-14 05:03:06 +08:00
|
|
|
background-color: var(--accented-background-color) !important;
|
|
|
|
color: var(--muted-text-color) !important;
|
2019-01-14 01:57:46 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
button.close {
|
|
|
|
color: var(--main-text-color);
|
|
|
|
}
|
|
|
|
|
2019-05-08 03:04:07 +08:00
|
|
|
button.close:hover {
|
|
|
|
color: var(--hover-item-text-color);
|
|
|
|
}
|
|
|
|
|
2019-01-14 01:57:46 +08:00
|
|
|
.modal-content {
|
|
|
|
background-color: var(--modal-background-color) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-link.active {
|
2019-02-27 05:51:33 +08:00
|
|
|
background-color: inherit !important;
|
2019-01-14 01:57:46 +08:00
|
|
|
color: var(--main-text-color) !important;
|
2018-10-12 19:40:06 +08:00
|
|
|
}
|
|
|
|
|
2019-01-07 03:59:19 +08:00
|
|
|
ul.fancytree-container {
|
|
|
|
/* override specific size from fancytree.css */
|
|
|
|
font-family: inherit !important;
|
|
|
|
font-size: inherit !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fancytree-title {
|
|
|
|
margin-left: 7px !important;
|
|
|
|
}
|
|
|
|
|
2018-12-31 04:13:35 +08:00
|
|
|
.fancytree-node:not(.fancytree-loading) .fancytree-expander {
|
2018-12-28 05:38:19 +08:00
|
|
|
background: none;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2018-12-31 04:13:35 +08:00
|
|
|
.fancytree-node:not(.fancytree-loading) .fancytree-expander:before {
|
2018-12-28 05:38:19 +08:00
|
|
|
font-family: 'jam-icons' !important;
|
|
|
|
speak: none;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
font-variant: normal;
|
|
|
|
text-transform: none;
|
|
|
|
line-height: 1;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
content: "\e9bc";
|
|
|
|
}
|
|
|
|
|
|
|
|
/* this is done to preserve correct indentation. Better solution would be preferable */
|
|
|
|
.fancytree-node:not(.fancytree-folder) .fancytree-expander:before {
|
2019-01-28 04:54:24 +08:00
|
|
|
color: var(--main-background-color); /* setting to background color makes this invisible */
|
2018-12-28 05:38:19 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.fancytree-node.fancytree-expanded .fancytree-expander:before {
|
|
|
|
content: "\e9ba";
|
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-title[readonly] {
|
2018-12-28 03:22:33 +08:00
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
|
2018-09-06 15:33:38 +08:00
|
|
|
.tdialog {
|
2018-11-06 22:25:07 +08:00
|
|
|
display: none;
|
2018-09-06 15:33:38 +08:00
|
|
|
}
|
|
|
|
|
2019-05-04 06:16:41 +08:00
|
|
|
.note-tab-content-template {
|
|
|
|
display: none !important;
|
2019-05-03 04:24:43 +08:00
|
|
|
}
|
|
|
|
|
2019-05-01 16:17:17 +08:00
|
|
|
.note-tab-content {
|
2019-07-21 16:17:08 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-detail-content {
|
2018-04-12 10:44:33 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-08-07 02:05:05 +08:00
|
|
|
flex-grow: 100;
|
2019-05-01 15:52:45 +08:00
|
|
|
height: 100%;
|
2018-04-12 10:44:33 +08:00
|
|
|
}
|
|
|
|
|
2019-07-21 16:17:08 +08:00
|
|
|
.note-detail-sidebar {
|
2019-07-22 03:55:48 +08:00
|
|
|
min-width: 350px;
|
2019-08-07 03:36:54 +08:00
|
|
|
max-width: 350px;
|
2019-07-21 16:17:08 +08:00
|
|
|
overflow: auto;
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-left: 7px;
|
2019-07-22 03:55:48 +08:00
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
2019-07-21 16:17:08 +08:00
|
|
|
.note-detail-sidebar .card {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-detail-sidebar .card-header {
|
|
|
|
background: inherit;
|
2019-07-28 19:45:50 +08:00
|
|
|
padding: 3px 10px 3px 10px;
|
2019-07-25 04:52:51 +08:00
|
|
|
width: 100%;
|
|
|
|
background-color: var(--button-background-color);
|
|
|
|
border-color: var(--button-border-color);
|
|
|
|
border-width: 1px 0 1px 0;
|
|
|
|
border-style: solid;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-detail-sidebar .widget-title {
|
|
|
|
border-radius: 0;
|
2019-07-21 16:17:08 +08:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
2019-07-25 04:52:51 +08:00
|
|
|
background: inherit;
|
|
|
|
font-weight: bold;
|
2019-07-21 16:17:08 +08:00
|
|
|
}
|
|
|
|
|
2019-07-25 04:52:51 +08:00
|
|
|
.note-detail-sidebar .widget-header-actions {
|
2019-08-17 16:45:20 +08:00
|
|
|
padding-right: 10px;
|
2019-07-21 16:17:08 +08:00
|
|
|
}
|
|
|
|
|
2019-07-25 04:52:51 +08:00
|
|
|
.note-detail-sidebar .widget-header-action {
|
|
|
|
color: var(--link-color) !important;
|
|
|
|
cursor: pointer;
|
2019-07-21 16:17:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-detail-sidebar .card-body {
|
2019-07-22 03:55:48 +08:00
|
|
|
width: 100%;
|
2019-07-21 16:17:08 +08:00
|
|
|
padding: 8px;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.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-11-19 05:49:53 +08:00
|
|
|
height: 100%;
|
2018-11-21 05:49:10 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-01-02 03:53:18 +08:00
|
|
|
min-height: 200px;
|
2019-08-02 03:36:55 +08:00
|
|
|
overflow-wrap: break-word; /* otherwise CKEditor fails miserably on super long lines */
|
2019-05-15 04:29:47 +08:00
|
|
|
font-family: var(--detail-font-family);
|
|
|
|
font-size: var(--detail-font-size);
|
2018-04-12 10:44:33 +08:00
|
|
|
}
|
|
|
|
|
2018-03-27 12:22:02 +08:00
|
|
|
.note-detail-component {
|
2018-11-21 05:49:10 +08:00
|
|
|
flex-grow: 100;
|
2018-03-27 12:22:02 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-detail-text h1 { font-size: 2.0em; }
|
|
|
|
.note-detail-text h2 { font-size: 1.8em; }
|
|
|
|
.note-detail-text h3 { font-size: 1.6em; }
|
|
|
|
.note-detail-text h4 { font-size: 1.4em; }
|
|
|
|
.note-detail-text h5 { font-size: 1.2em; }
|
|
|
|
.note-detail-text h6 { font-size: 1.1em; }
|
2018-11-09 21:36:27 +08:00
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-detail-text {
|
2019-07-01 01:41:26 +08:00
|
|
|
overflow: auto;
|
|
|
|
font-family: var(--detail-text-font-family);
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-detail-text-editor {
|
|
|
|
padding-top: 10px;
|
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;
|
2019-02-03 03:45:38 +08:00
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-detail-text p:first-child, .note-detail-text::before {
|
2019-02-03 03:45:38 +08:00
|
|
|
margin-top: 0;
|
2017-06-12 09:04:04 +08:00
|
|
|
}
|
|
|
|
|
2018-11-14 20:42:50 +08:00
|
|
|
/** we disable shield background when in distraction free mode because I couldn't get it to stay static
|
|
|
|
(it kept growing with content) */
|
2019-05-01 16:17:17 +08:00
|
|
|
#container:not(.distraction-free-mode) .note-tab-content.protected {
|
2018-11-09 21:36:27 +08:00
|
|
|
/* DON'T COLLAPSE THE RULES INTO SINGLE ONE, BACKGROUND WON'T DISPLAY */
|
2018-12-09 20:37:28 +08:00
|
|
|
background: url('../images/shield.svg') no-repeat;
|
2018-08-17 15:32:07 +08:00
|
|
|
background-size: contain;
|
2018-11-09 21:36:27 +08:00
|
|
|
background-position: center;
|
2017-09-05 09:37:55 +08:00
|
|
|
}
|
|
|
|
|
2017-08-24 11:36:16 +08:00
|
|
|
ul.fancytree-container {
|
2017-08-27 23:36:20 +08:00
|
|
|
outline: none !important;
|
2019-01-14 01:57:46 +08:00
|
|
|
background-color: inherit !important;
|
2017-08-24 11:36:16 +08:00
|
|
|
}
|
2017-08-27 23:36:20 +08:00
|
|
|
|
2018-11-14 15:28:38 +08:00
|
|
|
.fancytree-custom-icon {
|
|
|
|
font-size: 1.3em;
|
|
|
|
}
|
|
|
|
|
2019-01-14 01:57:46 +08:00
|
|
|
span.fancytree-title {
|
|
|
|
color: inherit !important;
|
|
|
|
background: inherit !important;
|
|
|
|
}
|
|
|
|
|
2018-11-14 15:23:34 +08:00
|
|
|
span.fancytree-node.protected > span.fancytree-custom-icon {
|
2018-01-27 11:32:44 +08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2018-05-27 04:16:34 +08:00
|
|
|
/* first nesting level has lower left padding to avoid extra left padding. Other levels are not affected */
|
|
|
|
.ui-fancytree > li > ul {
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
2019-06-11 03:47:08 +08:00
|
|
|
span.fancytree-active .fancytree-title {
|
2019-01-24 04:13:04 +08:00
|
|
|
font-weight: bold;
|
2019-06-16 16:53:30 +08:00
|
|
|
border-color: var(--main-border-color) !important;
|
|
|
|
border-radius: 5px;
|
2019-01-24 04:13:04 +08:00
|
|
|
}
|
|
|
|
|
2019-06-18 04:30:26 +08:00
|
|
|
span.fancytree-active:not(.fancytree-focused) .fancytree-title {
|
|
|
|
border-style: dashed !important;
|
|
|
|
}
|
|
|
|
|
2019-06-11 03:47:08 +08:00
|
|
|
span.fancytree-focused .fancytree-title, span.fancytree-focused.fancytree-selected .fancytree-title {
|
|
|
|
color: var(--active-item-text-color) !important;
|
|
|
|
background-color: var(--active-item-background-color) !important;
|
|
|
|
border-color: var(--main-background-color) !important; /* invisible border */
|
2019-06-16 16:41:22 +08:00
|
|
|
border-radius: 5px;
|
2019-01-07 01:58:12 +08:00
|
|
|
}
|
|
|
|
|
2019-06-11 03:47:08 +08:00
|
|
|
span.fancytree-selected .fancytree-title {
|
2019-01-14 01:57:46 +08:00
|
|
|
color: var(--hover-item-text-color) !important;
|
|
|
|
background-color: var(--hover-item-background-color) !important;
|
2019-06-11 03:47:08 +08:00
|
|
|
border-color: var(--main-background-color) !important; /* invisible border */
|
2019-06-16 16:41:22 +08:00
|
|
|
border-radius: 5px;
|
2019-01-24 04:13:04 +08:00
|
|
|
font-style: italic;
|
2019-01-07 01:58:12 +08:00
|
|
|
}
|
|
|
|
|
2019-06-11 03:47:08 +08:00
|
|
|
span.fancytree-node:hover span.fancytree-title {
|
2019-02-03 17:09:59 +08:00
|
|
|
border-color: var(--main-border-color) !important;
|
2019-06-16 16:41:22 +08:00
|
|
|
border-radius: 5px;
|
2017-12-29 09:53:31 +08:00
|
|
|
}
|
|
|
|
|
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-11-09 18:57:52 +08:00
|
|
|
font-size: 1.5em;
|
2017-12-05 07:21:57 +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
|
|
|
}
|
|
|
|
|
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-06-05 08:22:41 +08:00
|
|
|
#search-results {
|
|
|
|
padding: 0 5px 5px 15px;
|
|
|
|
flex-basis: 40%;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
2018-04-18 08:04:27 +08:00
|
|
|
margin-top: 10px;
|
2018-06-05 08:22:41 +08:00
|
|
|
display: none;
|
|
|
|
overflow: auto;
|
2019-02-03 17:09:59 +08:00
|
|
|
border-bottom: 2px solid var(--main-border-color);
|
2018-06-05 08:22:41 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#search-results ul {
|
|
|
|
padding: 5px 5px 5px 15px;
|
2018-04-18 08:04:27 +08:00
|
|
|
}
|
|
|
|
|
2019-02-03 18:15:32 +08:00
|
|
|
#search-text {
|
|
|
|
border: 1px solid var(--main-border-color);
|
|
|
|
}
|
|
|
|
|
2017-12-13 10:40:55 +08:00
|
|
|
/*
|
|
|
|
* .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 {
|
2019-01-14 01:57:46 +08:00
|
|
|
color: var(--muted-text-color);
|
2017-12-24 03:35:20 +08:00
|
|
|
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 {
|
2018-06-10 22:53:39 +08:00
|
|
|
display: none;
|
2018-01-20 08:36:41 +08:00
|
|
|
}
|
|
|
|
|
2019-01-14 01:57:46 +08:00
|
|
|
.dropdown-menu {
|
|
|
|
color: var(--menu-text-color) !important;
|
|
|
|
background-color: var(--menu-background-color) !important;
|
|
|
|
}
|
|
|
|
|
2019-03-20 05:56:37 +08:00
|
|
|
.dropdown-menu .disabled {
|
|
|
|
color: #888 !important;
|
|
|
|
}
|
|
|
|
|
2019-04-02 03:11:20 +08:00
|
|
|
.dropdown-menu a:hover:not(.disabled), li.dropdown-item:hover:not(.disabled) {
|
2019-01-14 01:57:46 +08:00
|
|
|
color: var(--hover-item-text-color) !important;
|
|
|
|
background-color: var(--hover-item-background-color) !important;
|
2018-01-20 08:36:41 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-11-06 04:12:03 +08:00
|
|
|
.dropdown-menu a:not(.selected) .check {
|
2018-01-22 12:06:25 +08:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2018-01-20 08:36:41 +08:00
|
|
|
.dropdown-menu kbd
|
|
|
|
{
|
2019-01-14 01:57:46 +08:00
|
|
|
color: var(--muted-text-color);
|
2018-01-20 08:36:41 +08:00
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu kbd {
|
|
|
|
float: right;
|
|
|
|
}
|
2018-01-21 23:33:32 +08:00
|
|
|
|
2019-04-02 03:38:21 +08:00
|
|
|
.dropdown-item {
|
|
|
|
color: var(--menu-text-color) !important;
|
|
|
|
}
|
|
|
|
|
2018-11-06 19:46:29 +08:00
|
|
|
.dropdown-item.disabled, .dropdown-item.disabled kbd {
|
|
|
|
color: #aaa !important;
|
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-detail-code {
|
2018-05-27 07:58:08 +08:00
|
|
|
overflow: auto;
|
2018-01-21 23:33:32 +08:00
|
|
|
}
|
|
|
|
|
2019-07-04 02:37:59 +08:00
|
|
|
.note-detail-code-editor {
|
|
|
|
min-height: 200px;
|
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-detail-render {
|
2018-05-27 07:27:47 +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-05-27 03:28:36 +08:00
|
|
|
height: auto;
|
2018-08-17 15:32:07 +08:00
|
|
|
background: inherit;
|
2018-01-22 09:15:42 +08:00
|
|
|
}
|
|
|
|
|
2018-05-27 07:58:08 +08:00
|
|
|
.CodeMirror-scroll {
|
|
|
|
min-height: 200px;
|
|
|
|
}
|
|
|
|
|
2019-02-03 06:26:39 +08:00
|
|
|
.CodeMirror-gutters {
|
|
|
|
background-color: inherit !important;
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-type-dropdown {
|
2018-01-22 12:06:25 +08:00
|
|
|
max-height: 500px;
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
2018-01-29 00:19:31 +08:00
|
|
|
}
|
|
|
|
|
2019-08-07 02:05:05 +08:00
|
|
|
.cm-matchhighlight {
|
|
|
|
background-color: #eeeeee
|
2018-02-19 10:28:24 +08:00
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.file-table th, .file-table td {
|
2018-02-19 10:28:24 +08:00
|
|
|
padding: 10px;
|
2019-01-14 04:04:08 +08:00
|
|
|
font-size: larger;
|
2018-04-09 10:38:52 +08:00
|
|
|
}
|
|
|
|
|
2019-05-05 04:44:25 +08:00
|
|
|
.children-overview {
|
2018-04-11 12:10:11 +08:00
|
|
|
flex-grow: 1000;
|
|
|
|
flex-shrink: 1000;
|
2018-11-21 05:49:10 +08:00
|
|
|
flex-basis: 0;
|
2018-04-11 12:10:11 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-content: flex-start;
|
2018-11-21 05:49:10 +08:00
|
|
|
height: 110px;
|
2018-04-11 12:10:11 +08:00
|
|
|
overflow: auto;
|
2018-04-09 10:38:52 +08:00
|
|
|
}
|
|
|
|
|
2019-01-27 21:26:39 +08:00
|
|
|
.child-overview-item {
|
2018-04-09 10:38:52 +08:00
|
|
|
font-weight: bold;
|
|
|
|
padding: 10px;
|
2019-01-14 01:57:46 +08:00
|
|
|
background: var(--accented-background-color);
|
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;
|
2019-08-02 03:36:55 +08:00
|
|
|
overflow-wrap: break-word;
|
2018-04-11 09:08:00 +08:00
|
|
|
}
|
|
|
|
|
2019-01-27 21:26:39 +08:00
|
|
|
.child-overview-item a {
|
2019-01-14 01:57:46 +08:00
|
|
|
color: var(--muted-text-color);
|
2018-05-22 08:12:46 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#sql-console-query {
|
|
|
|
height: 150px;
|
|
|
|
width: 100%;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sql-console-query .CodeMirror {
|
|
|
|
height: 150px;
|
2018-05-27 10:54:06 +08:00
|
|
|
}
|
|
|
|
|
2019-01-14 01:57:46 +08:00
|
|
|
.btn {
|
|
|
|
border-radius: var(--button-border-radius);
|
|
|
|
}
|
|
|
|
|
2019-01-09 02:47:35 +08:00
|
|
|
.btn:not(.btn-primary):not(.btn-secondary):not(.btn-danger) {
|
2019-01-14 01:57:46 +08:00
|
|
|
border-color: var(--button-border-color);
|
|
|
|
background-color: var(--button-background-color);
|
|
|
|
color: var(--button-text-color);
|
2018-06-01 08:00:39 +08:00
|
|
|
}
|
|
|
|
|
2018-06-06 11:28:10 +08:00
|
|
|
.btn.active:not(.btn-primary) {
|
2019-02-03 06:26:39 +08:00
|
|
|
background-color: var(--button-disabled-background-color) !important;
|
2018-06-01 11:21:47 +08:00
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-path-list a.current {
|
2018-06-01 11:21:47 +08:00
|
|
|
font-weight: bold;
|
2018-06-09 10:17:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
button.icon-button {
|
2018-11-09 18:57:52 +08:00
|
|
|
font-size: 1.5em;
|
|
|
|
padding: 2px;
|
2018-06-09 11:18:53 +08:00
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-actions {
|
2018-06-09 21:44:40 +08:00
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-actions .dropdown-menu {
|
2018-06-09 21:44:40 +08:00
|
|
|
width: 15em;
|
|
|
|
}
|
|
|
|
|
2019-02-10 02:48:19 +08:00
|
|
|
#global-menu .dropdown-menu {
|
|
|
|
width: 20em;
|
|
|
|
}
|
|
|
|
|
2018-08-04 04:56:23 +08:00
|
|
|
.ck.ck-block-toolbar-button {
|
2019-04-30 03:52:28 +08:00
|
|
|
transform: translateX(7px);
|
2019-04-28 23:37:28 +08:00
|
|
|
color: var(--muted-text-color);
|
|
|
|
background-color: var(--main-background-color);
|
2019-04-30 03:52:28 +08:00
|
|
|
/* Making this narrower because https://github.com/zadam/trilium/issues/502 (problem only in smaller font sizes) */
|
|
|
|
min-width: 0;
|
|
|
|
padding: 0;
|
2018-08-06 20:43:42 +08:00
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-detail-promoted-attributes {
|
2018-08-06 20:43:42 +08:00
|
|
|
margin: auto;
|
2019-01-02 03:53:18 +08:00
|
|
|
/* setting the display to block since "table" doesn't support scrolling */
|
|
|
|
display: block;
|
|
|
|
flex-basis: content;
|
|
|
|
flex-shrink: 1;
|
2019-01-03 03:21:34 +08:00
|
|
|
flex-grow: 0;
|
2019-01-02 03:53:18 +08:00
|
|
|
overflow: auto;
|
2018-08-06 23:24:35 +08:00
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-detail-promoted-attributes td, .note-detail-promoted-attributes th {
|
2018-08-06 23:24:35 +08:00
|
|
|
padding: 5px;
|
2018-08-06 23:53:13 +08:00
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-detail-image {
|
2018-11-15 19:13:32 +08:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-detail-image-view {
|
2018-11-15 19:13:32 +08:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-02-03 07:12:57 +08:00
|
|
|
pre:not(.CodeMirror-line) {
|
2019-02-03 06:51:00 +08:00
|
|
|
color: var(--main-text-color) !important;
|
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.file-preview-content {
|
2019-02-03 06:51:00 +08:00
|
|
|
background-color: var(--accented-background-color);
|
2018-11-17 01:40:58 +08:00
|
|
|
padding: 15px;
|
|
|
|
max-width: 600px;
|
|
|
|
max-height: 300px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2018-08-06 23:53:13 +08:00
|
|
|
.pointer {
|
|
|
|
cursor: pointer;
|
2018-08-07 04:29:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.show-recent-notes-button {
|
|
|
|
cursor: pointer;
|
2018-11-09 18:57:52 +08:00
|
|
|
font-size: 1.3em;
|
2018-11-14 18:17:20 +08:00
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
2018-11-14 06:16:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.input-clearer-button {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1.3em;
|
|
|
|
background: inherit !important;
|
|
|
|
padding-left: 5px;
|
2018-11-14 18:17:20 +08:00
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
2018-11-14 18:24:40 +08:00
|
|
|
.open-external-link-button {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1.3em;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
2018-11-14 18:17:20 +08:00
|
|
|
.go-to-selected-note-button {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1.3em;
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 3px;
|
|
|
|
}
|
|
|
|
|
2018-11-15 02:33:48 +08:00
|
|
|
.go-to-selected-note-button.disabled, .go-to-selected-note-button.disabled:hover {
|
2018-11-14 18:17:20 +08:00
|
|
|
cursor: inherit;
|
2019-02-03 06:26:39 +08:00
|
|
|
color: var(--button-disabled-background-color) !important;
|
2018-11-14 06:16:26 +08:00
|
|
|
}
|
|
|
|
|
2018-11-14 18:17:20 +08:00
|
|
|
.note-autocomplete-input {
|
|
|
|
/* this is for seamless integration of "input clearer" button */
|
2018-11-14 06:16:26 +08:00
|
|
|
border-right: 0;
|
2018-08-22 21:31:36 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
table.promoted-attributes-in-tooltip {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th {
|
|
|
|
padding: 10px;
|
2018-08-29 02:55:21 +08:00
|
|
|
}
|
|
|
|
|
2019-05-03 04:24:43 +08:00
|
|
|
.note-detail-render-help {
|
2018-08-29 02:55:21 +08:00
|
|
|
margin: 50px;
|
|
|
|
padding: 20px;
|
2018-11-06 19:46:29 +08:00
|
|
|
}
|
|
|
|
|
2019-04-01 03:19:10 +08:00
|
|
|
.tooltip {
|
|
|
|
font-size: var(--main-font-size) !important;
|
|
|
|
}
|
2018-11-21 06:50:19 +08:00
|
|
|
|
2018-11-07 02:35:42 +08:00
|
|
|
.tooltip-inner {
|
2019-04-01 03:19:10 +08:00
|
|
|
background-color: var(--tooltip-background-color) !important;
|
|
|
|
max-width: 500px;
|
2018-11-14 17:36:14 +08:00
|
|
|
/* height needs to stay small because tooltip has problem when it can't fit to either top or bottom of the cursor */
|
|
|
|
max-height: 300px;
|
2018-11-07 02:35:42 +08:00
|
|
|
overflow: hidden;
|
2019-02-03 17:09:59 +08:00
|
|
|
border: 1px solid var(--main-border-color);
|
2019-01-05 18:49:17 +08:00
|
|
|
border-radius: 5px;
|
2018-11-07 02:35:42 +08:00
|
|
|
text-align: left;
|
2019-04-01 03:19:10 +08:00
|
|
|
color: var(--main-text-color) !important;
|
2018-11-07 02:35:42 +08:00
|
|
|
}
|
|
|
|
|
2018-11-14 17:36:14 +08:00
|
|
|
.tooltip-inner img {
|
|
|
|
max-width: 250px;
|
|
|
|
max-height: 250px;
|
|
|
|
}
|
|
|
|
|
2018-11-19 18:47:40 +08:00
|
|
|
.tooltip-inner figure.image-style-side {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2018-11-07 02:35:42 +08:00
|
|
|
.tooltip.show {
|
|
|
|
opacity: 1;
|
2018-11-07 07:23:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-autocomplete {
|
|
|
|
width: calc(100% - 30px);
|
|
|
|
z-index: 2000 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-autocomplete .aa-input, .algolia-autocomplete .aa-hint {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-autocomplete .aa-dropdown-menu {
|
|
|
|
width: 100%;
|
2019-01-14 01:57:46 +08:00
|
|
|
background-color: var(--main-background-color);
|
2019-02-03 17:09:59 +08:00
|
|
|
border: 1px solid var(--main-border-color);
|
2018-11-07 07:23:50 +08:00
|
|
|
border-top: none;
|
|
|
|
z-index: 2000 !important;
|
|
|
|
max-height: 500px;
|
|
|
|
overflow: auto;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion {
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 5px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2018-11-13 06:34:22 +08:00
|
|
|
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion p {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2018-11-07 07:23:50 +08:00
|
|
|
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion.aa-cursor {
|
2019-01-14 01:57:46 +08:00
|
|
|
color: var(--hover-item-text-color);
|
|
|
|
background-color: var(--hover-item-background-color);
|
2018-11-07 07:23:50 +08:00
|
|
|
}
|
2018-11-09 04:36:35 +08:00
|
|
|
|
|
|
|
.help-button {
|
|
|
|
float: right;
|
|
|
|
background: none;
|
|
|
|
font-weight: 900;
|
|
|
|
color: orange;
|
|
|
|
border: 0;
|
|
|
|
cursor: pointer;
|
2018-11-09 06:48:49 +08:00
|
|
|
}
|
|
|
|
|
2018-11-13 06:34:22 +08:00
|
|
|
.multiplicity {
|
2018-11-14 18:24:40 +08:00
|
|
|
font-size: 1.3em;
|
2018-11-14 05:22:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* this is because bootstrap (?) sets code color to red for some reason */
|
|
|
|
code {
|
|
|
|
color: inherit !important;
|
2018-11-22 23:08:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.animated {
|
|
|
|
animation-duration: 1s;
|
|
|
|
animation-fill-mode: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeInDown {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translate3d(0, -100%, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translate3d(0, 0, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fadeInDown {
|
|
|
|
animation-name: fadeInDown;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeOutUp {
|
|
|
|
from {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transform: translate3d(0, -100%, 0);
|
|
|
|
transform: translate3d(0, -100%, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fadeOutUp {
|
|
|
|
animation-name: fadeOutUp;
|
|
|
|
}
|
|
|
|
|
|
|
|
div[data-notify="container"] {
|
|
|
|
text-align: center;
|
2018-11-23 03:25:49 +08:00
|
|
|
}
|
|
|
|
|
2019-05-04 03:50:14 +08:00
|
|
|
.saved-indicator {
|
2019-01-14 04:04:08 +08:00
|
|
|
font-size: 150%;
|
2018-11-24 21:44:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#export-form .form-check {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#export-form .format-choice {
|
|
|
|
padding-left: 40px;
|
|
|
|
display: none;
|
2018-11-25 17:26:45 +08:00
|
|
|
}
|
|
|
|
|
2019-02-17 06:33:40 +08:00
|
|
|
#export-form #opml-versions {
|
|
|
|
padding-left: 60px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-11-25 17:26:45 +08:00
|
|
|
#export-form .form-check-label {
|
|
|
|
padding: 2px;
|
2018-12-16 03:29:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.unhoist-button {
|
|
|
|
text-decoration: underline !important;
|
2019-05-12 01:27:33 +08:00
|
|
|
color: var(--link-color) !important;
|
2018-12-16 03:29:08 +08:00
|
|
|
cursor: pointer !important;
|
2018-12-28 03:04:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#protected-session-password-component {
|
|
|
|
max-width: 450px;
|
|
|
|
margin: auto;
|
|
|
|
padding-top: 50px;
|
2018-12-31 02:02:42 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.ck-editor__is-empty.ck-content.ck-editor__editable::before {
|
|
|
|
content: 'You can start writing note here ...';
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
margin: var(--ck-spacing-large) 0;
|
|
|
|
|
2019-02-03 06:51:00 +08:00
|
|
|
color: var(--muted-text-color);
|
2018-12-31 04:13:35 +08:00
|
|
|
}
|
|
|
|
|
2019-04-28 23:37:28 +08:00
|
|
|
.ck-content .table table th {
|
|
|
|
background-color: var(--accented-background-color);
|
2019-03-25 03:16:05 +08:00
|
|
|
}
|
|
|
|
|
2018-12-31 04:13:35 +08:00
|
|
|
.fancytree-loading span.fancytree-expander {
|
|
|
|
background-image: none !important;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fancytree-loading span.fancytree-expander:after {
|
|
|
|
content: " ";
|
|
|
|
display: block;
|
|
|
|
border-radius: 50%;
|
|
|
|
border-color: #000 transparent #000 transparent;
|
|
|
|
animation: lds-dual-ring 1.2s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes lds-dual-ring {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
2019-01-14 03:14:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content .image > figcaption {
|
2019-02-27 05:59:38 +08:00
|
|
|
color: var(--main-text-color) !important;
|
|
|
|
background-color: var(--accented-background-color) !important;
|
2019-01-14 05:03:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#options-dialog input[type=number] {
|
|
|
|
text-align: right;
|
2019-02-14 06:06:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.help-cards ul {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.help-cards kbd {
|
|
|
|
color: var(--main-text-color);
|
|
|
|
background-color: var(--accented-background-color);
|
|
|
|
border: 1px solid var(--main-border-color);
|
|
|
|
padding: 2px;
|
2019-02-14 06:27:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#sql-console-tables button {
|
|
|
|
padding: 0.25rem 0.4rem;
|
|
|
|
font-size: 0.875rem;
|
|
|
|
line-height: 0.5;
|
|
|
|
border-radius: 0.2rem;
|
2019-02-17 01:49:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
a.external:after, a[href^="http://"]:after, a[href^="https://"]:after {
|
|
|
|
font-size: smaller;
|
|
|
|
content: "\2197";
|
|
|
|
vertical-align: top;
|
2019-03-10 01:57:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
|
|
|
background-color: inherit !important;
|
|
|
|
border-color: var(--main-border-color) !important;
|
2019-04-14 19:51:21 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.jam-empty {
|
|
|
|
width: 1em;
|
|
|
|
display: inline-block;
|
2019-05-06 01:48:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.protected-session-password-component {
|
|
|
|
width: 300px;
|
|
|
|
margin: 30px auto auto;
|
2019-05-12 23:28:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-detail-empty {
|
|
|
|
margin: 50px;
|
2019-06-23 01:49:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal-header {
|
|
|
|
padding: 0.7rem 1rem !important; /* make modal header padding slightly smaller */
|
2019-08-07 02:05:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.hide-sidebar-button {
|
|
|
|
color: var(--main-text-color);
|
2018-11-09 04:36:35 +08:00
|
|
|
}
|