Files
web-Iot/src/index.css

65 lines
1.5 KiB
CSS
Raw Normal View History

2026-04-17 17:20:41 +08:00
@import "tailwindcss";
@theme {
--color-bg: #f4f7f9;
--color-sidebar-bg: #001529;
--color-sidebar-text: #a6adb4;
--color-sidebar-active: #ffffff;
--color-sidebar-active-bg: #1890ff;
--color-surface: #ffffff;
--color-border: #e8e8e8;
--color-primary: #1890ff;
--color-danger: #f5222d;
--color-warning: #faad14;
--color-success: #52c41a;
--color-text-main: #262626;
--color-text-sec: #8c8c8c;
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
@layer base {
body {
@apply bg-bg text-text-main font-sans;
2026-04-22 09:43:55 +08:00
width:100vw;
2026-04-21 14:57:52 +08:00
height: 100vh;
}
#root{
width:100%;
height:100%;
overflow: hidden;
2026-04-17 17:20:41 +08:00
}
}
2026-04-22 09:43:55 +08:00
.custom-scrollbar::-webkit-scrollbar { width: 4px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
2026-05-07 21:17:41 +08:00
.ant-card-head-title{
2026-05-07 22:04:27 +08:00
color:#0837A8;
font-weight: 800 !important;
2026-05-07 21:17:41 +08:00
}
.ant-statistic-content-suffix{
font-size: 14px;
}
.ant-statistic-title{
color:#000 !important;
opacity: 1;
font-weight: 800;
}
2026-05-09 16:44:39 +08:00
@keyframes sunRotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@keyframes cloudFloat {
from { transform: translateX(-2px); }
to { transform: translateX(2px); }
}
@keyframes rainDrop {
0% { transform: translateY(0); opacity: 1; }
100% { transform: translateY(12px); opacity: 0.4; }
}