admin.css 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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: 12px; margin-bottom: 10px; }
  21. .pl-admin-login-logo { height: 36px; width: auto; display: block; }
  22. .pl-admin-login-title { font-size: 18px; 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; flex-direction: column; align-items: flex-start; gap: 7px;
  28. color: #fff; padding: 18px 20px 14px; font-weight: 750; font-size: 15px;
  29. }
  30. .pl-admin-brand-logo { height: 24px; width: auto; display: block; }
  31. .pl-admin-brand small { display: block; font-size: 10px; color: #a79d8d; font-weight: 500; letter-spacing: 0.14em; }
  32. .pl-admin-menu { background: transparent !important; border-inline-end: none !important; }
  33. .pl-admin-header {
  34. background: #fffdf8;
  35. border-bottom: 1px solid #e2dacb;
  36. padding: 0 22px;
  37. display: flex;
  38. align-items: center;
  39. justify-content: space-between;
  40. height: 56px;
  41. }
  42. .pl-admin-header .title { font-size: 15px; font-weight: 700; }
  43. .pl-admin-stat-grid {
  44. display: grid;
  45. grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  46. gap: 14px;
  47. margin-bottom: 18px;
  48. }
  49. .pl-admin-card { background: #fffdf8; border: 1px solid #e2dacb; border-radius: 14px; padding: 18px 20px; }
  50. .pl-admin-stat { display: flex; flex-direction: column; gap: 2px; }
  51. .pl-admin-stat .num { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; }
  52. .pl-admin-stat .lbl { font-size: 12px; color: #7d7466; }
  53. .pl-preview-grid img { cursor: zoom-in; }
  54. /* 交互式 CAD 查看器(@mlightcad)宿主 */
  55. .cad-canvas-host { width: 100%; height: 100%; }
  56. .cad-canvas-host canvas { display: block; }