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;
|
|
|
|
}
|
|
|
|
|
2018-09-06 15:33:38 +08:00
|
|
|
#title-container {
|
|
|
|
grid-area: title;
|
|
|
|
}
|
|
|
|
|
2018-12-28 03:22:33 +08:00
|
|
|
#note-title {
|
|
|
|
margin-left: 15px;
|
|
|
|
font-size: x-large;
|
|
|
|
border: 0;
|
|
|
|
width: 5em;
|
|
|
|
flex-grow: 100;
|
|
|
|
}
|
|
|
|
|
2018-12-28 05:38:19 +08:00
|
|
|
.fancytree-node .fancytree-expander {
|
|
|
|
background: none;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fancytree-node .fancytree-expander:before {
|
|
|
|
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 {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fancytree-node.fancytree-expanded .fancytree-expander:before {
|
|
|
|
content: "\e9ba";
|
|
|
|
}
|
|
|
|
|
2018-12-28 03:22:33 +08:00
|
|
|
#note-title[readonly] {
|
|
|
|
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
|
|
|
}
|
|
|
|
|
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-11-19 05:49:53 +08:00
|
|
|
height: 100%;
|
2018-11-21 05:49:10 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
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;
|
|
|
|
}
|
|
|
|
|
2018-11-09 21:36:27 +08:00
|
|
|
#note-detail-text { font-size: 1.1em; }
|
|
|
|
|
|
|
|
#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-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-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) */
|
|
|
|
#container:not(.distraction-free-mode) #note-detail-wrapper.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;
|
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;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
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-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
|
|
|
}
|
|
|
|
|
|
|
|
#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
|
|
|
}
|
|
|
|
|
2018-11-06 04:12:03 +08:00
|
|
|
#header .btn-sm {
|
2017-10-09 23:28:56 +08:00
|
|
|
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-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;
|
|
|
|
border-bottom: 2px solid #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-results ul {
|
|
|
|
padding: 5px 5px 5px 15px;
|
2018-04-18 08:04:27 +08:00
|
|
|
}
|
|
|
|
|
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;
|
2018-11-22 06:39:19 +08:00
|
|
|
top: 45px;
|
|
|
|
right: 10px;
|
|
|
|
width: 360px;
|
|
|
|
height: 55px;
|
|
|
|
display: none;
|
|
|
|
z-index: 1001;
|
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 {
|
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 {
|
2018-06-10 22:53:39 +08:00
|
|
|
display: none;
|
2018-01-20 08:36:41 +08:00
|
|
|
}
|
|
|
|
|
2018-11-06 19:46:29 +08:00
|
|
|
.dropdown-menu a:hover:not(.disabled) {
|
|
|
|
background-color: #eee !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
|
|
|
|
{
|
|
|
|
color: black;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu kbd {
|
|
|
|
float: right;
|
|
|
|
}
|
2018-01-21 23:33:32 +08:00
|
|
|
|
2018-11-06 19:46:29 +08:00
|
|
|
.dropdown-item.disabled, .dropdown-item.disabled kbd {
|
|
|
|
color: #aaa !important;
|
|
|
|
}
|
|
|
|
|
2018-01-21 23:33:32 +08:00
|
|
|
#note-detail-code {
|
2018-04-11 12:10:11 +08:00
|
|
|
min-height: 200px;
|
2018-05-27 07:58:08 +08:00
|
|
|
overflow: auto;
|
2018-01-21 23:33:32 +08:00
|
|
|
}
|
|
|
|
|
2018-05-27 07:27:47 +08:00
|
|
|
#note-detail-render {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
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-08-06 15:41:01 +08:00
|
|
|
#label-list, #relation-list, #attribute-list {
|
2018-02-05 09:23:30 +08:00
|
|
|
color: #777777;
|
2018-07-28 23:59:55 +08:00
|
|
|
padding: 5px;
|
|
|
|
display: none;
|
2018-02-05 09:23:30 +08:00
|
|
|
}
|
|
|
|
|
2018-08-06 15:41:01 +08:00
|
|
|
#label-list button, #relation-list button, #attribute-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;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.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-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
|
|
|
}
|
|
|
|
|
|
|
|
#history-navigation {
|
|
|
|
margin: 0 20px 0 5px;
|
|
|
|
display: flex;
|
2018-06-01 08:00:39 +08:00
|
|
|
}
|
|
|
|
|
2018-06-09 22:34:51 +08:00
|
|
|
.btn:not(.btn-primary):not(.btn-danger) {
|
2018-06-09 21:48:18 +08:00
|
|
|
border-color: #bbb;
|
2018-06-02 23:47:16 +08:00
|
|
|
background-color: #eee;
|
2018-06-01 08:00:39 +08:00
|
|
|
}
|
|
|
|
|
2018-06-06 11:28:10 +08:00
|
|
|
.btn.active:not(.btn-primary) {
|
2018-06-02 23:47:16 +08:00
|
|
|
background-color: #ccc;
|
2018-06-01 11:21:47 +08:00
|
|
|
}
|
|
|
|
|
2018-11-17 05:04:51 +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
|
|
|
}
|
|
|
|
|
2018-06-09 21:44:40 +08:00
|
|
|
#note-actions {
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#note-actions .dropdown-menu {
|
|
|
|
width: 15em;
|
|
|
|
}
|
|
|
|
|
2018-06-09 11:18:53 +08:00
|
|
|
/* Themes */
|
|
|
|
|
2018-11-15 03:58:19 +08:00
|
|
|
html {
|
|
|
|
/* this fixes FF filter vs. position fixed bug: https://github.com/zadam/trilium/issues/233 */
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2018-06-09 11:18:53 +08:00
|
|
|
html.theme-black, html.theme-black img, html.theme-black video {
|
|
|
|
filter: invert(100%) hue-rotate(180deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
html.theme-black body {
|
|
|
|
background: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
html.theme-dark {
|
|
|
|
filter: invert(90%) hue-rotate(180deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
html.theme-dark img, html.theme-dark video {
|
|
|
|
filter: invert(100%) hue-rotate(180deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
html.theme-dark body {
|
|
|
|
background: #191819;
|
2018-08-04 04:56:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.ck.ck-block-toolbar-button {
|
|
|
|
transform: translateX(10px);
|
2018-08-06 20:43:42 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#note-detail-promoted-attributes {
|
2018-08-06 23:24:35 +08:00
|
|
|
max-width: 70%;
|
2018-08-06 20:43:42 +08:00
|
|
|
margin: auto;
|
2018-08-06 23:24:35 +08:00
|
|
|
}
|
|
|
|
|
2018-08-29 02:55:21 +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
|
|
|
}
|
|
|
|
|
2018-11-15 19:13:32 +08:00
|
|
|
#note-detail-image {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#note-detail-image-view {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2018-11-17 01:40:58 +08:00
|
|
|
#file-preview-content {
|
|
|
|
background-color: #f6f6f6;
|
|
|
|
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;
|
2018-11-15 02:33:48 +08:00
|
|
|
color: #ccc !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
|
|
|
}
|
|
|
|
|
|
|
|
#note-detail-render-help {
|
|
|
|
margin: 50px;
|
|
|
|
padding: 20px;
|
2018-11-06 19:46:29 +08:00
|
|
|
}
|
|
|
|
|
2018-11-07 00:47:40 +08:00
|
|
|
/* if modal height overflows, then only modal body scrolls */
|
|
|
|
.modal-body {
|
2018-11-08 03:32:11 +08:00
|
|
|
max-height: calc(100vh - 200px);
|
2018-11-07 00:47:40 +08:00
|
|
|
overflow-y: auto;
|
2018-11-07 02:35:42 +08:00
|
|
|
}
|
|
|
|
|
2018-11-21 06:50:19 +08:00
|
|
|
/* this should help with tooltip flickering */
|
|
|
|
.tooltip {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2018-11-07 02:35:42 +08:00
|
|
|
.tooltip-inner {
|
2018-11-14 15:28:38 +08:00
|
|
|
background-color: #fbfbfb !important;
|
2018-11-14 17:36:14 +08:00
|
|
|
max-width: 400px;
|
|
|
|
/* 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;
|
|
|
|
color: black;
|
2018-11-14 15:28:38 +08:00
|
|
|
border: 1px solid #aaa;
|
2018-11-07 02:35:42 +08:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
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%;
|
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid #999;
|
|
|
|
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 {
|
|
|
|
background-color: #B2D7FF;
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
|
|
|
|
#saved-indicator {
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
top: 11px;
|
|
|
|
font-size: x-large;
|
|
|
|
color: #777;
|
|
|
|
z-index: 100;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
#export-form .form-check-label {
|
|
|
|
padding: 2px;
|
2018-12-16 03:29:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.unhoist-button {
|
|
|
|
text-decoration: underline !important;
|
|
|
|
color: blue !important;
|
|
|
|
cursor: pointer !important;
|
2018-12-28 03:04:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#protected-session-password-component {
|
|
|
|
max-width: 450px;
|
|
|
|
margin: auto;
|
|
|
|
padding-top: 50px;
|
2018-11-09 04:36:35 +08:00
|
|
|
}
|