diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index ae6e2109a..a8a130341 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -176,6 +176,11 @@ label.tn-checkbox + label.tn-checkbox { margin-left: 12px; } +label.tn-radio input[type="radio"], +label.tn-checkbox input[type="checkbox"] { + margin-right: .5em; +} + #left-pane input, #left-pane select, #left-pane textarea { @@ -2344,14 +2349,6 @@ footer.webview-footer button { padding: 1px 10px 1px 10px; } -/* Search result highlighting */ -.search-result-title b, -.search-result-content b, -.search-result-attributes b { - font-weight: 900; - color: var(--admonition-warning-accent-color); -} - /* Customized icons */ .bx-tn-toc::before { diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css index b32e29f2b..69753b0db 100644 --- a/apps/client/src/stylesheets/theme-next-dark.css +++ b/apps/client/src/stylesheets/theme-next-dark.css @@ -121,6 +121,8 @@ --quick-search-focus-border: #80808095; --quick-search-focus-background: #ffffff1f; --quick-search-focus-color: white; + --quick-search-result-content-background: #0000004d; + --quick-search-result-highlight-color: #a4d995; --left-pane-collapsed-border-color: #0009; --left-pane-background-color: #1f1f1f; diff --git a/apps/client/src/stylesheets/theme-next-light.css b/apps/client/src/stylesheets/theme-next-light.css index deb9fb2ec..cf6e7c6eb 100644 --- a/apps/client/src/stylesheets/theme-next-light.css +++ b/apps/client/src/stylesheets/theme-next-light.css @@ -115,6 +115,8 @@ --quick-search-focus-border: #00000029; --quick-search-focus-background: #ffffff80; --quick-search-focus-color: #000; + --quick-search-result-content-background: #00000017; + --quick-search-result-highlight-color: #c65050; --left-pane-collapsed-border-color: #0000000d; --left-pane-background-color: #f2f2f2; diff --git a/apps/client/src/stylesheets/theme-next/forms.css b/apps/client/src/stylesheets/theme-next/forms.css index b09d6cb65..f4465f905 100644 --- a/apps/client/src/stylesheets/theme-next/forms.css +++ b/apps/client/src/stylesheets/theme-next/forms.css @@ -455,6 +455,7 @@ optgroup { left: 0; width: var(--box-size); height: 100%; + margin: unset; opacity: 0 !important; } diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css index 1e2e54d40..a6e31de5d 100644 --- a/apps/client/src/stylesheets/theme-next/shell.css +++ b/apps/client/src/stylesheets/theme-next/shell.css @@ -330,7 +330,6 @@ body.layout-horizontal > .horizontal { */ .calendar-dropdown-widget { - width: unset !important; padding: 12px; color: var(--calendar-color); user-select: none; @@ -587,6 +586,10 @@ div.quick-search .search-button.show { top: 1px; } +.quick-search .quick-search-item-icon { + vertical-align: text-bottom; +} + /* Note title */ .quick-search .dropdown-menu .dropdown-item > a { color: var(--menu-text-color); @@ -605,6 +608,25 @@ div.quick-search .search-button.show { overflow: hidden; } +/* Note content snippet */ +:root .quick-search .search-result-content { + background-color: var(--quick-search-result-content-background); + border-radius: 4px; +} + +/* Highlighted search terms */ +:root .quick-search .search-result-title b, +:root .quick-search .search-result-content b, +:root .quick-search .search-result-attributes b { + color: var(--quick-search-result-highlight-color); + font-weight: 600; +} + +/* Divider line */ +.quick-search .dropdown-item::after { + display: none; +} + /* * TREE PANE */ diff --git a/apps/client/src/widgets/dialogs/delete_notes.tsx b/apps/client/src/widgets/dialogs/delete_notes.tsx index b16fafd0a..bb1b4e7cd 100644 --- a/apps/client/src/widgets/dialogs/delete_notes.tsx +++ b/apps/client/src/widgets/dialogs/delete_notes.tsx @@ -113,10 +113,10 @@ function DeletedNotes({ noteIdsToBeDeleted }: { noteIdsToBeDeleted: DeleteNotesP if (noteIdsToBeDeleted.length) { return ( -
+

{t("delete_notes.notes_to_be_deleted", { notesCount: noteIdsToBeDeleted.length })}

-