main.css 724 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. @tailwind base;
  2. @tailwind components;
  3. @tailwind utilities;
  4. /* Ant Design 主题定制 */
  5. :root {
  6. --ant-primary-color: #1e3a5f;
  7. --ant-primary-color-hover: #2a4a6f;
  8. --ant-primary-color-active: #15304f;
  9. }
  10. .ant-btn-primary {
  11. background-color: #1e3a5f;
  12. }
  13. .ant-btn-primary:hover {
  14. background-color: #2a4a6f;
  15. }
  16. .ant-btn-primary:active {
  17. background-color: #15304f;
  18. }
  19. /* 统计卡片装饰效果 */
  20. .stat-card {
  21. position: relative;
  22. overflow: hidden;
  23. }
  24. .stat-card::before {
  25. content: '';
  26. position: absolute;
  27. top: 0;
  28. right: 0;
  29. width: 100px;
  30. height: 100px;
  31. background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  32. transform: translate(30%, -30%);
  33. pointer-events: none;
  34. }