2828 --ck-mention-list-max-height : 500px ;
2929}
3030
31+ body # trilium-app .motion-disabled * ,
32+ body # trilium-app .motion-disabled * ::before ,
33+ body # trilium-app .motion-disabled * ::after {
34+ /* Disable transitions and animations */
35+ transition : none !important ;
36+ animation : none !important ;
37+ }
38+
39+ body # trilium-app .shadows-disabled * ,
40+ body # trilium-app .shadows-disabled * ::before ,
41+ body # trilium-app .shadows-disabled * ::after {
42+ /* Disable shadows */
43+ box-shadow : none !important ;
44+ }
45+
46+ body # trilium-app .backdrop-effects-disabled * ,
47+ body # trilium-app .backdrop-effects-disabled * ::before ,
48+ body # trilium-app .backdrop-effects-disabled * ::after {
49+ /* Disable backdrop effects */
50+ backdrop-filter : none !important ;
51+ }
52+
3153.table {
3254 --bs-table-bg : transparent !important ;
3355}
@@ -355,7 +377,7 @@ body.desktop .tabulator-popup-container {
355377
356378@supports (animation-fill-mode : forwards) {
357379 /* Delay the opening of submenus */
358- body .desktop .dropdown-submenu .dropdown-menu {
380+ body .desktop : not (. motion-disabled ) .dropdown-submenu .dropdown-menu {
359381 opacity : 0 ;
360382 animation-fill-mode : forwards;
361383 animation-delay : var (--submenu-opening-delay );
@@ -1773,20 +1795,69 @@ textarea {
17731795 font-size : 1em ;
17741796}
17751797
1798+ .jump-to-note-dialog .modal-dialog {
1799+ max-width : 900px ;
1800+ width : 90% ;
1801+ }
1802+
17761803.jump-to-note-dialog .modal-header {
17771804 align-items : center;
17781805}
17791806
17801807.jump-to-note-dialog .modal-body {
17811808 padding : 0 ;
1809+ min-height : 200px ;
17821810}
17831811
17841812.jump-to-note-results .aa-dropdown-menu {
1785- max-height : 40vh ;
1813+ max-height : calc (80vh - 200px );
1814+ width : 100% ;
1815+ max-width : none;
1816+ overflow-y : auto;
1817+ overflow-x : hidden;
1818+ text-overflow : ellipsis;
1819+ box-shadow : none;
1820+ }
1821+
1822+ .jump-to-note-results {
1823+ width : 100% ;
17861824}
17871825
17881826.jump-to-note-results .aa-suggestions {
1789- padding : 1rem ;
1827+ padding : 0 ;
1828+ width : 100% ;
1829+ }
1830+
1831+ .jump-to-note-results .aa-dropdown-menu .aa-suggestion {
1832+ white-space : normal;
1833+ padding : 2px 12px !important ;
1834+ line-height : 1.1 ;
1835+ position : relative;
1836+ border-radius : 0 ;
1837+ margin : 0 !important ;
1838+ }
1839+
1840+ .jump-to-note-results .note-suggestion {
1841+ margin : 0 ;
1842+ padding : 0 ;
1843+ line-height : 1 ;
1844+ }
1845+
1846+ .jump-to-note-results .aa-suggestion : not (: last-child )::after {
1847+ display : none; /* Remove dividers for more compact look */
1848+ }
1849+
1850+ .jump-to-note-results .aa-suggestion : last-child ::after {
1851+ display : none;
1852+ }
1853+
1854+ .jump-to-note-results .aa-suggestion .disabled ::after {
1855+ display : none;
1856+ }
1857+
1858+ .jump-to-note-results .aa-dropdown-menu .aa-suggestion : hover ,
1859+ .jump-to-note-results .aa-dropdown-menu .aa-cursor {
1860+ background-color : var (--hover-item-background-color , # f8f9fa );
17901861}
17911862
17921863/* Command palette styling */
@@ -1804,8 +1875,24 @@ textarea {
18041875
18051876.jump-to-note-dialog .aa-cursor .command-suggestion ,
18061877.jump-to-note-dialog .aa-suggestion : hover .command-suggestion {
1807- border-left-color : var (--link-color );
1808- background-color : var (--hover-background-color );
1878+ background-color : transparent;
1879+ }
1880+
1881+ .jump-to-note-dialog .show-in-full-search ,
1882+ .jump-to-note-results .show-in-full-search {
1883+ border-top : 1px solid var (--main-border-color );
1884+ padding-top : 12px ;
1885+ margin-top : 12px ;
1886+ }
1887+
1888+ .jump-to-note-results .aa-suggestion .search-notes-action {
1889+ border-top : 1px solid var (--main-border-color );
1890+ margin-top : 8px ;
1891+ padding-top : 8px ;
1892+ }
1893+
1894+ .jump-to-note-results .aa-suggestion : has (.search-notes-action )::after {
1895+ display : none;
18091896}
18101897
18111898.jump-to-note-dialog .command-icon {
@@ -2262,7 +2349,8 @@ footer.webview-footer button {
22622349
22632350/* Search result highlighting */
22642351.search-result-title b ,
2265- .search-result-content b {
2352+ .search-result-content b ,
2353+ .search-result-attributes b {
22662354 font-weight : 900 ;
22672355 color : var (--admonition-warning-accent-color );
22682356}
0 commit comments