mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-27 15:23:14 +08:00
feat: polish webui topology and surfaces
This commit is contained in:
@@ -34,7 +34,7 @@ export const GlobalDialog: React.FC<{
|
||||
{open && (
|
||||
<motion.div className="fixed inset-0 z-[130] bg-black/60 backdrop-blur-sm flex items-center justify-center p-4"
|
||||
initial={{ opacity: 0 }} animate={{ opacity: 1 }} exit={{ opacity: 0 }}>
|
||||
<motion.div className="brand-card w-full max-w-md rounded-[28px] border border-zinc-700 shadow-2xl"
|
||||
<motion.div className="brand-card w-full max-w-md border border-zinc-700 shadow-2xl"
|
||||
initial={{ scale: 0.95, y: 8 }} animate={{ scale: 1, y: 0 }} exit={{ scale: 0.95, y: 8 }}>
|
||||
<div className="px-5 py-4 border-b border-zinc-800 relative z-[1]">
|
||||
<h3 className="text-sm font-semibold text-zinc-100">{options.title || (kind === 'confirm' ? t('dialogPleaseConfirm') : kind === 'prompt' ? t('dialogInputTitle') : t('dialogNotice'))}</h3>
|
||||
|
||||
@@ -7,7 +7,7 @@ interface StatCardProps {
|
||||
}
|
||||
|
||||
const StatCard: React.FC<StatCardProps> = ({ title, value, icon }) => (
|
||||
<div className="brand-card h-full min-h-[124px] border border-zinc-800 rounded-[28px] p-6 flex items-center gap-4">
|
||||
<div className="brand-card h-full min-h-[124px] border border-zinc-800 p-6 flex items-center gap-4">
|
||||
<div className="w-12 h-12 rounded-2xl bg-zinc-800/50 flex items-center justify-center border border-zinc-700/50 shadow-[inset_0_1px_0_rgba(255,255,255,0.18)] relative z-[1]">
|
||||
{icon}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user