/* stylelint-disable comment-empty-line-before */ .dashboard-container { width: 20rem; height: 10rem; margin-top: -3rem; margin-bottom: -2rem; } .sys-status-title { font-size: 0.82rem; font-weight: 600; color: #94DDF3; text-align: center; } .ag-theme-datav { --ag-border-color: #74FAFB; --ag-foreground-color: #74FAFB; --ag-background-color: #0A1632; --ag-header-foreground-color: #74FAFB; --ag-header-background-color: #0A1632; --ag-odd-row-background-color: #0A1632; --ag-header-column-resize-handle-color: rgb(126 46 132); --ag-font-size: 0.78rem; --ag-font-family: monospace; height: 5rem; } .centered-element { display: flex; align-items: center; justify-content: center; height: 100%; } .status-container { display: flex; align-items: center; padding: 0.5rem; } .status-circle { width: 18px; height: 18px; border-radius: 50%; &.red { background-color: red; } &.green { background-color: green; } } .progress-container { display: flex; color: white; .status-text { width: 8rem; margin-left: 6px; /* 调整文字与圆形之间的间距 */ font-size: 0.72rem; font-weight: 600; color: #74FAFB; } .status-ext-text { margin-top: 3px; /* 将文本转换为行内块元素 */ font-size: 0.54rem; } } .progress-display { color: white; text-align: right; } .statistic-item-container { display: flex; padding: 1rem 0; color: white; } .white-color-theme { color: #74FAFB; } //滚动 .scrollable-container { scrollbar-color: auto; overflow-y: auto; /* 水平滚动关闭,垂直滚动开启 */ width: 100%; /* 或者指定一个固定的宽度 */ height: 20rem; /* 根据需求设置容器的高度以触发滚动条 */ } ::ng-deep ::-webkit-scrollbar { width: 10px; /* 滚动条宽度 */ } ::ng-deep ::-webkit-scrollbar-track { background-color: #0A1632; /* 轨道颜色 */ } /** 滚动条样式 */ ::ng-deep ::-webkit-scrollbar-thumb { background-color: #74FAFB; /* 按钮颜色 */ border-radius: 2px; /* 按钮圆角 */ } ::ng-deep ::-webkit-scrollbar-thumb:hover { background-color: #74FAFB; /* 滑动时按钮颜色 */ }