2021-05-23 20:26:54 +02:00
|
|
|
@font-face {
|
2022-09-04 16:50:45 +02:00
|
|
|
font-family: Montserrat;
|
2021-05-23 20:26:54 +02:00
|
|
|
src: url(../fonts/Montserrat-Light.ttf);
|
2022-09-04 16:50:45 +02:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: Montserrat;
|
2023-05-13 16:28:32 +02:00
|
|
|
src: url(../fonts/Montserrat-SemiBold.ttf);
|
2022-09-04 16:50:45 +02:00
|
|
|
font-weight: bold;
|
2021-05-23 20:26:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: JetBrainsLight;
|
2025-01-09 18:07:02 +02:00
|
|
|
src: url(../fonts/JetBrainsMono-Light.woff2) format("woff");
|
2021-05-23 20:26:54 +02:00
|
|
|
}
|
|
|
|
|
2025-05-21 21:34:22 +03:00
|
|
|
:root {
|
|
|
|
--admonition-note-accent-color: #69c7ff;
|
|
|
|
--admonition-tip-accent-color: #40c025;
|
|
|
|
--admonition-important-accent-color: #9839f7;
|
|
|
|
--admonition-caution-accent-color: #ff2e2e;
|
|
|
|
--admonition-warning-accent-color: #e2aa03;
|
2025-05-29 17:19:29 +03:00
|
|
|
--bs-body-font-family: var(--main-font-family) !important;
|
|
|
|
--bs-body-font-weight: var(--main-font-weight) !important;
|
|
|
|
--bs-body-color: var(--main-text-color) !important;
|
2025-06-05 19:35:01 +03:00
|
|
|
--bs-body-bg: var(--main-background-color) !important;
|
2025-06-16 19:25:06 +03:00
|
|
|
--ck-mention-list-max-height: 500px;
|
2025-05-21 21:34:22 +03:00
|
|
|
}
|
|
|
|
|
2024-10-13 11:20:26 +03:00
|
|
|
.table {
|
|
|
|
--bs-table-bg: transparent !important;
|
|
|
|
}
|
|
|
|
|
2024-11-20 14:16:10 +02:00
|
|
|
:root {
|
2024-12-22 15:42:15 +02:00
|
|
|
--submenu-opening-delay: 300ms;
|
2024-12-28 11:36:25 +02:00
|
|
|
--launcher-pane-size: 53px;
|
2025-01-04 23:05:24 +02:00
|
|
|
--mobile-bottom-offset: calc(env(safe-area-inset-bottom) * 0.75);
|
2025-04-06 12:38:09 +03:00
|
|
|
--bs-body-color: var(--main-text-color);
|
2024-11-20 14:16:10 +02:00
|
|
|
}
|
|
|
|
|
2019-01-13 18:57:46 +01:00
|
|
|
html {
|
|
|
|
/* this fixes FF filter vs. position fixed bug: https://github.com/zadam/trilium/issues/233 */
|
2024-12-28 12:24:57 +02:00
|
|
|
height: 100vh;
|
2024-12-28 11:57:13 +02:00
|
|
|
overscroll-behavior: none;
|
2019-01-13 18:57:46 +01:00
|
|
|
}
|
|
|
|
|
2018-10-12 13:40:06 +02:00
|
|
|
body {
|
|
|
|
/* Fix for CKEditor block gutter icon "stretching" body and causing scrollbar to appear after pressing enter
|
2024-12-22 15:42:15 +02:00
|
|
|
on the last line of the editor. */
|
2018-10-12 13:40:06 +02:00
|
|
|
position: fixed;
|
2024-12-28 12:24:57 +02:00
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
2021-09-26 15:24:37 +02:00
|
|
|
background-color: var(--main-background-color);
|
|
|
|
color: var(--main-text-color);
|
|
|
|
font-family: var(--main-font-family);
|
2021-11-21 13:39:47 +01:00
|
|
|
font-size: var(--main-font-size);
|
2024-12-22 15:42:15 +02:00
|
|
|
|
2024-12-01 21:06:01 +02:00
|
|
|
--native-titlebar-foreground: var(--main-text-color);
|
2024-12-05 00:02:45 +02:00
|
|
|
--native-titlebar-darwin-x-offset: 10;
|
|
|
|
--native-titlebar-darwin-y-offset: 12;
|
2025-01-16 15:48:56 +02:00
|
|
|
--launcher-pane-height: 53px;
|
|
|
|
--tab-bar-height: 40px;
|
2024-12-01 21:06:01 +02:00
|
|
|
}
|
|
|
|
|
2025-03-30 14:29:47 +03:00
|
|
|
body.desktop .mobile-only,
|
2025-03-25 21:40:35 +02:00
|
|
|
body.mobile .desktop-only,
|
|
|
|
body:not(.electron) .electron-only {
|
2024-11-23 10:06:04 +02:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2024-12-28 11:07:44 +02:00
|
|
|
body.mobile.context-menu-shown * {
|
|
|
|
user-select: none !important;
|
|
|
|
-webkit-user-select: none !important;
|
|
|
|
}
|
|
|
|
|
2025-01-04 20:04:02 +02:00
|
|
|
body.mobile #root-widget {
|
|
|
|
padding-top: env(safe-area-inset-top);
|
2025-01-04 23:05:24 +02:00
|
|
|
}
|
|
|
|
|
2025-04-10 17:45:52 +03:00
|
|
|
body.mobile #root-widget.virtual-keyboard-opened #mobile-bottom-bar {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2025-01-04 23:05:24 +02:00
|
|
|
#mobile-bottom-bar {
|
|
|
|
padding-bottom: var(--mobile-bottom-offset);
|
2025-01-04 20:04:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body.desktop #root-widget.horizontal-layout {
|
2025-01-09 18:07:02 +02:00
|
|
|
padding-top: env(safe-area-inset-top);
|
2025-01-04 20:04:02 +02:00
|
|
|
background-color: var(--launcher-pane-background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.desktop #root-widget.vertical-layout #launcher-pane,
|
|
|
|
body.desktop #root-widget.vertical-layout #left-pane,
|
|
|
|
body.desktop #root-widget.vertical-layout #rest-pane {
|
2024-12-28 11:57:13 +02:00
|
|
|
padding-top: env(safe-area-inset-top);
|
|
|
|
}
|
|
|
|
|
2024-10-14 22:12:48 +03:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
a,
|
|
|
|
a:visited,
|
|
|
|
a:hover {
|
2021-09-26 15:24:37 +02:00
|
|
|
color: var(--link-color);
|
|
|
|
}
|
|
|
|
|
2024-09-12 13:55:07 +02:00
|
|
|
.note-list-widget a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-list-widget a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea,
|
|
|
|
.form-control,
|
|
|
|
.form-select {
|
2024-09-10 00:36:44 +02:00
|
|
|
color: var(--input-text-color);
|
|
|
|
background: var(--input-background-color);
|
2021-09-26 15:24:37 +02:00
|
|
|
}
|
|
|
|
|
2024-09-12 13:55:07 +02:00
|
|
|
.form-control:focus {
|
|
|
|
color: var(--input-text-color);
|
|
|
|
background: var(--input-background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-select {
|
2025-01-09 18:07:02 +02:00
|
|
|
background: var(--input-background-color)
|
|
|
|
url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23ffffff' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>")
|
|
|
|
right 0.75rem center/15px 20px no-repeat;
|
2024-09-12 13:55:07 +02:00
|
|
|
}
|
|
|
|
|
2025-03-08 00:54:53 +02:00
|
|
|
.form-text {
|
|
|
|
color: var(--muted-text-color);
|
|
|
|
}
|
|
|
|
|
2024-09-12 13:55:07 +02:00
|
|
|
/* Restore default apperance */
|
2024-10-19 22:40:27 +03:00
|
|
|
input[type="number"],
|
|
|
|
input[type="checkbox"] {
|
|
|
|
appearance: auto !important;
|
2024-09-12 13:55:07 +02:00
|
|
|
}
|
|
|
|
|
2025-03-08 03:33:02 +02:00
|
|
|
/* Add a gap between consecutive radios / check boxes */
|
|
|
|
label.tn-radio + label.tn-radio,
|
|
|
|
label.tn-checkbox + label.tn-checkbox {
|
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
|
2024-09-12 13:55:07 +02:00
|
|
|
#left-pane input,
|
|
|
|
#left-pane select,
|
|
|
|
#left-pane textarea {
|
2024-09-10 00:36:44 +02:00
|
|
|
color: var(--left-pane-text-color);
|
|
|
|
background: var(--left-pane-background-color);
|
2021-09-26 15:24:37 +02:00
|
|
|
}
|
|
|
|
|
2024-09-12 13:55:07 +02:00
|
|
|
input::placeholder,
|
|
|
|
.form-control::placeholder,
|
|
|
|
#left-pane input::placeholder {
|
2021-09-26 15:24:37 +02:00
|
|
|
color: var(--muted-text-color);
|
|
|
|
}
|
|
|
|
|
2024-09-12 13:55:07 +02:00
|
|
|
.table thead th,
|
|
|
|
.table td,
|
|
|
|
.table th {
|
|
|
|
/* Fix center vertical alignment of table cells */
|
|
|
|
vertical-align: middle;
|
2021-09-26 15:24:37 +02:00
|
|
|
color: var(--main-text-color);
|
2024-09-12 13:55:07 +02:00
|
|
|
background: transparent;
|
2021-09-26 15:24:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ck .todo-list__checkmark {
|
|
|
|
top: 10px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-backdrop {
|
|
|
|
background-color: var(--modal-backdrop-color) !important;
|
2019-01-13 18:57:46 +01:00
|
|
|
}
|
|
|
|
|
2021-06-13 22:55:31 +02:00
|
|
|
.component {
|
|
|
|
contain: size;
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
code,
|
|
|
|
kbd,
|
|
|
|
pre,
|
|
|
|
samp {
|
2021-11-20 13:20:06 +01:00
|
|
|
font-family: var(--monospace-font-family) !important;
|
2021-05-26 22:41:55 +02:00
|
|
|
}
|
|
|
|
|
2019-01-13 18:57:46 +01:00
|
|
|
.input-group-text {
|
2019-01-13 22:03:06 +01:00
|
|
|
background-color: var(--accented-background-color) !important;
|
|
|
|
color: var(--muted-text-color) !important;
|
2019-01-13 18:57:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
button.close {
|
|
|
|
color: var(--main-text-color);
|
|
|
|
}
|
|
|
|
|
2019-05-07 21:04:07 +02:00
|
|
|
button.close:hover {
|
|
|
|
color: var(--hover-item-text-color);
|
|
|
|
}
|
|
|
|
|
2019-01-13 18:57:46 +01:00
|
|
|
.modal-content {
|
|
|
|
background-color: var(--modal-background-color) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-link.active {
|
2019-02-26 22:51:33 +01:00
|
|
|
background-color: inherit !important;
|
2019-01-13 18:57:46 +01:00
|
|
|
color: var(--main-text-color) !important;
|
2018-10-12 13:40:06 +02:00
|
|
|
}
|
|
|
|
|
2019-05-02 22:24:43 +02:00
|
|
|
.note-title[readonly] {
|
2018-12-27 20:22:33 +01:00
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
|
2018-09-06 09:33:38 +02:00
|
|
|
.tdialog {
|
2018-11-06 15:25:07 +01:00
|
|
|
display: none;
|
2018-09-06 09:33:38 +02:00
|
|
|
}
|
|
|
|
|
2017-09-03 18:53:28 -04:00
|
|
|
.ui-autocomplete {
|
|
|
|
max-height: 300px;
|
|
|
|
overflow-y: auto;
|
|
|
|
/* prevent horizontal scrollbar */
|
|
|
|
overflow-x: hidden;
|
2017-09-05 22:01:22 -04:00
|
|
|
}
|
|
|
|
|
2017-12-04 18:21:57 -05:00
|
|
|
.icon-action {
|
2019-11-17 11:30:11 +01:00
|
|
|
border: 1px solid transparent;
|
2022-12-23 14:02:18 +01:00
|
|
|
padding: 5px;
|
2023-06-14 00:28:59 +02:00
|
|
|
width: 37px;
|
2021-06-13 22:55:31 +02:00
|
|
|
height: 35px;
|
2017-12-04 18:21:57 -05:00
|
|
|
cursor: pointer;
|
2018-11-09 11:57:52 +01:00
|
|
|
font-size: 1.5em;
|
2021-06-06 22:15:51 +02:00
|
|
|
color: var(--button-text-color);
|
2021-05-28 22:47:59 +02:00
|
|
|
background: var(--button-background-color);
|
2022-09-18 13:52:19 +02:00
|
|
|
border-radius: var(--button-border-radius);
|
2021-05-28 22:47:59 +02:00
|
|
|
}
|
|
|
|
|
2023-03-24 10:57:32 +01:00
|
|
|
.icon-action-always-border {
|
|
|
|
border-color: var(--button-border-color);
|
|
|
|
}
|
|
|
|
|
2021-05-28 22:47:59 +02:00
|
|
|
.icon-action:hover:not(.disabled) {
|
|
|
|
text-decoration: none;
|
|
|
|
border-color: var(--button-border-color);
|
2017-12-04 18:21:57 -05:00
|
|
|
}
|
|
|
|
|
2020-03-08 11:41:42 +01:00
|
|
|
.icon-action.disabled {
|
|
|
|
color: var(--muted-text-color) !important;
|
|
|
|
cursor: not-allowed;
|
2020-03-29 22:15:09 +02:00
|
|
|
pointer-events: none;
|
2020-03-08 11:41:42 +01:00
|
|
|
}
|
|
|
|
|
2017-12-15 22:35:42 -05:00
|
|
|
.ui-widget-content a:not(.ui-tabs-anchor) {
|
2017-10-05 20:15:45 -04:00
|
|
|
color: #337ab7 !important;
|
2017-10-06 22:46:30 -04:00
|
|
|
}
|
|
|
|
|
2017-10-11 20:37:27 -04:00
|
|
|
div.ui-tooltip {
|
|
|
|
max-width: 600px;
|
|
|
|
max-height: 600px;
|
|
|
|
overflow: auto;
|
2017-11-06 20:13:36 -05:00
|
|
|
}
|
|
|
|
|
2017-12-12 21:40:55 -05: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-23 14:35:20 -05:00
|
|
|
/* Allow to use <kbd> elements inside the title to define shortcut hints. */
|
2025-01-09 18:07:02 +02:00
|
|
|
.ui-menu kbd,
|
|
|
|
button kbd {
|
2019-01-13 18:57:46 +01:00
|
|
|
color: var(--muted-text-color);
|
2017-12-23 14:35:20 -05:00
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2017-12-26 19:54:43 -05:00
|
|
|
.ui-menu kbd {
|
|
|
|
margin-left: 30px;
|
2018-01-01 18:53:52 -05:00
|
|
|
float: right;
|
2017-12-26 19:54:43 -05:00
|
|
|
}
|
|
|
|
|
2018-01-02 20:52:36 -05:00
|
|
|
.suppressed {
|
2018-06-10 10:53:39 -04:00
|
|
|
display: none;
|
2018-01-19 19:36:41 -05:00
|
|
|
}
|
|
|
|
|
2024-09-12 13:55:07 +02:00
|
|
|
.dropdown-divider {
|
2024-11-19 22:40:52 +02:00
|
|
|
border-color: var(--dropdown-border-color);
|
2024-09-12 13:55:07 +02:00
|
|
|
}
|
|
|
|
|
2024-11-20 10:48:42 +02:00
|
|
|
@keyframes dropdown-menu-opening {
|
|
|
|
from {
|
|
|
|
opacity: 0;
|
2025-01-09 18:07:02 +02:00
|
|
|
}
|
|
|
|
to {
|
2024-11-20 10:48:42 +02:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.dropdown-menu {
|
2019-01-13 18:57:46 +01:00
|
|
|
color: var(--menu-text-color) !important;
|
2025-01-09 18:07:02 +02:00
|
|
|
font-size: inherit;
|
2019-01-13 18:57:46 +01:00
|
|
|
background-color: var(--menu-background-color) !important;
|
2025-02-10 20:18:35 +01:00
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
2025-03-27 19:36:45 +02:00
|
|
|
--bs-dropdown-zindex: 999;
|
2025-06-05 19:35:01 +03:00
|
|
|
--bs-dropdown-link-active-bg: var(--active-item-background-color) !important;
|
2024-12-28 09:59:44 +02:00
|
|
|
}
|
|
|
|
|
2025-05-30 21:58:46 +03:00
|
|
|
body.desktop .dropdown-menu {
|
2024-12-28 09:59:44 +02:00
|
|
|
border: 1px solid var(--dropdown-border-color);
|
2024-11-19 22:55:44 +02:00
|
|
|
box-shadow: 0px 10px 20px rgba(0, 0, 0, var(--dropdown-shadow-opacity));
|
2024-11-20 10:48:42 +02:00
|
|
|
animation: dropdown-menu-opening 100ms ease-in;
|
2019-01-13 18:57:46 +01:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
@supports (animation-fill-mode: forwards) {
|
2024-11-20 10:57:34 +02:00
|
|
|
/* Delay the opening of submenus */
|
2024-12-28 09:59:44 +02:00
|
|
|
body.desktop .dropdown-submenu .dropdown-menu {
|
2024-11-20 10:57:34 +02:00
|
|
|
opacity: 0;
|
|
|
|
animation-fill-mode: forwards;
|
2024-11-20 14:16:10 +02:00
|
|
|
animation-delay: var(--submenu-opening-delay);
|
2024-11-20 10:57:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-11-20 02:30:29 +02:00
|
|
|
.dropdown-menu.static {
|
|
|
|
box-shadow: unset;
|
|
|
|
}
|
|
|
|
|
2024-11-20 02:56:18 +02:00
|
|
|
.dropend .dropdown-toggle::after {
|
2025-01-09 18:07:02 +02:00
|
|
|
margin-left: 0.5em;
|
2024-11-20 02:56:18 +02:00
|
|
|
color: var(--muted-text-color);
|
|
|
|
}
|
|
|
|
|
2019-03-19 22:56:37 +01:00
|
|
|
.dropdown-menu .disabled {
|
|
|
|
color: #888 !important;
|
2020-03-29 22:15:09 +02:00
|
|
|
pointer-events: none;
|
2019-03-19 22:56:37 +01:00
|
|
|
}
|
|
|
|
|
2023-05-07 10:43:51 +02:00
|
|
|
.dropdown-menu .disabled .disabled-tooltip {
|
|
|
|
pointer-events: all;
|
2024-11-20 19:01:20 +02:00
|
|
|
margin-left: 8px;
|
2025-01-09 18:07:02 +02:00
|
|
|
font-size: 0.5em;
|
2024-11-20 19:01:20 +02:00
|
|
|
color: var(--disabled-tooltip-icon-color);
|
2023-05-07 10:43:51 +02:00
|
|
|
cursor: help;
|
2025-01-09 18:07:02 +02:00
|
|
|
opacity: 0.75;
|
2024-11-20 19:01:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu .disabled .disabled-tooltip:hover {
|
|
|
|
opacity: 1;
|
2023-05-07 10:43:51 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.dropdown-menu a:hover:not(.disabled),
|
|
|
|
.dropdown-item:hover:not(.disabled, .dropdown-item-container) {
|
2019-01-13 18:57:46 +01:00
|
|
|
color: var(--hover-item-text-color) !important;
|
|
|
|
background-color: var(--hover-item-background-color) !important;
|
2022-06-02 14:16:49 +02:00
|
|
|
border-color: var(--hover-item-border-color) !important;
|
2018-01-19 19:36:41 -05:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.dropdown-item-container,
|
|
|
|
.dropdown-item-container:hover,
|
|
|
|
.dropdown-item-container:active {
|
2024-11-21 17:11:32 +02:00
|
|
|
background: transparent;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2018-11-05 21:12:03 +01:00
|
|
|
.dropdown-menu a:not(.selected) .check {
|
2018-01-21 23:06:25 -05:00
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2025-02-08 09:55:38 +02:00
|
|
|
body.desktop .dropdown-menu:not(#context-menu-container) .dropdown-item,
|
2025-06-16 17:21:44 +08:00
|
|
|
body #context-menu-container .dropdown-item > span {
|
2025-01-17 23:34:19 +02:00
|
|
|
display: flex;
|
2025-01-17 23:46:19 +02:00
|
|
|
align-items: center;
|
2025-01-17 23:34:19 +02:00
|
|
|
}
|
|
|
|
|
2021-08-20 21:39:56 +02:00
|
|
|
.dropdown-menu kbd {
|
2025-01-17 23:34:19 +02:00
|
|
|
flex-grow: 1;
|
|
|
|
text-align: right;
|
2019-01-13 18:57:46 +01:00
|
|
|
color: var(--muted-text-color);
|
2018-01-19 19:36:41 -05:00
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
box-shadow: none;
|
2021-08-20 21:39:56 +02:00
|
|
|
padding-bottom: 0;
|
2018-01-19 19:36:41 -05:00
|
|
|
}
|
2018-01-21 10:33:32 -05:00
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.dropdown-item,
|
|
|
|
.dropdown-header {
|
2019-04-01 21:38:21 +02:00
|
|
|
color: var(--menu-text-color) !important;
|
2022-06-02 14:16:49 +02:00
|
|
|
border: 1px solid transparent !important;
|
2019-04-01 21:38:21 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.dropdown-item.disabled,
|
|
|
|
.dropdown-item.disabled kbd {
|
2018-11-06 12:46:29 +01:00
|
|
|
color: #aaa !important;
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.dropdown-item.active,
|
|
|
|
.dropdown-item:focus {
|
2019-11-09 20:59:49 +01:00
|
|
|
color: var(--active-item-text-color) !important;
|
|
|
|
background-color: var(--active-item-background-color) !important;
|
2022-06-02 14:16:49 +02:00
|
|
|
border-color: var(--active-item-border-color) !important;
|
|
|
|
outline: none;
|
2019-11-09 20:59:49 +01:00
|
|
|
}
|
|
|
|
|
2024-11-19 23:44:57 +02:00
|
|
|
.dropdown-item .destructive-action-icon {
|
|
|
|
color: var(--dropdown-item-icon-destructive-color);
|
|
|
|
}
|
|
|
|
|
2025-01-28 16:18:36 +02:00
|
|
|
.dropdown-item > span:not([class]) {
|
2025-01-28 00:03:04 +02:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2025-05-11 18:30:32 +03:00
|
|
|
.cm-editor {
|
2020-05-08 23:39:46 +02:00
|
|
|
height: 100%;
|
2025-05-11 18:30:32 +03:00
|
|
|
outline: none !important;
|
2025-05-11 22:47:24 +03:00
|
|
|
border-radius: 6px;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 4px;
|
2025-06-18 17:42:03 +03:00
|
|
|
font-size: var(--monospace-font-size);
|
2018-01-21 20:15:42 -05:00
|
|
|
}
|
|
|
|
|
2025-06-18 17:42:03 +03:00
|
|
|
.cm-scroller {
|
|
|
|
font-family: var(--monospace-font-family) !important;
|
2020-12-18 22:37:29 +01:00
|
|
|
}
|
|
|
|
|
2025-05-11 18:30:32 +03:00
|
|
|
body .cm-editor .cm-gutters {
|
2019-02-02 23:26:39 +01:00
|
|
|
background-color: inherit !important;
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
|
2025-05-11 18:33:45 +03:00
|
|
|
body .cm-editor .cm-placeholder {
|
|
|
|
color: #999 !important;
|
|
|
|
}
|
|
|
|
|
2018-05-21 20:12:46 -04:00
|
|
|
#sql-console-query {
|
|
|
|
height: 150px;
|
|
|
|
width: 100%;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2025-05-11 18:30:32 +03:00
|
|
|
#sql-console-query .cm-editor {
|
2018-05-21 20:12:46 -04:00
|
|
|
height: 150px;
|
2018-05-26 22:54:06 -04:00
|
|
|
}
|
|
|
|
|
2025-05-11 18:30:32 +03:00
|
|
|
#sql-console-query .cm-editor .cm-scroller {
|
2019-12-02 23:04:22 +01:00
|
|
|
min-height: inherit !important;
|
|
|
|
}
|
|
|
|
|
2019-01-13 18:57:46 +01:00
|
|
|
.btn {
|
|
|
|
border-radius: var(--button-border-radius);
|
2021-05-28 22:47:59 +02:00
|
|
|
border-color: var(--button-border-color);
|
|
|
|
}
|
|
|
|
|
2024-09-12 13:55:07 +02:00
|
|
|
.btn:hover {
|
|
|
|
border-color: var(--hover-item-border-color);
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
button.btn,
|
|
|
|
button.btn-sm {
|
2021-05-28 22:47:59 +02:00
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-micro {
|
|
|
|
padding: 0 10px 0 10px;
|
2019-01-13 18:57:46 +01:00
|
|
|
}
|
|
|
|
|
2019-11-20 21:35:18 +01:00
|
|
|
.btn.btn-primary {
|
|
|
|
border-color: var(--primary-button-border-color);
|
|
|
|
background-color: var(--primary-button-background-color);
|
|
|
|
color: var(--primary-button-text-color);
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.btn:not(:disabled):not(.disabled):active,
|
|
|
|
.btn:not(:disabled):not(.disabled).active {
|
2019-12-18 20:16:11 +01:00
|
|
|
border-color: var(--primary-button-text-color);
|
|
|
|
background-color: var(--active-item-background-color);
|
|
|
|
color: var(--active-item-text-color);
|
|
|
|
}
|
|
|
|
|
2019-11-20 21:35:18 +01:00
|
|
|
.btn.btn-primary kbd {
|
|
|
|
color: var(--primary-button-text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn:not(.btn-primary) {
|
2019-01-13 18:57:46 +01:00
|
|
|
background-color: var(--button-background-color);
|
|
|
|
color: var(--button-text-color);
|
2018-05-31 20:00:39 -04:00
|
|
|
}
|
|
|
|
|
2021-06-06 22:15:51 +02:00
|
|
|
#left-pane .btn:not(.btn-primary) {
|
|
|
|
background-color: var(--button-background-color);
|
|
|
|
color: var(--left-pane-text-color);
|
|
|
|
}
|
|
|
|
|
2018-06-05 23:28:10 -04:00
|
|
|
.btn.active:not(.btn-primary) {
|
2019-02-02 23:26:39 +01:00
|
|
|
background-color: var(--button-disabled-background-color) !important;
|
2019-11-23 20:54:49 +01:00
|
|
|
opacity: 0.4;
|
2018-05-31 23:21:47 -04:00
|
|
|
}
|
|
|
|
|
2018-08-03 22:56:23 +02:00
|
|
|
.ck.ck-block-toolbar-button {
|
2019-04-29 21:52:28 +02:00
|
|
|
transform: translateX(7px);
|
2019-04-28 17:37:28 +02:00
|
|
|
color: var(--muted-text-color);
|
|
|
|
background-color: var(--main-background-color);
|
2019-04-29 21:52:28 +02: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 14:43:42 +02:00
|
|
|
}
|
|
|
|
|
2025-05-11 18:30:32 +03:00
|
|
|
pre:not(.hljs) {
|
2019-02-02 23:51:00 +01:00
|
|
|
color: var(--main-text-color) !important;
|
2019-11-12 22:22:49 +01:00
|
|
|
white-space: pre-wrap;
|
2021-06-24 23:50:56 +02:00
|
|
|
font-size: 100%;
|
2019-02-02 23:51:00 +01:00
|
|
|
}
|
|
|
|
|
2025-05-27 20:14:55 +03:00
|
|
|
:root pre {
|
|
|
|
--padding-size: 1em;
|
2025-05-27 18:32:18 +03:00
|
|
|
--copy-button-margin-size: .35em;
|
2025-05-27 20:14:55 +03:00
|
|
|
--copy-button-width: 37px;
|
2025-05-27 18:32:18 +03:00
|
|
|
|
2025-05-26 15:17:10 +03:00
|
|
|
position: relative;
|
2025-05-27 20:14:55 +03:00
|
|
|
padding: var(--padding-size);
|
2025-05-26 15:17:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
pre > button.copy-button {
|
|
|
|
position: absolute;
|
2025-05-27 18:32:18 +03:00
|
|
|
top: var(--copy-button-margin-size);
|
|
|
|
right: var(--copy-button-margin-size);
|
|
|
|
}
|
|
|
|
|
2025-05-27 20:14:55 +03:00
|
|
|
:root pre:has(> button.copy-button) {
|
|
|
|
padding-right: calc(var(--copy-button-width) + (var(--copy-button-margin-size) * 2));
|
2025-05-26 15:17:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
pre > button.copy-button:hover {
|
|
|
|
color: inherit !important;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre > button.copy-button:active {
|
|
|
|
background-color: unset !important;
|
|
|
|
}
|
|
|
|
|
2018-08-06 17:53:13 +02:00
|
|
|
.pointer {
|
|
|
|
cursor: pointer;
|
2018-08-06 22:29:03 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.show-recent-notes-button,
|
|
|
|
.input-clearer-button,
|
|
|
|
.go-to-selected-note-button {
|
2019-11-05 23:11:25 +01:00
|
|
|
padding-top: 8px;
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.show-recent-notes-button,
|
|
|
|
.full-text-search-button {
|
2018-08-06 22:29:03 +02:00
|
|
|
cursor: pointer;
|
2018-11-09 11:57:52 +01:00
|
|
|
font-size: 1.3em;
|
2018-11-14 11:17:20 +01:00
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
2018-11-13 23:16:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.input-clearer-button {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1.3em;
|
|
|
|
background: inherit !important;
|
|
|
|
padding-left: 5px;
|
2018-11-14 11:17:20 +01:00
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
2018-11-14 11:24:40 +01:00
|
|
|
.open-external-link-button {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1.3em;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
2020-09-03 22:22:21 +02:00
|
|
|
padding-top: 8px;
|
2018-11-14 11:24:40 +01:00
|
|
|
}
|
|
|
|
|
2018-11-14 11:17:20 +01:00
|
|
|
.go-to-selected-note-button {
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1.3em;
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 3px;
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.go-to-selected-note-button.disabled,
|
|
|
|
.go-to-selected-note-button.disabled:hover {
|
2018-11-14 11:17:20 +01:00
|
|
|
cursor: inherit;
|
2022-06-05 14:35:23 +02:00
|
|
|
color: var(--button-disabled-text-color) !important;
|
|
|
|
background-color: var(--button-disabled-background-color) !important;
|
|
|
|
text-decoration: none;
|
2018-11-13 23:16:26 +01:00
|
|
|
}
|
|
|
|
|
2018-11-14 11:17:20 +01:00
|
|
|
.note-autocomplete-input {
|
|
|
|
/* this is for seamless integration of "input clearer" button */
|
2018-11-13 23:16:26 +01:00
|
|
|
border-right: 0;
|
2018-08-22 15:31:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
table.promoted-attributes-in-tooltip {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
table.promoted-attributes-in-tooltip td,
|
|
|
|
table.promoted-attributes-in-tooltip th {
|
2018-08-22 15:31:36 +02:00
|
|
|
padding: 10px;
|
2018-08-28 20:55:21 +02:00
|
|
|
}
|
|
|
|
|
2019-03-31 21:19:10 +02:00
|
|
|
.tooltip {
|
|
|
|
font-size: var(--main-font-size) !important;
|
2025-03-24 19:36:42 +02:00
|
|
|
z-index: calc(var(--ck-z-panel) - 1) !important;
|
2019-03-31 21:19:10 +02:00
|
|
|
}
|
2018-11-20 23:50:19 +01:00
|
|
|
|
2024-09-02 19:37:02 +02:00
|
|
|
.tooltip-trigger {
|
|
|
|
background: transparent;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2022-12-17 11:58:30 +01:00
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.bs-tooltip-bottom .tooltip-arrow::before {
|
|
|
|
border-bottom-color: var(--main-border-color) !important;
|
|
|
|
}
|
|
|
|
.bs-tooltip-top .tooltip-arrow::before {
|
|
|
|
border-top-color: var(--main-border-color) !important;
|
|
|
|
}
|
|
|
|
.bs-tooltip-left .tooltip-arrow::before {
|
|
|
|
border-left-color: var(--main-border-color) !important;
|
|
|
|
}
|
|
|
|
.bs-tooltip-right .tooltip-arrow::before {
|
|
|
|
border-right-color: var(--main-border-color) !important;
|
|
|
|
}
|
2023-05-18 16:41:07 +08:00
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.bs-tooltip-bottom .tooltip-arrow::after {
|
|
|
|
border-bottom-color: var(--tooltip-background-color) !important;
|
|
|
|
}
|
|
|
|
.bs-tooltip-top .tooltip-arrow::after {
|
|
|
|
border-top-color: var(--tooltip-background-color) !important;
|
|
|
|
}
|
|
|
|
.bs-tooltip-left .tooltip-arrow::after {
|
|
|
|
border-left-color: var(--tooltip-background-color) !important;
|
|
|
|
}
|
|
|
|
.bs-tooltip-right .tooltip-arrow::after {
|
|
|
|
border-right-color: var(--tooltip-background-color) !important;
|
|
|
|
}
|
2024-09-02 19:37:02 +02:00
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before,
|
2024-09-02 19:37:02 +02:00
|
|
|
.bs-tooltip-left .tooltip-arrow::before {
|
|
|
|
left: -1px;
|
|
|
|
border-width: 0.4rem 0 0.4rem 0.4rem;
|
2024-09-03 11:28:50 +02:00
|
|
|
border-left-color: var(--main-border-color) !important;
|
2024-09-02 19:37:02 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before,
|
2024-09-02 19:37:02 +02:00
|
|
|
.bs-tooltip-bottom .tooltip-arrow::before {
|
|
|
|
bottom: -1px;
|
|
|
|
border-width: 0 0.4rem 0.4rem;
|
2024-09-03 11:28:50 +02:00
|
|
|
border-bottom-color: var(--main-border-color) !important;
|
2024-09-02 19:37:02 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before,
|
2024-09-02 19:37:02 +02:00
|
|
|
.bs-tooltip-right .tooltip-arrow::before {
|
|
|
|
right: -1px;
|
|
|
|
border-width: 0.4rem 0.4rem 0.4rem 0;
|
|
|
|
border-right-color: var(--main-border-color) !important;
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before,
|
2024-09-02 19:37:02 +02:00
|
|
|
.bs-tooltip-top .tooltip-arrow::before {
|
|
|
|
top: -1px;
|
|
|
|
border-width: 0.4rem 0.4rem 0;
|
2024-09-03 11:28:50 +02:00
|
|
|
border-top-color: var(--main-border-color) !important;
|
2023-05-18 16:41:07 +08:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::after,
|
2024-09-02 19:37:02 +02:00
|
|
|
.bs-tooltip-left .tooltip-arrow::after {
|
2023-05-18 16:41:07 +08:00
|
|
|
left: -1px;
|
|
|
|
border-width: 0.4rem 0 0.4rem 0.4rem;
|
2024-09-03 11:28:50 +02:00
|
|
|
border-left-color: var(--tooltip-background-color) !important;
|
2023-05-18 16:41:07 +08:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::after,
|
2024-09-02 19:37:02 +02:00
|
|
|
.bs-tooltip-bottom .tooltip-arrow::after {
|
2023-05-18 16:41:07 +08:00
|
|
|
bottom: -1px;
|
|
|
|
border-width: 0 0.4rem 0.4rem;
|
2024-09-03 11:28:50 +02:00
|
|
|
border-bottom-color: var(--tooltip-background-color) !important;
|
2023-05-18 16:41:07 +08:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::after,
|
2024-09-02 19:37:02 +02:00
|
|
|
.bs-tooltip-right .tooltip-arrow::after {
|
2023-05-18 16:41:07 +08:00
|
|
|
right: -1px;
|
|
|
|
border-width: 0.4rem 0.4rem 0.4rem 0;
|
2024-09-02 19:37:02 +02:00
|
|
|
border-right-color: var(--tooltip-background-color) !important;
|
2023-05-18 16:41:07 +08:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::after,
|
2024-09-02 19:37:02 +02:00
|
|
|
.bs-tooltip-top .tooltip-arrow::after {
|
2023-05-18 16:41:07 +08:00
|
|
|
top: -1px;
|
|
|
|
border-width: 0.4rem 0.4rem 0;
|
2024-09-03 11:28:50 +02:00
|
|
|
border-top-color: var(--tooltip-background-color) !important;
|
2023-05-18 16:41:07 +08:00
|
|
|
}
|
|
|
|
|
2024-09-03 19:12:24 +02:00
|
|
|
.note-tooltip.tooltip .tooltip-arrow {
|
2022-04-16 15:51:30 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-11-06 19:35:42 +01:00
|
|
|
.tooltip-inner {
|
2021-04-07 21:21:06 +02:00
|
|
|
padding: 15px;
|
2019-03-31 21:19:10 +02:00
|
|
|
background-color: var(--tooltip-background-color) !important;
|
2019-02-03 10:09:59 +01:00
|
|
|
border: 1px solid var(--main-border-color);
|
2019-01-05 11:49:17 +01:00
|
|
|
border-radius: 5px;
|
2018-11-06 19:35:42 +01:00
|
|
|
text-align: left;
|
2019-03-31 21:19:10 +02:00
|
|
|
color: var(--main-text-color) !important;
|
2020-08-06 00:06:42 +02:00
|
|
|
max-width: 500px;
|
2020-09-08 21:45:07 +02:00
|
|
|
box-shadow: 10px 10px 93px -25px #aaaaaa;
|
|
|
|
}
|
|
|
|
|
2021-04-07 21:21:06 +02:00
|
|
|
.tooltip-inner p:last-of-type {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2020-12-03 22:54:24 +01:00
|
|
|
.rendered-note-attributes {
|
2020-09-08 21:45:07 +02:00
|
|
|
color: var(--muted-text-color);
|
|
|
|
margin-bottom: 7px;
|
2020-08-06 00:06:42 +02:00
|
|
|
}
|
|
|
|
|
2021-01-21 21:48:06 +01:00
|
|
|
.note-tooltip-title {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2020-08-06 00:06:42 +02:00
|
|
|
.note-tooltip-content {
|
|
|
|
/* 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;
|
2023-07-25 22:27:15 +02:00
|
|
|
overflow: auto;
|
2018-11-06 19:35:42 +01:00
|
|
|
}
|
|
|
|
|
2021-01-21 21:48:06 +01:00
|
|
|
.note-tooltip-content .note-title-with-path .note-path {
|
|
|
|
font-size: small;
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-tooltip-attributes {
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2018-11-14 10:36:14 +01:00
|
|
|
.tooltip-inner img {
|
|
|
|
max-width: 250px;
|
|
|
|
max-height: 250px;
|
|
|
|
}
|
|
|
|
|
2018-11-19 11:47:40 +01:00
|
|
|
.tooltip-inner figure.image-style-side {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2018-11-06 19:35:42 +01:00
|
|
|
.tooltip.show {
|
|
|
|
opacity: 1;
|
2018-11-07 00:23:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-autocomplete {
|
|
|
|
width: calc(100% - 30px);
|
|
|
|
z-index: 2000 !important;
|
|
|
|
}
|
|
|
|
|
2023-08-26 17:19:44 +03:00
|
|
|
.algolia-autocomplete-container .aa-dropdown-menu {
|
2023-11-03 10:44:14 +01:00
|
|
|
position: inherit !important;
|
2023-08-28 22:30:42 +03:00
|
|
|
overflow: auto;
|
2023-08-26 17:19:44 +03:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.algolia-autocomplete .aa-input,
|
|
|
|
.algolia-autocomplete .aa-hint {
|
2018-11-07 00:23:50 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.algolia-autocomplete .aa-dropdown-menu {
|
|
|
|
width: 100%;
|
2019-01-13 18:57:46 +01:00
|
|
|
background-color: var(--main-background-color);
|
2019-02-03 10:09:59 +01:00
|
|
|
border: 1px solid var(--main-border-color);
|
2018-11-07 00:23:50 +01:00
|
|
|
border-top: none;
|
|
|
|
z-index: 2000 !important;
|
|
|
|
max-height: 500px;
|
|
|
|
overflow: auto;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2023-08-26 17:24:29 +03:00
|
|
|
.aa-dropdown-menu .aa-suggestion {
|
2018-11-07 00:23:50 +01:00
|
|
|
cursor: pointer;
|
|
|
|
padding: 5px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2023-08-26 17:24:29 +03:00
|
|
|
.aa-dropdown-menu .aa-suggestion p {
|
2018-11-12 23:34:22 +01:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2023-08-26 17:24:29 +03:00
|
|
|
.aa-dropdown-menu .aa-suggestion.aa-cursor {
|
2022-06-02 14:16:49 +02:00
|
|
|
color: var(--active-item-text-color);
|
|
|
|
background-color: var(--active-item-background-color);
|
2018-11-07 00:23:50 +01:00
|
|
|
}
|
2018-11-08 21:36:35 +01:00
|
|
|
|
|
|
|
.help-button {
|
|
|
|
float: right;
|
|
|
|
background: none;
|
|
|
|
font-weight: 900;
|
|
|
|
color: orange;
|
|
|
|
border: 0;
|
|
|
|
cursor: pointer;
|
2018-11-08 23:48:49 +01:00
|
|
|
}
|
|
|
|
|
2018-11-12 23:34:22 +01:00
|
|
|
.multiplicity {
|
2018-11-14 11:24:40 +01:00
|
|
|
font-size: 1.3em;
|
2018-11-13 22:22:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* this is because bootstrap (?) sets code color to red for some reason */
|
|
|
|
code {
|
|
|
|
color: inherit !important;
|
2018-11-22 16:08:02 +01: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-22 20:25:49 +01:00
|
|
|
}
|
|
|
|
|
2019-05-03 21:50:14 +02:00
|
|
|
.saved-indicator {
|
2019-01-13 21:04:08 +01:00
|
|
|
font-size: 150%;
|
2018-11-24 14:44:56 +01:00
|
|
|
}
|
|
|
|
|
2018-12-30 19:02:42 +01:00
|
|
|
.ck-editor__is-empty.ck-content.ck-editor__editable::before {
|
2025-01-09 18:07:02 +02:00
|
|
|
content: "You can start writing note here ...";
|
2018-12-30 19:02:42 +01:00
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
margin: var(--ck-spacing-large) 0;
|
|
|
|
|
2019-02-02 23:51:00 +01:00
|
|
|
color: var(--muted-text-color);
|
2018-12-30 21:13:35 +01:00
|
|
|
}
|
|
|
|
|
2025-01-07 17:36:30 +02:00
|
|
|
.ck-editor__editable .ck-mermaid__editing-view {
|
|
|
|
font-family: var(--monospace-font-family);
|
|
|
|
}
|
|
|
|
|
2019-04-28 17:37:28 +02:00
|
|
|
.ck-content .table table th {
|
|
|
|
background-color: var(--accented-background-color);
|
2019-03-24 20:16:05 +01:00
|
|
|
}
|
|
|
|
|
2019-01-13 20:14:33 +01:00
|
|
|
.ck-content .image > figcaption {
|
2019-02-26 22:59:38 +01:00
|
|
|
color: var(--main-text-color) !important;
|
|
|
|
background-color: var(--accented-background-color) !important;
|
2019-01-13 22:03:06 +01:00
|
|
|
}
|
|
|
|
|
2024-08-15 01:11:48 +03:00
|
|
|
.ck-content li p {
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
|
2024-10-14 22:47:16 +03:00
|
|
|
.ck-content a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2025-01-07 14:32:16 +02:00
|
|
|
.ck-content .footnote-section {
|
|
|
|
border: 1px solid #c4c4c4;
|
|
|
|
border-radius: 2px;
|
|
|
|
counter-reset: footnote-counter;
|
|
|
|
margin: 1em 0;
|
2025-01-09 18:07:02 +02:00
|
|
|
padding: 10px;
|
2025-01-07 14:32:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content .footnote-item {
|
|
|
|
counter-increment: footnote-counter;
|
|
|
|
display: flex;
|
|
|
|
list-style: none;
|
2025-01-09 18:07:02 +02:00
|
|
|
margin-left: 0.5em;
|
2025-01-07 14:32:16 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.ck-content .footnote-item > * {
|
|
|
|
vertical-align: text-top;
|
2025-01-07 14:32:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content .footnote-back-link {
|
2025-01-09 18:07:02 +02:00
|
|
|
margin-right: 0.1em;
|
2025-01-07 14:32:16 +02:00
|
|
|
position: relative;
|
2025-01-09 18:07:02 +02:00
|
|
|
top: -0.2em;
|
2025-01-07 14:32:16 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.ck-content .footnotes .footnote-back-link > sup {
|
|
|
|
margin-right: 0;
|
2025-01-07 14:32:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content .footnote-item:before {
|
|
|
|
content: counter(footnote-counter) ". ";
|
|
|
|
display: inline-block;
|
|
|
|
min-width: fit-content;
|
|
|
|
position: relative;
|
2025-01-09 18:07:02 +02:00
|
|
|
right: 0.2em;
|
2025-01-07 14:32:16 +02:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content .footnote-content {
|
|
|
|
border-radius: 2px;
|
|
|
|
display: inline-block;
|
|
|
|
flex-grow: 1;
|
2025-01-09 18:07:02 +02:00
|
|
|
padding: 0 0.3em;
|
|
|
|
width: 95%;
|
2025-01-07 14:32:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ck-content .ck-content-widget.footnote-section .ck-content-widget__type-around__button_after {
|
2025-01-09 18:07:02 +02:00
|
|
|
display: none;
|
2025-01-07 14:32:16 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
#options-dialog input[type="number"] {
|
2019-01-13 22:03:06 +01:00
|
|
|
text-align: right;
|
2019-02-13 23:06:11 +01: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-13 23:27:00 +01:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href^="https://"]:not(.no-arrow):after
|
|
|
|
{
|
2019-02-16 18:49:57 +01:00
|
|
|
font-size: smaller;
|
|
|
|
content: "\2197";
|
|
|
|
vertical-align: top;
|
2019-03-09 18:57:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
2024-09-12 13:55:07 +02:00
|
|
|
color: inherit !important;
|
2019-03-09 18:57:21 +01:00
|
|
|
background-color: inherit !important;
|
|
|
|
border-color: var(--main-border-color) !important;
|
2019-04-14 13:51:21 +02:00
|
|
|
}
|
|
|
|
|
2019-11-02 12:17:00 +01:00
|
|
|
.bx-empty {
|
2019-04-14 13:51:21 +02:00
|
|
|
width: 1em;
|
|
|
|
display: inline-block;
|
2019-05-05 19:48:30 +02:00
|
|
|
}
|
|
|
|
|
2019-05-12 17:28:20 +02:00
|
|
|
.note-detail-empty {
|
|
|
|
margin: 50px;
|
2019-06-22 19:49:48 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal-header {
|
2024-09-02 19:37:02 +02:00
|
|
|
padding: 0.5rem 1rem 0.5rem 1rem !important; /* make modal header padding slightly smaller */
|
2019-10-01 21:11:11 +02:00
|
|
|
}
|
|
|
|
|
2025-01-18 01:02:03 +02:00
|
|
|
.modal-header .help-button {
|
|
|
|
padding: 6px;
|
|
|
|
margin: 0 12px;
|
|
|
|
}
|
|
|
|
|
2019-10-17 20:03:05 +02:00
|
|
|
#toast-container {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
top: 20px;
|
2019-10-20 12:29:34 +02:00
|
|
|
pointer-events: none;
|
2019-10-19 00:11:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.toast {
|
2025-03-12 10:43:53 +02:00
|
|
|
--bs-toast-bg: var(--accented-background-color);
|
|
|
|
--bs-toast-color: var(--main-text-color);
|
2019-10-20 12:29:34 +02:00
|
|
|
z-index: 9999999999 !important;
|
|
|
|
pointer-events: all;
|
2019-10-19 00:11:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.toast-header {
|
|
|
|
background-color: var(--more-accented-background-color) !important;
|
|
|
|
color: var(--main-text-color) !important;
|
2019-11-07 22:43:01 +01:00
|
|
|
}
|
|
|
|
|
2024-07-27 12:03:40 +03:00
|
|
|
.toast-body {
|
|
|
|
white-space: preserve-breaks;
|
|
|
|
}
|
|
|
|
|
2020-08-12 23:39:05 +02:00
|
|
|
.ck-mentions .ck-button {
|
2020-09-21 00:07:46 +02:00
|
|
|
font-size: var(--detail-font-size) !important;
|
2020-08-12 23:39:05 +02:00
|
|
|
padding: 5px;
|
2019-11-07 22:43:01 +01:00
|
|
|
}
|
|
|
|
|
2020-09-21 00:07:46 +02:00
|
|
|
.ck-mentions .ck-button b {
|
|
|
|
font-size: var(--detail-font-size) !important;
|
|
|
|
}
|
|
|
|
|
2025-05-24 16:55:30 +03:00
|
|
|
.ck-mentions {
|
|
|
|
--ck-color-list-button-on-background: var(--active-item-background-color);
|
|
|
|
--ck-color-list-button-on-background-focus: var(--ck-color-list-button-on-background);
|
|
|
|
--ck-color-list-button-on-text: var(--active-item-text-color);
|
2019-11-07 22:43:01 +01:00
|
|
|
}
|
|
|
|
|
2020-08-12 23:39:05 +02:00
|
|
|
.ck-mentions .ck-button b {
|
2019-11-07 22:43:01 +01:00
|
|
|
font-weight: bold !important;
|
|
|
|
color: inherit !important;
|
|
|
|
vertical-align: baseline !important;
|
2019-12-21 12:37:24 +01:00
|
|
|
}
|
|
|
|
|
2024-10-29 18:39:14 +02:00
|
|
|
.side-checkbox {
|
|
|
|
display: flex;
|
|
|
|
align-items: end;
|
2025-01-09 18:07:02 +02:00
|
|
|
padding-top: 0.375rem;
|
|
|
|
padding-bottom: 0.375rem;
|
2024-10-29 18:39:14 +02:00
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
2019-12-21 12:37:24 +01:00
|
|
|
.ck-content .todo-list .todo-list__label > input:before {
|
|
|
|
border: 1px solid var(--muted-text-color) !important;
|
2019-12-24 10:49:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.ck-link-actions .ck-tooltip {
|
|
|
|
/* force hide the tooltip since it shows misleading "open link in new tab */
|
|
|
|
display: none !important;
|
2019-12-30 19:32:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.include-note {
|
2020-04-11 15:09:38 +02:00
|
|
|
margin-bottom: 10px;
|
2020-04-13 10:13:03 +02:00
|
|
|
padding: 10px;
|
2019-12-30 19:32:45 +01:00
|
|
|
border-radius: 10px;
|
|
|
|
background-color: var(--accented-background-color);
|
2021-01-30 20:07:56 +01:00
|
|
|
display: flex; /* see https://github.com/zadam/trilium/issues/1590 */
|
2020-01-04 13:22:07 +01:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.include-note.ck-placeholder::before {
|
|
|
|
/* remove placeholder in otherwise empty note */
|
|
|
|
content: "" !important;
|
2020-01-04 21:24:39 +01:00
|
|
|
}
|
|
|
|
|
2023-08-08 22:56:45 +02:00
|
|
|
/* Using data- attribute to support both CKEditor and readonly view */
|
2025-01-09 18:07:02 +02:00
|
|
|
.include-note[data-box-size="small"] .include-note-content {
|
2020-04-13 10:13:03 +02:00
|
|
|
max-height: 10em;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.include-note[data-box-size="small"] .include-note-content.type-pdf {
|
2020-08-10 23:39:17 +02:00
|
|
|
height: 10em; /* PDF is rendered in iframe and must be sized absolutely */
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.include-note[data-box-size="medium"] .include-note-content {
|
2020-04-13 10:13:03 +02:00
|
|
|
max-height: 20em;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.include-note[data-box-size="medium"] .include-note-content.type-pdf .rendered-content {
|
2020-08-10 23:39:17 +02:00
|
|
|
height: 20em; /* PDF is rendered in iframe and must be sized absolutely */
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.include-note[data-box-size="full"] .include-note-content.type-pdf .rendered-content {
|
2020-08-10 23:39:17 +02:00
|
|
|
height: 50em; /* PDF is rendered in iframe and it's not possible to put full height so at least a large height */
|
|
|
|
}
|
|
|
|
|
2021-04-17 22:35:47 +02:00
|
|
|
.include-note-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-04-24 20:27:42 +02:00
|
|
|
.alert {
|
|
|
|
padding: 8px 14px;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.alert-warning,
|
|
|
|
.alert-info {
|
2020-01-04 21:24:39 +01:00
|
|
|
color: var(--main-text-color) !important;
|
2021-04-24 20:27:42 +02:00
|
|
|
background-color: transparent !important;
|
2020-01-04 21:24:39 +01:00
|
|
|
border-color: var(--main-border-color) !important;
|
2020-03-01 19:06:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.gutter {
|
|
|
|
background: linear-gradient(to bottom, transparent, var(--accented-background-color), transparent);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gutter:hover {
|
|
|
|
background: linear-gradient(to bottom, transparent, var(--main-border-color), transparent);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gutter.gutter-horizontal {
|
|
|
|
cursor: col-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gutter.gutter-vertical {
|
|
|
|
cursor: row-resize;
|
|
|
|
}
|
|
|
|
|
2024-12-28 10:22:01 +02:00
|
|
|
#context-menu-cover.show {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 1000;
|
|
|
|
background: rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
|
2020-03-01 19:06:26 +01:00
|
|
|
#context-menu-container {
|
|
|
|
max-height: 100vh;
|
|
|
|
/* !!! Cannot set overflow: auto, submenus will break !!! */
|
|
|
|
}
|
|
|
|
|
2025-01-18 00:04:06 +02:00
|
|
|
body.mobile #context-menu-container.mobile-bottom-menu {
|
2024-12-28 11:20:23 +02:00
|
|
|
position: fixed !important;
|
|
|
|
left: 0 !important;
|
|
|
|
right: 0 !important;
|
|
|
|
bottom: 0 !important;
|
|
|
|
top: unset !important;
|
|
|
|
max-height: 70vh;
|
|
|
|
overflow: auto !important;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
2025-01-03 22:31:29 +02:00
|
|
|
padding-bottom: env(safe-area-inset-bottom) !important;
|
2024-12-28 11:20:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile .dropdown-menu {
|
2025-01-04 18:14:30 +02:00
|
|
|
position: fixed !important;
|
|
|
|
z-index: 3000 !important;
|
2024-12-28 11:20:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile .dropdown-submenu > .dropdown-menu {
|
2025-01-04 18:14:30 +02:00
|
|
|
position: static !important;
|
2024-12-28 11:20:23 +02:00
|
|
|
border: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
top: unset !important;
|
|
|
|
margin-top: 0 !important;
|
2025-02-08 09:35:29 +02:00
|
|
|
width: 100%;
|
2024-12-28 11:20:23 +02:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
#context-menu-container,
|
|
|
|
#context-menu-container .dropdown-menu {
|
2020-03-01 19:06:26 +01:00
|
|
|
padding: 3px 0 0;
|
2020-10-01 22:57:07 +02:00
|
|
|
z-index: 2000;
|
2020-03-01 19:06:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#context-menu-container .dropdown-item {
|
|
|
|
padding: 0 7px 0 10px;
|
|
|
|
cursor: pointer;
|
2024-12-28 11:07:44 +02:00
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
2020-03-01 19:06:26 +01:00
|
|
|
}
|
|
|
|
|
2024-12-28 09:50:19 +02:00
|
|
|
body.desktop li.dropdown-submenu:hover > ul.dropdown-menu {
|
2020-03-01 19:06:26 +01:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-submenu {
|
2022-09-16 22:12:09 +02:00
|
|
|
position: relative;
|
2020-03-01 19:06:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-submenu > .dropdown-menu {
|
|
|
|
top: 0;
|
2022-12-18 19:45:36 +01:00
|
|
|
left: calc(100% - 2px); /* -2px, otherwise there's a small gap between menu and submenu where the hover can disappear */
|
2022-12-18 22:05:06 +01:00
|
|
|
margin-top: -10px;
|
2020-03-01 19:06:26 +01:00
|
|
|
min-width: 15rem;
|
2022-09-16 22:12:09 +02:00
|
|
|
/* to make submenu scrollable https://github.com/zadam/trilium/issues/3136 */
|
|
|
|
max-height: 600px;
|
|
|
|
overflow: auto;
|
2020-03-01 19:06:26 +01:00
|
|
|
}
|
|
|
|
|
2024-11-23 10:03:34 +02:00
|
|
|
body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
|
2024-11-22 22:16:48 +02:00
|
|
|
left: calc(-100% + 10px);
|
|
|
|
}
|
|
|
|
|
2025-04-02 20:36:24 +03:00
|
|
|
.right-dropdown-widget {
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
2024-11-23 00:15:50 +02:00
|
|
|
#launcher-pane.horizontal .right-dropdown-widget {
|
|
|
|
width: 53px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#launcher-pane.vertical .right-dropdown-widget {
|
|
|
|
height: 53px;
|
|
|
|
}
|
|
|
|
|
2020-03-01 19:06:26 +01:00
|
|
|
/* rotate caret on hover */
|
|
|
|
.dropdown-menu > li > a:hover:after {
|
|
|
|
text-decoration: underline;
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
}
|
|
|
|
|
2024-08-17 01:19:07 +03:00
|
|
|
::-webkit-scrollbar {
|
|
|
|
width: 12px;
|
2020-03-01 19:06:26 +01:00
|
|
|
}
|
|
|
|
|
2024-08-17 01:19:07 +03:00
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
border-radius: 5px;
|
|
|
|
border: 1px solid var(--scrollbar-border-color);
|
|
|
|
background-color: var(--scrollbar-background-color);
|
|
|
|
}
|
2020-03-01 19:06:26 +01:00
|
|
|
|
2024-08-17 01:19:07 +03:00
|
|
|
::-webkit-scrollbar-corner {
|
|
|
|
background-color: inherit;
|
2020-03-01 19:06:26 +01:00
|
|
|
}
|
|
|
|
|
2025-05-12 14:09:35 +08:00
|
|
|
::selection {
|
|
|
|
background-color: var(--selection-background-color);
|
|
|
|
}
|
|
|
|
|
2024-09-03 17:08:07 +02:00
|
|
|
[data-bs-toggle="tooltip"]:not(.button-widget) span {
|
2020-03-01 19:06:26 +01:00
|
|
|
padding-bottom: 0;
|
|
|
|
border-bottom: 1px dotted;
|
2020-03-06 22:17:07 +01:00
|
|
|
}
|
|
|
|
|
2025-01-09 18:07:02 +02:00
|
|
|
.hidden-int,
|
|
|
|
.hidden-ext {
|
2020-03-06 22:17:07 +01:00
|
|
|
display: none !important;
|
2020-06-03 11:06:45 +02:00
|
|
|
}
|
2020-06-05 17:25:14 +02:00
|
|
|
|
|
|
|
.ck.ck-mentions > .ck-list__item {
|
2020-09-09 20:49:44 +02:00
|
|
|
max-width: 700px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ck.ck-mentions > .ck-list__item .ck-button {
|
|
|
|
/* wrap text for very long note path title */
|
|
|
|
white-space: normal !important;
|
2020-06-05 17:25:14 +02:00
|
|
|
}
|
2020-08-17 20:58:34 +02:00
|
|
|
|
2025-06-16 23:06:34 +03:00
|
|
|
/* Slash commands */
|
|
|
|
|
|
|
|
.ck.ck-slash-command-button {
|
|
|
|
padding: 0.5em 1em !important;
|
|
|
|
}
|
|
|
|
|
2025-06-17 19:16:32 +03:00
|
|
|
.ck.ck-slash-command-button__text-part,
|
|
|
|
.ck.ck-template-form__text-part {
|
2025-06-16 23:06:34 +03:00
|
|
|
margin-left: 0.5em;
|
|
|
|
line-height: 1.2em !important;
|
|
|
|
}
|
|
|
|
|
2025-06-17 19:16:32 +03:00
|
|
|
.ck.ck-slash-command-button__text-part > span,
|
|
|
|
.ck.ck-template-form__text-part > span {
|
2025-06-16 23:06:34 +03:00
|
|
|
line-height: inherit !important;
|
|
|
|
}
|
|
|
|
|
2025-06-17 19:16:32 +03:00
|
|
|
.ck.ck-slash-command-button__text-part .ck.ck-slash-command-button__description,
|
|
|
|
.ck.ck-template-form__text-part .ck-template-form__description {
|
2025-06-16 23:06:34 +03:00
|
|
|
display: block;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
2020-09-25 23:52:24 +02:00
|
|
|
.area-expander {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
color: var(--muted-text-color);
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.area-expander hr {
|
|
|
|
height: 1px;
|
|
|
|
border-color: var(--main-border-color);
|
|
|
|
position: relative;
|
|
|
|
top: 4px;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.area-expander-text {
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.area-expander:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.area-expander:hover hr {
|
|
|
|
border-color: var(--main-text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.area-expander:hover .area-expander-text {
|
|
|
|
color: var(--main-text-color);
|
|
|
|
}
|
2021-01-26 14:44:53 +01:00
|
|
|
|
2021-02-13 23:38:31 +01:00
|
|
|
.help-dropdown {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2021-01-26 14:44:53 +01:00
|
|
|
.help-dropdown .dropdown-menu {
|
|
|
|
border-radius: 10px;
|
|
|
|
border-width: 2px;
|
|
|
|
box-shadow: 10px 10px 93px -25px black;
|
|
|
|
padding: 10px 15px 10px 15px !important;
|
2021-01-26 22:22:17 +01:00
|
|
|
width: 600px;
|
2022-06-12 23:29:11 +02:00
|
|
|
white-space: normal;
|
2021-01-26 15:54:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.help-dropdown .dropdown-menu pre {
|
|
|
|
background-color: var(--accented-background-color);
|
|
|
|
padding: 10px;
|
|
|
|
margin: 10px;
|
2021-01-26 14:44:53 +01:00
|
|
|
}
|
2021-05-18 22:14:35 +02:00
|
|
|
|
2024-09-03 21:14:47 +03:00
|
|
|
.help-dropdown code {
|
|
|
|
font-variant-ligatures: none;
|
|
|
|
}
|
|
|
|
|
2022-12-11 13:20:37 +01:00
|
|
|
#launcher-pane .launcher-button {
|
2021-05-22 22:55:24 +02:00
|
|
|
font-size: 150%;
|
2021-05-27 23:17:13 +02:00
|
|
|
display: inline-block;
|
2023-01-31 22:25:46 +01:00
|
|
|
padding: 13px 13px;
|
2021-05-27 23:17:13 +02:00
|
|
|
cursor: pointer;
|
2021-05-28 22:47:59 +02:00
|
|
|
border: none;
|
2021-06-06 22:15:51 +02:00
|
|
|
color: var(--launcher-pane-text-color);
|
2024-12-22 15:42:15 +02:00
|
|
|
background-color: var(--launcher-pane-background-color);
|
2025-04-02 20:22:10 +03:00
|
|
|
flex-shrink: 0;
|
2024-11-22 21:14:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#launcher-pane.vertical .launcher-button {
|
2023-08-15 16:11:13 +08:00
|
|
|
width: 100%;
|
2024-11-22 21:14:50 +02:00
|
|
|
height: 53px;
|
2021-05-22 22:55:24 +02:00
|
|
|
}
|
|
|
|
|
2024-11-22 21:14:50 +02:00
|
|
|
#launcher-pane.horizontal .launcher-button {
|
|
|
|
width: 53px;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2024-11-22 21:57:03 +02:00
|
|
|
#launcher-pane.horizontal .quick-search {
|
|
|
|
width: 350px;
|
2025-04-02 20:36:24 +03:00
|
|
|
min-width: 150px;
|
2024-11-22 21:57:03 +02:00
|
|
|
}
|
2024-11-22 21:14:50 +02:00
|
|
|
|
2021-06-03 22:23:11 +02:00
|
|
|
#launcher-pane .icon-action:hover {
|
2021-05-18 22:14:35 +02:00
|
|
|
background-color: var(--hover-item-background-color);
|
|
|
|
}
|
2021-05-22 23:25:44 +02:00
|
|
|
|
2021-06-03 22:23:11 +02:00
|
|
|
#left-pane {
|
|
|
|
color: var(--left-pane-text-color);
|
|
|
|
background-color: var(--left-pane-background-color);
|
2021-05-22 23:25:44 +02:00
|
|
|
}
|
|
|
|
|
2025-01-04 14:18:07 +02:00
|
|
|
/* Mobile, phone mode */
|
2025-03-23 20:03:24 +02:00
|
|
|
|
|
|
|
#detail-container {
|
|
|
|
max-height: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2025-01-01 21:24:26 +02:00
|
|
|
@media (max-width: 991px) {
|
2025-02-08 11:46:47 +02:00
|
|
|
body.mobile #launcher-pane .dropdown.global-menu > .dropdown-menu.show,
|
|
|
|
body.mobile #launcher-container .dropdown > .dropdown-menu.show {
|
|
|
|
position: fixed !important;
|
|
|
|
bottom: calc(var(--mobile-bottom-offset) + var(--launcher-pane-size)) !important;
|
|
|
|
top: unset !important;
|
|
|
|
left: 0 !important;
|
|
|
|
right: 0 !important;
|
|
|
|
transform: unset !important;
|
|
|
|
}
|
|
|
|
|
2025-01-01 21:24:26 +02:00
|
|
|
#mobile-sidebar-container {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
2025-01-09 18:07:02 +02:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2025-01-04 00:50:11 +02:00
|
|
|
z-index: 1000;
|
|
|
|
transition: background-color 250ms ease-in-out;
|
|
|
|
visibility: hidden;
|
|
|
|
background: rgba(0, 0, 0, 0.4);
|
2025-01-01 21:24:26 +02:00
|
|
|
}
|
2025-01-09 18:07:02 +02:00
|
|
|
|
2025-01-01 21:24:26 +02:00
|
|
|
#mobile-sidebar-container.show {
|
2025-01-09 18:07:02 +02:00
|
|
|
visibility: visible;
|
2025-01-01 21:24:26 +02:00
|
|
|
}
|
2025-01-09 18:07:02 +02:00
|
|
|
|
2025-01-01 21:24:26 +02:00
|
|
|
#mobile-sidebar-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2025-01-04 01:43:03 +02:00
|
|
|
width: 85vw;
|
2025-01-01 21:24:26 +02:00
|
|
|
padding-top: env(safe-area-inset-top);
|
|
|
|
transition: transform 250ms ease-in-out;
|
|
|
|
background: var(--main-background-color);
|
2025-01-04 00:50:11 +02:00
|
|
|
z-index: 2000;
|
2025-01-01 21:24:26 +02:00
|
|
|
}
|
2025-01-09 18:07:02 +02:00
|
|
|
|
2025-03-23 20:03:24 +02:00
|
|
|
#detail-container {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2025-01-01 21:24:26 +02:00
|
|
|
#mobile-sidebar-container.show #mobile-sidebar-wrapper {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
2025-01-04 18:30:27 +02:00
|
|
|
|
2025-01-04 22:49:11 +02:00
|
|
|
body.mobile #launcher-container {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile #launcher-container button {
|
|
|
|
margin: 0 16px;
|
|
|
|
}
|
|
|
|
|
2025-01-04 18:30:27 +02:00
|
|
|
body.mobile .modal.show {
|
|
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile .modal-dialog {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: 0 !important;
|
2025-04-12 09:34:16 +03:00
|
|
|
max-height: 85vh;
|
|
|
|
display: flex;
|
2025-01-04 18:30:27 +02:00
|
|
|
}
|
2025-01-04 18:53:34 +02:00
|
|
|
|
|
|
|
body.mobile .modal-content {
|
2025-04-12 09:34:16 +03:00
|
|
|
overflow-y: auto;
|
2025-01-04 18:53:34 +02:00
|
|
|
}
|
|
|
|
|
2025-04-12 09:43:24 +03:00
|
|
|
body.mobile .modal-footer {
|
|
|
|
padding-top: 12px;
|
2025-04-12 10:45:08 +03:00
|
|
|
padding-bottom: calc(max(env(safe-area-inset-bottom), 12px));
|
2025-01-04 18:53:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile .help-dialog kbd {
|
|
|
|
display: inline !important;
|
|
|
|
}
|
2025-01-04 19:26:22 +02:00
|
|
|
|
|
|
|
body.mobile .options-section table {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
2025-01-05 00:24:25 +02:00
|
|
|
|
|
|
|
body.mobile .jump-to-note-dialog .modal-content {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile .jump-to-note-dialog .modal-dialog .aa-dropdown-menu {
|
|
|
|
max-height: unset;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2025-04-12 10:01:31 +03:00
|
|
|
|
|
|
|
body.mobile .modal-dialog .dropdown-menu {
|
|
|
|
position: static !important;
|
|
|
|
border: 0 !important;
|
|
|
|
border-radius: 0 !important;
|
2025-04-12 10:31:53 +03:00
|
|
|
font-size: 1rem !important;
|
|
|
|
}
|
|
|
|
|
2025-04-12 10:41:30 +03:00
|
|
|
body.mobile .modal-dialog.modal-dialog-scrollable {
|
|
|
|
height: unset;
|
|
|
|
}
|
|
|
|
|
2025-04-12 10:31:53 +03:00
|
|
|
body.mobile .revisions-dialog .modal-dialog {
|
|
|
|
height: 95vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile .revisions-dialog .modal-body {
|
|
|
|
height: 100% !important;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile .revisions-dialog .revision-list {
|
|
|
|
height: unset;
|
|
|
|
max-height: 20vh;
|
|
|
|
border-bottom: 1px solid var(--main-border-color) !important;
|
|
|
|
padding: 0 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile .revisions-dialog .modal-body > .revision-content-wrapper {
|
|
|
|
flex-grow: 1;
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
2025-04-12 10:39:10 +03:00
|
|
|
margin: 0;
|
2025-04-12 10:31:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile .revisions-dialog .modal-body > .revision-content-wrapper > div:first-of-type {
|
|
|
|
flex-direction: column;
|
2025-04-12 10:01:31 +03:00
|
|
|
}
|
2025-04-12 10:39:10 +03:00
|
|
|
|
|
|
|
body.mobile .revisions-dialog .revision-title {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile .revisions-dialog .revision-title-buttons {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile .revisions-dialog .revision-content {
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
2024-12-28 13:46:08 +02:00
|
|
|
}
|
|
|
|
|
2025-01-04 14:18:07 +02:00
|
|
|
/* Mobile, tablet mode */
|
2025-01-04 14:14:45 +02:00
|
|
|
@media (min-width: 992px) {
|
2025-01-04 14:18:07 +02:00
|
|
|
body.mobile #root-widget {
|
|
|
|
flex-direction: column-reverse !important;
|
2025-01-04 14:29:02 +02:00
|
|
|
background-color: var(--launcher-pane-background-color);
|
2025-01-04 14:18:07 +02:00
|
|
|
}
|
|
|
|
|
2025-01-04 14:14:45 +02:00
|
|
|
#mobile-sidebar-wrapper {
|
|
|
|
transform: none !important;
|
2025-01-04 14:27:23 +02:00
|
|
|
background-color: var(--left-pane-background-color) !important;
|
|
|
|
}
|
|
|
|
|
2025-01-04 14:29:02 +02:00
|
|
|
#mobile-rest-container {
|
|
|
|
background-color: var(--root-background);
|
|
|
|
}
|
|
|
|
|
2025-01-04 14:27:23 +02:00
|
|
|
#detail-container {
|
|
|
|
background: var(--main-background-color);
|
2025-01-04 14:14:45 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2025-02-08 10:24:26 +02:00
|
|
|
@media (max-width: 991px) {
|
|
|
|
body.mobile.force-fixed-tree #mobile-sidebar-wrapper {
|
|
|
|
padding-top: 0;
|
|
|
|
position: static;
|
|
|
|
height: 40vh;
|
|
|
|
width: 100vw;
|
|
|
|
transform: none !important;
|
|
|
|
background-color: var(--left-pane-background-color) !important;
|
2025-02-08 10:32:40 +02:00
|
|
|
border-bottom: 0.5px solid var(--main-border-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile.force-fixed-tree #mobile-sidebar-container {
|
|
|
|
display: none !important;
|
2025-02-08 10:24:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body.mobile.force-fixed-tree #mobile-sidebar-wrapper .quick-search {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2025-02-08 10:32:40 +02:00
|
|
|
body.mobile.force-fixed-tree .component > button.bx-sidebar {
|
|
|
|
visibility: hidden;
|
|
|
|
padding: 0;
|
|
|
|
width: 6px;
|
|
|
|
}
|
|
|
|
|
2025-02-08 10:24:26 +02:00
|
|
|
body.mobile.force-fixed-tree #mobile-rest-container {
|
|
|
|
flex-direction: column !important;
|
2025-03-02 20:47:57 +01:00
|
|
|
}
|
2025-02-08 10:24:26 +02:00
|
|
|
|
|
|
|
body.mobile.force-fixed-tree #detail-container {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-03 22:23:11 +02:00
|
|
|
#launcher-pane {
|
|
|
|
color: var(--launcher-pane-text-color);
|
|
|
|
background-color: var(--launcher-pane-background-color);
|
2025-04-03 15:59:21 +03:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#launcher-pane .right-dropdown-widget {
|
|
|
|
position: static;
|
2021-05-22 23:25:44 +02:00
|
|
|
}
|
|
|
|
|
2021-06-03 23:34:40 +02:00
|
|
|
#right-pane {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#right-pane .card {
|
|
|
|
border: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-direction: column;
|
2023-06-30 23:01:57 +02:00
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 5px;
|
2021-06-03 23:34:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#right-pane .card-header {
|
|
|
|
background: inherit;
|
2023-11-03 10:44:14 +01:00
|
|
|
padding: 6px 0 3px 0;
|
2021-06-03 23:34:40 +02:00
|
|
|
width: 99%; /* to give minimal right margin */
|
|
|
|
background-color: var(--button-background-color);
|
|
|
|
border-color: var(--button-border-color);
|
|
|
|
border-width: 0 0 1px 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
border-style: solid;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2023-11-03 10:44:14 +01:00
|
|
|
align-items: baseline;
|
2021-06-03 23:34:40 +02:00
|
|
|
font-weight: bold;
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: var(--muted-text-color) !important;
|
|
|
|
}
|
|
|
|
|
2023-11-03 10:44:14 +01:00
|
|
|
#right-pane .card-header-buttons {
|
|
|
|
display: flex;
|
|
|
|
transform: scale(0.9);
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
|
2021-06-03 23:34:40 +02:00
|
|
|
#right-pane .body-wrapper {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#right-pane .card-body {
|
|
|
|
width: 100%;
|
|
|
|
padding: 8px;
|
|
|
|
border: 0;
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#right-pane .card-body ul {
|
|
|
|
padding-left: 25px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2021-10-10 14:34:54 +02:00
|
|
|
|
|
|
|
.text-with-ellipsis {
|
|
|
|
overflow-x: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2021-10-31 21:55:11 +01:00
|
|
|
|
|
|
|
.note-split {
|
|
|
|
flex-basis: 0; /* so that each split has same width */
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2021-11-24 21:27:55 +01:00
|
|
|
|
|
|
|
.note-split.full-content-width {
|
|
|
|
max-width: 999999px;
|
|
|
|
}
|
2022-06-07 20:11:43 +02:00
|
|
|
|
|
|
|
button.close:hover {
|
|
|
|
text-shadow: none;
|
|
|
|
color: currentColor;
|
|
|
|
}
|
2022-09-18 14:57:44 +02:00
|
|
|
|
|
|
|
.hidden-no-content {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-09-24 22:38:20 +02:00
|
|
|
|
|
|
|
.reference-link .bx {
|
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
2022-12-06 22:43:35 +01:00
|
|
|
|
|
|
|
.options-section:first-of-type h4 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options-section h4 {
|
2023-04-24 21:22:34 +02:00
|
|
|
margin-top: 25px;
|
2022-12-06 22:43:35 +01:00
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.options-section h5 {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2022-12-26 20:07:04 +01:00
|
|
|
|
2023-07-14 18:05:19 +02:00
|
|
|
.options-number-input {
|
|
|
|
/* overriding settings from .form-control */
|
|
|
|
width: 10em !important;
|
|
|
|
flex-grow: 0 !important;
|
|
|
|
}
|
|
|
|
|
2024-11-03 15:42:13 +02:00
|
|
|
.options-mime-types {
|
|
|
|
column-width: 250px;
|
|
|
|
}
|
|
|
|
|
2022-12-26 20:07:04 +01:00
|
|
|
textarea {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
2023-02-26 22:45:58 +02:00
|
|
|
|
2023-06-30 15:58:42 +02:00
|
|
|
.ck-powered-by-balloon {
|
|
|
|
display: none !important;
|
2023-06-30 23:01:57 +02:00
|
|
|
}
|
2023-07-14 22:02:30 +02:00
|
|
|
|
2025-02-06 17:29:41 +02:00
|
|
|
.attachment-actions-toolbar {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2023-07-14 22:02:30 +02:00
|
|
|
.attachment-help-button {
|
2025-02-06 17:29:41 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin-left: 10px;
|
|
|
|
vertical-align: middle;
|
|
|
|
font-size: 1em;
|
2023-07-14 22:02:30 +02:00
|
|
|
}
|
2023-08-28 22:12:14 +03:00
|
|
|
|
2023-08-28 22:15:36 +03:00
|
|
|
.jump-to-note-dialog .modal-header {
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2023-08-28 22:12:14 +03:00
|
|
|
.jump-to-note-dialog .modal-body {
|
2023-08-28 22:21:54 +03:00
|
|
|
padding: 0;
|
2023-08-28 22:12:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.jump-to-note-results .aa-dropdown-menu {
|
|
|
|
max-height: 40vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jump-to-note-results .aa-suggestions {
|
2023-08-28 22:21:54 +03:00
|
|
|
padding: 1rem;
|
2024-11-03 15:42:13 +02:00
|
|
|
}
|
|
|
|
|
2024-11-19 20:28:47 +02:00
|
|
|
.empty-table-placeholder {
|
|
|
|
text-align: center;
|
|
|
|
color: var(--muted-text-color);
|
2024-11-20 10:48:42 +02:00
|
|
|
}
|
|
|
|
|
2024-12-07 00:27:53 +02:00
|
|
|
body.electron.platform-darwin:not(.native-titlebar) .tab-row-container {
|
2024-12-07 00:31:17 +02:00
|
|
|
padding-left: 1em;
|
2024-12-05 20:34:55 +02:00
|
|
|
}
|
|
|
|
|
2024-12-04 23:21:04 +02:00
|
|
|
#tab-row-left-spacer {
|
|
|
|
width: env(titlebar-area-x);
|
|
|
|
-webkit-app-region: drag;
|
|
|
|
}
|
|
|
|
|
2024-12-09 21:48:08 +02:00
|
|
|
.tab-row-widget {
|
2024-12-07 00:45:49 +02:00
|
|
|
padding-right: calc(100vw - env(titlebar-area-width, 100vw));
|
2024-12-01 18:31:21 +02:00
|
|
|
}
|
|
|
|
|
2024-11-30 01:20:47 +02:00
|
|
|
.tab-row-container .toggle-button {
|
|
|
|
background: transparent;
|
|
|
|
appearance: none;
|
|
|
|
border: 0;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
color: var(--launcher-pane-text-color);
|
2024-12-22 15:42:15 +02:00
|
|
|
margin: 8px 10px;
|
2024-11-30 01:20:47 +02:00
|
|
|
font-size: 18px;
|
|
|
|
}
|
2024-12-13 01:53:04 +02:00
|
|
|
|
|
|
|
.recent-changes-content li > span:first-child::after {
|
|
|
|
content: " - ";
|
|
|
|
}
|
2024-12-13 02:11:51 +02:00
|
|
|
|
|
|
|
.recent-changes-content li {
|
|
|
|
border: 1px solid transparent;
|
|
|
|
}
|
|
|
|
|
2024-12-13 02:59:04 +02:00
|
|
|
.recent-changes-content li:not(.deleted-note):hover {
|
2024-12-13 02:11:51 +02:00
|
|
|
border-color: var(--hover-item-border-color);
|
|
|
|
background: var(--hover-item-background-color);
|
|
|
|
color: var(--hover-item-text-color);
|
2025-02-03 22:40:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-split.type-geoMap .floating-buttons-children {
|
|
|
|
background: var(--main-background-color);
|
|
|
|
box-shadow: 0px 10px 20px rgba(0, 0, 0, var(--dropdown-shadow-opacity));
|
|
|
|
border-radius: 4px;
|
2025-02-13 22:21:09 +02:00
|
|
|
}
|
2025-02-14 14:11:22 +02:00
|
|
|
|
2025-02-14 17:39:03 +02:00
|
|
|
body.zen {
|
|
|
|
--tab-bar-height: 0;
|
|
|
|
}
|
|
|
|
|
2025-02-14 14:11:22 +02:00
|
|
|
body.zen .gutter,
|
|
|
|
body.zen #launcher-container,
|
2025-02-14 18:18:28 +02:00
|
|
|
body.zen #launcher-pane,
|
2025-02-14 14:11:22 +02:00
|
|
|
body.zen #left-pane,
|
|
|
|
body.zen #right-pane,
|
|
|
|
body.zen .tab-row-container,
|
2025-02-14 17:39:03 +02:00
|
|
|
body.zen .tab-row-widget,
|
2025-06-09 21:46:18 +08:00
|
|
|
body.zen .ribbon-container:not(:has(.classic-toolbar-widget.visible)),
|
|
|
|
body.zen .ribbon-container:has(.classic-toolbar-widget.visible) .ribbon-top-row,
|
|
|
|
body.zen .ribbon-container .ribbon-body:not(:has(.classic-toolbar-widget.visible)),
|
2025-02-14 14:11:22 +02:00
|
|
|
body.zen .note-icon-widget,
|
2025-02-14 17:39:03 +02:00
|
|
|
body.zen .title-row .button-widget,
|
2025-03-15 02:21:00 +02:00
|
|
|
body.zen .floating-buttons-children > *:not(.bx-edit-alt) {
|
2025-02-14 14:11:22 +02:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.zen #launcher-pane {
|
|
|
|
position: absolute !important;
|
|
|
|
top: 0 !important;
|
|
|
|
right: 0 !important;
|
|
|
|
width: 64px !important;
|
|
|
|
height: 64px !important;
|
|
|
|
background: transparent !important;
|
|
|
|
border: 0 !important;
|
2025-02-14 18:47:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body.zen .title-row {
|
|
|
|
display: block !important;
|
|
|
|
height: unset !important;
|
|
|
|
-webkit-app-region: drag;
|
2025-02-16 15:38:31 +02:00
|
|
|
padding-left: env(titlebar-area-x);
|
2025-05-12 14:56:04 +08:00
|
|
|
padding-right: calc(100vw - env(titlebar-area-width, 100vw) + 2.5em);
|
2025-02-14 18:47:15 +02:00
|
|
|
}
|
|
|
|
|
2025-03-15 02:21:00 +02:00
|
|
|
body.zen .floating-buttons {
|
|
|
|
top: -10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.zen .floating-buttons-children {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.zen .floating-buttons-children .button-widget {
|
|
|
|
width: var(--zen-button-size);
|
|
|
|
height: var(--zen-button-size);
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2025-02-14 18:47:15 +02:00
|
|
|
body.zen .note-title-widget,
|
|
|
|
body.zen .note-title-widget input {
|
|
|
|
font-size: 1rem !important;
|
|
|
|
background: transparent !important;
|
2025-02-26 19:41:39 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Content renderer */
|
|
|
|
|
|
|
|
footer.file-footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer.file-footer button {
|
|
|
|
margin: 5px;
|
2025-03-02 19:39:10 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* AI Chat Widget Styles */
|
|
|
|
.chat-widget {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 10px 15px;
|
|
|
|
border-bottom: 1px solid var(--main-border-color);
|
|
|
|
background-color: var(--accented-background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-title {
|
|
|
|
font-weight: bold;
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-actions {
|
|
|
|
display: flex;
|
|
|
|
gap: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-messages {
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding: 15px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message {
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
max-width: 85%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-user {
|
|
|
|
align-self: flex-end;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-assistant {
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-avatar {
|
|
|
|
flex-shrink: 0;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: var(--accented-background-color);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-user .chat-message-avatar {
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-assistant .chat-message-avatar {
|
|
|
|
background-color: var(--muted-text-color);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-content {
|
|
|
|
flex-grow: 1;
|
|
|
|
padding: 10px 15px;
|
|
|
|
border-radius: 12px;
|
|
|
|
background-color: var(--accented-background-color);
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-user .chat-message-content {
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-content pre {
|
|
|
|
background-color: var(--main-background-color);
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 10px;
|
|
|
|
overflow-x: auto;
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-user .chat-message-content pre {
|
|
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-content code {
|
|
|
|
font-family: monospace;
|
|
|
|
background-color: var(--main-background-color);
|
|
|
|
padding: 2px 4px;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-user .chat-message-content code {
|
|
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-controls {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 15px;
|
|
|
|
gap: 10px;
|
|
|
|
border-top: 1px solid var(--main-border-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-input-container {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-input {
|
|
|
|
width: 100%;
|
|
|
|
resize: none;
|
|
|
|
padding-right: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-buttons {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-loading {
|
|
|
|
animation: chat-loading 1s infinite;
|
|
|
|
letter-spacing: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes chat-loading {
|
|
|
|
0% { opacity: 0.3; }
|
|
|
|
50% { opacity: 1; }
|
|
|
|
100% { opacity: 0.3; }
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Right Pane Tab Styles */
|
|
|
|
#right-pane-tab-container {
|
|
|
|
display: flex;
|
|
|
|
gap: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right-pane-tab {
|
|
|
|
padding: 5px 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 5px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
transition: background-color 0.2s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right-pane-tab:hover {
|
|
|
|
background-color: var(--hover-item-background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.right-pane-tab.active {
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right-pane-tab .tab-title {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.right-pane-tab .tab-title .bx {
|
|
|
|
font-size: 1.1em;
|
2025-03-08 20:51:57 +00:00
|
|
|
}
|
2025-03-15 19:38:27 +00:00
|
|
|
|
2025-03-22 14:39:43 +02:00
|
|
|
.admonition {
|
2025-03-13 16:19:58 +02:00
|
|
|
--accent-color: var(--card-border-color);
|
|
|
|
border: 1px solid var(--accent-color);
|
2025-03-12 22:08:06 +02:00
|
|
|
box-shadow: var(--card-box-shadow);
|
2025-03-14 00:02:55 +02:00
|
|
|
background: var(--card-background-color);
|
2025-03-13 09:15:11 +02:00
|
|
|
border-radius: 0.5em;
|
2025-03-12 22:08:06 +02:00
|
|
|
padding: 1em;
|
2025-04-18 00:29:52 +03:00
|
|
|
margin: 1.25em 0;
|
|
|
|
position: relative;
|
|
|
|
padding-left: 2.5em;
|
|
|
|
overflow: hidden;
|
2025-03-12 22:49:29 +00:00
|
|
|
}
|
2025-04-18 00:29:52 +03:00
|
|
|
|
2025-03-22 14:39:43 +02:00
|
|
|
.admonition p:last-child {
|
2025-03-14 22:29:24 +02:00
|
|
|
margin-bottom: 0;
|
2025-03-13 16:13:16 +02:00
|
|
|
}
|
|
|
|
|
2025-03-22 14:39:43 +02:00
|
|
|
.admonition::before {
|
2025-03-13 16:22:05 +02:00
|
|
|
color: var(--accent-color);
|
2025-03-13 16:13:16 +02:00
|
|
|
font-family: boxicons !important;
|
|
|
|
position: absolute;
|
|
|
|
top: 1em;
|
|
|
|
left: 1em;
|
|
|
|
}
|
|
|
|
|
2025-05-21 21:34:22 +03:00
|
|
|
.admonition.note { --accent-color: var(--admonition-note-accent-color); }
|
|
|
|
.admonition.tip { --accent-color: var(--admonition-tip-accent-color); }
|
|
|
|
.admonition.important { --accent-color: var(--admonition-important-accent-color); }
|
2025-05-21 21:54:28 +03:00
|
|
|
.admonition.caution { --accent-color: var(--admonition-caution-accent-color); }
|
2025-05-21 21:34:22 +03:00
|
|
|
.admonition.warning { --accent-color: var(--admonition-warning-accent-color); }
|
2025-03-13 16:19:58 +02:00
|
|
|
|
2025-04-18 00:29:52 +03:00
|
|
|
.admonition.note::before { content: "\eb21"; }
|
|
|
|
.admonition.tip::before { content: "\ea0d"; }
|
|
|
|
.admonition.important::before { content: "\ea7c"; }
|
|
|
|
.admonition.caution::before { content: "\eac7"; }
|
|
|
|
.admonition.warning::before { content: "\eac5"; }
|
2025-03-19 18:49:14 +00:00
|
|
|
|
|
|
|
.chat-options-container {
|
|
|
|
display: flex;
|
|
|
|
margin: 5px 0;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-option {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin-right: 15px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-option input[type="checkbox"] {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Style for thinking process in chat responses */
|
|
|
|
.thinking-process {
|
|
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
|
|
border-left: 3px solid var(--main-text-color);
|
|
|
|
padding: 10px;
|
|
|
|
margin: 10px 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thinking-step {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thinking-step.observation {
|
|
|
|
border-left: 2px solid #69c7ff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thinking-step.hypothesis {
|
|
|
|
border-left: 2px solid #9839f7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thinking-step.evidence {
|
|
|
|
border-left: 2px solid #40c025;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thinking-step.conclusion {
|
|
|
|
border-left: 2px solid #e2aa03;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2025-03-22 13:06:00 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
* In-content floating buttons
|
|
|
|
*/
|
|
|
|
|
|
|
|
.content-floating-buttons {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 10; /* should be below dropdown (note actions) */
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-floating-buttons.top-left {
|
|
|
|
top: 10px;
|
|
|
|
left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-floating-buttons.bottom-left {
|
|
|
|
bottom: 10px;
|
|
|
|
left: 10px;
|
|
|
|
}
|
|
|
|
|
2025-03-22 13:36:11 +02:00
|
|
|
.content-floating-buttons.bottom-right {
|
|
|
|
bottom: 10px;
|
|
|
|
right: 10px;
|
|
|
|
}
|
|
|
|
|
2025-03-22 13:06:00 +02:00
|
|
|
.content-floating-buttons button.bx {
|
|
|
|
font-size: 130%;
|
|
|
|
padding: 1px 10px 1px 10px;
|
2025-03-24 18:42:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Customized icons */
|
|
|
|
|
|
|
|
.bx-tn-toc::before {
|
|
|
|
content: "\ec24";
|
|
|
|
transform: rotate(180deg);
|
2025-03-24 21:16:20 +00:00
|
|
|
}
|