From 31e172befb98726ddc7133e5d5404a3c7714fcd0 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Mon, 25 Oct 2021 19:11:13 +0100 Subject: [PATCH] :sparkles: Implements move, copy and delete item, and delete section functionality --- .../Configuration/CloudBackupRestore.vue | 2 +- .../InteractiveEditor/ExportConfigMenu.vue | 1 + .../InteractiveEditor/MoveItemTo.vue | 10 +++-- src/components/LinkItems/Item.vue | 9 ++++ src/components/LinkItems/ItemContextMenu.vue | 5 ++- src/components/LinkItems/Section.vue | 7 ++++ .../LinkItems/SectionContextMenu.vue | 11 ++--- src/store.js | 41 ++++++++++++++++++- src/utils/MiscHelpers.js | 2 +- src/utils/StoreMutations.js | 2 + 10 files changed, 75 insertions(+), 15 deletions(-) diff --git a/src/components/Configuration/CloudBackupRestore.vue b/src/components/Configuration/CloudBackupRestore.vue index e4a4139c..92f6709d 100644 --- a/src/components/Configuration/CloudBackupRestore.vue +++ b/src/components/Configuration/CloudBackupRestore.vue @@ -244,7 +244,7 @@ export default { } /* Overide form element colors, so that config menu can be themed by user */ - input, button, { + input, button { color: var(--config-settings-color); border: 1px solid var(--config-settings-color); background: none; diff --git a/src/components/InteractiveEditor/ExportConfigMenu.vue b/src/components/InteractiveEditor/ExportConfigMenu.vue index f0a9b80f..d30bbcdf 100644 --- a/src/components/InteractiveEditor/ExportConfigMenu.vue +++ b/src/components/InteractiveEditor/ExportConfigMenu.vue @@ -115,6 +115,7 @@ export default { background: var(--interactive-editor-background-darker); border-radius: var(--curve-factor); box-shadow: 0px 0px 3px var(--interactive-editor-color); + margin-bottom: 1.5rem; span { font-family: var(--font-monospace); } diff --git a/src/components/InteractiveEditor/MoveItemTo.vue b/src/components/InteractiveEditor/MoveItemTo.vue index 19efb4d7..fd12eb98 100644 --- a/src/components/InteractiveEditor/MoveItemTo.vue +++ b/src/components/InteractiveEditor/MoveItemTo.vue @@ -14,7 +14,7 @@