mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 16:20:08 +01:00
Compare commits
10 Commits
fix/implem
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0d32e1f0d8 | ||
|
|
d0f91e7709 | ||
|
|
353d626d45 | ||
|
|
af67a3ba11 | ||
|
|
a867c646e4 | ||
|
|
150e2504b1 | ||
|
|
aa7ae150dc | ||
|
|
d99e08bfdd | ||
|
|
29d038c76b | ||
|
|
f1615bb4f6 |
@@ -128,6 +128,12 @@ body.backdrop-effects-disabled {
|
|||||||
font-size: 0.9rem !important;
|
font-size: 0.9rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropdown-menu.tn-dropdown-menu-scrollable {
|
||||||
|
/* Note: scrollable dropdowns does not support submenus */
|
||||||
|
max-height: 90vh;
|
||||||
|
overflow: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
body.desktop .dropdown-menu::before,
|
body.desktop .dropdown-menu::before,
|
||||||
:root .ck.ck-dropdown__panel::before,
|
:root .ck.ck-dropdown__panel::before,
|
||||||
:root .excalidraw .popover::before,
|
:root .excalidraw .popover::before,
|
||||||
|
|||||||
@@ -653,7 +653,8 @@ body a.tn-link:focus-visible,
|
|||||||
}
|
}
|
||||||
|
|
||||||
body a.tn-link:hover,
|
body a.tn-link:hover,
|
||||||
.use-tn-links a:hover {
|
.use-tn-links a:hover,
|
||||||
|
.use-tn-links a.ck-widget_selected {
|
||||||
box-shadow: 0 0 0 4px var(--link-hover-background);
|
box-shadow: 0 0 0 4px var(--link-hover-background);
|
||||||
--background: var(--link-hover-background);
|
--background: var(--link-hover-background);
|
||||||
color: var(--link-hover-color);
|
color: var(--link-hover-color);
|
||||||
|
|||||||
@@ -670,16 +670,33 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
|
|||||||
color: var(--main-text-color);
|
color: var(--main-text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Links */
|
||||||
|
|
||||||
|
.ck-content a.ck-widget {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ck-content a.ck-widget.ck-widget_selected,
|
||||||
|
.ck-content a.ck-link_selected {
|
||||||
|
outline: 2px solid var(--input-focus-outline-color);
|
||||||
|
outline-offset: 2px;
|
||||||
|
background: var(--link-hover-background);
|
||||||
|
}
|
||||||
|
|
||||||
/* Reference link */
|
/* Reference link */
|
||||||
|
|
||||||
.ck-content a.reference-link,
|
.ck-content a.reference-link,
|
||||||
.ck-content a.reference-link:hover {
|
.ck-content a.reference-link:hover {
|
||||||
/* Apply underline only to the span inside the link so it can follow the
|
/* Apply underline only to the span inside the link so it can follow the
|
||||||
* target note's user defined color */
|
* target note's user defined color */
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ck-content a.reference-link > span {
|
.ck-content a.reference-link > span {
|
||||||
|
color: var(--custom-color, inherit);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ck-content a.reference-link:hover > span {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1230,7 +1230,7 @@ body.layout-vertical .tab-row-widget-is-sorting .note-tab.note-tab-is-dragging .
|
|||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.vertical-layout #rest-pane > .classic-toolbar-widget {
|
body.layout-vertical #rest-pane > .classic-toolbar-widget {
|
||||||
border-start-start-radius: var(--center-pane-border-radius);
|
border-start-start-radius: var(--center-pane-border-radius);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1934,7 +1934,10 @@
|
|||||||
},
|
},
|
||||||
"highlights_list_2": {
|
"highlights_list_2": {
|
||||||
"title": "Lista wyróżnień",
|
"title": "Lista wyróżnień",
|
||||||
"options": "Opcje"
|
"options": "Opcje",
|
||||||
|
"modal_title": "Konfiguracja listy wyróżnień",
|
||||||
|
"menu_configure": "Konfiguracja listy wyróżnień...",
|
||||||
|
"no_highlights": "Nie znaleziono wyróżnień."
|
||||||
},
|
},
|
||||||
"quick-search": {
|
"quick-search": {
|
||||||
"placeholder": "Szybkie wyszukiwanie",
|
"placeholder": "Szybkie wyszukiwanie",
|
||||||
|
|||||||
@@ -189,10 +189,11 @@ interface BreadcrumbSeparatorProps {
|
|||||||
function BreadcrumbSeparator(props: BreadcrumbSeparatorProps) {
|
function BreadcrumbSeparator(props: BreadcrumbSeparatorProps) {
|
||||||
return (
|
return (
|
||||||
<Dropdown
|
<Dropdown
|
||||||
text={<Icon icon="bx bx-chevron-right" />}
|
text={<Icon icon="bx bxs-chevron-right" />}
|
||||||
noSelectButtonStyle
|
noSelectButtonStyle
|
||||||
buttonClassName="icon-action"
|
buttonClassName="icon-action"
|
||||||
hideToggleArrow
|
hideToggleArrow
|
||||||
|
dropdownContainerClassName="tn-dropdown-menu-scrollable"
|
||||||
dropdownOptions={{ popperConfig: { strategy: "fixed", placement: "top" } }}
|
dropdownOptions={{ popperConfig: { strategy: "fixed", placement: "top" } }}
|
||||||
>
|
>
|
||||||
<BreadcrumbSeparatorDropdownContent {...props} />
|
<BreadcrumbSeparatorDropdownContent {...props} />
|
||||||
|
|||||||
@@ -155,11 +155,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-code-note-switcher {
|
|
||||||
max-height: 90vh;
|
|
||||||
overflow: scroll;
|
|
||||||
}
|
|
||||||
|
|
||||||
.backlinks-widget > .dropdown-menu {
|
.backlinks-widget > .dropdown-menu {
|
||||||
--menu-padding-size: .9em;
|
--menu-padding-size: .9em;
|
||||||
|
|
||||||
@@ -260,4 +255,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button.select-button:not(:focus-visible) {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -422,7 +422,7 @@ function CodeNoteSwitcher({ note }: StatusBarContext) {
|
|||||||
icon="bx bx-code-curly"
|
icon="bx bx-code-curly"
|
||||||
text={correspondingMimeType?.title}
|
text={correspondingMimeType?.title}
|
||||||
title={t("status_bar.code_note_switcher")}
|
title={t("status_bar.code_note_switcher")}
|
||||||
dropdownContainerClassName="dropdown-code-note-switcher"
|
dropdownContainerClassName="dropdown-code-note-switcher tn-dropdown-menu-scrollable"
|
||||||
>
|
>
|
||||||
<NoteTypeCodeNoteList
|
<NoteTypeCodeNoteList
|
||||||
currentMimeType={currentNoteMime}
|
currentMimeType={currentNoteMime}
|
||||||
|
|||||||
Reference in New Issue
Block a user