2025-01-31 23:41:23 +02:00
|
|
|
:root {
|
|
|
|
--main-background-color: white;
|
2025-02-01 01:12:53 +02:00
|
|
|
--root-background: var(--main-background-color);
|
|
|
|
--launcher-pane-background-color: var(--main-background-color);
|
2025-01-31 23:57:50 +02:00
|
|
|
--main-text-color: black;
|
|
|
|
--input-text-color: var(--main-text-color);
|
2025-02-01 16:51:04 +02:00
|
|
|
|
|
|
|
--print-font-size: 11pt;
|
|
|
|
}
|
|
|
|
|
2025-02-01 17:17:49 +02:00
|
|
|
@page {
|
|
|
|
margin: 2cm;
|
|
|
|
}
|
|
|
|
|
2025-02-01 16:51:04 +02:00
|
|
|
.ck-content {
|
|
|
|
font-size: var(--print-font-size);
|
2025-01-31 23:41:23 +02:00
|
|
|
}
|
|
|
|
|
2025-02-01 16:58:52 +02:00
|
|
|
.note-detail-readonly-text {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
2025-01-31 20:47:18 +02:00
|
|
|
.no-print,
|
|
|
|
.no-print *,
|
|
|
|
.tab-row-container,
|
2025-01-31 23:43:00 +02:00
|
|
|
.tab-row-widget,
|
2025-01-31 20:47:18 +02:00
|
|
|
#launcher-pane,
|
|
|
|
#left-pane,
|
|
|
|
#right-pane,
|
|
|
|
.title-row .note-icon-widget,
|
|
|
|
.title-row .button-widget,
|
|
|
|
.ribbon-container,
|
2025-01-31 23:45:25 +02:00
|
|
|
.promoted-attributes-widget,
|
2025-01-31 20:47:18 +02:00
|
|
|
.scroll-padding-widget,
|
2025-01-31 23:45:25 +02:00
|
|
|
.note-list-widget,
|
2025-01-31 20:47:18 +02:00
|
|
|
.spacer {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2025-02-01 01:12:53 +02:00
|
|
|
body.mobile #mobile-sidebar-wrapper,
|
|
|
|
body.mobile .classic-toolbar-widget,
|
|
|
|
body.mobile .action-button {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile #detail-container {
|
|
|
|
max-height: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile .note-title-widget {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
2025-01-31 20:47:18 +02:00
|
|
|
body,
|
|
|
|
#root-widget,
|
|
|
|
#rest-pane > div.component:first-child,
|
|
|
|
.note-detail-printable,
|
|
|
|
.note-detail-editable-text-editor {
|
|
|
|
height: unset !important;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-title-widget input,
|
|
|
|
.note-detail-editable-text,
|
|
|
|
.note-detail-editable-text-editor {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
2025-01-31 23:50:46 +02:00
|
|
|
width: unset !important;
|
2025-01-31 20:47:18 +02:00
|
|
|
height: unset !important;
|
|
|
|
overflow: visible;
|
|
|
|
position: unset;
|
|
|
|
/* https://github.com/zadam/trilium/issues/3202 */
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
#root-widget,
|
|
|
|
#horizontal-main-container,
|
|
|
|
#rest-pane,
|
|
|
|
#vertical-main-container,
|
|
|
|
#center-pane,
|
|
|
|
.split-note-container-widget,
|
2025-02-01 01:12:53 +02:00
|
|
|
.note-split:not(.hidden-ext),
|
|
|
|
body.mobile #mobile-rest-container {
|
2025-01-31 20:47:18 +02:00
|
|
|
display: block !important;
|
|
|
|
overflow: auto;
|
2025-01-31 23:44:21 +02:00
|
|
|
border-radius: 0 !important;
|
2025-01-31 20:47:18 +02:00
|
|
|
}
|
|
|
|
|
2025-01-31 23:49:51 +02:00
|
|
|
#center-pane,
|
2025-01-31 20:47:18 +02:00
|
|
|
#rest-pane,
|
2025-02-01 01:12:53 +02:00
|
|
|
.note-split,
|
|
|
|
body.mobile #detail-container {
|
2025-01-31 23:49:51 +02:00
|
|
|
width: unset !important;
|
2025-01-31 20:47:18 +02:00
|
|
|
max-width: unset !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.component {
|
|
|
|
contain: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Respect page breaks */
|
|
|
|
.page-break {
|
|
|
|
page-break-after: always;
|
|
|
|
break-after: always;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-break > * {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.relation-map-wrapper {
|
|
|
|
height: 100vh !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table thead th,
|
|
|
|
.table td,
|
|
|
|
.table th {
|
|
|
|
/* Fix center vertical alignment of table cells */
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
box-shadow: unset !important;
|
|
|
|
border: 0.75pt solid gray !important;
|
|
|
|
border-radius: 2pt !important;
|
|
|
|
}
|
|
|
|
|
2025-02-01 00:08:38 +02:00
|
|
|
th,
|
2025-01-31 20:47:18 +02:00
|
|
|
span[style] {
|
|
|
|
print-color-adjust: exact;
|
|
|
|
-webkit-print-color-adjust: exact;
|
|
|
|
}
|
|
|
|
|
2025-01-31 23:57:50 +02:00
|
|
|
/*
|
|
|
|
* Text note specific fixes
|
|
|
|
*/
|
|
|
|
.ck-widget {
|
|
|
|
outline: none !important;
|
|
|
|
}
|
|
|
|
|
2025-02-01 00:55:00 +02:00
|
|
|
.ck-placeholder,
|
2025-01-31 23:57:50 +02:00
|
|
|
.ck-widget__type-around,
|
|
|
|
.ck-widget__selection-handle {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,
|
|
|
|
.ck-widget.table td.ck-editor__nested-editable:focus,
|
|
|
|
.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,
|
|
|
|
.ck-widget.table th.ck-editor__nested-editable:focus {
|
|
|
|
background: unset !important;
|
|
|
|
outline: unset !important;
|
|
|
|
}
|
|
|
|
|
2025-01-31 20:47:18 +02:00
|
|
|
/* Fix visibility of checkbox checkmarks
|
|
|
|
see https://github.com/TriliumNext/Notes/issues/901 */
|
|
|
|
.ck-editor__editable.ck-content .todo-list .todo-list__label > span[contenteditable="false"] > input[checked]::after {
|
|
|
|
/* fallback to default ck-editor green */
|
|
|
|
border-color: hsl(126, 64%, 41%);
|
2025-02-01 00:43:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.include-note .include-note-content {
|
|
|
|
max-height: unset !important;
|
|
|
|
overflow: unset !important;
|
2025-02-01 01:16:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Code note specific fixes.
|
|
|
|
*/
|
|
|
|
.note-detail-code pre {
|
|
|
|
border: unset !important;
|
|
|
|
border-radius: unset !important;
|
2025-02-01 18:41:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Links
|
|
|
|
*/
|
|
|
|
|
|
|
|
.note-detail-printable a {
|
|
|
|
color: #374a75;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-detail-printable a::after {
|
|
|
|
/* Hide the external link trailing arrow */
|
|
|
|
display: none !important;
|
2025-01-31 20:47:18 +02:00
|
|
|
}
|