Files
cunkebao_v3/Cunkebao/app/globals.css
2025-04-09 09:31:09 +08:00

94 lines
2.0 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 224 71.4% 4.1%;
--card: 0 0% 100%;
--card-foreground: 224 71.4% 4.1%;
--popover: 0 0% 100%;
--popover-foreground: 224 71.4% 4.1%;
--primary: 221.2 83.2% 53.3%;
--primary-foreground: 210 40% 98%;
--secondary: 220 14.3% 95.9%;
--secondary-foreground: 220.9 39.3% 11%;
--muted: 220 14.3% 95.9%;
--muted-foreground: 220 8.9% 46.1%;
--accent: 220 14.3% 95.9%;
--accent-foreground: 220.9 39.3% 11%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
--border: 220 13% 91%;
--input: 220 13% 91%;
--ring: 221.2 83.2% 53.3%;
--radius: 0.75rem;
}
.dark {
--background: 224 71.4% 4.1%;
--foreground: 210 40% 98%;
--card: 224 71.4% 4.1%;
--card-foreground: 210 40% 98%;
--popover: 224 71.4% 4.1%;
--popover-foreground: 210 40% 98%;
--primary: 217.2 91.2% 59.8%;
--primary-foreground: 210 40% 98%;
--secondary: 215 27.9% 16.9%;
--secondary-foreground: 210 40% 98%;
--muted: 215 27.9% 16.9%;
--muted-foreground: 217.9 10.6% 64.9%;
--accent: 215 27.9% 16.9%;
--accent-foreground: 210 40% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 210 40% 98%;
--border: 215 27.9% 16.9%;
--input: 215 27.9% 16.9%;
--ring: 224 71.4% 4.1%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}
/* 修复微信号页面横向滚动问题 */
body {
overflow-x: hidden;
}
/* 优化微信账号列表项布局 */
.Card[class*="wechat-accounts"] {
max-width: 100%;
overflow-x: hidden;
}
/* 确保进度条组件不会溢出 */
.Progress {
flex-shrink: 1;
min-width: 0;
}
/* 修复IMEI显示模态框点击事件问题 */
.imei-display {
position: relative;
z-index: 10;
}
.imei-display-area {
position: relative;
z-index: 5;
}
/* 增强模态框的点击隔离 */
[role="dialog"] {
isolation: isolate;
}