数据可视化大屏
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

133 行
2.3KB

  1. /* stylelint-disable comment-empty-line-before */
  2. .dashboard-container {
  3. width: 20rem;
  4. height: 10rem;
  5. margin-top: -3rem;
  6. margin-bottom: -2rem;
  7. }
  8. .sys-status-title {
  9. font-size: 0.82rem;
  10. font-weight: 600;
  11. color: #94DDF3;
  12. text-align: center;
  13. }
  14. .ag-theme-datav {
  15. --ag-border-color: #74FAFB;
  16. --ag-foreground-color: #74FAFB;
  17. --ag-background-color: #0A1632;
  18. --ag-header-foreground-color: #74FAFB;
  19. --ag-header-background-color: #0A1632;
  20. --ag-odd-row-background-color: #0A1632;
  21. --ag-header-column-resize-handle-color: rgb(126 46 132);
  22. --ag-font-size: 0.78rem;
  23. --ag-font-family: monospace;
  24. height: 5rem;
  25. }
  26. .centered-element {
  27. display: flex;
  28. align-items: center;
  29. justify-content: center;
  30. height: 100%;
  31. }
  32. .status-container {
  33. display: flex;
  34. align-items: center;
  35. padding: 0.5rem;
  36. }
  37. .status-circle {
  38. width: 18px;
  39. height: 18px;
  40. border-radius: 50%;
  41. &.red {
  42. background-color: red;
  43. }
  44. &.green {
  45. background-color: green;
  46. }
  47. }
  48. .progress-container {
  49. display: flex;
  50. color: white;
  51. .status-text {
  52. width: 8rem;
  53. margin-left: 6px;
  54. /* 调整文字与圆形之间的间距 */
  55. font-size: 0.72rem;
  56. font-weight: 600;
  57. color: #74FAFB;
  58. }
  59. .status-ext-text {
  60. margin-top: 3px;
  61. /* 将文本转换为行内块元素 */
  62. font-size: 0.54rem;
  63. }
  64. }
  65. .progress-display {
  66. color: white;
  67. text-align: right;
  68. }
  69. .statistic-item-container {
  70. display: flex;
  71. padding: 1rem 0;
  72. color: white;
  73. }
  74. .white-color-theme {
  75. color: #74FAFB;
  76. }
  77. //滚动
  78. .scrollable-container {
  79. scrollbar-color: auto;
  80. overflow-y: auto;
  81. /* 水平滚动关闭,垂直滚动开启 */
  82. width: 100%;
  83. /* 或者指定一个固定的宽度 */
  84. height: 20rem;
  85. /* 根据需求设置容器的高度以触发滚动条 */
  86. }
  87. ::ng-deep ::-webkit-scrollbar {
  88. width: 10px;
  89. /* 滚动条宽度 */
  90. }
  91. ::ng-deep ::-webkit-scrollbar-track {
  92. background-color: #0A1632;
  93. /* 轨道颜色 */
  94. }
  95. /** 滚动条样式 */
  96. ::ng-deep ::-webkit-scrollbar-thumb {
  97. background-color: #74FAFB;
  98. /* 按钮颜色 */
  99. border-radius: 2px;
  100. /* 按钮圆角 */
  101. }
  102. ::ng-deep ::-webkit-scrollbar-thumb:hover {
  103. background-color: #74FAFB;
  104. /* 滑动时按钮颜色 */
  105. }