@熊猫 贴一下代码,大佬可以抽空看看 ```ts @layer components { /* 全局鼠标手势优化 */ button, a[data-slot="dropdown-menu-item"], button[data-slot="button"] { cursor: pointer; } /* Dialog 弹窗关闭按钮容器布局微调 */ .absolute.right-4.top-4.z-20 { opacity: 1; pointer-events: auto; top: 15px; } .absolute.right-4.top-4.z-20 > .flex-col { flex-direction: row; align-items: center; } /* Dialog 弹窗关闭按钮 */ button[data-slot="dialog-close"] { @apply bg-gray-100 text-gray-600 border border-gray-200 rounded-lg px-2.5 text-xs font-medium transition-all duration-200; } button[data-slot="dialog-close"]:hover { @apply bg-gray-200 text-gray-700 border-gray-300 shadow-sm; } button[data-slot="dialog-close"]:active { @apply translate-y-px shadow-none; } /* 基础按钮悬浮状态 */ button[data-slot="button"]:not(.bg-primary):hover { @apply bg-gray-100 text-gray-900; } button[data-slot="button"].bg-primary:hover { @apply bg-[#3f3f3f]; } /* 特定小尺寸按钮(如列表操作按钮) */ button[class*="h-7"][class*="text-[11px]"], div.flex.items-center.justify-end.gap-3 > button:first-child { @apply bg-white border border-gray-200 text-gray-600 rounded-2xl px-3.5 transition-all duration-200; } div.flex.items-center.justify-end.gap-3 > button:first-child { height: 30px; } button[class*="h-7"][class*="text-[11px]"]:hover, div.flex.items-center.justify-end.gap-3 > button:first-child:hover { @apply bg-gray-100 border-gray-300 text-gray-900; } button[class*="h-7"][class*="text-[11px]"]:active, div.flex.items-center.justify-end.gap-3 > button:first-child:active { @apply translate-y-px; } ```