page7.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. .page-health-check {
  2. display: flex;
  3. flex-direction: column;
  4. gap: 12px;
  5. overflow: hidden;
  6. }
  7. .page-health-check .check-actions {
  8. display: flex;
  9. gap: 8px;
  10. flex-shrink: 0;
  11. }
  12. .page-health-check .check-table {
  13. flex: 1;
  14. min-height: 0;
  15. display: flex;
  16. flex-direction: column;
  17. overflow: auto;
  18. border: 1px solid rgba(148, 163, 184, 0.15);
  19. border-radius: 6px;
  20. }
  21. .page-health-check .check-row {
  22. display: grid;
  23. grid-template-columns: 1fr 1fr 1fr 2fr;
  24. min-height: 42px;
  25. border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  26. flex-shrink: 0;
  27. }
  28. .page-health-check .check-row:last-child {
  29. border-bottom: none;
  30. }
  31. /* 行悬停高亮, 便于横向读表 */
  32. .page-health-check .check-row:hover {
  33. background: rgba(59, 130, 246, 0.06);
  34. }
  35. .page-health-check .check-row > div {
  36. display: flex;
  37. align-items: center;
  38. padding: 8px 12px;
  39. min-width: 0;
  40. border-right: 1px solid rgba(148, 163, 184, 0.12);
  41. font-size: 14px;
  42. }
  43. .page-health-check .check-row > div:last-child {
  44. border-right: none;
  45. }
  46. .page-health-check .check-header {
  47. min-height: 40px;
  48. background: linear-gradient(180deg, #0f172a, #0b1220);
  49. font-weight: 500;
  50. flex-shrink: 0;
  51. }
  52. .page-health-check .check-group-divider {
  53. height: 32px;
  54. display: flex;
  55. align-items: center;
  56. padding: 0 12px;
  57. background: rgba(148, 163, 184, 0.06);
  58. border-top: 1px solid rgba(148, 163, 184, 0.1);
  59. border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  60. color: #94a3b8;
  61. font-size: 14px;
  62. font-weight: 500;
  63. }
  64. .page-health-check .check-success {
  65. color: #22c55e;
  66. }
  67. .page-health-check .check-fail {
  68. color: #ef4444;
  69. }
  70. /* ================= IE11 兼容兜底 (grid/flex gap → flex + 相邻 margin) ================= */
  71. .page-health-check {
  72. display: block\9;
  73. overflow: auto\9;
  74. }
  75. .page-health-check > * + * {
  76. margin-top: 12px\9;
  77. }
  78. .page-health-check .check-actions {
  79. display: flex\9;
  80. }
  81. .page-health-check .check-actions > * + * {
  82. margin-left: 8px\9;
  83. }
  84. .page-health-check .check-row {
  85. display: flex\9;
  86. }
  87. .page-health-check .check-row > div {
  88. flex: 1 1 0%\9;
  89. min-width: 0\9;
  90. }
  91. .page-health-check .check-row > div:last-child {
  92. flex: 2 1 0%\9;
  93. }
  94. /* ================= 移动端适配 (≤768px) ================= */
  95. @media (max-width: 768px) {
  96. .page-health-check .check-table {
  97. overflow-x: auto;
  98. }
  99. .page-health-check .check-row {
  100. min-width: 560px;
  101. }
  102. }