From 282caa0b7ed23a93b1ce15a4dd570ae20833d803 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Thu, 20 Mar 2025 12:36:48 +0900 Subject: 🎨 for install-extensions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/MkExtensionInstaller.vue | 130 +++++++++++++-------- 1 file changed, 82 insertions(+), 48 deletions(-) (limited to 'packages/frontend/src/components') diff --git a/packages/frontend/src/components/MkExtensionInstaller.vue b/packages/frontend/src/components/MkExtensionInstaller.vue index b8a0fab2f4..a2247d844b 100644 --- a/packages/frontend/src/components/MkExtensionInstaller.vue +++ b/packages/frontend/src/components/MkExtensionInstaller.vue @@ -11,54 +11,91 @@ SPDX-License-Identifier: AGPL-3.0-only -

{{ i18n.ts._externalResourceInstaller[`_${extension.type}`].title }}

-
{{ i18n.ts._externalResourceInstaller.checkVendorBeforeInstall }}
- {{ i18n.ts._plugin.installWarn }} - - -
- + +

{{ i18n.ts._externalResourceInstaller._plugin.title }}

+

{{ i18n.ts._externalResourceInstaller._theme.title }}

+ + {{ i18n.ts._externalResourceInstaller.checkVendorBeforeInstall }} + +
+ + + + +
+ + + + + + + + + + + + + + + + + + - - + + +
+
+ + + + + + + +
+
+ + + + +
+ + + + + + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - -
- +
+ + + + + + + + +
+ +
- {{ i18n.ts.install }} + {{ i18n.ts.cancel }} + {{ i18n.ts.install }}
@@ -105,6 +142,7 @@ const props = defineProps<{ const emits = defineEmits<{ (ev: 'confirm'): void; + (ev: 'cancel'): void; }>(); @@ -112,13 +150,13 @@ const emits = defineEmits<{ .extInstallerRoot { border-radius: var(--MI-radius); background: var(--MI_THEME-panel); - padding: 1.5rem; + padding: 20px; } .extInstallerIconWrapper { width: 48px; height: 48px; - font-size: 24px; + font-size: 20px; line-height: 48px; text-align: center; border-radius: 50%; @@ -135,10 +173,6 @@ const emits = defineEmits<{ margin: 0; } -.extInstallerNormDesc { - text-align: center; -} - .extInstallerKVList { margin-top: 0; margin-bottom: 0; -- cgit v1.2.3-freya