From e64c2cc5dbb153c9aca14e6ff5b677284e0c9f81 Mon Sep 17 00:00:00 2001 From: Garfield Lee Date: Fri, 20 Mar 2026 20:15:02 +0800 Subject: [PATCH] feat(stage-pages): reorder sections and add danger zone red background - Move desktop-specific (amber) section before danger zone for better severity progression - Add red border/background to danger zone card for visual prominence - Remove redundant inner card backgrounds (white/red-950) since outer card now has red tinting - Flatten one layer of nesting in danger zone item layout Co-authored-by-agent: GitHub Copilot --- .../src/pages/settings/data/index.vue | 138 +++++++++--------- 1 file changed, 67 insertions(+), 71 deletions(-) diff --git a/packages/stage-pages/src/pages/settings/data/index.vue b/packages/stage-pages/src/pages/settings/data/index.vue index d89efe845..410dad519 100644 --- a/packages/stage-pages/src/pages/settings/data/index.vue +++ b/packages/stage-pages/src/pages/settings/data/index.vue @@ -180,77 +180,6 @@ async function handleImport(event: Event) { -
-
-
-
- {{ t('settings.pages.data.sections.danger.title') }} -
-

- {{ t('settings.pages.data.sections.danger.description') }} -

-
- -
-
-
-
-
-
- {{ t('settings.pages.data.sections.providers.title') }} -
-

- {{ t('settings.pages.data.sections.providers.description') }} -

-
-
- - {{ t('settings.pages.data.sections.providers.reset') }} - - - -
-
-
- -
-
-
-
- {{ t('settings.pages.data.sections.all.title') }} -
-

- {{ t('settings.pages.data.sections.all.description') }} -

-
-
- - {{ t('settings.pages.data.sections.all.delete') }} - - - -
-
-
-
-
-
-
-
+ +
+
+
+
+ {{ t('settings.pages.data.sections.danger.title') }} +
+

+ {{ t('settings.pages.data.sections.danger.description') }} +

+
+ +
+
+
+
+
+ {{ t('settings.pages.data.sections.providers.title') }} +
+

+ {{ t('settings.pages.data.sections.providers.description') }} +

+
+
+ + {{ t('settings.pages.data.sections.providers.reset') }} + + + +
+
+ +
+
+
+ {{ t('settings.pages.data.sections.all.title') }} +
+

+ {{ t('settings.pages.data.sections.all.description') }} +

+
+
+ + {{ t('settings.pages.data.sections.all.delete') }} + + + +
+
+
+
+
+