From 87d780d985b0fcde66398f70d1fab2e13d8278ff Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 7 Jun 2026 15:43:22 +0800 Subject: [PATCH] refactor: remove unnecessary border and border-radius styles across various components - Removed border and border-radius styles from SubscribeCard, CategoryEditDialog, ContentToggleSettingsDialog, DiscoverTabOrderDialog, ForkWorkflowDialog, OfflineStatusDialog, PluginMarketSettingDialog, ReorganizeDialog, SearchBarDialog, SiteImportDialog, SiteResourceDialog, SiteStatisticsDialog, WorkflowActionsDialog, TorrentFilterBar, and several setup views. - Updated common.scss to introduce new variables for surface radius and border styles. - Adjusted component styles to utilize new app surface styles for consistency. --- src/components/PWAInstallPrompt.vue | 3 - src/components/ThemeCustomizer.vue | 4 +- src/components/cards/DownloadingCard.vue | 121 +++++------ src/components/cards/SubscribeCard.vue | 4 - src/components/dialog/CategoryEditDialog.vue | 9 - .../dialog/ContentToggleSettingsDialog.vue | 2 - .../dialog/DiscoverTabOrderDialog.vue | 2 - src/components/dialog/ForkWorkflowDialog.vue | 4 - src/components/dialog/OfflineStatusDialog.vue | 4 - .../dialog/PluginMarketSettingDialog.vue | 4 - src/components/dialog/ReorganizeDialog.vue | 8 - src/components/dialog/SearchBarDialog.vue | 3 - src/components/dialog/SiteImportDialog.vue | 3 +- src/components/dialog/SiteResourceDialog.vue | 10 +- .../dialog/SiteStatisticsDialog.vue | 2 - .../dialog/WorkflowActionsDialog.vue | 12 +- src/components/filter/TorrentFilterBar.vue | 11 - src/layouts/components/QuickAccess.vue | 7 +- src/layouts/components/WorkflowSidebar.vue | 1 - src/pages/resource.vue | 6 - src/styles/common.scss | 196 +++++++++++------- src/styles/themes/transparent.scss | 12 +- src/views/setup/DownloaderSettingsStep.vue | 1 - src/views/setup/MediaServerSettingsStep.vue | 1 - src/views/setup/NotificationSettingsStep.vue | 1 - src/views/setup/PreferencesSettingsStep.vue | 1 - src/views/system/LoggingView.vue | 18 +- src/views/system/ModuleTestView.vue | 7 +- 28 files changed, 186 insertions(+), 271 deletions(-) diff --git a/src/components/PWAInstallPrompt.vue b/src/components/PWAInstallPrompt.vue index 48db3591..85c8f592 100644 --- a/src/components/PWAInstallPrompt.vue +++ b/src/components/PWAInstallPrompt.vue @@ -177,10 +177,7 @@ const instructions = computed(() => { .pwa-install-banner { position: fixed; z-index: 1000; - border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)); - border-radius: var(--app-surface-radius); background: rgb(var(--v-theme-surface)); - box-shadow: 0 4px 20px rgba(0, 0, 0, 10%); inset-block-end: 5rem; inset-inline: 20px; } diff --git a/src/components/ThemeCustomizer.vue b/src/components/ThemeCustomizer.vue index e3605d5f..4a7f5fe3 100644 --- a/src/components/ThemeCustomizer.vue +++ b/src/components/ThemeCustomizer.vue @@ -288,7 +288,7 @@ async function handleResetSettings() { v-bind="customizerContainerProps" :style="customizerContainerStyle" > -
+

{{ t('theme.customizer.title') }}

@@ -531,8 +531,6 @@ async function handleResetSettings() { .theme-customizer-panel--dialog { overflow: hidden; - border: 1px solid rgba(var(--v-theme-on-surface), 0.08); - border-radius: var(--app-surface-radius); background: rgb(var(--v-theme-surface)); block-size: var(--theme-customizer-viewport-height, 100dvh); max-block-size: var(--theme-customizer-viewport-height, 100dvh); diff --git a/src/components/cards/DownloadingCard.vue b/src/components/cards/DownloadingCard.vue index e72a42e5..a928564e 100644 --- a/src/components/cards/DownloadingCard.vue +++ b/src/components/cards/DownloadingCard.vue @@ -71,92 +71,69 @@ async function deleteDownload() {