From 8c97c54cfacd201e480dffb73db3fd0124532edb Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 14 May 2023 10:21:56 +0900 Subject: [PATCH] refactor(frontend): use css modules --- .../src/components/MkAbuseReportWindow.vue | 6 +- .../frontend/src/components/MkChannelList.vue | 3 - .../frontend/src/components/MkObjectView.vue | 8 +-- .../src/components/MkRetentionLineChart.vue | 4 -- .../src/components/MkRippleEffect.vue | 16 ++--- packages/frontend/src/components/MkSignin.vue | 28 ++++----- .../src/components/MkUrlPreviewPopup.vue | 6 +- .../src/components/page/page.button.vue | 6 +- .../src/components/page/page.counter.vue | 6 +- .../src/components/page/page.note.vue | 14 ++--- .../src/components/page/page.number-input.vue | 6 +- .../src/components/page/page.text-input.vue | 6 +- packages/frontend/src/pages/admin/abuses.vue | 8 +-- .../src/pages/admin/announcements.vue | 8 +-- packages/frontend/src/pages/admin/files.vue | 8 +-- .../frontend/src/pages/admin/overview.pie.vue | 4 -- .../src/pages/admin/overview.queue.chart.vue | 4 -- .../frontend/src/pages/admin/overview.vue | 6 +- .../src/pages/admin/queue.chart.chart.vue | 4 -- .../frontend/src/pages/emoji-edit-dialog.vue | 16 +++-- .../frontend/src/pages/flash/flash-edit.vue | 4 -- packages/frontend/src/pages/gallery/index.vue | 16 ++--- .../frontend/src/pages/my-antennas/create.vue | 4 -- .../frontend/src/pages/my-antennas/edit.vue | 4 -- .../frontend/src/pages/my-antennas/editor.vue | 16 +++-- .../page-editor/els/page-editor.el.image.vue | 12 +--- .../page-editor/els/page-editor.el.text.vue | 38 ++++++------ packages/frontend/src/pages/preview.vue | 8 +-- packages/frontend/src/pages/registry.keys.vue | 3 - .../frontend/src/pages/registry.value.vue | 3 - packages/frontend/src/pages/registry.vue | 3 - .../frontend/src/pages/reset-password.vue | 4 -- .../frontend/src/pages/settings/plugin.vue | 4 -- .../frontend/src/pages/settings/profile.vue | 59 ++++++++++--------- .../frontend/src/pages/settings/reaction.vue | 28 ++++----- packages/frontend/src/pages/share.vue | 4 +- .../frontend/src/pages/signup-complete.vue | 4 -- .../src/widgets/WidgetActivity.chart.vue | 18 +++--- .../frontend/src/widgets/WidgetAichan.vue | 6 +- .../frontend/src/widgets/WidgetButton.vue | 5 -- 40 files changed, 148 insertions(+), 262 deletions(-) diff --git a/packages/frontend/src/components/MkAbuseReportWindow.vue b/packages/frontend/src/components/MkAbuseReportWindow.vue index 9f2bf9933..7a1b7d532 100644 --- a/packages/frontend/src/components/MkAbuseReportWindow.vue +++ b/packages/frontend/src/components/MkAbuseReportWindow.vue @@ -9,7 +9,7 @@ -
+
@@ -60,8 +60,8 @@ function send() { } - diff --git a/packages/frontend/src/components/MkChannelList.vue b/packages/frontend/src/components/MkChannelList.vue index 408eab739..4050520eb 100644 --- a/packages/frontend/src/components/MkChannelList.vue +++ b/packages/frontend/src/components/MkChannelList.vue @@ -26,6 +26,3 @@ const props = withDefaults(defineProps<{ extractor: (item) => item, }); - - diff --git a/packages/frontend/src/components/MkObjectView.vue b/packages/frontend/src/components/MkObjectView.vue index 55578a37f..8b1ed7414 100644 --- a/packages/frontend/src/components/MkObjectView.vue +++ b/packages/frontend/src/components/MkObjectView.vue @@ -1,5 +1,5 @@ @@ -12,9 +12,3 @@ const props = defineProps<{ value: Record; }>(); - - diff --git a/packages/frontend/src/components/MkRetentionLineChart.vue b/packages/frontend/src/components/MkRetentionLineChart.vue index 8bd027980..9f56189f3 100644 --- a/packages/frontend/src/components/MkRetentionLineChart.vue +++ b/packages/frontend/src/components/MkRetentionLineChart.vue @@ -124,7 +124,3 @@ onMounted(async () => { }); }); - - diff --git a/packages/frontend/src/components/MkRippleEffect.vue b/packages/frontend/src/components/MkRippleEffect.vue index 9d93211d5..60c3a4738 100644 --- a/packages/frontend/src/components/MkRippleEffect.vue +++ b/packages/frontend/src/components/MkRippleEffect.vue @@ -1,7 +1,7 @@