From 2b0d68368c9798c19b1bdf4255cec6d7e21cba9e Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Tue, 19 Nov 2024 11:08:20 +0800 Subject: [PATCH 1/4] Add box icons to note menu --- .../app/widgets/buttons/note_actions.js | 84 +++++++++++-------- 1 file changed, 51 insertions(+), 33 deletions(-) diff --git a/src/public/app/widgets/buttons/note_actions.js b/src/public/app/widgets/buttons/note_actions.js index bf24a6705..8c70d667d 100644 --- a/src/public/app/widgets/buttons/note_actions.js +++ b/src/public/app/widgets/buttons/note_actions.js @@ -10,44 +10,62 @@ import { t } from "../../services/i18n.js"; const TPL = ` `; export default class NoteActionsWidget extends NoteContextAwareWidget { From 0ba883ce2f9002c5139f4c8b5b276ddc03244b4b Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Tue, 19 Nov 2024 12:08:41 +0800 Subject: [PATCH 2/4] Add box icons to note menu --- src/public/app/widgets/buttons/note_actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/widgets/buttons/note_actions.js b/src/public/app/widgets/buttons/note_actions.js index 8c70d667d..cdefcbb48 100644 --- a/src/public/app/widgets/buttons/note_actions.js +++ b/src/public/app/widgets/buttons/note_actions.js @@ -55,7 +55,7 @@ const TPL = ` ${t('note_actions.open_note_externally')} From f7b1c3fee39ae4a992733c23a703e1904f6e3e28 Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Tue, 19 Nov 2024 14:03:30 +0800 Subject: [PATCH 3/4] Add box icons to note menu --- .../app/widgets/buttons/note_actions.js | 107 +++++++++--------- 1 file changed, 55 insertions(+), 52 deletions(-) diff --git a/src/public/app/widgets/buttons/note_actions.js b/src/public/app/widgets/buttons/note_actions.js index cdefcbb48..7cb0c8c50 100644 --- a/src/public/app/widgets/buttons/note_actions.js +++ b/src/public/app/widgets/buttons/note_actions.js @@ -10,62 +10,65 @@ import { t } from "../../services/i18n.js"; const TPL = ` `; export default class NoteActionsWidget extends NoteContextAwareWidget { From d8e50a2ab85f3e1d649d6df7135def431815449c Mon Sep 17 00:00:00 2001 From: SiriusXT <1160925501@qq.com> Date: Tue, 19 Nov 2024 22:21:33 +0800 Subject: [PATCH 4/4] add icons to the Attachments menu --- .../widgets/buttons/attachments_actions.js | 33 +++++++++++++------ 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/src/public/app/widgets/buttons/attachments_actions.js b/src/public/app/widgets/buttons/attachments_actions.js index b0f0cc2fa..1580753c0 100644 --- a/src/public/app/widgets/buttons/attachments_actions.js +++ b/src/public/app/widgets/buttons/attachments_actions.js @@ -20,6 +20,13 @@ const TPL = ` width: 20em; } + .attachment-actions .dropdown-item .bx { + position: relative; + top: 3px; + font-size: 120%; + margin-right: 5px; + } + .attachment-actions .dropdown-item[disabled], .attachment-actions .dropdown-item[disabled]:hover { color: var(--muted-text-color) !important; background-color: transparent !important; @@ -32,16 +39,22 @@ const TPL = ` style="position: relative; top: 3px;">