page2.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /* 页面整体布局 */
  2. .page-network {
  3. display: flex;
  4. flex-direction: column;
  5. gap: 12px;
  6. overflow: hidden;
  7. }
  8. /* 顶部的状态栏 */
  9. .status-bar {
  10. display: flex;
  11. padding: 8px 12px;
  12. background: linear-gradient(180deg, #0f172a, #0b1220);
  13. gap: 16px;
  14. border: 1px solid rgba(148,163,184,0.15);
  15. border-radius: 4px;
  16. flex-shrink: 0;
  17. }
  18. .status-item {
  19. display: flex;
  20. flex-direction: column;
  21. gap: 4px;
  22. }
  23. .status-item .label {
  24. font-size: 14px;
  25. }
  26. .status-item .value {
  27. font-size: 14px;
  28. font-family: ui-monospace, Consolas, monospace;
  29. }
  30. /* 左右拆分的栏 */
  31. .panes {
  32. display: flex;
  33. gap: 12px;
  34. flex: 1;
  35. min-height: 0;
  36. overflow: hidden;
  37. }
  38. /* 展示网络信息 */
  39. .left-pane {
  40. flex: 1;
  41. display: flex;
  42. flex-direction: column;
  43. gap: 12px;
  44. overflow: hidden;
  45. min-width: 0;
  46. }
  47. .left-pane .card {
  48. flex: 1;
  49. display: flex;
  50. flex-direction: column;
  51. min-height: 0;
  52. overflow: hidden;
  53. }
  54. .left-pane .card:nth-child(1) {
  55. flex: 2;
  56. }
  57. .left-pane .card:nth-child(2),
  58. .left-pane .card:nth-child(3) {
  59. flex: 1;
  60. }
  61. .left-pane .output {
  62. flex: 1;
  63. min-height: 0;
  64. }
  65. /* 展示服务日志 */
  66. .right-pane {
  67. flex: 1;
  68. display: flex;
  69. flex-direction: column;
  70. min-width: 0;
  71. }