From d8a9e15426b542ae6a1ace15308b559ebebd564c Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 23 Feb 2026 23:04:49 +0800 Subject: [PATCH] style: remove glass transparency from popup surfaces --- .../settings/admin-settings-client.tsx | 50 +++++++++---------- components/ui/alert-dialog.tsx | 2 +- components/ui/dropdown-menu.tsx | 4 +- components/ui/hover-card.tsx | 2 +- components/ui/popover.tsx | 2 +- components/ui/select.tsx | 2 +- components/ui/sheet.tsx | 2 +- components/ui/tooltip.tsx | 2 +- 8 files changed, 33 insertions(+), 33 deletions(-) diff --git a/app/(admin)/settings/admin-settings-client.tsx b/app/(admin)/settings/admin-settings-client.tsx index 85c14e0e1..5ea3768f1 100644 --- a/app/(admin)/settings/admin-settings-client.tsx +++ b/app/(admin)/settings/admin-settings-client.tsx @@ -2811,7 +2811,7 @@ export function AdminSettingsClient() { {/* 图片详情弹窗 */} !open && setSelectedImage(null)}> - + {selectedImage?.recordType === "video" ? "视频详情" : "图片详情"} @@ -2903,7 +2903,7 @@ export function AdminSettingsClient() { - + 未分类 {featuredCategoryOptions.map((category) => ( @@ -4947,10 +4947,10 @@ export function AdminSettingsClient() { 添加视频 - - - {editingTutorialVideo ? "编辑视频" : "添加视频"} - + + + {editingTutorialVideo ? "编辑视频" : "添加视频"} +
@@ -4972,7 +4972,7 @@ export function AdminSettingsClient() { - + 低质量 (小) 中等 (推荐) 高质量 (大) @@ -5328,11 +5328,11 @@ export function AdminSettingsClient() {
- - - + + + {editingNavLink ? "编辑链接" : "添加链接"} @@ -5879,11 +5879,11 @@ export function AdminSettingsClient() {
- - - + + + {editingProvider ? "编辑提供商" : "添加提供商"} @@ -5924,7 +5924,7 @@ export function AdminSettingsClient() { > event.stopPropagation()} > {PROVIDER_TYPES.map((type) => ( @@ -6041,7 +6041,7 @@ export function AdminSettingsClient() { 添加模型 - + {editingModel ? "编辑模型" : "添加模型"} @@ -6053,7 +6053,7 @@ export function AdminSettingsClient() { onValueChange={(value) => setModelForm({ ...modelForm, providerId: value })} > - + {providersData?.providers?.map((p) => ( {p.name} ))} @@ -6557,7 +6557,7 @@ export function AdminSettingsClient() { 添加配置 - + {editingStorage ? "编辑配置" : "添加配置"} @@ -6576,7 +6576,7 @@ export function AdminSettingsClient() { onValueChange={(value) => setStorageForm({ ...storageForm, type: value as any })} > - + S3 兼容 本地存储 @@ -7816,7 +7816,7 @@ export function AdminSettingsClient() { {/* 批量设置出图限额对话框 */} - + 批量设置出图限额 @@ -7834,7 +7834,7 @@ export function AdminSettingsClient() { - + 所有用户 按部门设置 无部门用户 @@ -7853,7 +7853,7 @@ export function AdminSettingsClient() { - + {departmentsData?.departments?.map((dept) => ( {dept} diff --git a/components/ui/alert-dialog.tsx b/components/ui/alert-dialog.tsx index af60c1cb0..40aa4705e 100644 --- a/components/ui/alert-dialog.tsx +++ b/components/ui/alert-dialog.tsx @@ -36,7 +36,7 @@ const AlertDialogContent = React.forwardRef<