admin.css 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* 后台管理页面 */
  2. .pl-admin-body { background: #f6f2e9; }
  3. .pl-admin-login {
  4. min-height: 100vh;
  5. display: grid;
  6. place-items: center;
  7. background:
  8. radial-gradient(1200px 500px at 80% -10%, rgba(255, 92, 43, 0.08), transparent),
  9. radial-gradient(900px 420px at 10% 110%, rgba(255, 92, 43, 0.06), transparent),
  10. #f6f2e9;
  11. }
  12. .pl-admin-login-card {
  13. width: 380px;
  14. background: #fffdf8;
  15. border: 1px solid #e2dacb;
  16. border-radius: 18px;
  17. padding: 34px 34px 26px;
  18. box-shadow: 0 24px 60px rgba(23, 20, 15, 0.08);
  19. }
  20. .pl-admin-login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
  21. .pl-admin-login-brand .logo-mark { width: 30px; height: 30px; }
  22. .pl-admin-login-title { font-size: 20px; font-weight: 750; letter-spacing: -0.02em; }
  23. .pl-admin-login-sub { font-size: 12px; color: #a79d8d; margin: 4px 0 22px; }
  24. .pl-admin-sider { background: #17140f !important; }
  25. .pl-admin-sider .ant-layout-sider-trigger { background: #17140f; }
  26. .pl-admin-brand {
  27. display: flex; align-items: center; gap: 9px;
  28. color: #fff; padding: 18px 20px 14px; font-weight: 750; font-size: 15px;
  29. }
  30. .pl-admin-brand small { display: block; font-size: 10px; color: #a79d8d; font-weight: 500; letter-spacing: 0.14em; }
  31. .pl-admin-menu { background: transparent !important; border-inline-end: none !important; }
  32. .pl-admin-header {
  33. background: #fffdf8;
  34. border-bottom: 1px solid #e2dacb;
  35. padding: 0 22px;
  36. display: flex;
  37. align-items: center;
  38. justify-content: space-between;
  39. height: 56px;
  40. }
  41. .pl-admin-header .title { font-size: 15px; font-weight: 700; }
  42. .pl-admin-stat-grid {
  43. display: grid;
  44. grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  45. gap: 14px;
  46. margin-bottom: 18px;
  47. }
  48. .pl-admin-card { background: #fffdf8; border: 1px solid #e2dacb; border-radius: 14px; padding: 18px 20px; }
  49. .pl-admin-stat { display: flex; flex-direction: column; gap: 2px; }
  50. .pl-admin-stat .num { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; }
  51. .pl-admin-stat .lbl { font-size: 12px; color: #7d7466; }
  52. .pl-preview-grid img { cursor: zoom-in; }
  53. /* 交互式 CAD 查看器(@mlightcad)宿主 */
  54. .cad-canvas-host { width: 100%; height: 100%; }
  55. .cad-canvas-host canvas { display: block; }